diff --git a/src/app/app.module.ts b/src/app/app.module.ts index c8149a6d..9283bf2b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -35,9 +35,12 @@ const appurl: string = environment.production === false ? 'htt // !! Server URL auch in Pool service anpassen const serverurl: string = environment.production === false ? 'http://localhost:8080' : 'bae-urlaubsplaner-server.azurewebsites.net'; +const dockerurl: string = environment.production === false ? 'http://localhost:80' : 'bae-urlaubsplaner-docker.azurewebsites.net'; + const MandantenID: string = '8870822d-b5ee-4a63-b4ea-7147f0ee753d'; const clientappregistration: string = 'e85e5489-e9fd-4d10-b6aa-37be3ce084b6'; // Login funktioniert mit peter.hornburger -const clientserverregistration: string = 'ca7568f7-4672-4348-843b-b80b210d692f'; // geht nicht da Web / Server Anwendung +const clientserverregistration: string = 'ca7568f7-4672-4348-843b-b80b210d692f'; +const clientdockerregistration: string = '0caad6ac-8087-46ce-99ca-690c083121a8'; // GITHUB Account // Benutzername: peter.hornburger@b-a-e.eu @@ -95,7 +98,7 @@ export const MSALInstanceFactory = (): IPublicClientApplication => { const MSALInterceptorConfigFactory = () : MsalInterceptorConfiguration => { const protectedResourceMap = new Map>(); protectedResourceMap.set('https://graph.microsoft.com/v1.0/me', ['user.read']); - protectedResourceMap.set(serverurl, ['api://' + clientserverregistration + '/database_access']); + protectedResourceMap.set(dockerurl, ['api://' + clientdockerregistration + '/database_access']); return { interactionType: InteractionType.Redirect, diff --git a/src/app/pages/common-debug/common-debug.page.html b/src/app/pages/common-debug/common-debug.page.html index 73ed75d2..f94141cf 100644 --- a/src/app/pages/common-debug/common-debug.page.html +++ b/src/app/pages/common-debug/common-debug.page.html @@ -45,7 +45,7 @@
- Test + Test Clear Messages diff --git a/src/app/pages/common-debug/common-debug.page.ts b/src/app/pages/common-debug/common-debug.page.ts index 92881a2f..6d7916db 100644 --- a/src/app/pages/common-debug/common-debug.page.ts +++ b/src/app/pages/common-debug/common-debug.page.ts @@ -18,7 +18,6 @@ import * as lodash from "lodash-es"; export class CommonDebugPage implements OnInit, OnDestroy { public Title: string; - private ServerUrl: string; constructor(public Basics: BasicsProvider, public Debug: DebugProvider, @@ -32,9 +31,8 @@ export class CommonDebugPage implements OnInit, OnDestroy { ) { try { - this.ServerUrl = this.Pool.CockpitserverURL + '/standorte/'; - // Test + } catch (error) { @@ -78,66 +76,6 @@ export class CommonDebugPage implements OnInit, OnDestroy { } } - /* - ClearAccessToken() { - - try { - - // this.AuthService.AccessToken = null; - this.AuthService.ActiveUser = null; - - this.AuthService.DeleteAccessToken(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error.message, 'Debug', 'ClearAccessToken', this.Debug.Typen.Page); - } - } - */ - - public TestButtonCLcicked() { - - try { - - let Observer: Observable; - - let headers: HttpHeaders = new HttpHeaders({ - - 'content-type': 'application/json', - // 'authorization': this.AuthService.AccessToken - }); - - Observer = this.http.get(this.ServerUrl, { headers: headers } ); // { headers: {'Authorization' : this.AuthService.SecurityToken} } - - Observer.subscribe({ - - next: (result) => { - - debugger; - - // this.UpdateStandortliste(result.data); - }, - complete: () => { - - // this.Pool.StandortelisteChanged.emit(); - - debugger; - // resove(true); - - }, - error: (error: HttpErrorResponse) => { - - debugger; - //reject(error); - } - }); - - } catch (error) { - - this.Debug.ShowErrorMessage(error.message, 'Debug', 'TextButtonCLcicked', this.Debug.Typen.Page); - } - } - ClearMessagesButtonCLcicked() { try { @@ -174,28 +112,14 @@ export class CommonDebugPage implements OnInit, OnDestroy { } } - ProjektpunkteLoeschenClicked() { + TestButtonChlicked() { try { - /* - - this.DBProjektpunkte.RemoveProjektpunkteliste(this.Pool.DeletedProjektpunkteliste[this.DBProjekte.CurrentProjekt.Projektkey]).then(() => { - - debugger; - - this.Pool.DeletedProjektpunkteliste[this.DBProjekte.CurrentProjekt.Projektkey] = []; - - }).catch((error) => { - - debugger; - }); - - */ - } catch (error) { - this.Debug.ShowErrorMessage(error, 'Debug', 'ProjektpunkteLoeschenClicked', this.Debug.Typen.Page); + this.Debug.ShowErrorMessage(error, 'Debug', 'TestButtonChlicked', this.Debug.Typen.Page); } + } } diff --git a/src/app/pages/common-home/common-home.page.ts b/src/app/pages/common-home/common-home.page.ts index 0317e34b..bb113af0 100644 --- a/src/app/pages/common-home/common-home.page.ts +++ b/src/app/pages/common-home/common-home.page.ts @@ -449,126 +449,6 @@ export class CommonHomePage implements OnInit, OnDestroy { } } - LoggoutClicked() { - - try { - - this.AuthService.Logout(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'LoggoutClicked', this.Debug.Typen.Page); - } - } - - GetUsercalendarClicked() { - - try { - - this.GraphService.GetOwnCalendar(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'GetUsercalendarClicked', this.Debug.Typen.Page); - } - } - - TestServerClicked() { - - try { - - this.Pool.TestServerconnection(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'TestServerClicked', this.Debug.Typen.Page); - } - } - - - TestGraphClicked() { - - try { - - this.GraphService.TestGraph(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'TestGraphClicked', this.Debug.Typen.Page); - } - } - - - SendMailClicked() { - - try { - - // this.GraphService.SendMail(); - - - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'SendMailClicked', this.Debug.Typen.Page); - } - } - - TestSites() { - - try { - - -let Test = this.Pool.Mitarbeiterdaten; - -debugger; -// this.GraphService.TestSites(); - - - - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'TestSites', this.Debug.Typen.Page); - } - } - - - PDFDownloadAvaiableHandler() { - - try { - - this.Tools.PushPage(this.Const.Pages.PDFViewerPage); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Home', 'PDFDownloadAvaiableHandler', this.Debug.Typen.Page); - } - } - - async SaveProtokokllClicked() { - - try { - - // await this.DBProtokolle.SaveProtokollInTeams(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'file', 'function', this.Debug.Typen.Page); - } - } - - async SendProtokokllClicked() { - - try { - - // await this.DBProtokolle.SendProtojollFromTeams(); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'file', 'function', this.Debug.Typen.Page); - } - } - CountMitarbeiter(): string { try { diff --git a/src/app/services/database-changelog/database-changelog.service.ts b/src/app/services/database-changelog/database-changelog.service.ts index 9933e4db..14a5e559 100644 --- a/src/app/services/database-changelog/database-changelog.service.ts +++ b/src/app/services/database-changelog/database-changelog.service.ts @@ -22,7 +22,7 @@ export class DatabaseChangelogService { private http: HttpClient) { try { - this.ServerUrl = this.Pool.CockpitserverURL + '/changelog'; + this.ServerUrl = this.Pool.CockpitdockerURL + '/changelog'; this.CurrentChangelog = null; } catch (error) { diff --git a/src/app/services/database-email/database-outlookemail.service.ts b/src/app/services/database-email/database-outlookemail.service.ts index 8c1ac087..5f71a5c9 100644 --- a/src/app/services/database-email/database-outlookemail.service.ts +++ b/src/app/services/database-email/database-outlookemail.service.ts @@ -26,7 +26,7 @@ export class DatabaseOutlookemailService { try { this.CurrentEmail = null; - this.ServerUrl = this.Pool.CockpitserverURL + '/email'; + this.ServerUrl = this.Pool.CockpitdockerURL + '/email'; this.ShowUngelesenOnly = true; this.Projektsortierung = true; @@ -54,7 +54,7 @@ export class DatabaseOutlookemailService { return new Promise((resolve, reject) => { - let EmailObservable = this.http.get(this.Pool.CockpitserverURL + '/email', { headers: headers, params: queryParams }); + let EmailObservable = this.http.get(this.Pool.CockpitdockerURL + '/email', { headers: headers, params: queryParams }); EmailObservable.subscribe({ diff --git a/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts b/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts index aebe45af..d2e19fd7 100644 --- a/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts +++ b/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts @@ -19,8 +19,6 @@ export class DatabaseMitarbeiterService { public CurrentMitarbeiter: Mitarbeiterstruktur; public CurrentMeinewoche: Meinewochestruktur; private ServerMitarbeiterUrl: string; - private ServerRegistrierungUrl: string; - private ServerSettingsUrl: string; constructor(private Debug: DebugProvider, private http: HttpClient, @@ -28,9 +26,7 @@ export class DatabaseMitarbeiterService { private Pool: DatabasePoolService) { try { - this.ServerMitarbeiterUrl = this.Pool.CockpitserverURL + '/mitarbeiter'; - this.ServerSettingsUrl = this.Pool.CockpitserverURL + '/settings'; - this.ServerRegistrierungUrl = this.Pool.CockpitserverURL + '/registrierung'; + this.ServerMitarbeiterUrl = this.Pool.CockpitdockerURL + '/mitarbeiter'; this.CurrentMeinewoche = this.GetEmptyMeinewocheeintrag(); // Test @@ -517,48 +513,6 @@ export class DatabaseMitarbeiterService { } } - public RegisterMitarbeiter() { - - try { - - let Observer: Observable; - let Daten: any; - let headers: HttpHeaders = new HttpHeaders({ - - 'content-type': 'application/json', - }); - - return new Promise((resolve, reject) => { - - // POST für neue Registrierung - - Observer = this.http.post(this.ServerRegistrierungUrl, this.CurrentMitarbeiter, { headers: headers } ); - - Observer.subscribe({ - - next: (result) => { - - Daten = result; - - }, - complete: () => { - - resolve(Daten); - }, - error: (error: HttpErrorResponse) => { - - reject(error); - } - }); - - }); - - } catch (error) { - - this.Debug.ShowErrorMessage(error.message, 'Database Mitarbeiter', 'RegisterMitarbeiter', this.Debug.Typen.Page); - } - } - public CheckMitarbeiterExists(email: string): boolean { try { diff --git a/src/app/services/database-mitarbeitersettings/database-mitarbeitersettings.service.ts b/src/app/services/database-mitarbeitersettings/database-mitarbeitersettings.service.ts index dbf589e5..9c99cf11 100644 --- a/src/app/services/database-mitarbeitersettings/database-mitarbeitersettings.service.ts +++ b/src/app/services/database-mitarbeitersettings/database-mitarbeitersettings.service.ts @@ -1,14 +1,11 @@ import { Injectable } from '@angular/core'; import {DebugProvider} from "../debug/debug"; import {Mitarbeiterstruktur} from "../../dataclasses/mitarbeiterstruktur"; -import moment, {Moment} from "moment"; import * as lodash from "lodash-es"; import {DatabasePoolService} from "../database-pool/database-pool.service"; import {Observable} from "rxjs"; import {HttpClient, HttpErrorResponse, HttpHeaders, HttpParams} from "@angular/common/http"; -import {DatabaseAuthenticationService} from "../database-authentication/database-authentication.service"; import {Mitarbeitersettingsstruktur} from "../../dataclasses/mitarbeitersettingsstruktur"; -import {ConstProvider} from "../const/const"; import {Aufgabenansichtstruktur} from "../../dataclasses/aufgabenansichtstruktur"; @Injectable({ @@ -20,12 +17,10 @@ export class DatabaseMitarbeitersettingsService { constructor(private Debug: DebugProvider, private http: HttpClient, - private Const: ConstProvider, - private AuthService: DatabaseAuthenticationService, private Pool: DatabasePoolService) { try { - this.ServerSettingsUrl = this.Pool.CockpitserverURL + '/settings/'; + this.ServerSettingsUrl = this.Pool.CockpitdockerURL + '/settings/'; } catch (error) { diff --git a/src/app/services/database-pool/database-pool.service.ts b/src/app/services/database-pool/database-pool.service.ts index 295de318..f88952da 100644 --- a/src/app/services/database-pool/database-pool.service.ts +++ b/src/app/services/database-pool/database-pool.service.ts @@ -53,7 +53,6 @@ export class DatabasePoolService { public MitarbeiterdatenHasError:boolean; public Emailcontent: string; public Outlookkatekorien: Outlookkategoriesstruktur[]; - public ContacsSubscriptionURl: string; public Fachbereich: Fachbereiche; public Festlegungskategorienliste: Festlegungskategoriestruktur[][]; public ProjektdatenLoaded: boolean; @@ -127,7 +126,6 @@ export class DatabasePoolService { this.CockpitserverURL = environment.production === true ? 'https://bae-urlaubsplaner-server.azurewebsites.net' : 'http://localhost:8080'; this.CockpitdockerURL = environment.production === true ? 'https://bae-urlaubsplaner-docker.azurewebsites.net' : 'http://localhost:80'; this.Emailcontent = this.Emailcontentvarinaten.NONE; - this.ContacsSubscriptionURl = this.CockpitserverURL + '/subscription'; this.Fachbereich = new Fachbereiche(); this.CurrentAufgabenansichten = null; this.Festlegungskategorienliste = []; @@ -244,6 +242,8 @@ export class DatabasePoolService { } } + + public GetAufgabenansichten(projektid: string): Aufgabenansichtstruktur { try { @@ -277,6 +277,8 @@ export class DatabasePoolService { } } + /* + public ReadProjektpunkteliste(projekt: Projektestruktur): Promise { @@ -763,6 +765,10 @@ export class DatabasePoolService { } } + + + */ + public ReadMitarbeiterliste(): Promise { try { @@ -776,7 +782,7 @@ export class DatabasePoolService { return new Promise((resolve, reject) => { - let MitarbeiterObservable = this.Http.get(this.CockpitserverURL + '/mitarbeiter', { headers: headers } ); + let MitarbeiterObservable = this.Http.get(this.CockpitdockerURL + '/mitarbeiter', { headers: headers } ); MitarbeiterObservable.subscribe({ @@ -814,91 +820,7 @@ export class DatabasePoolService { } } - public StartContacsSubscription() { - - try { - - let Observer: Observable; - - return new Promise((resolve, reject) => { - - console.log('Start Contacs Subscription'); - - // debugger; - - Observer = this.Http.post(this.ContacsSubscriptionURl, {}); - - Observer.subscribe({ - - next: (result) => { - - // debugger; - - }, - complete: () => { - - // debugger; - - }, - error: (error: HttpErrorResponse) => { - - debugger; - - reject(error); - } - }); - }); - } catch (error) { - - this.Debug.ShowErrorMessage(error.message, 'Database Pool', 'StartContacsSubscription', this.Debug.Typen.Service); - } - } - - - public TestServerconnection(): Promise { - - try { - - this.Changlogliste = []; - - let headers: HttpHeaders = new HttpHeaders({ - 'content-type': 'application/json', - }); - - return new Promise((resolve, reject) => { - - let TestObservable = this.Http.get(this.CockpitserverURL + '/', { headers: headers } ); - - TestObservable.subscribe({ - - next: (data) => { - - // debugger; - - }, - complete: () => { - - - // debugger; - - resolve(true); - - }, - error: (error: HttpErrorResponse) => { - - debugger; - - reject(error); - } - }); - }); - - } catch (error) { - - this.Debug.ShowErrorMessage(error.message, 'Database Pool', 'TestServerconnection', this.Debug.Typen.Service); - } - } public ReadChangelogliste(): Promise { @@ -913,7 +835,7 @@ export class DatabasePoolService { return new Promise((resolve, reject) => { - let ChangelogObservable = this.Http.get(this.CockpitserverURL + '/changelog', { headers: headers } ); + let ChangelogObservable = this.Http.get(this.CockpitdockerURL + '/changelog', { headers: headers } ); ChangelogObservable.subscribe({ @@ -966,7 +888,7 @@ export class DatabasePoolService { return new Promise((resolve, reject) => { - let StandortObservable = this.Http.get(this.CockpitserverURL + '/standorte', { headers: headers }); + let StandortObservable = this.Http.get(this.CockpitdockerURL + '/standorte', { headers: headers }); StandortObservable.subscribe({ @@ -1006,8 +928,6 @@ export class DatabasePoolService { } } - - public ReadSettingsliste(): Promise { try { @@ -1021,7 +941,7 @@ export class DatabasePoolService { return new Promise((resolve, reject) => { - let SettingsObservable = this.Http.get(this.CockpitserverURL + '/settings', { headers: headers }); + let SettingsObservable = this.Http.get(this.CockpitdockerURL + '/settings', { headers: headers }); SettingsObservable.subscribe({ @@ -1147,6 +1067,8 @@ export class DatabasePoolService { } } + /* + public async ReadProjektdaten(projektliste: Projektestruktur[]): Promise { try { @@ -1235,6 +1157,8 @@ export class DatabasePoolService { } } + */ + public GetNewUniqueID(): string { diff --git a/src/app/services/database-standorte/database-standorte.service.ts b/src/app/services/database-standorte/database-standorte.service.ts index a00f4d6c..a7b59b3c 100644 --- a/src/app/services/database-standorte/database-standorte.service.ts +++ b/src/app/services/database-standorte/database-standorte.service.ts @@ -27,7 +27,7 @@ export class DatabaseStandorteService { this.CurrentStandort = null; this.CurrentStandortfilter = null; - this.ServerUrl = this.Pool.CockpitserverURL + '/standorte'; + this.ServerUrl = this.Pool.CockpitdockerURL + '/standorte'; } catch (error) { diff --git a/src/app/services/graph/graph.ts b/src/app/services/graph/graph.ts index f4b01e27..75486f25 100644 --- a/src/app/services/graph/graph.ts +++ b/src/app/services/graph/graph.ts @@ -1637,139 +1637,6 @@ export class Graphservice { } - public async GetOwnUserteams() { - - try { - - let token = await this.AuthService.RequestToken('user.read'); - - this.Teamsliste = []; - - const graphClient = Client.init({ authProvider: (done: AuthProviderCallback) => { - - done(null, token); - } - }); - - return new Promise((resolve, reject) => { - - if(token !== null) { - - // Köferinger id: ea457111-b3f1-4c73-a8ae-cb1cbaf6d244 - - graphClient.api('/me/joinedTeams').version('beta').get().then((result: any) => { - - for(let Eintrag of result.value) { - - this.Teamsliste.push(Eintrag); - } - - resolve(true); - - }).catch((error: GraphError) => { - - debugger; - - reject(error); - }); - } - else { - - reject(false); - } - }); - - - } catch (error) { - - - this.Debug.ShowErrorMessage(error, 'Graph', 'GetUserteams', this.Debug.Typen.Page); - } - } - - - - public async GetOtherUserteams(userid: string): Promise { - - try { - - let Observer: Observable; - let Liste: Teamsstruktur[]; - let Daten: { UserID : string } = { UserID: userid }; - - let Url: string = this.Pool.CockpitserverURL + '/userteams'; - - return new Promise ((resolve, reject) => { - - Observer = this.http.put(Url, Daten); - - Observer.subscribe({ - - next: (ne) => { - - Liste = ne.value; - }, - complete: () => { - - resolve(Liste); - }, - error: (error: HttpErrorResponse) => { - - reject(error); - } - }); - }); - - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Graph', 'GetOtherUserteams', this.Debug.Typen.Page); - } - } - - public async JoinTeams(teamsid: string, userid: string): Promise { - - try { - - let Observer: Observable; - let Liste: Teamsstruktur[]; - let Daten: { - UserID : string; - TeamsID: string; - } = { UserID: userid, TeamsID: teamsid }; - - let Url: string = this.Pool.CockpitserverURL + '/addteamsmember'; - - return new Promise ((resolve, reject) => { - - Observer = this.http.put(Url, Daten); - - Observer.subscribe({ - - next: (ne) => { - - Liste = ne.value; - }, - complete: () => { - - resolve(Liste); - }, - error: (error: HttpErrorResponse) => { - - debugger; - - reject(error); - } - }); - }); - - } catch (error) { - - this.Debug.ShowErrorMessage(error, 'Graph', 'GetOtherUserteams', this.Debug.Typen.Page); - } - } - - public async TestGraph() { @@ -2176,106 +2043,6 @@ export class Graphservice { } } - - public async TestSites(): Promise { - - try { - - let token = await this.AuthService.RequestToken('Sites.ReadWrite.All'); - let Liste : any[] = []; - let headers: HttpHeaders = new HttpHeaders({ - - 'content-type': 'application/json', - 'authorization': token - }); - - return new Promise((resolve, reject) => { - - let SitesObservable = this.Http.get(this.Pool.CockpitserverURL + '/sites', { headers: headers }); - - SitesObservable.subscribe({ - - next: (data: any[]) => { - - Liste = data; - }, - complete: () => { - - for(let eintrag of Liste) { - - console.log(eintrag.displayName); - - if(eintrag.displayName === 'Projekte') { - - console.log(eintrag); - } - } - - - resolve(true); - - - - - }, - error: (error: HttpErrorResponse) => { - - debugger; - - reject(error); - } - }); - }); - - /* - - - let data: any; - let IDListe: string[] = []; - let FolderID: string = 'b!XZkHnfB1aUS9CAl7ACx42jN1tORayIZBnpNxgMZWN2yIJmx4iz54T59g6GswaFyl'; - - let token = await this.AuthService.RequestToken('Sites.ReadWrite.All'); - - const graphClient = Client.init({ authProvider: (done: AuthProviderCallback) => { - - done(null, token); - } - }); - - // GET /me/joinedTeams - // GET /me/memberOf - - if(token !== null) { - - data = await graphClient.api('/sites').get(); - - debugger; - - data.value.forEach((Eintrag) => { - - if(Eintrag.name === 'Dokumente') { - - debugger; - } - console.log(Eintrag.name); - }); - // debugger; - } - else { - - return Promise.reject(false); - } - - */ - - } catch (error) { - - debugger; - - this.Debug.ShowErrorMessage(error, 'Graph', 'TestSites', this.Debug.Typen.Service); - } - } - public async SendMail(Empfaenger: Outlookemailadressstruktur[], Betreff: string, Nachricht: string): Promise { try { diff --git a/src/index.html b/src/index.html index 847a0a8b..3bab924e 100644 --- a/src/index.html +++ b/src/index.html @@ -3,7 +3,7 @@ - BAE Cockpit + BAE Urlaubsplaner diff --git a/www/index.html b/www/index.html index 19ac8f30..876ae996 100644 --- a/www/index.html +++ b/www/index.html @@ -3,7 +3,7 @@ - BAE Cockpit + BAE Urlaubsplaner @@ -22,6 +22,6 @@ - + diff --git a/www/main.7ae4b574c656db9c.js b/www/main.7ae4b574c656db9c.js new file mode 100644 index 00000000..07254fd9 --- /dev/null +++ b/www/main.7ae4b574c656db9c.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(ve,h,o)=>{"use strict";o.d(h,{c:()=>d,r:()=>p});const d=(I,k)=>{I.componentOnReady?I.componentOnReady().then(N=>k(N)):p(()=>k(I))},p=I=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(I):"function"==typeof requestAnimationFrame?requestAnimationFrame(I):setTimeout(I)},51896:(ve,h,o)=>{"use strict";o.d(h,{L:()=>n,a:()=>i,b:()=>d,c:()=>a,d:()=>c,g:()=>I});const n="ionViewWillEnter",i="ionViewDidEnter",d="ionViewWillLeave",a="ionViewDidLeave",c="ionViewWillUnload",I=k=>k.classList.contains("ion-page")?k:k.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||k},30388:(ve,h,o)=>{"use strict";o.d(h,{c:()=>y});var n=o(14829),i=o(46384);let d;const c=S=>S.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=S=>(void 0===d&&(d=void 0===S.style.animationName&&void 0!==S.style.webkitAnimationName?"-webkit-":""),d),u=(S,M,w)=>{const A=M.startsWith("animation")?e(S):"";S.style.setProperty(A+M,w)},l=(S,M)=>{const w=M.startsWith("animation")?e(S):"";S.style.removeProperty(w+M)},p=[],f=(S=[],M)=>{if(void 0!==M){const w=Array.isArray(M)?M:[M];return[...S,...w]}return S},y=S=>{let M,w,A,O,F,j,x,re,X,W,Y,Oe,Re,T=[],I=[],k=[],N=!1,H={},G=[],te=[],ce={},se=0,K=!1,Z=!1,q=!0,he=!1,_e=!0,Ae=!1;const ge=S,Ne=[],it=[],qe=[],et=[],De=[],je=[],Pe=[],bt=[],Qe=[],Ut=[],sn=[],un="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,Sn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&un,kt=()=>sn,Ce=(Ie,fe)=>{const Te=fe.findIndex(ot=>ot.c===Ie);Te>-1&&fe.splice(Te,1)},Je=(Ie,fe)=>((fe?.oneTimeCallback?it:Ne).push({c:Ie,o:fe}),Re),Bt=()=>{if(Sn)sn.forEach(Ie=>{Ie.cancel()}),sn.length=0;else{const Ie=et.slice();(0,i.r)(()=>{Ie.forEach(fe=>{l(fe,"animation-name"),l(fe,"animation-duration"),l(fe,"animation-timing-function"),l(fe,"animation-iteration-count"),l(fe,"animation-delay"),l(fe,"animation-play-state"),l(fe,"animation-fill-mode"),l(fe,"animation-direction")})})}},Zt=()=>{je.forEach(Ie=>{Ie?.parentNode&&Ie.parentNode.removeChild(Ie)}),je.length=0},Xt=()=>void 0!==F?F:x?x.getFill():"both",_n=()=>void 0!==X?X:void 0!==j?j:x?x.getDirection():"normal",En=()=>K?"linear":void 0!==A?A:x?x.getEasing():"linear",qt=()=>Z?0:void 0!==W?W:void 0!==w?w:x?x.getDuration():0,nr=()=>void 0!==O?O:x?x.getIterations():1,kr=()=>void 0!==Y?Y:void 0!==M?M:x?x.getDelay():0,Rn=()=>{0!==se&&(se--,0===se&&((()=>{Tr(),Qe.forEach(ht=>ht()),Ut.forEach(ht=>ht());const Ie=q?1:0,fe=G,Te=te,ot=ce;et.forEach(ht=>{const Ct=ht.classList;fe.forEach(Lt=>Ct.add(Lt)),Te.forEach(Lt=>Ct.remove(Lt));for(const Lt in ot)ot.hasOwnProperty(Lt)&&u(ht,Lt,ot[Lt])}),W=void 0,X=void 0,Y=void 0,Ne.forEach(ht=>ht.c(Ie,Re)),it.forEach(ht=>ht.c(Ie,Re)),it.length=0,_e=!0,q&&(he=!0),q=!0})(),x&&x.animationFinish()))},Kn=(Ie=!0)=>{Zt();const fe=(S=>(S.forEach(M=>{for(const w in M)if(M.hasOwnProperty(w)){const A=M[w];if("easing"===w)M["animation-timing-function"]=A,delete M[w];else{const O=c(w);O!==w&&(M[O]=A,delete M[w])}}}),S))(T);et.forEach(Te=>{if(fe.length>0){const ot=((S=[])=>S.map(M=>{const w=M.offset,A=[];for(const O in M)M.hasOwnProperty(O)&&"offset"!==O&&A.push(`${O}: ${M[O]};`);return`${100*w}% { ${A.join(" ")} }`}).join(" "))(fe);Oe=void 0!==S?S:(S=>{let M=p.indexOf(S);return M<0&&(M=p.push(S)-1),`ion-animation-${M}`})(ot);const ht=((S,M,w)=>{var A;const O=(S=>{const M=void 0!==S.getRootNode?S.getRootNode():S;return M.head||M})(w),F=e(w),j=O.querySelector("#"+S);if(j)return j;const T=(null!==(A=w.ownerDocument)&&void 0!==A?A:document).createElement("style");return T.id=S,T.textContent=`@${F}keyframes ${S} { ${M} } @${F}keyframes ${S}-alt { ${M} }`,O.appendChild(T),T})(Oe,ot,Te);je.push(ht),u(Te,"animation-duration",`${qt()}ms`),u(Te,"animation-timing-function",En()),u(Te,"animation-delay",`${kr()}ms`),u(Te,"animation-fill-mode",Xt()),u(Te,"animation-direction",_n());const Ct=nr()===1/0?"infinite":nr().toString();u(Te,"animation-iteration-count",Ct),u(Te,"animation-play-state","paused"),Ie&&u(Te,"animation-name",`${ht.id}-alt`),(0,i.r)(()=>{u(Te,"animation-name",ht.id||null)})}})},ui=(Ie=!0)=>{(()=>{Pe.forEach(ot=>ot()),bt.forEach(ot=>ot());const Ie=I,fe=k,Te=H;et.forEach(ot=>{const ht=ot.classList;Ie.forEach(Ct=>ht.add(Ct)),fe.forEach(Ct=>ht.remove(Ct));for(const Ct in Te)Te.hasOwnProperty(Ct)&&u(ot,Ct,Te[Ct])})})(),T.length>0&&(Sn?(et.forEach(Ie=>{const fe=Ie.animate(T,{id:ge,delay:kr(),duration:qt(),easing:En(),iterations:nr(),fill:Xt(),direction:_n()});fe.pause(),sn.push(fe)}),sn.length>0&&(sn[0].onfinish=()=>{Rn()})):Kn(Ie)),N=!0},Pr=Ie=>{if(Ie=Math.min(Math.max(Ie,0),.9999),Sn)sn.forEach(fe=>{fe.currentTime=fe.effect.getComputedTiming().delay+qt()*Ie,fe.pause()});else{const fe=`-${qt()*Ie}ms`;et.forEach(Te=>{T.length>0&&(u(Te,"animation-delay",fe),u(Te,"animation-play-state","paused"))})}},ct=Ie=>{sn.forEach(fe=>{fe.effect.updateTiming({delay:kr(),duration:qt(),easing:En(),iterations:nr(),fill:Xt(),direction:_n()})}),void 0!==Ie&&Pr(Ie)},Tt=(Ie=!0,fe)=>{(0,i.r)(()=>{et.forEach(Te=>{u(Te,"animation-name",Oe||null),u(Te,"animation-duration",`${qt()}ms`),u(Te,"animation-timing-function",En()),u(Te,"animation-delay",void 0!==fe?`-${fe*qt()}ms`:`${kr()}ms`),u(Te,"animation-fill-mode",Xt()||null),u(Te,"animation-direction",_n()||null);const ot=nr()===1/0?"infinite":nr().toString();u(Te,"animation-iteration-count",ot),Ie&&u(Te,"animation-name",`${Oe}-alt`),(0,i.r)(()=>{u(Te,"animation-name",Oe||null)})})})},St=(Ie=!1,fe=!0,Te)=>(Ie&&De.forEach(ot=>{ot.update(Ie,fe,Te)}),Sn?ct(Te):Tt(fe,Te),Re),yn=()=>{N&&(Sn?sn.forEach(Ie=>{Ie.pause()}):et.forEach(Ie=>{u(Ie,"animation-play-state","paused")}),Ae=!0)},Un=()=>{re=void 0,Rn()},Tr=()=>{re&&clearTimeout(re)},on=Ie=>new Promise(fe=>{Ie?.sync&&(Z=!0,Je(()=>Z=!1,{oneTimeCallback:!0})),N||ui(),he&&(Sn?(Pr(0),ct()):Tt(),he=!1),_e&&(se=De.length+1,_e=!1);const Te=()=>{Ce(ot,it),fe()},ot=()=>{Ce(Te,qe),fe()};Je(ot,{oneTimeCallback:!0}),((Ie,fe)=>{qe.push({c:Ie,o:{oneTimeCallback:!0}})})(Te),De.forEach(ht=>{ht.play()}),Sn?(sn.forEach(Ie=>{Ie.play()}),(0===T.length||0===et.length)&&Rn()):(()=>{if(Tr(),(0,i.r)(()=>{et.forEach(Ie=>{T.length>0&&u(Ie,"animation-play-state","running")})}),0===T.length||0===et.length)Rn();else{const Ie=kr()||0,fe=qt()||0,Te=nr()||1;isFinite(Te)&&(re=setTimeout(Un,Ie+fe*Te+100)),((S,M)=>{let w;const A={passive:!0},F=j=>{S===j.target&&(w&&w(),Tr(),(0,i.r)(()=>{et.forEach(Ie=>{l(Ie,"animation-duration"),l(Ie,"animation-delay"),l(Ie,"animation-play-state")}),(0,i.r)(Rn)}))};S&&(S.addEventListener("webkitAnimationEnd",F,A),S.addEventListener("animationend",F,A),w=()=>{S.removeEventListener("webkitAnimationEnd",F,A),S.removeEventListener("animationend",F,A)})})(et[0])}})(),Ae=!1}),z=(Ie,fe)=>{const Te=T[0];return void 0===Te||void 0!==Te.offset&&0!==Te.offset?T=[{offset:0,[Ie]:fe},...T]:Te[Ie]=fe,Re};return Re={parentAnimation:x,elements:et,childAnimations:De,id:ge,animationFinish:Rn,from:z,to:(Ie,fe)=>{const Te=T[T.length-1];return void 0===Te||void 0!==Te.offset&&1!==Te.offset?T=[...T,{offset:1,[Ie]:fe}]:Te[Ie]=fe,Re},fromTo:(Ie,fe,Te)=>z(Ie,fe).to(Ie,Te),parent:Ie=>(x=Ie,Re),play:on,pause:()=>(De.forEach(Ie=>{Ie.pause()}),yn(),Re),stop:()=>{De.forEach(Ie=>{Ie.stop()}),N&&(Bt(),N=!1),K=!1,Z=!1,_e=!0,X=void 0,W=void 0,Y=void 0,se=0,he=!1,q=!0,Ae=!1,qe.forEach(Ie=>Ie.c(0,Re)),qe.length=0},destroy:Ie=>(De.forEach(fe=>{fe.destroy(Ie)}),(Ie=>{Bt(),Ie&&Zt()})(Ie),et.length=0,De.length=0,T.length=0,Ne.length=0,it.length=0,N=!1,_e=!0,Re),keyframes:Ie=>{const fe=T!==Ie;return T=Ie,fe&&(Ie=>{Sn?kt().forEach(fe=>{const Te=fe.effect;if(Te.setKeyframes)Te.setKeyframes(Ie);else{const ot=new KeyframeEffect(Te.target,Ie,Te.getTiming());fe.effect=ot}}):Kn()})(T),Re},addAnimation:Ie=>{if(null!=Ie)if(Array.isArray(Ie))for(const fe of Ie)fe.parent(Re),De.push(fe);else Ie.parent(Re),De.push(Ie);return Re},addElement:Ie=>{if(null!=Ie)if(1===Ie.nodeType)et.push(Ie);else if(Ie.length>=0)for(let fe=0;fe(F=Ie,St(!0),Re),direction:Ie=>(j=Ie,St(!0),Re),iterations:Ie=>(O=Ie,St(!0),Re),duration:Ie=>(!Sn&&0===Ie&&(Ie=1),w=Ie,St(!0),Re),easing:Ie=>(A=Ie,St(!0),Re),delay:Ie=>(M=Ie,St(!0),Re),getWebAnimations:kt,getKeyframes:()=>T,getFill:Xt,getDirection:_n,getDelay:kr,getIterations:nr,getEasing:En,getDuration:qt,afterAddRead:Ie=>(Qe.push(Ie),Re),afterAddWrite:Ie=>(Ut.push(Ie),Re),afterClearStyles:(Ie=[])=>{for(const fe of Ie)ce[fe]="";return Re},afterStyles:(Ie={})=>(ce=Ie,Re),afterRemoveClass:Ie=>(te=f(te,Ie),Re),afterAddClass:Ie=>(G=f(G,Ie),Re),beforeAddRead:Ie=>(Pe.push(Ie),Re),beforeAddWrite:Ie=>(bt.push(Ie),Re),beforeClearStyles:(Ie=[])=>{for(const fe of Ie)H[fe]="";return Re},beforeStyles:(Ie={})=>(H=Ie,Re),beforeRemoveClass:Ie=>(k=f(k,Ie),Re),beforeAddClass:Ie=>(I=f(I,Ie),Re),onFinish:Je,isRunning:()=>0!==se&&!Ae,progressStart:(Ie=!1,fe)=>(De.forEach(Te=>{Te.progressStart(Ie,fe)}),yn(),K=Ie,N||ui(),St(!1,!0,fe),Re),progressStep:Ie=>(De.forEach(fe=>{fe.progressStep(Ie)}),Pr(Ie),Re),progressEnd:(Ie,fe,Te)=>(K=!1,De.forEach(ot=>{ot.progressEnd(Ie,fe,Te)}),void 0!==Te&&(W=Te),he=!1,q=!0,0===Ie?(X="reverse"===_n()?"normal":"reverse","reverse"===X&&(q=!1),Sn?(St(),Pr(1-fe)):(Y=(1-fe)*qt()*-1,St(!1,!1))):1===Ie&&(Sn?(St(),Pr(fe)):(Y=fe*qt()*-1,St(!1,!1))),void 0!==Ie&&!x&&on(),Re)}}},59637:(ve,h,o)=>{"use strict";o.d(h,{E:()=>v,I:()=>u,a:()=>n,s:()=>l});const n=p=>{try{if(p instanceof u)return p.value;if(!a()||"string"!=typeof p||""===p)return p;if(p.includes("onload="))return"";const C=document.createDocumentFragment(),b=document.createElement("div");C.appendChild(b),b.innerHTML=p,e.forEach(S=>{const M=C.querySelectorAll(S);for(let w=M.length-1;w>=0;w--){const A=M[w];A.parentNode?A.parentNode.removeChild(A):C.removeChild(A);const O=d(A);for(let F=0;F{if(p.nodeType&&1!==p.nodeType)return;if(typeof NamedNodeMap<"u"&&!(p.attributes instanceof NamedNodeMap))return void p.remove();for(let b=p.attributes.length-1;b>=0;b--){const _=p.attributes.item(b),f=_.name;if(!c.includes(f.toLowerCase())){p.removeAttribute(f);continue}const y=_.value,S=p[f];(null!=y&&y.toLowerCase().includes("javascript:")||null!=S&&S.toLowerCase().includes("javascript:"))&&p.removeAttribute(f)}const C=d(p);for(let b=0;bnull!=p.children?p.children:p.childNodes,a=()=>{var p;const C=window,b=null===(p=C?.Ionic)||void 0===p?void 0:p.config;return!b||(b.get?b.get("sanitizerEnabled",!0):!0===b.sanitizerEnabled||void 0===b.sanitizerEnabled)},c=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class u{constructor(C){this.value=C}}const l=p=>{const C=window,b=C.Ionic;if(!b||!b.config||"Object"===b.config.constructor.name)return C.Ionic=C.Ionic||{},C.Ionic.config=Object.assign(Object.assign({},C.Ionic.config),p),C.Ionic.config},v=!1},86944:(ve,h,o)=>{"use strict";o.d(h,{g:()=>n});const n=(e,u,l,g,v)=>d(e[1],u[1],l[1],g[1],v).map(p=>i(e[0],u[0],l[0],g[0],p)),i=(e,u,l,g,v)=>v*(3*u*Math.pow(v-1,2)+v*(-3*l*v+3*l+g*v))-e*Math.pow(v-1,3),d=(e,u,l,g,v)=>c((g-=v)-3*(l-=v)+3*(u-=v)-(e-=v),3*l-6*u+3*e,3*u-3*e,e).filter(C=>C>=0&&C<=1),c=(e,u,l,g)=>{if(0===e)return((e,u,l)=>{const g=u*u-4*e*l;return g<0?[]:[(-u+Math.sqrt(g))/(2*e),(-u-Math.sqrt(g))/(2*e)]})(u,l,g);const v=(3*(l/=e)-(u/=e)*u)/3,p=(2*u*u*u-9*u*l+27*(g/=e))/27;if(0===v)return[Math.pow(-p,1/3)];if(0===p)return[Math.sqrt(-v),-Math.sqrt(-v)];const C=Math.pow(p/2,2)+Math.pow(v/3,3);if(0===C)return[Math.pow(p/2,.5)-u/3];if(C>0)return[Math.pow(-p/2+Math.sqrt(C),1/3)-Math.pow(p/2+Math.sqrt(C),1/3)-u/3];const b=Math.sqrt(Math.pow(-v/3,3)),_=Math.acos(-p/(2*Math.sqrt(Math.pow(-v/3,3)))),f=2*Math.pow(b,1/3);return[f*Math.cos(_/3)-u/3,f*Math.cos((_+2*Math.PI)/3)-u/3,f*Math.cos((_+4*Math.PI)/3)-u/3]}},10495:(ve,h,o)=>{"use strict";o.d(h,{C:()=>c,a:()=>d,d:()=>a});var n=o(1528),i=o(46384);const d=function(){var e=(0,n.c)(function*(u,l,g,v,p,C){var b;if(u)return u.attachViewToDom(l,g,p,v);if(!(C||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const _="string"==typeof g?null===(b=l.ownerDocument)||void 0===b?void 0:b.createElement(g):g;return v&&v.forEach(f=>_.classList.add(f)),p&&Object.assign(_,p),l.appendChild(_),yield new Promise(f=>(0,i.c)(_,f)),_});return function(l,g,v,p,C,b){return e.apply(this,arguments)}}(),a=(e,u)=>{if(u){if(e)return e.removeViewFromDom(u.parentElement,u);u.remove()}return Promise.resolve()},c=()=>{let e,u;return{attachViewToDom:function(){var v=(0,n.c)(function*(p,C,b={},_=[]){var f,y;let S;if(e=p,C){const w="string"==typeof C?null===(f=e.ownerDocument)||void 0===f?void 0:f.createElement(C):C;_.forEach(A=>w.classList.add(A)),Object.assign(w,b),e.appendChild(w),S=w,yield new Promise(A=>(0,i.c)(w,A))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(S=e.children[0]).classList.contains("ion-delegate-host")){const A=null===(y=e.ownerDocument)||void 0===y?void 0:y.createElement("div");A.classList.add("ion-delegate-host"),_.forEach(O=>A.classList.add(O)),A.append(...e.children),e.appendChild(A),S=A}const M=document.querySelector("ion-app")||document.body;return u=document.createComment("ionic teleport"),e.parentNode.insertBefore(u,e),M.appendChild(e),S??e});return function(C,b){return v.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&u&&(u.parentNode.insertBefore(e,u),u.remove()),Promise.resolve())}}},66560:(ve,h,o)=>{"use strict";o.d(h,{G:()=>c});class i{constructor(u,l,g,v,p){this.id=l,this.name=g,this.disableScroll=p,this.priority=1e6*v+l,this.ctrl=u}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const u=this.ctrl.capture(this.name,this.id,this.priority);return u&&this.disableScroll&&this.ctrl.disableScroll(this.id),u}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class d{constructor(u,l,g,v){this.id=l,this.disable=g,this.disableScroll=v,this.ctrl=u}block(){if(this.ctrl){if(this.disable)for(const u of this.disable)this.ctrl.disableGesture(u,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const u of this.disable)this.ctrl.enableGesture(u,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const a="backdrop-no-scroll",c=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(u){var l;return new i(this,this.newID(),u.name,null!==(l=u.priority)&&void 0!==l?l:0,!!u.disableScroll)}createBlocker(u={}){return new d(this,this.newID(),u.disable,!!u.disableScroll)}start(u,l,g){return this.canStart(u)?(this.requestedStart.set(l,g),!0):(this.requestedStart.delete(l),!1)}capture(u,l,g){if(!this.start(u,l,g))return!1;const v=this.requestedStart;let p=-1e4;if(v.forEach(C=>{p=Math.max(p,C)}),p===g){this.capturedId=l,v.clear();const C=new CustomEvent("ionGestureCaptured",{detail:{gestureName:u}});return document.dispatchEvent(C),!0}return v.delete(l),!1}release(u){this.requestedStart.delete(u),this.capturedId===u&&(this.capturedId=void 0)}disableGesture(u,l){let g=this.disabledGestures.get(u);void 0===g&&(g=new Set,this.disabledGestures.set(u,g)),g.add(l)}enableGesture(u,l){const g=this.disabledGestures.get(u);void 0!==g&&g.delete(l)}disableScroll(u){this.disabledScroll.add(u),1===this.disabledScroll.size&&document.body.classList.add(a)}enableScroll(u){this.disabledScroll.delete(u),0===this.disabledScroll.size&&document.body.classList.remove(a)}canStart(u){return!(void 0!==this.capturedId||this.isDisabled(u))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(u){const l=this.disabledGestures.get(u);return!!(l&&l.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{MENU_BACK_BUTTON_PRIORITY:()=>g,OVERLAY_BACK_BUTTON_PRIORITY:()=>l,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>c,startHardwareBackButton:()=>u});var n=o(1528),i=o(14829),d=o(88523);o(62992);const c=()=>d.c.get("experimentalCloseWatcher",!1)&&void 0!==i.w&&"CloseWatcher"in i.w,e=()=>{document.addEventListener("backbutton",()=>{})},u=()=>{const v=document;let p=!1;const C=()=>{if(p)return;let b=0,_=[];const f=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,w){_.push({priority:M,handler:w,id:b++})}}});v.dispatchEvent(f);const y=function(){var M=(0,n.c)(function*(w){try{if(w?.handler){const A=w.handler(S);null!=A&&(yield A)}}catch(A){console.error(A)}});return function(A){return M.apply(this,arguments)}}(),S=()=>{if(_.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};_.forEach(w=>{w.priority>=M.priority&&(M=w)}),p=!0,_=_.filter(w=>w.id!==M.id),y(M).then(()=>p=!1)}};S()};if(c()){let b;const _=()=>{b?.destroy(),b=new i.w.CloseWatcher,b.onclose=()=>{C(),_()}};_()}else v.addEventListener("backbutton",C)},l=100,g=99},46384:(ve,h,o)=>{"use strict";o.d(h,{a:()=>l,b:()=>g,c:()=>d,d:()=>y,e:()=>f,f:()=>_,g:()=>v,h:()=>b,i:()=>u,j:()=>F,k:()=>c,l:()=>S,m:()=>a,n:()=>C,o:()=>M,p:()=>O,q:()=>j,r:()=>p,s:()=>T,t:()=>n,u:()=>w,v:()=>A});const n=(I,k=0)=>new Promise(N=>{i(I,k,N)}),i=(I,k=0,N)=>{let x,H;const G={passive:!0},ce=()=>{x&&x()},se=K=>{(void 0===K||I===K.target)&&(ce(),N(K))};return I&&(I.addEventListener("webkitTransitionEnd",se,G),I.addEventListener("transitionend",se,G),H=setTimeout(se,k+500),x=()=>{void 0!==H&&(clearTimeout(H),H=void 0),I.removeEventListener("webkitTransitionEnd",se,G),I.removeEventListener("transitionend",se,G)}),ce},d=(I,k)=>{I.componentOnReady?I.componentOnReady().then(N=>k(N)):p(()=>k(I))},a=I=>void 0!==I.componentOnReady,c=(I,k=[])=>{const N={};return k.forEach(x=>{I.hasAttribute(x)&&(null!==I.getAttribute(x)&&(N[x]=I.getAttribute(x)),I.removeAttribute(x))}),N},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],u=(I,k)=>{let N=e;return k&&k.length>0&&(N=N.filter(x=>!k.includes(x))),c(I,N)},l=(I,k,N,x)=>{var H;if(typeof window<"u"){const G=window,te=null===(H=G?.Ionic)||void 0===H?void 0:H.config;if(te){const ce=te.get("_ael");if(ce)return ce(I,k,N,x);if(te._ael)return te._ael(I,k,N,x)}}return I.addEventListener(k,N,x)},g=(I,k,N,x)=>{var H;if(typeof window<"u"){const G=window,te=null===(H=G?.Ionic)||void 0===H?void 0:H.config;if(te){const ce=te.get("_rel");if(ce)return ce(I,k,N,x);if(te._rel)return te._rel(I,k,N,x)}}return I.removeEventListener(k,N,x)},v=(I,k=I)=>I.shadowRoot||k,p=I=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(I):"function"==typeof requestAnimationFrame?requestAnimationFrame(I):setTimeout(I),C=I=>!!I.shadowRoot&&!!I.attachShadow,b=I=>{const k=I.closest("ion-item");return k?k.querySelector("ion-label"):null},_=I=>{if(I.focus(),I.classList.contains("ion-focusable")){const k=I.closest("ion-app");k&&k.setFocus([I])}},f=(I,k)=>{let N;const x=I.getAttribute("aria-labelledby"),H=I.id;let G=null!==x&&""!==x.trim()?x:k+"-lbl",te=null!==x&&""!==x.trim()?document.getElementById(x):b(I);return te?(null===x&&(te.id=G),N=te.textContent,te.setAttribute("aria-hidden","true")):""!==H.trim()&&(te=document.querySelector(`label[for="${H}"]`),te&&(""!==te.id?G=te.id:te.id=G=`${H}-lbl`,N=te.textContent)),{label:te,labelId:G,labelText:N}},y=(I,k,N,x,H)=>{if(I||C(k)){let G=k.querySelector("input.aux-input");G||(G=k.ownerDocument.createElement("input"),G.type="hidden",G.classList.add("aux-input"),k.appendChild(G)),G.disabled=H,G.name=N,G.value=x||""}},S=(I,k,N)=>Math.max(I,Math.min(k,N)),M=(I,k)=>{if(!I){const N="ASSERT: "+k;throw console.error(N),new Error(N)}},w=I=>I.timeStamp||Date.now(),A=I=>{if(I){const k=I.changedTouches;if(k&&k.length>0){const N=k[0];return{x:N.clientX,y:N.clientY}}if(void 0!==I.pageX)return{x:I.pageX,y:I.pageY}}return{x:0,y:0}},O=I=>{const k="rtl"===document.dir;switch(I){case"start":return k;case"end":return!k;default:throw new Error(`"${I}" is not a valid value for [side]. Use "start" or "end" instead.`)}},F=(I,k)=>{const N=I._original||I;return{_original:I,emit:j(N.emit.bind(N),k)}},j=(I,k=0)=>{let N;return(...x)=>{clearTimeout(N),N=setTimeout(I,k,...x)}},T=(I,k)=>{if(I??(I={}),k??(k={}),I===k)return!0;const N=Object.keys(I);if(N.length!==Object.keys(k).length)return!1;for(const x of N)if(!(x in k)||I[x]!==k[x])return!1;return!0}},62528:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>g});var n=o(66560);const i=(b,_,f,y)=>{const S=d(b)?{capture:!!y.capture,passive:!!y.passive}:!!y.capture;let M,w;return b.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",w="__zone_symbol__removeEventListener"):(M="addEventListener",w="removeEventListener"),b[M](_,f,S),()=>{b[w](_,f,S)}},d=b=>{if(void 0===a)try{const _=Object.defineProperty({},"passive",{get:()=>{a=!0}});b.addEventListener("optsTest",()=>{},_)}catch{a=!1}return!!a};let a;const u=b=>b instanceof Document?b:b.ownerDocument,g=b=>{let _=!1,f=!1,y=!0,S=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},b),w=M.canStart,A=M.onWillStart,O=M.onStart,F=M.onEnd,j=M.notCaptured,T=M.onMove,I=M.threshold,k=M.passive,N=M.blurOnStart,x={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},H=((b,_,f)=>{const y=f*(Math.PI/180),S="x"===b,M=Math.cos(y),w=_*_;let A=0,O=0,F=!1,j=0;return{start(T,I){A=T,O=I,j=0,F=!0},detect(T,I){if(!F)return!1;const k=T-A,N=I-O,x=k*k+N*N;if(xM?1:G<-M?-1:0,F=!1,!0},isGesture:()=>0!==j,getDirection:()=>j}})(M.direction,M.threshold,M.maxAngle),G=n.G.createGesture({name:b.gestureName,priority:b.gesturePriority,disableScroll:b.disableScroll}),se=()=>{_&&(S=!1,T&&T(x))},K=()=>!!G.capture()&&(_=!0,y=!1,x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime,A?A(x).then(re):re(),!0),re=()=>{N&&(()=>{if(typeof document<"u"){const he=document.activeElement;he?.blur&&he.blur()}})(),O&&O(x),y=!0},X=()=>{_=!1,f=!1,S=!1,y=!0,G.release()},W=he=>{const _e=_,Oe=y;if(X(),Oe){if(v(x,he),_e)return void(F&&F(x));j&&j(x)}},Y=((b,_,f,y,S)=>{let M,w,A,O,F,j,T,I=0;const k=Z=>{I=Date.now()+2e3,_(Z)&&(!w&&f&&(w=i(b,"touchmove",f,S)),A||(A=i(Z.target,"touchend",x,S)),O||(O=i(Z.target,"touchcancel",x,S)))},N=Z=>{I>Date.now()||_(Z)&&(!j&&f&&(j=i(u(b),"mousemove",f,S)),T||(T=i(u(b),"mouseup",H,S)))},x=Z=>{G(),y&&y(Z)},H=Z=>{te(),y&&y(Z)},G=()=>{w&&w(),A&&A(),O&&O(),w=A=O=void 0},te=()=>{j&&j(),T&&T(),j=T=void 0},ce=()=>{G(),te()},se=(Z=!0)=>{Z?(M||(M=i(b,"touchstart",k,S)),F||(F=i(b,"mousedown",N,S))):(M&&M(),F&&F(),M=F=void 0,ce())};return{enable:se,stop:ce,destroy:()=>{se(!1),y=f=_=void 0}}})(M.el,he=>{const _e=C(he);return!(f||!y||(p(he,x),x.startX=x.currentX,x.startY=x.currentY,x.startTime=x.currentTime=_e,x.velocityX=x.velocityY=x.deltaX=x.deltaY=0,x.event=he,w&&!1===w(x))||(G.release(),!G.start()))&&(f=!0,0===I?K():(H.start(x.startX,x.startY),!0))},he=>{_?!S&&y&&(S=!0,v(x,he),requestAnimationFrame(se)):(v(x,he),H.detect(x.currentX,x.currentY)&&(!H.isGesture()||!K())&&q())},W,{capture:!1,passive:k}),q=()=>{X(),Y.stop(),j&&j(x)};return{enable(he=!0){he||(_&&W(void 0),X()),Y.enable(he)},destroy(){G.destroy(),Y.destroy()}}},v=(b,_)=>{if(!_)return;const f=b.currentX,y=b.currentY,S=b.currentTime;p(_,b);const M=b.currentX,w=b.currentY,O=(b.currentTime=C(_))-S;if(O>0&&O<100){const j=(w-y)/O;b.velocityX=(M-f)/O*.7+.3*b.velocityX,b.velocityY=.7*j+.3*b.velocityY}b.deltaX=M-b.startX,b.deltaY=w-b.startY,b.event=_},p=(b,_)=>{let f=0,y=0;if(b){const S=b.changedTouches;if(S&&S.length>0){const M=S[0];f=M.clientX,y=M.clientY}else void 0!==b.pageX&&(f=b.pageX,y=b.pageY)}_.currentX=f,_.currentY=y},C=b=>b.timeStamp||Date.now()},76256:(ve,h,o)=>{"use strict";o.d(h,{b:()=>e,c:()=>u,d:()=>l,e:()=>I,g:()=>x,l:()=>j,s:()=>k,t:()=>p,w:()=>T});var n=o(1528),i=o(62992),d=o(46384);const e="ionViewWillLeave",u="ionViewDidLeave",l="ionViewWillUnload",p=H=>new Promise((G,te)=>{(0,i.w)(()=>{C(H),b(H).then(ce=>{ce.animation&&ce.animation.destroy(),_(H),G(ce)},ce=>{_(H),te(ce)})})}),C=H=>{const G=H.enteringEl,te=H.leavingEl;N(G,te,H.direction),H.showGoBack?G.classList.add("can-go-back"):G.classList.remove("can-go-back"),k(G,!1),G.style.setProperty("pointer-events","none"),te&&(k(te,!1),te.style.setProperty("pointer-events","none"))},b=function(){var H=(0,n.c)(function*(G){const te=yield f(G);return te&&i.B.isBrowser?y(te,G):S(G)});return function(te){return H.apply(this,arguments)}}(),_=H=>{const G=H.enteringEl,te=H.leavingEl;G.classList.remove("ion-page-invisible"),G.style.removeProperty("pointer-events"),void 0!==te&&(te.classList.remove("ion-page-invisible"),te.style.removeProperty("pointer-events"))},f=function(){var H=(0,n.c)(function*(G){return G.leavingEl&&G.animated&&0!==G.duration?G.animationBuilder?G.animationBuilder:"ios"===G.mode?(yield Promise.resolve().then(o.bind(o,68512))).iosTransitionAnimation:(yield Promise.resolve().then(o.bind(o,96556))).mdTransitionAnimation:void 0});return function(te){return H.apply(this,arguments)}}(),y=function(){var H=(0,n.c)(function*(G,te){yield M(te,!0);const ce=G(te.baseEl,te);O(te.enteringEl,te.leavingEl);const se=yield A(ce,te);return te.progressCallback&&te.progressCallback(void 0),se&&F(te.enteringEl,te.leavingEl),{hasCompleted:se,animation:ce}});return function(te,ce){return H.apply(this,arguments)}}(),S=function(){var H=(0,n.c)(function*(G){const te=G.enteringEl,ce=G.leavingEl;return yield M(G,!1),O(te,ce),F(te,ce),{hasCompleted:!0}});return function(te){return H.apply(this,arguments)}}(),M=function(){var H=(0,n.c)(function*(G,te){(void 0!==G.deepWait?G.deepWait:te)&&(yield Promise.all([I(G.enteringEl),I(G.leavingEl)])),yield w(G.viewIsReady,G.enteringEl)});return function(te,ce){return H.apply(this,arguments)}}(),w=function(){var H=(0,n.c)(function*(G,te){G&&(yield G(te))});return function(te,ce){return H.apply(this,arguments)}}(),A=(H,G)=>{const te=G.progressCallback,ce=new Promise(se=>{H.onFinish(K=>se(1===K))});return te?(H.progressStart(!0),te(H)):H.play(),ce},O=(H,G)=>{j(G,e),j(H,"ionViewWillEnter")},F=(H,G)=>{j(H,"ionViewDidEnter"),j(G,u)},j=(H,G)=>{if(H){const te=new CustomEvent(G,{bubbles:!1,cancelable:!1});H.dispatchEvent(te)}},T=()=>new Promise(H=>(0,d.r)(()=>(0,d.r)(()=>H()))),I=function(){var H=(0,n.c)(function*(G){const te=G;if(te){if(null!=te.componentOnReady){if(null!=(yield te.componentOnReady()))return}else if(null!=te.__registerHost)return void(yield new Promise(se=>(0,d.r)(se)));yield Promise.all(Array.from(te.children).map(I))}});return function(te){return H.apply(this,arguments)}}(),k=(H,G)=>{G?(H.setAttribute("aria-hidden","true"),H.classList.add("ion-page-hidden")):(H.hidden=!1,H.removeAttribute("aria-hidden"),H.classList.remove("ion-page-hidden"))},N=(H,G,te)=>{void 0!==H&&(H.style.zIndex="back"===te?"99":"101"),void 0!==G&&(G.style.zIndex="100")},x=H=>H.classList.contains("ion-page")?H:H.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||H},62992:(ve,h,o)=>{"use strict";o.d(h,{B:()=>C,H:()=>K,a:()=>Qn,b:()=>Sr,c:()=>Oe,d:()=>Ne,e:()=>He,f:()=>ge,g:()=>Re,h:()=>ce,i:()=>Xt,j:()=>b,r:()=>Kn,w:()=>Ie});var n=o(1528);let a,c,e,u=!1,l=!1,g=!1,v=!1,p=!1;const C={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},b=fe=>{const Te=new URL(fe,yn.$resourcesUrl$);return Te.origin!==an.location.origin?Te.href:Te.pathname},A="s-id",O="sty-id",F="c-id",T="slot-fb{display:contents}slot-fb[hidden]{display:none}",I="http://www.w3.org/1999/xlink",k={},G=fe=>"object"==(fe=typeof fe)||"function"===fe;function te(fe){var Te,ot,ht;return null!==(ht=null===(ot=null===(Te=fe.head)||void 0===Te?void 0:Te.querySelector('meta[name="csp-nonce"]'))||void 0===ot?void 0:ot.getAttribute("content"))&&void 0!==ht?ht:void 0}const ce=(fe,Te,...ot)=>{let ht=null,Ct=null,Lt=null,Kt=!1,dn=!1;const fn=[],mn=Yt=>{for(let Ln=0;LnYt[Ln]).join(" "))}}if("function"==typeof fe)return fe(null===Te?{}:Te,fn,re);const ln=se(fe,null);return ln.$attrs$=Te,fn.length>0&&(ln.$children$=fn),ln.$key$=Ct,ln.$name$=Lt,ln},se=(fe,Te)=>({$flags$:0,$tag$:fe,$text$:Te,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),K={},re={forEach:(fe,Te)=>fe.map(X).forEach(Te),map:(fe,Te)=>fe.map(X).map(Te).map(W)},X=fe=>({vattrs:fe.$attrs$,vchildren:fe.$children$,vkey:fe.$key$,vname:fe.$name$,vtag:fe.$tag$,vtext:fe.$text$}),W=fe=>{if("function"==typeof fe.vtag){const ot=Object.assign({},fe.vattrs);return fe.vkey&&(ot.key=fe.vkey),fe.vname&&(ot.name=fe.vname),ce(fe.vtag,ot,...fe.vchildren||[])}const Te=se(fe.vtag,fe.vtext);return Te.$attrs$=fe.vattrs,Te.$children$=fe.vchildren,Te.$key$=fe.vkey,Te.$name$=fe.vname,Te},q=(fe,Te,ot,ht,Ct,Lt,Kt)=>{let dn,fn,mn,ln;if(1===Lt.nodeType){for(dn=Lt.getAttribute(F),dn&&(fn=dn.split("."),(fn[0]===Kt||"0"===fn[0])&&(mn={$flags$:0,$hostId$:fn[0],$nodeId$:fn[1],$depth$:fn[2],$index$:fn[3],$tag$:Lt.tagName.toLowerCase(),$elm$:Lt,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Te.push(mn),Lt.removeAttribute(F),fe.$children$||(fe.$children$=[]),fe.$children$[mn.$index$]=mn,fe=mn,ht&&"0"===mn.$depth$&&(ht[mn.$index$]=mn.$elm$))),ln=Lt.childNodes.length-1;ln>=0;ln--)q(fe,Te,ot,ht,Ct,Lt.childNodes[ln],Kt);if(Lt.shadowRoot)for(ln=Lt.shadowRoot.childNodes.length-1;ln>=0;ln--)q(fe,Te,ot,ht,Ct,Lt.shadowRoot.childNodes[ln],Kt)}else if(8===Lt.nodeType)fn=Lt.nodeValue.split("."),(fn[1]===Kt||"0"===fn[1])&&(dn=fn[0],mn={$flags$:0,$hostId$:fn[1],$nodeId$:fn[2],$depth$:fn[3],$index$:fn[4],$elm$:Lt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===dn?(mn.$elm$=Lt.nextSibling,mn.$elm$&&3===mn.$elm$.nodeType&&(mn.$text$=mn.$elm$.textContent,Te.push(mn),Lt.remove(),fe.$children$||(fe.$children$=[]),fe.$children$[mn.$index$]=mn,ht&&"0"===mn.$depth$&&(ht[mn.$index$]=mn.$elm$))):mn.$hostId$===Kt&&("s"===dn?(mn.$tag$="slot",Lt["s-sn"]=fn[5]?mn.$name$=fn[5]:"",Lt["s-sr"]=!0,ht&&(mn.$elm$=Cn.createElement(mn.$tag$),mn.$name$&&mn.$elm$.setAttribute("name",mn.$name$),Lt.parentNode.insertBefore(mn.$elm$,Lt),Lt.remove(),"0"===mn.$depth$&&(ht[mn.$index$]=mn.$elm$)),ot.push(mn),fe.$children$||(fe.$children$=[]),fe.$children$[mn.$index$]=mn):"r"===dn&&(ht?Lt.remove():(Ct["s-cr"]=Lt,Lt["s-cn"]=!0))));else if(fe&&"style"===fe.$tag$){const Yt=se(null,Lt.textContent);Yt.$elm$=Lt,Yt.$index$="0",fe.$children$=[Yt]}},he=(fe,Te)=>{if(1===fe.nodeType){let ot=0;for(;otJt.push(fe),Re=fe=>Rn(fe).$modeName$,ge=fe=>Rn(fe).$hostElement$,Ne=(fe,Te,ot)=>{const ht=ge(fe);return{emit:Ct=>it(ht,Te,{bubbles:!!(4&ot),composed:!!(2&ot),cancelable:!!(1&ot),detail:Ct})}},it=(fe,Te,ot)=>{const ht=yn.ce(Te,ot);return fe.dispatchEvent(ht),ht},qe=new WeakMap,et=(fe,Te,ot)=>{let ht=St.get(fe);Hn&&ot?(ht=ht||new CSSStyleSheet,"string"==typeof ht?ht=Te:ht.replaceSync(Te)):ht=Te,St.set(fe,ht)},De=(fe,Te,ot)=>{var ht;const Ct=Pe(Te,ot),Lt=St.get(Ct);if(fe=11===fe.nodeType?fe:Cn,Lt)if("string"==typeof Lt){let dn,Kt=qe.get(fe=fe.head||fe);if(Kt||qe.set(fe,Kt=new Set),!Kt.has(Ct)){if(fe.host&&(dn=fe.querySelector(`[${O}="${Ct}"]`)))dn.innerHTML=Lt;else{dn=Cn.createElement("style"),dn.innerHTML=Lt;const fn=null!==(ht=yn.$nonce$)&&void 0!==ht?ht:te(Cn);null!=fn&&dn.setAttribute("nonce",fn),fe.insertBefore(dn,fe.querySelector("link"))}4&Te.$flags$&&(dn.innerHTML+=T),Kt&&Kt.add(Ct)}}else fe.adoptedStyleSheets.includes(Lt)||(fe.adoptedStyleSheets=[...fe.adoptedStyleSheets,Lt]);return Ct},Pe=(fe,Te)=>"sc-"+(Te&&32&fe.$flags$?fe.$tagName$+"-"+Te:fe.$tagName$),bt=fe=>fe.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Qe=(fe,Te,ot,ht,Ct,Lt)=>{if(ot!==ht){let Kt=ui(fe,Te),dn=Te.toLowerCase();if("class"===Te){const fn=fe.classList,mn=sn(ot),ln=sn(ht);fn.remove(...mn.filter(Yt=>Yt&&!ln.includes(Yt))),fn.add(...ln.filter(Yt=>Yt&&!mn.includes(Yt)))}else if("style"===Te){for(const fn in ot)(!ht||null==ht[fn])&&(fn.includes("-")?fe.style.removeProperty(fn):fe.style[fn]="");for(const fn in ht)(!ot||ht[fn]!==ot[fn])&&(fn.includes("-")?fe.style.setProperty(fn,ht[fn]):fe.style[fn]=ht[fn])}else if("key"!==Te)if("ref"===Te)ht&&ht(fe);else if(Kt||"o"!==Te[0]||"n"!==Te[1]){const fn=G(ht);if((Kt||fn&&null!==ht)&&!Ct)try{if(fe.tagName.includes("-"))fe[Te]=ht;else{const ln=ht??"";"list"===Te?Kt=!1:(null==ot||fe[Te]!=ln)&&(fe[Te]=ln)}}catch{}let mn=!1;dn!==(dn=dn.replace(/^xlink\:?/,""))&&(Te=dn,mn=!0),null==ht||!1===ht?(!1!==ht||""===fe.getAttribute(Te))&&(mn?fe.removeAttributeNS(I,Te):fe.removeAttribute(Te)):(!Kt||4&Lt||Ct)&&!fn&&(ht=!0===ht?"":ht,mn?fe.setAttributeNS(I,Te,ht):fe.setAttribute(Te,ht))}else if(Te="-"===Te[2]?Te.slice(3):ui(an,dn)?dn.slice(2):dn[2]+Te.slice(3),ot||ht){const fn=Te.endsWith(un);Te=Te.replace(Sn,""),ot&&yn.rel(fe,Te,ot,fn),ht&&yn.ael(fe,Te,ht,fn)}}},Ut=/\s/,sn=fe=>fe?fe.split(Ut):[],un="Capture",Sn=new RegExp(un+"$"),bn=(fe,Te,ot,ht)=>{const Ct=11===Te.$elm$.nodeType&&Te.$elm$.host?Te.$elm$.host:Te.$elm$,Lt=fe&&fe.$attrs$||k,Kt=Te.$attrs$||k;for(ht in Lt)ht in Kt||Qe(Ct,ht,Lt[ht],void 0,ot,Te.$flags$);for(ht in Kt)Qe(Ct,ht,Lt[ht],Kt[ht],ot,Te.$flags$)},kt=(fe,Te,ot,ht)=>{const Ct=Te.$children$[ot];let Kt,dn,fn,Lt=0;if(u||(g=!0,"slot"===Ct.$tag$&&(a&&ht.classList.add(a+"-s"),Ct.$flags$|=Ct.$children$?2:1)),null!==Ct.$text$)Kt=Ct.$elm$=Cn.createTextNode(Ct.$text$);else if(1&Ct.$flags$)Kt=Ct.$elm$=Cn.createTextNode("");else{if(v||(v="svg"===Ct.$tag$),Kt=Ct.$elm$=Cn.createElementNS(v?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Ct.$flags$?"slot-fb":Ct.$tag$),v&&"foreignObject"===Ct.$tag$&&(v=!1),bn(null,Ct,v),(fe=>null!=fe)(a)&&Kt["s-si"]!==a&&Kt.classList.add(Kt["s-si"]=a),Ct.$children$)for(Lt=0;Lt{yn.$flags$|=1;const ot=fe.childNodes;for(let ht=ot.length-1;ht>=0;ht--){const Ct=ot[ht];Ct["s-hn"]!==e&&Ct["s-ol"]&&(Je(Ct).insertBefore(Ct,Ge(Ct)),Ct["s-ol"].remove(),Ct["s-ol"]=void 0,Ct["s-sh"]=void 0,g=!0),Te&&jt(Ct,Te)}yn.$flags$&=-2},Fe=(fe,Te,ot,ht,Ct,Lt)=>{let dn,Kt=fe["s-cr"]&&fe["s-cr"].parentNode||fe;for(Kt.shadowRoot&&Kt.tagName===e&&(Kt=Kt.shadowRoot);Ct<=Lt;++Ct)ht[Ct]&&(dn=kt(null,ot,Ct,fe),dn&&(ht[Ct].$elm$=dn,Kt.insertBefore(dn,Ge(Te))))},Ee=(fe,Te,ot)=>{for(let ht=Te;ht<=ot;++ht){const Ct=fe[ht];if(Ct){const Lt=Ct.$elm$;Ot(Ct),Lt&&(l=!0,Lt["s-ol"]?Lt["s-ol"].remove():jt(Lt,!0),Lt.remove())}}},Ce=(fe,Te,ot=!1)=>fe.$tag$===Te.$tag$&&("slot"===fe.$tag$?fe.$name$===Te.$name$:!!ot||fe.$key$===Te.$key$),Ge=fe=>fe&&fe["s-ol"]||fe,Je=fe=>(fe["s-ol"]?fe["s-ol"]:fe).parentNode,vt=(fe,Te,ot=!1)=>{const ht=Te.$elm$=fe.$elm$,Ct=fe.$children$,Lt=Te.$children$,Kt=Te.$tag$,dn=Te.$text$;let fn;null===dn?(v="svg"===Kt||"foreignObject"!==Kt&&v,"slot"===Kt&&!u||bn(fe,Te,v),null!==Ct&&null!==Lt?((fe,Te,ot,ht,Ct=!1)=>{let Nr,Lr,Lt=0,Kt=0,dn=0,fn=0,mn=Te.length-1,ln=Te[0],Yt=Te[mn],Ln=ht.length-1,lr=ht[0],cr=ht[Ln];for(;Lt<=mn&&Kt<=Ln;)if(null==ln)ln=Te[++Lt];else if(null==Yt)Yt=Te[--mn];else if(null==lr)lr=ht[++Kt];else if(null==cr)cr=ht[--Ln];else if(Ce(ln,lr,Ct))vt(ln,lr,Ct),ln=Te[++Lt],lr=ht[++Kt];else if(Ce(Yt,cr,Ct))vt(Yt,cr,Ct),Yt=Te[--mn],cr=ht[--Ln];else if(Ce(ln,cr,Ct))("slot"===ln.$tag$||"slot"===cr.$tag$)&&jt(ln.$elm$.parentNode,!1),vt(ln,cr,Ct),fe.insertBefore(ln.$elm$,Yt.$elm$.nextSibling),ln=Te[++Lt],cr=ht[--Ln];else if(Ce(Yt,lr,Ct))("slot"===ln.$tag$||"slot"===cr.$tag$)&&jt(Yt.$elm$.parentNode,!1),vt(Yt,lr,Ct),fe.insertBefore(Yt.$elm$,ln.$elm$),Yt=Te[--mn],lr=ht[++Kt];else{for(dn=-1,fn=Lt;fn<=mn;++fn)if(Te[fn]&&null!==Te[fn].$key$&&Te[fn].$key$===lr.$key$){dn=fn;break}dn>=0?(Lr=Te[dn],Lr.$tag$!==lr.$tag$?Nr=kt(Te&&Te[Kt],ot,dn,fe):(vt(Lr,lr,Ct),Te[dn]=void 0,Nr=Lr.$elm$),lr=ht[++Kt]):(Nr=kt(Te&&Te[Kt],ot,Kt,fe),lr=ht[++Kt]),Nr&&Je(ln.$elm$).insertBefore(Nr,Ge(ln.$elm$))}Lt>mn?Fe(fe,null==ht[Ln+1]?null:ht[Ln+1].$elm$,ot,ht,Kt,Ln):Kt>Ln&&Ee(Te,Lt,mn)})(ht,Ct,Te,Lt,ot):null!==Lt?(null!==fe.$text$&&(ht.textContent=""),Fe(ht,null,Te,Lt,0,Lt.length-1)):null!==Ct&&Ee(Ct,0,Ct.length-1),v&&"svg"===Kt&&(v=!1)):(fn=ht["s-cr"])?fn.parentNode.textContent=dn:fe.$text$!==dn&&(ht.data=dn)},Bt=fe=>{const Te=fe.childNodes;for(const ot of Te)if(1===ot.nodeType){if(ot["s-sr"]){const ht=ot["s-sn"];ot.hidden=!1;for(const Ct of Te)if(Ct!==ot)if(Ct["s-hn"]!==ot["s-hn"]||""!==ht){if(1===Ct.nodeType&&(ht===Ct.getAttribute("slot")||ht===Ct["s-sn"])){ot.hidden=!0;break}}else if(1===Ct.nodeType||3===Ct.nodeType&&""!==Ct.textContent.trim()){ot.hidden=!0;break}}Bt(ot)}},Zt=[],Rt=fe=>{let Te,ot,ht;for(const Ct of fe.childNodes){if(Ct["s-sr"]&&(Te=Ct["s-cr"])&&Te.parentNode){ot=Te.parentNode.childNodes;const Lt=Ct["s-sn"];for(ht=ot.length-1;ht>=0;ht--)if(Te=ot[ht],!Te["s-cn"]&&!Te["s-nr"]&&Te["s-hn"]!==Ct["s-hn"])if(Dt(Te,Lt)){let Kt=Zt.find(dn=>dn.$nodeToRelocate$===Te);l=!0,Te["s-sn"]=Te["s-sn"]||Lt,Kt?(Kt.$nodeToRelocate$["s-sh"]=Ct["s-hn"],Kt.$slotRefNode$=Ct):(Te["s-sh"]=Ct["s-hn"],Zt.push({$slotRefNode$:Ct,$nodeToRelocate$:Te})),Te["s-sr"]&&Zt.map(dn=>{Dt(dn.$nodeToRelocate$,Te["s-sn"])&&(Kt=Zt.find(fn=>fn.$nodeToRelocate$===Te),Kt&&!dn.$slotRefNode$&&(dn.$slotRefNode$=Kt.$slotRefNode$))})}else Zt.some(Kt=>Kt.$nodeToRelocate$===Te)||Zt.push({$nodeToRelocate$:Te})}1===Ct.nodeType&&Rt(Ct)}},Dt=(fe,Te)=>1===fe.nodeType?null===fe.getAttribute("slot")&&""===Te||fe.getAttribute("slot")===Te:fe["s-sn"]===Te||""===Te,Ot=fe=>{fe.$attrs$&&fe.$attrs$.ref&&fe.$attrs$.ref(null),fe.$children$&&fe.$children$.map(Ot)},Vn=(fe,Te)=>{Te&&!fe.$onRenderResolve$&&Te["s-p"]&&Te["s-p"].push(new Promise(ot=>fe.$onRenderResolve$=ot))},Yn=(fe,Te)=>{if(fe.$flags$|=16,!(4&fe.$flags$))return Vn(fe,fe.$ancestorComponent$),Ie(()=>er(fe,Te));fe.$flags$|=512},er=(fe,Te)=>{const ht=fe.$lazyInstance$;let Ct;return Te&&(fe.$flags$|=256,fe.$queuedListeners$&&(fe.$queuedListeners$.map(([Lt,Kt])=>En(ht,Lt,Kt)),fe.$queuedListeners$=void 0),Ct=En(ht,"componentWillLoad")),Ct=kn(Ct,()=>En(ht,"componentWillRender")),kn(Ct,()=>Gt(fe,ht,Te))},kn=(fe,Te)=>Mt(fe)?fe.then(Te):Te(),Mt=fe=>fe instanceof Promise||fe&&fe.then&&"function"==typeof fe.then,Gt=function(){var fe=(0,n.c)(function*(Te,ot,ht){var Ct;const Lt=Te.$hostElement$,dn=Lt["s-rc"];ht&&(fe=>{const Te=fe.$cmpMeta$,ot=fe.$hostElement$,ht=Te.$flags$,Lt=De(ot.shadowRoot?ot.shadowRoot:ot.getRootNode(),Te,fe.$modeName$);10&ht&&(ot["s-sc"]=Lt,ot.classList.add(Lt+"-h"),2&ht&&ot.classList.add(Lt+"-s"))})(Te);mt(Te,ot,Lt,ht),dn&&(dn.map(mn=>mn()),Lt["s-rc"]=void 0);{const mn=null!==(Ct=Lt["s-p"])&&void 0!==Ct?Ct:[],ln=()=>Et(Te);0===mn.length?ln():(Promise.all(mn).then(ln),Te.$flags$|=4,mn.length=0)}});return function(ot,ht,Ct){return fe.apply(this,arguments)}}(),mt=(fe,Te,ot,ht)=>{try{Te=Te.render&&Te.render(),fe.$flags$&=-17,fe.$flags$|=2,((fe,Te,ot=!1)=>{var ht,Ct,Lt,Kt;const dn=fe.$hostElement$,fn=fe.$cmpMeta$,mn=fe.$vnode$||se(null,null),ln=(fe=>fe&&fe.$tag$===K)(Te)?Te:ce(null,null,Te);if(e=dn.tagName,fn.$attrsToReflect$&&(ln.$attrs$=ln.$attrs$||{},fn.$attrsToReflect$.map(([Yt,Ln])=>ln.$attrs$[Ln]=dn[Yt])),ot&&ln.$attrs$)for(const Yt of Object.keys(ln.$attrs$))dn.hasAttribute(Yt)&&!["key","ref","style","class"].includes(Yt)&&(ln.$attrs$[Yt]=dn[Yt]);if(ln.$tag$=null,ln.$flags$|=4,fe.$vnode$=ln,ln.$elm$=mn.$elm$=dn.shadowRoot||dn,a=dn["s-sc"],u=0!=(1&fn.$flags$),c=dn["s-cr"],l=!1,vt(mn,ln,ot),yn.$flags$|=1,g){Rt(ln.$elm$);for(const Yt of Zt){const Ln=Yt.$nodeToRelocate$;if(!Ln["s-ol"]){const lr=Cn.createTextNode("");lr["s-nr"]=Ln,Ln.parentNode.insertBefore(Ln["s-ol"]=lr,Ln)}}for(const Yt of Zt){const Ln=Yt.$nodeToRelocate$,lr=Yt.$slotRefNode$;if(lr){const cr=lr.parentNode;let Nr=lr.nextSibling;{let Lr=null===(ht=Ln["s-ol"])||void 0===ht?void 0:ht.previousSibling;for(;Lr;){let ut=null!==(Ct=Lr["s-nr"])&&void 0!==Ct?Ct:null;if(ut&&ut["s-sn"]===Ln["s-sn"]&&cr===ut.parentNode&&(ut=ut.nextSibling,!ut||!ut["s-nr"])){Nr=ut;break}Lr=Lr.previousSibling}}(!Nr&&cr!==Ln.parentNode||Ln.nextSibling!==Nr)&&Ln!==Nr&&(!Ln["s-hn"]&&Ln["s-ol"]&&(Ln["s-hn"]=Ln["s-ol"].parentNode.nodeName),cr.insertBefore(Ln,Nr),1===Ln.nodeType&&(Ln.hidden=null!==(Lt=Ln["s-ih"])&&void 0!==Lt&&Lt))}else 1===Ln.nodeType&&(ot&&(Ln["s-ih"]=null!==(Kt=Ln.hidden)&&void 0!==Kt&&Kt),Ln.hidden=!0)}}l&&Bt(ln.$elm$),yn.$flags$&=-2,Zt.length=0,c=void 0})(fe,Te,ht)}catch(Ct){Pr(Ct,fe.$hostElement$)}return null},Et=fe=>{const ot=fe.$hostElement$,Ct=fe.$lazyInstance$,Lt=fe.$ancestorComponent$;En(Ct,"componentDidRender"),64&fe.$flags$?En(Ct,"componentDidUpdate"):(fe.$flags$|=64,qt(ot),En(Ct,"componentDidLoad"),fe.$onReadyResolve$(ot),Lt||_n()),fe.$onInstanceResolve$(ot),fe.$onRenderResolve$&&(fe.$onRenderResolve$(),fe.$onRenderResolve$=void 0),512&fe.$flags$&&ae(()=>Yn(fe,!1)),fe.$flags$&=-517},Xt=fe=>{{const Te=Rn(fe),ot=Te.$hostElement$.isConnected;return ot&&2==(18&Te.$flags$)&&Yn(Te,!1),ot}},_n=fe=>{qt(Cn.documentElement),ae(()=>it(an,"appload",{detail:{namespace:"ionic"}}))},En=(fe,Te,ot)=>{if(fe&&fe[Te])try{return fe[Te](ot)}catch(ht){Pr(ht)}},qt=fe=>fe.classList.add("hydrated"),Br=(fe,Te,ot)=>{var ht;const Ct=fe.prototype;if(Te.$members$){fe.watchers&&(Te.$watchers$=fe.watchers);const Lt=Object.entries(Te.$members$);if(Lt.map(([Kt,[dn]])=>{31&dn||2&ot&&32&dn?Object.defineProperty(Ct,Kt,{get(){return((fe,Te)=>Rn(this).$instanceValues$.get(Te))(0,Kt)},set(fn){((fe,Te,ot,ht)=>{const Ct=Rn(fe),Lt=Ct.$hostElement$,Kt=Ct.$instanceValues$.get(Te),dn=Ct.$flags$,fn=Ct.$lazyInstance$;ot=((fe,Te)=>null==fe||G(fe)?fe:4&Te?"false"!==fe&&(""===fe||!!fe):2&Te?parseFloat(fe):1&Te?String(fe):fe)(ot,ht.$members$[Te][0]);const mn=Number.isNaN(Kt)&&Number.isNaN(ot);if((!(8&dn)||void 0===Kt)&&ot!==Kt&&!mn&&(Ct.$instanceValues$.set(Te,ot),fn)){if(ht.$watchers$&&128&dn){const Yt=ht.$watchers$[Te];Yt&&Yt.map(Ln=>{try{fn[Ln](ot,Kt,Te)}catch(lr){Pr(lr,Lt)}})}2==(18&dn)&&Yn(Ct,!1)}})(this,Kt,fn,Te)},configurable:!0,enumerable:!0}):1&ot&&64&dn&&Object.defineProperty(Ct,Kt,{value(...fn){var mn;const ln=Rn(this);return null===(mn=ln?.$onInstancePromise$)||void 0===mn?void 0:mn.then(()=>{var Yt;return null===(Yt=ln.$lazyInstance$)||void 0===Yt?void 0:Yt[Kt](...fn)})}})}),1&ot){const Kt=new Map;Ct.attributeChangedCallback=function(dn,fn,mn){yn.jmp(()=>{var ln;const Yt=Kt.get(dn);if(this.hasOwnProperty(Yt))mn=this[Yt],delete this[Yt];else{if(Ct.hasOwnProperty(Yt)&&"number"==typeof this[Yt]&&this[Yt]==mn)return;if(null==Yt){const Ln=Rn(this),lr=Ln?.$flags$;if(lr&&!(8&lr)&&128&lr&&mn!==fn){const cr=Ln.$lazyInstance$,Nr=null===(ln=Te.$watchers$)||void 0===ln?void 0:ln[dn];Nr?.forEach(Lr=>{null!=cr[Lr]&&cr[Lr].call(cr,mn,fn,dn)})}return}}this[Yt]=(null!==mn||"boolean"!=typeof this[Yt])&&mn})},fe.observedAttributes=Array.from(new Set([...Object.keys(null!==(ht=Te.$watchers$)&&void 0!==ht?ht:{}),...Lt.filter(([dn,fn])=>15&fn[0]).map(([dn,fn])=>{var mn;const ln=fn[1]||dn;return Kt.set(ln,dn),512&fn[0]&&(null===(mn=Te.$attrsToReflect$)||void 0===mn||mn.push([dn,ln])),ln})]))}}return fe},sr=function(){var fe=(0,n.c)(function*(Te,ot,ht,Ct){let Lt;if(!(32&ot.$flags$)){ot.$flags$|=32;{if(Lt=Tt(ht),Lt.then){const mn=()=>{};Lt=yield Lt,mn()}Lt.isProxied||(ht.$watchers$=Lt.watchers,Br(Lt,ht,2),Lt.isProxied=!0);const fn=()=>{};ot.$flags$|=8;try{new Lt(ot)}catch(mn){Pr(mn)}ot.$flags$&=-9,ot.$flags$|=128,fn(),Mr(ot.$lazyInstance$)}if(Lt.style){let fn=Lt.style;"string"!=typeof fn&&(fn=fn[ot.$modeName$=(fe=>Jt.map(Te=>Te(fe)).find(Te=>!!Te))(Te)]);const mn=Pe(ht,ot.$modeName$);if(!St.has(mn)){const ln=()=>{};et(mn,fn,!!(1&ht.$flags$)),ln()}}}const Kt=ot.$ancestorComponent$,dn=()=>Yn(ot,!0);Kt&&Kt["s-rc"]?Kt["s-rc"].push(dn):dn()});return function(ot,ht,Ct,Lt){return fe.apply(this,arguments)}}(),Mr=fe=>{En(fe,"connectedCallback")},Jn=fe=>{const Te=fe["s-cr"]=Cn.createComment("");Te["s-cn"]=!0,fe.insertBefore(Te,fe.firstChild)},xn=fe=>{En(fe,"disconnectedCallback")},oi=function(){var fe=(0,n.c)(function*(Te){if(!(1&yn.$flags$)){const ot=Rn(Te);ot.$rmListeners$&&(ot.$rmListeners$.map(ht=>ht()),ot.$rmListeners$=void 0),ot?.$lazyInstance$?xn(ot.$lazyInstance$):ot?.$onReadyPromise$&&ot.$onReadyPromise$.then(()=>xn(ot.$lazyInstance$))}});return function(ot){return fe.apply(this,arguments)}}(),Sr=(fe,Te={})=>{var ot;const Ct=[],Lt=Te.exclude||[],Kt=an.customElements,dn=Cn.head,fn=dn.querySelector("meta[charset]"),mn=Cn.createElement("style"),ln=[],Yt=Cn.querySelectorAll(`[${O}]`);let Ln,lr=!0,cr=0;for(Object.assign(yn,Te),yn.$resourcesUrl$=new URL(Te.resourcesUrl||"./",Cn.baseURI).href,yn.$flags$|=2;cr{Lr[1].map(ut=>{var lo;const vi={$flags$:ut[0],$tagName$:ut[1],$members$:ut[2],$listeners$:ut[3]};4&vi.$flags$&&(Nr=!0),vi.$members$=ut[2],vi.$listeners$=ut[3],vi.$attrsToReflect$=[],vi.$watchers$=null!==(lo=ut[4])&&void 0!==lo?lo:{};const _r=vi.$tagName$,wn=class extends HTMLElement{constructor($n){super($n),or($n=this,vi),1&vi.$flags$&&$n.attachShadow({mode:"open",delegatesFocus:!!(16&vi.$flags$)})}connectedCallback(){Ln&&(clearTimeout(Ln),Ln=null),lr?ln.push(this):yn.jmp(()=>(fe=>{if(!(1&yn.$flags$)){const Te=Rn(fe),ot=Te.$cmpMeta$,ht=()=>{};if(1&Te.$flags$)pr(fe,Te,ot.$listeners$),Te?.$lazyInstance$?Mr(Te.$lazyInstance$):Te?.$onReadyPromise$&&Te.$onReadyPromise$.then(()=>Mr(Te.$lazyInstance$));else{let Ct;if(Te.$flags$|=1,Ct=fe.getAttribute(A),Ct){if(1&ot.$flags$){const Lt=De(fe.shadowRoot,ot,fe.getAttribute("s-mode"));fe.classList.remove(Lt+"-h",Lt+"-s")}((fe,Te,ot,ht)=>{const Lt=fe.shadowRoot,Kt=[],fn=Lt?[]:null,mn=ht.$vnode$=se(Te,null);yn.$orgLocNodes$||he(Cn.body,yn.$orgLocNodes$=new Map),fe[A]=ot,fe.removeAttribute(A),q(mn,Kt,[],fn,fe,fe,ot),Kt.map(ln=>{const Yt=ln.$hostId$+"."+ln.$nodeId$,Ln=yn.$orgLocNodes$.get(Yt),lr=ln.$elm$;Ln&&Un&&""===Ln["s-en"]&&Ln.parentNode.insertBefore(lr,Ln.nextSibling),Lt||(lr["s-hn"]=Te,Ln&&(lr["s-ol"]=Ln,lr["s-ol"]["s-nr"]=lr)),yn.$orgLocNodes$.delete(Yt)}),Lt&&fn.map(ln=>{ln&&Lt.appendChild(ln)})})(fe,ot.$tagName$,Ct,Te)}Ct||12&ot.$flags$&&Jn(fe);{let Lt=fe;for(;Lt=Lt.parentNode||Lt.host;)if(1===Lt.nodeType&&Lt.hasAttribute("s-id")&&Lt["s-p"]||Lt["s-p"]){Vn(Te,Te.$ancestorComponent$=Lt);break}}ot.$members$&&Object.entries(ot.$members$).map(([Lt,[Kt]])=>{if(31&Kt&&fe.hasOwnProperty(Lt)){const dn=fe[Lt];delete fe[Lt],fe[Lt]=dn}}),sr(fe,Te,ot)}ht()}})(this))}disconnectedCallback(){yn.jmp(()=>oi(this))}componentOnReady(){return Rn(this).$onReadyPromise$}};vi.$lazyBundleId$=Lr[0],!Lt.includes(_r)&&!Kt.get(_r)&&(Ct.push(_r),Kt.define(_r,Br(wn,vi,1)))})}),Ct.length>0&&(Nr&&(mn.innerHTML+=T),mn.innerHTML+=Ct+"{visibility:hidden}.hydrated{visibility:inherit}",mn.innerHTML.length)){mn.setAttribute("data-styles","");const Lr=null!==(ot=yn.$nonce$)&&void 0!==ot?ot:te(Cn);null!=Lr&&mn.setAttribute("nonce",Lr),dn.insertBefore(mn,fn?fn.nextSibling:dn.firstChild)}lr=!1,ln.length?ln.map(Lr=>Lr.connectedCallback()):yn.jmp(()=>Ln=setTimeout(_n,30))},pr=(fe,Te,ot,ht)=>{ot&&ot.map(([Ct,Lt,Kt])=>{const dn=qn(fe,Ct),fn=Xn(Te,Kt),mn=Or(Ct);yn.ael(dn,Lt,fn,mn),(Te.$rmListeners$=Te.$rmListeners$||[]).push(()=>yn.rel(dn,Lt,fn,mn))})},Xn=(fe,Te)=>ot=>{try{256&fe.$flags$?fe.$lazyInstance$[Te](ot):(fe.$queuedListeners$=fe.$queuedListeners$||[]).push([Te,ot])}catch(ht){Pr(ht)}},qn=(fe,Te)=>4&Te?Cn:8&Te?an:16&Te?Cn.body:fe,Or=fe=>Tr?{passive:0!=(1&fe),capture:0!=(2&fe)}:0!=(2&fe),Qt=new WeakMap,Rn=fe=>Qt.get(fe),Kn=(fe,Te)=>Qt.set(Te.$lazyInstance$=fe,Te),or=(fe,Te)=>{const ot={$flags$:0,$hostElement$:fe,$cmpMeta$:Te,$instanceValues$:new Map};return ot.$onInstancePromise$=new Promise(ht=>ot.$onInstanceResolve$=ht),ot.$onReadyPromise$=new Promise(ht=>ot.$onReadyResolve$=ht),fe["s-p"]=[],fe["s-rc"]=[],pr(fe,ot,Te.$listeners$),Qt.set(fe,ot)},ui=(fe,Te)=>Te in fe,Pr=(fe,Te)=>(0,console.error)(fe,Te),ct=new Map,Tt=(fe,Te,ot)=>{const ht=fe.$tagName$.replace(/-/g,"_"),Ct=fe.$lazyBundleId$,Lt=ct.get(Ct);return Lt?Lt[ht]:o(21480)(`./${Ct}.entry.js`).then(Kt=>(ct.set(Ct,Kt),Kt[ht]),Pr)},St=new Map,Jt=[],an=typeof window<"u"?window:{},Cn=an.document||{head:{}},yn={$flags$:0,$resourcesUrl$:"",jmp:fe=>fe(),raf:fe=>requestAnimationFrame(fe),ael:(fe,Te,ot,ht)=>fe.addEventListener(Te,ot,ht),rel:(fe,Te,ot,ht)=>fe.removeEventListener(Te,ot,ht),ce:(fe,Te)=>new CustomEvent(fe,Te)},Qn=fe=>{Object.assign(yn,fe)},Un=!0,Tr=(()=>{let fe=!1;try{Cn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){fe=!0}}))}catch{}return fe})(),Hn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ur=[],Ei=[],on=(fe,Te)=>ot=>{fe.push(ot),p||(p=!0,Te&&4&yn.$flags$?ae(z):yn.raf(z))},U=fe=>{for(let Te=0;Te{U(ur),U(Ei),(p=ur.length>0)&&yn.raf(z)},ae=fe=>Promise.resolve(void 0).then(fe),He=on(ur,!1),Ie=on(Ei,!0)},52032:(ve,h,o)=>{"use strict";o.d(h,{a:()=>i,b:()=>d,p:()=>n});const n=(a,...c)=>console.warn(`[Ionic Warning]: ${a}`,...c),i=(a,...c)=>console.error(`[Ionic Error]: ${a}`,...c),d=(a,...c)=>console.error(`<${a.tagName.toLowerCase()}> must be used inside ${c.join(" or ")}.`)},14829:(ve,h,o)=>{"use strict";o.d(h,{d:()=>i,w:()=>n});const n=typeof window<"u"?window:void 0,i=typeof document<"u"?document:void 0},43452:(ve,h,o)=>{"use strict";o.d(h,{m:()=>b});var n=o(1528),i=o(14829),d=o(72784),a=o(52032),c=o(46384),e=o(88523),u=o(30388);const l=_=>(0,u.c)().duration(_?400:300),g=_=>{let f,y;const S=_.width+8,M=(0,u.c)(),w=(0,u.c)();_.isEndSide?(f=S+"px",y="0px"):(f=-S+"px",y="0px"),M.addElement(_.menuInnerEl).fromTo("transform",`translateX(${f})`,`translateX(${y})`);const O="ios"===(0,e.b)(_),F=O?.2:.25;return w.addElement(_.backdropEl).fromTo("opacity",.01,F),l(O).addAnimation([M,w])},v=_=>{let f,y;const S=(0,e.b)(_),M=_.width;_.isEndSide?(f=-M+"px",y=M+"px"):(f=M+"px",y=-M+"px");const w=(0,u.c)().addElement(_.menuInnerEl).fromTo("transform",`translateX(${y})`,"translateX(0px)"),A=(0,u.c)().addElement(_.contentEl).fromTo("transform","translateX(0px)",`translateX(${f})`),O=(0,u.c)().addElement(_.backdropEl).fromTo("opacity",.01,.32);return l("ios"===S).addAnimation([w,A,O])},p=_=>{const f=(0,e.b)(_),y=_.width*(_.isEndSide?-1:1)+"px",S=(0,u.c)().addElement(_.contentEl).fromTo("transform","translateX(0px)",`translateX(${y})`);return l("ios"===f).addAnimation(S)},b=(()=>{const _=new Map,f=[],y=function(){var X=(0,n.c)(function*(W){const Y=yield j(W,!0);return!!Y&&Y.open()});return function(Y){return X.apply(this,arguments)}}(),S=function(){var X=(0,n.c)(function*(W){const Y=yield void 0!==W?j(W,!0):T();return void 0!==Y&&Y.close()});return function(Y){return X.apply(this,arguments)}}(),M=function(){var X=(0,n.c)(function*(W){const Y=yield j(W,!0);return!!Y&&Y.toggle()});return function(Y){return X.apply(this,arguments)}}(),w=function(){var X=(0,n.c)(function*(W,Y){const q=yield j(Y);return q&&(q.disabled=!W),q});return function(Y,q){return X.apply(this,arguments)}}(),A=function(){var X=(0,n.c)(function*(W,Y){const q=yield j(Y);return q&&(q.swipeGesture=W),q});return function(Y,q){return X.apply(this,arguments)}}(),O=function(){var X=(0,n.c)(function*(W){if(null!=W){const Y=yield j(W);return void 0!==Y&&Y.isOpen()}return void 0!==(yield T())});return function(Y){return X.apply(this,arguments)}}(),F=function(){var X=(0,n.c)(function*(W){const Y=yield j(W);return!!Y&&!Y.disabled});return function(Y){return X.apply(this,arguments)}}(),j=function(){var X=(0,n.c)(function*(W,Y=!1){if(yield re(),"start"===W||"end"===W){const he=f.filter(Oe=>Oe.side===W&&!Oe.disabled);if(he.length>=1)return he.length>1&&Y&&(0,a.p)(`menuController queried for a menu on the "${W}" side, but ${he.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,he.map(Oe=>Oe.el)),he[0].el;const _e=f.filter(Oe=>Oe.side===W);if(_e.length>=1)return _e.length>1&&Y&&(0,a.p)(`menuController queried for a menu on the "${W}" side, but ${_e.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,_e.map(Oe=>Oe.el)),_e[0].el}else if(null!=W)return Z(he=>he.menuId===W);return Z(he=>!he.disabled)||(f.length>0?f[0].el:void 0)});return function(Y){return X.apply(this,arguments)}}(),T=function(){var X=(0,n.c)(function*(){return yield re(),ce()});return function(){return X.apply(this,arguments)}}(),I=function(){var X=(0,n.c)(function*(){return yield re(),se()});return function(){return X.apply(this,arguments)}}(),k=function(){var X=(0,n.c)(function*(){return yield re(),K()});return function(){return X.apply(this,arguments)}}(),N=(X,W)=>{_.set(X,W)},G=function(){var X=(0,n.c)(function*(W,Y,q){if(K())return!1;if(Y){const he=yield T();he&&W.el!==he&&(yield he.setOpen(!1,!1))}return W._setOpen(Y,q)});return function(Y,q,he){return X.apply(this,arguments)}}(),ce=()=>Z(X=>X._isOpen),se=()=>f.map(X=>X.el),K=()=>f.some(X=>X.isAnimating),Z=X=>{const W=f.find(X);if(void 0!==W)return W.el},re=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(X=>new Promise(W=>(0,c.c)(X,W))));return N("reveal",p),N("push",v),N("overlay",g),null==i.d||i.d.addEventListener("ionBackButton",X=>{const W=ce();W&&X.detail.register(d.MENU_BACK_BUTTON_PRIORITY,()=>W.close())}),{registerAnimation:N,get:j,getMenus:I,getOpen:T,isEnabled:F,swipeGesture:A,isAnimating:k,isOpen:O,enable:w,toggle:M,close:S,open:y,_getOpenSync:ce,_createAnimation:(X,W)=>{const Y=_.get(X);if(!Y)throw new Error("animation not registered");return Y(W)},_register:X=>{f.indexOf(X)<0&&f.push(X)},_unregister:X=>{const W=f.indexOf(X);W>-1&&f.splice(W,1)},_setOpen:G}})()},88523:(ve,h,o)=>{"use strict";o.d(h,{a:()=>p,b:()=>se,c:()=>d,g:()=>v,i:()=>K});var n=o(62992);class i{constructor(){this.m=new Map}reset(re){this.m=new Map(Object.entries(re))}get(re,X){const W=this.m.get(re);return void 0!==W?W:X}getBoolean(re,X=!1){const W=this.m.get(re);return void 0===W?X:"string"==typeof W?"true"===W:!!W}getNumber(re,X){const W=parseFloat(this.m.get(re));return isNaN(W)?void 0!==X?X:NaN:W}set(re,X){this.m.set(re,X)}}const d=new i,l="ionic:",g="ionic-persist-config",v=Z=>C(Z),p=(Z,re)=>("string"==typeof Z&&(re=Z,Z=void 0),v(Z).includes(re)),C=(Z=window)=>{if(typeof Z>"u")return[];Z.Ionic=Z.Ionic||{};let re=Z.Ionic.platforms;return null==re&&(re=Z.Ionic.platforms=b(Z),re.forEach(X=>Z.document.documentElement.classList.add(`plt-${X}`))),re},b=Z=>{const re=d.get("platform");return Object.keys(te).filter(X=>{const W=re?.[X];return"function"==typeof W?W(Z):te[X](Z)})},f=Z=>!!(H(Z,/iPad/i)||H(Z,/Macintosh/i)&&F(Z)),M=Z=>H(Z,/android|sink/i),F=Z=>G(Z,"(any-pointer:coarse)"),T=Z=>I(Z)||k(Z),I=Z=>!!(Z.cordova||Z.phonegap||Z.PhoneGap),k=Z=>{const re=Z.Capacitor;return!!re?.isNative},H=(Z,re)=>re.test(Z.navigator.userAgent),G=(Z,re)=>{var X;return null===(X=Z.matchMedia)||void 0===X?void 0:X.call(Z,re).matches},te={ipad:f,iphone:Z=>H(Z,/iPhone/i),ios:Z=>H(Z,/iPhone|iPod/i)||f(Z),android:M,phablet:Z=>{const re=Z.innerWidth,X=Z.innerHeight,W=Math.min(re,X),Y=Math.max(re,X);return W>390&&W<520&&Y>620&&Y<800},tablet:Z=>{const re=Z.innerWidth,X=Z.innerHeight,W=Math.min(re,X),Y=Math.max(re,X);return f(Z)||(Z=>M(Z)&&!H(Z,/mobile/i))(Z)||W>460&&W<820&&Y>780&&Y<1400},cordova:I,capacitor:k,electron:Z=>H(Z,/electron/i),pwa:Z=>{var re;return!!(null!==(re=Z.matchMedia)&&void 0!==re&&re.call(Z,"(display-mode: standalone)").matches||Z.navigator.standalone)},mobile:F,mobileweb:Z=>F(Z)&&!T(Z),desktop:Z=>!F(Z),hybrid:T};let ce;const se=Z=>Z&&(0,n.g)(Z)||ce,K=(Z={})=>{if(typeof window>"u")return;const re=window.document,X=window,W=X.Ionic=X.Ionic||{},Y={};Z._ael&&(Y.ael=Z._ael),Z._rel&&(Y.rel=Z._rel),Z._ce&&(Y.ce=Z._ce),(0,n.a)(Y);const q=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Z=>{try{const re=Z.sessionStorage.getItem(g);return null!==re?JSON.parse(re):{}}catch{return{}}})(X)),{persistConfig:!1}),W.config),(Z=>{const re={};return Z.location.search.slice(1).split("&").map(X=>X.split("=")).map(([X,W])=>[decodeURIComponent(X),decodeURIComponent(W)]).filter(([X])=>((Z,re)=>Z.substr(0,re.length)===re)(X,l)).map(([X,W])=>[X.slice(6),W]).forEach(([X,W])=>{re[X]=W}),re})(X)),Z);d.reset(q),d.getBoolean("persistConfig")&&((Z,re)=>{try{Z.sessionStorage.setItem(g,JSON.stringify(re))}catch{return}})(X,q),C(X),W.config=d,W.mode=ce=d.get("mode",re.documentElement.getAttribute("mode")||(p(X,"ios")?"ios":"md")),d.set("mode",ce),re.documentElement.setAttribute("mode",ce),re.documentElement.classList.add(ce),d.getBoolean("_testing")&&d.set("animated",!1);const he=Oe=>{var Re;return null===(Re=Oe.tagName)||void 0===Re?void 0:Re.startsWith("ION-")},_e=Oe=>["ios","md"].includes(Oe);(0,n.c)(Oe=>{for(;Oe;){const Re=Oe.mode||Oe.getAttribute("mode");if(Re){if(_e(Re))return Re;he(Oe)&&console.warn('Invalid ionic mode: "'+Re+'", expected: "ios" or "md"')}Oe=Oe.parentElement}return ce})}},68512:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{iosTransitionAnimation:()=>b,shadow:()=>u});var n=o(30388),i=o(76256);o(14829),o(62992);const e=f=>document.querySelector(`${f}.ion-cloned-element`),u=f=>f.shadowRoot||f,l=f=>{const y="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs"),S="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=y){const M=y.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=M?M.querySelector(S):null}return f.querySelector(S)},g=(f,y)=>{const S="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs");let M=[];if(null!=S){const w=S.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=w&&(M=w.querySelectorAll("ion-buttons"))}else M=f.querySelectorAll("ion-buttons");for(const w of M){const A=w.closest("ion-header"),O=A&&!A.classList.contains("header-collapse-condense-inactive"),F=w.querySelector("ion-back-button"),j=w.classList.contains("buttons-collapse");if(null!==F&&("start"===w.slot||""===w.slot)&&(j&&O&&y||!j))return F}return null},p=(f,y,S,M,w,A,O,F,j)=>{var T,I;const k=y?`calc(100% - ${w.right+4}px)`:w.left-4+"px",N=y?"right":"left",x=y?"left":"right",H=y?"right":"left",G=(null===(T=A.textContent)||void 0===T?void 0:T.trim())===(null===(I=F.textContent)||void 0===I?void 0:I.trim()),ce=(j.height-_)/O.height,se=G?`scale(${j.width/O.width}, ${ce})`:`scale(${ce})`,K="scale(1)",re=u(M).querySelector("ion-icon").getBoundingClientRect(),X=y?re.width/2-(re.right-w.right)+"px":w.left-re.width/2+"px",W=y?`-${window.innerWidth-w.right}px`:`${w.left}px`,Y=`${j.top}px`,q=`${w.top}px`,Oe=S?[{offset:0,transform:`translate3d(${W}, ${q}, 0)`},{offset:1,transform:`translate3d(${X}, ${Y}, 0)`}]:[{offset:0,transform:`translate3d(${X}, ${Y}, 0)`},{offset:1,transform:`translate3d(${W}, ${q}, 0)`}],ge=S?[{offset:0,opacity:1,transform:K},{offset:1,opacity:0,transform:se}]:[{offset:0,opacity:0,transform:se},{offset:1,opacity:1,transform:K}],qe=S?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],et=(0,n.c)(),De=(0,n.c)(),je=(0,n.c)(),Pe=e("ion-back-button"),bt=u(Pe).querySelector(".button-text"),Qe=u(Pe).querySelector("ion-icon");Pe.text=M.text,Pe.mode=M.mode,Pe.icon=M.icon,Pe.color=M.color,Pe.disabled=M.disabled,Pe.style.setProperty("display","block"),Pe.style.setProperty("position","fixed"),De.addElement(Qe),et.addElement(bt),je.addElement(Pe),je.beforeStyles({position:"absolute",top:"0px",[H]:"0px"}).keyframes(Oe),et.beforeStyles({"transform-origin":`${N} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),Pe.style.setProperty(N,k)}).afterAddWrite(()=>{M.style.setProperty("display",""),Pe.style.setProperty("display","none"),Pe.style.removeProperty(N)}).keyframes(ge),De.beforeStyles({"transform-origin":`${x} center`}).keyframes(qe),f.addAnimation([et,De,je])},C=(f,y,S,M,w,A,O,F)=>{var j,T;const I=y?"right":"left",k=y?`calc(100% - ${w.right}px)`:`${w.left}px`,x=`${w.top}px`,G=y?`-${window.innerWidth-F.right-8}px`:F.x-8+"px",ce=F.y-2+"px",se=(null===(j=O.textContent)||void 0===j?void 0:j.trim())===(null===(T=M.textContent)||void 0===T?void 0:T.trim()),Z=F.height/(A.height-_),re="scale(1)",X=se?`scale(${F.width/A.width}, ${Z})`:`scale(${Z})`,q=S?[{offset:0,opacity:0,transform:`translate3d(${G}, ${ce}, 0) ${X}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${x}, 0) ${re}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${x}, 0) ${re}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${G}, ${ce}, 0) ${X}`}],he=e("ion-title"),_e=(0,n.c)();he.innerText=M.innerText,he.size=M.size,he.color=M.color,_e.addElement(he),_e.beforeStyles({"transform-origin":`${I} top`,height:`${w.height}px`,display:"",position:"relative",[I]:k}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),he.style.setProperty("display","none")}).keyframes(q),f.addAnimation(_e)},b=(f,y)=>{var S;try{const M="cubic-bezier(0.32,0.72,0,1)",w="opacity",A="transform",O="0%",j="rtl"===f.ownerDocument.dir,T=j?"-99.5%":"99.5%",I=j?"33%":"-33%",k=y.enteringEl,N=y.leavingEl,x="back"===y.direction,H=k.querySelector(":scope > ion-content"),G=k.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),te=k.querySelectorAll(":scope > ion-header > ion-toolbar"),ce=(0,n.c)(),se=(0,n.c)();if(ce.addElement(k).duration((null!==(S=y.duration)&&void 0!==S?S:0)||540).easing(y.easing||M).fill("both").beforeRemoveClass("ion-page-invisible"),N&&null!=f){const X=(0,n.c)();X.addElement(f),ce.addAnimation(X)}if(H||0!==te.length||0!==G.length?(se.addElement(H),se.addElement(G)):se.addElement(k.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ce.addAnimation(se),x?se.beforeClearStyles([w]).fromTo("transform",`translateX(${I})`,`translateX(${O})`).fromTo(w,.8,1):se.beforeClearStyles([w]).fromTo("transform",`translateX(${T})`,`translateX(${O})`),H){const X=u(H).querySelector(".transition-effect");if(X){const W=X.querySelector(".transition-cover"),Y=X.querySelector(".transition-shadow"),q=(0,n.c)(),he=(0,n.c)(),_e=(0,n.c)();q.addElement(X).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),he.addElement(W).beforeClearStyles([w]).fromTo(w,0,.1),_e.addElement(Y).beforeClearStyles([w]).fromTo(w,.03,.7),q.addAnimation([he,_e]),se.addAnimation([q])}}const K=k.querySelector("ion-header.header-collapse-condense"),{forward:Z,backward:re}=((f,y,S,M,w)=>{const A=g(M,S),O=l(w),F=l(M),j=g(w,S),T=null!==A&&null!==O&&!S,I=null!==F&&null!==j&&S;if(T){const k=O.getBoundingClientRect(),N=A.getBoundingClientRect(),x=u(A).querySelector(".button-text"),H=x.getBoundingClientRect(),te=u(O).querySelector(".toolbar-title").getBoundingClientRect();C(f,y,S,O,k,te,x,H),p(f,y,S,A,N,x,H,O,te)}else if(I){const k=F.getBoundingClientRect(),N=j.getBoundingClientRect(),x=u(j).querySelector(".button-text"),H=x.getBoundingClientRect(),te=u(F).querySelector(".toolbar-title").getBoundingClientRect();C(f,y,S,F,k,te,x,H),p(f,y,S,j,N,x,H,F,te)}return{forward:T,backward:I}})(ce,j,x,k,N);if(te.forEach(X=>{const W=(0,n.c)();W.addElement(X),ce.addAnimation(W);const Y=(0,n.c)();Y.addElement(X.querySelector("ion-title"));const q=(0,n.c)(),he=Array.from(X.querySelectorAll("ion-buttons,[menuToggle]")),_e=X.closest("ion-header"),Oe=_e?.classList.contains("header-collapse-condense-inactive");let Re;Re=he.filter(x?qe=>{const et=qe.classList.contains("buttons-collapse");return et&&!Oe||!et}:qe=>!qe.classList.contains("buttons-collapse")),q.addElement(Re);const Ae=(0,n.c)();Ae.addElement(X.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ge=(0,n.c)();ge.addElement(u(X).querySelector(".toolbar-background"));const Ne=(0,n.c)(),it=X.querySelector("ion-back-button");if(it&&Ne.addElement(it),W.addAnimation([Y,q,Ae,ge,Ne]),q.fromTo(w,.01,1),Ae.fromTo(w,.01,1),x)Oe||Y.fromTo("transform",`translateX(${I})`,`translateX(${O})`).fromTo(w,.01,1),Ae.fromTo("transform",`translateX(${I})`,`translateX(${O})`),Ne.fromTo(w,.01,1);else if(K||Y.fromTo("transform",`translateX(${T})`,`translateX(${O})`).fromTo(w,.01,1),Ae.fromTo("transform",`translateX(${T})`,`translateX(${O})`),ge.beforeClearStyles([w,"transform"]),_e?.translucent?ge.fromTo("transform",j?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ge.fromTo(w,.01,"var(--opacity)"),Z||Ne.fromTo(w,.01,1),it&&!Z){const et=(0,n.c)();et.addElement(u(it).querySelector(".button-text")).fromTo("transform",j?"translateX(-100px)":"translateX(100px)","translateX(0px)"),W.addAnimation(et)}}),N){const X=(0,n.c)(),W=N.querySelector(":scope > ion-content"),Y=N.querySelectorAll(":scope > ion-header > ion-toolbar"),q=N.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(W||0!==Y.length||0!==q.length?(X.addElement(W),X.addElement(q)):X.addElement(N.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ce.addAnimation(X),x){X.beforeClearStyles([w]).fromTo("transform",`translateX(${O})`,j?"translateX(-100%)":"translateX(100%)");const he=(0,i.g)(N);ce.afterAddWrite(()=>{"normal"===ce.getDirection()&&he.style.setProperty("display","none")})}else X.fromTo("transform",`translateX(${O})`,`translateX(${I})`).fromTo(w,1,.8);if(W){const he=u(W).querySelector(".transition-effect");if(he){const _e=he.querySelector(".transition-cover"),Oe=he.querySelector(".transition-shadow"),Re=(0,n.c)(),Ae=(0,n.c)(),ge=(0,n.c)();Re.addElement(he).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Ae.addElement(_e).beforeClearStyles([w]).fromTo(w,.1,0),ge.addElement(Oe).beforeClearStyles([w]).fromTo(w,.7,.03),Re.addAnimation([Ae,ge]),X.addAnimation([Re])}}Y.forEach(he=>{const _e=(0,n.c)();_e.addElement(he);const Oe=(0,n.c)();Oe.addElement(he.querySelector("ion-title"));const Re=(0,n.c)(),Ae=he.querySelectorAll("ion-buttons,[menuToggle]"),ge=he.closest("ion-header"),Ne=ge?.classList.contains("header-collapse-condense-inactive"),it=Array.from(Ae).filter(bt=>{const Qe=bt.classList.contains("buttons-collapse");return Qe&&!Ne||!Qe});Re.addElement(it);const qe=(0,n.c)(),et=he.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");et.length>0&&qe.addElement(et);const De=(0,n.c)();De.addElement(u(he).querySelector(".toolbar-background"));const je=(0,n.c)(),Pe=he.querySelector("ion-back-button");if(Pe&&je.addElement(Pe),_e.addAnimation([Oe,Re,qe,je,De]),ce.addAnimation(_e),je.fromTo(w,.99,0),Re.fromTo(w,.99,0),qe.fromTo(w,.99,0),x){if(Ne||Oe.fromTo("transform",`translateX(${O})`,j?"translateX(-100%)":"translateX(100%)").fromTo(w,.99,0),qe.fromTo("transform",`translateX(${O})`,j?"translateX(-100%)":"translateX(100%)"),De.beforeClearStyles([w,"transform"]),ge?.translucent?De.fromTo("transform","translateX(0px)",j?"translateX(-100%)":"translateX(100%)"):De.fromTo(w,"var(--opacity)",0),Pe&&!re){const Qe=(0,n.c)();Qe.addElement(u(Pe).querySelector(".button-text")).fromTo("transform",`translateX(${O})`,`translateX(${(j?-124:124)+"px"})`),_e.addAnimation(Qe)}}else Ne||Oe.fromTo("transform",`translateX(${O})`,`translateX(${I})`).fromTo(w,.99,0).afterClearStyles([A,w]),qe.fromTo("transform",`translateX(${O})`,`translateX(${I})`).afterClearStyles([A,w]),je.afterClearStyles([w]),Oe.afterClearStyles([w]),Re.afterClearStyles([w])})}return ce}catch(M){throw M}},_=10},96556:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{mdTransitionAnimation:()=>c});var n=o(30388),i=o(76256);o(14829),o(62992);const c=(e,u)=>{var l,g,v;const p="40px",b="back"===u.direction,f=u.leavingEl,y=(0,i.g)(u.enteringEl),S=y.querySelector("ion-toolbar"),M=(0,n.c)();if(M.addElement(y).fill("both").beforeRemoveClass("ion-page-invisible"),b?M.duration((null!==(l=u.duration)&&void 0!==l?l:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):M.duration((null!==(g=u.duration)&&void 0!==g?g:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),S){const w=(0,n.c)();w.addElement(S),M.addAnimation(w)}if(f&&b){M.duration((null!==(v=u.duration)&&void 0!==v?v:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const w=(0,n.c)();w.addElement((0,i.g)(f)).onFinish(A=>{1===A&&w.elements.length>0&&w.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),M.addAnimation(w)}return M}},63816:(ve,h,o)=>{"use strict";o.d(h,{B:()=>Re,G:()=>Ae,O:()=>ge,a:()=>C,b:()=>b,c:()=>S,d:()=>Ne,e:()=>it,f:()=>K,g:()=>re,h:()=>Y,i:()=>he,j:()=>w,k:()=>A,l:()=>_,m:()=>f,n:()=>T,o:()=>ce,p:()=>y,s:()=>Oe,t:()=>M});var n=o(1528),i=o(14829),d=o(72784),a=o(88523),c=o(10495),e=o(46384),u=o(52032);let l=0,g=0;const v=new WeakMap,p=qe=>({create:et=>O(qe,et),dismiss:(et,De,je)=>H(document,et,De,qe,je),getTop:()=>(0,n.c)(function*(){return ce(document,qe)})()}),C=p("ion-alert"),b=p("ion-action-sheet"),_=p("ion-loading"),f=p("ion-modal"),y=p("ion-picker"),S=p("ion-popover"),M=p("ion-toast"),w=qe=>{typeof document<"u"&&x(document);const et=l++;qe.overlayIndex=et},A=qe=>(qe.hasAttribute("id")||(qe.id="ion-overlay-"+ ++g),qe.id),O=(qe,et)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(qe).then(()=>{const De=document.createElement(qe);return De.classList.add("overlay-hidden"),Object.assign(De,Object.assign(Object.assign({},et),{hasController:!0})),X(document).appendChild(De),new Promise(je=>(0,e.c)(De,je))}):Promise.resolve(),F='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',T=(qe,et)=>{const De=qe.querySelector(F);k(De,et)},I=(qe,et)=>{const De=Array.from(qe.querySelectorAll(F));k(De.length>0?De[De.length-1]:null,et)},k=(qe,et)=>{let De=qe;const je=qe?.shadowRoot;je&&(De=je.querySelector(F)||qe),De?(0,e.f)(De):et.focus()},x=qe=>{0===l&&(l=1,qe.addEventListener("focus",et=>{((qe,et)=>{const De=ce(et,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),je=qe.target;De&&je&&!De.classList.contains("ion-disable-focus-trap")&&(De.shadowRoot?(()=>{if(De.contains(je))De.lastFocus=je;else if("ION-TOAST"===je.tagName)k(De.lastFocus,De);else{const Qe=De.lastFocus;T(De,De),Qe===et.activeElement&&I(De,De),De.lastFocus=et.activeElement}})():(()=>{if(De===je)De.lastFocus=void 0;else if("ION-TOAST"===je.tagName)k(De.lastFocus,De);else{const Qe=(0,e.g)(De);if(!Qe.contains(je))return;const Ut=Qe.querySelector(".ion-overlay-wrapper");if(!Ut)return;if(Ut.contains(je)||je===Qe.querySelector("ion-backdrop"))De.lastFocus=je;else{const sn=De.lastFocus;T(Ut,De),sn===et.activeElement&&I(Ut,De),De.lastFocus=et.activeElement}}})())})(et,qe)},!0),qe.addEventListener("ionBackButton",et=>{const De=ce(qe);De?.backdropDismiss&&et.detail.register(d.OVERLAY_BACK_BUTTON_PRIORITY,()=>{De.dismiss(void 0,Re)})}),(0,d.shoudUseCloseWatcher)()||qe.addEventListener("keydown",et=>{if("Escape"===et.key){const De=ce(qe);De?.backdropDismiss&&De.dismiss(void 0,Re)}}))},H=(qe,et,De,je,Pe)=>{const bt=ce(qe,je,Pe);return bt?bt.dismiss(et,De):Promise.reject("overlay does not exist")},te=(qe,et)=>((qe,et)=>(void 0===et&&(et="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(qe.querySelectorAll(et)).filter(De=>De.overlayIndex>0)))(qe,et).filter(De=>!(qe=>qe.classList.contains("overlay-hidden"))(De)),ce=(qe,et,De)=>{const je=te(qe,et);return void 0===De?je[je.length-1]:je.find(Pe=>Pe.id===De)},se=(qe=!1)=>{const De=X(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");De&&(qe?De.setAttribute("aria-hidden","true"):De.removeAttribute("aria-hidden"))},K=function(){var qe=(0,n.c)(function*(et,De,je,Pe,bt){var Qe,Ut;if(et.presented)return;se(!0),void 0!==i.d&&te(i.d).forEach(kt=>kt.setAttribute("aria-hidden","true")),et.presented=!0,et.willPresent.emit(),null===(Qe=et.willPresentShorthand)||void 0===Qe||Qe.emit();const sn=(0,a.b)(et),un=et.enterAnimation?et.enterAnimation:a.c.get(De,"ios"===sn?je:Pe);(yield W(et,un,et.el,bt))&&(et.didPresent.emit(),null===(Ut=et.didPresentShorthand)||void 0===Ut||Ut.emit()),"ION-TOAST"!==et.el.tagName&&Z(et.el),et.keyboardClose&&(null===document.activeElement||!et.el.contains(document.activeElement))&&et.el.focus(),et.el.removeAttribute("aria-hidden")});return function(De,je,Pe,bt,Qe){return qe.apply(this,arguments)}}(),Z=function(){var qe=(0,n.c)(function*(et){let De=document.activeElement;if(!De)return;const je=De?.shadowRoot;je&&(De=je.querySelector(F)||De),yield et.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&De.focus()});return function(De){return qe.apply(this,arguments)}}(),re=function(){var qe=(0,n.c)(function*(et,De,je,Pe,bt,Qe,Ut){var sn,un,Sn;if(!et.presented)return!1;void 0!==i.d&&1===te(i.d).length&&se(!1),et.presented=!1;try{et.el.style.setProperty("pointer-events","none"),et.willDismiss.emit({data:De,role:je}),null===(sn=et.willDismissShorthand)||void 0===sn||sn.emit({data:De,role:je});const bn=(0,a.b)(et),kt=et.leaveAnimation?et.leaveAnimation:a.c.get(Pe,"ios"===bn?bt:Qe);je!==Ae&&(yield W(et,kt,et.el,Ut)),et.didDismiss.emit({data:De,role:je}),null===(un=et.didDismissShorthand)||void 0===un||un.emit({data:De,role:je}),(v.get(et)||[]).forEach(Fe=>Fe.destroy()),v.delete(et),et.el.classList.add("overlay-hidden"),et.el.style.removeProperty("pointer-events"),void 0!==et.el.lastFocus&&(et.el.lastFocus=void 0)}catch(bn){console.error(bn)}return et.el.remove(),void 0!==i.d&&(null===(Sn=ce(i.d))||void 0===Sn||Sn.removeAttribute("aria-hidden")),!0});return function(De,je,Pe,bt,Qe,Ut,sn){return qe.apply(this,arguments)}}(),X=qe=>qe.querySelector("ion-app")||qe.body,W=function(){var qe=(0,n.c)(function*(et,De,je,Pe){je.classList.remove("overlay-hidden");const Qe=De(et.el,Pe);(!et.animated||!a.c.getBoolean("animated",!0))&&Qe.duration(0),et.keyboardClose&&Qe.beforeAddWrite(()=>{const sn=je.ownerDocument.activeElement;sn?.matches("input,ion-input, ion-textarea")&&sn.blur()});const Ut=v.get(et)||[];return v.set(et,[...Ut,Qe]),yield Qe.play(),!0});return function(De,je,Pe,bt){return qe.apply(this,arguments)}}(),Y=(qe,et)=>{let De;const je=new Promise(Pe=>De=Pe);return q(qe,et,Pe=>{De(Pe.detail)}),je},q=(qe,et,De)=>{const je=Pe=>{(0,e.b)(qe,et,je),De(Pe)};(0,e.a)(qe,et,je)},he=qe=>"cancel"===qe||qe===Re,_e=qe=>qe(),Oe=(qe,et)=>{if("function"==typeof qe)return a.c.get("_zoneGate",_e)(()=>{try{return qe(et)}catch(je){throw je}})},Re="backdrop",Ae="gesture",ge=39,Ne=qe=>{let De,et=!1;const je=(0,c.C)(),Pe=(Ut=!1)=>{if(De&&!Ut)return{delegate:De,inline:et};const{el:sn,hasController:un,delegate:Sn}=qe;return et=null!==sn.parentNode&&!un,De=et?Sn||je:Sn,{inline:et,delegate:De}};return{attachViewToDom:function(){var Ut=(0,n.c)(function*(sn){const{delegate:un}=Pe(!0);if(un)return yield un.attachViewToDom(qe.el,sn);const{hasController:Sn}=qe;if(Sn&&void 0!==sn)throw new Error("framework delegate is missing");return null});return function(un){return Ut.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Ut}=Pe();Ut&&void 0!==qe.el&&Ut.removeViewFromDom(qe.el.parentElement,qe.el)}}},it=()=>{let qe;const et=()=>{qe&&(qe(),qe=void 0)};return{addClickListener:(je,Pe)=>{et();const bt=void 0!==Pe?document.getElementById(Pe):null;bt?qe=((Ut,sn)=>{const un=()=>{sn.present()};return Ut.addEventListener("click",un),()=>{Ut.removeEventListener("click",un)}})(bt,je):(0,u.p)(`A trigger element with the ID "${Pe}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,je)},removeClickListener:et}}},45256:(ve,h,o)=>{"use strict";o.d(h,{c:()=>d,g:()=>c,h:()=>i,o:()=>u});var n=o(1528);const i=(l,g)=>null!==g.closest(l),d=(l,g)=>"string"==typeof l&&l.length>0?Object.assign({"ion-color":!0,[`ion-color-${l}`]:!0},g):g,c=l=>{const g={};return(l=>void 0!==l?(Array.isArray(l)?l:l.split(" ")).filter(v=>null!=v).map(v=>v.trim()).filter(v=>""!==v):[])(l).forEach(v=>g[v]=!0),g},e=/^[a-z][a-z0-9+\-.]*:/,u=function(){var l=(0,n.c)(function*(g,v,p,C){if(null!=g&&"#"!==g[0]&&!e.test(g)){const b=document.querySelector("ion-router");if(b)return v?.preventDefault(),b.push(g,p,C)}return!1});return function(v,p,C,b){return l.apply(this,arguments)}}()},57140:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{AuthenticationHandler:()=>I,AuthenticationHandlerOptions:()=>F,BatchRequestContent:()=>d,BatchResponseContent:()=>a,ChaosHandler:()=>Y,ChaosHandlerOptions:()=>re,ChaosStrategy:()=>Z,Client:()=>Fe,CustomAuthenticationProvider:()=>Qe,FeatureUsageFlag:()=>j,FileUpload:()=>it,GraphClientError:()=>l,GraphError:()=>Ut,GraphRequest:()=>un,HTTPMessageHandler:()=>k,LargeFileUploadTask:()=>Ne,MiddlewareFactory:()=>K,OneDriveLargeFileUploadTask:()=>je,PageIterator:()=>bt,Range:()=>Ae,RedirectHandler:()=>G,RedirectHandlerOptions:()=>H,ResponseType:()=>q,RetryHandler:()=>x,RetryHandlerOptions:()=>N,StreamUpload:()=>Pe,TelemetryHandler:()=>ce,TelemetryHandlerOptions:()=>T,UploadResult:()=>ge,getValidRangeSize:()=>De});var n=o(81316),i=function(Ee){return Ee.GET="GET",Ee.PATCH="PATCH",Ee.POST="POST",Ee.PUT="PUT",Ee.DELETE="DELETE",Ee}(i||{});let d=(()=>{class Ee{static validateDependencies(Ce){if(0===Ce.size){const Bt=new Error("Empty requests map, Please provide at least one request.");throw Bt.name="Empty Requests Error",Bt}return(Bt=>{const Zt=Bt.entries();let Rt=Zt.next();for(;!Rt.done;){const Dt=Rt.value[1];if(void 0!==Dt.dependsOn&&Dt.dependsOn.length>0)return!1;Rt=Zt.next()}return!0})(Ce)||(Bt=>{const Zt=Bt.entries();let Rt=Zt.next();const Dt=Rt.value[1];if(void 0!==Dt.dependsOn&&Dt.dependsOn.length>0)return!1;let Ot=Rt;for(Rt=Zt.next();!Rt.done;){const pn=Rt.value[1];if(void 0===pn.dependsOn||1!==pn.dependsOn.length||pn.dependsOn[0]!==Ot.value[1].id)return!1;Ot=Rt,Rt=Zt.next()}return!0})(Ce)||(Bt=>{const Zt=Bt.entries();let Rt=Zt.next();const Dt=Rt.value[1];let Ot;if(void 0===Dt.dependsOn||0===Dt.dependsOn.length)Ot=Dt.id;else{if(1!==Dt.dependsOn.length)return!1;{const pn=Dt.dependsOn[0];if(pn===Dt.id||!Bt.has(pn))return!1;Ot=pn}}for(Rt=Zt.next();!Rt.done;){const pn=Rt.value[1];if((void 0===pn.dependsOn||0===pn.dependsOn.length)&&Ot!==pn.id||void 0!==pn.dependsOn&&0!==pn.dependsOn.length&&(1===pn.dependsOn.length&&(pn.id===Ot||pn.dependsOn[0]!==Ot)||pn.dependsOn.length>1))return!1;Rt=Zt.next()}return!0})(Ce)}static getRequestData(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge={url:""},Je=new RegExp("^https?://");Ge.url=Je.test(Ce.url)?"/"+Ce.url.split(/.*?\/\/.*?\//)[1]:Ce.url,Ge.method=Ce.method;const vt={};return Ce.headers.forEach((Bt,Zt)=>{vt[Zt]=Bt}),Object.keys(vt).length&&(Ge.headers=vt),(Ce.method===i.PATCH||Ce.method===i.POST||Ce.method===i.PUT)&&(Ge.body=yield Ee.getRequestBody(Ce)),Ge})}static getRequestBody(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Je,Ge=!1;try{Je=yield Ce.clone().json(),Ge=!0}catch{}if(!Ge)try{if(typeof Blob<"u"){const vt=yield Ce.blob(),Bt=new FileReader;Je=yield new Promise(Zt=>{Bt.addEventListener("load",()=>{const Rt=Bt.result,Ot=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(Rt);Zt(Ot[4])},!1),Bt.readAsDataURL(vt)})}else typeof Buffer<"u"&&(Je=(yield Ce.buffer()).toString("base64"));Ge=!0}catch{}return Je})}constructor(Ce){if(this.requests=new Map,typeof Ce<"u"){const Ge=Ee.requestLimit;if(Ce.length>Ge){const Je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Ge}`);throw Je.name="Limit Exceeded Error",Je}for(const Je of Ce)this.addRequest(Je)}}addRequest(Ce){const Ge=Ee.requestLimit;if(""===Ce.id){const Je=new Error("Id for a request is empty, Please provide an unique id");throw Je.name="Empty Id For Request",Je}if(this.requests.size===Ge){const Je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Ge}`);throw Je.name="Limit Exceeded Error",Je}if(this.requests.has(Ce.id)){const Je=new Error(`Adding request with duplicate id ${Ce.id}, Make the id of the requests unique`);throw Je.name="Duplicate RequestId Error",Je}return this.requests.set(Ce.id,Ce),Ce.id}removeRequest(Ce){const Ge=this.requests.delete(Ce),Je=this.requests.entries();let vt=Je.next();for(;!vt.done;){const Bt=vt.value[1].dependsOn;if(typeof Bt<"u"){const Zt=Bt.indexOf(Ce);-1!==Zt&&Bt.splice(Zt,1),0===Bt.length&&delete vt.value[1].dependsOn}vt=Je.next()}return Ge}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ce=[],Ge={requests:Ce},Je=this.requests.entries();let vt=Je.next();if(vt.done){const Bt=new Error("No requests added yet, Please add at least one request.");throw Bt.name="Empty Payload",Bt}if(!Ee.validateDependencies(this.requests)){const Bt=new Error("Invalid dependency found, Dependency should be:\n1. Parallel - no individual request states a dependency in the dependsOn property.\n2. Serial - all individual requests depend on the previous individual request.\n3. Same - all individual requests that state a dependency in the dependsOn property, state the same dependency.");throw Bt.name="Invalid Dependency",Bt}for(;!vt.done;){const Bt=vt.value[1],Zt=yield Ee.getRequestData(Bt.request);if(void 0!==Zt.body&&(void 0===Zt.headers||void 0===Zt.headers["content-type"])){const Rt=new Error(`Content-type header is not mentioned for request #${Bt.id}, For request having body, Content-type header should be mentioned`);throw Rt.name="Invalid Content-type header",Rt}Zt.id=Bt.id,void 0!==Bt.dependsOn&&Bt.dependsOn.length>0&&(Zt.dependsOn=Bt.dependsOn),Ce.push(Zt),vt=Je.next()}return Ge.requests=Ce,Ge})}addDependency(Ce,Ge){if(!this.requests.has(Ce)){const Je=new Error(`Dependent ${Ce} does not exists, Please check the id`);throw Je.name="Invalid Dependent",Je}if(typeof Ge<"u"&&!this.requests.has(Ge)){const Je=new Error(`Dependency ${Ge} does not exists, Please check the id`);throw Je.name="Invalid Dependency",Je}if(typeof Ge<"u"){const Je=this.requests.get(Ce);if(void 0===Je.dependsOn&&(Je.dependsOn=[]),-1!==Je.dependsOn.indexOf(Ge)){const vt=new Error(`Dependency ${Ge} is already added for the request ${Ce}`);throw vt.name="Duplicate Dependency",vt}Je.dependsOn.push(Ge)}else{const Je=this.requests.entries();let vt,Bt=Je.next();for(;!Bt.done&&Bt.value[1].id!==Ce;)vt=Bt,Bt=Je.next();if(!(typeof vt<"u")){const Zt=new Error(`Can't add dependency ${Ge}, There is only a dependent request in the batch`);throw Zt.name="Invalid Dependency Addition",Zt}{const Zt=vt.value[0];if(void 0===Bt.value[1].dependsOn&&(Bt.value[1].dependsOn=[]),-1!==Bt.value[1].dependsOn.indexOf(Zt)){const Rt=new Error(`Dependency ${Zt} is already added for the request ${Ce}`);throw Rt.name="Duplicate Dependency",Rt}Bt.value[1].dependsOn.push(Zt)}}}removeDependency(Ce,Ge){const Je=this.requests.get(Ce);if(typeof Je>"u"||void 0===Je.dependsOn||0===Je.dependsOn.length)return!1;if(typeof Ge<"u"){const vt=Je.dependsOn.indexOf(Ge);return-1!==vt&&(Je.dependsOn.splice(vt,1),!0)}return delete Je.dependsOn,!0}}return Ee.requestLimit=20,Ee})();class a{constructor(ye){this.responses=new Map,this.update(ye)}createResponseObject(ye){const Ce=ye.body,Ge={};if(Ge.status=ye.status,void 0!==ye.statusText&&(Ge.statusText=ye.statusText),Ge.headers=ye.headers,void 0!==Ge.headers&&void 0!==Ge.headers["Content-Type"]&&"application/json"===Ge.headers["Content-Type"].split(";")[0]){const Je=JSON.stringify(Ce);return new Response(Je,Ge)}return new Response(Ce,Ge)}update(ye){this.nextLink=ye["@odata.nextLink"];const Ce=ye.responses;for(let Ge=0,Je=Ce.length;Ge{const ye=Ee&&Ee.constructor&&Ee.constructor.name;if("Buffer"===ye||"Blob"===ye||"File"===ye||"FormData"===ye||"string"==typeof Ee)return Ee;if("ArrayBuffer"===ye)Ee=Buffer.from(Ee);else if("Int8Array"===ye||"Int16Array"===ye||"Int32Array"===ye||"Uint8Array"===ye||"Uint16Array"===ye||"Uint32Array"===ye||"Uint8ClampedArray"===ye||"Float32Array"===ye||"Float64Array"===ye||"DataView"===ye)Ee=Buffer.from(Ee.buffer);else try{Ee=JSON.stringify(Ee)}catch{throw new Error("Unable to stringify the content")}return Ee},C=Ee=>_(Ee),b=(Ee,ye)=>(ye.forEach(Ce=>f(Ce)),_(Ee,ye)),_=(Ee,ye=u)=>{if(-1!==(Ee=Ee.toLowerCase()).indexOf("https://")){const Ce=(Ee=Ee.replace("https://","")).indexOf(":"),Ge=Ee.indexOf("/");let Je="";if(-1!==Ge)return-1!==Ce&&Ce{if(-1!==Ee.indexOf("/"))throw new l("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class y{constructor(ye=[]){this.middlewareOptions=new Map;for(const Ce of ye)this.middlewareOptions.set(Ce.constructor,Ce)}getMiddlewareOptions(ye){return this.middlewareOptions.get(ye)}setMiddlewareOptions(ye,Ce){this.middlewareOptions.set(ye,Ce)}}const S=()=>{let Ee="";for(let ye=0;ye<32;ye++)(8===ye||12===ye||16===ye||20===ye)&&(Ee+="-"),Ee+=Math.floor(16*Math.random()).toString(16);return Ee},M=(Ee,ye,Ce)=>{let Ge=null;if(typeof Request<"u"&&Ee instanceof Request)Ge=Ee.headers.get(Ce);else if(typeof ye<"u"&&void 0!==ye.headers)if(typeof Headers<"u"&&ye.headers instanceof Headers)Ge=ye.headers.get(Ce);else if(ye.headers instanceof Array){const Je=ye.headers;for(let vt=0,Bt=Je.length;vt{if(typeof Request<"u"&&Ee instanceof Request)Ee.headers.set(Ce,Ge);else if(typeof ye<"u")if(void 0===ye.headers)ye.headers=new Headers({[Ce]:Ge});else if(typeof Headers<"u"&&ye.headers instanceof Headers)ye.headers.set(Ce,Ge);else if(ye.headers instanceof Array){let Je=0;const vt=ye.headers.length;for(;Je{typeof Request<"u"&&Ee instanceof Request?Ee.headers.append(Ce,Ge):typeof ye<"u"&&(void 0===ye.headers?ye.headers=new Headers({[Ce]:Ge}):typeof Headers<"u"&&ye.headers instanceof Headers?ye.headers.append(Ce,Ge):ye.headers instanceof Array?ye.headers.push([Ce,Ge]):void 0===ye.headers?ye.headers={[Ce]:Ge}:void 0===ye.headers[Ce]?ye.headers[Ce]=Ge:ye.headers[Ce]+=`, ${Ge}`)};class F{constructor(ye,Ce){this.authenticationProvider=ye,this.authenticationProviderOptions=Ce}}var j=function(Ee){return Ee[Ee.NONE=0]="NONE",Ee[Ee.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Ee[Ee.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Ee[Ee.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Ee}(j||{});class T{constructor(){this.featureUsage=j.NONE}static updateFeatureUsageFlag(ye,Ce){let Ge;ye.middlewareControl instanceof y?Ge=ye.middlewareControl.getMiddlewareOptions(T):ye.middlewareControl=new y,typeof Ge>"u"&&(Ge=new T,ye.middlewareControl.setMiddlewareOptions(T,Ge)),Ge.setFeatureUsage(Ce)}setFeatureUsage(ye){this.featureUsage=this.featureUsage|ye}getFeatureUsage(){return this.featureUsage.toString(16)}}let I=(()=>{class Ee{constructor(Ce){this.authenticationProvider=Ce}execute(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge="string"==typeof Ce.request?Ce.request:Ce.request.url;if(C(Ge)||Ce.customHosts&&b(Ge,Ce.customHosts)){let Je,vt,Bt;Ce.middlewareControl instanceof y&&(Je=Ce.middlewareControl.getMiddlewareOptions(F)),Je&&(vt=Je.authenticationProvider,Bt=Je.authenticationProviderOptions),vt||(vt=this.authenticationProvider);const Rt=`Bearer ${yield vt.getAccessToken(Bt)}`;A(Ce.request,Ce.options,Ee.AUTHORIZATION_HEADER,Rt),T.updateFeatureUsageFlag(Ce,j.AUTHENTICATION_HANDLER_ENABLED)}else Ce.options.headers&&delete Ce.options.headers[Ee.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(Ce)})}setNext(Ce){this.nextMiddleware=Ce}}return Ee.AUTHORIZATION_HEADER="Authorization",Ee})();class k{execute(ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){ye.response=yield fetch(ye.request,ye.options)})}}let N=(()=>{class Ee{constructor(Ce=Ee.DEFAULT_DELAY,Ge=Ee.DEFAULT_MAX_RETRIES,Je=Ee.defaultShouldRetry){if(Ce>Ee.MAX_DELAY&&Ge>Ee.MAX_MAX_RETRIES){const vt=new Error(`Delay and MaxRetries should not be more than ${Ee.MAX_DELAY} and ${Ee.MAX_MAX_RETRIES}`);throw vt.name="MaxLimitExceeded",vt}if(Ce>Ee.MAX_DELAY){const vt=new Error(`Delay should not be more than ${Ee.MAX_DELAY}`);throw vt.name="MaxLimitExceeded",vt}if(Ge>Ee.MAX_MAX_RETRIES){const vt=new Error(`MaxRetries should not be more than ${Ee.MAX_MAX_RETRIES}`);throw vt.name="MaxLimitExceeded",vt}if(Ce<0&&Ge<0){const vt=new Error("Delay and MaxRetries should not be negative");throw vt.name="MinExpectationNotMet",vt}if(Ce<0){const vt=new Error("Delay should not be negative");throw vt.name="MinExpectationNotMet",vt}if(Ge<0){const vt=new Error("MaxRetries should not be negative");throw vt.name="MinExpectationNotMet",vt}this.delay=Math.min(Ce,Ee.MAX_DELAY),this.maxRetries=Math.min(Ge,Ee.MAX_MAX_RETRIES),this.shouldRetry=Je}getMaxDelay(){return Ee.MAX_DELAY}}return Ee.DEFAULT_DELAY=3,Ee.DEFAULT_MAX_RETRIES=3,Ee.MAX_DELAY=180,Ee.MAX_MAX_RETRIES=10,Ee.defaultShouldRetry=()=>!0,Ee})(),x=(()=>{class Ee{constructor(Ce=new N){this.options=Ce}isRetry(Ce){return-1!==Ee.RETRY_STATUS_CODES.indexOf(Ce.status)}isBuffered(Ce,Ge){const Je="string"==typeof Ce?Ge.method:Ce.method;return!((Je===i.PUT||Je===i.PATCH||Je===i.POST)&&"application/octet-stream"===M(Ce,Ge,"Content-Type"))}getDelay(Ce,Ge,Je){const vt=()=>Number(Math.random().toFixed(3)),Bt=void 0!==Ce.headers?Ce.headers.get(Ee.RETRY_AFTER_HEADER):null;let Zt;return Zt=null!==Bt?Number.isNaN(Number(Bt))?Math.round((new Date(Bt).getTime()-Date.now())/1e3):Number(Bt):Ge>=2?this.getExponentialBackOffTime(Ge)+Je+vt():Je+vt(),Math.min(Zt,this.options.getMaxDelay()+vt())}getExponentialBackOffTime(Ce){return Math.round(.5*(Math.pow(2,Ce)-1))}sleep(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge=1e3*Ce;return new Promise(Je=>setTimeout(Je,Ge))})}getOptions(Ce){let Ge;return Ce.middlewareControl instanceof y&&(Ge=Ce.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof Ge>"u"&&(Ge=Object.assign(new N,this.options)),Ge}executeWithRetry(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(Ce),Ge{class Ee{constructor(Ce=Ee.DEFAULT_MAX_REDIRECTS,Ge=Ee.defaultShouldRedirect){if(Ce>Ee.MAX_MAX_REDIRECTS){const Je=new Error(`MaxRedirects should not be more than ${Ee.MAX_MAX_REDIRECTS}`);throw Je.name="MaxLimitExceeded",Je}if(Ce<0){const Je=new Error("MaxRedirects should not be negative");throw Je.name="MinExpectationNotMet",Je}this.maxRedirects=Ce,this.shouldRedirect=Ge}}return Ee.DEFAULT_MAX_REDIRECTS=5,Ee.MAX_MAX_REDIRECTS=20,Ee.defaultShouldRedirect=()=>!0,Ee})(),G=(()=>{class Ee{constructor(Ce=new H){this.options=Ce}isRedirect(Ce){return-1!==Ee.REDIRECT_STATUS_CODES.indexOf(Ce.status)}hasLocationHeader(Ce){return Ce.headers.has(Ee.LOCATION_HEADER)}getLocationHeader(Ce){return Ce.headers.get(Ee.LOCATION_HEADER)}isRelativeURL(Ce){return-1===Ce.indexOf("://")}shouldDropAuthorizationHeader(Ce,Ge){const Je=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,vt=Je.exec(Ce);let Bt,Zt;null!==vt&&(Bt=vt[0]);const Rt=Je.exec(Ge);return null!==Rt&&(Zt=Rt[0]),typeof Bt<"u"&&typeof Zt<"u"&&Bt!==Zt}updateRequestUrl(Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){Ge.request="string"==typeof Ge.request?Ce:yield((Ee,ye)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const Ce=ye.headers.get("Content-Type")?yield ye.blob():yield Promise.resolve(void 0),{method:Ge,headers:Je,referrer:vt,referrerPolicy:Bt,mode:Zt,credentials:Rt,cache:Dt,redirect:Ot,integrity:pn,keepalive:Vn,signal:Yn}=ye;return new Request(Ee,{method:Ge,headers:Je,body:Ce,referrer:vt,referrerPolicy:Bt,mode:Zt,credentials:Rt,cache:Dt,redirect:Ot,integrity:pn,keepalive:Vn,signal:Yn})}))(Ce,Ge.request)})}getOptions(Ce){let Ge;return Ce.middlewareControl instanceof y&&(Ge=Ce.middlewareControl.getMiddlewareOptions(H)),typeof Ge>"u"&&(Ge=Object.assign(new H,this.options)),Ge}executeWithRedirect(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(Ce);const vt=Ce.response;if(Ge{class Ee{execute(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge="string"==typeof Ce.request?Ce.request:Ce.request.url;if(C(Ge)||Ce.customHosts&&b(Ge,Ce.customHosts)){let Je=M(Ce.request,Ce.options,Ee.CLIENT_REQUEST_ID_HEADER);Je||(Je=S(),w(Ce.request,Ce.options,Ee.CLIENT_REQUEST_ID_HEADER,Je));let Bt,vt=`${Ee.PRODUCT_NAME}/3.0.7`;if(Ce.middlewareControl instanceof y&&(Bt=Ce.middlewareControl.getMiddlewareOptions(T)),Bt){const Zt=Bt.getFeatureUsage();vt+=` (${Ee.FEATURE_USAGE_STRING}=${Zt})`}A(Ce.request,Ce.options,Ee.SDK_VERSION_HEADER,vt)}else delete Ce.options.headers[Ee.CLIENT_REQUEST_ID_HEADER],delete Ce.options.headers[Ee.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(Ce)})}setNext(Ce){this.nextMiddleware=Ce}}return Ee.CLIENT_REQUEST_ID_HEADER="client-request-id",Ee.SDK_VERSION_HEADER="SdkVersion",Ee.PRODUCT_NAME="graph-js",Ee.FEATURE_USAGE_STRING="featureUsage",Ee})();class K{static getDefaultMiddlewareChain(ye){const Ce=[],Ge=new I(ye),Je=new x(new N),vt=new ce,Bt=new k;if(Ce.push(Ge),Ce.push(Je),"object"==typeof process){const Zt=new G(new H);Ce.push(Zt)}return Ce.push(vt),Ce.push(Bt),Ce}}var Z=function(Ee){return Ee[Ee.MANUAL=0]="MANUAL",Ee[Ee.RANDOM=1]="RANDOM",Ee}(Z||{});class re{constructor(ye=Z.RANDOM,Ce="Some error Happened",Ge,Je,vt,Bt){if(this.chaosStrategy=ye,this.statusCode=Ge,this.statusMessage=Ce,this.chaosPercentage=void 0!==Je?Je:10,this.responseBody=vt,this.headers=Bt,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const X={GET:[429,500,502,503,504],POST:[429,500,502,503,504,507],PUT:[429,500,502,503,504,507],PATCH:[429,500,502,503,504],DELETE:[429,500,502,503,504,507]},W={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};class Y{constructor(ye=new re,Ce){this.options=ye,this.manualMap=Ce}createResponseHeaders(ye,Ce,Ge){const Je=ye.headers?new Headers(ye.headers):new Headers;return Je.append("Cache-Control","no-store"),Je.append("request-id",Ce),Je.append("client-request-id",Ce),Je.append("x-ms-ags-diagnostic",""),Je.append("Date",Ge),Je.append("Strict-Transport-Security",""),429===ye.statusCode&&Je.append("retry-after","3"),Je}createResponseBody(ye,Ce,Ge){if(ye.responseBody)return ye.responseBody;let Je;return Je=ye.statusCode>=400?{error:{code:W[ye.statusCode],message:ye.statusMessage,innerError:{"request-id":Ce,date:Ge}}}:{},Je}createResponse(ye,Ce){const Ge=Ce.request,Je=S(),vt=new Date,Bt=this.createResponseHeaders(ye,Je,vt.toString()),Zt=this.createResponseBody(ye,Je,vt.toString()),Rt={url:Ge,status:ye.statusCode,statusText:ye.statusMessage,headers:Bt};Ce.response=new Response("string"==typeof Zt?Zt:JSON.stringify(Zt),Rt)}sendRequest(ye,Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(ye,Ce.request,Ce.options.method),ye.chaosStrategy===Z.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(Bt+"$").test(Je)&&void 0!==this.manualMap.get(Bt).get(Ge)&&(ye.statusCode=this.manualMap.get(Bt).get(Ge))})}}else ye.statusCode=this.getRandomStatusCode(Ge)}getOptions(ye){let Ce;return ye.middlewareControl instanceof y&&(Ce=ye.middlewareControl.getMiddlewareOptions(re)),typeof Ce>"u"&&(Ce=Object.assign(new re,this.options)),Ce}execute(ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ce=this.getOptions(ye);return yield this.sendRequest(Ce,ye)})}setNext(ye){this.nextMiddleware=ye}}var q=function(Ee){return Ee.ARRAYBUFFER="arraybuffer",Ee.BLOB="blob",Ee.DOCUMENT="document",Ee.JSON="json",Ee.RAW="raw",Ee.STREAM="stream",Ee.TEXT="text",Ee}(q||{}),he=function(Ee){return Ee.TEXT_HTML="text/html",Ee.TEXT_XML="text/xml",Ee.APPLICATION_XML="application/xml",Ee.APPLICATION_XHTML="application/xhtml+xml",Ee}(he||{}),_e=function(Ee){return Ee.TEXT_PLAIN="text/plain",Ee.APPLICATION_JSON="application/json",Ee}(_e||{}),Oe=function(Ee){return Ee.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Ee.IMAGE="^image\\/.+",Ee}(Oe||{});class Re{static parseDocumentResponse(ye,Ce){return typeof DOMParser<"u"?new Promise((Ge,Je)=>{ye.text().then(vt=>{try{const Zt=(new DOMParser).parseFromString(vt,Ce);Ge(Zt)}catch(Bt){Je(Bt)}})}):Promise.resolve(ye.body)}static convertResponse(ye,Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===ye.status)return Promise.resolve();let Ge;const Je=ye.headers.get("Content-type");switch(Ce){case q.ARRAYBUFFER:Ge=yield ye.arrayBuffer();break;case q.BLOB:Ge=yield ye.blob();break;case q.DOCUMENT:Ge=yield Re.parseDocumentResponse(ye,he.TEXT_XML);break;case q.JSON:Ge=yield ye.json();break;case q.STREAM:Ge=yield Promise.resolve(ye.body);break;case q.TEXT:Ge=yield ye.text();break;default:if(null!==Je){const vt=Je.split(";")[0];Ge=new RegExp(Oe.DOCUMENT).test(vt)?yield Re.parseDocumentResponse(ye,vt):new RegExp(Oe.IMAGE).test(vt)?ye.blob():vt===_e.TEXT_PLAIN?yield ye.text():vt===_e.APPLICATION_JSON?yield ye.json():Promise.resolve(ye.body)}else Ge=Promise.resolve(ye.body)}return Ge})}static getResponse(ye,Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(Ce===q.RAW)return Promise.resolve(ye);{const Je=yield Re.convertResponse(ye,Ce);if(!ye.ok)throw Je;if("function"!=typeof Ge)return Je;Ge(null,Je)}})}}class Ae{constructor(ye=-1,Ce=-1){this.minValue=ye,this.maxValue=Ce}}class ge{get location(){return this._location}set location(ye){this._location=ye}get responseBody(){return this._responseBody}set responseBody(ye){this._responseBody=ye}constructor(ye,Ce){this._location=Ce,this._responseBody=ye}static CreateUploadResult(ye,Ce){return new ge(ye,Ce.get("location"))}}class Ne{static createUploadSession(ye,Ce,Ge,Je={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const vt=yield ye.api(Ce).headers(Je).post(Ge);return{url:vt.uploadUrl,expiry:new Date(vt.expirationDateTime),isCancelled:!1}})}constructor(ye,Ce,Ge,Je={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=ye,!Ce.sliceFile)throw new l("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=Ce,this.file=Ce,Je.rangeSize||(Je.rangeSize=this.DEFAULT_FILE_SIZE),this.options=Je,this.uploadSession=Ge,this.nextRange=new Ae(0,this.options.rangeSize-1)}parseRange(ye){const Ce=ye[0];if(typeof Ce>"u"||""===Ce)return new Ae;const Ge=Ce.split("-"),Je=parseInt(Ge[0],10);let vt=parseInt(Ge[1],10);return Number.isNaN(vt)&&(vt=this.file.size-1),new Ae(Je,vt)}updateTaskStatus(ye){this.uploadSession.expiry=new Date(ye.expirationDateTime),this.nextRange=this.parseRange(ye.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const ye=this.nextRange.minValue;let Ce=ye+this.options.rangeSize-1;return Ce>=this.file.size&&(Ce=this.file.size-1),new Ae(ye,Ce)}sliceFile(ye){if(console.warn("The LargeFileUploadTask.sliceFile() function has been deprecated and moved into the FileObject interface."),this.file.content instanceof ArrayBuffer||this.file.content instanceof Blob||this.file.content instanceof Uint8Array)return this.file.content.slice(ye.minValue,ye.maxValue+1);throw new l("The LargeFileUploadTask.sliceFile() function expects only Blob, ArrayBuffer or Uint8Array file content. Please note that the sliceFile() function is deprecated.")}upload(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ye=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const Ce=this.getNextRange();if(-1===Ce.maxValue){const Zt=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw Zt.name="Invalid Session",Zt}const Ge=yield this.file.sliceFile(Ce),Je=yield this.uploadSliceGetRawResponse(Ge,Ce,this.file.size);if(!Je)throw new l("Something went wrong! Large file upload slice response is null.");const vt=yield Re.getResponse(Je);if(201===Je.status||200===Je.status&&vt.id)return this.reportProgress(ye,Ce),ge.CreateUploadResult(vt,Je.headers);this.updateTaskStatus({expirationDateTime:vt.expirationDateTime||vt.ExpirationDateTime,nextExpectedRanges:vt.NextExpectedRanges||vt.nextExpectedRanges}),this.reportProgress(ye,Ce)}})}reportProgress(ye,Ce){ye&&ye.progress&&ye.progress(Ce,ye.extraCallbackParam)}uploadSlice(ye,Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Ce.maxValue-Ce.minValue+1),"Content-Range":`bytes ${Ce.minValue}-${Ce.maxValue}/${Ge}`,"Content-Type":"application/octet-stream"}).put(ye)})}uploadSliceGetRawResponse(ye,Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Ce.maxValue-Ce.minValue+1),"Content-Range":`bytes ${Ce.minValue}-${Ce.maxValue}/${Ge}`,"Content-Type":"application/octet-stream"}).responseType(q.RAW).put(ye)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ye=yield this.client.api(this.uploadSession.url).responseType(q.RAW).delete();return 204===ye.status&&(this.uploadSession.isCancelled=!0),ye})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ye=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(ye),ye})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class it{constructor(ye,Ce,Ge){if(this.content=ye,this.name=Ce,this.size=Ge,!ye||!Ce||!Ge)throw new l("Please provide the upload content, name of the file and size of the file")}sliceFile(ye){return this.content.slice(ye.minValue,ye.maxValue+1)}}const De=(Ee=5242880)=>(Ee>62914560&&(Ee=62914560),(Ee=>(Ee>327680&&(Ee=320*Math.floor(Ee/327680)*1024),Ee))(Ee));let je=(()=>{class Ee extends Ne{static constructCreateSessionUrl(Ce,Ge=Ee.DEFAULT_UPLOAD_PATH){return Ce=Ce.trim(),""===(Ge=Ge.trim())&&(Ge="/"),"/"!==Ge[0]&&(Ge=`/${Ge}`),"/"!==Ge[Ge.length-1]&&(Ge=`${Ge}/`),`/me/drive/root:${Ge.split("/").map(Je=>encodeURIComponent(Je)).join("/")}${encodeURIComponent(Ce)}:/createUploadSession`}static getFileInfo(Ce,Ge){let Je,vt;return typeof Blob<"u"&&Ce instanceof Blob?(Je=new File([Ce],Ge),vt=Je.size):typeof File<"u"&&Ce instanceof File?(Je=Ce,vt=Je.size):typeof Uint8Array<"u"&&Ce instanceof Uint8Array&&(vt=Ce.byteLength,Je=Ce.buffer.slice(Ce.byteOffset,Ce.byteOffset+Ce.byteLength)),{content:Je,size:vt}}static create(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Ce||!Ge||!Je)throw new l("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const vt=Je.fileName,Bt=Ee.getFileInfo(Ge,vt),Zt=new it(Bt.content,vt,Bt.size);return this.createTaskWithFileObject(Ce,Zt,Je)})}static createTaskWithFileObject(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Ce||!Ge||!Je)throw new l("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const vt=Je.uploadSessionURL?Je.uploadSessionURL:Ee.constructCreateSessionUrl(Je.fileName,Je.path),Bt={fileName:Je.fileName,fileDescription:Je.fileDescription,conflictBehavior:Je.conflictBehavior},Zt=yield Ee.createUploadSession(Ce,vt,Bt),Rt=De(Je.rangeSize);return new Ee(Ce,Ge,Zt,{rangeSize:Rt,uploadEventHandlers:Je.uploadEventHandlers})})}static createUploadSession(Ce,Ge,Je){const vt=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return vt.createUploadSession.call(this,Ce,Ge,{item:{"@microsoft.graph.conflictBehavior":Je?.conflictBehavior||"rename",name:Je?.fileName,description:Je?.fileDescription}})})}constructor(Ce,Ge,Je,vt){super(Ce,Ge,Je,vt)}commit(Ce,Ge="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Je={name:this.file.name,"@microsoft.graph.conflictBehavior":Ge,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(Ce).put(Je)})}}return Ee.DEFAULT_UPLOAD_PATH="/",Ee})();class Pe{constructor(ye,Ce,Ge){if(this.content=ye,this.name=Ce,this.size=Ge,!ye||!Ce||!Ge)throw new l("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Ce=ye.maxValue-ye.minValue+1;const Ge=[];if(this.previousSlice){if(ye.minValue=Ce?this.content.read(Ce):yield this.readNBytesFromStream(Ce));const Je=Buffer.concat(Ge);return this.previousSlice={fileSlice:Je,range:ye},Je})}readNBytesFromStream(ye){return new Promise((Ce,Ge)=>{const Je=[];let vt=ye,Bt=0;this.content.on("end",()=>{if(vt>0)return Ge(new l("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let Zt;for(;Bt0&&(vt=ye-Bt);return Bt===ye?Ce(Buffer.concat(Je)):this.content&&this.content.readable?void 0:Ge(new l("Error encountered while reading the stream during the upload"))})})}}class bt{constructor(ye,Ce,Ge,Je){this.client=ye,this.collection=Ce.value,this.nextLink=Ce["@odata.nextLink"],this.deltaLink=Ce["@odata.deltaLink"],this.callback=Ge,this.cursor=0,this.complete=!1,this.requestOptions=Je}iterationHelper(){if(void 0===this.collection)return!1;let ye=!0;for(;ye&&this.cursor=this.collection.length&&(this.complete=!0)})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return this.iterate()})}isComplete(){return this.complete}}class Qe{constructor(ye){this.provider=ye}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((ye,Ce)=>{this.provider((Ge,Je)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(Je)ye(Je);else{Ge||(Ge=new l("Access token is undefined or empty.\t\t\t\t\t\tPlease provide a valid token.\t\t\t\t\t\tFor more help - https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/docs/CustomAuthenticationProvider.md"));const vt=yield l.setGraphClientError(Ge);Ce(vt)}}))})})}}class Ut extends Error{constructor(ye=-1,Ce,Ge){super(Ce||Ge&&Ge.message),Object.setPrototypeOf(this,Ut.prototype),this.statusCode=ye,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=Ge?Ge.stack:this.stack}}class sn{static constructError(ye,Ce,Ge){const Je=new Ut(Ce,"",ye);return void 0!==ye.name&&(Je.code=ye.name),Je.body=ye.toString(),Je.date=new Date,Je.headers=Ge?.headers,Je}static constructErrorFromResponse(ye,Ce,Ge){const Je=ye.error,vt=new Ut(Ce,Je.message);return vt.code=Je.code,void 0!==Je.innerError&&(vt.requestId=Je.innerError["request-id"],vt.date=new Date(Je.innerError.date)),vt.body=JSON.stringify(Je),vt.headers=Ge?.headers,vt}static getError(ye=null,Ce=-1,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){let vt;if(ye&&ye.error?vt=sn.constructErrorFromResponse(ye,Ce,Je):ye instanceof Error?vt=sn.constructError(ye,Ce,Je):(vt=new Ut(Ce),vt.body=ye),"function"!=typeof Ge)return vt;Ge(vt,null)})}}class un{constructor(ye,Ce,Ge){this.parsePath=Je=>{if(-1!==Je.indexOf("https://")){const Bt=(Je=Je.replace("https://","")).indexOf("/");-1!==Bt&&(this.urlComponents.host="https://"+Je.substring(0,Bt),Je=Je.substring(Bt+1,Je.length));const Zt=Je.indexOf("/");-1!==Zt&&(this.urlComponents.version=Je.substring(0,Zt),Je=Je.substring(Zt+1,Je.length))}"/"===Je.charAt(0)&&(Je=Je.substr(1));const vt=Je.indexOf("?");if(-1===vt)this.urlComponents.path=Je;else{this.urlComponents.path=Je.substr(0,vt);const Bt=Je.substring(vt+1,Je.length).split("&");for(const Zt of Bt)this.parseQueryParameter(Zt)}},this.httpClient=ye,this.config=Ce,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath(Ge)}addCsvQueryParameter(ye,Ce,Ge){this.urlComponents.oDataQueryParams[ye]=this.urlComponents.oDataQueryParams[ye]?this.urlComponents.oDataQueryParams[ye]+",":"";let Je=[];Ge.length>1&&"string"==typeof Ce?Je=Array.prototype.slice.call(Ge):"string"==typeof Ce?Je.push(Ce):Je=Je.concat(Ce),this.urlComponents.oDataQueryParams[ye]+=Je.join(",")}buildFullUrl(){const ye=(Ee=>{const ye=vt=>vt.replace(/\/+$/,""),Ce=vt=>vt.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((vt,Bt)=>[ye(vt),Ce(Bt)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(ye),ye}createQueryString(){const ye=this.urlComponents,Ce=[];if(0!==Object.keys(ye.oDataQueryParams).length)for(const Ge in ye.oDataQueryParams)Object.prototype.hasOwnProperty.call(ye.oDataQueryParams,Ge)&&Ce.push(Ge+"="+ye.oDataQueryParams[Ge]);if(0!==Object.keys(ye.otherURLQueryParams).length)for(const Ge in ye.otherURLQueryParams)Object.prototype.hasOwnProperty.call(ye.otherURLQueryParams,Ge)&&Ce.push(Ge+"="+ye.otherURLQueryParams[Ge]);if(0!==ye.otherURLQueryOptions.length)for(const Ge of ye.otherURLQueryOptions)Ce.push(Ge);return Ce.length>0?"?"+Ce.join("&"):""}parseQueryParameter(ye){if("string"==typeof ye)if("?"===ye.charAt(0)&&(ye=ye.substring(1)),-1!==ye.indexOf("&")){const Ce=ye.split("&");for(const Ge of Ce)this.parseQueryParamenterString(Ge)}else this.parseQueryParamenterString(ye);else if(ye.constructor===Object)for(const Ce in ye)Object.prototype.hasOwnProperty.call(ye,Ce)&&this.setURLComponentsQueryParamater(Ce,ye[Ce]);return this}parseQueryParamenterString(ye){if(this.isValidQueryKeyValuePair(ye)){const Ce=ye.indexOf("="),Ge=ye.substring(0,Ce),Je=ye.substring(Ce+1);this.setURLComponentsQueryParamater(Ge,Je)}else this.urlComponents.otherURLQueryOptions.push(ye)}setURLComponentsQueryParamater(ye,Ce){if(-1!==g.indexOf(ye)){const Ge=this.urlComponents.oDataQueryParams[ye];this.urlComponents.oDataQueryParams[ye]=!Ge||"$expand"!==ye&&"$select"!==ye&&"$orderby"!==ye?Ce:Ge+","+Ce}else this.urlComponents.otherURLQueryParams[ye]=Ce}isValidQueryKeyValuePair(ye){const Ce=ye.indexOf("=");return!(-1===Ce||-1!==ye.indexOf("(")&&ye.indexOf("(")1?this.parseMiddleWareArray(ye):this.middleware=ye[0]}parseMiddleWareArray(ye){ye.forEach((Ce,Ge)=>{Ge{if(typeof Promise>"u"&&typeof fetch>"u"){const Ee=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Ee.name="PolyFillNotAvailable",Ee}if(typeof Promise>"u"){const Ee=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Ee.name="PolyFillNotAvailable",Ee}if(typeof fetch>"u"){const Ee=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Ee.name="PolyFillNotAvailable",Ee}})();for(const Ge in ye)Object.prototype.hasOwnProperty.call(ye,Ge)&&(this.config[Ge]=ye[Ge]);let Ce;if(void 0!==ye.authProvider&&void 0!==ye.middleware){const Ge=new Error;throw Ge.name="AmbiguityInInitialization",Ge.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",Ge}if(void 0!==ye.authProvider)Ce=kt.createWithAuthenticationProvider(ye.authProvider);else{if(void 0===ye.middleware){const Ge=new Error;throw Ge.name="InvalidMiddlewareChain",Ge.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",Ge}Ce=new Sn(...[].concat(ye.middleware))}this.httpClient=Ce}api(ye){return new un(this.httpClient,this.config,ye)}}},80484:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppRoutingModule=void 0;const n=o(81316),i=o(56568),d=n.__importStar(o(54496)),c=(n.__importStar(o(56568)),[{path:"TestPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(79112))).then(u=>u.CommonTestseitePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(u=>u.CommonHomePageModule)},{path:"DebugPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(37724))).then(u=>u.CommonDebugPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(66068))).then(u=>u.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(74484))).then(u=>u.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(19204))).then(u=>u.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(5884))).then(u=>u.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(53964))).then(u=>u.CommonUrlaubEinstellungenPageModule)},{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(96012))).then(u=>u.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(99988))).then(u=>u.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(27735))).then(u=>u.CommonHomePageModule)},{path:"PDFViewerPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(o(64316))).then(u=>u.CommonPdfViewerPageModule)}]);h.AppRoutingModule=(()=>{class u{static \u0275fac=function(v){return new(v||u)};static \u0275mod=d.\u0275\u0275defineNgModule({type:u});static \u0275inj=d.\u0275\u0275defineInjector({imports:[i.RouterModule.forRoot(c,{preloadingStrategy:i.PreloadAllModules}),i.RouterModule]})}return u})()},86108:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.AppComponent=void 0;const i=o(81316),d=o(80103),a=o(21112),c=i.__importStar(o(17964)),e=i.__importStar(o(54496)),u=i.__importStar(o(10716)),l=i.__importStar(o(7992)),g=i.__importStar(o(59460)),v=i.__importStar(o(97092)),p=i.__importStar(o(9028)),C=i.__importStar(o(14652)),b=i.__importStar(o(19668)),_=i.__importStar(o(29743)),f=i.__importStar(o(22848)),y=i.__importStar(o(15024)),S=i.__importStar(o(58864)),M=i.__importStar(o(9544)),w=i.__importStar(o(8608)),A=i.__importStar(o(34388));h.AppComponent=(()=>{class F{platform;Pool;Menuservice;AuthService;changeDetector;MSALService;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;Debug;AuthSubscription;isIframe;Destroying=new d.Subject;Zoomfaktor;Settingssubscription;constructor(T,I,k,N,x,H,G,te,ce,se,K,Z,re,X,W,Y,q){this.platform=T,this.Pool=I,this.Menuservice=k,this.AuthService=N,this.changeDetector=x,this.MSALService=H,this.Basics=G,this.Tools=te,this.Const=ce,this.authService=se,this.msalBroadcastService=K,this.MitarbeiterDB=Z,this.MitarbeitersettingsDB=re,this.StandortDB=X,this.UrlaubDB=W,this.GraphService=Y,this.Debug=q;try{this.AuthSubscription=null,this.isIframe=!1,this.Zoomfaktor=100,this.Settingssubscription=null}catch(he){this.Debug.ShowErrorMessage(he.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled?(this.isIframe=window!==window.parent&&!window.opener,this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,d.filter)(T=>(this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),T===a.InteractionStatus.None)),(0,d.takeUntil)(this.Destroying)).subscribe(T=>{this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),this.AuthService.SetShowLoginStatus()}),this.AuthService.LoginSuccessEvent.subscribe(()=>{this.Debug.ShowMessage("LoginSuccessEvent -> Start App","App Component","StartApp",this.Debug.Typen.Component),this.StartApp()}),this.StartApp()})):this.StartApp()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var T=this;return n(function*(){try{let I,k;if(T.Debug.ShowMessage("Start App","App Component","StartApp",T.Debug.Typen.Component),yield T.platform.ready(),yield T.AuthService.SetActiveUser(),T.Basics.Contentbreite=T.platform.width(),T.Basics.Contenthoehe=T.platform.height(),null!==T.AuthService.ActiveUser){T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist angemeldet: "+T.AuthService.ActiveUser.username,"App Component","StartApp",T.Debug.Typen.Component),T.Pool.ShowProgress=!0,T.Pool.MaxProgressValue=15,T.Pool.CurrentProgressValue=0;try{!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigene Daten",yield T.GraphService.GetOwnUserinfo(),T.Pool.CurrentProgressValue++),!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigens Bild",yield T.GraphService.GetOwnUserimage(),T.Pool.CurrentProgressValue++),T.Pool.ProgressMessage="Lade eigene Outlookkategorien",T.Pool.Outlookkatekorien=yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Outlookkategorien",yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Change Log",yield T.Pool.ReadChangelogliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Standortliste",yield T.Pool.ReadStandorteliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield T.Pool.ReadMitarbeiterliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let N=yield T.GraphService.GetAllUsers();T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield T.UrlaubDB.ReadRegionen("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Deutschland",yield T.UrlaubDB.ReadFerien("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Bulgarien",yield T.UrlaubDB.ReadFerien("BG"),T.Pool.CurrentProgressValue++;for(let x of N)I=c.find(T.Pool.Mitarbeiterliste,H=>H.UserID===x.id),c.isUndefined(I)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(x),-1===x.mail.toLowerCase().indexOf("admin")&&(I=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(x),console.log("Neuer Mitrabeiter:"),console.log(I),yield T.MitarbeiterDB.AddMitarbeiter(I)))}catch{}!1===T.MitarbeiterDB.CheckMitarbeiterExists(T.GraphService.Graphuser.mail)?(T.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",T.Debug.Typen.Component),I=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(T.GraphService.Graphuser),I=yield T.MitarbeiterDB.AddMitarbeiter(I)):(T.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",T.Debug.Typen.Component),I=c.find(T.Pool.Mitarbeiterliste,{UserID:T.GraphService.Graphuser.id})),T.Pool.Mitarbeiterdaten=T.Pool.InitMitarbeiter(I),T.Pool.CheckMitarbeiterdaten(),T.UrlaubDB.SetMitarbeiter(T.Pool.Mitarbeiterdaten),T.Pool.ProgressMessage="Lade Feiertage Deutschland",yield T.UrlaubDB.ReadFeiertage("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield T.UrlaubDB.ReadFeiertage("BG"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Einstellungen",yield T.Pool.ReadSettingsliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",T.Pool.Mitarbeitersettings=T.Pool.InitMitarbeitersettings(),T.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield T.MitarbeitersettingsDB.SaveMitarbeitersettings(),T.Pool.CurrentProgressValue++,T.Zoomfaktor=T.Pool.Mitarbeitersettings.Zoomfaktor,T.Pool.MitarbeitersettingsChanged.emit(),null===T.Pool.Mitarbeiterdaten.SettingsID&&(T.Pool.Mitarbeiterdaten.SettingsID=T.Pool.Mitarbeitersettings._id,yield T.MitarbeiterDB.UpdateMitarbeiter(T.Pool.Mitarbeiterdaten)),T.MitarbeiterDB.InitService(),T.StandortDB.InitService(),T.Pool.ShowProgress=!1,k=!0===T.Pool.Mitarbeiterdaten.Planeradministrator?T.Const.Pages.HomePage:T.Const.Pages.UrlaubPlanungPage,T.Pool.ProjektdatenLoaded=!0,T.SetProjekteMenuebereich(k),T.Tools.SetRootPage(k).then(()=>{T.Pool.LoadingAllDataFinished.emit()})}else T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",T.Debug.Typen.Component)}catch(I){T.Debug.ShowErrorMessage(I.message,"App Component","StartApp",T.Debug.Typen.Component)}})()}SetProjekteMenuebereich(T){try{switch(T){case this.Const.Pages.HomePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home,this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.EmaillistePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Email;break;case this.Const.Pages.UrlaubPlanungPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung;break;case this.Const.Pages.UrlaubUebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Uebersicht;break;case this.Const.Pages.UrlaubFreigabenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Freigaben;break;case this.Const.Pages.UrlaubEinstellungenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Einstellungen;break;default:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte}switch(T){case this.Const.Pages.PjAufgabenlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.PjProtokolleListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Protokolle;break;case this.Const.Pages.PjBaustelleLoplistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.LOPListe;break;case this.Const.Pages.PjBaustelleTagebuchlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Bautagebuch;break;case this.Const.Pages.PjFestlegungslistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Festlegungen;break;case this.Const.Pages.PjPlanungsmatrixPage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Planungsmatrix;break;case this.Const.Pages.PjSimontabellelistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Simontabelle;break;case this.Const.Pages.PjNotizenListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Notizen}}catch(I){this.Debug.ShowErrorMessage(I,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(I){return new(I||F)(e.\u0275\u0275directiveInject(u.Platform),e.\u0275\u0275directiveInject(l.DatabasePoolService),e.\u0275\u0275directiveInject(g.MenueService),e.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(C.BasicsProvider),e.\u0275\u0275directiveInject(b.ToolsProvider),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(p.MsalService),e.\u0275\u0275directiveInject(p.MsalBroadcastService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(y.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(w.Graphservice),e.\u0275\u0275directiveInject(A.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:F,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(I,k){1&I&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&I&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",k.Zoomfaktor,"%"))},dependencies:[u.IonApp,u.IonRouterOutlet],styles:['ngx-material-timepicker-content{--body-background-color: #7b6a58;--primary-font-family: "Roboto",sans-serif;--button-color: none !important;--dial-active-color: #fff;--dial-inactive-color: rgba(255, 255, 255, .5);--dial-background-color: #354547 !important;--dial-editable-active-color: #c7d304 !important;--dial-editable-background-color: #fff;--clock-face-time-active-color: #fff;--clock-face-time-inactive-color: #6c6c6c;--clock-face-inner-time-inactive-color: #929292;--clock-face-time-disabled-color: #c5c5c5;--clock-face-background-color: #354547;--clock-hand-color: #c7d304 !important}']})}return F})()},5204:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppModule=h.MSALInstanceFactory=void 0;const n=o(81316),i=o(14476),d=o(10716),a=o(86108),c=o(80484),e=o(19668),u=o(34388),l=o(29743),g=o(14652),v=o(33940),p=o(59460),C=o(21052),b=o(44556),_=o(97048),f=o(9028),y=o(21112),S=o(36716),M=o(2300),w=o(57848),A=n.__importStar(o(54496)),F=(n.__importStar(o(10716)),!1===S.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),T=!1===S.environment.production?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",H=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,G=(Z,re)=>{console.log(re)};h.MSALInstanceFactory=()=>new y.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:F},cache:{cacheLocation:y.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:H},system:{loggerOptions:{loggerCallback:G,logLevel:y.LogLevel.Error,piiLoggingEnabled:!1}}});const ce=()=>{const Z=new Map;return Z.set("https://graph.microsoft.com/v1.0/me",["user.read"]),Z.set(T,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:y.InteractionType.Redirect,protectedResourceMap:Z}},se=()=>({interactionType:y.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email"]}});h.AppModule=(()=>{class Z{static \u0275fac=function(W){return new(W||Z)};static \u0275mod=A.\u0275\u0275defineNgModule({type:Z,bootstrap:[a.AppComponent,f.MsalRedirectComponent]});static \u0275inj=A.\u0275\u0275defineInjector({providers:[{provide:_.HTTP_INTERCEPTORS,useClass:f.MsalInterceptor,multi:!0},{provide:f.MSAL_INSTANCE,useFactory:h.MSALInstanceFactory},{provide:f.MSAL_GUARD_CONFIG,useFactory:se},{provide:f.MSAL_INTERCEPTOR_CONFIG,useFactory:ce},f.MsalService,f.MsalGuard,f.MsalBroadcastService,e.ToolsProvider,u.DebugProvider,l.ConstProvider,g.BasicsProvider,p.MenueService,v.LoadingAnimationService,C.DisplayService],imports:[i.BrowserModule,d.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),c.AppRoutingModule,b.BrowserAnimationsModule,_.HttpClientModule,f.MsalModule,M.EditorModule,w.FontAwesomeModule]})}return Z})()},64168:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importDefault(o(35908)),c=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(21052)),l=n.__importStar(o(29743)),g=n.__importStar(o(19668)),v=n.__importStar(o(51708)),p=n.__importStar(o(91368)),C=n.__importStar(o(10716)),b=n.__importStar(o(38056)),_=n.__importStar(o(90212)),f=n.__importStar(o(25856)),y=n.__importStar(o(29856));function S(A,O){if(1&A){const F=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),c.\u0275\u0275listener("CheckChanged",function(T){c.\u0275\u0275restoreView(F);const I=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(I.CanDeleteCheckedChanged(T))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(6,"td",17),c.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(F);const T=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(T.DeleteButtonClicked())}),c.\u0275\u0275element(9,"ion-icon",19),c.\u0275\u0275elementStart(10,"ion-text"),c.\u0275\u0275text(11,"Eintrag l\xf6schen"),c.\u0275\u0275elementEnd()()()()()()()}if(2&A){const F=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(5),c.\u0275\u0275property("Checked",F.CanDelete),c.\u0275\u0275advance(3),c.\u0275\u0275property("disabled",!F.CanDelete)}}function M(A,O){if(1&A){const F=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),c.\u0275\u0275twoWayListener("ValueChange",function(T){c.\u0275\u0275restoreView(F);const I=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(I.DB.CurrentChangelog.Version,T)||(I.DB.CurrentChangelog.Version=T),c.\u0275\u0275resetView(T)}),c.\u0275\u0275listener("TextChanged",function(T){c.\u0275\u0275restoreView(F);const I=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(I.TextChanged(T))}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),c.\u0275\u0275twoWayListener("ValueChange",function(T){c.\u0275\u0275restoreView(F);const I=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(I.DB.CurrentChangelog.Beschreibung,T)||(I.DB.CurrentChangelog.Beschreibung=T),c.\u0275\u0275resetView(T)}),c.\u0275\u0275listener("TextChanged",function(T){c.\u0275\u0275restoreView(F);const I=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(I.TextChanged(T))}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),c.\u0275\u0275element(9,"input-clone",14),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(10,"ion-col"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),c.\u0275\u0275element(13,"br")(14,"br"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(15,S,12,2,"ion-row",6),c.\u0275\u0275elementEnd()}if(2&A){const F=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275twoWayProperty("Value",F.DB.CurrentChangelog.Version),c.\u0275\u0275property("Required",!1)("MaxLength",100),c.\u0275\u0275advance(3),c.\u0275\u0275twoWayProperty("Value",F.DB.CurrentChangelog.Beschreibung),c.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),c.\u0275\u0275advance(3),c.\u0275\u0275property("Value",F.GetDatum())("Enabled",!1),c.\u0275\u0275advance(6),c.\u0275\u0275property("ngIf",null!==F.DB.CurrentChangelog._id)}}h.FiChangelogEditorComponent=(()=>{class A{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(F,j,T,I,k){this.Debug=F,this.Displayservice=j,this.Const=T,this.Tools=I,this.DB=k;try{this.Valid=!0,this.Valid=!0,this.Titel="Change Log bearbeiten",this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Beschreibung:d.string().required().max(100)}).options({stripUnknown:!0})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentChangelog).error,this.ValidChange.emit(this.Valid)}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(F){try{this.ValidateInput()}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error.message)})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(F=>{this.OkClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(F=>{this.Tools.ShowHinweisDialog(F.error.message)})}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(F){F.preventDefault(),F.stopPropagation()}CanDeleteCheckedChanged(F){try{this.CanDelete=F.status}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,a.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(F){this.Debug.ShowErrorMessage(F,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(j){return new(j||A)(c.\u0275\u0275directiveInject(e.DebugProvider),c.\u0275\u0275directiveInject(u.DisplayService),c.\u0275\u0275directiveInject(l.ConstProvider),c.\u0275\u0275directiveInject(g.ToolsProvider),c.\u0275\u0275directiveInject(v.DatabaseChangelogService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:A,selectors:[["fi-changelog-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Version",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Beschreibung",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Datum",3,"Value","Enabled"],["size","12"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(j,T){1&j&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275listener("click",function(k){return T.ContentClicked(k)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275listener("click",function(k){return T.ContentClicked(k)}),c.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),c.\u0275\u0275element(8,"ion-icon",4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"td"),c.\u0275\u0275text(10),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),c.\u0275\u0275template(13,M,16,10,"ion-grid",6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),c.\u0275\u0275listener("click",function(){return T.CancelButtonClicked()}),c.\u0275\u0275element(20,"ion-icon",9),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(21,"td",10),c.\u0275\u0275elementStart(22,"td")(23,"div",8),c.\u0275\u0275listener("click",function(){return!0===T.Valid?T.OkButtonClicked():null}),c.\u0275\u0275element(24,"ion-icon",11),c.\u0275\u0275elementEnd()()()()()()()()()),2&j&&(c.\u0275\u0275styleProp("z-index",T.ZIndex),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("background",T.Displayservice.ShowOpacity(T.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("width",T.Dialogbreite,"px")("height",T.Dialoghoehe,"px")("top",T.PositionY,"px"),c.\u0275\u0275advance(6),c.\u0275\u0275property("name",T.Iconname),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color","white"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(T.Titel),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",T.DB.CurrentChangelog),c.\u0275\u0275advance(11),c.\u0275\u0275property("color",!0===T.Valid?"weiss":"grau"))},dependencies:[p.NgIf,C.IonButton,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonIcon,C.IonRow,C.IonText,b.InputCloneComponent,_.PageHeaderComponent,f.CheckboxClonComponent,y.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #354547;border-right:3px solid #354547;width:100%;height:100%;display:flex;flex-direction:row}"]})}return A})()},12095:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),c=o(61540),e=o(6512),u=o(70216),l=o(7388),g=o(90520),v=n.__importStar(o(54496));h.FiChangelogEditorModule=(()=>{class C{static \u0275fac=function(f){return new(f||C)};static \u0275mod=v.\u0275\u0275defineNgModule({type:C});static \u0275inj=v.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,c.InputCloneKeeperModule,e.AbstandElementFixedModule,u.PageHeaderModule,l.CheckboxClonModule,g.PageFooterModule]})}return C})()},80887:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=n.__importStar(o(54496)),c=n.__importStar(o(14652)),e=n.__importStar(o(34388)),u=n.__importStar(o(19668)),l=n.__importStar(o(58864)),g=n.__importStar(o(29743)),v=n.__importStar(o(21052)),p=n.__importStar(o(7992)),C=n.__importStar(o(91368)),b=n.__importStar(o(10716)),_=n.__importStar(o(25856)),f=n.__importStar(o(1215)),y=n.__importStar(o(90212)),S=n.__importStar(o(29856)),M=["SmallAlphabet"];function w(N,x){if(1&N&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&N){const H=a.\u0275\u0275nextContext().index,G=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(G.Mitarbeiterbuchstabenliste[H])}}function A(N,x){if(1&N&&(a.\u0275\u0275elementStart(0,"td"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate3(" ",H.Name," ",H.Vorname," / ",H.Kuerzel," ")}}function O(N,x){if(1&N&&(a.\u0275\u0275elementStart(0,"td")(1,"span"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"span",34),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"span"),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(H.Text_C),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate1(" / ",H.Kuerzel," ")}}function F(N,x){if(1&N){const H=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),a.\u0275\u0275listener("CheckChanged",function(te){a.\u0275\u0275restoreView(H);const ce=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(ce.CheckedChanged(te))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(4,A,2,3,"td",11)(5,O,8,4,"td",11),a.\u0275\u0275elementEnd()()}if(2&N){const H=a.\u0275\u0275nextContext(),G=H.index,te=H.$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275property("Index",G)("Checked",te.Selected),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!te.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",te.Filtered)}}function j(N,x){if(1&N){const H=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",22),a.\u0275\u0275listener("click",function(){const ce=a.\u0275\u0275restoreView(H).$implicit,se=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(se.MitrabeiterButtonClicked(ce))}),a.\u0275\u0275elementStart(1,"ion-grid",23),a.\u0275\u0275template(2,w,5,1,"ion-row",11),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),a.\u0275\u0275template(9,F,6,4,"table",26),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),a.\u0275\u0275element(14,"td",28),a.\u0275\u0275elementStart(15,"td",29),a.\u0275\u0275text(16,"Stadort:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(17,"td"),a.\u0275\u0275text(18),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(19,"td",30),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&N){const H=x.$implicit,G=x.index,te=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==te.Mitarbeiterbuchstabenliste[G]),a.\u0275\u0275advance(7),a.\u0275\u0275property("ngIf",null!==H),a.\u0275\u0275advance(9),a.\u0275\u0275textInterpolate(te.DBStandort.GetStandort(H.StandortID))}}function T(N,x){if(1&N&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,j,20,3,"ion-item",21),a.\u0275\u0275elementEnd()),2&N){const H=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",H.Anzeigeliste)}}function I(N,x){1&N&&(a.\u0275\u0275elementStart(0,"div",35),a.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),a.\u0275\u0275elementEnd())}h.FiMitarbeiterAuswahlComponent=(()=>{class N{Basics;Debug;Tools;DBStandort;Const;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;StandortfilterClickedEvent=new i.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(H,G,te,ce,se,K,Z){this.Basics=H,this.Debug=G,this.Tools=te,this.DBStandort=ce,this.Const=se,this.Displayservice=K,this.Pool=Z;try{this.AuswahlIDliste=[],this.Mitarbeiterbuchstabenliste=[],this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiteralphabet=this.Standardalphabet,this.Alphapetbreite=44,this.Mitarbeiterfiltertext="",this.Multiselect=!1,this.Titel=this.Const.NONE,this.Iconname="people-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=3e3,this.Mitarbeiterliste=[],this.FilterSubscription=null,this.OnlyProjektmitarbeiter=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=d.cloneDeep(this.AuswahlIDliste),this.Alphabetcomponent&&this.Alphabetcomponent.InitScreen(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl,this.ZIndex),this.FilterSubscription=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let H,G,te,ce,se,K,Z,re,X,W,Y,q;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=d.cloneDeep(this.Pool.Mitarbeiterliste)),H=d.cloneDeep(this.Mitarbeiterliste),H=d.filter(H,he=>!1===he.Archiviert),H.sort((he,_e)=>he.Name<_e.Name?-1:he.Name>_e.Name?1:0),null!==this.DBStandort.CurrentStandortfilter){G=d.cloneDeep(H),H=[];for(let he of G)he.StandortID===this.DBStandort.CurrentStandortfilter._id&&H.push(he)}if(H.length>6){this.Mitarbeiteralphabet=["Alle"];for(let he of H)te=he.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(te)&&this.Mitarbeiteralphabet.push(te)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){G=d.cloneDeep(H),H=[];for(let he of G)te=he.Name.substring(0,1).toUpperCase(),te="\xc4"===te?"A":te,te="\xd6"===te?"O":te,te="\xdc"===te?"U":te,this.Mitarbeiteralphabetauswahl===te&&H.push(he)}if(""!==this.Mitarbeiterfiltertext){G=d.cloneDeep(H),H=[];for(let he of G)W=this.Mitarbeiterfiltertext.toLowerCase(),Y=he.Name.toLowerCase(),X=Y.indexOf(W),-1!==X&&(ce=he.Name.length,re=W.length,se=he.Name.substr(0,X),K=he.Name.substr(X,re),re=ce-re-X,Z=he.Name.substr(ce-re,re),he.Filtered=!0,he.Text_A=se,he.Text_B=K,he.Text_C=Z,H.push(he))}this.Mitarbeiterbuchstabenliste=[];for(let he of H)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(he));for(q of H)q.Selected=!1;for(let he of this.AuswahlIDliste)q=d.find(H,{_id:he}),d.isUndefined(q)||(q.Selected=!0);this.Anzeigeliste=d.cloneDeep(H)}}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(H){try{let G=H.Name.substring(0,1).toUpperCase();return G!==this.Lastletter?(this.Lastletter=G,G):""}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(H){}AlphabetClicked(H){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=H,this.PrepareDaten()}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(H){try{let G;if(!1===this.Multiselect){for(G of this.Mitarbeiterliste)G.Selected=!1;for(G of this.Anzeigeliste)G.Selected=!1}G=d.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[H.index]._id}),d.isUndefined(G)||(G.Selected=H.status,!0===H.status?this.AuswahlIDliste.push(G._id):this.AuswahlIDliste=d.filter(this.AuswahlIDliste,te=>te!==G._id)),this.Anzeigeliste[H.index].Selected=H.status}catch(G){this.Debug.ShowErrorMessage(G.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=d.cloneDeep(this.AuswahlIDListeSicherung)}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(H){H.preventDefault(),H.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","StandortfilterButtonClicked",this.Debug.Typen.Component)}}GetStandortfiller(){try{return null===this.DBStandort.CurrentStandortfilter?"kein Standortfilter":this.DBStandort.CurrentStandortfilter.Kuerzel+" / "+this.DBStandort.CurrentStandortfilter.Standort}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(G){return new(G||N)(a.\u0275\u0275directiveInject(c.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(l.DatabaseStandorteService),a.\u0275\u0275directiveInject(g.ConstProvider),a.\u0275\u0275directiveInject(v.DisplayService),a.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:N,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(G,te){if(1&G&&a.\u0275\u0275viewQuery(M,7),2&G){let ce;a.\u0275\u0275queryRefresh(ce=a.\u0275\u0275loadQuery())&&(te.Alphabetcomponent=ce.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter"},outputs:{OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent",StandortfilterClickedEvent:"StandortfilterClickedEvent"},decls:36,vars:20,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],[2,"width","4px"],["color","weiss",3,"name"],["colspan","3"],["size","small","color","grau",3,"click"],["name","funnel-outline"],[1,"innerkeeperclass"],[1,"innerkeeperlisteclass"],[4,"ngIf"],["class","emptymessageclass",4,"ngIf"],[1,"innerkeeperalphabetclass"],[3,"Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["SmallAlphabet",""],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["color","weiss","name","checkmark-outline",2,"font-size","28px"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","28px"],[1,"ergonametextclass"],[2,"width","20px"],["color","orange"],["cellspacing","0","cellpadding","0"],[3,"Index","Checked","CheckChanged"],[2,"color","green"],[1,"emptymessageclass"]],template:function(G,te){1&G&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(se){return te.ContentClicked(se)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(se){return te.ContentClicked(se)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),a.\u0275\u0275element(7,"td",4),a.\u0275\u0275elementStart(8,"td"),a.\u0275\u0275element(9,"ion-icon",5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"td"),a.\u0275\u0275text(11),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),a.\u0275\u0275listener("click",function(){return te.StandortfilterButtonClicked()}),a.\u0275\u0275element(15,"ion-icon",8),a.\u0275\u0275text(16),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),a.\u0275\u0275template(20,T,2,1,"ion-list",11)(21,I,2,0,"div",12),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),a.\u0275\u0275listener("AlphabetClicked",function(se){return te.AlphabetClicked(se)}),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),a.\u0275\u0275listener("click",function(){return te.CancelButtonClicked()}),a.\u0275\u0275element(31,"ion-icon",18),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(32,"td",19),a.\u0275\u0275elementStart(33,"td")(34,"div",17),a.\u0275\u0275listener("click",function(){return te.OkButtonClicked()}),a.\u0275\u0275element(35,"ion-icon",20),a.\u0275\u0275elementEnd()()()()()()()()()),2&G&&(a.\u0275\u0275styleProp("z-index",te.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",te.Displayservice.ShowOpacity(te.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",te.Dialogbreite,"px")("bottom",te.PositionY,"px")("top",te.PositionY,"px"),a.\u0275\u0275advance(7),a.\u0275\u0275property("name",te.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(te.Titel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate1(" ",te.GetStandortfiller()," "),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",te.Mitarbeiterliste&&te.Anzeigeliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",te.Mitarbeiterliste&&0===te.Anzeigeliste.length),a.\u0275\u0275advance(2),a.\u0275\u0275property("Buchstabenliste",te.Mitarbeiteralphabet)("Breite",te.Alphapetbreite)("Auswahl",te.Mitarbeiteralphabetauswahl))},dependencies:[C.NgForOf,C.NgIf,b.IonButton,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonIcon,b.IonItem,b.IonList,b.IonRow,b.IonText,_.CheckboxClonComponent,f.AlphabetRelativeComponent,y.PageHeaderComponent,S.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}.emptymessageclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding-top:100px}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #354547}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}.innerkeeperlisteclass[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto}.innerkeeperalphabetclass[_ngcontent-%COMP%]{width:44px;height:100%;overflow:auto}"]})}return N})()},26668:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),c=o(61540),e=o(6512),u=o(7388),l=o(87143),g=o(72160),v=o(70216),p=o(90520),C=n.__importStar(o(54496));h.FiMitarbeiterAuswahlModule=(()=>{class _{static \u0275fac=function(S){return new(S||_)};static \u0275mod=C.\u0275\u0275defineNgModule({type:_});static \u0275inj=C.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,c.InputCloneKeeperModule,e.AbstandElementFixedModule,u.CheckboxClonModule,l.AlphabetModule,g.AlphabetRelativeModule,v.PageHeaderModule,p.PageFooterModule]})}return _})()},82384:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(54496)),c=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(7992)),l=n.__importStar(o(29743)),g=n.__importStar(o(14652)),v=n.__importStar(o(21052)),p=n.__importStar(o(58864)),C=n.__importStar(o(22848)),b=n.__importStar(o(91368)),_=n.__importStar(o(10716)),f=n.__importStar(o(38056)),y=n.__importStar(o(25856)),S=n.__importStar(o(90212)),M=n.__importStar(o(29856)),w=n.__importStar(o(13228));function A(k,N){if(1&k){const x=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.PlaneradministratorCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Administrator"),a.\u0275\u0275elementEnd()()()()()}if(2&k){const x=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===x.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",x.DB.CurrentMitarbeiter.Planeradministrator)}}function O(k,N){if(1&k){const x=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.UrlaubsfreigabenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Urlaub Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&k){const x=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===x.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",x.DB.CurrentMitarbeiter.Urlaubsfreigaben)}}function F(k,N){if(1&k){const x=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.HomeofficefreigabenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Homeoffice Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&k){const x=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===x.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",x.DB.CurrentMitarbeiter.Homeofficefreigaben)}}function j(k,N){if(1&k){const x=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(te.ArchivierenCheckboxChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Eintrag archivieren"),a.\u0275\u0275elementEnd()()()()()}if(2&k){const x=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",x.DB.CurrentMitarbeiter.Archiviert)}}function T(k,N){if(1&k){const x=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),a.\u0275\u0275text(5,"Mitarbeiter"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",13)(8,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(x);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.AnredeClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",15)(11,"input-clone",16),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Vorname,G)||(te.DB.CurrentMitarbeiter.Vorname=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"ion-col",15)(13,"input-clone",17),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Name,G)||(te.DB.CurrentMitarbeiter.Name=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",15)(16,"input-clone",18),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Kuerzel,G)||(te.DB.CurrentMitarbeiter.Kuerzel=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(17,"ion-col",15)(18,"input-clone",19),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Jobtitel,G)||(te.DB.CurrentMitarbeiter.Jobtitel=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",15)(21,"input-clone",20),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(x);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.StandortClicked())})("TextChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(22,"ion-col",15)(23,"input-clone",21),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(x);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.FachbereichClicked())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",15)(26,"input-clone",22),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Email,G)||(te.DB.CurrentMitarbeiter.Email=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275listener("TextChanged",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(te.TextChanged(G))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"ion-text",12)(30,"b"),a.\u0275\u0275text(31,"Kontakt"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col",15)(34,"input-clone",23),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Telefon,G)||(te.DB.CurrentMitarbeiter.Telefon=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(35,"ion-col",15)(36,"input-clone",24),a.\u0275\u0275twoWayListener("ValueChange",function(G){a.\u0275\u0275restoreView(x);const te=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(te.DB.CurrentMitarbeiter.Mobil,G)||(te.DB.CurrentMitarbeiter.Mobil=G),a.\u0275\u0275resetView(G)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(37,"ion-row"),a.\u0275\u0275element(38,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(39,"ion-row")(40,"ion-col")(41,"ion-text",12)(42,"b"),a.\u0275\u0275text(43,"Urlaub"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",13)(46,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(x);const G=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(G.UrlaubClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(47,A,9,2,"ion-row",6)(48,O,9,2,"ion-row",6)(49,F,9,2,"ion-row",6),a.\u0275\u0275elementStart(50,"ion-row"),a.\u0275\u0275element(51,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(52,"ion-row")(53,"ion-col")(54,"ion-text",12)(55,"b"),a.\u0275\u0275text(56,"Sonstiges"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275template(57,j,9,1,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&k){const x=a.\u0275\u0275nextContext();a.\u0275\u0275advance(8),a.\u0275\u0275property("Buttontext","Anrede")("Wert_A",x.GetAnrede()),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Vorname),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Name),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Kuerzel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),a.\u0275\u0275advance(),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Jobtitel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==x.DB.CurrentMitarbeiter.StandortID?x.Basics.Farben.Burnicklgrau:x.Basics.Farben.Orange)("Value",x.StandortDB.GetStandort(x.DB.CurrentMitarbeiter.StandortID)),a.\u0275\u0275advance(),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",x.DB.CurrentMitarbeiter.Fachbereich)("DisabledColor","gray"),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Email),a.\u0275\u0275property("Enabled",x.EmailinputEnabled),a.\u0275\u0275advance(7),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Telefon),a.\u0275\u0275advance(),a.\u0275\u0275property("size",x.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",x.DB.CurrentMitarbeiter.Mobil),a.\u0275\u0275advance(10),a.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",x.DB.CurrentMitarbeiter.Urlaub+" Tage"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==x.DB.CurrentMitarbeiter._id&&null!==x.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==x.DB.CurrentMitarbeiter._id&&null!==x.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==x.DB.CurrentMitarbeiter._id&&null!==x.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",null!==x.DB.CurrentMitarbeiter._id)}}h.FiMitarbeiterEditorComponent=(()=>{class k{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;DB;Valid;ValidChanged=new i.EventEmitter;StandortClickedEvent=new i.EventEmitter;AnredeClickedEvent=new i.EventEmitter;UrlaubClickedEvent=new i.EventEmitter;FachbereichClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;ErrorEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;constructor(x,H,G,te,ce,se,K,Z){this.Debug=x,this.Tools=H,this.Pool=G,this.Const=te,this.Basics=ce,this.Displayservice=se,this.StandortDB=K,this.DB=Z;try{this.Valid=!0,this.DeleteEnabled=!1,this.Titel=this.Const.NONE,this.Iconname="help-circle-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=2e3,this.SkipOkButtonAction=!1,this.EmailinputEnabled=!0,this.Teamsliste=[],this.ErrorMessage=null}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Name:d.string().required().max(100),Vorname:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Jobtitel:d.string().required().min(3).max(100),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","SetupValidation",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentMitarbeiter).error,""===this.DB.CurrentMitarbeiter.StandortID&&(this.Valid=!1),(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChanged.emit(this.Valid)}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(x){try{this.ValidateInput()}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}FachbereichClicked(){try{this.FachbereichClickedEvent.emit()}catch(x){this.Debug.ShowErrorMessage(x.message,"Mitarbeiter Editor","FachbereichClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(x){try{this.DeleteEnabled=x.status}catch(H){this.Debug.ShowErrorMessage(H.message,"Mitarbeiter Editor","LoeschenCheckboxChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.ResetEditor(),this.CancelClickedEvent.emit()}OkButtonClicked(){this.SkipOkButtonAction?this.OkClickedEvent.emit():null===this.DB.CurrentMitarbeiter._id?this.DB.AddMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(x=>{this.Debug.ShowErrorMessage(x,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(x=>{this.Debug.ShowErrorMessage(x,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(x){x.preventDefault(),x.stopPropagation()}ArchivierenCheckboxChanged(x){try{this.DB.CurrentMitarbeiter.Archiviert=x.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(x){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=x.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(x){try{this.DB.CurrentMitarbeiter.Planeradministrator=x.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(x){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=x.status}catch(H){this.Debug.ShowErrorMessage(H,"Mitarbeiter Editor","UrlaubsfreigabenCheckboxChanged",this.Debug.Typen.Component)}}GetAnrede(){try{return null!==this.DB.CurrentMitarbeiter?this.DB.CurrentMitarbeiter.Anrede===this.Const.NONE?"unbekannt":this.DB.CurrentMitarbeiter.Anrede:"null"}catch(x){this.Debug.ShowErrorMessage(x,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}static \u0275fac=function(H){return new(H||k)(a.\u0275\u0275directiveInject(c.DebugProvider),a.\u0275\u0275directiveInject(e.ToolsProvider),a.\u0275\u0275directiveInject(u.DatabasePoolService),a.\u0275\u0275directiveInject(l.ConstProvider),a.\u0275\u0275directiveInject(g.BasicsProvider),a.\u0275\u0275directiveInject(v.DisplayService),a.\u0275\u0275directiveInject(p.DatabaseStandorteService),a.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:k,selectors:[["fi-mitarbeiter-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",SkipOkButtonAction:"SkipOkButtonAction",EmailinputEnabled:"EmailinputEnabled"},outputs:{ValidChanged:"ValidChanged",StandortClickedEvent:"StandortClickedEvent",AnredeClickedEvent:"AnredeClickedEvent",UrlaubClickedEvent:"UrlaubClickedEvent",FachbereichClickedEvent:"FachbereichClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent"},decls:25,vars:18,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],[3,"size"],["Titel","Vorname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Name",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Mitarbeiterk\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Jobtitel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Fachbereich",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[3,"Enabled","Checked","CheckChanged"],[2,"width","6px"],[3,"Checked","CheckChanged"]],template:function(H,G){1&H&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(ce){return G.ContentClicked(ce)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(ce){return G.ContentClicked(ce)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,T,58,46,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return G.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===G.Valid?G.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&H&&(a.\u0275\u0275styleProp("z-index",G.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",G.Displayservice.ShowOpacity(G.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",G.Dialogbreite,"px")("top",G.PositionY,"px")("bottom",G.PositionY,"px")("top",G.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",G.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(G.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",G.DB.CurrentMitarbeiter),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===G.Valid?"weiss":"grau"))},dependencies:[b.NgIf,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonRow,_.IonText,f.InputCloneComponent,y.CheckboxClonComponent,S.PageHeaderComponent,M.PageFooterComponent,w.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;width:100%;height:100%;display:flex;flex-direction:row}"]})}return k})()},27328:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),c=o(61540),e=o(6512),u=o(7388),l=o(70216),g=o(90520),v=o(72284),p=n.__importStar(o(54496));h.FiMitarbeiterEditorModule=(()=>{class b{static \u0275fac=function(y){return new(y||b)};static \u0275mod=p.\u0275\u0275defineNgModule({type:b});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,c.InputCloneKeeperModule,e.AbstandElementFixedModule,u.CheckboxClonModule,l.PageHeaderModule,g.PageFooterModule,v.ButtonValueModule]})}return b})()},41656:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(17964)),c=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(21052)),l=n.__importStar(o(29743)),g=n.__importStar(o(19668)),v=n.__importStar(o(7992)),p=n.__importStar(o(9544)),C=n.__importStar(o(58864)),b=n.__importStar(o(91368)),_=n.__importStar(o(10716)),f=n.__importStar(o(38056)),y=n.__importStar(o(90212)),S=n.__importStar(o(25856)),M=n.__importStar(o(29856)),w=n.__importStar(o(13228));function A(I,k){if(1&I){const N=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-col",17)(1,"button-value",18),c.\u0275\u0275listener("ButtonClicked",function(){c.\u0275\u0275restoreView(N);const H=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(H.BundeslandClickedEvent.emit())}),c.\u0275\u0275elementEnd()()}if(2&I){const N=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",N.GetBundesland())}}function O(I,k){if(1&I){const N=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",17)(2,"button-value",18),c.\u0275\u0275listener("ButtonClicked",function(){c.\u0275\u0275restoreView(N);const H=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(H.KonfessionClickedEvent.emit())}),c.\u0275\u0275elementEnd()()()}if(2&I){const N=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(2),c.\u0275\u0275property("Buttontext","Konfession")("Wert_A",N.GetKonfession())}}function F(I,k){if(1&I){const N=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",23),c.\u0275\u0275listener("CheckChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(G.CanDeleteCheckedChanged(H))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(6,"td",24),c.\u0275\u0275elementStart(7,"td")(8,"ion-button",25),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(N);const H=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(H.DeleteButtonClicked())}),c.\u0275\u0275element(9,"ion-icon",26),c.\u0275\u0275elementStart(10,"ion-text"),c.\u0275\u0275text(11,"Eintrag l\xf6schen"),c.\u0275\u0275elementEnd()()()()()()()}if(2&I){const N=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(5),c.\u0275\u0275property("Checked",N.CanDelete),c.\u0275\u0275advance(3),c.\u0275\u0275property("disabled",!N.CanDelete)}}function j(I,k){if(1&I){const N=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Standort,H)||(G.DB.CurrentStandort.Standort=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"ion-col")(5,"input-clone",13),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Kuerzel,H)||(G.DB.CurrentStandort.Kuerzel=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",14),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Strasse,H)||(G.DB.CurrentStandort.Strasse=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(9,"ion-col"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"ion-row")(11,"ion-col")(12,"input-clone",15),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.PLZ,H)||(G.DB.CurrentStandort.PLZ=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(13,"ion-col")(14,"input-clone",16),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Ort,H)||(G.DB.CurrentStandort.Ort=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",17)(17,"button-value",18),c.\u0275\u0275listener("ButtonClicked",function(){c.\u0275\u0275restoreView(N);const H=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(H.LandClickedEvent.emit())}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(18,A,2,2,"ion-col",19),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(19,O,3,2,"ion-row",6),c.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",20),c.\u0275\u0275element(22,"br")(23,"br"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col")(26,"input-clone",21),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Telefon,H)||(G.DB.CurrentStandort.Telefon=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(27,"ion-col")(28,"input-clone",22),c.\u0275\u0275twoWayListener("ValueChange",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275twoWayBindingSet(G.DB.CurrentStandort.Email,H)||(G.DB.CurrentStandort.Email=H),c.\u0275\u0275resetView(H)}),c.\u0275\u0275listener("TextChanged",function(H){c.\u0275\u0275restoreView(N);const G=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(G.TextChanged(H))}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275template(29,F,12,2,"ion-row",6),c.\u0275\u0275elementEnd()}if(2&I){const N=c.\u0275\u0275nextContext();c.\u0275\u0275advance(3),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Standort),c.\u0275\u0275property("Required",!0)("MaxLength",100),c.\u0275\u0275advance(2),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Kuerzel),c.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),c.\u0275\u0275advance(3),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Strasse),c.\u0275\u0275property("Required",!0)("MaxLength",100),c.\u0275\u0275advance(4),c.\u0275\u0275property("Required",!0)("MinLength",5)("MaxLength",5),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.PLZ),c.\u0275\u0275advance(2),c.\u0275\u0275property("Required",!0)("MaxLength",100),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Ort),c.\u0275\u0275advance(3),c.\u0275\u0275property("Buttontext","Land")("Wert_A",N.GetLand()),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf","DE"===N.DB.CurrentStandort.Land),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf","DE"===N.DB.CurrentStandort.Land),c.\u0275\u0275advance(7),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Telefon),c.\u0275\u0275advance(2),c.\u0275\u0275property("MaxLength",255)("Required",!0),c.\u0275\u0275twoWayProperty("Value",N.DB.CurrentStandort.Email),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==N.DB.CurrentStandort._id)}}h.FiStandortEditorComponent=(()=>{class I{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DB;Valid;CanDelete;JoiShema;ValidChange=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;DeleteClickedEvent=new i.EventEmitter;LandClickedEvent=new i.EventEmitter;BundeslandClickedEvent=new i.EventEmitter;KonfessionClickedEvent=new i.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(N,x,H,G,te,ce,se){this.Debug=N,this.Displayservice=x,this.Const=H,this.Tools=G,this.Pool=te,this.DBUrlaub=ce,this.DB=se;try{this.Valid=!0,this.Valid=!0,this.Titel=this.Const.NONE,this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(K){this.Debug.ShowErrorMessage(K.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Standort:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Strasse:d.string().required().max(100),Ort:d.string().required().max(100),PLZ:d.string().required().min(5).max(5),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentStandort).error,(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChange.emit(this.Valid)}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(N){try{this.ValidateInput()}catch(x){this.Debug.ShowErrorMessage(x.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(N=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(N){N.preventDefault(),N.stopPropagation()}CanDeleteCheckedChanged(N){try{this.CanDelete=N.status}catch(x){this.Debug.ShowErrorMessage(x.message,"Standort Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetLand(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Land){case"DE":return"Deutschland";case"BG":return"Bulgarien"}}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let N;return null!==this.DB.CurrentStandort?(N=a.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),a.isUndefined(N)?"Unbekannt":N.Name):"Unbekannt"}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","funGetBundeslandction",this.Debug.Typen.Component)}}GetKonfession(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Konfession){case"RK":return"Katholisch";case"EV":return"Evangelisch"}}catch(N){this.Debug.ShowErrorMessage(N,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}static \u0275fac=function(x){return new(x||I)(c.\u0275\u0275directiveInject(e.DebugProvider),c.\u0275\u0275directiveInject(u.DisplayService),c.\u0275\u0275directiveInject(l.ConstProvider),c.\u0275\u0275directiveInject(g.ToolsProvider),c.\u0275\u0275directiveInject(v.DatabasePoolService),c.\u0275\u0275directiveInject(p.DatabaseUrlaubService),c.\u0275\u0275directiveInject(C.DatabaseStandorteService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:I,selectors:[["fi-standort-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent",LandClickedEvent:"LandClickedEvent",BundeslandClickedEvent:"BundeslandClickedEvent",KonfessionClickedEvent:"KonfessionClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Standortname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","K\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Stra\xdfe",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","PLZ",3,"Required","MinLength","MaxLength","Value","ValueChange","TextChanged"],["Titel","Ort",3,"Required","MaxLength","Value","ValueChange","TextChanged"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","6",4,"ngIf"],["size","12"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(x,H){1&x&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275listener("click",function(te){return H.ContentClicked(te)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275listener("click",function(te){return H.ContentClicked(te)}),c.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),c.\u0275\u0275element(8,"ion-icon",4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(9,"td"),c.\u0275\u0275text(10),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),c.\u0275\u0275template(13,j,30,26,"ion-grid",6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),c.\u0275\u0275listener("click",function(){return H.CancelButtonClicked()}),c.\u0275\u0275element(20,"ion-icon",9),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(21,"td",10),c.\u0275\u0275elementStart(22,"td")(23,"div",8),c.\u0275\u0275listener("click",function(){return!0===H.Valid?H.OkButtonClicked():null}),c.\u0275\u0275element(24,"ion-icon",11),c.\u0275\u0275elementEnd()()()()()()()()()),2&x&&(c.\u0275\u0275styleProp("z-index",H.ZIndex),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("background",H.Displayservice.ShowOpacity(H.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("width",H.Dialogbreite,"px")("height",H.Dialoghoehe,"px")("top",H.PositionY,"px"),c.\u0275\u0275advance(6),c.\u0275\u0275property("name",H.Iconname),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color","white"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(H.Titel),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",H.DB.CurrentStandort),c.\u0275\u0275advance(11),c.\u0275\u0275property("color",!0===H.Valid?"weiss":"grau"))},dependencies:[b.NgIf,_.IonButton,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonRow,_.IonText,f.InputCloneComponent,y.PageHeaderComponent,S.CheckboxClonComponent,M.PageFooterComponent,w.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #2190df;border-right:3px solid #2190df;width:100%;height:100%;display:flex;flex-direction:row}"]})}return I})()},79664:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(33780),c=o(61540),e=o(6512),u=o(70216),l=o(7388),g=o(90520),v=o(72284),p=n.__importStar(o(54496));h.FiStandortEditorModule=(()=>{class b{static \u0275fac=function(y){return new(y||b)};static \u0275mod=p.\u0275\u0275defineNgModule({type:b});static \u0275inj=p.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.InputCloneModule,c.InputCloneKeeperModule,e.AbstandElementFixedModule,u.PageHeaderModule,l.CheckboxClonModule,g.PageFooterModule,v.ButtonValueModule]})}return b})()},73088:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedComponent=void 0;const i=o(81316).__importStar(o(54496));h.AbstandElementFixedComponent=(()=>{class a{constructor(){}ngOnInit(){}static \u0275fac=function(u){return new(u||a)};static \u0275cmp=i.\u0275\u0275defineComponent({type:a,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(u,l){1&u&&i.\u0275\u0275element(0,"div",0)}})}return a})()},6512:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},72160:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},1215:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),c=n.__importStar(o(14652)),e=n.__importStar(o(29743)),u=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["ImageKeeperDiv"];function p(b,_){if(1&b){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(f).$implicit,w=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(w.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&b){const f=_.$implicit,y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",y.Basics.Farben.BAEBlau)("border-color",f===y.Auswahl?y.Basics.Farben.BAEBlau:y.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetRelativeComponent=(()=>{class b{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,y,S,M){this.Debug=f,this.Basics=y,this.Const=S,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(w){this.Debug.ShowErrorMessage(w.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{this.Style={width:this.Breite+"px",top:"0px",bottom:"0px",background:this.Basics.Farben.BAEHellgrau,display:"flex","flex-direction":"column","justify-content":"center"}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let y;y=f.Buchstabenliste,typeof y<"u"&&this.SetFilterliste(),y=f.Breite,typeof y<"u"&&this.InitScreen()}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||b)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(c.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["alphabet-relative"]],viewQuery:function(y,S){if(1&y&&d.\u0275\u0275viewQuery(v,7),2&y){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(S.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(y,S){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&y&&(d.\u0275\u0275property("ngStyle",S.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",S.Filterliste))},dependencies:[l.NgForOf,l.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return b})()},87143:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.AlphabetModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},99031:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),c=n.__importStar(o(14652)),e=n.__importStar(o(29743)),u=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["ImageKeeperDiv"];function p(b,_){if(1&b){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(f).$implicit,w=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(w.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&b){const f=_.$implicit,y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color","#2190df")("border-color",f===y.Auswahl?"#2190df":y.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetComponent=(()=>{class b{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new i.EventEmitter;ZusatzbuttonClicked=new i.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,y,S,M){this.Debug=f,this.Basics=y,this.Const=S,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(w){this.Debug.ShowErrorMessage(w.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let f=0,y=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(f=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(y=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:f+"px",bottom:y+"px",background:this.Basics.Farben.BAEHellgrau}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let y;y=f.Buchstabenliste,typeof y<"u"&&this.SetFilterliste()}catch(y){this.Debug.ShowErrorMessage(y.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||b)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(c.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["alphabet"]],viewQuery:function(y,S){if(1&y&&d.\u0275\u0275viewQuery(v,7),2&y){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(S.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(y,S){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,p,3,5,"div",1),d.\u0275\u0275elementEnd()),2&y&&(d.\u0275\u0275property("ngStyle",S.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",S.Filterliste))},dependencies:[l.NgForOf,l.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{position:absolute;background:#fff;right:0;width:12vw;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return b})()},10272:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(44716),c=o(70216),e=o(90520),u=o(84104),l=n.__importStar(o(54496));h.AuswahlDialogModule=(()=>{class v{static \u0275fac=function(b){return new(b||v)};static \u0275mod=l.\u0275\u0275defineNgModule({type:v});static \u0275inj=l.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule,a.FormsModule,c.PageHeaderModule,e.PageFooterModule,u.SafePipeModule]})}return v})()},56584:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=n.__importStar(o(54496)),c=n.__importStar(o(19668)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),l=n.__importStar(o(21052)),g=n.__importStar(o(29743)),v=n.__importStar(o(10716)),p=n.__importStar(o(91368)),C=n.__importStar(o(90212)),b=n.__importStar(o(29856)),_=n.__importStar(o(66144)),f=["MySelection"];function y(M,w){if(1&M&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275element(2,"ion-radio",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(3,"td",16),a.\u0275\u0275pipe(4,"safe"),a.\u0275\u0275element(5,"td",17),a.\u0275\u0275pipe(6,"safe"),a.\u0275\u0275elementEnd()),2&M){const A=w.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275property("value",A.Index),a.\u0275\u0275advance(),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(4,3,A.FirstColumn,"html"),a.\u0275\u0275sanitizeHtml),a.\u0275\u0275advance(2),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(6,6,A.SecoundColumn,"html"),a.\u0275\u0275sanitizeHtml)}}h.AuswahlDialogComponent=(()=>{class M{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new i.EventEmitter;OkClickedEvent=new i.EventEmitter;CancelClickedEvent=new i.EventEmitter;constructor(A,O,F,j,T){this.Tools=A,this.Basics=O,this.Debug=F,this.Displayservice=j,this.Const=T;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(I){this.Debug.ShowErrorMessage(I.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(A,O,F){try{this.Titel=A,this.Auswahlliste=O,this.Auswahlindex=F}catch(j){this.Debug.ShowErrorMessage(j.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(A,O){try{typeof A<"u"&&!0===A&&(this.Auswahlindex=typeof O<"u"?O:-1),this.MySelection.open()}catch(F){this.Debug.ShowErrorMessage(F.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(A){}IndexChangedHandler(A){try{let O;O=""===A.detail.value||isNaN(A.detail.value)?-1:A.detail.value,this.Auswahlindex=O}catch(O){this.Debug.ShowErrorMessage(O.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){d.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(A){A.preventDefault(),A.stopPropagation()}static \u0275fac=function(O){return new(O||M)(a.\u0275\u0275directiveInject(c.ToolsProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(u.DebugProvider),a.\u0275\u0275directiveInject(l.DisplayService),a.\u0275\u0275directiveInject(g.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:M,selectors:[["auswahl-dialog"]],viewQuery:function(O,F){if(1&O&&a.\u0275\u0275viewQuery(f,7),2&O){let j;a.\u0275\u0275queryRefresh(j=a.\u0275\u0275loadQuery())&&(F.MySelection=j.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[a.\u0275\u0275NgOnChangesFeature],decls:31,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"innerkeeperclass"],[3,"value","ionChange"],[1,"paddingtable"],["colspan","3",2,"height","6px"],[4,"ngFor","ngForOf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","32px"],[2,"width","100%"],["color","weiss","name","save-outline",2,"font-size","28px"],["mode","md",3,"value"],[2,"font-weight","bold",3,"innerHTML"],[3,"innerHTML"]],template:function(O,F){1&O&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(T){return F.ContentClicked(T)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(T){return F.ContentClicked(T)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),a.\u0275\u0275listener("ionChange",function(T){return F.IndexChangedHandler(T)}),a.\u0275\u0275elementStart(14,"table",7)(15,"tr"),a.\u0275\u0275element(16,"td",8),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(17,y,7,9,"tr",9),a.\u0275\u0275elementStart(18,"tr"),a.\u0275\u0275element(19,"td",8),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),a.\u0275\u0275listener("click",function(){return F.CancelButtonClicked()}),a.\u0275\u0275element(26,"ion-icon",12),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(27,"td",13),a.\u0275\u0275elementStart(28,"td")(29,"div",11),a.\u0275\u0275listener("click",function(){return F.OkButtonClicked()}),a.\u0275\u0275element(30,"ion-icon",14),a.\u0275\u0275elementEnd()()()()()()()()()),2&O&&(a.\u0275\u0275styleProp("z-index",F.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",!0===F.Displayservice.ShowOpacity(F.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",F.Dialogbreite,"px")("bottom",F.PositionY,"px")("top",F.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",F.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(F.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("value",F.Auswahlindex),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngForOf",F.Auswahlliste))},dependencies:[v.IonContent,v.IonFooter,v.IonHeader,v.IonIcon,v.IonRadio,v.IonRadioGroup,v.RadioValueAccessor,v.SelectValueAccessor,p.NgForOf,C.PageHeaderComponent,b.PageFooterComponent,_.SafePipe],styles:[".keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{overflow:auto;width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #2190df;border-right:3px solid #2190df}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}"]})}return M})()},22844:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},76732:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),c=n.__importStar(o(14652)),e=n.__importStar(o(34388)),u=n.__importStar(o(19668)),l=n.__importStar(o(29743)),g=n.__importStar(o(10716)),v=n.__importStar(o(91368)),p=["DatePicker"];function C(f,y){if(1&f&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"td",11),a.\u0275\u0275text(2,"\u2022"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&f){const S=a.\u0275\u0275nextContext();a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate1("KW",S.Datum.isoWeek(),"")}}function b(f,y){if(1&f){const S=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-content",12)(1,"ion-datetime",13,14),a.\u0275\u0275listener("ionChange",function(w){a.\u0275\u0275restoreView(S);const A=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(A.DateChangedHandler(w))}),a.\u0275\u0275elementEnd()()}if(2&f){const S=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("min",S.Minimumstring)("max",S.Maximumstring)("value",S.Datum.format("YYYY-MM-DD"))}}h.ButtonValueDateComponent=(()=>{class f{Basics;Debug;Tools;Const;Buttontext;Minimum;Maximum;Datum;Buttoncolor;InnerBackgroundcolor;Enabled;ElementID;Buttonsize;ShowKW;ValueBreite;TimeChanged=new i.EventEmitter;DiabledButtonClicked=new i.EventEmitter;DatePicker;Minimumstring;Maximumstring;constructor(S,M,w,A){this.Basics=S,this.Debug=M,this.Tools=w,this.Const=A;try{let O=1,F=7,T=(0,d.default)().year(),I=12,k=0;this.ValueBreite=260,this.Minimum=(0,d.default)().set({year:2e3,month:0,date:1}).locale("de"),this.Maximum=(0,d.default)().set({year:T,month:11,date:31}).locale("de"),this.Minimumstring="2000-01-01",this.Maximumstring=T.toString()+"-12-31",this.Buttontext="Datum",this.Datum=(0,d.default)(O+"."+F+"."+T+" "+I+":"+k,"DD.MM.YYYY HH:mm").locale("de"),this.Enabled=!0,this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.ElementID="open-modal-date",this.Buttonsize="normal",this.ShowKW=!1,this.InnerBackgroundcolor=this.Basics.Farben.Burnicklgrau}catch(O){this.Debug.ShowErrorMessage(O.message,"Button Value Date","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(S){try{let M=S.Minimum,w=S.Maximum;typeof M<"u"&&(this.Minimum=M.currentValue,this.Minimumstring=this.Minimum.format("YYYY-MM-DD")),typeof w<"u"&&(this.Maximum=w.currentValue,this.Maximumstring=this.Maximum.format("YYYY-MM-DD"))}catch(M){this.Debug.ShowErrorMessage(M.message,"Button Value Date","ngOnChanges",this.Debug.Typen.Component)}}FetigButtonClicked(){try{this.DatePicker.confirm(!0)}catch(S){this.Debug.ShowErrorMessage(S.message,"Button Value Date","FetigButtonClicked",this.Debug.Typen.Component)}}DateChangedHandler(S){try{let O=S.detail.value.split("T")[0].split("-"),F=parseInt(O[2]),j=parseInt(O[1]),T=parseInt(O[0]),I=this.Datum.hours(),k=this.Datum.minutes();this.Datum=(0,d.default)(F+"."+j+"."+T+" "+I+":"+k,"DD.MM.YYYY HH:mm").locale("de"),this.TimeChanged.emit(this.Datum)}catch(M){this.Debug.ShowErrorMessage(M.message,"Button Value Date","DateChangedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(M){return new(M||f)(a.\u0275\u0275directiveInject(c.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(l.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:f,selectors:[["button-value-date"]],viewQuery:function(M,w){if(1&M&&a.\u0275\u0275viewQuery(p,5),2&M){let A;a.\u0275\u0275queryRefresh(A=a.\u0275\u0275loadQuery())&&(w.DatePicker=A.first)}},inputs:{Buttontext:"Buttontext",Minimum:"Minimum",Maximum:"Maximum",Datum:"Datum",Buttoncolor:"Buttoncolor",InnerBackgroundcolor:"InnerBackgroundcolor",Enabled:"Enabled",ElementID:"ElementID",Buttonsize:"Buttonsize",ShowKW:"ShowKW",ValueBreite:"ValueBreite"},outputs:{TimeChanged:"TimeChanged",DiabledButtonClicked:"DiabledButtonClicked"},features:[a.\u0275\u0275NgOnChangesFeature],decls:17,vars:11,consts:[["tappable","",1,"buttonclass",3,"id"],[2,"height","100%","width","60%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],[2,"color","white"],[4,"ngIf"],[3,"trigger"],[2,"width","16px","text-align","center","font-size","26px"],["force-overscroll","false"],["locale","de-DE","showDefaultButtons","true","doneText","Fertig","cancelText","Abbrechen","presentation","date","color","burnicklgruen",2,"background","#307ac1","color","white",3,"min","max","value","ionChange"],["DatePicker",""]],template:function(M,w){1&M&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(8,"div",6)(9,"div",7)(10,"table")(11,"tr")(12,"td",8),a.\u0275\u0275text(13),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(14,C,5,1,"ng-container",9),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(15,"ion-modal",10),a.\u0275\u0275template(16,b,3,3,"ng-template"),a.\u0275\u0275elementEnd()),2&M&&(a.\u0275\u0275styleProp("background",w.Enabled?w.Buttoncolor:w.Basics.Farben.ButtongrauDisabled),a.\u0275\u0275property("id",w.ElementID),a.\u0275\u0275advance(7),a.\u0275\u0275textInterpolate(w.Buttontext),a.\u0275\u0275advance(2),a.\u0275\u0275styleProp("width",w.ValueBreite,"px")("background",w.InnerBackgroundcolor),a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(null!==w.Datum?w.Datum.format("DD.MM.YYYY"):"------"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",w.ShowKW),a.\u0275\u0275advance(),a.\u0275\u0275property("trigger",!0===w.Enabled?w.ElementID:null))},dependencies:[g.IonContent,g.IonDatetime,g.IonText,g.IonModal,g.SelectValueAccessor,v.NgIf],styles:[".buttonclass[_ngcontent-%COMP%]{justify-content:center;align-items:center;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:44px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;width:60%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}ion-datetime[_ngcontent-%COMP%]{height:auto;width:auto;max-width:350px;--background: #354547}ion-modal[_ngcontent-%COMP%]{--width: 290px;--height: 382px;--border-radius: 8px}ion-modal[_ngcontent-%COMP%] ion-datetime[_ngcontent-%COMP%]{height:382px}"]})}return f})()},72284:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.ButtonValueModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},13228:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),c=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(29743)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716));function v(b,_){if(1&b&&(d.\u0275\u0275elementStart(0,"table",10)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd()()),2&b){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml)}}function p(b,_){if(1&b&&(d.\u0275\u0275elementStart(0,"table",12)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"tr"),d.\u0275\u0275element(4,"td",13),d.\u0275\u0275elementEnd()()),2&b){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_B,d.\u0275\u0275sanitizeHtml)}}h.ButtonValueComponent=(()=>{class b{Basics;Debug;Tools;Const;Buttoncolor;Buttontext;Wert_A;Wert_B;Iconfile;Iconcolor;Enabled;SmallWidth;BigHeight;ShowMargin;Width;ProContent=!1;ProMessage="";Buttonvaluecolor="";Rechtebreite;Linkebreite;ButtonClicked=new i.EventEmitter;DisabledButtonClicked=new i.EventEmitter;RGB;Wert_A_String;constructor(f,y,S,M){this.Basics=f,this.Debug=y,this.Tools=S,this.Const=M;try{this.Width=0,this.ShowMargin=!0,this.BigHeight=!1,this.SmallWidth=!1,this.Buttontext="",this.Wert_A="",this.Wert_B="",this.Iconcolor="red",this.Iconfile="",this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.Enabled=!0,this.Buttonvaluecolor=this.Basics.Farben.Burnicklgrau,this.Linkebreite=40,this.Rechtebreite=60}catch(w){this.Debug.ShowErrorMessage(w.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(f){try{let y=f.Buttoncolor,S=f.Wert_A;typeof y<"u"&&(y.firstChange||(this.RGB=this.Tools.HexToRGB(y.currentValue))),typeof S<"u"&&typeof S.currentValue<"u"&&"string"==typeof S.currentValue&&(this.Wert_A_String=S.currentValue)}catch(y){this.Debug.ShowErrorMessage(y.message,"Button Value","ngOnChanges",this.Debug.Typen.Component)}}ButtonClickedHandler(){try{!0===this.Enabled?this.ButtonClicked.emit():this.DisabledButtonClicked.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Button Value","ButtonClickedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||b)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(c.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(u.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["button-value"]],inputs:{Buttoncolor:"Buttoncolor",Buttontext:"Buttontext",Wert_A:"Wert_A",Wert_B:"Wert_B",Iconfile:"Iconfile",Iconcolor:"Iconcolor",Enabled:"Enabled",SmallWidth:"SmallWidth",BigHeight:"BigHeight",ShowMargin:"ShowMargin",Width:"Width",ProContent:"ProContent",ProMessage:"ProMessage",Buttonvaluecolor:"Buttonvaluecolor",Rechtebreite:"Rechtebreite",Linkebreite:"Linkebreite"},outputs:{ButtonClicked:"ButtonClicked",DisabledButtonClicked:"DisabledButtonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:12,vars:11,consts:[["tappable","",1,"buttonclass",3,"click"],[2,"height","100%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],["cellpadding","0","cellspacing","0",4,"ngIf"],["width","100%",4,"ngIf"],["cellpadding","0","cellspacing","0"],["align","center",3,"innerHTML"],["width","100%"],["align","center",1,"ergotextclass",3,"innerHTML"]],template:function(y,S){1&y&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(){return S.ButtonClickedHandler()}),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),d.\u0275\u0275text(7),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(8,"div",6)(9,"div",7),d.\u0275\u0275template(10,v,3,1,"table",8)(11,p,5,2,"table",9),d.\u0275\u0275elementEnd()()()),2&y&&(d.\u0275\u0275styleProp("background",S.Enabled?S.Buttoncolor:S.Basics.Farben.ButtongrauDisabled),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",S.Linkebreite,"%"),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(S.Buttontext),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",S.Rechtebreite,"%"),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("background",S.Buttonvaluecolor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""===S.Wert_B),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""!==S.Wert_B))},dependencies:[l.NgIf,g.IonText],styles:[".buttonclass[_ngcontent-%COMP%]{position:relative;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:8px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;width:100%;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}"]})}return b})()},25856:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),c=n.__importStar(o(19668)),e=n.__importStar(o(34388));h.CheckboxClonComponent=(()=>{class l{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new i.EventEmitter;ImgSource;constructor(v,p,C){this.Basics=v,this.Tools=p,this.Debug=C;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(b){this.Debug.ShowErrorMessage(b.message,"Checkbox","constructor",this.Debug.Typen.Component)}}ngOnInit(){try{!1===this.Enabled&&(this.Background="#B2BABB")}catch(v){this.Debug.ShowErrorMessage(v,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(v){try{v.stopPropagation(),v.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:v,value:this.Value})}catch(p){this.Debug.ShowErrorMessage(p.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}static \u0275fac=function(p){return new(p||l)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(c.ToolsProvider),d.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:l,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(p,C){1&p&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(_){return C.DivClickedHnadler(_)}),d.\u0275\u0275element(1,"img",1),d.\u0275\u0275elementEnd()),2&p&&(d.\u0275\u0275styleProp("background",C.Background),d.\u0275\u0275advance(),d.\u0275\u0275property("hidden",!C.Checked)("src",C.ImgSource,d.\u0275\u0275sanitizeUrl))},styles:[".keeperdivclass[_ngcontent-%COMP%]{padding:2px;position:relative;width:24px;height:24px;border:2px solid gray;border-radius:4px;display:flex;justify-content:center;align-items:center}"]})}return l})()},7388:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.CheckboxClonModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},61540:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneKeeperModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},38056:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(78776)),a=n.__importStar(o(54496)),c=n.__importStar(o(34388)),e=n.__importStar(o(14652)),u=n.__importStar(o(19668)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716));function v(O,F){1&O&&a.\u0275\u0275element(0,"td")}function p(O,F){if(1&O&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",4),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td",5),a.\u0275\u0275element(4,"ion-icon",6),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,v,1,0,"td",3),a.\u0275\u0275elementEnd()),2&O){const j=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("color",j.Titelcolor),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(j.Titel),a.\u0275\u0275advance(),a.\u0275\u0275property("hidden",!1===j.Clickable),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}function C(O,F){if(1&O){const j=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-input",10),a.\u0275\u0275listener("ionInput",function(I){a.\u0275\u0275restoreView(j);const k=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(k.TextChangedHandler(I))}),a.\u0275\u0275elementEnd()}if(2&O){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("font-size",j.Textsize,"px"),a.\u0275\u0275property("inputmode",j.Inputtype)("label",j.Titel)("debounce",j.Debouncetime)("value",j.Value)("color",j.Textcolor)}}function b(O,F){if(1&O&&(a.\u0275\u0275elementStart(0,"ion-label"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&O){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(j.Value)}}function _(O,F){if(1&O&&(a.\u0275\u0275elementStart(0,"td",11),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&O){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(j.Einheit)}}function f(O,F){if(1&O&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",7),a.\u0275\u0275template(2,C,1,7,"ion-input",8)(3,b,2,1,"ion-label",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,_,2,1,"td",9),a.\u0275\u0275elementEnd()),2&O){const j=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}function y(O,F){if(1&O){const j=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-textarea",15),a.\u0275\u0275listener("ionChange",function(I){a.\u0275\u0275restoreView(j);const k=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(k.TextChangedHandler(I))}),a.\u0275\u0275elementEnd()}if(2&O){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275property("label",j.Titel)("debounce",j.Debouncetime)("value",j.Value)("rows",j.Lines)}}function S(O,F){if(1&O&&a.\u0275\u0275element(0,"div",16),2&O){const j=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("height",18*j.Lines,"px"),a.\u0275\u0275property("innerHTML",j.Tools.FormatLinebreaks(j.Value),a.\u0275\u0275sanitizeHtml)}}function M(O,F){1&O&&a.\u0275\u0275element(0,"td")}function w(O,F){if(1&O&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",12),a.\u0275\u0275template(2,y,1,4,"ion-textarea",13)(3,S,1,3,"div",14),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,M,1,0,"td",3),a.\u0275\u0275elementEnd()),2&O){const j=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===j.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==j.Einheit)}}h.InputCloneComponent=(()=>{class O{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new i.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new i.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(j,T,I){this.Debug=j,this.Basics=T,this.Tools=I;try{let k=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=k+"px solid "+this.OkBorderColor,this.RequiredBorder=k+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=k+"px solid "+this.DisabledColor,this.Valid=!0,this.MinLength=0,this.MaxLength=0,this.Enabled=!0,this.Titel="",this.Value="",this.MinHeight=30,this.Inputtype="text",this.Lines=1,this.Debouncetime=0,this.Clickable=!1,this.Required=!1,this.Titelcolor="black",this.ParseToFloat=!1,this.Textsize=14,this.Einheit=null,this.Textcolor=this.Basics.Ionicfarben.Schwarz}catch(k){this.Debug.ShowErrorMessage(k.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let T;"text"===this.Inputtype||"email"===this.Inputtype?(T=d.string(),"email"===this.Inputtype&&(T=T.email({tlds:{allow:!1}}))):T=d.number(),this.MinLength>0&&(T=T.min(this.MinLength)),this.MaxLength>0&&(T=T.max(this.MaxLength)),T=!0===this.Required?T.required():T.allow(""),this.JoiShema=d.object({Text:T}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(j){this.Debug.ShowErrorMessage(j.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(j){try{let T,I;return this.JoiShema?(T=this.JoiShema.validate({Text:j}),T.error?(I=!1,this.Debug.ShowErrorMessage(T.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):I=!0):I=!1,I}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(j){try{let T="text"===this.Inputtype||"email"===this.Inputtype?j.detail.value:this.ParseToFloat?parseFloat(j.detail.value):parseInt(j.detail.value);!0===this.Enabled&&(typeof T>"u"&&(T=""),this.Valid=this.CheckValid(T),this.ValueChange.emit(T),this.TextChanged.emit({Titel:this.Titel,Text:T,Valid:this.Valid})),j.stopPropagation(),j.preventDefault()}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(j){try{let T=1,I=j.Value;typeof I<"u"&&(this.Valid=this.CheckValid(I.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:I.currentValue,Valid:this.Valid})),this.DisabledBorder=T+"px solid "+this.DisabledColor,this.OkBorder=T+"px solid "+this.OkBorderColor}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(T){return new(T||O)(a.\u0275\u0275directiveInject(c.DebugProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(u.ToolsProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:O,selectors:[["input-clone"]],inputs:{Titel:"Titel",Titelcolor:"Titelcolor",Value:"Value",Debouncetime:"Debouncetime",MinLength:"MinLength",MaxLength:"MaxLength",Enabled:"Enabled",Clickable:"Clickable",MinHeight:"MinHeight",Inputtype:"Inputtype",Required:"Required",Lines:"Lines",DisabledColor:"DisabledColor",OkBorderColor:"OkBorderColor",ParseToFloat:"ParseToFloat",Textcolor:"Textcolor",Textsize:"Textsize",Einheit:"Einheit"},outputs:{ValueChange:"ValueChange",TextChanged:"TextChanged"},features:[a.\u0275\u0275NgOnChangesFeature],decls:5,vars:9,consts:[[1,"framedivclass"],["width","100%"],[3,"color",4,"ngIf"],[4,"ngIf"],[1,"uppercellclass"],[2,"text-align","right",3,"hidden"],["color","burnicklgruen","name","list-outline",2,"font-size","20px"],["colspan","2",1,"lowercellclass",2,"width","auto"],["class","inputclass","labelPlacement","stacked","autocomplete","off",3,"font-size","inputmode","label","debounce","value","color","ionInput",4,"ngIf"],["style","width: 20px; text-align: center;",4,"ngIf"],["labelPlacement","stacked","autocomplete","off",1,"inputclass",3,"inputmode","label","debounce","value","color","ionInput"],[2,"width","20px","text-align","center"],["colspan","2",1,"lowercellclass"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange",4,"ngIf"],[3,"height","innerHTML",4,"ngIf"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange"],[3,"innerHTML"]],template:function(T,I){1&T&&(a.\u0275\u0275elementStart(0,"div",0)(1,"table",1),a.\u0275\u0275template(2,p,6,5,"tr",2)(3,f,5,3,"tr",3)(4,w,5,3,"tr",3),a.\u0275\u0275elementEnd()()),2&T&&(a.\u0275\u0275styleProp("cursor",!0===I.Clickable?"pointer":"default")("min-height",I.MinHeight,"px")("border",!0===I.Enabled?!0===I.Valid?I.OkBorder:I.RequiredBorder:I.DisabledBorder),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==I.Titel&&""!==I.Titel&&!1===I.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1===I.Lines),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1!==I.Lines))},dependencies:[l.NgIf,g.IonIcon,g.IonInput,g.IonLabel,g.IonTextarea,g.TextValueAccessor],styles:[".framedivclass[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:flex-start}.inputclass[_ngcontent-%COMP%]{border:1px solid blue;border:none;--padding-bottom: 0px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}ion-label[_ngcontent-%COMP%]{color:#000}ion-textarea[_ngcontent-%COMP%]{margin-top:0;border:none;--padding-bottom: 100px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}.uppercellclass[_ngcontent-%COMP%]{font-size:80%;padding:4px 4px 2px}.lowercellclass[_ngcontent-%COMP%]{padding:0 4px 4px}"]})}return O})()},33780:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.InputCloneModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90520:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageFooterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[i.IonicModule,d.CommonModule]})}return e})()},29856:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(29743)),c=n.__importStar(o(34388)),e=n.__importStar(o(14652)),u=["PageFooterFrameDiv"],l=["*"];h.PageFooterComponent=(()=>{class v{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(C,b,_){this.Const=C,this.Debug=b,this.Basics=_}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(C){this.Debug.ShowErrorMessage(C.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(b){return new(b||v)(d.\u0275\u0275directiveInject(a.ConstProvider),d.\u0275\u0275directiveInject(c.DebugProvider),d.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:v,selectors:[["page-footer"]],viewQuery:function(b,_){if(1&b&&d.\u0275\u0275viewQuery(u,7,i.ElementRef),2&b){let f;d.\u0275\u0275queryRefresh(f=d.\u0275\u0275loadQuery())&&(_.PageFooterFrameDiv=f.first)}},ngContentSelectors:l,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(b,_){1&b&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd())},styles:[".keeperclass[_ngcontent-%COMP%]{background:#307ac1;color:#fff;width:100%;min-height:40px;height:100%;display:flex;align-items:center;justify-content:flex-end}"]})}return v})()},89300:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderCenterModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},63792:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuComponent=void 0;const i=o(81316),d=o(54496),a=i.__importDefault(o(35908)),c=o(36716),e=i.__importStar(o(54496)),u=i.__importStar(o(34388)),l=i.__importStar(o(14652)),g=i.__importStar(o(29743)),v=i.__importStar(o(22848)),p=i.__importStar(o(15024)),C=i.__importStar(o(48044)),b=i.__importStar(o(58864)),_=i.__importStar(o(79052)),f=i.__importStar(o(9544)),y=i.__importStar(o(8608)),S=i.__importStar(o(97092)),M=i.__importStar(o(7992)),w=i.__importStar(o(59460)),A=i.__importStar(o(91368)),O=i.__importStar(o(10716)),F=i.__importStar(o(25856)),j=i.__importStar(o(76732)),T=["Suchleiste"],I=["Suchleiste2"],k=["ion-searchbar"];function N(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.HomeMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.HomeMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.MainMenueButtonClicked(Qe.Menuservice.MainMenuebereiche.Home))}),e.\u0275\u0275elementStart(3,"table",7)(4,"tr")(5,"td"),e.\u0275\u0275element(6,"ion-icon",8),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"td",9),e.\u0275\u0275element(8,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("color",Pe.HomeMouseOver?Pe.Basics.Ionicfarben.Schwarz:Pe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(2),e.\u0275\u0275classMap(Pe.Menuservice.MainMenuebereich===Pe.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function x(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"ion-badge",22),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Pe.DBUrlaub.Anfragenanzahl.toString())}}function H(De,je){1&De&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",23),e.\u0275\u0275elementEnd())}function G(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",24)(1,"ion-button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.UrlaubMitarbeiterClicked.emit())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null!==Pe.DBUrlaub.CurrentMitarbeiter?Pe.DBUrlaub.CurrentMitarbeiter.Vorname+" "+Pe.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt")}}function te(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.LogoutMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.LogoutMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.LogoutButtonClicked())}),e.\u0275\u0275elementStart(5,"table",7)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Abmelden"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(11,"td",3),e.\u0275\u0275elementStart(12,"td",9),e.\u0275\u0275element(13,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td")(15,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Planung))}),e.\u0275\u0275elementStart(16,"table",7)(17,"tr")(18,"td"),e.\u0275\u0275element(19,"ion-icon",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",14),e.\u0275\u0275text(21,"Planung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(22,"td",15),e.\u0275\u0275elementStart(23,"td")(24,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Uebersicht))}),e.\u0275\u0275elementStart(25,"table",7)(26,"tr")(27,"td"),e.\u0275\u0275element(28,"ion-icon",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"\xdcbersicht"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(31,"td",15),e.\u0275\u0275elementStart(32,"td")(33,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Freigaben))}),e.\u0275\u0275elementStart(34,"table",7)(35,"tr")(36,"td"),e.\u0275\u0275element(37,"ion-icon",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"td"),e.\u0275\u0275text(39,"Anfragen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(40,x,3,1,"td",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(41,"td",15),e.\u0275\u0275elementStart(42,"td")(43,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Einstellungen))}),e.\u0275\u0275elementStart(44,"table",7)(45,"tr")(46,"td"),e.\u0275\u0275element(47,"ion-icon",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(48,"td"),e.\u0275\u0275text(49,"Einstellungen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(50,H,2,0,"td",0),e.\u0275\u0275element(51,"td",19),e.\u0275\u0275template(52,G,3,1,"td",20),e.\u0275\u0275element(53,"td",21),e.\u0275\u0275elementEnd()()()}if(2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("cursor",Pe.LogoutMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Pe.LogoutMouseOver?Pe.Basics.Ionicfarben.Schwarz:Pe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.LogoutMouseOver?"#000000":"white"),e.\u0275\u0275advance(10),e.\u0275\u0275property("color",Pe.GetUrlaubMenueIconcolor(Pe.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.GetUrlaubMenueFontcolor(Pe.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Pe.GetUrlaubMenueIconcolor(Pe.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.GetUrlaubMenueFontcolor(Pe.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Pe.GetUrlaubMenueIconcolor(Pe.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.GetUrlaubMenueFontcolor(Pe.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",Pe.DBUrlaub.Anfragenanzahl>0),e.\u0275\u0275advance(7),e.\u0275\u0275property("color",Pe.GetUrlaubMenueIconcolor(Pe.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.GetUrlaubMenueFontcolor(Pe.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Pe.DBUrlaub.CorrectSetup),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Pe.Pool.Mitarbeiterdaten&&!0===Pe.Pool.Mitarbeiterdaten.Planeradministrator)}}function ce(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.BackMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.BackMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.BackButtonClicked())}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Zur\xfcck"),e.\u0275\u0275elementEnd()()()()()}if(2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("cursor",Pe.BackMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Pe.BackMouseOver?Pe.Basics.Ionicfarben.BAEBlau:Pe.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.BackMouseOver?"#000000":"white")}}function se(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td",27),e.\u0275\u0275element(1,"div"),e.\u0275\u0275elementEnd()),2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275classMap(Pe.Menuservice.MainMenuebereich===Pe.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function K(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Standorte"),e.\u0275\u0275elementEnd()()()()()),2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Pe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function Z(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()()()),2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Pe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function re(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",31),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Projekte"),e.\u0275\u0275elementEnd()()()()()),2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Pe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function X(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.FirmaMenueButtonClicked(Qe.Menuservice.FirmaMenuebereiche.Favoriten))}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",32),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Favoriten"),e.\u0275\u0275elementEnd()()()()()}if(2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Pe.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function W(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"table",33)(3,"tr")(4,"td",34)(5,"button-value-date",35),e.\u0275\u0275listener("TimeChanged",function(Qe){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.EmailDatumChangedHandler(Qe))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Qe){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.ShowUngelesenCheckChanged(Qe))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9," Nur ungelesene Emails anzeigen "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td")(11,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Qe){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.ProjektsortierungChangedHandler(Qe))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td"),e.\u0275\u0275text(13," Sortieren nach Projekten "),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("Buttontext","Ab dem ")("ElementID","terminspanneende")("Datum",Pe.GetMailDatum()),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Pe.DBEmail.ShowUngelesenOnly),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Pe.DBEmail.Projektsortierung)}}function Y(De,je){1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275element(3,"ion-searchbar",37,38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function q(De,je){if(1&De){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td")(3,"div",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.StandortButtonClicked())}),e.\u0275\u0275elementStart(4,"table",7)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",41),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(Pe.DBStandort.GetStandortfiller())}}function he(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"td",3),e.\u0275\u0275elementEnd()()),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",Pe.GraphService.UserimageSRC,e.\u0275\u0275sanitizeUrl)}}function _e(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"div",44),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",null!==Pe.Pool.Mitarbeiterdaten?Pe.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function Oe(De,je){if(1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,he,5,1,"table",0)(2,_e,2,1,"div",42),e.\u0275\u0275elementContainerEnd()),2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Pe.GraphService.UserimageSRC),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null===Pe.GraphService.UserimageSRC)}}function Re(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Pe.Timelinebreite,"px")}}function Ae(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Pe.Timelinebreite,"px")}}function ge(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Pe.Timelinebreite,"px")}}function Ne(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Pe.Timelinebreite,"px")}}function it(De,je){if(1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",45),e.\u0275\u0275element(3,"div",46),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"tr")(5,"td",47)(6,"table")(7,"tr")(8,"td")(9,"div",48),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,Re,1,2,"td",49),e.\u0275\u0275element(12,"td",50),e.\u0275\u0275elementStart(13,"td")(14,"div",48),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,Ae,1,2,"td",49),e.\u0275\u0275element(17,"td",50),e.\u0275\u0275elementStart(18,"td")(19,"div",48),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,ge,1,2,"td",49),e.\u0275\u0275element(22,"td",50),e.\u0275\u0275elementStart(23,"td")(24,"div",48),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,Ne,1,2,"td",49),e.\u0275\u0275element(27,"td",50),e.\u0275\u0275elementStart(28,"td")(29,"div",48),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()),2&De){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("width",Pe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate3("Montag ",Pe.Timelineindex," ",Pe.GetDatumtext("Montag")," ",Pe.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Pe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Pe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Dienstag ",Pe.GetDatumtext("Dienstag")," ",Pe.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",1===Pe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Pe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Mittwoch ",Pe.GetDatumtext("Mittwoch")," ",Pe.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",2===Pe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Pe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Donnerstag ",Pe.GetDatumtext("Donnerstag")," ",Pe.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",3===Pe.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Pe.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Freitag ",Pe.GetDatumtext("Freitag")," ",Pe.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function qe(De,je){if(1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),e.\u0275\u0275element(6,"td",3),e.\u0275\u0275template(7,N,9,3,"ng-container",0)(8,te,54,20,"td",0)(9,ce,8,5,"td",0)(10,se,2,2,"td",4)(11,K,8,3,"td",0)(12,Z,8,3,"td",0)(13,re,8,3,"td",0)(14,X,8,3,"td",0)(15,W,14,5,"ng-container",0)(16,Y,5,0,"ng-container",0)(17,q,10,1,"ng-container",0),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(18,"td",5),e.\u0275\u0275template(19,Oe,3,2,"ng-container",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,it,31,35,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&De){const Pe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",null!==Pe.Pool.Mitarbeiterdaten&&Pe.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Menuservice.MainMenuebereich===Pe.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Menuservice.MainMenuebereich===Pe.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Menuservice.MainMenuebereich!==Pe.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.ShowStandorttitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.ShowMitarbeitertitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.ShowProjektetitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.ShowFavoritentitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Menuservice.MainMenuebereich===Pe.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowSuchleiste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowSandortfilter),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Pe.AuthService.ShowLogin),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Menuservice.MainMenuebereich===Pe.Menuservice.MainMenuebereiche.Projekte&&Pe.Menuservice.ProjekteMenuebereich===Pe.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&Pe.Menuservice.Aufgabenlisteansicht===Pe.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}h.PageHeaderMenuComponent=(()=>{class De{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBEmail;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new d.EventEmitter;StandortfilterClicked=new d.EventEmitter;ZeitspanneFilterClicked=new d.EventEmitter;LeistungsphaseFilterClicked=new d.EventEmitter;FilterChanged=new d.EventEmitter;ShowProjektauswahlEvent=new d.EventEmitter;ShowProjektfilesEvent=new d.EventEmitter;LOPListeZeitspanneEvent=new d.EventEmitter;ShowOpenFestlegungOnlyEvent=new d.EventEmitter;SendFestlegungenClicked=new d.EventEmitter;ShowUngelesenOnlyChanged=new d.EventEmitter;ProjektsortierungChanged=new d.EventEmitter;EmailDatumChanged=new d.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new d.EventEmitter;ShowLOPListeInfoeintraegeChanged=new d.EventEmitter;ExpandFestlegungeEvent=new d.EventEmitter;UrlaubMitarbeiterClicked=new d.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;constructor(Pe,bt,Qe,Ut,sn,un,Sn,bn,kt,jt,Fe,Ee,ye){this.Debug=Pe,this.Basics=bt,this.Const=Qe,this.DBMitarbeiter=Ut,this.DBMitarbeitersettings=sn,this.Auswahlservice=un,this.DBStandort=Sn,this.DBEmail=bn,this.DBUrlaub=kt,this.GraphService=jt,this.AuthService=Fe,this.Pool=Ee,this.Menuservice=ye;try{this.ShowSuchleiste=!1,this.SuchleisteClearSubscription=null,this.Suchleiste2ClearSubscription=null,this.SuchleisteInputSubscription=null,this.Suchleiste2InputSubscription=null,this.FavoritenSubscription=null,this.Inputtimer=null,this.ShowSandortfilter=!1,this.Projektauswahlbreite=200,this.Filterorigin=this.Const.NONE,this.Wochentaghoehe=30,this.Tagbreite=0,this.Timelinebreite=40,this.HomeMouseOver=!1,this.EmailMouseOver=!1,this.ShowStandorttitle=!1,this.ShowMitarbeitertitle=!1,this.ShowProjektetitle=!1,this.ShowFavoritentitle=!1,this.FilesMouseOver=!1,this.ShowOpenFestlegungOnly=!1,this.SendFestlegungenEnabled=!1,this.BackMouseOver=!1,this.LogoutMouseOver=!1,this.Timelineindex=0}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ProjektsortierungChangedHandler(Pe){try{this.DBEmail.Projektsortierung=Pe.status}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","ProjektsortierungChangedHandler",this.Debug.Typen.Component)}}ShowUngelesenCheckChanged(Pe){try{this.DBEmail.ShowUngelesenOnly=Pe.status,this.ShowUngelesenOnlyChanged.emit()}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","ShowUngelesenCheckChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){var Pe=this;return n(function*(){try{Pe.Tagbreite=(Pe.Basics.Contentbreite-4-Pe.Timelinebreite)/5}catch(bt){Pe.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ngAfterViewInit",Pe.Debug.Typen.Component)}})()}MainMenueButtonClicked(Pe){try{this.Menuservice.MainMenuebereich=Pe,this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(Pe){try{this.Menuservice.FirmaMenuebereich=Pe,this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(Pe){try{this.Menuservice.ProjekteMenuebereich=Pe,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(Pe){try{this.Menuservice.UrlaubMenuebereich=Pe,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(Pe){try{return Pe===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(Pe){try{return Pe===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(Pe){try{return Pe===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(Pe){try{return Pe===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(Pe){try{this.ZeitspanneFilterClicked.emit(Pe)}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(Pe){}GetZeitfilterButtontext(){try{if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return"Seit dem Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return"Bis zum Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return"Zeitspanne";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:return"Monat";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Woche";default:return"Zeitfilter"}}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let Pe,bt,Qe="";if(null!==this.Pool.Mitarbeitersettings){if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Pe=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Pe.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(bt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),bt.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Pe=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Qe+=Pe.format("DD.MM.YYYY")):Qe+="Unbekannt",Qe+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(bt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),Qe+=bt.format("DD.MM.YYYY")):Qe+="Unbekannt",Qe;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Page Header Menu","GetZeitfilterButtonwert",this.Debug.Typen.Component)}}MeintagClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Mein_Tag}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","MeintagClicked",this.Debug.Typen.Component)}}MeineWocheClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meine_Woche}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","MeineWocheClicked",this.Debug.Typen.Component)}}MeilensteineClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meilensteine}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","MeilensteineClicked",this.Debug.Typen.Component)}}ProjektClicked(){try{this.Menuservice.Aufgabenlisteansicht!==this.Menuservice.Aufgabenlisteansichten.Projekt?this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt:this.ShowProjektauswahlEvent.emit()}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(Pe){try{this.ShowOpenFestlegungOnly=Pe.status,this.ShowOpenFestlegungOnlyEvent.emit(Pe.status)}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetMailDatum(){try{return this.DBEmail.Emaildatum}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Page Header Menu","GetMailDatum",this.Debug.Typen.Component)}}EmailDatumChangedHandler(Pe){try{this.DBEmail.Emaildatum=Pe.clone(),this.EmailDatumChanged.emit()}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","EmailDatumChangedHandler",this.Debug.Typen.Component)}}GetDatumtext(Pe){try{let Qe=(0,a.default)().locale("de").clone().startOf("isoWeek");switch(Pe){case"Montag":return Qe.format("DD.MM.");case"Dienstag":return Qe.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return Qe.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return Qe.clone().add(3,"day").format("DD.MM.");case"Freitag":return Qe.clone().add(4,"day").format("DD.MM.")}return""}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}environment=c.environment;static \u0275fac=function(bt){return new(bt||De)(e.\u0275\u0275directiveInject(u.DebugProvider),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.ConstProvider),e.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(C.AuswahlDialogService),e.\u0275\u0275directiveInject(b.DatabaseStandorteService),e.\u0275\u0275directiveInject(_.DatabaseOutlookemailService),e.\u0275\u0275directiveInject(f.DatabaseUrlaubService),e.\u0275\u0275directiveInject(y.Graphservice),e.\u0275\u0275directiveInject(S.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(M.DatabasePoolService),e.\u0275\u0275directiveInject(w.MenueService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:De,selectors:[["page-header-menu"]],viewQuery:function(bt,Qe){if(1&bt&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(I,5),e.\u0275\u0275viewQuery(k,5)),2&bt){let Ut;e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(Qe.Suchleiste=Ut.first),e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(Qe.Suchleiste2=Ut.first),e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(Qe.Sucheiste3=Ut)}},inputs:{ShowSandortfilter:"ShowSandortfilter",ShowSuchleiste:"ShowSuchleiste",Filterorigin:"Filterorigin",ShowStandorttitle:"ShowStandorttitle",ShowMitarbeitertitle:"ShowMitarbeitertitle",ShowProjektetitle:"ShowProjektetitle",ShowFavoritentitle:"ShowFavoritentitle",SendFestlegungenEnabled:"SendFestlegungenEnabled",Timelineindex:"Timelineindex"},outputs:{SucheChanged:"SucheChanged",StandortfilterClicked:"StandortfilterClicked",ZeitspanneFilterClicked:"ZeitspanneFilterClicked",LeistungsphaseFilterClicked:"LeistungsphaseFilterClicked",FilterChanged:"FilterChanged",ShowProjektauswahlEvent:"ShowProjektauswahlEvent",ShowProjektfilesEvent:"ShowProjektfilesEvent",LOPListeZeitspanneEvent:"LOPListeZeitspanneEvent",ShowOpenFestlegungOnlyEvent:"ShowOpenFestlegungOnlyEvent",SendFestlegungenClicked:"SendFestlegungenClicked",ShowUngelesenOnlyChanged:"ShowUngelesenOnlyChanged",ProjektsortierungChanged:"ProjektsortierungChanged",EmailDatumChanged:"EmailDatumChanged",PlanungsmatrixLeistungsphaseClicked:"PlanungsmatrixLeistungsphaseClicked",ShowLOPListeInfoeintraegeChanged:"ShowLOPListeInfoeintraegeChanged",ExpandFestlegungeEvent:"ExpandFestlegungeEvent",UrlaubMitarbeiterClicked:"UrlaubMitarbeiterClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],["align","center","style","width: 12px",4,"ngIf"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",3,"color"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","create-outline",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",3,"color"],["name","thumbs-up-outline",3,"color"],["name","settings-outline",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["name","arrow-back-circle-outline",3,"color"],["align","center",2,"width","12px"],[1,"menubuttonclass"],["name","location-outline",3,"color"],["name","people-outline",3,"color"],["name","business-outline",3,"color"],["name","bookmarks-outline",3,"color"],[1,"paddingtable"],[2,"width","300px"],[3,"Buttontext","ElementID","Datum","TimeChanged"],[3,"Checked","CheckChanged"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss"],[2,"color","white"],["class","userkuerzelsmall",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["colspan","2",2,"padding-left","8px","padding-right","8px"],[2,"width","100%","height","1px","background","white"],["colspan","2"],[1,"wocheheaderdivclass"],["style","background: #354547;",3,"width",4,"ngIf"],[2,"width","1px","background","white"],[2,"background","#354547"]],template:function(bt,Qe){1&bt&&e.\u0275\u0275template(0,qe,21,13,"ng-container",0),2&bt&&e.\u0275\u0275property("ngIf",null!==Qe.AuthService.ActiveUser)},dependencies:[A.NgIf,O.IonBadge,O.IonButton,O.IonIcon,O.IonSearchbar,O.TextValueAccessor,F.CheckboxClonComponent,j.ButtonValueDateComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#454545;border-radius:4px}.planungheaderdiv[_ngcontent-%COMP%]{border-radius:6px;width:40px;height:40px;background:#454545;color:#fff;font-size:90%;display:flex;justify-content:center;align-items:center}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.trennerbigdivclass[_ngcontent-%COMP%]{width:1px;min-height:64px;height:100%;background:silver}ion-searchbar[_ngcontent-%COMP%]{width:300px;height:50px;--border-radius: none;--box-shadow: none;--background: black}.iconboxclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:6px;width:40px;height:40px;background:#444}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:140px;min-height:34px;height:100%;padding:2px;border:1px solid white;border-radius:6px;cursor:pointer}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:50px;min-height:34px;height:100%;border:1px solid white;border-radius:6px;cursor:pointer}.statusvaianteclass[_ngcontent-%COMP%]{padding:6px;border-radius:3px;width:auto;white-space:nowrap;color:#fff;font-size:80%}.wocheheaderdivclass[_ngcontent-%COMP%]{background:#354547;color:#fff;display:flex;justify-content:center;align-items:center}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:#454545;color:#fff;font-weight:700}"]})}return De})()},6168:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(72284),c=o(7388),e=o(22844),u=n.__importStar(o(54496));h.PageHeaderMenuModule=(()=>{class g{static \u0275fac=function(C){return new(C||g)};static \u0275mod=u.\u0275\u0275defineNgModule({type:g});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.ButtonValueModule,c.CheckboxClonModule,e.ButtonValueDateModule]})}return g})()},70216:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=n.__importStar(o(54496));h.PageHeaderModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule]})}return e})()},90212:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderComponent=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(54496)),a=n.__importStar(o(34388)),c=n.__importStar(o(14652)),e=n.__importStar(o(7992)),u=n.__importStar(o(29743)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=["PageHeaderDiv"];function p(_,f){if(1&_&&(d.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),d.\u0275\u0275text(12),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td"),d.\u0275\u0275element(15,"ion-progress-bar",9),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(16,"tr")(17,"td"),d.\u0275\u0275element(18,"div",10),d.\u0275\u0275elementEnd()()()()),2&_){const y=d.\u0275\u0275nextContext();d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate1(" ",y.ProgressMessage," "),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",y.Pool.ProgressMessage," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("value",y.Pool.CurrentProgressValue/y.Pool.MaxProgressValue)}}const C=["*"];h.PageHeaderComponent=(()=>{class _{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(y,S,M,w){this.Debug=y,this.Basics=S,this.Pool=M,this.Const=w;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(A){this.Debug.ShowErrorMessage(A.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(S){return new(S||_)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(c.BasicsProvider),d.\u0275\u0275directiveInject(e.DatabasePoolService),d.\u0275\u0275directiveInject(u.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:_,selectors:[["page-header"]],viewQuery:function(S,M){if(1&S&&d.\u0275\u0275viewQuery(v,7,i.ElementRef),2&S){let w;d.\u0275\u0275queryRefresh(w=d.\u0275\u0275loadQuery())&&(M.PageHeaderDiv=w.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:C,decls:4,vars:1,consts:[[1,"keeperdivclass"],["PageHeaderDiv",""],["class","loadingdivclass",4,"ngIf"],[1,"loadingdivclass"],["width","100%"],[1,"headerdivclass"],[1,"contentdivclass"],["width","100%",1,"paddingtable"],[2,"text-align","center","color","black"],[3,"value"],[2,"background","#354547","width","100%","height","20px"]],template:function(S,M){1&S&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275template(3,p,19,3,"div",2),d.\u0275\u0275elementEnd()),2&S&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",M.Pool.ShowProgress))},dependencies:[l.NgIf,g.IonProgressBar],styles:["ion-progress-bar[_ngcontent-%COMP%]{--background: #444444;--progress-background: #307ac1}.keeperdivclass[_ngcontent-%COMP%]{width:100%;background:#307ac1;min-height:52px}.loadingdivclass[_ngcontent-%COMP%]{position:absolute;width:400px;height:300px;z-index:10000;top:200px;left:50%;transform:translate(-50%)}.headerdivclass[_ngcontent-%COMP%]{background:#307ac1;width:100%;height:30px;padding:4px;color:#fff;display:flex;justify-content:flex-start;align-items:center}.contentdivclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;background:#fff;width:100%;height:120px;padding:6px;display:flex;justify-content:center;align-items:center}"]})}return _})()},54588:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageModalKeepermodule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(70216),c=n.__importStar(o(54496));h.PageModalKeepermodule=(()=>{class u{static \u0275fac=function(v){return new(v||u)};static \u0275mod=c.\u0275\u0275defineNgModule({type:u});static \u0275inj=c.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.PageHeaderModule]})}return u})()},6232:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UrlausplanungKalenderModule=void 0;const n=o(81316),i=o(10716),d=o(91368),a=o(44716),c=o(90520),e=o(89300),u=n.__importStar(o(54496));h.UrlausplanungKalenderModule=(()=>{class g{static \u0275fac=function(C){return new(C||g)};static \u0275mod=u.\u0275\u0275defineNgModule({type:g});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,i.IonicModule,a.ReactiveFormsModule,a.FormsModule,c.PageFooterModule,e.PageHeaderCenterModule]})}return g})()},77440:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PjProjektpunktDateKWPickerComponent=void 0;const n=o(81316),i=o(54496),d=n.__importDefault(o(35908));o(94091);const a=n.__importStar(o(17964)),c=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(14652)),l=n.__importStar(o(7992)),g=n.__importStar(o(21052)),v=n.__importStar(o(9544)),p=n.__importStar(o(19668)),C=n.__importStar(o(29743)),b=n.__importStar(o(91368)),_=n.__importStar(o(10716));function f(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",10)}function y(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",10)}function S(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",10)}function M(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",10)}function w(Re,Ae){1&Re&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",10),c.\u0275\u0275elementContainerEnd())}function A(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",14)}function O(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",14)}function F(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",14)}function j(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",14)}function T(Re,Ae){1&Re&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275element(1,"div",14),c.\u0275\u0275elementContainerEnd())}function I(Re,Ae){if(1&Re&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",5)(2,"div",12),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(4,A,1,0,"div",13)(5,O,1,0,"div",13)(6,F,1,0,"div",13)(7,j,1,0,"div",13)(8,T,2,0,"ng-container",7),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd()),2&Re){const ge=c.\u0275\u0275nextContext().$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(ge.Tagnummer),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_DE),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_BG),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_DE),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_BG),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",Ne.KalendertageExternliste)}}function k(Re,Ae){1&Re&&c.\u0275\u0275element(0,"ion-icon",21)}function N(Re,Ae){if(1&Re){const ge=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",19),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(3).$implicit,qe=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(qe.FerientagMouseOverEvent(it,"DE"))})("mouseleave",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(6);return c.\u0275\u0275resetView(it.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),c.\u0275\u0275template(1,k,1,0,"ion-icon",20),c.\u0275\u0275elementEnd()}if(2&Re){const ge=c.\u0275\u0275nextContext(3).$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",ge.IsFerientag_DE?Ne.DB.Ferienfarbe_DE:ge.Background),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ge.IsFerientag_DE)}}function x(Re,Ae){1&Re&&c.\u0275\u0275element(0,"ion-icon",23)}function H(Re,Ae){if(1&Re){const ge=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",19),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(3).$implicit,qe=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(qe.FerientagMouseOverEvent(it,"BG"))})("mouseleave",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(6);return c.\u0275\u0275resetView(it.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),c.\u0275\u0275template(1,x,1,0,"ion-icon",22),c.\u0275\u0275elementEnd()}if(2&Re){const ge=c.\u0275\u0275nextContext(3).$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",ge.IsFerientag_BG?Ne.DB.Ferienfarbe_BG:ge.Background),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ge.IsFerientag_BG)}}function G(Re,Ae){1&Re&&c.\u0275\u0275element(0,"ion-icon",26)}function te(Re,Ae){if(1&Re){const ge=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",24),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(3).$implicit,qe=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(qe.FeietragMouseOverEvent(it,"DE"))})("mouseleave",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(6);return c.\u0275\u0275resetView(it.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),c.\u0275\u0275template(1,G,1,0,"ion-icon",25),c.\u0275\u0275elementEnd()}if(2&Re){const ge=c.\u0275\u0275nextContext(3).$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",ge.IsFeiertag_DE?Ne.DB.Feiertagefarbe_DE:ge.Background),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ge.IsFeiertag_DE)}}function ce(Re,Ae){1&Re&&c.\u0275\u0275element(0,"ion-icon",28)}function se(Re,Ae){if(1&Re){const ge=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",24),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(3).$implicit,qe=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(qe.FeietragMouseOverEvent(it,"BG"))})("mouseleave",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(6);return c.\u0275\u0275resetView(it.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),c.\u0275\u0275template(1,ce,1,0,"ion-icon",27),c.\u0275\u0275elementEnd()}if(2&Re){const ge=c.\u0275\u0275nextContext(3).$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",ge.IsFeiertag_BG?Ne.DB.Feiertagefarbe_BG:ge.Background),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ge.IsFeiertag_BG)}}function K(Re,Ae){if(1&Re&&(c.\u0275\u0275elementStart(0,"div",31),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&Re){const ge=c.\u0275\u0275nextContext().$implicit,Ne=c.\u0275\u0275nextContext(3).index,it=c.\u0275\u0275nextContext().index;c.\u0275\u0275styleProp("background",ge[it][Ne].Background),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(ge[it][Ne].Kuerzel)}}function Z(Re,Ae){1&Re&&c.\u0275\u0275element(0,"div",32)}function re(Re,Ae){if(1&Re&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,K,2,3,"div",29)(2,Z,1,0,"div",30),c.\u0275\u0275elementContainerEnd()),2&Re){const ge=Ae.$implicit,Ne=c.\u0275\u0275nextContext(3).index,it=c.\u0275\u0275nextContext().index;c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",ge[it][Ne].IsUrlaub),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!ge[it][Ne].IsUrlaub)}}function X(Re,Ae){if(1&Re){const ge=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",15),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(ge);const it=c.\u0275\u0275nextContext(2),qe=it.$implicit,et=it.index,De=c.\u0275\u0275nextContext().index,je=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(je.TagClicked(qe,De,et))}),c.\u0275\u0275elementStart(2,"div",16),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(4,N,2,3,"div",17)(5,H,2,3,"div",17)(6,te,2,3,"div",18)(7,se,2,3,"div",18)(8,re,3,2,"ng-container",7),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementContainerEnd()}if(2&Re){const ge=c.\u0275\u0275nextContext(2).$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(2),c.\u0275\u0275styleProp("background",Ne.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub?ge.Background:"none")("color",Ne.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub?ge.Color:"black"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(ge.Tagnummer),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_DE),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_BG),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_DE),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_BG),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",Ne.KalendertageExternliste)}}function W(Re,Ae){if(1&Re&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275text(1),c.\u0275\u0275elementContainerEnd()),2&Re){const ge=c.\u0275\u0275nextContext(2).$implicit;c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",ge.Tagnummer," ")}}function Y(Re,Ae){if(1&Re&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,X,9,10,"ng-container",11)(2,W,2,1,"ng-container",11),c.\u0275\u0275elementContainerEnd()),2&Re){const ge=c.\u0275\u0275nextContext().$implicit,Ne=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!0===ge.Hauptmonat&&null!==Ne.Pool.Mitarbeitersettings),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!1===ge.Hauptmonat)}}function q(Re,Ae){if(1&Re&&(c.\u0275\u0275elementStart(0,"td"),c.\u0275\u0275template(1,I,9,6,"ng-container",11)(2,Y,3,2,"ng-container",11),c.\u0275\u0275elementEnd()),2&Re){const Ne=Ae.index;c.\u0275\u0275styleProp("color",!0===Ae.$implicit.Hauptmonat?"black":"darkgray"),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne>=5),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ne<5)}}function he(Re,Ae){if(1&Re&&(c.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",5)(3,"div",6),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(5,f,1,0,"div",8)(6,y,1,0,"div",8)(7,S,1,0,"div",8)(8,M,1,0,"div",8)(9,w,2,0,"ng-container",7),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(10,q,3,4,"td",9),c.\u0275\u0275elementEnd()),2&Re){const ge=Ae.$implicit,Ne=Ae.index,it=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(ge[Ne].Kalenderwoche),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",it.DB.ShowFerientage_DE),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",it.DB.ShowFerientage_BG),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",it.DB.ShowFeiertage_DE),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",it.DB.ShowFeiertage_BG),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",it.KalendertageExternliste),c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",ge)}}function _e(Re,Ae){if(1&Re&&(c.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),c.\u0275\u0275text(9,"KW"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),c.\u0275\u0275text(13,"Mo"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),c.\u0275\u0275text(17,"Di"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),c.\u0275\u0275text(21,"Mi"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),c.\u0275\u0275text(25,"Do"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),c.\u0275\u0275text(29,"Fr"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),c.\u0275\u0275text(33,"Sa"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),c.\u0275\u0275text(37,"So"),c.\u0275\u0275elementEnd()()()(),c.\u0275\u0275template(38,he,11,7,"tr",7),c.\u0275\u0275elementEnd()()),2&Re){const ge=c.\u0275\u0275nextContext();c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate1(" ",ge.GetMonatname()," "),c.\u0275\u0275advance(34),c.\u0275\u0275property("ngForOf",ge.Kalendertageliste)}}h.PjProjektpunktDateKWPickerComponent=(()=>{class Re{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;ShowYear;FeiertagCrossedEvent=new i.EventEmitter;FerientagCrossedEvent=new i.EventEmitter;AddUrlaubFinished=new i.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;constructor(ge,Ne,it,qe,et,De,je){this.Debug=ge,this.Basics=Ne,this.Pool=it,this.Displayservice=qe,this.DB=et,this.Tools=De,this.Const=je;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.Monatindex=0,this.ShowYear=!1,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(ge){try{a.isUndefined(ge.Monatindex)||this.PrepareData()}catch(Ne){this.Debug.ShowErrorMessage(Ne,"file","function",this.Debug.Typen.Page)}}PrepareData(){try{let ge,Ne,it,qe,et,je,Pe,bt,Qe,Ut,sn,De=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],De=De<10?"0"+De.toString():De.toString(),ge=(0,d.default)(this.Jahr.toString()+"-"+De,"YYYY-MM").daysInMonth(),Ne=ge;let un=(0,d.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),Sn=(0,d.default)().set({date:ge,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");it=un.isoWeekday(),qe=it-1,Ne+=qe,Pe=un.clone().subtract(qe,"day"),Qe=Pe.clone(),it=Sn.isoWeekday(),qe=7-it,Ne+=qe,et=Ne/7,sn=Qe.clone(),this.Kalendertageliste=[];for(let bn=0;bn{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()})}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Urlaubsplanung Kalender","ngOnInit",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.ProjektpunktDateKwPicker),this.DataSubscription.unsubscribe(),this.DataSubscription=null,this.MonateSubscription.unsubscribe(),this.MonateSubscription=null,this.ExterneUrlaubSubscription.unsubscribe(),this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription.unsubscribe(),this.UrlaubStatusSubscription=null}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(ge,Ne){try{let it="",qe=(0,d.default)(ge.Tagstempel).locale("DE"===Ne?"de":"en");(ge.IsFeiertag_DE||ge.IsFeiertag_BG)&&("DE"===Ne&&ge.IsFeiertag_DE?(it=ge.Feiertagname_DE+" / "+qe.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:it,Laendercode:Ne})):"BG"===Ne&&ge.IsFeiertag_BG&&(it=ge.Feiertagname_BG+" / "+qe.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:it,Laendercode:Ne})))}catch(it){this.Debug.ShowErrorMessage(it,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(ge,Ne){try{this.FerientagCrossedEvent.emit({Name:"DE"===Ne?ge.Ferienname_DE:ge.Ferienname_BG,Laendercode:Ne})}catch(it){this.Debug.ShowErrorMessage(it,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(ge,Ne,it){try{let qe,et,De,bt,je=0,Pe="DE"===this.DB.Laendercode?ge.IsFeiertag_DE:ge.IsFeiertag_BG;if(this.AddUrlaubRunning&&!1===Pe)if(null===this.DB.CurrentZeitspanne)this.DB.CurrentZeitspanne=this.DB.GetEmptyZeitspanne(),this.DB.CurrentZeitspanne.Startstempel=ge.Tagstempel,this.DB.CurrentZeitspanne.Startstring=ge.Datumstring,ge.Background=this.DB.Urlaubsfaben.Geplant,ge.IsUrlaub=!0,ge.Color="white";else if(et=(0,d.default)(this.DB.CurrentZeitspanne.Startstempel),qe=(0,d.default)(ge.Tagstempel),!0===qe.isSameOrAfter(et,"day")&&qe.isSame(et,"week")){this.DB.CurrentZeitspanne.Endestempel=ge.Tagstempel,this.DB.CurrentZeitspanne.Endestring=ge.Datumstring;for(let Qe=it;Qe>=0;Qe--)De=this.Kalendertageliste[Ne][Qe],Pe="DE"===this.DB.Laendercode?De.IsFeiertag_DE:De.IsFeiertag_BG,!1===Pe&&(De.Background=this.DB.Urlaubsfaben.Geplant,De.IsUrlaub=!0,De.Color="white",je++);this.DB.CurrentZeitspanne.Tageanzahl=je,bt=this.DB.CountResturlaub(),bt-je>=0?this.AddUrlaubFinished.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+bt+" Tage Resturlaub."),this.DB.CurrentZeitspanne=null,window.setTimeout(()=>{for(let Qe=it;Qe>=0;Qe--)De=this.Kalendertageliste[Ne][Qe],Pe="DE"===this.DB.Laendercode?De.IsFeiertag_DE:De.IsFeiertag_BG,!1===Pe&&(De.Background="none",De.IsUrlaub=!1,De.Color="black");this.AddUrlaubFinished.emit(!1)},3e3))}else this.Tools.ShowHinweisDialog("Bitte Tag in der gleichen Woche w\xe4hlen.");else this.AddUrlaubRunning&&this.Tools.ShowHinweisDialog("Dieser Tag ist ein Feiertag.")}catch(qe){this.Debug.ShowErrorMessage(qe,"Urlaubsplanung Kalender","TagClicked",this.Debug.Typen.Component)}}GetMonatname(){try{let ge=this.Monatname;return this.ShowYear&&(ge+=" "+this.Jahr),ge}catch(ge){this.Debug.ShowErrorMessage(ge,"Urlaubsplanung Kalender","GetMonatname",this.Debug.Typen.Component)}}static \u0275fac=function(Ne){return new(Ne||Re)(c.\u0275\u0275directiveInject(e.DebugProvider),c.\u0275\u0275directiveInject(u.BasicsProvider),c.\u0275\u0275directiveInject(l.DatabasePoolService),c.\u0275\u0275directiveInject(g.DisplayService),c.\u0275\u0275directiveInject(v.DatabaseUrlaubService),c.\u0275\u0275directiveInject(p.ToolsProvider),c.\u0275\u0275directiveInject(C.ConstProvider))};static \u0275cmp=c.\u0275\u0275defineComponent({type:Re,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinished:"AddUrlaubFinished"},features:[c.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[["class","frameclass",4,"ngIf"],[1,"frameclass"],["width","100%",1,"paddingsmalltable"],["colspan","8",2,"font-size","120%","font-weight","bold","color","black","text-align","center"],[2,"width","12%"],[1,"tagrahmenclass"],[1,"taginfodivclass"],[4,"ngFor","ngForOf"],["class","taginfospacedivclass",4,"ngIf"],[3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],["class","feriendivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],["class","feiertagdivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],[1,"feriendivclass",3,"mouseenter","mouseleave"],["name","school-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","gelb",2,"font-size","18px"],[1,"feiertagdivclass",3,"mouseenter","mouseleave"],["name","flag-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","flag-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","gelb",2,"font-size","18px"],["class","tagexterndivclass",3,"background",4,"ngIf"],["class","tagexternemptydivclass",4,"ngIf"],[1,"tagexterndivclass"],[1,"tagexternemptydivclass"]],template:function(Ne,it){1&Ne&&c.\u0275\u0275template(0,_e,39,2,"div",0),2&Ne&&c.\u0275\u0275property("ngIf",null!==it.Pool.Mitarbeitersettings)},dependencies:[b.NgForOf,b.NgIf,_.IonIcon],styles:[".frameclass[_ngcontent-%COMP%]{border:1px solid #307ac1;background:#fff;color:#fff;padding:4px;width:100%;height:100%}.tagrahmenclass[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid #444444}.feiertagdivclass[_ngcontent-%COMP%], .feriendivclass[_ngcontent-%COMP%]{width:100%;height:20px;cursor:pointer;display:flex;justify-content:center;align-items:center}.taginfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:inherit;height:36px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:36px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:36px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.tagexternemptydivclass[_ngcontent-%COMP%]{border-top:1px solid;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.buttoninfoclass[_ngcontent-%COMP%]{width:100%;height:10px;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%}.kwdivclass[_ngcontent-%COMP%]{border-radius:50px;height:38px;background:none;color:#000;display:flex;justify-content:center;align-items:center;cursor:pointer}"]})}return Re})()},44180:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Fachbereiche=void 0,h.Fachbereiche=class o{_Elektrotechnik={Bezeichnung:"Elektrotechnik",Kuerzel:"ELT",Key:"ELT"};_BMA={Bezeichnung:"Brandmeldeanlage",Kuerzel:"BMA",Key:"BMA"};_EMA={Bezeichnung:"Einbruchmeldeanlage",Kuerzel:"EMA",Key:"EMA"};_GMA={Bezeichnung:"Gefahrenmeldeanlage",Kuerzel:"GMA",Key:"GMA"};_Aufzug={Bezeichnung:"F\xf6rderanlagen",Kuerzel:"Aufzug",Key:"Aufzug"};_Unbekannt={Bezeichnung:"Unbekannt",Kuerzel:"Unbekannt",Key:"Unbekannt"};_HLS={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r",Kuerzel:"HLS",Key:"HLS"};_HLSE={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r, Elektro",Kuerzel:"HLSE",Key:"HLSE"};_H={Bezeichnung:"Heizung",Kuerzel:"H",Key:"H"};_L={Bezeichnung:"L\xfcftung",Kuerzel:"L",Key:"L"};_S={Bezeichnung:"Sanit\xe4r",Kuerzel:"S",Key:"S"};_K={Bezeichnung:"Klimatisierung",Kuerzel:"K",Key:"K"};_MSR={Bezeichnung:"Messen, Steuern, Regeln",Kuerzel:"MSR",Key:"MSR"};_Geschaeftsfuehrung={Bezeichnung:"Gesch\xe4ftsfuehrung",Kuerzel:"GF",Key:"GF"};_Assistenz={Bezeichnung:"Assistenz",Kuerzel:"AS",Key:"AS"};_Prokurist={Bezeichnung:"Prokurist",Kuerzel:"PRO",Key:"PRO"};_Planer={Bezeichnung:"Planer",Kuerzel:"PLAN",Key:"Planer"};_Teamleitung={Bezeichnung:"Teamleitung",Kuerzel:"TL",Key:"TL"};_Projektleitung={Bezeichnung:"Projektleitung",Kuerzel:"PL",Key:"PL"};_Studentin={Bezeichnung:"Student/in",Kuerzel:"STUDI",Key:"STUDI"};_Auszubildende={Bezeichnung:"Auszubildende/r",Kuerzel:"AZUBI",Key:"AZUBI"};_Objektueberwachung={Bezeichnung:"_Objekt\xfcberwachung",Kuerzel:"O\xdc",Key:"OUE"};_Buchhaltung={Bezeichnung:"Buchhaltung",Kuerzel:"BH",Key:"BH"};_Marketing={Bezeichnung:"Marketing",Kuerzel:"MA",Key:"MA"};_Praktikantin={Bezeichnung:"Praktikant/in",Kuerzel:"PA",Key:"PA"};_IT={Bezeichnung:"IT - Abteilung",Kuerzel:"IT",Key:"IT"};_Controlling={Bezeichnung:"Controlling",Kuerzel:"CO",Key:"CO"};_Techniker={Bezeichnung:"Techniker/in",Kuerzel:"TECH",Key:"TECH"};_Niederlassungsleitung={Bezeichnung:"Niederlassungsleitung",Kuerzel:"NL",Key:"NL"};_Architektin={Bezeichnung:"Architekt/in",Kuerzel:"AR",Key:"AR"};_Kauffrau={Bezeichnung:"Kauffrau/mann",Kuerzel:"KF",Key:"KF"};_HR={Bezeichnung:"Human Resources",Kuerzel:"HR",Key:"HR"};_Test={Bezeichnung:"Test",Kuerzel:"TEST",Key:"TEST"};Gewerkeliste;constructor(){this.Gewerkeliste=[],this.Gewerkeliste.push(this.GetFachbereichbyKey("ELT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Unbekannt")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLSE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("H")),this.Gewerkeliste.push(this.GetFachbereichbyKey("L")),this.Gewerkeliste.push(this.GetFachbereichbyKey("S")),this.Gewerkeliste.push(this.GetFachbereichbyKey("K")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MSR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PRO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Planer")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("STUDI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AZUBI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("OUE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("IT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("CO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TECH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("NL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("KF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("EMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Aufzug"));for(let i of this.Gewerkeliste)i.Visible=!0;this.Gewerkeliste.sort((i,d)=>i.Bezeichnungd.Bezeichnung?1:0)}get Elektrotechnik(){return this._Elektrotechnik}get BMA(){return this._BMA}get EMA(){return this._EMA}get GMA(){return this._GMA}get Aufzug(){return this._Aufzug}get Unbekannt(){return this._Unbekannt}get HLS(){return this._HLS}get HLSE(){return this._HLSE}get H(){return this._H}get L(){return this._L}get S(){return this._S}get K(){return this._K}get MSR(){return this._MSR}get Geschaeftsfuehrung(){return this._Geschaeftsfuehrung}get Assistenz(){return this._Assistenz}get Prokurist(){return this._Prokurist}get Planer(){return this._Planer}get Teamleitung(){return this._Teamleitung}get Projektleitung(){return this._Projektleitung}get Studentin(){return this._Studentin}get Auszubildende(){return this._Auszubildende}get Objektueberwachung(){return this._Objektueberwachung}get Buchhaltung(){return this._Buchhaltung}get Marketing(){return this._Marketing}get Praktikantin(){return this._Praktikantin}get IT(){return this._IT}get Controlling(){return this._Controlling}get Niederlassungsleitung(){return this._Niederlassungsleitung}get Architektin(){return this._Architektin}get Kauffrau(){return this._Kauffrau}get HR(){return this._HR}get Techniker(){return this._Techniker}GetFachbereichbyKey(i){switch(i){case"ELT":return this._Elektrotechnik;case"Unbekannt":default:return this._Unbekannt;case"HLS":return this._HLS;case"HLSE":return this._HLSE;case"H":return this._H;case"L":return this._L;case"S":return this._S;case"K":return this._K;case"MSR":return this._MSR;case"GF":return this._Geschaeftsfuehrung;case"AS":return this._Assistenz;case"PRO":return this._Prokurist;case"Planer":return this._Planer;case"TL":return this._Teamleitung;case"PL":return this._Projektleitung;case"STUDI":return this._Studentin;case"AZUBI":return this._Auszubildende;case"OUE":return this._Objektueberwachung;case"BH":return this._Buchhaltung;case"MA":return this._Marketing;case"PA":return this._Praktikantin;case"IT":return this._IT;case"CO":return this._Controlling;case"TECH":return this._Techniker;case"NL":return this._Niederlassungsleitung;case"AR":return this._Architektin;case"KF":return this._Kauffrau;case"HR":return this._HR;case"BMA":return this._BMA;case"EMA":return this._EMA;case"GMA":return this._GMA;case"Aufzug":return this._Aufzug}}}},37724:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),c=o(10716),e=o(66788),u=o(70216),l=o(6512),g=o(90520),v=o(6168),p=o(15756),C=o(7388),b=n.__importStar(o(54496)),f=(n.__importStar(o(56568)),[{path:"",component:e.CommonDebugPage}]);h.CommonDebugPageModule=(()=>{class S{static \u0275fac=function(A){return new(A||S)};static \u0275mod=b.\u0275\u0275defineNgModule({type:S});static \u0275inj=b.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,c.IonicModule,a.RouterModule.forChild(f),u.PageHeaderModule,l.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,v.PageHeaderMenuModule,p.PrettyjsonModule,C.CheckboxClonModule]})}return S})()},66788:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(34388)),c=n.__importStar(o(19668)),e=n.__importStar(o(29743)),u=n.__importStar(o(44716)),l=n.__importStar(o(97048)),g=n.__importStar(o(7992)),v=n.__importStar(o(97092)),p=n.__importStar(o(91368)),C=n.__importStar(o(10716)),b=n.__importStar(o(90212)),_=n.__importStar(o(73088)),f=n.__importStar(o(29856)),y=n.__importStar(o(63792)),S=n.__importStar(o(25856));function M(A,O){if(1&A&&(i.\u0275\u0275elementStart(0,"tr")(1,"td"),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td"),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()()),2&A){const F=O.$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(F.Message),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",F.Color),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(F.Message),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(F.Function)}}h.CommonDebugPage=(()=>{class A{Basics;Debug;Tools;Const;fb;http;Pool;AuthService;Title;constructor(F,j,T,I,k,N,x,H){this.Basics=F,this.Debug=j,this.Tools=T,this.Const=I,this.fb=k,this.http=N,this.Pool=x,this.AuthService=H}ngOnInit(){}ionViewDidEnter(){try{this.Title="Debug"}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnDestroy(){}ClearMessagesButtonCLcicked(){try{this.Debug.Debugmessageliste=[]}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ClearMessagesButtonCLcicked",this.Debug.Typen.Page)}}ChangeShowHomeScreenInfos(F){try{this.Basics.ShowHomeScreenInfos=F.status}catch(j){this.Debug.ShowErrorMessage(j,"Debug","ChangeShowHomeScreenInfos",this.Debug.Typen.Page)}}DebugNoExternalEmailChanged(F){try{this.Basics.DebugNoExternalEmail=F.status}catch(j){this.Debug.ShowErrorMessage(j,"Debug","DebugNoExternalEmailChanged",this.Debug.Typen.Page)}}TestButtonChlicked(){}static \u0275fac=function(j){return new(j||A)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(a.DebugProvider),i.\u0275\u0275directiveInject(c.ToolsProvider),i.\u0275\u0275directiveInject(e.ConstProvider),i.\u0275\u0275directiveInject(u.FormBuilder),i.\u0275\u0275directiveInject(l.HttpClient),i.\u0275\u0275directiveInject(g.DatabasePoolService),i.\u0275\u0275directiveInject(v.DatabaseAuthenticationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:A,selectors:[["common-debug-page"]],decls:47,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[3,"click"],[1,"docinnertable"],[2,"font-weight","bold"],[4,"ngFor","ngForOf"],["PageFooter",""]],template:function(j,T){1&j&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu",2),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"ion-grid")(6,"ion-row")(7,"ion-col")(8,"table",3)(9,"tr")(10,"td")(11,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(k){return T.ChangeShowHomeScreenInfos(k)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13," Zeige Homescreen Zusatzinformationen "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"table",3)(17,"tr")(18,"td")(19,"checkbox-clon",4),i.\u0275\u0275listener("CheckChanged",function(k){return T.DebugNoExternalEmailChanged(k)}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21," Keine Emails nach au\xdfen senden -> nur an p.hornburger@gmail.com "),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(22,"ion-row")(23,"ion-col")(24,"table")(25,"tr")(26,"td")(27,"ion-button",5),i.\u0275\u0275listener("click",function(){return T.TestButtonChlicked()}),i.\u0275\u0275text(28,"Test"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"td")(30,"ion-button",5),i.\u0275\u0275listener("click",function(){return T.ClearMessagesButtonCLcicked()}),i.\u0275\u0275text(31,"Clear Messages"),i.\u0275\u0275elementEnd()()()()()()(),i.\u0275\u0275elementStart(32,"table",6)(33,"tr")(34,"td",7),i.\u0275\u0275text(35,"Skpript"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td",7),i.\u0275\u0275text(37,"Message"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(38,"td",7),i.\u0275\u0275text(39,"Funktion"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(40,M,7,5,"tr",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(41,"br")(42,"br")(43,"abstand-element-fixed"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(44,"ion-footer"),i.\u0275\u0275element(45,"page-footer",null,9),i.\u0275\u0275elementEnd()),2&j&&(i.\u0275\u0275advance(3),i.\u0275\u0275property("ShowSuchleiste",!1),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",T.Basics.ShowHomeScreenInfos),i.\u0275\u0275advance(8),i.\u0275\u0275property("Checked",T.Basics.DebugNoExternalEmail),i.\u0275\u0275advance(21),i.\u0275\u0275property("ngForOf",T.Debug.Debugmessageliste))},dependencies:[p.NgForOf,C.IonButton,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonRow,b.PageHeaderComponent,_.AbstandElementFixedComponent,f.PageFooterComponent,y.PageHeaderMenuComponent,S.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return A})()},66068:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),c=o(42764),e=o(70216),u=o(56568),l=o(6168),g=o(90520),v=o(7388),p=o(72284),C=o(10272),b=o(2300),_=o(84104),f=n.__importStar(o(54496)),S=(n.__importStar(o(56568)),[{path:"",component:c.CommonEinstellungenPage}]);h.CommonEinstellungenPageModule=(()=>{class w{static \u0275fac=function(F){return new(F||w)};static \u0275mod=f.\u0275\u0275defineNgModule({type:w});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(S),l.PageHeaderMenuModule,g.PageFooterModule,v.CheckboxClonModule,p.ButtonValueModule,C.AuswahlDialogModule,b.EditorComponent,_.SafePipeModule]})}return w})()},42764:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(15024)),a=n.__importStar(o(7992)),c=n.__importStar(o(29743)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),l=n.__importStar(o(91368)),g=n.__importStar(o(10716)),v=n.__importStar(o(90212)),p=n.__importStar(o(63792)),C=n.__importStar(o(29856)),b=n.__importStar(o(25856)),_=n.__importStar(o(13228)),f=n.__importStar(o(56584)),y=n.__importStar(o(66144));function S(F,j){if(1&F&&(i.\u0275\u0275elementStart(0,"td")(1,"span"),i.\u0275\u0275text(2,"Testgr\xf6\xdfentest"),i.\u0275\u0275elementEnd()()),2&F){const T=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("font-size",T.Pool.Mitarbeitersettings.Textsize,"px")}}function M(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",11)(3,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.FavoritenanzahlClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(4,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"tr")(6,"td",11)(7,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.MeilensteineNachlaufClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(8,"td",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"tr")(10,"td",11)(11,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.ZoomfaktorClicked())}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"tr")(13,"td",11)(14,"button-value",12),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(T);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.TextsizeClicked())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(15,"td",14),i.\u0275\u0275template(16,S,3,2,"td",5),i.\u0275\u0275elementEnd()()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Anzahl der Favoriten pro Zeile")("Wert_A",T.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Meilensteine anzeigen nach Erledigung")("Wert_A",T.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf.toString()+" Kalenderwochen")("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(4),i.\u0275\u0275property("Buttontext","Zoomfaktor")("Wert_A",T.Pool.Mitarbeitersettings.Zoomfaktor.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Textgr\xf6\xdfe")("Wert_A",T.Pool.Mitarbeitersettings.Textsize.toString()+" Pixel")("Buttoncolor",T.Basics.Farben.Burnicklbraun),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==T.Pool.Mitarbeitersettings)}}function w(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"table",10)(4,"tr")(5,"td")(6,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Nummer"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275text(8,"Nummer"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Startdatum"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(12,"td"),i.\u0275\u0275text(13,"Startdatum"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"tr")(15,"td")(16,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Aufgabe"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(17,"td"),i.\u0275\u0275text(18,"Aufgabe"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(19,"tr")(20,"td")(21,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Bemerkungen"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(22,"td"),i.\u0275\u0275text(23,"Bemerkungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(24,"tr")(25,"td")(26,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Fortschritt"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(27,"td"),i.\u0275\u0275text(28,"Fortschritt"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(29,"tr")(30,"td")(31,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Zeitansatz"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(32,"td"),i.\u0275\u0275text(33,"Zeitansatz"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(34,"tr")(35,"td")(36,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Termin"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(37,"td"),i.\u0275\u0275text(38,"Termin"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(39,"tr")(40,"td")(41,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Tage"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(42,"td"),i.\u0275\u0275text(43,"Tage"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(44,"tr")(45,"td")(46,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Zustaendig"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(47,"td"),i.\u0275\u0275text(48,"Zust\xe4ndig"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(49,"tr")(50,"td")(51,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Status"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(52,"td"),i.\u0275\u0275text(53,"Status"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(54,"tr")(55,"td")(56,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Meintag"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(57,"td"),i.\u0275\u0275text(58,"Meintag"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(59,"tr")(60,"td")(61,"checkbox-clon",15),i.\u0275\u0275listener("CheckChanged",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.ListesettingCheckChanged(k,"Meine Woche"))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(62,"td"),i.\u0275\u0275text(63,"Meine Woche"),i.\u0275\u0275elementEnd()()()()()()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275advance(6),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowNummer),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStartdatum),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowAufgabe),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowBemerkung),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowFortschritt),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZeitansatz),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTermin),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTage),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZustaendig),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStatus),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeintag),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeinewoche)}}function A(F,j){if(1&F){const T=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"auswahl-dialog",16),i.\u0275\u0275listener("OkClickedEvent",function(k){i.\u0275\u0275restoreView(T);const N=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(N.AuswahlOkButtonClicked(k))})("CancelClickedEvent",function(){i.\u0275\u0275restoreView(T);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.ShowAuswahl=!1)}),i.\u0275\u0275elementEnd()}if(2&F){const T=i.\u0275\u0275nextContext();i.\u0275\u0275property("Auswahlliste",T.Auswahlliste)("Auswahlindex",T.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",T.Auswahltitel)("Iconname","apps-outline")}}h.CommonEinstellungenPage=(()=>{class F{MitarbeitersettingsDB;Pool;Const;Basics;Debug;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;Editorconfig;Signatur;Mitarbeitersubscription;constructor(T,I,k,N,x){this.MitarbeitersettingsDB=T,this.Pool=I,this.Const=k,this.Basics=N,this.Debug=x;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowAuswahl=!1,this.Signatur=this.Const.NONE,this.Auswahldialogorigin=this.Const.NONE,this.Mitarbeitersubscription=null,this.Editorconfig={menubar:!1,statusbar:!1,language:"de",browser_spellcheck:!0,height:800,auto_focus:!0,content_style:"body { color: black; margin: 0; line-height: 0.9; }, ",base_url:"assets/tinymce",suffix:".min",toolbar:[{name:"styles",items:["forecolor","backcolor"]},{name:"formatting",items:["bold","italic","underline","strikethrough"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]}]}}catch(H){this.Debug.ShowErrorMessage(H.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.Mitarbeitersubscription.unsubscribe(),this.Mitarbeitersubscription=null}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Mitarbeitersubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnInit",this.Debug.Typen.Page)}}ListesettingCheckChanged(T,I){try{switch(I){case"Nummer":this.Pool.Mitarbeitersettings.AufgabenShowNummer=T.status;break;case"Startdatum":this.Pool.Mitarbeitersettings.AufgabenShowStartdatum=T.status;break;case"Aufgabe":this.Pool.Mitarbeitersettings.AufgabenShowAufgabe=T.status;break;case"Bemerkungen":this.Pool.Mitarbeitersettings.AufgabenShowBemerkung=T.status;break;case"Fortschritt":this.Pool.Mitarbeitersettings.AufgabenShowFortschritt=T.status;break;case"Tage":this.Pool.Mitarbeitersettings.AufgabenShowTage=T.status;break;case"Zeitansatz":this.Pool.Mitarbeitersettings.AufgabenShowZeitansatz=T.status;break;case"Termin":this.Pool.Mitarbeitersettings.AufgabenShowTermin=T.status;break;case"Zustaendig":this.Pool.Mitarbeitersettings.AufgabenShowZustaendig=T.status;break;case"Status":this.Pool.Mitarbeitersettings.AufgabenShowStatus=T.status;break;case"Meintag":this.Pool.Mitarbeitersettings.AufgabenShowMeintag=T.status;break;case"Meine Woche":this.Pool.Mitarbeitersettings.AufgabenShowMeinewoche=T.status}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{}).catch(k=>{this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)})}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)}}SignaturTextChangedHandler(T){}FavoritenanzahlClicked(){try{this.Auswahldialogorigin="Favoritenanzahl",this.ShowAuswahl=!0,this.Auswahltitel="Favoritenanzahl festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"4",SecoundColumn:"",Data:4}),this.Auswahlliste.push({Index:1,FirstColumn:"5",SecoundColumn:"",Data:5}),this.Auswahlliste.push({Index:2,FirstColumn:"6",SecoundColumn:"",Data:6}),this.Auswahlliste.push({Index:3,FirstColumn:"7",SecoundColumn:"",Data:7}),this.Auswahlliste.push({Index:4,FirstColumn:"8",SecoundColumn:"",Data:8}),this.Auswahlliste.push({Index:5,FirstColumn:"9",SecoundColumn:"",Data:9}),this.Auswahlliste.push({Index:6,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:7,FirstColumn:"11",SecoundColumn:"",Data:11}),this.Auswahlliste.push({Index:8,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Mitarbeiter Settings","FavoritenanzahlClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(T){try{switch(this.Auswahldialogorigin){case"Favoritenanzahl":this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten=T;break;case"MeielnsteineNachlauf":this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf=T;break;case"Zoomfaktor":this.Pool.Mitarbeitersettings.Zoomfaktor=T;break;case"Textgroesse":this.Pool.Mitarbeitersettings.Textsize=T}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{switch(this.Auswahldialogorigin){case"Favoritenanzahl":case"MeielnsteineNachlauf":break;case"Zoomfaktor":this.Pool.MitarbeitersettingsChanged.emit()}}).catch(I=>{this.Debug.ShowErrorMessage(I.message,"Einstellungen","MaxFavoritenanzahlChanged",this.Debug.Typen.Page)}),this.ShowAuswahl=!1}catch(I){this.Debug.ShowErrorMessage(I.message,"Einstellungen","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}MeilensteineNachlaufClicked(){try{this.Auswahldialogorigin="MeielnsteineNachlauf",this.ShowAuswahl=!0,this.Auswahltitel="Mailensteine Nachlauf festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"1 Kalderwoche",SecoundColumn:"",Data:1}),this.Auswahlliste.push({Index:1,FirstColumn:"2 Kalenderwochen",SecoundColumn:"",Data:2}),this.Auswahlliste.push({Index:2,FirstColumn:"3 Kalenderwochen",SecoundColumn:"",Data:3}),this.Auswahlliste.push({Index:3,FirstColumn:"4 Kalenderwochen",SecoundColumn:"",Data:4}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Einstellungen","MeilensteineNachlaufClicked",this.Debug.Typen.Page)}}ZoomfaktorClicked(){try{this.Auswahldialogorigin="Zoomfaktor",this.ShowAuswahl=!0,this.Auswahltitel="Zoomfaktor festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"120",SecoundColumn:"",Data:120}),this.Auswahlliste.push({Index:1,FirstColumn:"110",SecoundColumn:"",Data:110}),this.Auswahlliste.push({Index:2,FirstColumn:"100",SecoundColumn:"",Data:100}),this.Auswahlliste.push({Index:3,FirstColumn:"90",SecoundColumn:"",Data:90}),this.Auswahlliste.push({Index:4,FirstColumn:"80",SecoundColumn:"",Data:80}),this.Auswahlliste.push({Index:5,FirstColumn:"70",SecoundColumn:"",Data:70}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Zoomfaktor),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}}TextsizeClicked(){this.Auswahldialogorigin="Textgroesse",this.ShowAuswahl=!0,this.Auswahltitel="Textgr\xf6\xdfe",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlliste.push({Index:2,FirstColumn:"14",SecoundColumn:"",Data:14}),this.Auswahlliste.push({Index:3,FirstColumn:"16",SecoundColumn:"",Data:16}),this.Auswahlliste.push({Index:4,FirstColumn:"18",SecoundColumn:"",Data:18}),this.Auswahlliste.push({Index:5,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:6,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Textsize),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}replaceAll(T,I,k){return T.split(I).join(k)}PrepareData(){try{this.Signatur=this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}static \u0275fac=function(I){return new(I||F)(i.\u0275\u0275directiveInject(d.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(a.DatabasePoolService),i.\u0275\u0275directiveInject(c.ConstProvider),i.\u0275\u0275directiveInject(e.BasicsProvider),i.\u0275\u0275directiveInject(u.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:F,selectors:[["common-einstellungen-page"]],decls:17,vars:7,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],["valign","top",2,"width","auto"],["class","paddingtable",4,"ngIf"],[4,"ngIf"],[2,"width","800px","padding","6px"],[2,"width","800px","height","800px","border","1px solid gray","padding","4px","border-radius","4px",3,"innerHTML"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[1,"paddingtable"],[2,"width","460px"],[3,"Buttontext","Wert_A","Buttoncolor","ButtonClicked"],["colspan","2"],[2,"width","10px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(I,k){1&I&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td",3),i.\u0275\u0275template(8,M,17,13,"table",4)(9,w,64,12,"ion-grid",5),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"td",6),i.\u0275\u0275element(11,"div",7),i.\u0275\u0275pipe(12,"safe"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(13,"ion-footer"),i.\u0275\u0275element(14,"page-footer",null,8),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(16,A,1,6,"auswahl-dialog",9)),2&I&&(i.\u0275\u0275advance(8),i.\u0275\u0275property("ngIf",null!==k.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==k.Pool.Mitarbeitersettings),i.\u0275\u0275advance(2),i.\u0275\u0275property("innerHTML",i.\u0275\u0275pipeBind2(12,4,k.Signatur,"html"),i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(5),i.\u0275\u0275property("ngIf",k.ShowAuswahl))},dependencies:[l.NgIf,g.IonCol,g.IonContent,g.IonFooter,g.IonGrid,g.IonHeader,g.IonRow,v.PageHeaderComponent,p.PageHeaderMenuComponent,C.PageFooterComponent,b.CheckboxClonComponent,_.ButtonValueComponent,f.AuswahlDialogComponent,y.SafePipe],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return F})()},27735:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),c=o(10716),e=o(45884),u=o(70216),l=o(6512),g=o(90520),v=o(12095),p=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:e.CommonHomePage}]);h.CommonHomePageModule=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,c.IonicModule,a.RouterModule.forChild(b),u.PageHeaderModule,l.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,v.FiChangelogEditorModule]})}return f})()},45884:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),c=o(80103),e=o(21112),u=o(36716),l=i.__importStar(o(54496)),g=i.__importStar(o(14652)),v=i.__importStar(o(34388)),p=i.__importStar(o(19668)),C=i.__importStar(o(29743)),b=i.__importStar(o(7992)),_=i.__importStar(o(9028)),f=i.__importStar(o(8608)),y=i.__importStar(o(51708)),S=i.__importStar(o(97092)),M=i.__importStar(o(15024)),w=i.__importStar(o(59460)),A=i.__importStar(o(91368)),O=i.__importStar(o(10716)),F=i.__importStar(o(90212)),j=i.__importStar(o(29856)),T=i.__importStar(o(64168));function I(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"td",12),l.\u0275\u0275element(2,"div",13),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(3,"td",7),l.\u0275\u0275elementStart(4,"td")(5,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.DebugMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.DebugMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.DebugButtonClicked())}),l.\u0275\u0275elementStart(6,"table",9)(7,"tr")(8,"td"),l.\u0275\u0275element(9,"ion-icon",14),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11,"Debug"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275element(12,"td",7),l.\u0275\u0275elementStart(13,"td")(14,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.EinstellungenMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.EinstellungenMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.EinstellungenButtonClicked())}),l.\u0275\u0275elementStart(15,"table",9)(16,"tr")(17,"td"),l.\u0275\u0275element(18,"ion-icon",15),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(19,"td"),l.\u0275\u0275text(20,"Einstellungen"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&q){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("cursor",_e.DebugMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",_e.DebugMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",_e.DebugMouseOver?"#000000":"white"),l.\u0275\u0275advance(4),l.\u0275\u0275styleProp("cursor",_e.EinstellungenMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",_e.EinstellungenMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",_e.EinstellungenMouseOver?"#000000":"white")}}function k(q,he){if(1&q&&(l.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),l.\u0275\u0275element(3,"img",17),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(4,"td",7),l.\u0275\u0275elementEnd()()),2&q){const _e=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275property("src",_e.GraphService.UserimageSRC,l.\u0275\u0275sanitizeUrl)}}function N(q,he){if(1&q&&(l.\u0275\u0275elementStart(0,"div",18),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&q){const _e=l.\u0275\u0275nextContext(3);l.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",null!==_e.Pool.Mitarbeiterdaten?_e.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function x(q,he){if(1&q&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,k,5,1,"table",2)(2,N,2,3,"div",16),l.\u0275\u0275elementContainerEnd()),2&q){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==_e.GraphService.UserimageSRC),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null===_e.GraphService.UserimageSRC)}}function H(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),l.\u0275\u0275element(6,"td",7),l.\u0275\u0275elementStart(7,"td")(8,"div",8),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.LogoutMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.LogoutMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.LogoutButtonClicked())}),l.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),l.\u0275\u0275element(12,"ion-icon",10),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(13,"td"),l.\u0275\u0275text(14,"Abmelden"),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275element(15,"td",7),l.\u0275\u0275template(16,I,21,10,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(17,"td",11),l.\u0275\u0275template(18,x,3,2,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementContainerEnd()}if(2&q){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(8),l.\u0275\u0275styleProp("cursor",_e.LogoutMouseOver?"pointer":"default"),l.\u0275\u0275advance(4),l.\u0275\u0275property("color",_e.LogoutMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color",_e.LogoutMouseOver?"#000000":"white"),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",!1===_e.environment.production),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!1===_e.AuthService.ShowLogin)}}function G(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",41),l.\u0275\u0275listener("click",function(){const Ae=l.\u0275\u0275restoreView(_e).$implicit,ge=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ge.ChangelogClicked(Ae))}),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"td")(5,"div",41),l.\u0275\u0275listener("click",function(){const Ae=l.\u0275\u0275restoreView(_e).$implicit,ge=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ge.ChangelogClicked(Ae))}),l.\u0275\u0275text(6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"td")(8,"div",41),l.\u0275\u0275listener("click",function(){const Ae=l.\u0275\u0275restoreView(_e).$implicit,ge=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(ge.ChangelogClicked(Ae))}),l.\u0275\u0275text(9),l.\u0275\u0275elementEnd()()()}if(2&q){const _e=he.$implicit,Oe=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(Oe.GetDatum(_e.Zeitstempel)),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(_e.Version),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(_e.Beschreibung)}}function te(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",33)(1,"table",34)(2,"tr")(3,"td",35),l.\u0275\u0275text(4,"Change Log"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(5,"tr",36)(6,"td"),l.\u0275\u0275text(7,"Datum"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(8,"td"),l.\u0275\u0275text(9,"Version"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11,"Beschreibung"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(12,G,10,3,"tr",37),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(13,"ion-button",38),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Re.AddChangelogClicked())}),l.\u0275\u0275element(14,"ion-icon",39),l.\u0275\u0275elementStart(15,"ion-text",40),l.\u0275\u0275text(16,"Neuer Eintrag"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(17,"table",34)(18,"tr")(19,"td")(20,"b"),l.\u0275\u0275text(21,"Build:"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(22,"td"),l.\u0275\u0275text(23),l.\u0275\u0275elementEnd()()()()}if(2&q){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(3),l.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),l.\u0275\u0275advance(9),l.\u0275\u0275property("ngForOf",_e.Pool.Changlogliste),l.\u0275\u0275advance(),l.\u0275\u0275property("color","grau"),l.\u0275\u0275advance(10),l.\u0275\u0275textInterpolate(_e.Basics.AppBuild)}}function ce(q,he){1&q&&(l.\u0275\u0275elementStart(0,"div",52),l.\u0275\u0275element(1,"img",53),l.\u0275\u0275elementEnd())}function se(q,he){if(1&q&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,ce,2,0,"div",51),l.\u0275\u0275elementContainerEnd()),2&q){const _e=l.\u0275\u0275nextContext(4);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",""===_e.Pool.Mitarbeiterdaten.Kuerzel||""===_e.Pool.Mitarbeiterdaten.StandortID)}}function K(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",42),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(Re.StandorteButtonClicked())})("mouseenter",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(Re.StandortMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(Re.StandortMouseOver=!1)}),l.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",24),l.\u0275\u0275element(7,"ion-icon",43),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(8,"tr")(9,"td",30)(10,"table")(11,"tr")(12,"td",44),l.\u0275\u0275text(13),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(14,"td",45),l.\u0275\u0275elementStart(15,"td")(16,"ion-text",46),l.\u0275\u0275text(17,"Standorte"),l.\u0275\u0275elementEnd()()()()()()()()(),l.\u0275\u0275elementStart(18,"td"),l.\u0275\u0275element(19,"div",47),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(20,"td")(21,"div",42),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(Re.MitarbeiterButtonClicked())})("mouseenter",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(Re.MitarbeiterMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(Re.MitarbeiterMouseOver=!1)}),l.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",24)(25,"div",48)(26,"div",49),l.\u0275\u0275element(27,"ion-icon",50),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(28,se,2,1,"ng-container",2),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(29,"tr")(30,"td",30)(31,"table")(32,"tr")(33,"td",44),l.\u0275\u0275text(34),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(35,"td",45),l.\u0275\u0275elementStart(36,"td",30)(37,"ion-text",46),l.\u0275\u0275text(38,"Mitarbeiter"),l.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&q){const _e=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(7),l.\u0275\u0275property("color",_e.StandortMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",_e.Pool.Standorteliste.length," "),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(3),l.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),l.\u0275\u0275advance(8),l.\u0275\u0275property("color",_e.MitarbeiterMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten),l.\u0275\u0275advance(5),l.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" ",_e.CountMitarbeiter()," "),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau)}}function Z(q,he){if(1&q&&(l.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",24),l.\u0275\u0275template(3,K,39,13,"table",2),l.\u0275\u0275elementEnd()()()),2&q){const _e=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten&&!0===_e.Pool.Mitarbeiterdaten.Planeradministrator)}}function re(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,te,24,5,"div",19),l.\u0275\u0275elementStart(2,"div",20)(3,"div",21)(4,"ion-grid")(5,"ion-row")(6,"ion-col",22),l.\u0275\u0275element(7,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",24),l.\u0275\u0275element(13,"img",25),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",22),l.\u0275\u0275element(16,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",26),l.\u0275\u0275template(20,Z,4,1,"table",27),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",22),l.\u0275\u0275element(23,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",22),l.\u0275\u0275element(26,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",24)(32,"table")(33,"tr")(34,"td")(35,"div",28),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.PlanerButtonClicked())}),l.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",24),l.\u0275\u0275element(39,"ion-icon",29),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(40,"tr")(41,"td",30)(42,"ion-text",31),l.\u0275\u0275text(43,"Urlaubsplaner"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(44,"tr")(45,"td",32),l.\u0275\u0275text(46),l.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&q){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",_e.Basics.ShowHomeScreenInfos),l.\u0275\u0275advance(19),l.\u0275\u0275property("ngIf",!1===_e.Pool.ShowProgress),l.\u0275\u0275advance(19),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate2(" Version: ",_e.Basics.AppVersionName," / ",_e.Basics.AppVersionDatum," ")}}function X(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"div",54)(2,"ion-grid")(3,"ion-row")(4,"ion-col",22),l.\u0275\u0275element(5,"div",55),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",24),l.\u0275\u0275element(11,"img",25),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),l.\u0275\u0275element(14,"div",23),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",22)(17,"table",5)(18,"tr")(19,"td",24)(20,"div",56)(21,"table",5)(22,"tr")(23,"td",24),l.\u0275\u0275element(24,"ion-icon",29),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(25,"tr")(26,"td",30)(27,"ion-text",31),l.\u0275\u0275text(28,"Urlaubsplaner"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(29,"tr")(30,"td",32),l.\u0275\u0275text(31),l.\u0275\u0275elementEnd()()()()()()()()(),l.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",57)(37,"ion-button",58),l.\u0275\u0275listener("click",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.LoginButtonClicked())}),l.\u0275\u0275text(38,"Login"),l.\u0275\u0275elementEnd()()()()()()()(),l.\u0275\u0275elementContainerEnd()}if(2&q){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(24),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau),l.\u0275\u0275advance(3),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate2(" Version: ",_e.Basics.AppVersionName," / ",_e.Basics.AppVersionDatum," "),l.\u0275\u0275advance(6),l.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau)}}function W(q,he){if(1&q){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"fi-changelog-editor",59),l.\u0275\u0275listener("OkClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Re=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Re.ShowChangelogEditor=!1)}),l.\u0275\u0275elementEnd()}}h.CommonHomePage=(()=>{class q{Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;DBMitarbeitersettings;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(_e,Oe,Re,Ae,ge,Ne,it,qe,et,De,je,Pe){this.Basics=_e,this.Debug=Oe,this.Tools=Re,this.Const=Ae,this.Pool=ge,this.authService=Ne,this.msalBroadcastService=it,this.GraphService=qe,this.DBChangelog=et,this.AuthService=De,this.DBMitarbeitersettings=je,this.Menuservice=Pe;try{this.StandortMouseOver=!1,this.MitarbeiterMouseOver=!1,this.ProjekteMouseOver=!1,this.FavoritenMouseOver=!1,this.LogoutMouseOver=!1,this.DebugMouseOver=!1,this.EinstellungenMouseOver=!1,this.PlayMouseOver=!1,this.BackgroundimageURL="../../../assets/background/"+d.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,c.filter)(_e=>_e.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(_e=>{const Oe=_e.payload;this.authService.instance.setActiveAccount(Oe.account),this.AuthService.ActiveUser=Oe.account,this.AuthService.SetShowLoginStatus(),this.AuthService.LoginSuccessEvent.emit()})}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){try{this.Backgroundinterval=null}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","ionViewDidLeave",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ChangelogSubscription.unsubscribe()}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","OnDestroy",this.Debug.Typen.Page)}}FavoritChangedHandler(_e){}DebugButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.DebugPage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","DebugButtonClicked",this.Debug.Typen.Page)}}EinstellungenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.EinstellungenPage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","EinstellungenButtonClicked",this.Debug.Typen.Page)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","LogoutButtonClicked",this.Debug.Typen.Page)}}LoginButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Login()}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","LoginButtonClicked",this.Debug.Typen.Page)}}StandorteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiStandortelistePage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","StandorteButtonClicked",this.Debug.Typen.Page)}}MitarbeiterButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiMitarbeiterlistePage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","MitarbeiterButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","PlanerButtonClicked",this.Debug.Typen.Page)}}ProjekteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjListePage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","ProjekteButtonClicked",this.Debug.Typen.Page)}}FavoritenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjFavoritenlistePage)}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","FavoritenButtonClicked",this.Debug.Typen.Page)}}PlayButtonClicked(){return n(function*(){})()}GetFavoritenlistehoehe(){try{let _e=0;return null!==this.Pool.Mitarbeiterdaten&&(_e=0===this.Pool.Mitarbeiterdaten.Favoritenliste.length?2:this.Pool.Mitarbeiterdaten.Favoritenliste.length),0===_e&&(_e=1),50*_e}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","GetFavoritenlistehoehe",this.Debug.Typen.Page)}}AddChangelogClicked(){try{this.DBChangelog.CurrentChangelog=this.DBChangelog.GetEmptyChangelog(),this.ShowChangelogEditor=!0}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","AddChangelogClicked",this.Debug.Typen.Page)}}GetDatum(_e){try{return(0,a.default)(_e).format("DD.MM.YYYY")}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(_e){try{this.DBChangelog.CurrentChangelog=d.cloneDeep(_e),this.ShowChangelogEditor=!0}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Home","ChangelogClicked",this.Debug.Typen.Page)}}PrepareDaten(){try{let _e;this.Pool.Changlogliste.length>0?(_e=this.Pool.Changlogliste[0],this.Basics.AppVersionName=_e.Version,this.Basics.AppVersionDatum=(0,a.default)(_e.Zeitstempel).format("DD.MM.YYYY")):(this.Basics.AppVersionName="none",this.Basics.AppVersionDatum="none")}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","PrepareDaten",this.Debug.Typen.Page)}}CountMitarbeiter(){try{return d.filter(this.Pool.Mitarbeiterliste,_e=>!_e.Archiviert).length.toString()}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","CountMitarbeiter",this.Debug.Typen.Page)}}CountProjekte(){try{return 0}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","CountProjekte",this.Debug.Typen.Page)}}RelaodButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.PlayButtonClicked()}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","RelaodButtonClicked",this.Debug.Typen.Page)}}environment=u.environment;static \u0275fac=function(Oe){return new(Oe||q)(l.\u0275\u0275directiveInject(g.BasicsProvider),l.\u0275\u0275directiveInject(v.DebugProvider),l.\u0275\u0275directiveInject(p.ToolsProvider),l.\u0275\u0275directiveInject(C.ConstProvider),l.\u0275\u0275directiveInject(b.DatabasePoolService),l.\u0275\u0275directiveInject(_.MsalService),l.\u0275\u0275directiveInject(_.MsalBroadcastService),l.\u0275\u0275directiveInject(f.Graphservice),l.\u0275\u0275directiveInject(y.DatabaseChangelogService),l.\u0275\u0275directiveInject(S.DatabaseAuthenticationService),l.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),l.\u0275\u0275directiveInject(w.MenueService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:q,selectors:[["common-home-page"]],decls:11,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent",4,"ngIf"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","log-out-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],["name","bug-outline",3,"color"],["name","settings-outline",3,"color"],["class","userkuerzelsmall",3,"background",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["class","changelogdiv",4,"ngIf"],[2,"width","100%","height","100%","background","#F2F4F4"],[2,"position","absolute","width","100%","height","100%","z-index","2"],["size","12"],[2,"height","20px"],["align","center"],["src","assets/images/logo_large.png",2,"height","50px"],[2,"height","140px","width","100%","background","none"],["style","width: 100%;",4,"ngIf"],[1,"buttonbigclass",3,"click"],["name","sunny-outline",2,"font-size","120px",3,"color"],[2,"text-align","center"],[2,"font-size","26px",3,"color"],[2,"text-align","center","font-size","90%","color","gray"],[1,"changelogdiv"],[1,"paddingtable",2,"font-size","80%"],["colspan","3",2,"font-size","140%","font-weight","bold"],[2,"font-weight","bold","color","#454545"],[4,"ngFor","ngForOf"],["size","small",3,"color","click"],["name","add-circle-outline","color","weiss","slot","start",2,"font-size","90%"],["color","weiss",2,"font-size","80%"],[2,"width","100%","cursor","pointer",3,"click"],[1,"buttonclass",3,"click","mouseenter","mouseleave"],["name","location-outline",2,"font-size","80px",3,"color"],[2,"font-size","22px","font-weight","bold"],[2,"width","4px"],[2,"font-size","22px",3,"color"],[1,"trennerdiv"],[2,"height","90px","width","100px","background","none","position","relative"],[1,"projektbuttoniconclass"],["name","people-outline",2,"font-size","80px",3,"color"],["class","projektbuttoniconerrorclass",4,"ngIf"],[1,"projektbuttoniconerrorclass"],["src","/assets/svgs/alert.svg",2,"height","44px"],[2,"width","100%","height","100%","background","#F2F4F4","z-index","10"],[2,"height","30px"],[1,"buttonbigclass",2,"z-index","100"],[2,"text-align","center","vertical-align","center","height","100px"],[3,"color","click"],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent"]],template:function(Oe,Re){1&Oe&&(l.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),l.\u0275\u0275template(3,H,19,7,"ng-container",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(4,"ion-content"),l.\u0275\u0275template(5,re,47,6,"ng-container",2)(6,X,39,5,"ng-container",2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"ion-footer"),l.\u0275\u0275element(8,"page-footer",null,3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(10,W,1,0,"fi-changelog-editor",4)),2&Oe&&(l.\u0275\u0275advance(3),l.\u0275\u0275property("ngIf",!1===Re.AuthService.ShowLogin),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!1===Re.AuthService.ShowLogin),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!0===Re.AuthService.ShowLogin),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",Re.ShowChangelogEditor))},dependencies:[A.NgForOf,A.NgIf,O.IonButton,O.IonCol,O.IonContent,O.IonFooter,O.IonGrid,O.IonHeader,O.IonIcon,O.IonRow,O.IonText,F.PageHeaderComponent,j.PageFooterComponent,T.FiChangelogEditorComponent],styles:[".projektbuttoniconclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:100;position:absolute;display:flex;justify-content:center;align-items:center}.projektbuttoniconerrorclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:200;position:absolute;display:flex;justify-content:center;align-items:center}.trennerdiv[_ngcontent-%COMP%]{width:100px;height:10px;border-radius:4px;margin:6px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:160px;height:140px;cursor:pointer;background:#fff}.changelogdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:360px;height:300px;position:absolute;padding:8px;left:20px;bottom:20px;background:#fff;z-index:1000;overflow:auto}.outputdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:500px;height:600px;position:absolute;padding:8px;left:20px;top:560px;background:#fff;z-index:1000;overflow:auto}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userimage[_ngcontent-%COMP%]{display:inline-block;width:60px;height:60px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700}.buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:260px;height:260px;cursor:pointer;background:#fff}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:80px;height:80px;cursor:pointer;background:#fff}.favlistedivclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:400px;cursor:pointer;background:#fff;overflow:auto}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return q})()},64316:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfViewerPageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),c=o(10716),e=o(95896),u=o(70216),l=o(84104),g=o(76688),v=o(90520),p=n.__importStar(o(54496)),b=(n.__importStar(o(56568)),[{path:"",component:e.CommonPdfviewPage}]);h.CommonPdfViewerPageModule=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,c.IonicModule,u.PageHeaderModule,a.RouterModule.forChild(b),l.SafePipeModule,g.PdfViewerModule,v.PageFooterModule]})}return f})()},95896:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfviewPage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(34388)),c=n.__importStar(o(29743)),e=n.__importStar(o(19668)),u=n.__importStar(o(34396)),l=n.__importStar(o(8608)),g=n.__importStar(o(33940)),v=n.__importStar(o(91368)),p=n.__importStar(o(10716)),C=n.__importStar(o(90212)),b=n.__importStar(o(76688)),_=n.__importStar(o(29856));function f(S,M){if(1&S&&i.\u0275\u0275element(0,"pdf-viewer",12),2&S){const w=i.\u0275\u0275nextContext();i.\u0275\u0275property("src",w.GraphService.CurrentPDFDownload.url)("render-text",!0)("original-size",!0)}}h.CommonPdfviewPage=(()=>{class S{Basics;Debug;Const;Tools;Fehlerservice;GraphService;LoadingAnimation;Titel="Zoomtest";BackMouseOver;constructor(w,A,O,F,j,T,I){this.Basics=w,this.Debug=A,this.Const=O,this.Tools=F,this.Fehlerservice=j,this.GraphService=T,this.LoadingAnimation=I;try{this.BackMouseOver=!1}catch(k){this.Debug.ShowErrorMessage(k.message,"Common PDF Viewer","Constructor",this.Debug.Typen.Page)}}BackButtonClicked(){try{this.Tools.PopPage()}catch(w){this.Debug.ShowErrorMessage(w.message,"Common PDF Viewer","BackButtonClicked",this.Debug.Typen.Component)}}static \u0275fac=function(A){return new(A||S)(i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(a.DebugProvider),i.\u0275\u0275directiveInject(c.ConstProvider),i.\u0275\u0275directiveInject(e.ToolsProvider),i.\u0275\u0275directiveInject(u.ErrorService),i.\u0275\u0275directiveInject(l.Graphservice),i.\u0275\u0275directiveInject(g.LoadingAnimationService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:S,selectors:[["common-pdfview-page"]],decls:27,vars:7,consts:[[1,"ion-no-border"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","caret-back-circle-outline",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[2,"font-size","100%","color","white"],["style","width: 100%; height: 100%",3,"src","render-text","original-size",4,"ngIf"],["PageFooter",""],[2,"width","100%","height","100%",3,"src","render-text","original-size"]],template:function(A,O){1&A&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table",1)(3,"tr")(4,"td",2)(5,"table")(6,"tr"),i.\u0275\u0275element(7,"td",3),i.\u0275\u0275elementStart(8,"td")(9,"div",4),i.\u0275\u0275listener("mouseenter",function(){return O.BackMouseOver=!0})("mouseleave",function(){return O.BackMouseOver=!1})("click",function(){return O.BackButtonClicked()}),i.\u0275\u0275elementStart(10,"table",5)(11,"tr")(12,"td"),i.\u0275\u0275element(13,"ion-icon",6),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(16,"td",3),i.\u0275\u0275elementStart(17,"td",7),i.\u0275\u0275element(18,"div",8),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(19,"td",3),i.\u0275\u0275elementStart(20,"td",9),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()()()()(),i.\u0275\u0275elementStart(22,"ion-content"),i.\u0275\u0275template(23,f,1,3,"pdf-viewer",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(24,"ion-footer"),i.\u0275\u0275element(25,"page-footer",null,11),i.\u0275\u0275elementEnd()),2&A&&(i.\u0275\u0275advance(9),i.\u0275\u0275styleProp("cursor",O.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",O.BackMouseOver?O.Basics.Ionicfarben.Schwarz:O.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",O.BackMouseOver?"black":"white"),i.\u0275\u0275advance(7),i.\u0275\u0275textInterpolate(null!==O.GraphService.CurrentPDFDownload?O.GraphService.CurrentPDFDownload.name:""),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==O.GraphService.CurrentPDFDownload))},dependencies:[v.NgIf,p.IonContent,p.IonFooter,p.IonHeader,p.IonIcon,C.PageHeaderComponent,b.PdfViewerComponent,_.PageFooterComponent],styles:[".trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return S})()},79112:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),c=o(5944),e=o(70216),u=o(56568),l=o(6168),g=o(90520),v=n.__importStar(o(54496)),C=(n.__importStar(o(56568)),[{path:"",component:c.CommonTestseitePage}]);h.CommonTestseitePageModule=(()=>{class _{static \u0275fac=function(S){return new(S||_)};static \u0275mod=v.\u0275\u0275defineNgModule({type:_});static \u0275inj=v.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(C),l.PageHeaderMenuModule,g.PageFooterModule]})}return _})()},5944:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePage=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(59460)),a=n.__importStar(o(34388)),c=n.__importStar(o(10716)),e=n.__importStar(o(90212)),u=n.__importStar(o(63792)),l=n.__importStar(o(29856));h.CommonTestseitePage=(()=>{class v{Menuservice;Debug;constructor(C,b){this.Menuservice=C,this.Debug=b}ngOnInit(){}static \u0275fac=function(b){return new(b||v)(i.\u0275\u0275directiveInject(d.MenueService),i.\u0275\u0275directiveInject(a.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:v,selectors:[["common-testseite-page"]],decls:24,vars:3,consts:[[1,"ion-no-border"],["PageHeader",""],[1,"paddingtable"],["PageFooter",""]],template:function(b,_){1&b&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td"),i.\u0275\u0275text(8,"Mainmenu Bereich: "),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(11,"tr")(12,"td"),i.\u0275\u0275text(13,"Firmamenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td"),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(16,"tr")(17,"td"),i.\u0275\u0275text(18,"Projektmenu Bereich:"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(19,"td"),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(21,"ion-footer"),i.\u0275\u0275element(22,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&b&&(i.\u0275\u0275advance(10),i.\u0275\u0275textInterpolate(_.Menuservice.MainMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(_.Menuservice.FirmaMenuebereich),i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(_.Menuservice.ProjekteMenuebereich))},dependencies:[c.IonContent,c.IonFooter,c.IonHeader,e.PageHeaderComponent,u.PageHeaderMenuComponent,l.PageFooterComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return v})()},53964:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),c=o(79444),e=o(70216),u=o(56568),l=o(6168),g=o(90520),v=o(6232),p=o(72284),C=o(10272),b=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:c.CommonUrlaubEinstellungenPage}]);h.CommonUrlaubEinstellungenPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},79444:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),c=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),C=i.__importStar(o(22848)),b=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),S=i.__importStar(o(91368)),M=i.__importStar(o(10716)),w=i.__importStar(o(90212)),A=i.__importStar(o(63792)),O=i.__importStar(o(29856)),F=i.__importStar(o(13228)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),I=i.__importStar(o(80887)),k=["PageHeader"],N=["PageFooter"];function x(X,W){if(1&X&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&X){const Y=W.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.Vorname+" "+Y.Name)}}function H(X,W){if(1&X&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&X){const Y=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.GetFreigeberName(Y.DB.CurrentUrlaub.FreigeberID))}}function G(X,W){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",16),e.\u0275\u0275listener("CheckChanged",function(he){const Oe=e.\u0275\u0275restoreView(Y).$implicit,Re=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Re.FerienBlockedChanged(he,Oe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&X){const Y=W.$implicit,q=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",q.CheckFerienBlocker(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.Name)}}function te(X,W){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",16),e.\u0275\u0275listener("CheckChanged",function(he){const Oe=e.\u0275\u0275restoreView(Y).$implicit,Re=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Re.FeiertagBlockedChanged(he,Oe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&X){const Y=W.$implicit,q=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",q.CheckFeiertagBlocker(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.Name)}}function ce(X,W){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",8)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",9),e.\u0275\u0275template(9,x,3,1,"tr",10),e.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"ion-button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(13,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"ion-text",8)(17,"b"),e.\u0275\u0275text(18,"Urlaubsfreigabe"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",12)(21,"table",9),e.\u0275\u0275template(22,H,3,1,"tr",3),e.\u0275\u0275elementStart(23,"tr")(24,"td")(25,"ion-button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.FreigabeAuswahlClicked())}),e.\u0275\u0275text(26,"Mitarbeiter/in ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"ion-text",8)(30,"b"),e.\u0275\u0275text(31,"Urlaubstage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col",12)(34,"button-value",13),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.UrlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col",12)(37,"button-value",13),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.ResturlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(38,"ion-row")(39,"ion-col",14)(40,"ion-text",8)(41,"b"),e.\u0275\u0275text(42,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(43,"ion-col",14)(44,"ion-text",8)(45,"b"),e.\u0275\u0275text(46,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(47,"ion-row")(48,"ion-col",14)(49,"table",9)(50,"tr",15),e.\u0275\u0275element(51,"td"),e.\u0275\u0275elementStart(52,"td"),e.\u0275\u0275text(53,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(54,"td"),e.\u0275\u0275text(55,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(56,"td"),e.\u0275\u0275text(57,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(58,G,9,4,"tr",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(59,"ion-col",14)(60,"table",9)(61,"tr",15),e.\u0275\u0275element(62,"td"),e.\u0275\u0275elementStart(63,"td"),e.\u0275\u0275text(64,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(65,"td"),e.\u0275\u0275text(66,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(67,"td"),e.\u0275\u0275text(68,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(69,te,9,4,"tr",10),e.\u0275\u0275elementEnd()()()()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Y.Projektbeteiligteliste),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf",null!==Y.DB.CurrentUrlaub.FreigeberID),e.\u0275\u0275advance(12),e.\u0275\u0275property("Buttontext","Urlaubsanspruch "+Y.DB.Jahr.toString())("Wert_A",Y.DB.CurrentMitarbeiter.Urlaub.toString()+" Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub "+(Y.DB.Jahr-1).toString())("Wert_A",Y.GetResturlaub()),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",Y.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",Y.Feiertageliste)}}function se(X,W){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",17),e.\u0275\u0275listener("OkClickedEvent",function(he){e.\u0275\u0275restoreView(Y);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.AuswahlOkButtonClicked(he))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Y.Auswahlliste)("Auswahlindex",Y.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Y.Auswahltitel)("Iconname","")}}function K(X,W){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",18),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(he){e.\u0275\u0275restoreView(Y);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.MitarbeiterauswahlOkButtonClicked(he))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Y.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",Y.MitarbeiterMultiselect)("AuswahlIDliste",Y.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function Z(X,W){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",19),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(he){e.\u0275\u0275restoreView(Y);const _e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(_e.MitarbeiterauswahlOkButtonClicked(he))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Y);const he=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(he.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Y.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Y.AuswahlIDliste)}}h.CommonUrlaubEinstellungenPage=(()=>{class X{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;constructor(Y,q,he,_e,Oe,Re,Ae,ge,Ne,it,qe){this.Menuservice=Y,this.Basics=q,this.DBMitarbeitersettings=he,this.Pool=_e,this.DB=Oe,this.DBMitarbeiter=Re,this.Const=Ae,this.DBStandort=ge,this.DBMitarbeiterstettings=Ne,this.Auswahlservice=it,this.Debug=qe;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Ferienliste=[],this.Feiertageliste=[],this.Projektbeteiligteliste=[]}catch(et){this.Debug.ShowErrorMessage(et.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let Y;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let q of this.DB.CurrentUrlaub.Projektbeteiligteliste)Y=this.DBMitarbeiter.GetMitarbeiterByID(q.MitarbeiterID),null!==Y&&this.Projektbeteiligteliste.push(Y);this.Projektbeteiligteliste.sort((q,he)=>q.Name>he.Name?-1:q.Name-1!==Y.indexOf(Oe.MitarbeiterID));for(let Oe of Y)he=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Oe}),d.isUndefined(he)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:Oe,Display:!1});q=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(q)||(q.Projektbeteiligteliste=this.DB.CurrentUrlaub.Projektbeteiligteliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}));break;case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Freigeber_Auswahl:this.DB.CurrentUrlaub.FreigeberID=d.isUndefined(Y[0])?null:Y[0],q=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(q)||(q.FreigeberID=d.isUndefined(Y[0])?null:Y[0],this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}));break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:_e=d.find(this.Pool.Mitarbeiterliste,{_id:Y[0]}),this.DB.CurrentMitarbeiter=_e,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(q){this.Debug.ShowErrorMessage(q.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let Y=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Y,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Y++;for(let q of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Y,FirstColumn:q.Kuerzel,SecoundColumn:q.Standort,Data:q}),Y++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Y){var q=this;return n(function*(){try{let he;switch(q.Auswahldialogorigin){case"Resturlaub":q.DB.CurrentUrlaub.Resturlaub=Y,he=d.find(q.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:q.DB.CurrentUrlaub.Jahr}),d.isUndefined(he)||(he.Resturlaub=Y,q.DBMitarbeiter.UpdateMitarbeiterUrlaub(q.DB.CurrentMitarbeiter));break;case"Urlaub":q.DB.CurrentMitarbeiter.Urlaub=Y,q.DBMitarbeiter.UpdateMitarbeiterUrlaub(q.DB.CurrentMitarbeiter);break;case q.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:q.DBStandort.CurrentStandortfilter=(0,c.cloneDeep)(Y),q.Pool.Mitarbeitersettings.StandortFilter=null!==Y?Y._id:q.Const.NONE,q.DBMitarbeiterstettings.UpdateMitarbeitersettings(q.Pool.Mitarbeitersettings,null).then(()=>{q.PrepareData(),q.DBStandort.StandortfilterChanged.emit()})}q.ShowAuswahl=!1,q.PrepareData()}catch(he){q.Debug.ShowErrorMessage(he.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",q.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let Y of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(Y.MitarbeiterID)}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ResturlaubClickedEvent(){try{this.Auswahldialogorigin="Resturlaub",this.Auswahlhoehe=600,this.Auswahltitel="Resturlaub festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"0,5",SecoundColumn:"Tage",Data:.5}),this.Auswahlliste.push({Index:1,FirstColumn:"1,0",SecoundColumn:"Tag",Data:1}),this.Auswahlliste.push({Index:2,FirstColumn:"1,5",SecoundColumn:"Tage",Data:1.5}),this.Auswahlliste.push({Index:3,FirstColumn:"2,0",SecoundColumn:"Tage",Data:2}),this.Auswahlliste.push({Index:4,FirstColumn:"2,5",SecoundColumn:"Tage",Data:2.5}),this.Auswahlliste.push({Index:5,FirstColumn:"3,0",SecoundColumn:"Tage",Data:3}),this.Auswahlliste.push({Index:6,FirstColumn:"3,5",SecoundColumn:"Tage",Data:3.5}),this.Auswahlliste.push({Index:7,FirstColumn:"4,0",SecoundColumn:"Tage",Data:4}),this.Auswahlliste.push({Index:8,FirstColumn:"4,5",SecoundColumn:"Tage",Data:4.5}),this.Auswahlliste.push({Index:9,FirstColumn:"5,0",SecoundColumn:"Tage",Data:5}),this.Auswahlliste.push({Index:10,FirstColumn:"5,5",SecoundColumn:"Tage",Data:5.5}),this.Auswahlliste.push({Index:11,FirstColumn:"6,0",SecoundColumn:"Tage",Data:6}),this.Auswahlliste.push({Index:12,FirstColumn:"6,5",SecoundColumn:"Tage",Data:6.5}),this.Auswahlliste.push({Index:13,FirstColumn:"7,0",SecoundColumn:"Tage",Data:7}),this.Auswahlliste.push({Index:14,FirstColumn:"7,5",SecoundColumn:"Tage",Data:7.5}),this.Auswahlliste.push({Index:15,FirstColumn:"8,0",SecoundColumn:"Tage",Data:8}),this.Auswahlliste.push({Index:16,FirstColumn:"8,5",SecoundColumn:"Tage",Data:8.5}),this.Auswahlliste.push({Index:17,FirstColumn:"9,0",SecoundColumn:"Tage",Data:9}),this.Auswahlliste.push({Index:18,FirstColumn:"9,5",SecoundColumn:"Tage",Data:9.5}),this.Auswahlliste.push({Index:19,FirstColumn:"10,0",SecoundColumn:"Tage",Data:10}),this.Auswahlindex=d.findIndex(this.Auswahlliste,Y=>Y.Data===this.DB.CurrentUrlaub.Resturlaub),this.ShowAuswahl=!0}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}GetResturlaub(){try{let Y=this.DB.CurrentUrlaub.Resturlaub.toString();return Y+=1===this.DB.CurrentUrlaub.Resturlaub?" Tag":" Tage",Y}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","GetResturlaub",this.Debug.Typen.Page)}}GetDatum(Y){try{return(0,a.default)(Y).format("DD.MM.YYYY")}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","GetDatum",this.Debug.Typen.Page)}}UrlaubClickedEvent(){try{this.Auswahldialogorigin="Urlaub",this.Auswahlhoehe=600,this.Auswahltitel="Urlaubsanspruch festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"Tage",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"11",SecoundColumn:"Tage",Data:11}),this.Auswahlliste.push({Index:2,FirstColumn:"12",SecoundColumn:"Tage",Data:12}),this.Auswahlliste.push({Index:3,FirstColumn:"13",SecoundColumn:"Tage",Data:13}),this.Auswahlliste.push({Index:4,FirstColumn:"14",SecoundColumn:"Tage",Data:14}),this.Auswahlliste.push({Index:5,FirstColumn:"15",SecoundColumn:"Tage",Data:15}),this.Auswahlliste.push({Index:6,FirstColumn:"16",SecoundColumn:"Tage",Data:16}),this.Auswahlliste.push({Index:7,FirstColumn:"17",SecoundColumn:"Tage",Data:17}),this.Auswahlliste.push({Index:8,FirstColumn:"18",SecoundColumn:"Tage",Data:18}),this.Auswahlliste.push({Index:9,FirstColumn:"19",SecoundColumn:"Tage",Data:19}),this.Auswahlliste.push({Index:10,FirstColumn:"20",SecoundColumn:"Tage",Data:20}),this.Auswahlliste.push({Index:11,FirstColumn:"21",SecoundColumn:"Tage",Data:21}),this.Auswahlliste.push({Index:12,FirstColumn:"22",SecoundColumn:"Tage",Data:22}),this.Auswahlliste.push({Index:13,FirstColumn:"23",SecoundColumn:"Tage",Data:23}),this.Auswahlliste.push({Index:14,FirstColumn:"24",SecoundColumn:"Tage",Data:24}),this.Auswahlliste.push({Index:15,FirstColumn:"25",SecoundColumn:"Tage",Data:25}),this.Auswahlliste.push({Index:16,FirstColumn:"26",SecoundColumn:"Tage",Data:26}),this.Auswahlliste.push({Index:17,FirstColumn:"27",SecoundColumn:"Tage",Data:27}),this.Auswahlliste.push({Index:18,FirstColumn:"28",SecoundColumn:"Tage",Data:28}),this.Auswahlliste.push({Index:19,FirstColumn:"29",SecoundColumn:"Tage",Data:29}),this.Auswahlliste.push({Index:20,FirstColumn:"30",SecoundColumn:"Tage",Data:30}),this.Auswahlliste.push({Index:21,FirstColumn:"31",SecoundColumn:"Tage",Data:31}),this.Auswahlliste.push({Index:22,FirstColumn:"32",SecoundColumn:"Tage",Data:32}),this.Auswahlliste.push({Index:23,FirstColumn:"33",SecoundColumn:"Tage",Data:33}),this.Auswahlliste.push({Index:24,FirstColumn:"34",SecoundColumn:"Tage",Data:34}),this.Auswahlliste.push({Index:25,FirstColumn:"35",SecoundColumn:"Tage",Data:35}),this.Auswahlliste.push({Index:26,FirstColumn:"36",SecoundColumn:"Tage",Data:36}),this.Auswahlindex=d.findIndex(this.Auswahlliste,Y=>Y.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(Y){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(Y)}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(Y,q){try{let he;!1===Y.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(q):this.DB.CurrentUrlaub.Ferienblockerliste=d.filter(this.DB.CurrentUrlaub.Ferienblockerliste,_e=>_e!==q),he=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(he)||(he.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(he){this.Debug.ShowErrorMessage(he,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(Y){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(Y)}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(Y,q){try{let he;!1===Y.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(q):this.DB.CurrentUrlaub.Feiertageblockerliste=d.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,_e=>_e!==q),he=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(he)||(he.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(he){this.Debug.ShowErrorMessage(he,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}FreigabeAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Freigeber_Auswahl,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=null!==this.DB.CurrentUrlaub.FreigeberID?[this.DB.CurrentUrlaub.FreigeberID]:[],this.MitarbeiterauswahlTitel="Vertreter/innen ausw\xe4hlen",this.MitarbeiterMultiselect=!1}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","FreigabeAuswahlClicked",this.Debug.Typen.Page)}}GetFreigeberName(Y){try{let q=this.DBMitarbeiter.GetMitarbeiterByID(Y);return null!==q?q.Vorname+" "+q.Name:"unbekannt"}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","GetFreigeberName",this.Debug.Typen.Page)}}static \u0275fac=function(q){return new(q||X)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:X,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(q,he){if(1&q&&(e.\u0275\u0275viewQuery(k,5),e.\u0275\u0275viewQuery(N,5)),2&q){let _e;e.\u0275\u0275queryRefresh(_e=e.\u0275\u0275loadQuery())&&(he.PageHeader=_e.first),e.\u0275\u0275queryRefresh(_e=e.\u0275\u0275loadQuery())&&(he.PageFooter=_e.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[4,"ngIf"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],[4,"ngFor","ngForOf"],["size","small","color","grau",3,"click"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","3"],[2,"font-weight","bold"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(q,he){1&q&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return he.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,ce,70,8,"ion-grid",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer"),e.\u0275\u0275element(7,"page-footer",null,4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,se,1,7,"auswahl-dialog",5)(10,K,1,6,"fi-mitarbeiter-auswahl",6)(11,Z,1,6,"fi-mitarbeiter-auswahl",7)),2&q&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==he.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",he.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",he.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",he.ShowMitarbeiterauswahl))},dependencies:[S.NgForOf,S.NgIf,M.IonButton,M.IonCol,M.IonContent,M.IonFooter,M.IonGrid,M.IonHeader,M.IonRow,M.IonText,w.PageHeaderComponent,A.PageHeaderMenuComponent,O.PageFooterComponent,F.ButtonValueComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,I.FiMitarbeiterAuswahlComponent],styles:[".legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return X})()},5884:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),c=o(76052),e=o(70216),u=o(56568),l=o(6168),g=o(90520),v=o(6232),p=o(72284),C=o(10272),b=o(7388),_=o(27328),f=o(26668),y=o(6512),S=n.__importStar(o(54496)),w=(n.__importStar(o(56568)),[{path:"",component:c.CommonUrlaubFreigabenPage}]);h.CommonUrlaubFreigabenPageModule=(()=>{class O{static \u0275fac=function(T){return new(T||O)};static \u0275mod=S.\u0275\u0275defineNgModule({type:O});static \u0275inj=S.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(w),l.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule,y.AbstandElementFixedModule]})}return O})()},76052:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),c=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),C=i.__importStar(o(22848)),b=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),S=i.__importStar(o(91368)),M=i.__importStar(o(10716)),w=i.__importStar(o(90212)),A=i.__importStar(o(63792)),O=i.__importStar(o(29856)),F=i.__importStar(o(77440)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),I=i.__importStar(o(80887)),k=["PageHeader"],N=["PageFooter"];function x(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Ce=e.\u0275\u0275restoreView(Fe).index,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.MonatButtonClicked(Ce))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=jt.$implicit,Ee=jt.index,ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ye.GetMonatButtonColor(Ee)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Fe)}}function H(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext(4).$implicit,Je=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Je.VerteretungStatusChangedHandler(ye,Ce,Ge._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Vertretung annehmen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Vertretung ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",Fe.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function G(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1," Vertretung angenommen"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(3).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Ee.DB.GetVertretungsanwortAge(Fe).toFixed(2)," Minuten ")}}function te(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1," Vertretung abgelehnt"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(3).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Ee.DB.GetVertretungsanwortAge(Fe).toFixed(2)," Minuten ")}}function ce(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,G,4,1,"td",46)(4,te,4,1,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function se(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",6),e.\u0275\u0275element(8,"div",37),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"td",38),e.\u0275\u0275elementStart(10,"td")(11,"ion-button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(4).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.UrlaubSuchen(ye,Ce))}),e.\u0275\u0275element(12,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"td"),e.\u0275\u0275template(14,H,12,3,"ng-container",19)(15,ce,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Fe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ee.DB.GetStatuscolor(Fe.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",Fe.Vertretungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===Fe.VertreterantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Fe.VertreterantwortSended)}}function K(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,se,16,8,"tr",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ee.DB.CheckVertretungsanwortAge(Fe)&&Fe.VertreterID===Ee.DB.CurrentMitarbeiter._id&&(Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreteranfrage||Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe||Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function Z(kt,jt){1&kt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",48),e.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),e.\u0275\u0275elementEnd()())}function re(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,K,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.SendVertretungUpdate(Ce,ye))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(6,Z,3,0,"tr",19),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(2).$implicit,ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Fe.Zeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===ye.CheckVertretungUpdateButtonEnabled(Ee,Fe)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===Fe.FreigeberID)}}function X(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,7,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Jahr===Ee.DB.Jahr)}}function W(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",33),e.\u0275\u0275text(16,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"td"),e.\u0275\u0275elementStart(18,"td",31),e.\u0275\u0275text(19,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,X,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"tr"),e.\u0275\u0275element(22,"td"),e.\u0275\u0275elementEnd()()()()),2&kt){const Fe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",Fe.Urlaubsliste)}}function Y(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,W,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",Fe.Vorname+" "+Fe.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Ee.DB.Vertretungsanfragenanzahl||0!==Ee.DB.Vertretungsantwortenanzahl)}}function q(kt,jt){1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function he(kt,jt){1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),e.\u0275\u0275element(3,"div",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function _e(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext(4).$implicit,Je=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Je.FreigabeStatusChangedHandler(ye,Ce,Ge._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Urlaub genehmigen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Urlaub ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",Fe.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Abgelehnt)}}function Oe(kt,jt){1&kt&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1,"Urlaub genehmigt"),e.\u0275\u0275elementEnd())}function Re(kt,jt){1&kt&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1,"Urlaub abgelehnt"),e.\u0275\u0275elementEnd())}function Ae(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,Oe,2,0,"td",46)(4,Re,2,0,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Abgelehnt)}}function ge(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",6),e.\u0275\u0275element(10,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"td",38),e.\u0275\u0275elementStart(12,"td")(13,"ion-button",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(4).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.UrlaubSuchen(ye,Ce))}),e.\u0275\u0275element(14,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275template(16,_e,12,3,"ng-container",19)(17,Ae,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Fe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetVertetungName(Fe)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ee.DB.GetStatuscolor(Fe.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",Fe.Freigabemeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",Fe.Status===Ee.DB.Urlaubstatusvarianten.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===Fe.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Fe.FreigabeantwortSended)}}function Ne(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ge,18,10,"tr",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ee.DB.CheckFreigabeanwortAge(Fe)&&!0===Fe.VertreterantwortSended&&(Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe||Fe.Status===Ee.DB.Urlaubstatusvarianten.Genehmigt||Fe.Status===Ee.DB.Urlaubstatusvarianten.Abgelehnt))}}function it(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ne,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.SendFreigabeUpdate(Ce,ye))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(2).$implicit,ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Fe.Zeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===ye.CheckFreigabeUpdateButtonEnabled(Ee,Fe))}}function qe(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,it,6,2,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Jahr===Ee.DB.Jahr&&Fe.FreigeberID===Ee.DB.CurrentMitarbeiter._id)}}function et(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Vertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",31),e.\u0275\u0275text(16,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"td",33),e.\u0275\u0275text(18,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"td"),e.\u0275\u0275elementStart(20,"td",31),e.\u0275\u0275text(21,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(22,qe,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&kt){const Fe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(22),e.\u0275\u0275property("ngForOf",Fe.Urlaubsliste)}}function De(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,et,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",Fe.Vorname+" "+Fe.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ee.DB.Freigabenanfragenanzahl>0||Ee.DB.Freigabenantwortenanzahl>0)}}function je(kt,jt){1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function Pe(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ce.AnsichtFeiertageCheckChanged(ye,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",51),e.\u0275\u0275element(6,"ion-icon",56),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ce.AnsichtFerientageCheckChanged(ye,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",51),e.\u0275\u0275element(14,"ion-icon",57),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",Fe.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Fe.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Ferien_DE)}}function bt(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",58),e.\u0275\u0275listener("CheckChanged",function(ye){const Ce=e.\u0275\u0275restoreView(Fe),Ge=Ce.$implicit,Je=Ce.index,vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.DisplayExternCheckChanged(ye,Ge,Je))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",59),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Ee.DB.CheckDisplayExternenUrlaub(Fe.MitarbeiterIDExtern))("Enabled",Fe.Zeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Fe.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Fe.NameExtern," ",Fe.Text,"")}}function Qe(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,Pe,17,6,"ng-container",19),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.AnsichtFeiertageCheckChanged(ye,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",51),e.\u0275\u0275element(8,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.AnsichtFerientageCheckChanged(ye,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",51),e.\u0275\u0275element(16,"ion-icon",55),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,bt,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===Fe.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Fe.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Fe.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Fe.DB.UrlaublisteExtern)}}function Ut(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",60),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",Fe.Flagsource,e.\u0275\u0275sanitizeUrl)}}function sn(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td",61),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Fe.Message)}}function un(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",62),e.\u0275\u0275listener("OkClickedEvent",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.AuswahlOkButtonClicked(ye))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Fe.Auswahlliste)("Auswahlindex",Fe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Fe.Auswahltitel)("Iconname","")}}function Sn(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",63),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.MitarbeiterauswahlOkButtonClicked(ye))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Fe.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Fe.AuswahlIDliste)}}h.CommonUrlaubFreigabenPage=(()=>{class kt{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(Fe,Ee,ye,Ce,Ge,Je,vt,Bt,Zt,Rt,Dt){this.Menuservice=Fe,this.Basics=Ee,this.DBMitarbeitersettings=ye,this.Pool=Ce,this.DB=Ge,this.DBMitarbeiter=Je,this.Const=vt,this.DBStandort=Bt,this.DBMitarbeiterstettings=Zt,this.Auswahlservice=Rt,this.Debug=Dt;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Message="",this.Flagsource="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0}catch(Ot){this.Debug.ShowErrorMessage(Ot.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var Fe=this;return n(function*(){try{Fe.DB.Init(),Fe.DB.CheckSetup(),Fe.DB.SetPlanungsmonate(),Fe.DB.CountAnfragenanzahlen()}catch(Ee){Fe.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","PrepareData",Fe.Debug.Typen.Page)}})()}GetDatumlangtext(Fe){try{return(0,a.default)(Fe).locale("de").format("DD. MMMM YYYY")}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Fe){try{let Ee;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(Ee=d.find(this.Pool.Mitarbeiterliste,{_id:Fe[0]}),this.DB.CurrentMitarbeiter=Ee,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let Fe=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Fe,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Fe++;for(let Ee of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Fe,FirstColumn:Ee.Kuerzel,SecoundColumn:Ee.Standort,Data:Ee}),Fe++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Fe){this.Debug.ShowErrorMessage(Fe.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Fe){var Ee=this;return n(function*(){try{Ee.Auswahldialogorigin===Ee.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter&&(Ee.DBStandort.CurrentStandortfilter=(0,c.cloneDeep)(Fe),Ee.Pool.Mitarbeitersettings.StandortFilter=null!==Fe?Fe._id:Ee.Const.NONE,Ee.DBMitarbeitersettings.UpdateMitarbeitersettings(Ee.Pool.Mitarbeitersettings,null).then(()=>{Ee.ShowAuswahl=!1,Ee.DBStandort.StandortfilterChanged.emit()})),Ee.ShowAuswahl=!1,Ee.PrepareData()}catch(ye){Ee.Debug.ShowErrorMessage(ye.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",Ee.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(Fe){try{return(0,a.default)(Fe).format("DD.MM.YYYY")}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(Fe,Ee,ye){try{Ee.Status=Fe.detail.value}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(Fe,Ee,ye){try{Ee.Status=Fe.detail.value}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(Fe,Ee){try{let ye=!1;for(let Ce of Ee.Zeitspannen)d.isUndefined(Ce.VertreterantwortSended)&&(Ce.VertreterantwortSended=!1),null!==Ee.FreigeberID&&!1===Ce.VertreterantwortSended&&Ce.VertreterID===this.DB.CurrentMitarbeiter._id&&(Ce.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Ce.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(ye=!0);return ye}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(Fe,Ee){try{let ye=(0,a.default)(Fe.Startstempel);this.DB.CurrentMonatindex=ye.month(),this.DB.SetPlanungsmonate()}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(Fe,Ee){try{let ye=!1;for(let Ce of Ee.Zeitspannen)d.isUndefined(Ce.FreigabeantwortSended)&&(Ce.FreigabeantwortSended=!1),null!==Ee.FreigeberID&&!1===Ce.FreigabeantwortSended&&(Ce.Status===this.DB.Urlaubstatusvarianten.Genehmigt||Ce.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(ye=!0);return ye}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(Fe,Ee){var ye=this;return n(function*(){try{yield ye.DB.UpdateVertreterantworten(Fe,Ee),yield ye.PrepareData(),ye.DB.ExterneUrlaubeChanged.emit()}catch(Ce){ye.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","SendVertretungUpdate",ye.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(Fe){try{this.Message=Fe.Name,""!==Fe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Fe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(Fe,Ee,ye){try{let Ce=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Ee.MitarbeiterIDExtern});d.isUndefined(Ce)||(Ce.Display=Fe.status);let Ge=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Ge]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(Fe){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=Fe.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(Fe){try{this.Message=Fe.Name,""!==Fe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Fe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(Fe){try{this.DB.CurrentMonatindex=Fe,this.DB.SetPlanungsmonate()}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(Fe){try{if(this.DB.CurrentMonatindex===Fe)return"orange"}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(Fe,Ee){try{switch(Ee){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=Fe.status,this.DB.ShowFerientage_DE=Fe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=Fe.status,this.DB.ShowFerientage_BG=Fe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(Fe,Ee){try{switch(Ee){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=Fe.status,this.DB.ShowFeiertage_DE=Fe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=Fe.status,this.DB.ShowFeiertage_BG=Fe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetVertetungName(Fe){try{let Ee;return Ee=this.DBMitarbeiter.GetMitarbeiterByID(Fe.VertreterID),d.isUndefined(Ee)?"unbekannt":Ee.Vorname+" "+Ee.Name}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetVertetungName",this.Debug.Typen.Page)}}SendFreigabeUpdate(Fe,Ee){var ye=this;return n(function*(){try{yield ye.DB.UpdateFreigabenantworten(Fe,Ee),yield ye.PrepareData(),ye.DB.ExterneUrlaubeChanged.emit()}catch(Ce){ye.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","SendFreigabeUpdate",ye.Debug.Typen.Page)}})()}static \u0275fac=function(Ee){return new(Ee||kt)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:kt,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(Ee,ye){if(1&Ee&&(e.\u0275\u0275viewQuery(k,5),e.\u0275\u0275viewQuery(N,5)),2&Ee){let Ce;e.\u0275\u0275queryRefresh(Ce=e.\u0275\u0275loadQuery())&&(ye.PageHeader=Ce.first),e.\u0275\u0275queryRefresh(Ce=e.\u0275\u0275loadQuery())&&(ye.PageFooter=Ce.first)}},decls:70,vars:30,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],["colspan","2",2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],["width","100%"],["color","baeblau",2,"font-size","120%","font-weight","bold"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],["colspan","7","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],[1,"legendedivclass",2,"color","black"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[3,"value","ionChange"],[1,"nobordertable"],[3,"value"],[2,"color","green"],[2,"color","red"],["style","color: green",4,"ngIf"],["style","color: red",4,"ngIf"],["colspan","6",2,"color","red"],[2,"text-align","center","height","30px"],[2,"height","20px"],[1,"legendedivclass"],["size","small","color","grau",3,"disabled","click"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(Ee,ye){1&Ee&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return ye.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return ye.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,x,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return ye.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ge){return ye.FeiertagCrossedEventHandler(Ge)})("FerientagCrossedEvent",function(Ge){return ye.FerientagCrossedEventHandler(Ge)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ge){return ye.FeiertagCrossedEventHandler(Ge)})("FerientagCrossedEvent",function(Ge){return ye.FerientagCrossedEventHandler(Ge)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ge){return ye.FeiertagCrossedEventHandler(Ge)})("FerientagCrossedEvent",function(Ge){return ye.FerientagCrossedEventHandler(Ge)}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(30,"ion-grid")(31,"ion-row")(32,"ion-col")(33,"table",17)(34,"tr")(35,"td",6)(36,"ion-text",18),e.\u0275\u0275text(37,"Vertretungsanfragen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(38,Y,8,2,"ng-container",10)(39,q,7,0,"ng-container",19)(40,he,4,0,"ng-container",19),e.\u0275\u0275elementStart(41,"ion-row")(42,"ion-col")(43,"table",17)(44,"tr")(45,"td",6)(46,"ion-text",18),e.\u0275\u0275text(47,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(48,De,8,2,"ng-container",10)(49,je,7,0,"ng-container",19),e.\u0275\u0275elementStart(50,"div",20)(51,"table")(52,"tr")(53,"td")(54,"div",21),e.\u0275\u0275listener("click",function(){return ye.LegendeVisible=!ye.LegendeVisible}),e.\u0275\u0275element(55,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"td",23),e.\u0275\u0275template(57,Qe,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(58,"ion-footer")(59,"page-footer",null,25)(61,"table",4)(62,"tr")(63,"td",26)(64,"table",13)(65,"tr"),e.\u0275\u0275template(66,Ut,2,1,"td",19)(67,sn,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(68,un,1,7,"auswahl-dialog",28)(69,Sn,1,6,"fi-mitarbeiter-auswahl",29)),2&Ee&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",ye.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",ye.DB.Jahr)("Monatindex",ye.DB.FirstMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ye.DB.Jahr)("ShowYear",!0)("Monatindex",ye.DB.CurrentMonatindex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ye.DB.Jahr)("Monatindex",ye.DB.LastMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",ye.DB.Vertretrungliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ye.DB.Vertretungsanfragenanzahl&&0===ye.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==ye.DB.Vertretungsanfragenanzahl||0!==ye.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",ye.DB.Freigabenliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ye.DB.Freigabenanfragenanzahl&&0===ye.DB.Freigabenantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ye.Legendehoehe,"px")("width",ye.Legendebreite,"px")("right",ye.LegendeVisible?0:-(ye.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",ye.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",ye.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==ye.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==ye.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==ye.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ye.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ye.ShowMitarbeiterauswahl))},dependencies:[S.NgForOf,S.NgIf,M.IonButton,M.IonCol,M.IonContent,M.IonFooter,M.IonGrid,M.IonHeader,M.IonIcon,M.IonRadio,M.IonRadioGroup,M.IonRow,M.IonText,M.RadioValueAccessor,M.SelectValueAccessor,w.PageHeaderComponent,A.PageHeaderMenuComponent,O.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,I.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return kt})()},74484:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsplanungPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),c=o(75908),e=o(70216),u=o(56568),l=o(6168),g=o(90520),v=o(6232),p=o(72284),C=o(10272),b=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:c.CommonUrlaubPlanungPage}]);h.CommonUrlaubsplanungPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},75908:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubPlanungPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),c=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(15024)),v=i.__importStar(o(7992)),p=i.__importStar(o(9544)),C=i.__importStar(o(22848)),b=i.__importStar(o(29743)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(19668)),S=i.__importStar(o(34388)),M=i.__importStar(o(91368)),w=i.__importStar(o(10716)),A=i.__importStar(o(90212)),O=i.__importStar(o(63792)),F=i.__importStar(o(29856)),j=i.__importStar(o(77440)),T=i.__importStar(o(56584)),I=i.__importStar(o(25856)),k=i.__importStar(o(80887)),N=["PageHeader"],x=["PageFooter"];function H(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).index,Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.MonatButtonClicked(bt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&qe){const De=et.$implicit,je=et.index,Pe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pe.GetMonatButtonColor(je)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(De)}}function G(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.AddUrlaub())}),e.\u0275\u0275text(6,"Neuen Urlaub eintragen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(7,"td"),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",De.DB.CountResturlaub()<=0)}}function te(qe,et){if(1&qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",33),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",32),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&qe){const De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==De.DB.CurrentZeitspanne&&null!==De.DB.CurrentZeitspanne.Endestempel?De.DB.CurrentZeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function ce(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",34),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Pe.CancelDatumClicked())}),e.\u0275\u0275element(2,"ion-icon",35),e.\u0275\u0275elementEnd()()}}function se(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"td",31)(1,"table",7)(2,"tr")(3,"td")(4,"div",32),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,te,6,1,"ng-container",17)(7,ce,3,0,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"tr"),e.\u0275\u0275elementEnd()()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==De.DB.CurrentZeitspanne&&null!==De.DB.CurrentZeitspanne.Startstempel?De.DB.CurrentZeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==De.DB.CurrentZeitspanne&&null!==De.DB.CurrentZeitspanne.Startstempel),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===De.AddUrlaubRunning)}}function K(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",48),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext().$implicit,bt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(bt.StellvertreterFestlegenClicked(Pe))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext().$implicit,je=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==De.VertreterID?je.GetStellvertretername(De):"Festlegen")}}function Z(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&qe){const De=e.\u0275\u0275nextContext().$implicit,je=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==De.VertreterID?je.GetStellvertretername(De):"Festlegen")}}function re(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",42),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275template(8,K,2,1,"ion-button",45)(9,Z,2,1,"span",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",6)(11,"div",46),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).$implicit,Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.StatusClickedHandler(bt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(12,"td",47),e.\u0275\u0275elementStart(13,"td")(14,"ion-button",48),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).$implicit,Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.UrlaubSuchen(bt))}),e.\u0275\u0275element(15,"ion-icon",49),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",50),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).$implicit,Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.UrlaubLoeschen(bt))}),e.\u0275\u0275element(18,"ion-icon",51),e.\u0275\u0275elementEnd()()()}if(2&qe){const De=et.$implicit,je=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.GetDatumlangtext(De.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.GetDatumlangtext(De.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(De.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",De.Status===je.DB.Urlaubstatusvarianten.Geplant||De.Status===je.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.Status!==je.DB.Urlaubstatusvarianten.Geplant&&De.Status!==je.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===je.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",je.DB.GetStatuscolor(De.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",De.Planungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===je.CheckLoschenEnabled(De))}}function X(qe,et){if(1&qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,19,11,"tr",10),e.\u0275\u0275elementContainerEnd()),2&qe){const De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",De.DB.CurrentUrlaub.Zeitspannen)}}function W(qe,et){1&qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",52),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function Y(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr",6)(1,"td")(2,"table",36)(3,"tr")(4,"td",37),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",37),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",38),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",37),e.\u0275\u0275text(11,"Stellvertreter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",37),e.\u0275\u0275text(13,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",39),e.\u0275\u0275text(15,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"td",40)(17,"td",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,X,2,1,"ng-container",17)(19,W,3,0,"ng-container",17),e.\u0275\u0275elementStart(20,"tr")(21,"td",41),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",42),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"td",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"tr")(27,"td",44)(28,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(29,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",De.DB.CurrentUrlaub.Zeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===De.DB.CurrentUrlaub.Zeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(De.DB.CountResturlaub()),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!1===De.CheckUpdatesAvailable())}}function q(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",53)(3,"tr")(4,"td",42),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",De.DB.CountResturlaub()," Urlaubstage.")}}function he(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(bt.AnsichtFeiertageCheckChanged(Pe,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",55),e.\u0275\u0275element(6,"ion-icon",58),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(bt.AnsichtFerientageCheckChanged(Pe,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",55),e.\u0275\u0275element(14,"ion-icon",59),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&qe){const De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",De.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",De.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Ferien_DE)}}function _e(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(Pe){const bt=e.\u0275\u0275restoreView(De),Qe=bt.$implicit,Ut=bt.index,sn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(sn.DisplayExternCheckChanged(Pe,Qe,Ut))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",61),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&qe){const De=et.$implicit,je=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",je.DB.CheckDisplayExternenUrlaub(De.MitarbeiterIDExtern))("Enabled",De.Zeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(De.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",De.NameExtern," ",De.Text,"")}}function Oe(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,he,17,6,"ng-container",17),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.AnsichtFeiertageCheckChanged(Pe,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",55),e.\u0275\u0275element(8,"ion-icon",56),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Pe){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.AnsichtFerientageCheckChanged(Pe,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",55),e.\u0275\u0275element(16,"ion-icon",57),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,_e,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===De.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",De.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",De.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",De.DB.UrlaublisteExtern)}}function Re(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",62),e.\u0275\u0275elementEnd()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",De.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Ae(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"td",63),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(De.Message)}}function ge(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",64),e.\u0275\u0275listener("OkClickedEvent",function(Pe){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.AuswahlOkButtonClicked(Pe))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",De.Auswahlliste)("Auswahlindex",De.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",De.Auswahltitel)("Iconname","")}}function Ne(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",65),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Pe){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.MitarbeiterauswahlOkButtonClicked(Pe))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(De);const Pe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pe.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",De.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",De.AuswahlIDliste)}}h.CommonUrlaubPlanungPage=(()=>{class qe{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;Auswahlservice;Tools;Debug;PageHeader;PageFooter;Monateliste_Uebersicht;Monateliste_Mounseover;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;constructor(De,je,Pe,bt,Qe,Ut,sn,un,Sn,bn,kt){this.Menuservice=De,this.Basics=je,this.DBMitarbeitersettings=Pe,this.Pool=bt,this.DB=Qe,this.DBMitarbeiter=Ut,this.Const=sn,this.DBStandort=un,this.Auswahlservice=Sn,this.Tools=bn,this.Debug=kt;try{this.Monateliste_Uebersicht=[],this.Monateliste_Uebersicht.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Uebersicht.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_Mounseover=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource=""}catch(jt){this.Debug.ShowErrorMessage(jt.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(De){var je=this;return n(function*(){try{let Pe,bt;switch((0,a.default)().locale("de"),je.Auswahldialogorigin){case je.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:je.DB.Bundeslandkuerzel=De;let Ut=je.DB.Bundeslandkuerzel.substring(0,2);je.DB.ReadFeiertage(Ut).then(()=>{je.ShowAuswahl=!1,je.PrepareData()});break;case je.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:null!==De&&De!==je.DB.CurrentZeitspanne.Status&&(Pe=d.find(je.DB.CurrentUrlaub.Zeitspannen,{ZeitspannenID:je.DB.CurrentZeitspanne.ZeitspannenID}),Pe.Status=De,Pe.Status===je.DB.Urlaubstatusvarianten.Geplant&&(Pe.VertreteranfrageSended=!1,Pe.VertreterantwortSended=!1,Pe.FreigabeanfrageSended=!1,Pe.FreigabeantwortSended=!1,Pe.FreigabeantwortOfficeSended=!1,Pe.Vertretunganfragezeitstempel=null,Pe.Vertretungantwortzeitstempel=null,Pe.Vertretungantwortzeitstempel=null,Pe.Freigabeantwortzeitstempel=null,Pe.FreigabeantwortOfficezeitstempel=null),bt=d.findIndex(je.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:je.DB.Jahr}),je.DB.CurrentMitarbeiter.Urlaubsliste[bt]=je.DB.CurrentUrlaub,yield je.DBMitarbeiter.UpdateMitarbeiterUrlaub(je.DB.CurrentMitarbeiter).then(()=>{je.ShowAuswahl=!1}));break;case je.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:je.DBStandort.CurrentStandortfilter=(0,c.cloneDeep)(De),je.Pool.Mitarbeitersettings.StandortFilter=null!==De?De._id:je.Const.NONE,je.DBMitarbeitersettings.UpdateMitarbeitersettings(je.Pool.Mitarbeitersettings,null).then(()=>{je.ShowAuswahl=!1,je.DBStandort.StandortfilterChanged.emit()});break;case je.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:Pe=d.find(je.DB.CurrentUrlaub.Zeitspannen,{ZeitspannenID:je.DB.CurrentZeitspanne.ZeitspannenID}),je.DB.CurrentZeitspanne.VertreterID=De,Pe.VertreterID=De,Pe.Status=je.DB.Urlaubstatusvarianten.Geplant,Pe.FreigabeantwortSended=!1,Pe.FreigabeanfrageSended=!1,Pe.VertreterantwortSended=!1,bt=d.findIndex(je.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:je.DB.Jahr}),je.DB.CurrentMitarbeiter.Urlaubsliste[bt]=je.DB.CurrentUrlaub,yield je.DBMitarbeiter.UpdateMitarbeiterUrlaub(je.DB.CurrentMitarbeiter).then(()=>{je.ShowAuswahl=!1})}}catch(Pe){je.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",je.Debug.Typen.Page)}})()}BundeslandClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland,this.Auswahltitel="Bundesland",this.Auswahlhoehe=600,this.Auswahlliste=this.BundeslandAuswahlliste,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.Bundeslandkuerzel}),this.ShowAuswahl=!0}catch(De){this.Debug.ShowErrorMessage(De.message,"Urlaubsplanung Page","FortschrittClickedHandler",this.Debug.Typen.Page)}}PrepareData(){var De=this;return n(function*(){try{let je=0;De.DB.Init(),De.DB.CheckSetup(),De.DB.SetPlanungsmonate(),De.DB.CountAnfragenanzahlen(),De.BundeslandAuswahlliste=[];for(let Pe of De.DB.Regionenliste)De.BundeslandAuswahlliste.push({Index:je,FirstColumn:Pe.Name,SecoundColumn:Pe.isoCode,Data:Pe.isoCode}),je++;De.DB.Bundesland=d.find(De.BundeslandAuswahlliste,{Data:De.DB.Bundeslandkuerzel}).FirstColumn}catch(je){De.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","PrepareData",De.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(De){try{this.Message=De.Name,""!==De.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===De.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(De){try{this.Message=De.Name,""!==De.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===De.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(De){return(0,a.default)(De).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(De,je){try{switch(je){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=De.status,this.DB.ShowFerientage_DE=De.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=De.status,this.DB.ShowFerientage_BG=De.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(De,je){try{switch(je){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=De.status,this.DB.ShowFeiertage_DE=De.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=De.status,this.DB.ShowFeiertage_BG=De.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(De){try{if(this.DB.CurrentMonatindex===De)return"orange"}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(De){try{this.DB.CurrentMonatindex=De,this.DB.SetPlanungsmonate()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentZeitspanne=null,this.AddUrlaubRunning=!0}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,null!==this.DB.CurrentZeitspanne){this.DB.CurrentUrlaub.Zeitspannen.push(this.DB.CurrentZeitspanne);let De=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[De]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(De){try{let je=d.filter(this.DB.CurrentUrlaub.Zeitspannen,bt=>bt.ZeitspannenID!==De.ZeitspannenID);this.DB.CurrentUrlaub=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentUrlaub.Zeitspannen=je;let Pe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Pe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(De,je){try{switch(je){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=De.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=De.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=De.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=De.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(De){try{let je=(0,a.default)(De.Startstempel);this.DB.CurrentMonatindex=je.month(),this.DB.SetPlanungsmonate()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(De){try{return(0,a.default)(De).locale("de").format("DD. MMMM YYYY")}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(De){try{let je;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(je=d.find(this.Pool.Mitarbeiterliste,{_id:De[0]}),this.DB.CurrentMitarbeiter=je,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(je){this.Debug.ShowErrorMessage(je.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let De=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:De,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),De++;for(let je of this.Pool.Standorteliste)this.Auswahlliste.push({Index:De,FirstColumn:je.Kuerzel,SecoundColumn:je.Standort,Data:je}),De++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(De){this.Debug.ShowErrorMessage(De.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(De){try{let je,Pe;this.DB.CurrentZeitspanne=De,Pe=0,this.Auswahlliste=[];for(let bt of this.DB.CurrentUrlaub.Projektbeteiligteliste)je=d.find(this.Pool.Mitarbeiterliste,{_id:bt.MitarbeiterID}),d.isUndefined(je)||(this.Auswahlliste.push({Index:Pe,FirstColumn:je.Vorname+" "+je.Name,SecoundColumn:"",Data:je._id}),Pe++);this.Auswahltitel="Stellvertreter/in festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:De.VertreterID})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(De){try{let je=d.find(this.Pool.Mitarbeiterliste,{_id:De.VertreterID});return d.isUndefined(je)?"unbekannt":je.Vorname+" "+je.Name}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(De,je,Pe){try{let bt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:je.MitarbeiterIDExtern});d.isUndefined(bt)||(bt.Display=De.status);let Qe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Qe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(bt){this.Debug.ShowErrorMessage(bt,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUpdatesAvailable(){try{let De=!1;if(null!==this.DB.CurrentUrlaub)for(let je of this.DB.CurrentUrlaub.Zeitspannen)je.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==je.VertreterID&&(De=!0);return De}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","CheckUpdatesAvailable",this.Debug.Typen.Page)}}CheckLoschenEnabled(De){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||De.Status===this.DB.Urlaubstatusvarianten.Geplant||De.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||De.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","CheckLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.DB.CurrentZeitspanne=null}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(De){try{let je=0;this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentZeitspanne=De,this.Auswahlliste=[],this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:De.Status})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(je){return new(je||qe)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.ToolsProvider),e.\u0275\u0275directiveInject(S.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:qe,selectors:[["common-urlaub-planung-page"]],viewQuery:function(je,Pe){if(1&je&&(e.\u0275\u0275viewQuery(N,5),e.\u0275\u0275viewQuery(x,5)),2&je){let bt;e.\u0275\u0275queryRefresh(bt=e.\u0275\u0275loadQuery())&&(Pe.PageHeader=bt.first),e.\u0275\u0275queryRefresh(bt=e.\u0275\u0275loadQuery())&&(Pe.PageFooter=bt.first)}},decls:55,vars:29,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","AddUrlaubFinished","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddUrlaubFinished","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],["align","center","style","height: 100px;",4,"ngIf"],["align","center",4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","small",3,"disabled","click"],["align","center",2,"height","100px"],[1,"datumdivclass"],[2,"width","100px","text-align","center"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"width","30px"],["colspan","2",2,"text-align","right","font-weight","bold"],[2,"text-align","center"],["colspan","5"],["align","center","colspan","8"],["size","small","color","grau",3,"click",4,"ngIf"],[1,"legendedivclass",3,"click"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],["size","small","color","rot",3,"disabled","click"],["name","trash","slot","icon-only",2,"font-size","16px"],["colspan","8"],[1,"docinnertable",2,"width","480px"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(je,Pe){1&je&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Pe.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Pe.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,H,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return Pe.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return Pe.AddUrlaubFinishedHandler()})("FeiertagCrossedEvent",function(Qe){return Pe.FeiertagCrossedEventHandler(Qe)})("FerientagCrossedEvent",function(Qe){return Pe.FerientagCrossedEventHandler(Qe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("AddUrlaubFinished",function(){return Pe.AddUrlaubFinishedHandler()})("FeiertagCrossedEvent",function(Qe){return Pe.FeiertagCrossedEventHandler(Qe)})("FerientagCrossedEvent",function(Qe){return Pe.FerientagCrossedEventHandler(Qe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return Pe.AddUrlaubFinishedHandler()})("FeiertagCrossedEvent",function(Qe){return Pe.FeiertagCrossedEventHandler(Qe)})("FerientagCrossedEvent",function(Qe){return Pe.FerientagCrossedEventHandler(Qe)}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(30,G,8,1,"tr",17),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275template(32,se,9,3,"td",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(33,Y,30,4,"tr",19)(34,q,6,1,"tr",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"div",20)(36,"table")(37,"tr")(38,"td")(39,"div",21),e.\u0275\u0275listener("click",function(){return Pe.LegendeVisible=!Pe.LegendeVisible}),e.\u0275\u0275element(40,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(41,"td",23),e.\u0275\u0275template(42,Oe,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(43,"ion-footer")(44,"page-footer",null,25)(46,"table",4)(47,"tr")(48,"td",26)(49,"table",13)(50,"tr"),e.\u0275\u0275template(51,Re,2,1,"td",17)(52,Ae,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(53,ge,1,7,"auswahl-dialog",28)(54,Ne,1,6,"fi-mitarbeiter-auswahl",29)),2&je&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",Pe.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Pe.DB.Jahr)("Monatindex",Pe.DB.FirstMonatIndex)("AddUrlaubRunning",Pe.AddUrlaubRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Pe.DB.Jahr)("ShowYear",!0)("Monatindex",Pe.DB.CurrentMonatindex)("AddUrlaubRunning",Pe.AddUrlaubRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Pe.DB.Jahr)("Monatindex",Pe.DB.LastMonatIndex)("AddUrlaubRunning",Pe.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===Pe.AddUrlaubRunning&&null!==Pe.DB.CurrentUrlaub),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!0===Pe.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Pe.DB.CurrentUrlaub&&!1===Pe.AddUrlaubRunning&&Pe.DB.CurrentUrlaub.Zeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Pe.DB.CurrentUrlaub&&!1===Pe.AddUrlaubRunning&&0===Pe.DB.CurrentUrlaub.Zeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Pe.Legendehoehe,"px")("width",Pe.Legendebreite,"px")("right",Pe.LegendeVisible?0:-(Pe.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Pe.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Pe.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Pe.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Pe.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Pe.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.ShowMitarbeiterauswahl))},dependencies:[M.NgForOf,M.NgIf,w.IonButton,w.IonContent,w.IonFooter,w.IonHeader,w.IonIcon,A.PageHeaderComponent,O.PageHeaderMenuComponent,F.PageFooterComponent,j.PjProjektpunktDateKWPickerComponent,T.AuswahlDialogComponent,I.CheckboxClonComponent,k.FiMitarbeiterAuswahlComponent],styles:[".datumdivclass[_ngcontent-%COMP%]{width:200px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:#307ac1;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;padding:4px}.datumcanceldivclass[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:red;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return qe})()},19204:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsuebersichtPageModule=void 0;const n=o(81316),i=o(91368),d=o(10716),a=o(44716),c=o(62364),e=o(70216),u=o(56568),l=o(6168),g=o(90520),v=o(6232),p=o(72284),C=o(10272),b=o(7388),_=o(27328),f=o(26668),y=n.__importStar(o(54496)),M=(n.__importStar(o(56568)),[{path:"",component:c.CommonUrlaubUebersichtPage}]);h.CommonUrlaubsuebersichtPageModule=(()=>{class A{static \u0275fac=function(j){return new(j||A)};static \u0275mod=y.\u0275\u0275defineNgModule({type:A});static \u0275inj=y.\u0275\u0275defineInjector({imports:[i.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,u.RouterModule.forChild(M),l.PageHeaderMenuModule,g.PageFooterModule,v.UrlausplanungKalenderModule,p.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,_.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},62364:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubUebersichtPage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importDefault(o(35908)),c=o(17964),e=i.__importStar(o(54496)),u=i.__importStar(o(59460)),l=i.__importStar(o(14652)),g=i.__importStar(o(7992)),v=i.__importStar(o(9544)),p=i.__importStar(o(29743)),C=i.__importStar(o(22848)),b=i.__importStar(o(15024)),_=i.__importStar(o(58864)),f=i.__importStar(o(48044)),y=i.__importStar(o(34388)),S=i.__importStar(o(91368)),M=i.__importStar(o(10716)),w=i.__importStar(o(90212)),A=i.__importStar(o(63792)),O=i.__importStar(o(29856)),F=i.__importStar(o(77440)),j=i.__importStar(o(56584)),T=i.__importStar(o(25856)),I=i.__importStar(o(80887)),k=["PageHeader"],N=["PageFooter"];function x(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(it.FeiertagCrossedEventHandler(Ne))})("FerientagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(it.FerientagCrossedEventHandler(Ne))}),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.index,ge=e.\u0275\u0275nextContext().index,Ne=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Ne.DB.Jahr)("Monatindex",6*ge+Ae)}}function H(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,x,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&Oe){const Ae=Re.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Ae)}}function G(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,H,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Ae.Monateliste_Gesamtjahr)}}function te(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FeiertagCrossedEventHandler(Ne))})("FerientagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FerientagCrossedEventHandler(Ne))}),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.index,ge=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",ge.DB.Jahr)("Monatindex",Ae)}}function ce(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,te,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Ae.Monateliste_HalbjahrEins)}}function se(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FeiertagCrossedEventHandler(Ne))})("FerientagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FerientagCrossedEventHandler(Ne))}),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.index,ge=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",ge.DB.Jahr)("Monatindex",Ae+6)}}function K(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,se,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Ae.Monateliste_HalbjahrZwei)}}function Z(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.AnsichtFeiertageCheckChanged(Ne,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",28),e.\u0275\u0275element(6,"ion-icon",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.AnsichtFerientageCheckChanged(Ne,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",28),e.\u0275\u0275element(14,"ion-icon",32),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",Ae.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Ae.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Ferien_DE)}}function re(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(Ne){const it=e.\u0275\u0275restoreView(Ae),qe=it.$implicit,et=it.index,De=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(De.DisplayExternCheckChanged(Ne,qe,et))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",34),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.$implicit,ge=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",ge.DB.CheckDisplayExternenUrlaub(Ae.MitarbeiterIDExtern))("Enabled",Ae.Zeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Ae.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Ae.NameExtern," ",Ae.Text,"")}}function X(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,Z,17,6,"ng-container",9),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.AnsichtFeiertageCheckChanged(Ne,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",28),e.\u0275\u0275element(8,"ion-icon",29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.AnsichtFerientageCheckChanged(Ne,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",28),e.\u0275\u0275element(16,"ion-icon",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,re,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===Ae.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Ae.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Ae.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Ae.DB.UrlaublisteExtern)}}function W(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",Ae.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Y(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Ae.Message)}}function q(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.AuswahlOkButtonClicked(Ne))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Ae);const Ne=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ne.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Ae.Auswahlliste)("Auswahlindex",Ae.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Ae.Auswahltitel)("Iconname","")}}function he(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Ae);const Ne=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ne.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.MitarbeiterauswahlOkButtonClicked(Ne))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Ae);const Ne=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ne.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Ae.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Ae.AuswahlIDliste)}}h.CommonUrlaubUebersichtPage=(()=>{class Oe{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Monateliste_Gesamtjahr;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Ansichtvariante;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;AuswahlIDliste;MitarbeiterauswahlTitel;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Monateliste_HalbjahrEins;Monateliste_HalbjahrZwei;constructor(Ae,ge,Ne,it,qe,et,De,je,Pe,bt){this.Menuservice=Ae,this.Basics=ge,this.Pool=Ne,this.DB=it,this.Const=qe,this.DBMitarbeiter=et,this.DBMitarbeitersettings=De,this.DBStandort=je,this.Auswahlservice=Pe,this.Debug=bt;try{this.Monateliste_Gesamtjahr=[],this.Monateliste_Gesamtjahr.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Gesamtjahr.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_HalbjahrEins=["Januar","Februar","M\xe4rz","April","Mai","Juni"],this.Monateliste_HalbjahrZwei=["Juli","August","September","Oktober","November","Dezember"],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(Qe){this.Debug.ShowErrorMessage(Qe.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,a.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Ae){try{let ge;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(ge=d.find(this.Pool.Mitarbeiterliste,{_id:Ae[0]}),this.DB.CurrentMitarbeiter=ge,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Ae){var ge=this;return n(function*(){try{switch(ge.Auswahldialogorigin){case ge.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:ge.DB.Bundeslandkuerzel=Ae;let Ne=ge.DB.Bundeslandkuerzel.substring(0,2);ge.DB.ReadFeiertage(Ne);break;case ge.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:ge.DBStandort.CurrentStandortfilter=(0,c.cloneDeep)(Ae),ge.Pool.Mitarbeitersettings.StandortFilter=null!==Ae?Ae._id:ge.Const.NONE,ge.DBMitarbeitersettings.UpdateMitarbeitersettings(ge.Pool.Mitarbeitersettings,null).then(()=>{ge.ShowAuswahl=!1,ge.DBStandort.StandortfilterChanged.emit()})}ge.ShowAuswahl=!1,ge.PrepareData()}catch(Ne){ge.Debug.ShowErrorMessage(Ne.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",ge.Debug.Typen.Page)}})()}PrepareData(){var Ae=this;return n(function*(){try{let ge=0;Ae.DB.Init(),Ae.DB.CheckSetup(),Ae.DB.SetPlanungsmonate(),Ae.DB.CountAnfragenanzahlen(),Ae.BundeslandAuswahlliste=[];for(let Ne of Ae.DB.Regionenliste)Ae.BundeslandAuswahlliste.push({Index:ge,FirstColumn:Ne.Name,SecoundColumn:Ne.isoCode,Data:Ne.isoCode}),ge++;Ae.DB.Bundesland=d.find(Ae.BundeslandAuswahlliste,{Data:Ae.DB.Bundeslandkuerzel}).FirstColumn}catch(ge){Ae.Debug.ShowErrorMessage(ge,"Urlaubsuebersicht Page","PrepareData",Ae.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(Ae){try{this.Message=Ae.Name,""!==Ae.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Ae.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(ge){this.Debug.ShowErrorMessage(ge,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(Ae){try{this.Message=Ae.Name,""!==Ae.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Ae.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(ge){this.Debug.ShowErrorMessage(ge,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(Ae){return(0,a.default)(Ae).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let Ae=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Ae,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Ae++;for(let ge of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Ae,FirstColumn:ge.Kuerzel,SecoundColumn:ge.Standort,Data:ge}),Ae++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(Ae,ge,Ne){try{let it=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:ge.MitarbeiterIDExtern});d.isUndefined(it)||(it.Display=Ae.status);let qe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[qe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(it){this.Debug.ShowErrorMessage(it,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(Ae,ge){try{switch(ge){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=Ae.status,this.DB.ShowFeiertage_DE=Ae.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=Ae.status,this.DB.ShowFeiertage_BG=Ae.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ne){this.Debug.ShowErrorMessage(Ne,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(Ae,ge){try{switch(ge){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=Ae.status,this.DB.ShowFerientage_DE=Ae.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=Ae.status,this.DB.ShowFerientage_BG=Ae.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ne){this.Debug.ShowErrorMessage(Ne,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}static \u0275fac=function(ge){return new(ge||Oe)(e.\u0275\u0275directiveInject(u.MenueService),e.\u0275\u0275directiveInject(l.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(v.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(y.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Oe,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(ge,Ne){if(1&ge&&(e.\u0275\u0275viewQuery(k,5),e.\u0275\u0275viewQuery(N,5)),2&ge){let it;e.\u0275\u0275queryRefresh(it=e.\u0275\u0275loadQuery())&&(Ne.PageHeader=it.first),e.\u0275\u0275queryRefresh(it=e.\u0275\u0275loadQuery())&&(Ne.PageFooter=it.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],[1,"paddingtable"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"paddingsmalltable",2,"width","100%"],[4,"ngFor","ngForOf"],[2,"width","20px"],["style","width: 16%; height: inherit","valign","top",4,"ngFor","ngForOf"],["valign","top",2,"width","16%","height","inherit"],[3,"Jahr","Monatindex","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(ge,Ne){1&ge&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ne.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Ne.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return Ne.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return Ne.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,G,3,1,"ng-container",9)(23,ce,6,1,"ng-container",9)(24,K,6,1,"ng-container",9),e.\u0275\u0275elementStart(25,"div",10)(26,"table")(27,"tr")(28,"td")(29,"div",11),e.\u0275\u0275listener("click",function(){return Ne.LegendeVisible=!Ne.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,X,56,20,"table",14),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(33,"ion-footer")(34,"page-footer",null,15)(36,"table",4)(37,"tr")(38,"td",16)(39,"table",17)(40,"tr"),e.\u0275\u0275template(41,W,2,1,"td",9)(42,Y,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,q,1,7,"auswahl-dialog",19)(44,he,1,6,"fi-mitarbeiter-auswahl",20)),2&ge&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",Ne.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",Ne.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",Ne.DB.Jahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ne.Legendehoehe,"px")("width",Ne.Legendebreite,"px")("right",Ne.LegendeVisible?0:-(Ne.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Ne.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Ne.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Ne.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Ne.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Ne.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.ShowMitarbeiterauswahl))},dependencies:[S.NgForOf,S.NgIf,M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,w.PageHeaderComponent,A.PageHeaderMenuComponent,O.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,j.AuswahlDialogComponent,T.CheckboxClonComponent,I.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:200px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return Oe})()},99988:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FIMitarbeiterlistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),c=o(10716),e=o(54780),u=o(70216),l=o(6512),g=o(87143),v=o(90520),p=o(6168),C=o(27328),b=o(10272),_=o(7388),f=n.__importStar(o(54496)),S=(n.__importStar(o(56568)),[{path:"",component:e.FiMitarbeiterlistePage}]);h.FIMitarbeiterlistePageModule=(()=>{class w{static \u0275fac=function(F){return new(F||w)};static \u0275mod=f.\u0275\u0275defineNgModule({type:w});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,c.IonicModule,a.RouterModule.forChild(S),u.PageHeaderModule,v.PageFooterModule,l.AbstandElementFixedModule,g.AlphabetModule,p.PageHeaderMenuModule,C.FiMitarbeiterEditorModule,b.AuswahlDialogModule,_.CheckboxClonModule]})}return w})()},54780:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterlistePage=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importStar(o(54496)),a=n.__importStar(o(14652)),c=n.__importStar(o(34388)),e=n.__importStar(o(19668)),u=n.__importStar(o(29743)),l=n.__importStar(o(22848)),g=n.__importStar(o(58864)),v=n.__importStar(o(48044)),p=n.__importStar(o(7992)),C=n.__importStar(o(91368)),b=n.__importStar(o(10716)),_=n.__importStar(o(90212)),f=n.__importStar(o(29856)),y=n.__importStar(o(99031)),S=n.__importStar(o(63792)),M=n.__importStar(o(82384)),w=n.__importStar(o(56584)),A=n.__importStar(o(25856)),O=["Alphabet"],F=["PageHeader"],j=["PageFooter"];function T(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",20)(2,"ion-text",31)(3,"b"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()()()()),2&re){const W=d.\u0275\u0275nextContext().index,Y=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(Y.Mitarbeiterbuchstabenliste[W])}}function I(re,X){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function k(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,I,2,0,"td",8),d.\u0275\u0275elementStart(4,"td"),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()),2&re){const W=d.\u0275\u0275nextContext(2).$implicit,Y=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",W.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",W.Email===Y.Pool.Mitarbeiterdaten.Email&&""===W.Kuerzel||""===W.StandortID),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate3(" ",W.Name," ",W.Vorname," / ",W.Kuerzel," ")}}function N(re,X){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function x(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,N,2,0,"td",8),d.\u0275\u0275elementStart(4,"td")(5,"span"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"span",35),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(9,"span"),d.\u0275\u0275text(10),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11),d.\u0275\u0275elementEnd()()),2&re){const W=d.\u0275\u0275nextContext(2).$implicit,Y=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",W.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",W.Email===Y.Pool.Mitarbeiterdaten.Email&&""===W.Kuerzel||""===W.StandortID),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(W.Text_A),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(W.Text_B),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(W.Text_C),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" / ",W.Kuerzel," ")}}function H(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"table",32),d.\u0275\u0275template(1,k,6,6,"tr",8)(2,x,12,7,"tr",8),d.\u0275\u0275elementEnd()),2&re){const W=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!W.Filtered),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",W.Filtered)}}function G(re,X){if(1&re){const W=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"ion-item",18),d.\u0275\u0275listener("click",function(){const he=d.\u0275\u0275restoreView(W).$implicit,_e=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(_e.MitrabeiterButtonClicked(he))}),d.\u0275\u0275elementStart(1,"ion-grid",19),d.\u0275\u0275template(2,T,5,1,"ion-row",8),d.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",20)(5,"div",21)(6,"table",22)(7,"tr")(8,"td"),d.\u0275\u0275template(9,H,3,2,"table",23),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",24)(13,"tr"),d.\u0275\u0275element(14,"td",25),d.\u0275\u0275elementStart(15,"td",26),d.\u0275\u0275text(16,"Stadort:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"td",27),d.\u0275\u0275text(18),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(19,"td",28),d.\u0275\u0275elementStart(20,"td",29),d.\u0275\u0275text(21,"Email:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(22,"td",30),d.\u0275\u0275text(23),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(24,"td",28),d.\u0275\u0275elementStart(25,"td",26),d.\u0275\u0275text(26,"Fachbereich:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(27,"td",27),d.\u0275\u0275text(28),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(29,"td",28),d.\u0275\u0275elementEnd()()()()()()()()()()}if(2&re){const W=X.$implicit,Y=X.index,q=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",""!==q.Mitarbeiterbuchstabenliste[Y]),d.\u0275\u0275advance(7),d.\u0275\u0275property("ngIf",null!==W&&null!==q.Pool.Mitarbeiterdaten),d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(q.DBStandort.GetStandort(W.StandortID)),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(W.Email),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(W.Fachbereich)}}function te(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-list"),d.\u0275\u0275template(1,G,30,5,"ion-item",17),d.\u0275\u0275elementEnd()),2&re){const W=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",W.Mitarbeiterliste)}}function ce(re,X){1&re&&(d.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),d.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),d.\u0275\u0275elementEnd()()())}function se(re,X){if(1&re){const W=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",38),d.\u0275\u0275listener("StandortClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.StandortClickedHandler())})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.ShowEditor=!1)})("OkClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.ShowEditor=!1)})("AnredeClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.AnredeClickedEventHandler())})("UrlaubClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.UrlaubClickedEventHandler())})("FachbereichClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.FachbereichClickedHandler())}),d.\u0275\u0275elementEnd()}if(2&re){const W=d.\u0275\u0275nextContext();d.\u0275\u0275property("Dialogbreite",600)("Titel",W.GetDialogTitel())}}function K(re,X){if(1&re){const W=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"auswahl-dialog",39),d.\u0275\u0275listener("OkClickedEvent",function(q){d.\u0275\u0275restoreView(W);const he=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(he.AuswahlOkButtonClicked(q))})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(W);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.ShowAuswahl=!1)}),d.\u0275\u0275elementEnd()}if(2&re){const W=d.\u0275\u0275nextContext();d.\u0275\u0275property("Auswahlliste",W.Auswahlliste)("Auswahlindex",W.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",W.Auswahltitel)("Iconname",W.GetDialogTitelicon())}}h.FiMitarbeiterlistePage=(()=>{class re{Basics;Debug;Tools;Const;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Inputtimer;Listenbreite;ShowEditor;EditorValid;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;constructor(W,Y,q,he,_e,Oe,Re,Ae){this.Basics=W,this.Debug=Y,this.Tools=q,this.Const=he,this.DB=_e,this.DBStandort=Oe,this.Auswahlservice=Re,this.Pool=Ae;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabet=[],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterliste=[],this.Alphapetbreite=44,this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Mitarbeiteralphabet=this.Standardalphabet,this.Mitarbeiterbuchstabenliste=[],this.Mitarbeiterfiltertext="",this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.StandortfilterSubsciption=null,this.ShowMeOnly=!1,this.ShowArchivierte=!1,this.ShowAktuelle=!0}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null),null!==this.StandortfilterSubsciption&&(this.StandortfilterSubsciption.unsubscribe(),this.StandortfilterSubsciption=null)}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let W=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-W-4,this.Alphabetcomponent.InitScreen()}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(W){try{this.DB.CurrentMitarbeiter=i.cloneDeep(W),this.ShowEditor=!0}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(W){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=W,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(W){try{let Y=W.Name.substring(0,1).toUpperCase();return Y!==this.Lastletter?(this.Lastletter=Y,Y):""}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let W,Y,q,he,_e,Oe,Re,Ae,ge,Ne,it,qe;if(null!==this.Pool.Mitarbeiterliste){if(he=i.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",he.sort((et,De)=>et.Name>De.Name?-1:et.Nameet.Archiviert):this.ShowAktuelle?W=i.filter(W,et=>!et.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(W=[])),null!==this.DBStandort.CurrentStandortfilter&&(W=i.filter(W,et=>et.StandortID===this.DBStandort.CurrentStandortfilter._id)),W.sort((et,De)=>et.NameDe.Name?1:0),W.length>6){this.Mitarbeiteralphabet=["Alle"];for(let et of W)q=et.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(q)&&this.Mitarbeiteralphabet.push(q)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){Y=i.cloneDeep(W),W=[];for(let et of Y)q=et.Name.substring(0,1).toUpperCase(),q="\xc4"===q?"A":q,q="\xd6"===q?"O":q,q="\xdc"===q?"U":q,this.Mitarbeiteralphabetauswahl===q&&W.push(et)}if(""!==this.Mitarbeiterfiltertext){Y=i.cloneDeep(W),W=[];for(let et of Y)it=this.Mitarbeiterfiltertext.toLowerCase(),qe=et.Name.toLowerCase(),Ne=qe.indexOf(it),-1!==Ne&&(_e=et.Name.length,ge=it.length,Oe=et.Name.substr(0,Ne),Re=et.Name.substr(Ne,ge),ge=_e-ge-Ne,Ae=et.Name.substr(_e-ge,ge),et.Filtered=!0,et.Text_A=Oe,et.Text_B=Re,et.Text_C=Ae,W.push(et))}this.Mitarbeiterbuchstabenliste=[];for(let et of W)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(et));this.Mitarbeiterliste=i.cloneDeep(W)}}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(W){try{this.EditorValid=W}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let W=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let Y of this.Pool.Standorteliste)this.Auswahlliste.push({Index:W,FirstColumn:Y.Kuerzel,SecoundColumn:Y.Ort,Data:Y}),W++;this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(W){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=W;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=W;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=W._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich:this.DB.CurrentMitarbeiter.Fachbereich=W;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=W,this.Pool.Mitarbeitersettings.StandortFilter=null!==W?W._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(Y=>{this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}FachbereichClickedHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Fachbereich festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich,this.Auswahlliste.push({Index:0,FirstColumn:this.Pool.Fachbereich.Unbekannt.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Unbekannt.Kuerzel,Data:this.Pool.Fachbereich.Unbekannt.Key}),this.Auswahlliste.push({Index:1,FirstColumn:this.Pool.Fachbereich.Elektrotechnik.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Elektrotechnik.Kuerzel,Data:this.Pool.Fachbereich.Elektrotechnik.Key}),this.Auswahlliste.push({Index:2,FirstColumn:this.Pool.Fachbereich.HLS.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLS.Kuerzel,Data:this.Pool.Fachbereich.HLS.Key}),this.Auswahlliste.push({Index:3,FirstColumn:this.Pool.Fachbereich.HLSE.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLSE.Kuerzel,Data:this.Pool.Fachbereich.HLSE.Key}),this.Auswahlliste.push({Index:4,FirstColumn:this.Pool.Fachbereich.H.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.H.Kuerzel,Data:this.Pool.Fachbereich.H.Key}),this.Auswahlliste.push({Index:5,FirstColumn:this.Pool.Fachbereich.L.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.L.Kuerzel,Data:this.Pool.Fachbereich.L.Key}),this.Auswahlliste.push({Index:6,FirstColumn:this.Pool.Fachbereich.S.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.S.Kuerzel,Data:this.Pool.Fachbereich.S.Key}),this.Auswahlliste.push({Index:7,FirstColumn:this.Pool.Fachbereich.K.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.K.Kuerzel,Data:this.Pool.Fachbereich.K.Key}),this.Auswahlliste.push({Index:8,FirstColumn:this.Pool.Fachbereich.MSR.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.MSR.Kuerzel,Data:this.Pool.Fachbereich.MSR.Key}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Fachbereich}),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}GetDialogTitelicon(){try{if(!this.DB.CurrentMitarbeiter&&!this.Pool.Mitarbeiterdaten)return"help-outline";switch(this.Auswahltitel){case"Standort festlegen":case"Standortfilter festlegen":return"location-outline";case"Fachbereich festlegen":return"hammer-outline";default:return"help-outline"}}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(W){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=W,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let W=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:W,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),W++;for(let Y of this.Pool.Standorteliste)this.Auswahlliste.push({Index:W,FirstColumn:Y.Kuerzel,SecoundColumn:Y.Ort,Data:Y}),W++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=i.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(W){this.Debug.ShowErrorMessage(W.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(W){try{this.ShowMeOnly=W.status,!0===this.ShowMeOnly&&(this.DBStandort.CurrentStandortfilter=null,this.Pool.Mitarbeitersettings.StandortFilter=this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()})),this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(W){try{this.ShowArchivierte=W.status,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","ShowArchivierteChanged",this.Debug.Typen.Page)}}AnredeClickedEventHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Anrede festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede,this.Auswahlliste.push({Index:0,FirstColumn:"Unbekannt",SecoundColumn:"",Data:this.Const.NONE}),this.Auswahlliste.push({Index:1,FirstColumn:"Frau",SecoundColumn:"",Data:"Frau"}),this.Auswahlliste.push({Index:2,FirstColumn:"Herr",SecoundColumn:"",Data:"Herr"}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(W){this.Debug.ShowErrorMessage(W,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub,this.Auswahlliste.push({Index:0,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:1,FirstColumn:"21",SecoundColumn:"",Data:21}),this.Auswahlliste.push({Index:2,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlliste.push({Index:3,FirstColumn:"23",SecoundColumn:"",Data:23}),this.Auswahlliste.push({Index:4,FirstColumn:"24",SecoundColumn:"",Data:24}),this.Auswahlliste.push({Index:5,FirstColumn:"25",SecoundColumn:"",Data:25}),this.Auswahlliste.push({Index:6,FirstColumn:"26",SecoundColumn:"",Data:26}),this.Auswahlliste.push({Index:7,FirstColumn:"27",SecoundColumn:"",Data:27}),this.Auswahlliste.push({Index:8,FirstColumn:"28",SecoundColumn:"",Data:28}),this.Auswahlliste.push({Index:9,FirstColumn:"29",SecoundColumn:"",Data:29}),this.Auswahlliste.push({Index:10,FirstColumn:"30",SecoundColumn:"",Data:30}),this.Auswahlliste.push({Index:11,FirstColumn:"31",SecoundColumn:"",Data:31}),this.Auswahlliste.push({Index:12,FirstColumn:"32",SecoundColumn:"",Data:32}),this.Auswahlliste.push({Index:13,FirstColumn:"33",SecoundColumn:"",Data:33}),this.Auswahlliste.push({Index:14,FirstColumn:"34",SecoundColumn:"",Data:34}),this.Auswahlliste.push({Index:15,FirstColumn:"35",SecoundColumn:"",Data:35}),this.Auswahlliste.push({Index:16,FirstColumn:"36",SecoundColumn:"",Data:36}),this.Auswahlindex=i.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(W){this.Debug.ShowErrorMessage(W,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(W){try{this.ShowAktuelle=W.status,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}static \u0275fac=function(Y){return new(Y||re)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(c.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(u.ConstProvider),d.\u0275\u0275directiveInject(l.DatabaseMitarbeiterService),d.\u0275\u0275directiveInject(g.DatabaseStandorteService),d.\u0275\u0275directiveInject(v.AuswahlDialogService),d.\u0275\u0275directiveInject(p.DatabasePoolService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:re,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(Y,q){if(1&Y&&(d.\u0275\u0275viewQuery(O,5),d.\u0275\u0275viewQuery(F,5),d.\u0275\u0275viewQuery(j,5)),2&Y){let he;d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(q.Alphabetcomponent=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(q.PageHeader=he.first),d.\u0275\u0275queryRefresh(he=d.\u0275\u0275loadQuery())&&(q.PageFooter=he.first)}},decls:34,vars:16,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],["no-shadow","","no-border",""],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","24px"],[1,"ergonametextclass",2,"width","80px"],[2,"width","100px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],[2,"width","200px"],["color","orange"],["cellspacing","0","cellpadding","0"],[2,"height","20px","width","20px","border-radius","4px"],["src","/assets/svgs/alert.svg",2,"height","26px"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(Y,q){if(1&Y&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),d.\u0275\u0275listener("SucheChanged",function(_e){return q.SucheChanged(_e)})("StandortfilterClicked",function(){return q.StandortFilterClickedHandler()}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"table",3)(5,"tr")(6,"td")(7,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(_e){return q.ShowMeCheckedChanged(_e)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(8,"td",5),d.\u0275\u0275text(9,"Nur meinen Eintrag anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"td",6),d.\u0275\u0275elementStart(11,"td")(12,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(_e){return q.ShowAktuelleChanged(_e)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"td",5),d.\u0275\u0275text(14,"Aktuelle Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"td",6),d.\u0275\u0275elementStart(16,"td")(17,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(_e){return q.ShowArchivierteChanged(_e)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(18,"td",5),d.\u0275\u0275text(19,"Archivierte Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(20,"ion-content",7),d.\u0275\u0275template(21,te,2,1,"ion-list",8)(22,ce,4,0,"table",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(23,"ion-footer")(24,"page-footer",null,10)(26,"table",11)(27,"tr")(28,"td",12),d.\u0275\u0275text(29),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275template(30,se,1,2,"fi-mitarbeiter-editor",13)(31,K,1,6,"auswahl-dialog",14),d.\u0275\u0275elementStart(32,"alphabet",15,16),d.\u0275\u0275listener("AlphabetClicked",function(_e){return q.AlphabetClicked(_e)}),d.\u0275\u0275elementEnd()),2&Y){const he=d.\u0275\u0275reference(2),_e=d.\u0275\u0275reference(25);d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),d.\u0275\u0275advance(4),d.\u0275\u0275property("Checked",q.ShowMeOnly),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",q.ShowAktuelle),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",q.ShowArchivierte),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",q.Mitarbeiterliste&&q.Mitarbeiterliste.length>0),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",0===q.Mitarbeiterliste.length),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",q.Mitarbeiterliste.length," Eintr\xe4ge "),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",q.ShowEditor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",q.ShowAuswahl),d.\u0275\u0275advance(),d.\u0275\u0275property("PageHeader",he)("PageFooter",_e)("Breite",q.Alphapetbreite)("Buchstabenliste",q.Mitarbeiteralphabet)("Auswahl",q.Mitarbeiteralphabetauswahl)}},dependencies:[C.NgForOf,C.NgIf,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonItem,b.IonList,b.IonRow,b.IonText,_.PageHeaderComponent,f.PageFooterComponent,y.AlphabetComponent,S.PageHeaderMenuComponent,M.FiMitarbeiterEditorComponent,w.AuswahlDialogComponent,A.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return re})()},96012:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePageModule=void 0;const n=o(81316),i=o(91368),d=o(44716),a=o(56568),c=o(10716),e=o(90756),u=o(6512),l=o(87143),g=o(79664),v=o(70216),p=o(90520),C=o(6168),b=o(54588),_=o(10272),f=n.__importStar(o(54496)),S=(n.__importStar(o(56568)),[{path:"",component:e.FiStandortelistePage}]);h.FiStandortelistePageModule=(()=>{class w{static \u0275fac=function(F){return new(F||w)};static \u0275mod=f.\u0275\u0275defineNgModule({type:w});static \u0275inj=f.\u0275\u0275defineInjector({imports:[i.CommonModule,d.FormsModule,d.ReactiveFormsModule,c.IonicModule,a.RouterModule.forChild(S),u.AbstandElementFixedModule,l.AlphabetModule,g.FiStandortEditorModule,v.PageHeaderModule,p.PageFooterModule,C.PageHeaderMenuModule,b.PageModalKeepermodule,_.AuswahlDialogModule]})}return w})()},90756:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePage=void 0;const i=o(81316),d=i.__importStar(o(17964)),a=i.__importStar(o(54496)),c=i.__importStar(o(14652)),e=i.__importStar(o(34388)),u=i.__importStar(o(19668)),l=i.__importStar(o(29743)),g=i.__importStar(o(58864)),v=i.__importStar(o(9544)),p=i.__importStar(o(48044)),C=i.__importStar(o(7992)),b=i.__importStar(o(91368)),_=i.__importStar(o(10716)),f=i.__importStar(o(99031)),y=i.__importStar(o(41656)),S=i.__importStar(o(90212)),M=i.__importStar(o(29856)),w=i.__importStar(o(63792)),A=i.__importStar(o(56584)),O=["Alphabet"],F=["PageHeader"],j=["PageFooter"];function T(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",22)(2,"ion-text",23)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&se){const Z=a.\u0275\u0275nextContext().index,re=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(re.Standortebuchstabenliste[Z])}}function I(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd()()),2&se){const Z=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",Z.Ort," ")}}function k(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(4,"span",24),a.\u0275\u0275text(5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(6,"span"),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()),2&se){const Z=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(Z.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Z.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Z.Text_C)}}function N(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",13),a.\u0275\u0275listener("click",function(){const W=a.\u0275\u0275restoreView(Z).$implicit,Y=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(Y.StandortButtonClicked(W))}),a.\u0275\u0275elementStart(1,"ion-grid",14),a.\u0275\u0275template(2,T,5,1,"ion-row",3),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"div",16)(6,"table",17)(7,"tr")(8,"td")(9,"table",18),a.\u0275\u0275template(10,I,3,1,"tr",3)(11,k,8,3,"tr",3),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(12,"tr")(13,"td")(14,"table",19)(15,"tr")(16,"td",20),a.\u0275\u0275text(17,"K\xfcrzel:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(18,"td"),a.\u0275\u0275text(19),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(20,"td",21),a.\u0275\u0275elementStart(21,"td",20),a.\u0275\u0275text(22,"Email:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(23,"td"),a.\u0275\u0275text(24),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(25,"td",21),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&se){const Z=K.$implicit,re=K.index,X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==X.Standortebuchstabenliste[re]),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",!Z.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Z.Filtered),a.\u0275\u0275advance(8),a.\u0275\u0275textInterpolate(Z.Kuerzel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(Z.Email)}}function x(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,N,26,5,"ion-item",12),a.\u0275\u0275elementEnd()),2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",Z.Standorteliste)}}function H(se,K){1&se&&(a.\u0275\u0275elementStart(0,"table",25)(1,"tr")(2,"td",26),a.\u0275\u0275text(3," kein Standorte vorhanden "),a.\u0275\u0275elementEnd()()())}function G(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"fi-standort-editor",27),a.\u0275\u0275listener("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowEditor=!1)})("OkClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowEditor=!1)})("DeleteClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowEditor=!1)})("LandClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.LandClickedEventHandler())})("BundeslandClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.KonfessionClickedEventHandler())}),a.\u0275\u0275elementEnd()}if(2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",500)("PositionY",100)("Titel",Z.GetDialogTitel())}}function te(se,K){if(1&se){const Z=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"auswahl-dialog",28),a.\u0275\u0275listener("OkClickedEvent",function(X){a.\u0275\u0275restoreView(Z);const W=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(W.AuswahlOkButtonClicked(X))})("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Z);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowAuswahl=!1)}),a.\u0275\u0275elementEnd()}if(2&se){const Z=a.\u0275\u0275nextContext();a.\u0275\u0275property("Auswahlliste",Z.Auswahlliste)("Auswahlindex",Z.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Z.Auswahltitel)("Iconname","")}}h.FiStandortelistePage=(()=>{class se{Basics;Debug;Tools;Const;DB;DBUrlaub;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;Standorteliste;Standortealphabet;Alphapetbreite;Standortealphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Standortebuchstabenliste;Standardalphabet;Zusatzbuttonliste;Standortefiltertext;Standortefilter;Inputtimer;Listenbreite;ShowEditor;EditorValid;ListeSubscription;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;constructor(Z,re,X,W,Y,q,he,_e){this.Basics=Z,this.Debug=re,this.Tools=X,this.Const=W,this.DB=Y,this.DBUrlaub=q,this.Auswahlservice=he,this.Pool=_e;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Standortealphabet=[],this.Standortealphabetauswahl="Alle",this.Standorteliste=[],this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Inputtimer=null,this.Alphapetbreite=44,this.Standortefilter="",this.Standortealphabet=this.Standardalphabet,this.Standortebuchstabenliste=[],this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ListeSubscription=null,this.Auswahlliste=[],this.Auswahlindex=0,this.Auswahltitel="",this.Auswahldialogorigin=""}catch(Oe){this.Debug.ShowErrorMessage(Oe.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Listenbreite=this.Basics.Contentbreite-(typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40)-4,this.PrepareDaten(),this.Alphabetcomponent.InitScreen()}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(Z){try{this.DB.CurrentStandort=d.cloneDeep(Z),this.ShowEditor=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Z){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=Z,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(Z){try{let re=Z.Ort.substring(0,1).toUpperCase();return re!==this.Lastletter?(this.Lastletter=re,re):""}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Z,re,X,W,Y,q,he,_e,Oe,Re,Ae,ge;if(null!==this.Pool.Standorteliste){if(W=d.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",Z=d.cloneDeep(W),Z.sort((Ne,it)=>Ne.Ortit.Ort?1:0),null!==this.DB.CurrentStandortfilter){re=d.cloneDeep(Z),Z=[];for(let Ne of re)Z.push(Ne)}if(Z.length>6){this.Standortealphabet=["Alle"];for(let Ne of Z)X=Ne.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(X)&&this.Standortealphabet.push(X)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){re=d.cloneDeep(Z),Z=[];for(let Ne of re)X=Ne.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===X&&Z.push(Ne)}if(""!==this.Standortefilter){re=d.cloneDeep(Z),Z=[];for(let Ne of re)Ae=this.Standortefilter.toLowerCase(),ge=Ne.Ort.toLowerCase(),Re=ge.indexOf(Ae),-1!==Re&&(Y=Ne.Ort.length,Oe=Ae.length,q=Ne.Ort.substr(0,Re),he=Ne.Ort.substr(Re,Oe),Oe=Y-Oe-Re,_e=Ne.Ort.substr(Y-Oe,Oe),Ne.Filtered=!0,Ne.Text_A=q,Ne.Text_B=he,Ne.Text_C=_e,Z.push(Ne))}this.Standortebuchstabenliste=[];for(let Ne of Z)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(Ne));this.Standorteliste=d.cloneDeep(Z)}}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Z){try{this.EditorValid=Z}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentStandort?null===this.DB.CurrentStandort._id?"Neuen Standort anlegen":"Standort bearbeiten":"Unbekannt"}catch(Z){this.Debug.ShowErrorMessage(Z.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(Z){try{this.Standortefiltertext=Z,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Z){var re=this;return n(function*(){try{switch(re.Auswahldialogorigin){case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:re.DB.CurrentStandort.Land=Z;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:re.DB.CurrentStandort.Bundesland=Z;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:re.DB.CurrentStandort.Konfession=Z}re.ShowAuswahl=!1}catch(X){re.Debug.ShowErrorMessage(X.message,"Standorteliste","AuswahlOkButtonClicked",re.Debug.Typen.Page)}})()}LandClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land,this.Auswahltitel="Land ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Deutschland",SecoundColumn:"DE",Data:"DE"}),this.Auswahlliste.push({Index:1,FirstColumn:"Bulgarien",SecoundColumn:"BG",Data:"BG"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let Z=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let re of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:Z,FirstColumn:re.Name,SecoundColumn:re.isoCode,Data:re.isoCode}),Z++;this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","BundeslandClickedEventHandler",this.Debug.Typen.Page)}}KonfessionClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession,this.Auswahltitel="Konfession ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Katholisch",SecoundColumn:"RK",Data:"RK"}),this.Auswahlliste.push({Index:1,FirstColumn:"Evangelisch",SecoundColumn:"EV",Data:"EV"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(Z){this.Debug.ShowErrorMessage(Z,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}static \u0275fac=function(re){return new(re||se)(a.\u0275\u0275directiveInject(c.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(l.ConstProvider),a.\u0275\u0275directiveInject(g.DatabaseStandorteService),a.\u0275\u0275directiveInject(v.DatabaseUrlaubService),a.\u0275\u0275directiveInject(p.AuswahlDialogService),a.\u0275\u0275directiveInject(C.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:se,selectors:[["fi-standorteliste-page"]],viewQuery:function(re,X){if(1&re&&(a.\u0275\u0275viewQuery(O,5),a.\u0275\u0275viewQuery(F,5),a.\u0275\u0275viewQuery(j,5)),2&re){let W;a.\u0275\u0275queryRefresh(W=a.\u0275\u0275loadQuery())&&(X.Alphabetcomponent=W.first),a.\u0275\u0275queryRefresh(W=a.\u0275\u0275loadQuery())&&(X.PageHeader=W.first),a.\u0275\u0275queryRefresh(W=a.\u0275\u0275loadQuery())&&(X.PageFooter=W.first)}},decls:16,vars:11,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowStandorttitle","SucheChanged"],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[1,"rootbuttonclass",3,"click"],["color","weiss","name","add-circle-outline",2,"font-size","28px"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["sizeXs","11","sizeSm","11","sizeMd","6","sizeLg","6","sizeXl","6"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],["size","12"],["color","orange"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(re,X){if(1&re&&(a.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),a.\u0275\u0275listener("SucheChanged",function(Y){return X.SucheChangedHandler(Y)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(4,"ion-content"),a.\u0275\u0275template(5,x,2,1,"ion-list",3)(6,H,4,0,"table",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),a.\u0275\u0275listener("click",function(){return X.AddStandorteButtonClicked()}),a.\u0275\u0275element(11,"ion-icon",7),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(12,G,1,4,"fi-standort-editor",8)(13,te,1,7,"auswahl-dialog",9),a.\u0275\u0275elementStart(14,"alphabet",10,11),a.\u0275\u0275listener("AlphabetClicked",function(Y){return X.AlphabetClicked(Y)}),a.\u0275\u0275elementEnd()),2&re){const W=a.\u0275\u0275reference(2),Y=a.\u0275\u0275reference(9);a.\u0275\u0275advance(3),a.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",X.Standorteliste&&X.Standorteliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",0===X.Standorteliste.length),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",X.ShowEditor),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",X.ShowAuswahl),a.\u0275\u0275advance(),a.\u0275\u0275property("PageHeader",W)("PageFooter",Y)("Buchstabenliste",X.Standortealphabet)("Breite",X.Alphapetbreite)("Auswahl",X.Standortealphabetauswahl)}},dependencies:[b.NgForOf,b.NgIf,_.IonCol,_.IonContent,_.IonFooter,_.IonGrid,_.IonHeader,_.IonIcon,_.IonItem,_.IonList,_.IonRow,_.IonText,f.AlphabetComponent,y.FiStandortEditorComponent,S.PageHeaderComponent,M.PageFooterComponent,w.PageHeaderMenuComponent,A.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return se})()},15756:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PrettyjsonModule=void 0;const i=o(81316).__importStar(o(54496));h.PrettyjsonModule=(()=>{class a{static \u0275fac=function(u){return new(u||a)};static \u0275mod=i.\u0275\u0275defineNgModule({type:a});static \u0275inj=i.\u0275\u0275defineInjector({})}return a})()},84104:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipeModule=void 0;const i=o(81316).__importStar(o(54496));h.SafePipeModule=(()=>{class a{static \u0275fac=function(u){return new(u||a)};static \u0275mod=i.\u0275\u0275defineNgModule({type:a});static \u0275inj=i.\u0275\u0275defineInjector({})}return a})()},66144:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipe=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14476));h.SafePipe=(()=>{class c{sanitizer;constructor(u){this.sanitizer=u}transform(u,l){switch(l){case"html":return this.sanitizer.bypassSecurityTrustHtml(u);case"style":return this.sanitizer.bypassSecurityTrustStyle(u);case"script":return this.sanitizer.bypassSecurityTrustScript(u);case"url":return this.sanitizer.bypassSecurityTrustUrl(u);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(u);default:throw new Error(`Invalid safe type specified: ${l}`)}}static \u0275fac=function(l){return new(l||c)(i.\u0275\u0275directiveInject(d.DomSanitizer,16))};static \u0275pipe=i.\u0275\u0275definePipe({name:"safe",type:c,pure:!0})}return c})()},48044:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388));h.AuswahlDialogService=(()=>{class c{Debug;Auswahloriginvarianten={Standorteeditor_Land:"Standorteeditor_Land",Standorteeditor_Bundesland:"Standorteeditor_Bundesland",Standorteeditor_Konfession:"Standorteeditor_Konfession",Projekteliste_Standortfiler:"Projekteliste_Standortfiler",Projekteliste_Editor_Leistungsphase:"Projekteliste_Editor_Leistungsphase",Projekte_Editor_Standort:"Projekte_Editor_Standortfilter",Projekte_Editor_Mitarbeiterauswahl_Projektleiter:"Projekte_Editor_Mitarbeiterauswahl_Projektleiter",Projekte_Editor_Mitarbeiterauswahl_Stellvertreter:"Projekte_Editor_Mitarbeiterauswahl_Stellvertreter",Projekte_Editor_Mitarbeiterauswahl:"Projekte_Editor_Mitarbeiterauswahl",Projekte_Editor_Mitarbeiterauswahl_Standortfilter:"Projekte_Editor_Mitarbeiterauswahl_Standortfilter",Projekte_Editor_Projektstatus:"Projekte_Editor_Projektstatus",Projekte_Editor_Firmeneditor_Fachbereich:"Projekte_Editor_Firmeneditor_Fachbereich",Projekte_Editor_Beteiligteneditor_Fachfirma:"Projekte_Editor_Beteiligteneditor_Fachfirma",Favoriten_Editor_Projekteauswahl_Standortfilter:"Favoriten_Editor_Projekteauswahl_Standortfilter",Mitarbeiter_Editor_Standort:"Mitarbeiter_Editor_Standort",Mitarbeiter_Editor_Fachbereich:"Mitarbeiter_Editor_Fachbereich",Mitarbeiter_Editor_Anrede:"Mitarbeiter_Editor_Anrede",Mitarbeiter_Editor_Urlaub:"Mitarbeiter_Editor_Urlaub",Mitarbeiter_Liste_Standortfilter:"Mitarbeiter_Liste_Standortfilter",Aufgabenliste_ZustaendigExtern:"Aufgabenliste_ZustaendigExtern",Aufgabenliste_ZustaendigIntern:"Aufgabenliste_ZustaendigIntern",Aufgabenliste_Fortschritt:"Aufgabenliste_Fortschritt",Aufgabenliste_Zeitfilter:"Aufgabenliste_Zeitfilter",Aufgabenliste_Filter_Zeitspanne:"Aufgabenliste_Filter_Zeitspanne",Aufgabenliste_Editor_Fachbereich:"Aufgabenliste_Editor_Fachbereich",Aufgabenliste_Editor_Status:"Aufgabenliste_Editor_Status",Aufgabenliste_Editor_Standortfilter:"Aufgabenliste_Editor_Standortfilter",Aufgabenliste_Editor_ZustaendigExtern:"Aufgabenliste_Editor_ZustaendigExtern",Aufgabenliste_Editor_ZustaendigIntern:"Aufgabenliste_Editor_ZustaendigIntern",Aufgabenliste_Editor_Leistungsphase:"Aufgabenliste_Editor_Kostengruppe",Aufgabenliste_Editor_Kostengruppe:"Aufgabenliste_Editor_Leistungsphase",Aufgabenliste_Editor_Verfasser:"Aufgabenliste_Editor_Verfasser",Aufgabenliste_Editor_AnmerkungenVerfasser:"Aufgabenliste_Editor_AnmerkungenVerfasser",Aufgabenliste_Meintageintrag_Status:"Aufgabenliste_Meintageintrag_Status",Aufgabenliste_Meintageintrag_Termin:"Aufgabenliste_Meintageintrag_Termin",Festlegungsliste_Editor_Leistungsphase:"Festlegungsliste_Editor_Leistungsphase",Festlegungsliste_Leistungsphasefilter:"Festlegungsliste_Leistungsphasefilter",Festlegungliste_Emaileditor_Standortfilter:"Festlegungliste_Emaileditor_Standortfilter",Festlegungliste_Editor_Status:"Festlegungliste_Editor_Status",Festlegungliste_Editor_Fachbereich:"Festlegungliste_Editor_Fachbereich",Festlegungliste_Editor_Kostengruppe:"Festlegungliste_Editor_Kostengruppe",Festlegungliste_Editor_ZustaendigExtern:"Festlegungliste_Editor_ZustaendigExtern",Festlegungliste_Editor_ZustaendigIntern:"Festlegungliste_Editor_ZustaendigIntern",Festlegungliste_Emaileditor_Intern_Empfaenger:"Festlegungliste_Emaileditor_Intern_Empfaenger",Festlegungliste_Emaileditor_Intern_CcEmpfaenger:"Festlegungliste_Emaileditor_Intern_CcEmpfaenger",Festlegungliste_Emaileditor_Extern_Empfaenger:"Festlegungliste_Emaileditor_Extern_Empfaenger",Festlegungliste_Emaileditor_Extern_CcEmpfaenger:"Festlegungliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Intern_Empfaenger:"Bautagebuchliste_Emaileditor_Intern_Empfaenger",Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Extern_Empfaenger:"Bautagebuchliste_Emaileditor_Extern_Empfaenger",Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Bautagebucheditor:"Bautagebuchliste_Bautagebucheditor",Protokollliste_Editor_Leistungsphase:"Protokollliste_Editor_Leistungsphase",Protokollliste_Editor_Kostengruppe:"Protokollliste_Editor_Kostengruppe",Protokollliste_Protokolleditor_Teamteilnehmer:"Protokollliste_Protokolleditor_Teamteilnehmer",Protokollliste_Projektpunkteditor_Teamteilnehmer:"Protokollliste_Projektpunkteditor_Teamteilnehmer",Protokollliste_Protokolleditor_Beteilgtenteilnehmer:"Protokollliste_Protokolleditor_Beteilgtenteilnehmer",Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer:"Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer",Urlaubsplanung_Mitarbeiter_Wechseln:"Urlaubsplanung_Mitarbeiter_Wechseln",Urlaubsplanung_Vertreter_Festlegen:"Urlaubsplanung_Vertreter_Festlegen",Urlaubsplanung_Status_Aendern:"Urlaubsplanung_Status_Aendern",UrlaubEinstellungen_Projektbeteiligte_Auswahl:"UrlaubEinstellungen_Projektbeteiligte_Auswahl",UrlaubEinstellungen_Freigeber_Auswahl:"UrlaubEinstellungen_Freigeber_Auswahl",UrlaubEinstellungen_Standort_Filter:"UrlaubEinstellungen_Standort_Filter",UrlaubPlanung_Standort_Filter:"UrlaubPlanung_Standort_Filter",UrlaubUebersicht_Standort_Filter:"UrlaubUebersicht_Standort_Filter",UrlaubAnfargen_Standort_Filter:"UrlaubAnfargen_Standort_Filter",Protokollliste_Emaileditor_Extern_Empfaenger:"Protokollliste_Emaileditor_Extern_Empfaenger",Protokollliste_Emaileditor_Extern_CcEmpfaenger:"Protokollliste_Emaileditor_Extern_CcEmpfaenger",Protokollliste_Emaileditor_Intern_Empfaenger:"Protokollliste_Emaileditor_Intern_Empfaenger",Protokollliste_Emaileditor_Intern_CcEmpfaenger:"Protokollliste_Emaileditor_Intern_CcEmpfaenger",LOPliste_Emaileditor_Extern_Empfaenger:"LOPliste_Emaileditor_Extern_Empfaenger",LOPliste_Emaileditor_Extern_CcEmpfaenger:"LOPliste_Emaileditor_Extern_CcEmpfaenger",LOPliste_Emaileditor_Intern_Empfaenger:"LOPliste_Emaileditor_Intern_Empfaenger",LOPliste_Emaileditor_Intern_CcEmpfaenger:"LOPliste_Emaileditor_Intern_CcEmpfaenger",Protokollliste_Editor_Standortfilter:"Protokollliste_Editor_Standortfilter",Protokollliste_Projektpunkteditor_Status:"Protokollliste_Projektpunkteditor_Status",Protokollliste_Projektpunkteditor_Fachbereich:"Protokollliste_Projektpunkteditor_Fachbereich",Simontabelle_Editor_Emailempfaenger:"Simontabelle_Editor_Emailempfaenger",Emailliste_Projektpunkteditor_Fachbereich:"Emailliste_Projektpunkteditor_Fachbereich",Emailliste_Editor_ZustaendigIntern:"Emailliste_Editor_ZustaendigIntern",Emailliste_Editor_ZustaendigExtern:"Emailliste_Editor_ZustaendigExtern",Emailliste_Beteiligteneditor_Projektauswahl:"Emailliste_Beteiligteneditor_Projektauswahl",Protokollliste_Filter_Leistungsphase:"Protokollliste_Filter_Leistungsphase",Protokollliste_Filter_Zeitspanne:"Protokollliste_Filter_Zeitspanne",LOPListe_LOPListeeditor_InternTeilnehmer:"LOPListe_LOPListeeditor_InternTeilnehmer",LOPListe_LOPListeeditor_ExternTeilnehmer:"LOPListe_LOPListeeditor_ExternTeilnehmer",LOPListe:"LOPListe",LOPListe_Thumnailsize:"LOPListe_Thumnailsize",LOPListe_Eintrageditor_ZustaendigExtern:"LOPListe_Eintrageditor_ZustaendigExtern",LOPListe_Eintrageditor_ZustaendigIntern:"LOPListe_Eintrageditor_ZustaendigIntern",LOPListe_Eintrageditor_Standortfilter:"LOPListe_Eintrageditor_Standortfilter",LOPListe_Eintrageditor_Fachbereich:"LOPListe_Eintrageditor_Fachbereich",LOPListe_Eintrageditor_Status:"LOPListe_Eintrageditor_Status",LOPListe_Eintrageditor_Prioritaet:"LOPListe_Eintrageditor_Prioritaet",LOPListe_Eintrageditor_AnmerkungVerfasser:"LOPListe_Eintrageditor_AnmerkungVerfasser",LOPListe_Eintrageditor_Verfasser:"LOPListe_Eintrageditor_Verfasser",LOPListe_Emaileditor_Intern_Empfaenger:"LOPListe_Emaileditor_Intern_Empfaenger",LOPListe_Emaileditor_Intern_CcEmpfaenger:"LOPListe_Emaileditor_Intern_CcEmpfaenger",LOPListe_Emaileditor_Extern_Empfaenger:"LOPListe_Emaileditor_Extern_Empfaenger",LOPListe_Emaileditor_Extern_CcEmpfaenger:"LOPListe_Emaileditor_Extern_CcEmpfaenger",Urlaubsliste_Bundesland:"Urlaubsliste_Bundesland"};constructor(u){this.Debug=u}static \u0275fac=function(l){return new(l||c)(i.\u0275\u0275inject(d.DebugProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},14652:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.BasicsProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(10716)),a=n.__importStar(o(29743));h.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="16.02.2024 11:30";ShowHomeScreenInfos=!0;DebugNoExternalEmail=!0;AppVersionName="1.0";AppVersionDatum="01.03.2024";WebAppUrl="https://nice-glacier-0c9ec7703.3.azurestaticapps.net";Farben={BAEBlau:"#307ac1",BAEHellgrau:"#dfe5eb",Gruen:"#006400",Burnicklgruen:"#c7d304",Grau:"#454545",Buttoncolor:"#444444",Blau:"#00008B",Orange:"#FF8C00",Bordercolor:"#3880ff",Burnicklbraun:"#7b6a58",Burnicklgrau:"#354547",ButtongrauDisabled:"#444444"};Ionicfarben={BurnicklGruen:"burnicklgruen",BAEBlau:"baeblau",BurnicklGrau:"burnicklgrau",BurnicklBraun:"burnicklbraun",Gruen:"gruen",Orange:"orange",Grau:"grau",Silber:"silber",Schwarz:"schwarz",Weiss:"weiss",Rot:"rot",Blau:"blau",Dunkelblau:"dunkelblau",Braun:"braun",Teal:"teal",Gelb:"gelb"};ShowFehlerbericht=!0;constructor(l,g){this.platform=l,this.Const=g}MeassureInnercontent(l,g){try{this.Headerhoehe=typeof l<"u"&&null!==l?l.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof g<"u"&&null!==g?g.PageFooterFrameDiv.nativeElement.clientHeight:55,this.InnerContenthoehe=this.Contenthoehe-this.Headerhoehe-this.Footerhoehe,console.log("Basics MeassureScreen -> Screenbreite: "+this.platform.width()+" / Screenhoehe: "+this.platform.height()),console.log("Basics MeassureScreen -> Headerhoehe: "+this.Headerhoehe+" / Footerhoehe: "+this.Footerhoehe),console.log("Basics MeassureScreen -> InnerContenthoehe: "+this.InnerContenthoehe)}catch(v){window.console.log(v+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(g){return new(g||e)(i.\u0275\u0275inject(d.Platform),i.\u0275\u0275inject(a.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ConstProvider=void 0;const i=o(81316).__importStar(o(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},M={HomePage:"HomePage",RegistrierungPage:"RegistrierungPage",EinstellungenPage:"EinstellungenPage",StartseitePage:"StartseitePage",IntroPage:"IntroPage",ShortcutsEditorPage:"ShortcutsEditorPage",EmailzentralePage:"EmailzentralePage",PasswortVergessenPage:"PasswortVergessenPage",TestPage:"TestPage",ErrorPage:"ErrorPage",DebugPage:"DebugPage",PDFViewerPage:"PDFViewerPage",EmaillistePage:"EmaillistePage",UrlaubPlanungPage:"UrlaubPlanungPage",UrlaubEinstellungenPage:"UrlaubEinstellungenPage",UrlaubUebersichtPage:"UrlaubUebersichtPage",UrlaubFreigabenPage:"UrlaubFreigabenPage",FiMitarbeiterlistePage:"FiMitarbeiterlistePage",FiMitarbeiterauswahlPage:"FiMitarbeiterauswahlPage",FiMitarbeiterSettingsPage:"FiMitarbeiterSettingsPage",FiStandortelistePage:"FiStandortelistePage",PjListePage:"PjListePage",PjGebaeudestrukturBearbeitenPage:"PjGebaeudestrukturBearbeitenPage",PjGebaeudestrukturBauteilBearbeitenPage:"PjGebaeudestrukturBauteilBearbeitenPage",PjGebaeudestrukturGeschossBearbeitenPage:"PjGebaeudestrukturGeschossBearbeitenPage",PjGebaeudestrukturRaumBearbeitenPage:"PjGebaeudestrukturRaumBearbeitenPage",PjGebaeudestrukturRaumMarkierenPage:"PjGebaeudestrukturRaumMarkierenPage",PjFavoritenlistePage:"PjFavoritenlistePage",PJProjektbeteiligtelistePage:"PJProjektbeteiligtelistePage",PjEmailzentralePage:"PjEmailzentralePage",PjProtokollSendeberichtPage:"PjProtokollSendeberichtPage",PjFestlegungkategorieeditorPage:"PjFestlegungkategorieeditorPage",PjNotizenListePage:"PjNotizenListePage",PjAufgabenlistePage:"PjAufgabenlistePage",PjProtokolleListePage:"PjProtokolleListePage",PjFilebrowserPage:"PjFilebrowserPage",PjBaustelleLoplistePage:"PjBaustelleLoplistePage",PjBaustelleTagebuchlistePage:"PjBaustelleTagebuchlistePage",PjFestlegungslistePage:"PjFestlegungslistePage",PjPlanungsmatrixPage:"PjPlanungsmatrixPage",PjSimontabellelistePage:"PjSimontabellelistePage"},N={Person:"Person",Firma:"Firma"},x={Unbekannt:{Typnummer:0,Name:"Unbekannt",Color:"#ff6600"},Elektroinstallateur:{Typnummer:1,Name:"Elektroinstallateur",Color:"#ff6600"},Heizungsinstallateur:{Typnummer:2,Name:"Heizungsinstallateur",Color:"#ff6600"},Lueftungsinstallateur:{Typnummer:3,Name:"L\xfcftungsinstallateur",Color:"#ff6600"},Sanitaerinstallateur:{Typnummer:4,Name:"Sanit\xe4rinstallateur",Color:"#ff6600"},Rohbaufirma:{Typnummer:5,Name:"Rohbaufirma",Color:"#ff6600"},Tiefbaufirma:{Typnummer:6,Name:"Tiefbaufirma",Color:"#ff6600"},Blitschutzbauer:{Typnummer:7,Name:"Blitschutzbauer",Color:"#ff6600"},Dachdecker:{Typnummer:8,Name:"Dachdecker",Color:"#ff6600"},Zimmerei:{Typnummer:9,Name:"Zimmerei",Color:"#ff6600"},Schreiner:{Typnummer:10,Name:"Schreiner",Color:"#ff6600"},Medientechnik:{Typnummer:11,Name:"Medientechnik",Color:"#ff6600"},Fussbodenlegen:{Typnummer:12,Name:"Fu\xdfbodenlegen",Color:"#ff6600"},Estrichleger:{Typnummer:13,Name:"Estrichleger",Color:"#ff6600"},Fliesenleger:{Typnummer:14,Name:"Fliesenleger",Color:"#ff6600"},Foerderanlagenbauer:{Typnummer:15,Name:"F\xf6rderanlagenbauer",Color:"#ff6600"}},H={Anlagengruppe_1:{Nummer:1,Name:"Abwasser-, Wasser-, Gasanlagen"},Anlagengruppe_2:{Nummer:2,Name:"W\xe4rmeversorgungsanlagen"},Anlagengruppe_3:{Nummer:3,Name:"Luftechnische Anlagen"},Anlagengruppe_4:{Nummer:4,Name:"Starkstromanlage"},Anlagengruppe_5:{Nummer:5,Name:"Fernmelde- und informationstechnische Anlagen"},Anlagengruppe_6:{Nummer:6,Name:"F\xf6rderanlagen"},Anlagengruppe_7:{Nummer:7,Name:"Nutzerspezifische und verfahrenstechnische Anlagen"},Anlagengruppe_8:{Nummer:8,Name:"Geb\xe4ude- und Anlagenautomation"}},G={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},te={Unbekannt:{Typnummer:0,Name:"Unbekannt",Kurzname:"Unbekannt",Color:"#ff6600"},Architekt:{Typnummer:1,Name:"Architekt",Kurzname:"Archtiekt",Color:"#ff6600"},Elektroplaner:{Typnummer:2,Name:"ELT Planungsb\xfcro",Kurzname:"ELT Planungsb\xfcro",Color:"#3771c8"},HLSplaner:{Typnummer:3,Name:"HLS Planungsb\xfcro",Kurzname:"HLS Planungsb\xfcro",Color:"#3771c8"},Fachplaner:{Typnummer:4,Name:"Fachplaner",Kurzname:"Fachplaner",Color:"#3771c8"},Tragwerksplaner:{Typnummer:5,Name:"Tragwerksplaner",Kurzname:"Tragwerksplaner",Color:"#3771c8"},Aussenanlagenarchitekt:{Typnummer:6,Name:"Au\xdfenanlagenarchitekt",Kurzname:"Au\xdfenanlagenarchitekt",Color:"#3771c8"},Bauherr:{Typnummer:7,Name:"Bauherr",Kurzname:"Bauherr",Color:"#008000"},Nutzer:{Typnummer:8,Name:"Nutzer",Kurzname:"Nutzer",Color:"#008000"},Pruefsachverstaendiger:{Typnummer:9,Name:"Pr\xfcfsachverst\xe4ndiger",Kurzname:"Pr\xfcfsachverst\xe4ndiger",Color:"#008000"},Projektsteurer:{Typnummer:10,Name:"Projektsteurer",Kurzname:"Projektsteurer",Color:"#008000"},Ausfuehrungsfirma:{Typnummer:11,Name:"Ausf\xfchrende Firma",Kurzname:"Ausf\xfchrende Firma",Color:"#008000"},Objektueberwacher:{Typnummer:12,Name:"Objekt\xfcberwacher",Kurzname:"O\xdc",Color:"#008000"},ITAbteilung:{Typnummer:13,Name:"IT - Abteilung",Kurzname:"IT",Color:"#008000"},Ausfuehrungsfirma_HLS:{Typnummer:14,Name:"Ausf\xfchrende Firma HLS",Kurzname:"HLS",Color:"#008000"},Ausfuehrungsfirma_ELT:{Typnummer:15,Name:"Elektroinstallation",Kurzname:"ELZ",Color:"#008000"},Ausfuehrungsfirma_BMA:{Typnummer:16,Name:"BMA Installation",Kurzname:"BMA",Color:"#008000"},Ausfuehrungsfirma_Blitzschutz:{Typnummer:17,Name:"Blitzschutzbauer",Kurzname:"Blitzschutzbaur",Color:"#008000"},Ausfuehrungsfirma_H:{Typnummer:18,Name:"Heizungsfirma",Kurzname:"Heizungsfirma",Color:"#008000"},Ausfuehrungsfirma_L:{Typnummer:19,Name:"L\xfcftungsinstallation",Kurzname:"L\xfcftung",Color:"#008000"},Ausfuehrungsfirma_S:{Typnummer:20,Name:"Sanit\xe4rinstallation",Kurzname:"Sanit\xe4r",Color:"#008000"},Ausfuehrungsfirma_Rohbau:{Typnummer:21,Name:"Rohbaufirma",Kurzname:"Rohbaufirma",Color:"#008000"},Ausfuehrungsfirma_Tiefbau:{Typnummer:22,Name:"Tiefbaufirma",Kurzname:"Tiefbaufirma",Color:"#008000"},Ausfuehrungsfirma_GALA:{Typnummer:23,Name:"GALA Baufirma",Kurzname:"GALA Baufirma",Color:"#008000"},Ausfuehrungsfirma_Aufzug:{Typnummer:24,Name:"Aufzugsfirma",Kurzname:"Aufzugsfirma",Color:"#008000"}},Z={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},he={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},_e={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},Oe={Alle:"Alle",Heute:"Heute",Morgen:"Morgen",Zweitage:"2 Tage",Woche:"Woche",Naechstewoche:"N\xe4chste Woche",Zweiwochen:"2 Wochen",Vierwochen:"4 Wochen",Monat:"Monat",Gestern:"Gestern",Vorgestern:"Vorgestern",ZweitageVorher:"Letzten 2 Tage",WocheVorher:"Letzte Woche",ZweiwochenVorher:"Letzten 2 Wochen",MonatVorher:"Letzter Monat"},ge={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},Ne={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},it={Niedrig:{Statusnummer:0,Name:"Niedrig",Displayname:"Niedrig",Color:"#008000"},Mittel:{Statusnummer:1,Name:"Mittel",Displayname:"Mittel",Color:"orange"},Hoch:{Statusnummer:2,Name:"Hoch",Displayname:"Hoch",Color:"red"}},qe={Offen:{Statusnummer:0,Name:"Offen",Displayname:"Offen",Color:"#008080",LOPColor:"red"},Protokollpunkt:{Statusnummer:0,Name:"Protokollpunkt",Displayname:"Info",Color:"#34495E",LOPColor:"#307ac1"},Geschlossen:{Statusnummer:1,Name:"Geschlossen",Displayname:"Geschlossen",Color:"#008000",LOPColor:"#008000"},Bearbeitung:{Statusnummer:2,Name:"Bearbeitung",Displayname:"Bearbeitung",Color:"#616A6B",LOPColor:"#616A6B"},Ruecklauf:{Statusnummer:3,Name:"Ruecklauf",Displayname:"R\xfccklauf",Color:"#0020C2",LOPColor:"#0020C2"},Festlegung:{Statusnummer:4,Name:"Festlegung",Displayname:"Festlegung",Color:"#FF9333"}},De={Nur_diese_Woche:"Nur diese Woche",Nur_diesen_Monat:"Nur diesen Monat",Seit_dem_Zeitpunkt:"Seit dem Zeitpunkt",Bis_zum_Zeitpunkt:"Bis zum Zeitpunkt",Zeitspanne:"Zeitspanne"},je={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};h.ConstProvider=(()=>{class bt{NONE="none";Pages=M;Fehlermeldungtypen=Z;Dialogmessages=e;Projektpunktstatustypen=qe;Zeitfilter=Oe;Projektstatusvarianten=he;Faelligkeitsstatus=_e;Beteiligtentypen=te;Fachfirmentypen=x;Beteiligteneintragtypen=N;Anredevariante=ge;Zeitansatzeinheitvarianten=Ne;Faelligkeitsterminfiltervarianten=De;AufgabenSortiermodusvarianten=je;Projektpunktprioritaetstypen=it;Leistungsphasenvarianten=G;Anlagengruppen=H;constructor(){}static \u0275fac=function(sn){return new(sn||bt)};static \u0275prov=i.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})()},97092:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseAuthenticationService=void 0;const i=o(81316),d=o(54496),a=o(9028),c=o(21112),e=o(80103),u=i.__importStar(o(17964)),l=i.__importStar(o(54496)),g=i.__importStar(o(34388)),v=i.__importStar(o(9028)),p=i.__importStar(o(29743)),C=i.__importStar(o(97048)),b=i.__importStar(o(56568)),_=i.__importStar(o(14476));h.DatabaseAuthenticationService=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;router;domSanitizer;MSALService;LoginSuccessEvent=new d.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(F,j,T,I,k,N,x,H){this.msalGuardConfig=F,this.Debug=j,this.authService=T,this.Const=I,this.http=k,this.router=N,this.domSanitizer=x,this.MSALService=H;try{this.SecurityEnabled=!0,this.ActiveUser=null,this.ShowLogin=!1,this.DevelopmentUser={environment:"",homeAccountId:"",localAccountId:"",tenantId:"",username:"peter.hornburger@b-a-e.eu",name:"Peter Hornburger"}}catch(G){this.Debug.ShowErrorMessage(G.message,"Database Authentication","constructor",this.Debug.Typen.Service)}}UnsetActiveUser(){try{this.Debug.ShowMessage("Unset Active User","Database Authentication","UnsetActiveUser",this.Debug.Typen.Service),this.ActiveUser=null,this.ShowLogin=!0}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var F=this;return n(function*(){try{let j,T;return F.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",F.Debug.Typen.Service),new Promise(I=>{if(F.SecurityEnabled){if(j=F.MSALService.instance.getActiveAccount(),T=F.MSALService.instance.getAllAccounts(),!u.isUndefined(T)&&null!==T&&T.length>0)for(j of T)console.log(j.username);console.log(null!==j?j.username:"Account ist null"),null===j&&(F.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",F.Debug.Typen.Service),!u.isUndefined(T)&&null!==T&&T.length>0?(F.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",F.Debug.Typen.Service),j=T[0]):F.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",F.Debug.Typen.Service)),null!==j?(F.ActiveUser=j,I(!0)):(F.UnsetActiveUser(),I(!0))}else F.ActiveUser=F.DevelopmentUser,I(!0)})}catch(j){F.Debug.ShowErrorMessage(j,"Database Authentication","SetActiveUser",F.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let F="nothing",j=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(F,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===j.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),F=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(F,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(F){var j=this;return n(function*(){try{const T={scopes:[F],account:j.ActiveUser};return new Promise((I,k)=>{j.authService.acquireTokenSilent(T).pipe((0,e.catchError)(N=>(N&&"login_required"===N.errorCode&&j.Login(),(0,e.of)(null!=N)))).subscribe(N=>{I(N.accessToken?N.accessToken:null)})})}catch(T){j.Debug.ShowErrorMessage(T,"Database Authentication","RequestToken",j.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===c.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(F=>{this.authService.instance.setActiveAccount(F.account)}):this.authService.loginPopup().subscribe(F=>{this.authService.instance.setActiveAccount(F.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(F){this.Debug.ShowErrorMessage(F,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===c.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(F){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+F.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+F.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(j){this.Debug.ShowErrorMessage(j.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(j){return new(j||A)(l.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(v.MsalService),l.\u0275\u0275inject(p.ConstProvider),l.\u0275\u0275inject(C.HttpClient),l.\u0275\u0275inject(b.Router),l.\u0275\u0275inject(_.DomSanitizer),l.\u0275\u0275inject(v.MsalService))};static \u0275prov=l.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},51708:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseChangelogService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),a=n.__importDefault(o(35908)),c=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(7992)),l=n.__importStar(o(29743)),g=n.__importStar(o(97048));h.DatabaseChangelogService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(b,_,f,y){this.Debug=b,this.Pool=_,this.Const=f,this.http=y;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(b){try{let _;return _=i.find(this.Pool.Changlogliste,{_id:b}),i.isUndefined(_)?"unbekannt":_.Beschreibung}catch(_){this.Debug.ShowErrorMessage(_.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,a.default)().valueOf(),Deleted:!1}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let b,_;return new Promise((f,y)=>{b=this.http.post(this.ServerUrl,this.CurrentChangelog),b.subscribe({next:S=>{_=S.Changelog},complete:()=>{this.UpdateChangelogliste(_),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:S=>{y(S)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(b){try{let _;_=i.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==_?(this.Pool.Changlogliste[_]=b,this.Debug.ShowMessage("Changelogliste updated: "+b.Version,"Database Changelog","UpdateChangelogliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Chnagelog nicht gefunden -> neues Changlog hinzuf\xfcgen","Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service),this.Pool.Changlogliste.unshift(b)),this.Pool.Changlogliste=i.filter(this.Pool.Changlogliste,f=>!1===f.Deleted)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let b;return(new d.HttpParams).set("id",this.CurrentChangelog._id),new Promise((f,y)=>{b=this.http.put(this.ServerUrl,this.CurrentChangelog),b.subscribe({next:S=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:S=>{y(S)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let b;return this.CurrentChangelog.Deleted=!0,new Promise((_,f)=>{b=this.http.put(this.ServerUrl,this.CurrentChangelog),b.subscribe({next:y=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),_(!0)},error:y=>{f(y)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||p)(c.\u0275\u0275inject(e.DebugProvider),c.\u0275\u0275inject(u.DatabasePoolService),c.\u0275\u0275inject(l.ConstProvider),c.\u0275\u0275inject(g.HttpClient))};static \u0275prov=c.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},79052:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseOutlookemailService=void 0;const n=o(81316),i=o(97048),d=n.__importDefault(o(35908)),a=n.__importStar(o(54496)),c=n.__importStar(o(34388)),e=n.__importStar(o(29743)),u=n.__importStar(o(7992)),l=n.__importStar(o(97048));h.DatabaseOutlookemailService=(()=>{class v{Debug;Const;Pool;http;CurrentEmail;ServerUrl;ShowUngelesenOnly;Projektsortierung;Emaildatum;Heute;constructor(C,b,_,f){this.Debug=C,this.Const=b,this.Pool=_,this.http=f;try{this.CurrentEmail=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/email",this.ShowUngelesenOnly=!0,this.Projektsortierung=!0,this.Heute=(0,d.default)(),this.Emaildatum=this.Heute.clone().subtract(10,"days")}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Outlookemail","constructor",this.Debug.Typen.Service)}}GetEmail(C){try{let b,_=new i.HttpParams({fromObject:{EmailID:C}}),f=new i.HttpHeaders({"content-type":"application/json"});return new Promise((y,S)=>{this.http.get(this.Pool.CockpitdockerURL+"/email",{headers:f,params:_}).subscribe({next:w=>{b=w},complete:()=>{y(b)},error:w=>{S(w)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Outlookemail","GetEmail",this.Debug.Typen.Service)}}AddEmail(){try{let C,b;return new Promise((_,f)=>{C=this.http.post(this.ServerUrl,this.CurrentEmail),C.subscribe({next:y=>{b=y.data},complete:()=>{_(b)},error:y=>{f(y)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","AddEmail",this.Debug.Typen.Service)}}UpdateEmail(){try{let C,b;return new Promise((_,f)=>{delete this.CurrentEmail.__v,C=this.http.put(this.ServerUrl,this.CurrentEmail),C.subscribe({next:y=>{b=y.Email},complete:()=>{null!==b?_(b):f(new Error("Email auf Server nicht gefunden."))},error:y=>{f(y)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","UpdateEmail",this.Debug.Typen.Service)}}DeleteEmail(){try{let C;return this.CurrentEmail.Deleted=!0,new Promise((b,_)=>{C=this.http.put(this.ServerUrl,this.CurrentEmail),C.subscribe({next:f=>{},complete:()=>{b(!0)},error:f=>{_(f)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","DeleteStandort",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||v)(a.\u0275\u0275inject(c.DebugProvider),a.\u0275\u0275inject(e.ConstProvider),a.\u0275\u0275inject(u.DatabasePoolService),a.\u0275\u0275inject(l.HttpClient))};static \u0275prov=a.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},22848:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeiterService=void 0;const n=o(81316),i=n.__importDefault(o(35908)),d=n.__importStar(o(17964)),a=o(97048),c=n.__importStar(o(54496)),e=n.__importStar(o(34388)),u=n.__importStar(o(97048)),l=n.__importStar(o(29743)),g=n.__importStar(o(7992));h.DatabaseMitarbeiterService=(()=>{class p{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentMeinewoche;ServerMitarbeiterUrl;constructor(b,_,f,y){this.Debug=b,this.http=_,this.Const=f,this.Pool=y;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.CurrentMeinewoche=this.GetEmptyMeinewocheeintrag()}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(b){try{let _,f,y;if(_=this.GetEmptyMitarbeiter(),null===b.surname&&(b.surname=""),null===b.givenName&&(b.givenName=""),null===b.jobTitle&&(b.jobTitle=""),null===b.officeLocation&&(b.officeLocation=""),null===b.mobilePhone&&(b.mobilePhone=""),f=d.isUndefined(b.jobTitle)?"":b.jobTitle,y=d.isUndefined(b.mobilePhone)?"":b.mobilePhone,_.UserID=b.id,_.Email=b.mail,_.Vorname=d.isUndefined(b.givenName)?"":b.givenName,_.Name=d.isUndefined(b.surname)?"":b.surname,_.Mobil=null===y?"":y,_.Jobtitel=null===f?"":f,!1===d.isUndefined(b.businessPhones)&&b.businessPhones.length>0&&(_.Telefon=b.businessPhones[0]),!1===d.isUndefined(b.officeLocation)&&null!==b.officeLocation){_.Location=null!==b.officeLocation?b.officeLocation:"";for(let w of this.Pool.Standorteliste)-1!==b.officeLocation.indexOf(w.Ort)&&(_.StandortID=w._id)}if(""===_.StandortID){let w=d.find(this.Pool.Standorteliste,{Ort:"Bamberg"});d.isUndefined(w)||(_.StandortID=w._id)}let S=null!==b.surname?b.surname.substring(0,2).toUpperCase():"",M=null!==b.givenName?b.givenName.substring(0,1).toUpperCase():"";return _.Kuerzel=S+""+M,_}catch(_){this.Debug.ShowErrorMessage(_,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(b){try{let _=0,f=0;for(let y of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(b){case"Montag":y.Montagseinsatz&&(_+=y.Montagsstunden,f+=y.Montagsminuten);break;case"Dienstag":y.Dienstagseinsatz&&(_+=y.Dienstagsstunden,f+=y.Dienstagsminuten);break;case"Mittwoch":y.Mittwochseinsatz&&(_+=y.Mittwochsstunden,f+=y.Mittwochsminuten);break;case"Donnerstag":y.Donnerstagseinsatz&&(_+=y.Donnerstagsstunden,f+=y.Donnerstagsminuten);break;case"Freitag":y.Freitagseinsatz&&(_+=y.Freitagsstunden,f+=y.Freitagsminuten)}return f+=60*_,0===f?"":"["+(f/60).toFixed(2)+" Std]"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMeinewocheeintrag(){try{return{ProjektID:"",Projektkey:"",ProjektpunktID:"",Kalenderwoche:(0,i.default)().isoWeek(),Montagsstunden:0,Dienstagsstunden:0,Mittwochsstunden:0,Donnerstagsstunden:0,Freitagsstunden:0,Samstagsstunden:0,Montagsminuten:30,Dienstagsminuten:30,Mittwochsminuten:30,Donnerstagsminuten:30,Freitagsminuten:30,Samstagsminuten:30,Dienstagseinsatz:!1,Donnerstagseinsatz:!1,Freitagseinsatz:!1,Mittwochseinsatz:!1,Montagseinsatz:!1,Samstagseinsatz:!1}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","GetEmptyMeinewoche",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let b=(0,i.default)();return{_id:null,UserID:null,Anrede:this.Const.NONE,Urlaub:30,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:b.format("HH:mm DD.MM.YYYY"),Zeitstempel:b.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(b){try{let _=d.find(this.Pool.Mitarbeiterliste,{_id:b});return d.isUndefined(_)?"Unbekannt":_.Vorname+" "+_.Name}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){}FinishService(){}UpdateMitarbeiter(b){try{let _,y,f=new a.HttpParams;delete b.__v,f.set("id",b._id);for(let S of b.Urlaubsliste)S.Zeitspannen.sort((M,w)=>M.Startstempelw.Startstempel?1:0);return new Promise((S,M)=>{_=this.http.put(this.ServerMitarbeiterUrl,b),_.subscribe({next:w=>{y=w.Mitarbeiter},complete:()=>{null!==y?(this.CurrentMitarbeiter=y,this.Pool.Mitarbeiterdaten=y,this.Pool.MitarbeiterdatenChanged.emit(),this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):M(new Error("Mitarbeiter auf Server nicht gefunden.")),S(!0)},error:w=>{M(w)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(b){try{let _,y,f=new a.HttpParams;delete b.__v,f.set("id",b._id);for(let S of b.Urlaubsliste)S.Zeitspannen.sort((M,w)=>M.Startstempelw.Startstempel?1:0);return new Promise((S,M)=>{_=this.http.put(this.ServerMitarbeiterUrl,b),_.subscribe({next:w=>{y=w.Mitarbeiter},complete:()=>{null!==y?(this.UpdateMitarbeiterliste(y),this.Pool.MitarbeiterlisteChanged.emit(),S(!0)):M(new Error("Mitarbeiter auf Server nicht gefunden."))},error:w=>{M(w)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(b){try{let _;_=d.findIndex(this.Pool.Mitarbeiterliste,{_id:b._id}),-1!==_?(this.Pool.Mitarbeiterliste[_]=b,this.Debug.ShowMessage("Mitarbeiterliste updated: "+b.Name,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiter nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service),this.Pool.Mitarbeiterliste.push(b)),this.Pool.Mitarbeiterliste=d.filter(this.Pool.Mitarbeiterliste,f=>!1===f.Deleted)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeiter(b){try{let _,f;return new Promise((y,S)=>{console.log("POST new Mitarbeiter:"),console.log(b),_=this.http.post(this.ServerMitarbeiterUrl,b),_.subscribe({next:M=>{f=M.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(f),this.Pool.MitarbeiterlisteChanged.emit(),y(f)},error:M=>{S(M)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterExists(b){try{return-1!==d.findIndex(this.Pool.Mitarbeiterliste,{Email:b})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(b){try{let _=d.find(this.Pool.Mitarbeiterliste,{Email:b});return d.isUndefined(_)?null:_}catch(_){this.Debug.ShowErrorMessage(_,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(b){try{let _=d.find(this.Pool.Mitarbeiterliste,{_id:b});return d.isUndefined(_)?null:_}catch(_){this.Debug.ShowErrorMessage(_,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(b){try{let _,y,f=new a.HttpParams({fromObject:{email:b}});return new Promise((S,M)=>{_=this.http.get(this.ServerMitarbeiterUrl,{params:f}),_.subscribe({next:w=>{y=w},complete:()=>{S(y)},error:w=>{M(w)}})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(b){try{return b.Deleted=!0,this.UpdateMitarbeiter(b)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||p)(c.\u0275\u0275inject(e.DebugProvider),c.\u0275\u0275inject(u.HttpClient),c.\u0275\u0275inject(l.ConstProvider),c.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=c.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},15024:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeitersettingsService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(97048),a=n.__importStar(o(54496)),c=n.__importStar(o(34388)),e=n.__importStar(o(97048)),u=n.__importStar(o(7992));h.DatabaseMitarbeitersettingsService=(()=>{class g{Debug;http;Pool;ServerSettingsUrl;constructor(p,C,b){this.Debug=p,this.http=C,this.Pool=b;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let p;return new Promise((C,b)=>{null===this.Pool.Mitarbeitersettings._id?(p=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:_=>{this.Pool.Mitarbeitersettings=_.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),C(this.Pool.Mitarbeitersettings)},error:_=>{b(_)}})):(delete this.Pool.Mitarbeitersettings.__v,p=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:_=>{this.Pool.Mitarbeitersettings=_.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),C(this.Pool.Mitarbeitersettings)},error:_=>{b(_)}}))})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(p,C){try{let b,f;return(new d.HttpParams).set("id",p._id),null!==C&&null!==C.ProjektID&&(f=i.findIndex(p.Aufgabenansicht,{ProjektID:C.ProjektID}),-1===f&&p.Aufgabenansicht.push(C)),delete p.__v,new Promise((y,S)=>{b=this.http.put(this.ServerSettingsUrl,p),b.subscribe({next:M=>{this.Pool.Mitarbeitersettings=M.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(p),y(!0)},error:M=>{S(M)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(p){try{let C;C=i.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:p._id}),-1!==C?(this.Pool.Mitarbeitersettingsliste[C]=p,this.Debug.ShowMessage("Mitarbeitersettingsliste updated: "+p.MitarbeiterID,"Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeitersetting nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service),this.Pool.Mitarbeitersettingsliste.push(p)),this.Pool.Mitarbeitersettingsliste=i.filter(this.Pool.Mitarbeitersettingsliste,b=>!1===b.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(p){try{let C,b;return new Promise((_,f)=>{C=this.http.post(this.ServerSettingsUrl,p),C.subscribe({next:y=>{p=y.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(p),this.Pool.MitarbeitersettingslisteChanged.emit(),_(b)},error:y=>{f(y)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(C){return new(C||g)(a.\u0275\u0275inject(c.DebugProvider),a.\u0275\u0275inject(e.HttpClient),a.\u0275\u0275inject(u.DatabasePoolService))};static \u0275prov=a.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac,providedIn:"root"})}return g})()},7992:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabasePoolService=void 0;const n=o(81316),i=o(54496),d=o(97048),a=o(16213),c=n.__importStar(o(17964)),e=o(36716),u=o(44180),l=n.__importStar(o(54496)),g=n.__importStar(o(34388)),v=n.__importStar(o(29743)),p=n.__importStar(o(97092)),C=n.__importStar(o(97048));h.DatabasePoolService=(()=>{class _{Debug;Const;AuthService;Http;Standorteliste;Mitarbeiterliste;Projektpunkteliste;DeletedProjektpunkteliste;Protokollliste;Bautagebuchliste;LOPListe;Notizenkapitelliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;CurrentAufgabenansichten;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;Outlookkatekorien;Fachbereich;Festlegungskategorienliste;ProjektdatenLoaded;Emailcontentvarinaten;Simontabellenliste;StandortelisteChanged=new i.EventEmitter;MitarbeiterlisteChanged=new i.EventEmitter;MitarbeiterdatenChanged=new i.EventEmitter;MitarbeitersettingslisteChanged=new i.EventEmitter;MitarbeitersettingsChanged=new i.EventEmitter;LoadingAllDataFinished=new i.EventEmitter;ProjektpunktelisteChanged=new i.EventEmitter;ProjektpunktStatusChanged=new i.EventEmitter;ProjektpunktKostengruppeChanged=new i.EventEmitter;ProtokolllisteChanged=new i.EventEmitter;ProtokollprojektpunktChanged=new i.EventEmitter;LOPListeprojektpunktChanged=new i.EventEmitter;ProjektpunktChanged=new i.EventEmitter;ChangeloglisteChanged=new i.EventEmitter;BautagebuchlisteChanged=new i.EventEmitter;EmailempfaengerChanged=new i.EventEmitter;LOPListeChanged=new i.EventEmitter;MitarbeiterAuswahlChanged=new i.EventEmitter;BeteiligteAuswahlChanged=new i.EventEmitter;CurrentBeteiligtenChanged=new i.EventEmitter;NotizenkapitellisteChanged=new i.EventEmitter;CurrentLOPGewerkelisteChanged=new i.EventEmitter;FestlegungskategorienlisteChanged=new i.EventEmitter;CurrentFestlegungskategorieChanged=new i.EventEmitter;SimontabelleChanged=new i.EventEmitter;SimontabellenlisteChanged=new i.EventEmitter;Signatur;constructor(y,S,M,w){this.Debug=y,this.Const=S,this.AuthService=M,this.Http=w;try{this.Emailcontentvarinaten={NONE:this.Const.NONE,Protokoll:"Protokoll",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",LOPListe:"LOPListe",Aufgabenliste:"Aufgabenliste",Simontabelle:"Simontabelle"},this.Mitarbeiterdaten=null,this.MitarbeiterdatenHasError=!0,this.Mitarbeitersettings=null,this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Projektpunkteliste=[],this.Projektpunkteliste=[],this.Protokollliste=[],this.Changlogliste=[],this.Bautagebuchliste=[],this.LOPListe=[],this.Notizenkapitelliste=[],this.Outlookkatekorien=[],this.Simontabellenliste=[],this.CockpitserverURL=!0===e.environment.production?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.Fachbereich=new u.Fachbereiche,this.CurrentAufgabenansichten=null,this.Festlegungskategorienliste=[],this.DeletedProjektpunkteliste=[],this.ProjektdatenLoaded=!1,this.Signatur='\n Beste Gr\xfc\xdfe,

\n [Name]
\n [Jobtitel]

\n
\n \n BAE-GmbH
\n Ein Unternehmen der BAE GROUP\n
\n \n \n \n \n \n \n \n
[Strasse]
[Ort]
Telefon:[Telefon]
Mobil:[Mobil]
Email:[Email]
Web:www.bae-group.eu
\n

\n \n BAE GmbH, Sitz: Coburg, Amtsgericht Coburg, HRB 6357.
\n Gesch\xe4ftsf\xfchrer J\xfcrgen Kerscher, Michael H\xf6lzle
\n Standorte BAE GROUP: Frankfurt, Berlin, M\xfcnchen, Coburg, Bamberg, Deggendorf, Sofia, Varna
\n
\n
\n \n \n \n \n \n \n \n
\n Der Inhalt dieser E-Mail ist ausschlie\xdflich f\xfcr den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen\n Vertreter sein sollten, so beachten Sie, dass jede Form der Kenntnis- und Vorteilsnahme, Ver\xf6ffentlichung, Vervielf\xe4ltigung oder Weitergabe des\n Inhalts dieser Mail unzul\xe4ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegen\xfcber\n dem Adressaten unterliegen den Regelungen des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der\n individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend best\xe4tigt wird.\n Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir m\xf6chten Sie au\xdferdem darauf hinweisen, dass die Kommunikation per E-Mail \xfcber das\n Internet unsicher ist, da f\xfcr unberechtigte Dritte grunds\xe4tzlich die M\xf6glichkeit der Kenntnisnahme und Manipulation besteht.\n
\n The information contained in this email is intended exclusively for the addressee. Access to this email by anyone else is unauthorized. If you are not\n the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it,\n is prohibited. Please notify the sender immediately. All statements directed via this email to our clients are subject to the conditions of the submitted\n offer respectively order, in particular to the General Terms and Conditions and to the individual liability agreement between the parties. The content of\n this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines.\n Please note that communication via email over the internet is insecure because third parties generally have the possibility to access and manipulate emails.\n
\n \n \n \n \n \n
PThink about Nature before you print!
\n '}catch(A){this.Debug.ShowErrorMessage(A.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(y,S){try{let I,k,M=this.Signatur,w=y.Telefon,A=y.Mobil,O=y.Email,F=y.Vorname+" "+y.Name,j=y.Jobtitel,T=c.find(this.Standorteliste,{_id:y.StandortID});return c.isUndefined(T)||(I=T.Strasse,k=T.PLZ+" "+T.Ort,M=M.replace("[Strasse]",I),M=M.replace("[Ort]",k)),M=M.replace("[Name]",F),M=M.replace("[Jobtitel]",j),M=M.replace("[Telefon]",w),M=M.replace("[Mobil]",A),M=M.split("[Email]").join(O),S&&(M=M.split("[Image]").join("assets/images/group_logo.png")),M}catch(M){this.Debug.ShowErrorMessage(M,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}GetAufgabenansichten(y){try{let S;return null!==this.Mitarbeitersettings&&(S=c.find(this.Mitarbeitersettings.Aufgabenansicht,{ProjektID:y})),c.isUndefined(S)&&(S={ProjektID:y,AufgabenShowAusfuehrung:!0,AufgabenShowBearbeitung:!0,AufgabenShowBilder:!0,AufgabenShowGeschlossen:!1,AufgabenShowMeilensteinOnly:!1,AufgabenShowOffen:!0,AufgabenShowPlanung:!0,AufgabenShowRuecklauf:!0,AufgabenShowMeilensteine:!0,AufgabenShowPlanungsmatrix:!1}),S}catch(S){this.Debug.ShowErrorMessage(S,"Database Pool","GetAufgabenansichten",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((S,M)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:y}).subscribe({next:A=>{this.Mitarbeiterliste=A},complete:()=>{for(let A of this.Mitarbeiterliste)A=this.InitMitarbeiter(A);this.MitarbeiterlisteChanged.emit(),S(!0)},error:A=>{console.log(A.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),M(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((S,M)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:y}).subscribe({next:A=>{this.Changlogliste=A},complete:()=>{this.Changlogliste.sort((A,O)=>A.Zeitstempel>O.Zeitstempel?-1:A.Zeitstempel{M(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((S,M)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:y}).subscribe({next:A=>{this.Standorteliste=A},complete:()=>{for(let A of this.Standorteliste)c.isUndefined(A.Konfession)&&(A.Konfession="RK"),c.isUndefined(A.Bundesland)&&(A.Bundesland="DE-BY"),c.isUndefined(A.Land)&&(A.Land="DE");this.StandortelisteChanged.emit(),S(!0)},error:A=>{M(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let y=new d.HttpHeaders({"content-type":"application/json"});return new Promise((S,M)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:y}).subscribe({next:A=>{this.Mitarbeitersettingsliste=A},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),S(!0)},error:A=>{M(A)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(y){try{c.isUndefined(y.SettingsID)&&(y.SettingsID=null),c.isUndefined(y.Archiviert)&&(y.Archiviert=!1),c.isUndefined(y.Meintagliste)&&(y.Meintagliste=[]),c.isUndefined(y.Meinewocheliste)&&(y.Meinewocheliste=[]),c.isUndefined(y.Anrede)&&(y.Anrede=this.Const.NONE),c.isUndefined(y.Urlaub)&&(y.Urlaub=30),c.isUndefined(y.Urlaubsliste)&&(y.Urlaubsliste=[]),c.isUndefined(y.Urlaubsfreigaben)&&(y.Urlaubsfreigaben=!1),c.isUndefined(y.Planeradministrator)&&(y.Planeradministrator=!1),c.isUndefined(y.Urlaubsfreigaben)&&(y.Urlaubsfreigaben=!1),c.isUndefined(y.Homeofficefreigaben)&&(y.Homeofficefreigaben=!1);for(let S of y.Meinewocheliste)c.isUndefined(S.Kalenderwoche)&&(S.Kalenderwoche=0);return y.Urlaubsliste.sort((S,M)=>S.JahrM.Jahr?1:0),y}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(y){this.Debug.ShowErrorMessage(y,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,a.v4)()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","GetNewUniqueID",this.Debug.Typen.Service)}}GetNewMitarbeitersettings(){try{return{_id:null,MitarbeiterID:null,FavoritenID:null,ProjektID:null,Favoritprojektindex:null,Zoomfaktor:100,Textsize:14,StandortFilter:null,LeistungsphaseFilter:this.Const.Leistungsphasenvarianten.UNBEKANNT,Aufgabenansicht:[],Deleted:!1,HeadermenueMaxFavoriten:6,AufgabenSortiermodus:this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend,AufgabenMeilensteineNachlauf:2,AufgabenShowMeilensteine:!0,AufgabenShowNummer:!1,AufgabenShowStartdatum:!1,AufgabenShowAufgabe:!0,AufgabenShowBemerkung:!0,AufgabenShowTage:!0,AufgabenShowTermin:!0,AufgabenShowStatus:!0,AufgabenShowFortschritt:!1,AufgabenShowZustaendig:!0,AufgabenShowMeintag:!0,AufgabenShowZeitansatz:!1,AufgabenShowMeinewoche:!0,UrlaubShowBeantragt:!0,UrlaubShowVertreterfreigabe:!0,UrlaubShowGenehmigt:!0,UrlaubShowAbgelehnt:!0,UrlaubShowFerien_DE:!0,UrlaubShowFeiertage_DE:!0,UrlaubShowFerien_BG:!0,UrlaubShowFeiertage_BG:!0,UrlaubShowMeinenUrlaub:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let y;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(y=c.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),c.isUndefined(y)?this.GetNewMitarbeitersettings():(c.isUndefined(y.Favoritprojektindex)&&(y.Favoritprojektindex=3e3),c.isUndefined(y.HeadermenueMaxFavoriten)&&(y.HeadermenueMaxFavoriten=6),c.isUndefined(y.Zoomfaktor)&&(y.Zoomfaktor=100),c.isUndefined(y.Textsize)&&(y.Textsize=14),c.isUndefined(y.Deleted)&&(y.Deleted=!1),c.isUndefined(y.AufgabenShowNummer)&&(y.AufgabenShowNummer=!0),c.isUndefined(y.AufgabenShowStartdatum)&&(y.AufgabenShowStartdatum=!0),c.isUndefined(y.AufgabenShowAufgabe)&&(y.AufgabenShowAufgabe=!0),c.isUndefined(y.AufgabenShowBemerkung)&&(y.AufgabenShowBemerkung=!0),c.isUndefined(y.AufgabenShowTage)&&(y.AufgabenShowTage=!0),c.isUndefined(y.AufgabenShowTermin)&&(y.AufgabenShowTermin=!0),c.isUndefined(y.AufgabenShowStatus)&&(y.AufgabenShowStatus=!0),c.isUndefined(y.AufgabenShowFortschritt)&&(y.AufgabenShowFortschritt=!0),c.isUndefined(y.AufgabenShowZustaendig)&&(y.AufgabenShowZustaendig=!0),c.isUndefined(y.AufgabenShowMeintag)&&(y.AufgabenShowMeintag=!0),c.isUndefined(y.AufgabenShowZeitansatz)&&(y.AufgabenShowZeitansatz=!0),c.isUndefined(y.AufgabenShowMeinewoche)&&(y.AufgabenShowMeinewoche=!0),c.isUndefined(y.Aufgabenansicht)&&(y.Aufgabenansicht=[]),c.isUndefined(y.AufgabenTerminfiltervariante)&&(y.AufgabenTerminfiltervariante=null),c.isUndefined(y.AufgabenTerminfilterStartwert)&&(y.AufgabenTerminfilterStartwert=null),c.isUndefined(y.AufgabenTerminfilterEndewert)&&(y.AufgabenTerminfilterEndewert=null),c.isUndefined(y.AufgabenSortiermodus)&&(y.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),c.isUndefined(y.AufgabenMeilensteineNachlauf)&&(y.AufgabenMeilensteineNachlauf=2),c.isUndefined(y.LOPListeGeschlossenZeitfilter)&&(y.LOPListeGeschlossenZeitfilter=14),c.isUndefined(y.LeistungsphaseFilter)&&(y.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),c.isUndefined(y.OberkostengruppeFilter)&&(y.OberkostengruppeFilter=null),c.isUndefined(y.UnterkostengruppeFilter)&&(y.UnterkostengruppeFilter=null),c.isUndefined(y.HauptkostengruppeFilter)&&(y.HauptkostengruppeFilter=null),c.isUndefined(y.UrlaubShowBeantragt)&&(y.UrlaubShowBeantragt=!0),c.isUndefined(y.UrlaubShowVertreterfreigabe)&&(y.UrlaubShowVertreterfreigabe=!0),c.isUndefined(y.UrlaubShowGenehmigt)&&(y.UrlaubShowGenehmigt=!0),c.isUndefined(y.UrlaubShowAbgelehnt)&&(y.UrlaubShowAbgelehnt=!0),c.isUndefined(y.UrlaubShowFerien_DE)&&(y.UrlaubShowFerien_DE=!0),c.isUndefined(y.UrlaubShowFerien_BG)&&(y.UrlaubShowFerien_BG=!0),c.isUndefined(y.UrlaubShowFeiertage_DE)&&(y.UrlaubShowFeiertage_DE=!0),c.isUndefined(y.UrlaubShowFeiertage_BG)&&(y.UrlaubShowFeiertage_BG=!0),c.isUndefined(y.UrlaubShowMeinenUrlaub)&&(y.UrlaubShowMeinenUrlaub=!0),this.CurrentAufgabenansichten=this.GetAufgabenansichten(null),y))}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(S){return new(S||_)(l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(v.ConstProvider),l.\u0275\u0275inject(p.DatabaseAuthenticationService),l.\u0275\u0275inject(C.HttpClient))};static \u0275prov=l.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},58864:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseStandorteService=void 0;const n=o(81316),i=o(54496),d=n.__importStar(o(17964)),a=o(97048),c=n.__importDefault(o(35908)),e=o(16213),u=n.__importStar(o(54496)),l=n.__importStar(o(34388)),g=n.__importStar(o(7992)),v=n.__importStar(o(29743)),p=n.__importStar(o(97048));h.DatabaseStandorteService=(()=>{class b{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new i.EventEmitter;ServerUrl;constructor(f,y,S,M){this.Debug=f,this.Pool=y,this.Const=S,this.http=M;try{this.CurrentStandort=null,this.CurrentStandortfilter=null,this.ServerUrl=this.Pool.CockpitdockerURL+"/standorte"}catch(w){this.Debug.ShowErrorMessage(w.message,"Database Standorte","constructor",this.Debug.Typen.Service)}}InitService(){try{let f;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),f&&(this.CurrentStandortfilter=d.cloneDeep(f))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===d.isUndefined(f)&&(this.Pool.Mitarbeiterstandort=f)):this.Pool.Mitarbeiterstandort=null,this.StandortfilterChanged.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(f){try{let y;return y=d.find(this.Pool.Standorteliste,{_id:f}),d.isUndefined(y)?"unbekannt":y.Kuerzel+" - "+y.Ort}catch(y){this.Debug.ShowErrorMessage(y.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let f=(0,c.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Zeitstempel:f.valueOf(),Zeitpunkt:f.format("DD.MM.YYYY")}}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let f=this.CurrentStandort.Kuerzel;return f=f.replace(/ /g,"_"),f=f.replace(/-/g,"_"),f=f.replace(/./g,"_"),f+"_"+(0,e.v4)()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let f,y;return new Promise((S,M)=>{f=this.http.post(this.ServerUrl,this.CurrentStandort),f.subscribe({next:w=>{y=w.data},complete:()=>{this.UpdateStandortliste(y),this.Pool.StandortelisteChanged.emit(),S(!0)},error:w=>{M(w)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(f){try{let y;y=d.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==y?(this.Pool.Standorteliste[y]=f,this.Debug.ShowMessage("Standortliste updated: "+f.Standort,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Standort nicht gefunden -> neuen Standort hinzuf\xfcgen","Database Standorte","UpdateStandortliste",this.Debug.Typen.Service),this.Pool.Standorteliste.push(f)),this.Pool.Standorteliste=d.filter(this.Pool.Standorteliste,S=>!1===S.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let f;return(new a.HttpParams).set("id",this.CurrentStandort._id),new Promise((S,M)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:w=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),S(!0)},error:w=>{M(w)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let f;return this.CurrentStandort.Deleted=!0,new Promise((y,S)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:M=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),y(!0)},error:M=>{S(M)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||b)(u.\u0275\u0275inject(l.DebugProvider),u.\u0275\u0275inject(g.DatabasePoolService),u.\u0275\u0275inject(v.ConstProvider),u.\u0275\u0275inject(p.HttpClient))};static \u0275prov=u.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},9544:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseUrlaubService=void 0;const i=o(81316),d=o(54496),a=i.__importStar(o(17964)),c=i.__importDefault(o(35908)),e=i.__importStar(o(54496)),u=i.__importStar(o(34388)),l=i.__importStar(o(7992)),g=i.__importStar(o(29743)),v=i.__importStar(o(8608)),p=i.__importStar(o(22848)),C=i.__importStar(o(14652)),b=i.__importStar(o(97048));h.DatabaseUrlaubService=(()=>{class f{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new d.EventEmitter;ExterneUrlaubeChanged=new d.EventEmitter;UrlaubStatusChanged=new d.EventEmitter;Bundeslandkuerzel;Bundesland;Regionenliste;Jahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentZeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Freigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Anfragenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Urlaubsfaben={Geplant:"#307ac1",Vertreterfreigabe:"orange",Vertreteranfrage:"#04B4AE",Vertreterablehnung:"#8A0886",Abgelehnt:"red",Genehmigt:"green",Ferien_DE:"#999999",Ferien_BG:"#999999",Feiertage_DE:"#454545",Feiertage_BG:"#454545",Wochenende:"#34495E"};constructor(S,M,w,A,O,F,j){this.Debug=S,this.Pool=M,this.Const=w,this.Graph=A,this.DBMitarbeiter=O,this.Basics=F,this.http=j;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.Jahr=(0,c.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Freigabenliste=[],this.CurrentMonatindex=(0,c.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentZeitspanne=null,this.Laendercode="DE",this.ShowFeiertage_DE=!1,this.ShowFeiertage_BG=!1,this.ShowFerientage_DE=!1,this.ShowFerientage_BG=!1,this.Ferienfarbe_DE=this.Const.NONE,this.Feiertagefarbe_DE=this.Const.NONE,this.UrlaublisteExtern=[],this.Vertretrungliste=[],this.Anfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.CurrentMitarbeiter=null,this.CorrectSetup=!1,this.Officeemailadress="office@b-a-e.eu",this.Monateliste=["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}catch(T){this.Debug.ShowErrorMessage(T.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(S){try{this.CurrentMitarbeiter=a.cloneDeep(S)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{this.CorrectSetup=null!==this.CurrentUrlaub&&null!==this.CurrentMitarbeiter&&null!==this.CurrentUrlaub.FreigeberID&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}catch(S){this.Debug.ShowErrorMessage(S,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let S,M,w;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Freigabenliste=[],null!==this.CurrentMitarbeiter)for(let A of this.Pool.Mitarbeiterliste)if(A._id!==this.CurrentMitarbeiter._id&&(S=a.find(A.Urlaubsliste,O=>O.Jahr===this.Jahr&&O.FreigeberID===this.CurrentMitarbeiter._id),!a.isUndefined(S))){M=!1,w=!1;for(let O of S.Zeitspannen)O=this.InitZeitspanne(O),!0===this.CheckFreigabeanwortAge(O)&&(O.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||O.Status===this.Urlaubstatusvarianten.Abgelehnt||O.Status===this.Urlaubstatusvarianten.Genehmigt)&&a.isUndefined(a.find(this.Freigabenliste,{_id:A._id}))&&(this.Freigabenliste.push(A),O.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?M=!0:w=!0);!0===M&&(this.Anfragenanzahl++,this.Freigabenanfragenanzahl++),!0===w&&(this.Antwortenanzahl++,this.Freigabenantwortenanzahl++)}}catch(S){this.Debug.ShowErrorMessage(S,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}ResetRequest(S,M){var w=this;return n(function*(){try{if(null!==M){for(let O of M.Zeitspannen)O.Status=w.Urlaubstatusvarianten.Geplant,O.VertreterantwortSended=!1,O.Vertretungmeldung="",O.Planungmeldung="",O.Vertretungantwortzeitstempel=null;let A=a.findIndex(S.Urlaubsliste,{Jahr:w.Jahr});S.Urlaubsliste[A]=M,yield w.DBMitarbeiter.UpdateMitarbeiterUrlaub(S)}}catch(A){w.Debug.ShowErrorMessage(A,"Database Urlaub","ResetRequest",w.Debug.Typen.Service)}})()}CheckVertretungsanwortAge(S){try{let w,A,M=(0,c.default)().locale("de");return S.VertreterID!==this.CurrentMitarbeiter._id||!0!==S.VertreterantwortSended||S.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&S.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||null!==S.Vertretungantwortzeitstempel&&(w=(0,c.default)(S.Vertretungantwortzeitstempel).locale("de"),A=c.default.duration(M.diff(w)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckFreigabeanwortAge(S){try{let w,A,M=(0,c.default)().locale("de");return!0!==S.FreigabeantwortSended||S.Status!==this.Urlaubstatusvarianten.Genehmigt&&S.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==S.Freigabeantwortzeitstempel&&(w=(0,c.default)(S.Freigabeantwortzeitstempel).locale("de"),A=c.default.duration(M.diff(w)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(S){try{let w,A,M=(0,c.default)().locale("de");return S.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&S.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==S.VertreterantwortSended||null===S.Vertretungantwortzeitstempel?0:(w=(0,c.default)(S.Vertretungantwortzeitstempel).locale("de"),A=c.default.duration(M.diff(w)).asMinutes(),A)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let S,M,w,A;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let O of this.Pool.Mitarbeiterliste)if(O._id!==this.CurrentMitarbeiter._id&&(S=a.find(O.Urlaubsliste,{Jahr:this.Jahr}),!a.isUndefined(S))){w=!1,A=!1;for(let F of S.Zeitspannen)F=this.InitZeitspanne(F),F.VertreterID===this.CurrentMitarbeiter._id&&!0===this.CheckVertretungsanwortAge(F)&&(F.Status===this.Urlaubstatusvarianten.Vertreteranfrage||F.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||F.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(F.Status===this.Urlaubstatusvarianten.Vertreteranfrage?w=!0:A=!0,M=a.find(this.Vertretrungliste,{_id:O._id}),a.isUndefined(M)&&this.Vertretrungliste.push(O));!0===w&&(this.Vertretungsanfragenanzahl++,this.Anfragenanzahl++),!0===A&&(this.Vertretungsantwortenanzahl++,this.Antwortenanzahl++)}}catch(S){this.Debug.ShowErrorMessage(S,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetStatuscolor(S){try{let M="none";switch(S){case this.Urlaubstatusvarianten.Geplant:M=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:M=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:M=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:M=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:M=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:M=this.Urlaubsfaben.Abgelehnt;break;default:M="#00FFFF"}return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var S=this;return n(function*(){try{let w,T,M=1,A=(0,c.default)(),O=[],F=[],j=[];for(let k of S.CurrentUrlaub.Zeitspannen)k.Status===S.Urlaubstatusvarianten.Geplant&&null!==k.VertreterID&&-1===a.indexOf(O,k.VertreterID)&&(M++,O.push(k.VertreterID));for(let k of O)if(F=[],w=a.find(S.Pool.Mitarbeiterliste,{_id:k}),!a.isUndefined(w)){for(let N of S.CurrentUrlaub.Zeitspannen)N.Status===S.Urlaubstatusvarianten.Geplant&&N.VertreterID===k&&(F.push(N),N.Status=S.Urlaubstatusvarianten.Vertreteranfrage,N.Planungmeldung=A.format("DD.MM.YYYY")+" Vertretungsanfrage wurde an "+w.Vorname+" "+w.Name+" gesendet.");F=yield S.SendVertreteranfragen(S.CurrentMitarbeiter,w,F),j=j.concat(F)}for(let k of j)T=a.findIndex(S.CurrentUrlaub.Zeitspannen,{ZeitspannenID:k.ZeitspannenID}),S.CurrentUrlaub.Zeitspannen[T]=k;let I=a.findIndex(S.CurrentMitarbeiter.Urlaubsliste,{Jahr:S.Jahr});S.CurrentMitarbeiter.Urlaubsliste[I]=S.CurrentUrlaub,yield S.DBMitarbeiter.UpdateMitarbeiterUrlaub(S.CurrentMitarbeiter),S.UrlaubStatusChanged.emit()}catch(M){S.Debug.ShowErrorMessage(M,"Database Urlaub","UpdateVertreteranfragen",S.Debug.Typen.Service)}})()}UpdateVertreterantworten(S,M){var w=this;return n(function*(){try{let F,j,A=1,O=(0,c.default)().locale("de");for(let I of M.Zeitspannen)I.Status===w.Urlaubstatusvarianten.Vertreterablehnung&&!1===I.VertreterantwortSended&&(A+=1),I.Status===w.Urlaubstatusvarianten.Vertreterfreigabe&&!1===I.VertreterantwortSended&&(A+=2);F=a.find(w.Pool.Mitarbeiterliste,{_id:M.FreigeberID}),j=w.CurrentMitarbeiter;for(let I of M.Zeitspannen)I.Status!==w.Urlaubstatusvarianten.Vertreteranfrage&&!1===I.VertreterantwortSended&&(I.Status===w.Urlaubstatusvarianten.Vertreterfreigabe&&(I.Vertretungmeldung=O.format("DD.MM.YYYY")+" Vertretungszusage wurde an "+S.Vorname+" "+S.Name+" gesendet.",I.Vertretungmeldung+="
"+O.format("DD.MM.YYYY")+" Urlaubsfreigabe Anfrage wurde an "+F.Vorname+" "+F.Name+" gesendet.",I.Planungmeldung=O.format("DD.MM.YYYY")+" "+j.Vorname+" "+j.Name+" hat der Urlausvertretung zugestimmt.",I.Planungmeldung+="
"+O.format("DD.MM.YYYY")+" Genehmigungsanfrage wurde an "+F.Vorname+" "+F.Name+" gesendet."),I.Status===w.Urlaubstatusvarianten.Vertreterablehnung&&(I.Planungmeldung=O.format("DD.MM.YYYY")+" "+j.Vorname+" "+j.Name+" hat die Vertretung abgelehnt",I.Vertretungmeldung=O.format("DD.MM.YYYY")+" Vertretungsabsage wurde an "+S.Vorname+" "+S.Name+" gesendet."));M=yield w.SendVertreterzusage(S,j,F,M),M=yield w.SendVertreterabsage(S,j,F,M),M=yield w.SendFreigabeanfrage(S,F,M);let T=a.findIndex(S.Urlaubsliste,{Jahr:w.Jahr});S.Urlaubsliste[T]=M,yield w.DBMitarbeiter.UpdateMitarbeiterUrlaub(S)}catch(A){w.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateVertreterantworten",w.Debug.Typen.Service)}})()}SendVertreteranfragen(S,M,w){try{let O,A="Urlaubsvertretungsanfrage von "+S.Vorname+" "+S.Name,F=[],j=!1,T=(0,c.default)().locale("de");return new Promise((I,k)=>{O="Hallo "+M.Vorname+",

bitte pr\xfcfen, ob du f\xfcr folgende Zeitr\xe4ume:

",O+='',O+="",O+='';for(let N of w)N.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&N.VertreterID===M._id&&!1===N.VertreteranfrageSended&&(j=!0,N.Vertretunganfragezeitstempel=T.valueOf(),N.VertreteranfrageSended=!0,O+="",O+='",O+='",O+="");O+="
VonBis
'+N.Startstring+"'+N.Endestring+"
",O+="
Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

",O+="

",O+='Urlaubsplanung jetzt \xf6ffnen',O+="

"+this.Pool.GetFilledSignatur(S,!0),F.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),j?this.Graph.SendMail(F,A,O).then(()=>{console.log("Vertretungsanfrage wurde an "+M.Vorname+" "+M.Name+" gesendet."),I(w)}).catch(N=>{k(N)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),I(w))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendVertreterzusage(S,M,w,A){try{let F,O="Vertretungszusage von "+M.Vorname+" "+M.Name,j=[],T=!1,I=(0,c.default)().locale("de");return new Promise((k,N)=>{F="Hallo "+S.Vorname+",

nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

",F+='',F+="",F+='',F+="";for(let x of A.Zeitspannen)x.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&x.VertreterID===M._id&&!1===x.VertreterantwortSended&&(T=!0,x.VertreterantwortSended=!0,x.Vertretungantwortzeitstempel=I.valueOf(),F+="",F+='",F+='",F+='',F+="");F+="
VonBisVertretung
'+x.Startstring+"'+x.Endestring+"Zusage
",F+="

",F+="Deine Urlaubsanfrage wurde zur Freigabe an "+w.Vorname+" "+w.Name+" weitergeleitet.",F+="

",F+='Urlaubsplanung jetzt \xf6ffnen',F+="

"+this.Pool.GetFilledSignatur(M,!0),j.push({emailAddress:{address:S.Email,name:S.Vorname+" "+S.Name}}),!0===T?this.Graph.SendMail(j,O,F).then(()=>{console.log("Vertretungszusage wurde an "+S.Vorname+" "+S.Name+" gesendet."),k(A)}).catch(x=>{N(x)}):(console.log("Es wurde keine Vertretungszusage gesendet."),k(A))})}catch(O){this.Debug.ShowErrorMessage(O,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}UpdateFreigabenantworten(S,M){var w=this;return n(function*(){try{let F,j,A=1,O=(0,c.default)().locale("de");for(let I of M.Zeitspannen)I.Status===w.Urlaubstatusvarianten.Genehmigt&&!1===I.FreigabeantwortSended&&(A+=1),I.Status===w.Urlaubstatusvarianten.Abgelehnt&&!1===I.FreigabeantwortSended&&(A+=2);for(let I of M.Zeitspannen)(I.Status===w.Urlaubstatusvarianten.Genehmigt||I.Status===w.Urlaubstatusvarianten.Abgelehnt)&&(F=a.find(w.Pool.Mitarbeiterliste,{_id:M.FreigeberID}),j=a.find(w.Pool.Mitarbeiterliste,{_id:I.VertreterID}),I.Status===w.Urlaubstatusvarianten.Genehmigt&&(I.Planungmeldung=O.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+F.Vorname+" "+F.Name+" genehmigt.",I.Freigabemeldung=O.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+S.Vorname+" "+S.Name+" gesendet.",I.Freigabemeldung+="
"+O.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),I.Status===w.Urlaubstatusvarianten.Abgelehnt&&(I.Planungmeldung=O.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+F.Vorname+" "+F.Name+" abgelehnt.",I.Freigabemeldung=O.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+S.Vorname+" "+S.Name+" gesendet."));M=yield w.SendMitarbeiterFreigabeablehnung(S,F,M),M=yield w.SendMitarbeiterFreigabezusage(S,F,M),M=yield w.SendOfficeFreigabezusage(S,F,M);let T=a.findIndex(S.Urlaubsliste,{Jahr:w.Jahr});S.Urlaubsliste[T]=M,w.CurrentUrlaub=M,yield w.DBMitarbeiter.UpdateMitarbeiterUrlaub(S)}catch(A){w.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateFreigabenantworten",w.Debug.Typen.Service)}})()}SendVertreterabsage(S,M,w,A){try{let F,O="Vertretungsabsage von "+M.Vorname+" "+M.Name,j=[],T=!1,I=(0,c.default)().locale("de");return new Promise((k,N)=>{F="Hallo "+S.Vorname+",

nachfolgende Urlaubsvertretungen kann ich nicht wahrnehmen:

",F+='',F+="",F+='',F+="";for(let x of A.Zeitspannen)x.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&x.VertreterID===M._id&&!1===x.VertreterantwortSended&&(T=!0,x.VertreterantwortSended=!0,x.Vertretungantwortzeitstempel=I.valueOf(),F+="",F+='",F+='",F+='',F+="");F+="
VonBisVertretung
'+x.Startstring+"'+x.Endestring+"Abgelehnt
",F+="

",F+='Urlaubsplanung jetzt \xf6ffnen',F+="

"+this.Pool.GetFilledSignatur(M,!0),j.push({emailAddress:{address:S.Email,name:S.Vorname+" "+S.Name}}),!0===T?this.Graph.SendMail(j,O,F).then(()=>{console.log("Vertretungsabsage wurde an "+S.Vorname+" "+S.Name+" gesendet."),k(A)}).catch(x=>{N(x)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),k(A))})}catch(O){this.Debug.ShowErrorMessage(O,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(S,M,w){try{let O,T,A="Anfrage Urlaubsfreigabe von "+S.Vorname+" "+S.Name,F=[],j=!1,I=(0,c.default)().locale("de");return new Promise((k,N)=>{O="Hallo "+M.Vorname+"

es liegen neue Anfragen zur Urlaufsfreigabe von ",O+=S.Vorname+" "+S.Name+" vor:

",O+='',O+="",O+='',O+="";for(let x of w.Zeitspannen)x.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===x.FreigabeanfrageSended&&(j=!0,T=a.find(this.Pool.Mitarbeiterliste,{_id:x.VertreterID}),x.FreigabeanfrageSended=!0,x.Freigabeantwortzeitstempel=I.valueOf(),O+="",O+='",O+='",O+="",O+="");O+="
VonBisVertretung
'+x.Startstring+"'+x.Endestring+"",a.isUndefined(T)||(O+=T.Vorname+" "+T.Name),O+="
",O+="

",O+='Urlaubsplanung jetzt \xf6ffnen',O+="

"+this.Pool.GetFilledSignatur(S,!0),F.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===j?this.Graph.SendMail(F,A,O).then(()=>{console.log("Freigabe Anfrage wurde versendet."),k(w)}).catch(x=>{N(x)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),k(w))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(S,M,w){try{let O,I,A="Urlaubsfreigabe",F=[],j=!1,T=(0,c.default)().locale("de");return new Promise((k,N)=>{O="Hallo "+S.Vorname+",

anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

",O+='',O+="",O+='',O+='',O+="",O+="",O+="";for(let x of w.Zeitspannen)x.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===x.FreigabeantwortSended&&(x.FreigabeantwortSended=!0,x.Freigabeantwortzeitstempel=T.valueOf(),I=this.DBMitarbeiter.GetMitarbeiterByID(x.VertreterID),j=!0,O+="",O+='",O+='",a.isUndefined(I)?O+='':O+="",O+='',O+="");O+="
VonBisVertretungStatus
'+x.Startstring+"'+x.Endestring+"unbekannt"+I.Vorname+" "+I.Name+"Freigabe
",O+="

",O+='Deine Urlaubsfreigabe wurde zur Eintragung in "untermStrich" dem B\xfcro mitgeteilt.',O+="

",O+='Urlaubsplanung jetzt \xf6ffnen',O+="

"+this.Pool.GetFilledSignatur(M,!0),F.push({emailAddress:{address:S.Email,name:S.Vorname+" "+S.Name}}),!0===j?this.Graph.SendMail(F,A,O).then(()=>{console.log("Urlaubsfreigabe wurde an "+S.Vorname+" "+S.Name+" gesendet."),k(w)}).catch(x=>{N(x)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),k(w))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(S,M,w){try{let O,I,A="Urlaubsfreigabe",F=[],j=!1,T=(0,c.default)().locale("de");return new Promise((k,N)=>{O="Hallo Office,

anbei eine Urlaubsfreigabe f\xfcr "+S.Vorname+" "+S.Name+" mit folgenden Zeitr\xe4umen:

",O+='',O+="",O+='',O+='',O+="",O+="",O+="";for(let x of w.Zeitspannen)x.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===x.FreigabeantwortOfficeSended&&(x.FreigabeantwortOfficeSended=!0,x.Freigabeantwortzeitstempel=T.valueOf(),I=this.DBMitarbeiter.GetMitarbeiterByID(x.VertreterID),j=!0,O+="",O+='",O+='",a.isUndefined(I)?O+='':O+="",O+='',O+="");O+="
VonBisVertretungStatus
'+x.Startstring+"'+x.Endestring+"unbekannt"+I.Vorname+" "+I.Name+"Freigabe
",O+="

",O+='Urlaubsplanung jetzt \xf6ffnen',O+="

"+this.Pool.GetFilledSignatur(M,!0),F.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===j?this.Graph.SendMail(F,A,O).then(()=>{console.log("Urlaubsfreigabe wurde an "+S.Vorname+" "+S.Name+" gesendet."),k(w)}).catch(x=>{N(x)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),k(w))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(S,M,w){try{let O,I,A="Ablehnung deiner Urlaubsanfrage",F=[],j=!1,T=(0,c.default)().locale("de");return new Promise((k,N)=>{O="Hallo "+S.Vorname+" "+S.Name+",

leider muss ich deine Urlaubsanfrage f\xfcr nachfolgende Zeitr\xe4ume ablehnen:

",O+='',O+="",O+='',O+='',O+="",O+="",O+="";for(let x of w.Zeitspannen)x.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===x.FreigabeantwortSended&&(x.FreigabeantwortSended=!0,x.Freigabeantwortzeitstempel=T.valueOf(),I=this.DBMitarbeiter.GetMitarbeiterByID(x.VertreterID),j=!0,O+="",O+='",O+='",a.isUndefined(I)?O+='':O+="",O+='',O+="");O+="
VonBisVertretungStatus
'+x.Startstring+"'+x.Endestring+"unbekannt"+I.Vorname+" "+I.Name+"Abgelehnt
",O+="

",O+='Urlaubsplanung jetzt \xf6ffnen',O+="

"+this.Pool.GetFilledSignatur(M,!0),F.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===j?this.Graph.SendMail(F,A,O).then(()=>{console.log("Urlaubsablehung wurde an "+S.Vorname+" "+S.Name+" gesendet."),k(w)}).catch(x=>{N(x)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),k(w))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}ReadRegionen(S){try{return new Promise((M,w)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:S}).subscribe({next:F=>{this.Regionenliste=F.Regionenliste},complete:()=>{this.Regionenliste=a.filter(this.Regionenliste,F=>""!==F.isoCode);for(let F of this.Regionenliste)F.Name=F.name[0].text;M(!0)},error:F=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),M(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(S){try{let M,w=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});a.isUndefined(w)&&(w=null);let A={Standort:w,Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:S};return new Promise((O,F)=>{this.Feiertageliste[S]=[],M=this.http.put(this.ServerReadfeiertageUrl,A),M.subscribe({next:j=>{this.Feiertageliste[S]=j.Feiertageliste},complete:()=>{O(!0)},error:j=>{this.Feiertageliste[S]=[],console.log("Read Feiertage ist fehlgeschlagen."),O(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Urlaubsplanung Page","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(S){try{let M,w={Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:S};return this.Ferienliste[S]=[],new Promise((A,O)=>{M=this.http.put(this.ServerReadFerienUrl,w),M.subscribe({next:F=>{this.Ferienliste[S]=F.Ferienliste},complete:()=>{A(!0)},error:F=>{this.Ferienliste[S]=[],console.log("Read Ferien ist fehlgeschlagen."),A(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Anfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(S){return this.Debug.ShowErrorMessage(S,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let S,M,w,A,O;this.Anfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null!==this.CurrentMitarbeiter&&(S=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=a.isUndefined(S)?"DE":S.Land),this.ShowFerientage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE,this.ShowFeiertage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE,this.Ferienfarbe_DE=this.Urlaubsfaben.Ferien_DE,this.Feiertagefarbe_DE=this.Urlaubsfaben.Feiertage_DE,this.ShowFerientage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG,this.ShowFeiertage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG,this.Ferienfarbe_BG=this.Urlaubsfaben.Ferien_BG,this.Feiertagefarbe_BG=this.Urlaubsfaben.Feiertage_BG,null!==this.CurrentMitarbeiter&&(this.CurrentUrlaub=a.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.Jahr),this.CurrentZeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentZeitspanne=null,a.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),a.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),a.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]),a.isUndefined(this.CurrentUrlaub.FreigeberID)&&(this.CurrentUrlaub.FreigeberID=null));for(let F of this.CurrentUrlaub.Zeitspannen)F=this.InitZeitspanne(F);for(M of(this.UrlaublisteExtern=[],this.Pool.Mitarbeiterliste))w=a.find(M.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(w)||w.FreigeberID===this.CurrentMitarbeiter._id&&-1===a.findIndex(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:M._id})&&this.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:M._id,Display:!0});for(let F of this.CurrentUrlaub.Projektbeteiligteliste)if(M=a.find(this.Pool.Mitarbeiterliste,{_id:F.MitarbeiterID}),!a.isUndefined(M)){w=a.find(M.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(w)?(w=this.GetEmptyUrlaub(this.Jahr),w.MitarbeiterIDExtern=M._id,w.NameExtern=M.Vorname+" "+M.Name,w.NameKuerzel=M.Kuerzel):(w=a.cloneDeep(w),w.MitarbeiterIDExtern=M._id,w.NameExtern=M.Vorname+" "+M.Name,w.NameKuerzel=M.Kuerzel,w.Zeitspannen=a.filter(w.Zeitspannen,j=>j.Status!==this.Urlaubstatusvarianten.Abgelehnt)),A=0,A+=M.Urlaub,A+=w.Resturlaub,O=0;for(let j of w.Zeitspannen)j.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(O+=j.Tageanzahl);w.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+O+" von "+A+"]":"["+O+"]",this.UrlaublisteExtern.push(w)}}catch(S){this.Debug.ShowErrorMessage(S,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitZeitspanne(S){try{return(a.isUndefined(S.VertreterID)||""===S.VertreterID)&&(S.VertreterID=null),a.isUndefined(S.Planungmeldung)&&(S.Planungmeldung=""),a.isUndefined(S.Vertretungmeldung)&&(S.Vertretungmeldung=""),a.isUndefined(S.Freigabemeldung)&&(S.Freigabemeldung=""),a.isUndefined(S.VertreteranfrageSended)&&(S.VertreteranfrageSended=!1),a.isUndefined(S.VertreterantwortSended)&&(S.VertreterantwortSended=!1),a.isUndefined(S.FreigabeanfrageSended)&&(S.FreigabeanfrageSended=!1),a.isUndefined(S.FreigabeantwortSended)&&(S.FreigabeantwortSended=!1),a.isUndefined(S.FreigabeantwortOfficeSended)&&(S.FreigabeantwortOfficeSended=!1),a.isUndefined(S.Vertretunganfragezeitstempel)&&(S.Vertretunganfragezeitstempel=null),a.isUndefined(S.Vertretungantwortzeitstempel)&&(S.Vertretungantwortzeitstempel=null),a.isUndefined(S.Freigabeantwortzeitstempel)&&(S.Freigabeantwortzeitstempel=null),a.isUndefined(S.FreigabeantwortOfficezeitstempel)&&(S.FreigabeantwortOfficezeitstempel=null),"Beantragt"===S.Status&&(S.Status=this.Urlaubstatusvarianten.Geplant),S}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","InitZeitspanne",this.Debug.Typen.Service)}}SetPlanungsmonate(){try{0===this.CurrentMonatindex?(this.FirstMonatIndex=0,this.CurrentMonatindex=1,this.LastMonatIndex=2):11===this.CurrentMonatindex?(this.FirstMonatIndex=9,this.CurrentMonatindex=10,this.LastMonatIndex=11):(this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1)}catch(S){this.Debug.ShowErrorMessage(S,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(S){try{let M={Jahr:S,Resturlaub:0,Zeitspannen:[],FreigeberID:null,Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!a.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(M.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,M.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,M.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),M}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(S,M){try{let A,O,w=(0,c.default)(S.Tagstempel),F=!1;if(!a.isUndefined(this.Ferienliste[M]))for(let j of this.Ferienliste[M])if(A=(0,c.default)(j.Anfangstempel),O=(0,c.default)(j.Endestempel),w.isSameOrAfter(A,"day")&&w.isSameOrBefore(O,"day")){F=!0;break}return F}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}GetFeriennamen(S,M){try{let w=M+": Unbekannt";for(let A of S.name)A.language===M&&(w=A.text);return w}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(S,M){try{let w=M+": Unbekannt";for(let A of S.name)A.language===M&&(w=A.text);return w}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(S,M){try{let A,O,F,j,w=(0,c.default)(S.Tagstempel);if(!a.isUndefined(this.Ferienliste[M]))for(j of this.Ferienliste[M])if(A=(0,c.default)(j.Anfangstempel),O=(0,c.default)(j.Endestempel),w.isSameOrAfter(A,"day")&&w.isSameOrBefore(O,"day"))return F={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:j.Anfangstempel,Ferienname_DE:this.GetFeriennamen(j,"DE"),Ferienname_BG:this.GetFeriennamen(j,"EN")},F;return null}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(S,M){try{let A,w=(0,c.default)(S.Tagstempel),O=!1;if(!a.isUndefined(this.Feiertageliste[M]))for(let F of this.Feiertageliste[M])if(A=(0,c.default)(F.Anfangstempel),A.isSame(w,"day")&&-1===a.findIndex(this.CurrentUrlaub.Feiertageblockerliste,S.Tagstempel)){O=!0;break}return O}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(S,M){try{let A,O,F,w=(0,c.default)(S.Tagstempel);if(!a.isUndefined(this.Feiertageliste[M]))for(F of this.Feiertageliste[M])if(A=(0,c.default)(F.Anfangstempel),A.isSame(w,"day"))return O={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:F.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(F,"DE"),Feiertagname_BG:this.GetFeiertagnamen(F,"EN")},O;return null}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyZeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",VertreterID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,VertreteranfrageSended:!1,VertreterantwortSended:!1,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Vertretunganfragezeitstempel:null,Vertretungantwortzeitstempel:null,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let S=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){S+=this.Pool.Mitarbeiterdaten.Urlaub,S+=this.CurrentUrlaub.Resturlaub;for(let M of this.CurrentUrlaub.Zeitspannen)M.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(S-=M.Tageanzahl);return S}return 0}catch(S){this.Debug.ShowErrorMessage(S,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(S){try{let M,w,A;return null!==this.CurrentUrlaub&&(M=a.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:S}),!a.isUndefined(M)&&(w=a.find(this.Pool.Mitarbeiterliste,{_id:M.MitarbeiterID}),A=a.find(w.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!a.isUndefined(A)&&M.Display&&A.Zeitspannen.length>0))}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||f)(e.\u0275\u0275inject(u.DebugProvider),e.\u0275\u0275inject(l.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(v.Graphservice),e.\u0275\u0275inject(p.DatabaseMitarbeiterService),e.\u0275\u0275inject(C.BasicsProvider),e.\u0275\u0275inject(b.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},34388:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DebugProvider=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(14652)),a=n.__importStar(o(10716)),c=n.__importStar(o(34396)),e=n.__importStar(o(29743));h.DebugProvider=(()=>{class l{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(v,p,C,b){this.Basics=v,this.nav=p,this.Fehlerservice=C,this.Const=b;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(v,p,C,b){try{console.log("File: "+p+" | Function: "+C+" | Message: "+v),this.Debugmessageliste.push({Skript:p,Message:v,Function:C,Color:"red"})}catch{}}ShowMessage(v,p,C,b){try{console.log("File: "+p+" | Function: "+C+" | Message: "+v),this.Debugmessageliste.push({Skript:p,Message:v,Function:C,Color:"blue"})}catch{}}static \u0275fac=function(p){return new(p||l)(i.\u0275\u0275inject(d.BasicsProvider),i.\u0275\u0275inject(a.NavController),i.\u0275\u0275inject(c.ErrorService),i.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},21052:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DisplayService=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=o(17964),a=n.__importStar(o(54496)),c=n.__importStar(o(34388));h.DisplayService=(()=>{class u{Debug;Dialognamen={Auswahldialog:"Auswahldialog",Mitarbeiterauswahl:"Mitarbeiterauswahl",Projekteditor:"Projekteditor",Beteiligteneditor:"Beteiligteneditor",Firmeneditor:"Firmeneditor",Mitarbeitereditor:"Mitarbeitereditor",Standorteditor:"Standorteditor",Changelogeditor:"Changelogeditor",Favoriteneditor:"Favoriteneditor",Favoritenauswahl:"Favoritenauswahl",Projekteauswahl:"Projekteauswahl",Bauteileditor:"Bauteileditor",Geschosseditor:"Geschosseditor",Raumeditor:"Raumeditor",AufgabeProjektauswahl:"AufgabeProjektauswahl",Projektpunteditor:"Projektpunteditor",Beteiligteauswahl:"Beteiligteauswahl",Firmenauswahl:"Firmenauswahl",Protokolleditor:"Protokolleditor",Kostengruppenauswahl:"Kostengruppenauswahl",Raumauswahl:"Raumauswahl",Protokolllistefilter:"Protokolllistefilter",Aufgabenlistefilter:"Aufgabenlistefilter",Meinewocheeditor:"Meinewocheeditor",ProjektpunktStatusDatePicker:"ProjektpunktStatusDatePicker",ProjektpunktDateKwPicker:"ProjektpunktDateKwPicker",Verzeichnisauswahl:"Verzeichnisauswahl",Bilderauswahl:"Bilderauswahl",Outlookkontakteauswahl:"Outlookkontakteauswahl",ProjektSendeEmail:"ProjektSendeEmail",Bautagebucheditor:"Bautagebucheditor",Bautagebucheintrageditor:"Bautagebucheintrageditor",LOPListeEditor:"LOPListeEditor",LOPListeEintragEditor:"LOPListeEintragEditor",Planungsmatrixeintrageditor:"Planungsmatrixeintrageditor",Notizenkapiteleditor:"Notizenkapiteleditor",Festlegungkategorieneditor:"Festlegungkategorieneditor",Simontabelleeditor:"Simontabelleeditor",Simontabellelesitungeditor:"Simontabellelesitungeditor",RechnungEditor:"RechnungEditor"};Dialogliste;constructor(g){this.Debug=g;try{this.Dialogliste=[]}catch(v){this.Debug.ShowErrorMessage(v.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(g){this.Debug.ShowErrorMessage(g.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(g,v){try{let p=i.find(this.Dialogliste,{Dialogname:g});i.isUndefined(p)?this.Dialogliste.push({Dialogname:g,ZIndex:v}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+g),"Dialog","AddDialog",this.Debug.Typen.Service),(0,d.forEach)(this.Dialogliste,C=>{console.log(C)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(g){try{this.Dialogliste=i.filter(this.Dialogliste,v=>v.Dialogname!==g),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(v){this.Debug.ShowErrorMessage(v.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(g){try{let C,v=0,p=0;return(0,d.forEach)(this.Dialogliste,b=>{b.ZIndex>v&&(v=b.ZIndex),b.Dialogname===g&&(p=b.ZIndex,C=b.Dialogname)}),p>=v}catch(v){this.Debug.ShowErrorMessage(v.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(a.\u0275\u0275inject(c.DebugProvider))};static \u0275prov=a.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},34396:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ErrorService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));h.ErrorService=(()=>{class c{Const;Fehlermeldung;CanGoBack;constructor(u){this.Const=u;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(l){return new(l||c)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},8608:(ve,h,o)=>{"use strict";var n=o(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.Graphservice=void 0;const i=o(81316),d=o(54496),a=o(9028),c=o(57140),e=i.__importStar(o(17964)),u=i.__importDefault(o(35908)),l=i.__importStar(o(54496)),g=i.__importStar(o(34388)),v=i.__importStar(o(9028)),p=i.__importStar(o(29743)),C=i.__importStar(o(97048)),b=i.__importStar(o(97092)),_=i.__importStar(o(19668)),f=i.__importStar(o(79052)),y=i.__importStar(o(7992)),S=i.__importStar(o(14652)),M=i.__importStar(o(14476));h.Graphservice=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;AuthService;Tools;DBEmail;Http;Pool;Basics;domSanitizer;ImageZoomOut=new d.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;Outlookkontakteliste;CurrentPDFDownload;KalenderKW;Outlookpresetcolors;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(F,j,T,I,k,N,x,H,G,te,ce,se){this.msalGuardConfig=F,this.Debug=j,this.authService=T,this.Const=I,this.http=k,this.AuthService=N,this.Tools=x,this.DBEmail=H,this.Http=G,this.Pool=te,this.Basics=ce,this.domSanitizer=se;try{this.Graphuser=null,this.UserimageSRC=null,this.Teamsliste=[],this.TeamsRootfilelist=[],this.TeamsCurrentfilelist=[],this.TeamsSubdirectorylist=[],this.CurrentTeamsID="ea457111-b3f1-4c73-a8ae-cb1cbaf6d244",this.CurrentPDFDownload=null,this.Outlookkontakteliste=[],this.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,u.default)().locale("de").isoWeek(),this.Outlookpresetcolors=[{Name:"none",Value:"none",Fontcolor:"white"},{Name:"Preset0",Value:"#dc626d",Fontcolor:"black"},{Name:"Preset1",Value:"#e8825d",Fontcolor:"black"},{Name:"Preset2",Value:"#ffcd8f",Fontcolor:"black"},{Name:"Preset3",Value:"#5f5f58",Fontcolor:"white"},{Name:"Preset4",Value:"#52ce90",Fontcolor:"black"},{Name:"Preset5",Value:"#57d2da",Fontcolor:"white"},{Name:"Preset6",Value:"#5c5f53",Fontcolor:"white"},{Name:"Preset7",Value:"#5ca9e5",Fontcolor:"white"},{Name:"Preset8",Value:"#53525a",Fontcolor:"white"},{Name:"Preset9",Value:"#ee5fb7",Fontcolor:"black"},{Name:"Preset10",Value:"#c5ced1",Fontcolor:"white"},{Name:"Preset11",Value:"#5d6567",Fontcolor:"white"},{Name:"Preset12",Value:"#c3c5bb",Fontcolor:"white"},{Name:"Preset13",Value:"#9fadb1",Fontcolor:"white"},{Name:"Preset14",Value:"#8f8f8f",Fontcolor:"white"},{Name:"Preset15",Value:"#ac4e5e",Fontcolor:"black"},{Name:"Preset16",Value:"#df8e64",Fontcolor:"white"},{Name:"Preset17",Value:"#bc8f6f",Fontcolor:"white"},{Name:"Preset18",Value:"#dac257",Fontcolor:"black"},{Name:"Preset19",Value:"#4ca64c",Fontcolor:"white"},{Name:"Preset20",Value:"#4bb4b7",Fontcolor:"white"},{Name:"Preset21",Value:"#85b44c",Fontcolor:"white"},{Name:"Preset22",Value:"#4179a3",Fontcolor:"white"},{Name:"Preset23",Value:"#8f6fbc",Fontcolor:"white"},{Name:"Preset24",Value:"#c34e98",Fontcolor:"black"},{Name:"PresetFeiertag",Value:"#b0d6f2",Fontcolor:"black"}],this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(K){this.Debug.ShowErrorMessage(K.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnOutlookcontacts(F){var j=this;return n(function*(){try{let I,k,x,T=[],N=0,H=yield j.AuthService.RequestToken("Contacts.ReadWrite");if(null!==H){const G=c.Client.init({authProvider:te=>{te(null,H)}});if(I=yield G.api("/me/contacts").count().get(),e.isUndefined(I["@odata.count"])||(N=I["@odata.count"]),!e.isUndefined(I.value)&&(T.push(I.value),!e.isUndefined(I["@odata.nextLink"]))){do{k=I["@odata.nextLink"],I=yield G.api(k).get(),e.isUndefined(I.value)||T.push(I.value)}while(!e.isUndefined(I["@odata.nextLink"]));e.isUndefined(I.value)||T.push(I.value)}j.Outlookkontakteliste=[];for(let te of T)for(x of te)null!==x.givenName&&"lars"===x.givenName.toLowerCase()||null!==x.surname&&x.surname.toLowerCase(),null!==x.title&&""!==x.title&&null!==x.displayName&&(x.displayName=x.displayName.replace(x.title+" ","")),e.isUndefined(x.businessAddress)&&(x.businessAddress={street:"",city:"",state:"",postalCode:"",countryOrRegion:""}),(e.isUndefined(x.businessAddress.street)||null===x.businessAddress.street)&&(x.businessAddress.street=""),(e.isUndefined(x.businessAddress.city)||null===x.businessAddress.city)&&(x.businessAddress.city=""),(e.isUndefined(x.businessAddress.postalCode)||null===x.businessAddress.postalCode)&&(x.businessAddress.postalCode=""),(e.isUndefined(x.businessAddress.state)||null===x.businessAddress.state)&&(x.businessAddress.state=""),(e.isUndefined(x.businessAddress.countryOrRegion)||null===x.businessAddress.countryOrRegion)&&(x.businessAddress.countryOrRegion=""),(e.isUndefined(x.title)||null===x.title)&&(x.title=""),(e.isUndefined(x.displayName)||null===x.displayName)&&(x.displayName=""),(e.isUndefined(x.surname)||null===x.surname)&&(x.surname=""),(e.isUndefined(x.givenName)||null===x.givenName)&&(x.givenName=""),(e.isUndefined(x.companyName)||null===x.companyName)&&(x.companyName=""),""===x.surname&&""!==x.givenName&&(x.surname=x.givenName,x.givenName=""),""===x.surname&&""===x.givenName&&""===x.displayName?(x.IsCompany=!0,x.surname=x.companyName,x.companyName=""):x.IsCompany=!1,F?x.emailAddresses.length>0&&j.Outlookkontakteliste.push(x):j.Outlookkontakteliste.push(x);return Promise.resolve(!0)}return Promise.reject(!1)}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnOutlookcontacts",j.Debug.Typen.Service)}})()}OutlookcontactToBeteiligte(F){try{let j,T;return T=F.IsCompany?this.Const.Beteiligteneintragtypen.Firma:this.Const.Beteiligteneintragtypen.Person,j={Anrede:F.title,BeteiligtenID:F.id,FirmaID:null,Email:F.emailAddresses.length>0?F.emailAddresses[0].address:"",Possition:F.profession,Mobil:F.mobilePhone,Name:F.surname,Vorname:F.givenName,Ort:F.businessAddress.city,PLZ:F.businessAddress.postalCode,Strasse:"",Telefon:F.businessPhones.length>0?F.businessPhones[0]:"",Verfasser:{Vorname:this.Pool.Mitarbeiterdaten.Vorname,Name:this.Pool.Mitarbeiterdaten.Name,Email:this.Pool.Mitarbeiterdaten.Email}},j}catch(j){this.Debug.ShowErrorMessage(j,"Graph","OutlookcontactToBeteiligte",this.Debug.Typen.Service)}}GetOwnCalendar(){var F=this;return n(function*(){try{let T,k,N,x,ce,se,K,Z,X,W,j=yield F.AuthService.RequestToken("user.read"),I=[],H=(0,u.default)().isoWeek(F.KalenderKW).locale("de"),G=H.clone().startOf("week"),te=H.clone().endOf("week");console.log(G.format("DD.MM.YYYY")),console.log(te.format("DD.MM.YYYY"));const Y=c.Client.init({authProvider:q=>{q(null,j)}});try{T=yield Y.api("/me/calendarview").header("Prefer","UTC").query({startDateTime:G.format("YYYY-MM-DD"),endDateTime:te.format("YYYY-MM-DD")}).count().get()}catch{}if(e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(I.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{k=T["@odata.nextLink"],T=yield Y.api(k).get(),e.isUndefined(T.value)||I.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||I.push(T.value)}x=[];for(let q of I)for(Z of q)se=Z.start.dateTime.split("T"),ce=se[0].split("-"),K=se[1].split("."),K=K[0].split(":"),X=u.default.utc({year:parseInt(ce[0]),month:parseInt(ce[1])-1,day:parseInt(ce[2]),hour:parseInt(K[0]),minute:parseInt(K[1]),second:parseInt(K[2])}),Z.start.Zeitstempel=X.locale("de").valueOf(),se=Z.end.dateTime.split("T"),ce=se[0].split("-"),K=se[1].split("."),K=K[0].split(":"),W=u.default.utc({year:parseInt(ce[0]),month:parseInt(ce[1])-1,day:parseInt(ce[2]),hour:parseInt(K[0]),minute:parseInt(K[1]),second:parseInt(K[2])}),Z.end.Zeitstempel=W.locale("de").valueOf(),x.push(Z);return x}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnCalendar",F.Debug.Typen.Service)}})()}GetOwnUserinfo(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read");const T=c.Client.init({authProvider:I=>{I(null,j)}});return new Promise((I,k)=>{null!==j?T.api("/me").select("*").get().then(N=>{F.Graphuser=N,I(!0)}).catch(N=>{"InvalidAuthenticationToken"===N.code&&(F.AuthService.UnsetActiveUser(),F.Tools.SetRootPage(F.Const.Pages.HomePage)),k(N)}):k(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOwnEmail(F){var j=this;return n(function*(){try{let I,k,N,T=yield j.AuthService.RequestToken("user.read");const x=c.Client.init({authProvider:H=>{H(null,T)}});return new Promise((H,G)=>{null!==T?x.api("/me/messages/"+F+"?$expand=attachments").get().then(te=>{I=te,I.subject=I.subject.replace("\u{1f3e2}",""),k=I.receivedDateTime.replace("T"," "),k=k.replace("Z",""),N=(0,u.default)(k),I.Zeitstempel=N.valueOf(),I.Zeitstring=N.format("DD.MM.YYYY HH:mm"),H(I)}).catch(te=>{"InvalidAuthenticationToken"===te.code&&(j.AuthService.UnsetActiveUser(),j.Tools.SetRootPage(j.Const.Pages.HomePage)),G(null)}):G(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmail",j.Debug.Typen.Service)}})()}GetOwnEmailAttachemntlist(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read");const I=c.Client.init({authProvider:k=>{k(null,T)}});return new Promise((k,N)=>{null!==T?I.api("/me/messages/"+F+"/attachments").get().then(x=>{k(e.isUndefined(x.value)?[]:x.value)}).catch(x=>{"InvalidAuthenticationToken"===x.code&&(j.AuthService.UnsetActiveUser(),j.Tools.SetRootPage(j.Const.Pages.HomePage)),N(x)}):N(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailAttachemntlist",j.Debug.Typen.Service)}})()}GetOwnEmailfolders(){var F=this;return n(function*(){try{let T,j=yield F.AuthService.RequestToken("user.read"),I=[];const k=c.Client.init({authProvider:N=>{N(null,j)}});try{if(T=yield k.api("/me/mailFolders").get(),!e.isUndefined(T.value))for(let N of T.value)I.push(N),console.log(N.id);return I}catch(N){return N}}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnEmailfolders",F.Debug.Typen.Service)}})()}GetOwnOutlookCategories(){var F=this;return n(function*(){try{let T,j=yield F.AuthService.RequestToken("MailboxSettings.Read"),I=[];const k=c.Client.init({authProvider:N=>{N(null,j)}});try{if(T=yield k.api("/me/outlook/masterCategories").get(),!e.isUndefined(T.value))for(let N of T.value)I.push(N),console.log(N.id);return I.push({displayName:"Feiertag",id:"feiertrag",color:"PresetFeiertag"}),I.sort((N,x)=>N.displayNamex.displayName?1:0),I}catch(N){return N}}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnOutlookCategories",F.Debug.Typen.Service)}})()}GetOwnEmailliste(F){var j=this;return n(function*(){try{let T,k,N,G,te,I=[],x=[],H=yield j.AuthService.RequestToken("user.read");const ce=c.Client.init({authProvider:se=>{se(null,H)}});try{te=j.DBEmail.Emaildatum.format("YYYY-MM-DD"),T=yield ce.api("/me/mailFolders/"+F+"/messages?$filter=receivedDateTime ge "+te+"T01:00:00Z").select("id, subject, isRead, sentDateTime, receivedDateTime, from, sender, toRecipients, ccRecipients, hasAttachments").count().get()}catch(se){return se}if(e.isUndefined(T["@odata.count"])||(N=T["@odata.count"]),!e.isUndefined(T.value)&&(I.push(T.value),!e.isUndefined(T["@odata.nextLink"]))){do{k=T["@odata.nextLink"],T=yield ce.api(k).get(),e.isUndefined(T.value)||I.push(T.value)}while(!e.isUndefined(T["@odata.nextLink"]));e.isUndefined(T.value)||I.push(T.value)}for(let se of I)for(let K of se)te=K.receivedDateTime.replace("T"," "),te=te.replace("Z",""),G=(0,u.default)(te),e.isUndefined(K.from)||e.isUndefined(e.find(x,{id:K.id}))&&(K.Zeitstempel=G.valueOf(),K.Zeitstring=G.format("DD.MM.YYYY HH:mm"),K.subject=K.subject.replace("\u{1f3e2}",""),K.subject.indexOf("anythingbutnothing"),x.push(K));return x=e.filter(x,se=>e.isUndefined(se["@odata.type"])),x}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailliste",j.Debug.Typen.Service)}})()}GetOtherUserinfo(F){var j=this;return n(function*(){try{let T,I=yield j.AuthService.RequestToken("user.read.all");const k=c.Client.init({authProvider:N=>{N(null,I)}});return new Promise((N,x)=>{null!==I?k.api("/users/"+F).select("*").get().then(H=>{T=H,N(T)}).catch(H=>{x(H)}):x(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}GetOtherTeamsinfo(F){var j=this;return n(function*(){try{let T,I=yield j.AuthService.RequestToken("team.readbasic.all");const k=c.Client.init({authProvider:N=>{N(null,I)}});return new Promise((N,x)=>{null!==I?k.api("/teams/"+F).get().then(H=>{T=H,N(T)}).catch(H=>{x(H)}):x(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}ReadDrives(){var F=this;return n(function*(){try{let j,I="b!XZkHnfB1aUS9CAl7ACx42jN1tORayIZBnpNxgMZWN2yIJmx4iz54T59g6GswaFyl",k=yield F.AuthService.RequestToken("Files.ReadWrite.All");const N=c.Client.init({authProvider:x=>{x(null,k)}});if(null===k)return Promise.reject(!1);j=yield N.api("/drives/"+I+"/items/root/children").get(),j.value.forEach(x=>{console.log(x.name)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","ReadDrives",F.Debug.Typen.Service)}})()}GetSiteRootfilelist(F){var j=this;return n(function*(){try{let I,T=yield j.AuthService.RequestToken("user.read"),k=[],N=[];j.TeamsRootfilelist=[],j.TeamsCurrentfilelist=[],j.TeamsSubdirectorylist=[];const x=c.Client.init({authProvider:H=>{H(null,T)}});return new Promise((H,G)=>{null!==T?x.api("/sites/"+j.BAESiteID+"/drive/items/root/children").get().then(te=>{for(I of(j.TeamsRootfilelist=[],j.TeamsCurrentfilelist=[],j.TeamsSubdirectorylist=[],te.value))e.isUndefined(I.file)?(I.isfolder=!0,N.push(I)):(I.isfolder=!1,k.push(I));N.sort((ce,se)=>ce.namese.name?1:0),k.sort((ce,se)=>ce.namese.name?1:0),!1===F?j.TeamsRootfilelist=N:(j.TeamsRootfilelist=N,j.TeamsRootfilelist=j.TeamsRootfilelist.concat(k)),j.TeamsCurrentfilelist=j.TeamsRootfilelist,H(!0)}).catch(te=>{G(te)}):G(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteRootfilelist",j.Debug.Typen.Service)}})()}GetSiteThumbnailContent(F,j){var T=this;return n(function*(){try{let I=yield T.AuthService.RequestToken("user.read");const k=c.Client.init({authProvider:se=>{se(null,I)}});let N="/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/thumbnails/0/"+j+"/content",H=yield(yield k.api(N).get()).arrayBuffer(),G="",te=new Uint8Array(H),ce=te.byteLength;for(let se=0;se{N(null,T)}});return new Promise((N,x)=>{null!==T?k.api("/sites/"+j.BAESiteID+"/drive/items/"+F.id+"/thumbnails").get().then(H=>{e.isUndefined(H.value)||e.isUndefined(H.value[0])?N(null):(I={id:F.id,weburl:F.webUrl,filename:F.name,size:F.size,mediumurl:H.value[0].medium.url,largeurl:H.value[0].large.url,smallurl:H.value[0].small.url,content:"",height:{small:H.value[0].small.height,medium:H.value[0].medium.height,large:H.value[0].medium.large},width:{small:H.value[0].small.width,medium:H.value[0].medium.width,large:H.value[0].large.width}},N(I))}).catch(H=>{N(null)}):x(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteThumbnail",j.Debug.Typen.Service)}})()}RemoveTeamsSubdirectory(F){try{let j=e.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let T of j){if(T.id===F.id)break;this.TeamsSubdirectorylist.push(F)}}catch(j){this.Debug.ShowErrorMessage(j,"Graph","RemoveTeamsSubdirectory",this.Debug.Typen.Service)}}RemoveSiteSubdirectory(F){try{let T,j=e.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let I of j)if(T=e.find(this.TeamsSubdirectorylist,k=>k.id===I.id),e.isUndefined(T)&&this.TeamsSubdirectorylist.push(I),I.id===F.id)break}catch(j){this.Debug.ShowErrorMessage(j,"Graph","RemoveSiteSubdirectory",this.Debug.Typen.Service)}}GetEmptyTeamsfile(){try{return{cTag:"",createdBy:{user:{displayName:"",email:"",id:""}},createdDateTime:"",eTag:"",fileSystemInfo:{createdDateTime:"",lastModifiedDateTime:""},id:"",lastModifiedBy:{},lastModifiedDateTime:"",name:"",parentReference:{driveId:"",driveType:"",id:"",path:""},shared:{scope:""},size:0,webUrl:""}}catch(F){this.Debug.ShowErrorMessage(F,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(F,j){var T=this;return n(function*(){try{let k,I=yield T.AuthService.RequestToken("user.read"),N=[],x=[];T.TeamsRootfilelist=[],T.TeamsCurrentfilelist=[];const H=c.Client.init({authProvider:G=>{G(null,I)}});return new Promise((G,te)=>{null!==I?H.api("/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/children").get().then(ce=>{for(k of ce.value)e.isUndefined(k.file)?(k.isfolder=!0,x.push(k)):(k.isfolder=!1,N.push(k));x.sort((se,K)=>se.nameK.name?1:0),N.sort((se,K)=>se.nameK.name?1:0),!1===j?T.TeamsRootfilelist=x:(T.TeamsRootfilelist=x,T.TeamsRootfilelist=T.TeamsRootfilelist.concat(N)),T.TeamsCurrentfilelist=T.TeamsRootfilelist,e.isUndefined(e.find(T.TeamsSubdirectorylist,se=>se.id===F.id))&&T.TeamsSubdirectorylist.push(F),G(!0)}).catch(ce=>{te(ce)}):te(!1)})}catch(I){T.Debug.ShowErrorMessage(I,"Graph","GetSiteSubdirictoryfilelist",T.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(F,j){var T=this;return n(function*(){try{let I=yield T.AuthService.RequestToken("user.read"),k={name:j.name,id:"",context:"",url:""};const N=c.Client.init({authProvider:x=>{x(null,I)}});return new Promise((x,H)=>{null!==I?N.api("/groups/"+F+"/drive/items/"+j.id+"?select=id,@microsoft.graph.downloadUrl").get().then(G=>{k.id=G.id,k.url=G["@microsoft.graph.downloadUrl"],k.context=G["@odata.context"],T.CurrentPDFDownload=k,x(k)}).catch(G=>{H(G)}):H(null)})}catch(I){T.Debug.ShowErrorMessage(I,"Graph","DownloadPDFTeamsFile",T.Debug.Typen.Service)}})()}DownloadPDFSiteFile(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read"),I={name:F.name,id:"",context:"",url:""};const k=c.Client.init({authProvider:N=>{N(null,T)}});return new Promise((N,x)=>{null!==T?k.api("/sites/"+j.BAESiteID+"/drive/items/"+F.id+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{I.id=H.id,I.url=H["@microsoft.graph.downloadUrl"],I.context=H["@odata.context"],j.CurrentPDFDownload=I,N(I)}).catch(H=>{x(H)}):x(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","DownloadPDFSiteFile",j.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read"),I=document.createElement("a"),k={name:"",id:"",context:"",url:""};const N=c.Client.init({authProvider:x=>{x(null,T)}});return new Promise((x,H)=>{null!==T?N.api("/sites/"+j.BAESiteID+"/drive/items/"+F+"?select=id,@microsoft.graph.downloadUrl").get().then(G=>{k.id=G.id,k.url=G["@microsoft.graph.downloadUrl"],k.context=G["@odata.context"],j.CurrentPDFDownload=k,document.body.appendChild(I),I.href=k.url,I.click(),I.remove(),x(k)}).catch(G=>{H(G)}):H(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","DownloadPDFSiteFileViaLink",j.Debug.Typen.Service)}})()}TestGraph(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read"),T="632cc6c8-51d5-4219-8092-ed10a792e715";const I=c.Client.init({authProvider:k=>{k(null,j)}});return new Promise((k,N)=>{null!==j?I.api("/groups/"+T+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(x=>{k(!0)}).catch(x=>{N(x)}):N(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","TestGraph",F.Debug.Typen.Service)}})()}TeamsCheckFileExists(F,j,T){var I=this;return n(function*(){try{let x,k=yield I.AuthService.RequestToken("user.read"),N=!1;const H=c.Client.init({authProvider:G=>{G(null,k)}});return j=j.replace("ROOT:",""),new Promise((G,te)=>{null!==k?H.api("/groups/"+F+"/drive/items/"+j+"/children").get().then(ce=>{for(x of ce.value)e.isUndefined(x.folder)&&x.name===T&&(N=!0);G(N)}).catch(ce=>{te(ce)}):te(!1)})}catch(k){I.Debug.ShowErrorMessage(k,"Graph","TeamsCheckFileExists",I.Debug.Typen.Service)}})()}SiteCheckFileExists(F,j){var T=this;return n(function*(){try{let N,I=yield T.AuthService.RequestToken("user.read"),k=!1;const x=c.Client.init({authProvider:H=>{H(null,I)}});return F=F.replace("ROOT:",""),new Promise((H,G)=>{null!==I?x.api("/sites/"+T.BAESiteID+"/drive/items/"+F+"/children").get().then(te=>{for(N of te.value)e.isUndefined(N.folder)&&N.name===j&&(k=!0);H(k)}).catch(te=>{H(null)}):G(!1)})}catch(I){T.Debug.ShowErrorMessage(I,"Graph","SiteCheckFileExists",T.Debug.Typen.Service)}})()}GetTeamsSubDirectory(F,j){var T=this;return n(function*(){try{let I=yield T.AuthService.RequestToken("user.read");const k=c.Client.init({authProvider:N=>{N(null,I)}});return new Promise((N,x)=>{null!==I?k.api("/groups/"+F+"/drive/items/"+j).get().then(H=>{N(H)}).catch(H=>{N(null)}):x(null)})}catch(I){T.Debug.ShowErrorMessage(I,"Graph","GetTeamsSubDirectory",T.Debug.Typen.Service)}})()}GetSiteSubDirectory(F){var j=this;return n(function*(){try{let T=yield j.AuthService.RequestToken("user.read");const I=c.Client.init({authProvider:k=>{k(null,T)}});return new Promise((k,N)=>{null!==T?I.api("/sites/"+j.BAESiteID+"/drive/items/"+F).get().then(x=>{k(x)}).catch(x=>{k(null)}):N(null)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetSiteSubDirectory",j.Debug.Typen.Service)}})()}GetAllUsers(){var F=this;return n(function*(){try{let I,k,j=[],T=[],N=0,x=yield F.AuthService.RequestToken("User.ReadBasic.All");const H=c.Client.init({authProvider:G=>{G(null,x)}});if(I=yield H.api("/users").count().get(),e.isUndefined(I["@odata.count"])||(N=I["@odata.count"]),!e.isUndefined(I.value)&&(T.push(I.value),!e.isUndefined(I["@odata.nextLink"]))){do{k=I["@odata.nextLink"],I=yield H.api(k).get(),e.isUndefined(I.value)||T.push(I.value)}while(!e.isUndefined(I["@odata.nextLink"]));e.isUndefined(I.value)||T.push(I.value)}for(let G of T)for(let te of G)j.push(te);return j=e.filter(j,G=>null!==G.mail&&null!==G.givenName&&null!==G.surname),Promise.resolve(j)}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetAllUsers",F.Debug.Typen.Service)}})()}GetTeamsMitglieder(F){var j=this;return n(function*(){try{let T=[],I=yield j.AuthService.RequestToken("user.read");const N=c.Client.init({authProvider:x=>{x(null,I)}});return new Promise((x,H)=>{null!==I?N.api("/teams/"+F+"/members").get().then(G=>{if(!e.isUndefined(G.value)){T=G.value;for(let te of T)te.UserImageSRC=null}T=e.filter(T,te=>"microsoft@burnicklgroup.onmicrosoft.com"!==te.email),x(T)}).catch(G=>{H(G)}):H(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetTeamsMitglieder",j.Debug.Typen.Service)}})()}SendMail(F,j,T){var I=this;return n(function*(){try{let k,N=yield I.AuthService.RequestToken("Mail.Send");const x=c.Client.init({authProvider:H=>{H(null,N)}});if(!0===I.Basics.DebugNoExternalEmail)for(let H of F)H.emailAddress.address="p.hornburger@gmail.com";if(null!==N){const H={message:{subject:j,body:{contentType:"html",content:T},toRecipients:F},saveToSentItems:"true"};return k=yield x.api("/me/sendMail").post(H),Promise.resolve(k)}return Promise.reject(!1)}catch(k){I.Debug.ShowErrorMessage(k,"Graph","SendMail",I.Debug.Typen.Service)}})()}GetOwnUserimage(){var F=this;return n(function*(){try{let j=yield F.AuthService.RequestToken("user.read");const T=c.Client.init({authProvider:k=>{k(null,j)}}),I={"Content-Type":"image/jpeg"};return new Promise((k,N)=>{null!==j?T.api("/me/photo/$value").headers(I).responseType(c.ResponseType.BLOB).get().then(x=>{F.UserimageSRC=F.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(x)),k(!0)}).catch(x=>{404===x.statusCode&&(F.UserimageSRC=null,k(!0)),N(x)}):N(!1)})}catch(j){F.Debug.ShowErrorMessage(j,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOtherUserimage(F){var j=this;return n(function*(){try{let I,T=yield j.AuthService.RequestToken("user.read");const k=c.Client.init({authProvider:x=>{x(null,T)}}),N={"Content-Type":"image/jpeg"};return new Promise((x,H)=>{null!==T?k.api("/users/"+F+"/photo/$value").headers(N).responseType(c.ResponseType.BLOB).get().then(G=>{I=j.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(G)),x(I)}).catch(G=>{404===G.statusCode&&(I=null,x(I)),H(G)}):H(!1)})}catch(T){j.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",j.Debug.Typen.Service)}})()}static \u0275fac=function(j){return new(j||A)(l.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),l.\u0275\u0275inject(g.DebugProvider),l.\u0275\u0275inject(v.MsalService),l.\u0275\u0275inject(p.ConstProvider),l.\u0275\u0275inject(C.HttpClient),l.\u0275\u0275inject(b.DatabaseAuthenticationService),l.\u0275\u0275inject(_.ToolsProvider),l.\u0275\u0275inject(f.DatabaseOutlookemailService),l.\u0275\u0275inject(C.HttpClient),l.\u0275\u0275inject(y.DatabasePoolService),l.\u0275\u0275inject(S.BasicsProvider),l.\u0275\u0275inject(M.DomSanitizer))};static \u0275prov=l.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},33940:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.LoadingAnimationService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),a=n.__importStar(o(10716)),c=n.__importStar(o(14652));h.LoadingAnimationService=(()=>{class u{Debug;Loader;Basics;AjaxTime;constructor(g,v,p){this.Debug=g,this.Loader=v,this.Basics=p;try{this.AjaxTime=null}catch(C){this.Debug.ShowErrorMessage(C.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(g,v){try{let C={spinner:"lines",message:'\n \n \n \n \n \n \n \n
'+g+'

'+v+"
",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((b,_)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(C).then(f=>{f.present(),b(!0)}).catch(f=>{_(f)})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(g){try{let p,v=this.Basics.Waittime;return p=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:v+1,new Promise(C=>{if(!g)return this.Loader.dismiss().then(()=>{C(!0)}).catch(b=>{C(!0)});v>p?v-=p:v=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{C(!0)}).catch(b=>{C(!0)})},v)})}catch(v){this.Debug.ShowErrorMessage(v.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(a.LoadingController),i.\u0275\u0275inject(c.BasicsProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac})}return u})()},59460:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.MenueService=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(34388)),a=n.__importStar(o(19668)),c=n.__importStar(o(29743));h.MenueService=(()=>{class u{Debug;Tools;Const;MainMenuebereich;MainMenuebereiche={Home:"Home",Email:"Email",Debug:"Debug",Logout:"Logout",Einstellungen:"Einstellungen",Projekte:"Projekte",Urlaubsplanung:"Urlaubsplanung"};UrlaubMenuebereich;UrlaubMenuebereiche={Planung:"Planung",Uebersicht:"Uebersicht",Einstellungen:"Einstellungen",Freigaben:"Freigaben"};ProjekteMenuebereich;ProjekteMenuebereiche={Aufgabenliste:"Aufgabenliste",Protokolle:"Protokolle",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Planungsmatrix:"Planungsmatrix",Simontabelle:"Simontabelle",Fileliste:"Fileliste",Notizen:"Notizen"};Aufgabenlisteansicht;Aufgabenlisteansichten={Mein_Tag:"Mein Tag",Meine_Woche:"Meine Woche",Meilensteine:"Meilensteine",Projekt:"Projekt",Alle:"Alle"};FirmaMenuebereich;FirmaMenuebereiche={Standorte:"Standorte",Mitarbeiter:"Mitarbeiter",Projekte:"Projekte",Favoriten:"Favoriten",Play:"Play"};FilelisteAufrufer;FilelisteAufrufervarianten={Aufgabenliste:"Aufgabenliste",Protokollliste:"Protokollliste",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Simontabelle:"Simontabelle",ImageZoom:"ImageZoom"};constructor(g,v,p){this.Debug=g,this.Tools=v,this.Const=p;try{this.MainMenuebereich=this.MainMenuebereiche.Projekte,this.FirmaMenuebereich=this.FirmaMenuebereiche.Projekte,this.ProjekteMenuebereich=this.ProjekteMenuebereiche.Aufgabenliste,this.UrlaubMenuebereich=this.UrlaubMenuebereiche.Planung,this.Aufgabenlisteansicht=this.Aufgabenlisteansichten.Projekt,this.FilelisteAufrufer=this.FilelisteAufrufervarianten.Aufgabenliste}catch(C){this.Debug.ShowErrorMessage(C.message,"Menue","constructor",this.Debug.Typen.Service)}}SetCurrentPage(){try{switch(this.MainMenuebereich){case this.MainMenuebereiche.Home:this.Tools.SetRootPage(this.Const.Pages.HomePage);break;case this.MainMenuebereiche.Email:this.Tools.SetRootPage(this.Const.Pages.EmaillistePage);break;case this.MainMenuebereiche.Urlaubsplanung:switch(this.UrlaubMenuebereich){case this.UrlaubMenuebereiche.Planung:this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage);break;case this.UrlaubMenuebereiche.Uebersicht:this.Tools.SetRootPage(this.Const.Pages.UrlaubUebersichtPage);break;case this.UrlaubMenuebereiche.Freigaben:this.Tools.SetRootPage(this.Const.Pages.UrlaubFreigabenPage);break;case this.UrlaubMenuebereiche.Einstellungen:this.Tools.SetRootPage(this.Const.Pages.UrlaubEinstellungenPage)}break;case this.MainMenuebereiche.Projekte:switch(this.ProjekteMenuebereich){case this.ProjekteMenuebereiche.Notizen:this.Tools.SetRootPage(this.Const.Pages.PjNotizenListePage);break;case this.ProjekteMenuebereiche.Aufgabenliste:switch(this.Aufgabenlisteansicht){case this.Aufgabenlisteansichten.Alle:case this.Aufgabenlisteansichten.Mein_Tag:case this.Aufgabenlisteansichten.Meine_Woche:case this.Aufgabenlisteansichten.Meilensteine:case this.Aufgabenlisteansichten.Projekt:this.Tools.SetRootPage(this.Const.Pages.PjAufgabenlistePage)}break;case this.ProjekteMenuebereiche.Fileliste:this.Tools.PushPage(this.Const.Pages.PjFilebrowserPage);break;case this.ProjekteMenuebereiche.Protokolle:this.Tools.SetRootPage(this.Const.Pages.PjProtokolleListePage);break;case this.ProjekteMenuebereiche.LOPListe:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleLoplistePage);break;case this.ProjekteMenuebereiche.Bautagebuch:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleTagebuchlistePage);break;case this.ProjekteMenuebereiche.Festlegungen:this.Tools.SetRootPage(this.Const.Pages.PjFestlegungslistePage);break;case this.ProjekteMenuebereiche.Planungsmatrix:this.Tools.SetRootPage(this.Const.Pages.PjPlanungsmatrixPage);break;case this.ProjekteMenuebereiche.Simontabelle:this.Tools.SetRootPage(this.Const.Pages.PjSimontabellelistePage)}}}catch(g){this.Debug.ShowErrorMessage(g.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(v){return new(v||u)(i.\u0275\u0275inject(d.DebugProvider),i.\u0275\u0275inject(a.ToolsProvider),i.\u0275\u0275inject(c.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},77200:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Navparameter=void 0;const n=o(81316),i=n.__importStar(o(54496)),d=n.__importStar(o(29743));h.Navparameter=(()=>{class c{Const;NavListe;CanGoBack;Debugstatus;constructor(u){this.Const=u;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(l){console.log(l,"Nav Parameter -> constructor:"+l)}}RemovePage(){try{let u=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),u=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),u}catch(u){console.log(u,"Nav Parameter -> RemovePage:"+u)}}AddPage(u){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==u?(this.NavListe.push(u),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+u),this.PrintNavliste())):console.log("Add Page Failed: "+u)}catch(l){console.log(l,"Nav Parameter -> AddPage: "+l)}}PrintNavliste(){try{let u;console.log("**************************"),console.log("Navliste: ");for(let l=0;l "+u):console.log(u);console.log("**************************")}catch(u){console.log(u,"Nav Parameter -> PrintNavliste: "+u)}}SetRootpage(u){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(u),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+u),this.PrintNavliste())}catch(l){console.log(l,"Nav Parameter -> SetRootpage: "+l)}}static \u0275fac=function(l){return new(l||c)(i.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=i.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},19668:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ToolsProvider=void 0;const n=o(81316),i=n.__importStar(o(17964)),d=n.__importDefault(o(35908)),a=n.__importDefault(o(35908)),c=n.__importStar(o(54496)),e=n.__importStar(o(14652)),u=n.__importStar(o(34388)),l=n.__importStar(o(29743)),g=n.__importStar(o(77200)),v=n.__importStar(o(10716));h.ToolsProvider=(()=>{class C{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(_,f,y,S,M,w,A){this.Basics=_,this.Debug=f,this.Const=y,this.NavParameter=S,this.nav=M,this.platform=w,this.alertCtrl=A;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(O){this.Debug.ShowErrorMessage(O.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(_){try{return!isNaN(parseFloat(_))&&isFinite(_)}catch(f){this.Debug.ShowErrorMessage(f,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(_){try{return(0,a.default)(_).format("DD.MM.YY")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(_){try{return(0,a.default)(_).format("HH:mm")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(_,f,y){try{let S=_,M=""!==y?"_"+y:"";return S=S.replace(/ /g,"_"),S=S.replace(/\xe4/g,"ae"),S=S.replace(/\xc4/g,"AE"),S=S.replace(/\xf6/g,"oe"),S=S.replace(/\xd6/g,"OE"),S=S.replace(/\xfc/g,"ue"),S=S.replace(/\xdc/g,"UE"),S=S.replace(/\xdf/g,"ss"),S=S.replace(/[^a-zA-Z0-9 ]/g,"_"),S+M+"."+f}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(_,f){try{let y=_;return y=y.replace(/ /g,"_"),y=y.replace(/\xe4/g,"ae"),y=y.replace(/\xc4/g,"AE"),y=y.replace(/\xf6/g,"oe"),y=y.replace(/\xd6/g,"OE"),y=y.replace(/\xfc/g,"ue"),y=y.replace(/\xdc/g,"UE"),y=y.replace(/\xdf/g,"ss"),y=y.replace(/[^a-zA-Z0-9 ]/g,"_"),y}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(_,f){try{let S,M,w,A,O,y=!1;if(_.length>=f.length)for(A of _){if(S=f.findIndex(F=>A[M]===F[M]),-1===S){y=!0;break}w=Object.keys(_[S]),O=f[S];for(let F of w)if(A[F]!==O[F]){y=!0;break}if(!0===y)break}else for(O of f){if(S=_.findIndex(F=>O[M]===F[M]),-1===S){y=!0;break}w=Object.keys(_[S]),A=_[S];for(let F of w)if(O[F]!==A[F]){y=!0;break}if(!0===y)break}return y}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(_,f){try{return JSON.stringify(_)!==JSON.stringify(f)}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(_,f,y){try{let M,S=!1;if(_.length>=f.length){for(let w of _)if(M=f.findIndex(A=>w[y]===A[y]),-1===M){S=!0;break}}else for(let w of f)if(M=_.findIndex(A=>w[y]===A[y]),-1===M){S=!0;break}return S}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(_,f){try{return new Promise(y=>{this.alertCtrl.create({header:_,message:f,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{y(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{y(this.Const.Dialogmessages.ok)}}]}).then(S=>{S.present()}).catch(S=>{console.log(S)})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(_,f,y,S){try{return new Promise(M=>{this.alertCtrl.create({header:_,cssClass:"alertdialogclass",message:f,inputs:[{name:"wahla",type:"radio",label:y,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:S,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{M(null)}},{text:"Fertig",cssClass:"infookclass",handler:w=>{i.isUndefined(w)?M(null):M(w)}}]}).then(w=>{w.present()}).catch(w=>{console.log(w)})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(_){try{let f;for(const y of Object.keys(_))f=_[y],null===f&&(f="",_[y]=f);return _}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(_,f=2,y=",",S="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const M=_<0?"-":"";let w=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=w.length>3?w.length%3:0;return M+(A?w.substr(0,A)+S:"")+w.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+S)+(f?y+Math.abs(_-w).toFixed(f).slice(2):"")+" \u20ac"}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(_,f=2,y=",",S="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const M=_<0?"-":"";let w=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=w.length>3?w.length%3:0;return M+(A?w.substr(0,A)+S:"")+w.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+S)+(f?y+Math.abs(_-w).toFixed(f).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(_,f=2,y=",",S="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const M=_<0?"-":"";let w=parseInt(_=Math.abs(Number(_)||0).toFixed(f)).toString(),A=w.length>3?w.length%3:0;return M+(A?w.substr(0,A)+S:"")+w.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+S)+(f?y+Math.abs(_-w).toFixed(f).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(_,f,y){try{let S;return null!==_?(_>=1e6?(_/=1e6,S=0===y?(_=Math.round(_)).toString()+" M":_.toFixed(y)+" M"):_>=1e3?(_/=1e3,S=0===y?(_=Math.round(_)).toString()+" k":_.toFixed(y)+" k"):_>0&&_<1?_<1e-9?(_*=1e9,0===y?_=Math.round(_):S=_.toFixed(y),S=_.toString()+" p"):_<1e-6?(_*=1e6,S=0===y?Math.round(_).toString():_.toFixed(y),S+=" n"):_<.001?(_*=1e3,S=0===y?Math.round(_).toString():_.toFixed(y),S+=" µ"):_<1&&(_*=1e3,S=0===y?Math.round(_).toString():_.toFixed(y),S+=" m"):(S=0===y?Math.round(_).toString():_.toFixed(y),""!==f&&(S=S+" "+f)),S=S.replace(".",","),""!==f&&(S=S+" "+f),S):"0"}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(_){try{return this.UID_Counter++,"uid_"+_.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(_){try{let f,y=100,S=50,M=50;return typeof _<"u"&&(_=_.replace("#",""),f=parseInt(_,16),y=f>>16&255,S=f>>8&255,M=255&f),y+","+S+","+M}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(_){try{return new Promise(f=>{this.nav.navigateRoot(_,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(_),f(!0)}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(_){try{return new Promise(f=>{this.nav.navigateForward(_,{animated:!0}).then(()=>{this.NavParameter.AddPage(_),f(!0)}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let _;return new Promise(f=>{_=this.NavParameter.RemovePage(),null!==_?this.nav.navigateBack(_,{animated:!1}).then(()=>{f(!0)}).catch(y=>{console.log(y)}):f(!0)})}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(_){try{return _/180*Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(_){try{return 180*_/Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(_){try{return _%2==0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(_){try{return _%2!=0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(_,f){try{let y=Math.pow(10,f||0);return Math.round(_*y)/y}catch(y){this.Debug.ShowErrorMessage(y.message,"file","function",this.Debug.Typen.Page)}}Runden(_,f){try{let y=Math.pow(10,f);return(Math.round(_*y)/y).toFixed(f)}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,d.default)().valueOf()}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,d.default)().format("DD.MM.YYYY HH:mm:ss")}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(_,f,y){try{return(0,d.default)(_+"."+f+"."+y+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(_){try{return typeof _<"u"?_.replace(/(?:\r\n|\r|\n)/g,"
"):""}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(_){try{return(_=(_=(_=(_=(_=(_=(_=(_=_.replace(/ /g,"_")).replace(/\xe4/g,"ae")).replace(/\xc4/g,"Ae")).replace(/\xf6/g,"oe")).replace(/\xd6/g,"Oe")).replace(/\xfc/g,"ue")).replace(/\xdc/g,"Ue")).replace(/\xdf/g,"ss")).replace(/[&\/\\#,+()$~%.'\xa7=^!`\xb4;":.,*-?<>{}]/g,"")}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ReplaceSonderzeichen",this.Debug.Typen.Service)}}RundenAsText(_,f){try{let S,y=Math.pow(10,f);return S=Math.round(_*y)/y,S.toString().replace(".",",")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(_){try{return!!this.CheckObject(_,!1)&&_ instanceof Array}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(_,f){try{return typeof _<"u"&&null!==_&&(!1===f||typeof _[f.toString()]<"u")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(_){try{return new Promise(f=>{this.alertCtrl.create({header:"Hinweis",message:_,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{f(!0)}}]}).then(y=>{y.present()}).catch(y=>{console.log(y)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(_){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(_)}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||C)(c.\u0275\u0275inject(e.BasicsProvider),c.\u0275\u0275inject(u.DebugProvider),c.\u0275\u0275inject(l.ConstProvider),c.\u0275\u0275inject(g.Navparameter),c.\u0275\u0275inject(v.NavController),c.\u0275\u0275inject(v.Platform),c.\u0275\u0275inject(v.AlertController))};static \u0275prov=c.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},36716:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.environment=void 0,h.environment={production:!0}},27460:(ve,h,o)=>{"use strict";const d=o(81316).__importStar(o(14476)),a=o(54496),c=o(5204);o(36716).environment.production&&(0,a.enableProdMode)(),d.platformBrowser().bootstrapModule(c.AppModule).catch(u=>console.log(u))},78776:(ve,h,o)=>{var i,d,n=o(1196).default;self,ve.exports=(i={7629:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(9474),v=e(1687),p=e(8652),C=e(8160),b=e(3292),_=e(6354),f=e(8901),y=e(9708),S=e(6914),M=e(2294),w=e(6133),A=e(1152),O=e(8863),F=e(2036),j={Base:class{constructor(T){this.type=T,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new M.Ids,this._preferences=null,this._refs=new w.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return u("function"==typeof y.describe,"Manifest functionality disabled"),y.describe(this)}allow(...T){return C.verifyFlat(T,"allow"),this._values(T,"_valids")}alter(T){u(T&&"object"==typeof T&&!Array.isArray(T),"Invalid targets argument"),u(!this._inRuleset(),"Cannot set alterations inside a ruleset");const I=this.clone();I.$_terms.alterations=I.$_terms.alterations||[];for(const k in T){const N=T[k];u("function"==typeof N,"Alteration adjuster for",k,"must be a function"),I.$_terms.alterations.push({target:k,adjuster:N})}return I.$_temp.ruleset=!1,I}artifact(T){return u(void 0!==T,"Artifact cannot be undefined"),u(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",T)}cast(T){return u(!1===T||"string"==typeof T,"Invalid to value"),u(!1===T||this._definition.cast[T],"Type",this.type,"does not support casting to",T),this.$_setFlag("cast",!1===T?void 0:T)}default(T,I){return this._default("default",T,I)}description(T){return u(T&&"string"==typeof T,"Description must be a non-empty string"),this.$_setFlag("description",T)}empty(T){const I=this.clone();return void 0!==T&&(T=I.$_compile(T,{override:!1})),I.$_setFlag("empty",T,{clone:!1})}error(T){return u(T,"Missing error"),u(T instanceof Error||"function"==typeof T,"Must provide a valid Error object or a function"),this.$_setFlag("error",T)}example(T,I={}){return u(void 0!==T,"Missing example"),C.assertOptions(I,["override"]),this._inner("examples",T,{single:!0,override:I.override})}external(T,I){return"object"==typeof T&&(u(!I,"Cannot combine options with description"),I=T.description,T=T.method),u("function"==typeof T,"Method must be a function"),u(void 0===I||I&&"string"==typeof I,"Description must be a non-empty string"),this._inner("externals",{method:T,description:I},{single:!0})}failover(T,I){return this._default("failover",T,I)}forbidden(){return this.presence("forbidden")}id(T){return T?(u("string"==typeof T,"id must be a non-empty string"),u(/^[^\.]+$/.test(T),"id cannot contain period character"),this.$_setFlag("id",T)):this.$_setFlag("id",void 0)}invalid(...T){return this._values(T,"_invalids")}label(T){return u(T&&"string"==typeof T,"Label name must be a non-empty string"),this.$_setFlag("label",T)}meta(T){return u(void 0!==T,"Meta cannot be undefined"),this._inner("metas",T,{single:!0})}note(...T){u(T.length,"Missing notes");for(const I of T)u(I&&"string"==typeof I,"Notes must be non-empty strings");return this._inner("notes",T)}only(T=!0){return u("boolean"==typeof T,"Invalid mode:",T),this.$_setFlag("only",T)}optional(){return this.presence("optional")}prefs(T){u(T,"Missing preferences"),u(void 0===T.context,"Cannot override context"),u(void 0===T.externals,"Cannot override externals"),u(void 0===T.warnings,"Cannot override warnings"),u(void 0===T.debug,"Cannot override debug"),C.checkPreferences(T);const I=this.clone();return I._preferences=C.preferences(I._preferences,T),I}presence(T){return u(["optional","required","forbidden"].includes(T),"Unknown presence mode",T),this.$_setFlag("presence",T)}raw(T=!0){return this.$_setFlag("result",T?"raw":void 0)}result(T){return u(["raw","strip"].includes(T),"Unknown result mode",T),this.$_setFlag("result",T)}required(){return this.presence("required")}strict(T){const I=this.clone();return I._preferences=C.preferences(I._preferences,{convert:void 0!==T&&!T}),I}strip(T=!0){return this.$_setFlag("result",T?"strip":void 0)}tag(...T){u(T.length,"Missing tags");for(const I of T)u(I&&"string"==typeof I,"Tags must be non-empty strings");return this._inner("tags",T)}unit(T){return u(T&&"string"==typeof T,"Unit name must be a non-empty string"),this.$_setFlag("unit",T)}valid(...T){C.verifyFlat(T,"valid");const I=this.allow(...T);return I.$_setFlag("only",!!I._valids,{clone:!1}),I}when(T,I){const k=this.clone();k.$_terms.whens||(k.$_terms.whens=[]);const N=b.when(k,T,I);if(!["any","link"].includes(k.type)){const x=N.is?[N]:N.switch;for(const H of x)u(!H.then||"any"===H.then.type||H.then.type===k.type,"Cannot combine",k.type,"with",H.then&&H.then.type),u(!H.otherwise||"any"===H.otherwise.type||H.otherwise.type===k.type,"Cannot combine",k.type,"with",H.otherwise&&H.otherwise.type)}return k.$_terms.whens.push(N),k.$_mutateRebuild()}cache(T){u(!this._inRuleset(),"Cannot set caching inside a ruleset"),u(!this._cache,"Cannot override schema cache"),u(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const I=this.clone();return I._cache=T||p.provider.provision(),I.$_temp.ruleset=!1,I}clone(){const T=Object.create(Object.getPrototypeOf(this));return this._assign(T)}concat(T){u(C.isSchema(T),"Invalid schema object"),u("any"===this.type||"any"===T.type||T.type===this.type,"Cannot merge type",this.type,"with another type:",T.type),u(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),u(!T._inRuleset(),"Cannot concatenate a schema with open ruleset");let I=this.clone();if("any"===this.type&&"any"!==T.type){const k=T.clone();for(const N of Object.keys(I))"type"!==N&&(k[N]=I[N]);I=k}I._ids.concat(T._ids),I._refs.register(T,w.toSibling),I._preferences=I._preferences?C.preferences(I._preferences,T._preferences):T._preferences,I._valids=F.merge(I._valids,T._valids,T._invalids),I._invalids=F.merge(I._invalids,T._invalids,T._valids);for(const k of T._singleRules.keys())I._singleRules.has(k)&&(I._rules=I._rules.filter(N=>N.keep||N.name!==k),I._singleRules.delete(k));for(const k of T._rules)T._definition.rules[k.method].multi||I._singleRules.set(k.name,k),I._rules.push(k);if(I._flags.empty&&T._flags.empty){I._flags.empty=I._flags.empty.concat(T._flags.empty);const k=Object.assign({},T._flags);delete k.empty,v(I._flags,k)}else if(T._flags.empty){I._flags.empty=T._flags.empty;const k=Object.assign({},T._flags);delete k.empty,v(I._flags,k)}else v(I._flags,T._flags);for(const k in T.$_terms){const N=T.$_terms[k];N?I.$_terms[k]=I.$_terms[k]?I.$_terms[k].concat(N):N.slice():I.$_terms[k]||(I.$_terms[k]=N)}return this.$_root._tracer&&this.$_root._tracer._combine(I,[this,T]),I.$_mutateRebuild()}extend(T){return u(!T.base,"Cannot extend type with another base"),f.type(this,T)}extract(T){return T=Array.isArray(T)?T:T.split("."),this._ids.reach(T)}fork(T,I){u(!this._inRuleset(),"Cannot fork inside a ruleset");let k=this;for(let N of[].concat(T))N=Array.isArray(N)?N:N.split("."),k=k._ids.fork(N,I,k);return k.$_temp.ruleset=!1,k}rule(T){const I=this._definition;C.assertOptions(T,Object.keys(I.modifiers)),u(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const k=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;u(k>=0&&kk.tailor(T),ref:!1}),I.$_temp.ruleset=!1,I.$_mutateRebuild()}tracer(){return A.location?A.location(this):this}validate(T,I){return O.entry(T,this,I)}validateAsync(T,I){return O.entryAsync(T,this,I)}$_addRule(T){"string"==typeof T&&(T={name:T}),u(T&&"object"==typeof T,"Invalid options"),u(T.name&&"string"==typeof T.name,"Invalid rule name");for(const H in T)u("_"!==H[0],"Cannot set private rule properties");const I=Object.assign({},T);I._resolve=[],I.method=I.method||I.name;const k=this._definition.rules[I.method],N=I.args;u(k,"Unknown rule",I.method);const x=this.clone();if(N){u(1===Object.keys(N).length||Object.keys(N).length===this._definition.rules[I.name].args.length,"Invalid rule definition for",this.type,I.name);for(const H in N){let G=N[H];if(k.argsByName){const te=k.argsByName.get(H);if(te.ref&&C.isResolvable(G))I._resolve.push(H),x.$_mutateRegister(G);else if(te.normalize&&(G=te.normalize(G),N[H]=G),te.assert){const ce=C.validateArg(G,H,te);u(!ce,ce,"or reference")}}void 0!==G?N[H]=G:delete N[H]}}return k.multi||(x._ruleRemove(I.name,{clone:!1}),x._singleRules.set(I.name,I)),!1===x.$_temp.ruleset&&(x.$_temp.ruleset=null),k.priority?x._rules.unshift(I):x._rules.push(I),x}$_compile(T,I){return b.schema(this.$_root,T,I)}$_createError(T,I,k,N,x,H={}){const G=!1!==H.flags?this._flags:{},te=H.messages?S.merge(this._definition.messages,H.messages):this._definition.messages;return new _.Report(T,I,k,G,te,N,x)}$_getFlag(T){return this._flags[T]}$_getRule(T){return this._singleRules.get(T)}$_mapLabels(T){return T=Array.isArray(T)?T:T.split("."),this._ids.labels(T)}$_match(T,I,k,N){(k=Object.assign({},k)).abortEarly=!0,k._externals=!1,I.snapshot();const x=!O.validate(T,this,I,k,N).errors;return I.restore(),x}$_modify(T){return C.assertOptions(T,["each","once","ref","schema"]),M.schema(this,T)||this}$_mutateRebuild(){return u(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(T,{source:I,name:k,key:x})=>{const H=this._definition[I][k]&&this._definition[I][k].register;!1!==H&&this.$_mutateRegister(T,{family:H,key:x})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(T,{family:I,key:k}={}){this._refs.register(T,I),this._ids.register(T,{key:k})}$_property(T){return this._definition.properties[T]}$_reach(T){return this._ids.reach(T)}$_rootReferences(){return this._refs.roots()}$_setFlag(T,I,k={}){if(u("_"===T[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),g(I,(this._definition.flags[T]||{}).default)&&(I=void 0),g(I,this._flags[T]))return this;const x=!1!==k.clone?this.clone():this;return void 0!==I?(x._flags[T]=I,x.$_mutateRegister(I)):delete x._flags[T],"_"!==T[0]&&(x.$_temp.ruleset=!1),x}$_parent(T,...I){return this[T][C.symbols.parent].call(this,...I)}$_validate(T,I,k){return O.validate(T,this,I,k)}_assign(T){T.type=this.type,T.$_root=this.$_root,T.$_temp=Object.assign({},this.$_temp),T.$_temp.whens={},T._ids=this._ids.clone(),T._preferences=this._preferences,T._valids=this._valids&&this._valids.clone(),T._invalids=this._invalids&&this._invalids.clone(),T._rules=this._rules.slice(),T._singleRules=l(this._singleRules,{shallow:!0}),T._refs=this._refs.clone(),T._flags=Object.assign({},this._flags),T._cache=null,T.$_terms={};for(const I in this.$_terms)T.$_terms[I]=this.$_terms[I]?this.$_terms[I].slice():null;T.$_super={};for(const I in this.$_super)T.$_super[I]=this._super[I].bind(T);return T}_bare(){const T=this.clone();T._reset();const I=T._definition.terms;for(const k in I)T.$_terms[k]=I[k].init;return T.$_mutateRebuild()}_default(T,I,k={}){return C.assertOptions(k,"literal"),u(void 0!==I,"Missing",T,"value"),u("function"==typeof I||!k.literal,"Only function value supports literal option"),"function"==typeof I&&k.literal&&(I={[C.symbols.literal]:!0,literal:I}),this.$_setFlag(T,I)}_generate(T,I,k){if(!this.$_terms.whens)return{schema:this};const N=[],x=[];for(let te=0;teZ)break}const H=x.join(", ");if(I.mainstay.tracer.debug(I,"rule","when",H),!H)return{schema:this};if(!I.mainstay.tracer.active&&this.$_temp.whens[H])return{schema:this.$_temp.whens[H],id:H};let G=this;this._definition.generate&&(G=this._definition.generate(this,T,I,k));for(const te of N)G=G.concat(te);return this.$_root._tracer&&this.$_root._tracer._combine(G,[this,...N]),this.$_temp.whens[H]=G,{schema:G,id:H}}_inner(T,I,k={}){u(!this._inRuleset(),`Cannot set ${T} inside a ruleset`);const N=this.clone();return N.$_terms[T]&&!k.override||(N.$_terms[T]=[]),k.single?N.$_terms[T].push(I):N.$_terms[T].push(...I),N.$_temp.ruleset=!1,N}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(T,I={}){if(!this._singleRules.has(T))return this;const k=!1!==I.clone?this.clone():this;k._singleRules.delete(T);const N=[];for(let x=0;x{"use strict";const u=e(375),l=e(8571),g=e(8160),v={max:1e3,supported:new Set(["undefined","boolean","number","string"])};c.provider={provision:p=>new v.Cache(p)},v.Cache=class{constructor(p={}){g.assertOptions(p,["max"]),u(void 0===p.max||p.max&&p.max>0&&isFinite(p.max),"Invalid max cache size"),this._max=p.max||v.max,this._map=new Map,this._list=new v.List}get length(){return this._map.size}set(p,C){if(null!==p&&!v.supported.has(typeof p))return;let b=this._map.get(p);if(b)return b.value=C,void this._list.first(b);b=this._list.unshift({key:p,value:C}),this._map.set(p,b),this._compact()}get(p){const C=this._map.get(p);if(C)return this._list.first(C),l(C.value)}_compact(){if(this._map.size>this._max){const p=this._list.pop();this._map.delete(p.key)}}},v.List=class{constructor(){this.tail=null,this.head=null}unshift(p){return p.next=null,p.prev=this.head,this.head&&(this.head.next=p),this.head=p,this.tail||(this.tail=p),p}first(p){p!==this.head&&(this._remove(p),this.unshift(p))}pop(){return this._remove(this.tail)}_remove(p){const{next:C,prev:b}=p;return C.prev=b,b&&(b.next=C),p===this.tail&&(this.tail=C),p.prev=null,p.next=null,p}}},8160:(a,c,e)=>{"use strict";const u=e(375),l=e(7916),g=e(5934);let v,p;const C={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};c.version=g.version,c.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},c.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},c.assertOptions=function(b,_,f="Options"){u(b&&"object"==typeof b&&!Array.isArray(b),"Options must be of type object");const y=Object.keys(b).filter(S=>!_.includes(S));u(0===y.length,`${f} contain unknown keys: ${y}`)},c.checkPreferences=function(b){p=p||e(3378);const _=p.preferences.validate(b);if(_.error)throw new l([_.error.details[0].message])},c.compare=function(b,_,f){switch(f){case"=":return b===_;case">":return b>_;case"<":return b<_;case">=":return b>=_;case"<=":return b<=_}},c.default=function(b,_){return void 0===b?_:b},c.isIsoDate=function(b){return C.isoDate.test(b)},c.isNumber=function(b){return"number"==typeof b&&!isNaN(b)},c.isResolvable=function(b){return!!b&&(b[c.symbols.ref]||b[c.symbols.template])},c.isSchema=function(b,_={}){const f=b&&b[c.symbols.any];return!!f&&(u(_.legacy||f.version===c.version,"Cannot mix different versions of joi schemas"),!0)},c.isValues=function(b){return b[c.symbols.values]},c.limit=function(b){return Number.isSafeInteger(b)&&b>=0},c.preferences=function(b,_){v=v||e(6914),b=b||{},_=_||{};const f=Object.assign({},b,_);return _.errors&&b.errors&&(f.errors=Object.assign({},b.errors,_.errors),f.errors.wrap=Object.assign({},b.errors.wrap,_.errors.wrap)),_.messages&&(f.messages=v.compile(_.messages,b.messages)),delete f[c.symbols.prefs],f},c.tryWithPath=function(b,_,f={}){try{return b()}catch(y){throw y.path=void 0!==y.path?_+"."+y.path:_,f.append&&(y.message=`${y.message} (${y.path})`),y}},c.validateArg=function(b,_,{assert:f,message:y}){if(c.isSchema(f)){const S=f.validate(b);return S.error?S.error.message:void 0}if(!f(b))return _?`${_} ${y}`:y},c.verifyFlat=function(b,_){for(const f of b)u(!Array.isArray(f),"Method no longer accepts array arguments:",_)}},3292:(a,c,e)=>{"use strict";const u=e(375),l=e(8160),g=e(6133),v={};c.schema=function(p,C,b={}){l.assertOptions(b,["appendPath","override"]);try{return v.schema(p,C,b)}catch(_){throw b.appendPath&&void 0!==_.path&&(_.message=`${_.message} (${_.path})`),_}},v.schema=function(p,C,b){u(void 0!==C,"Invalid undefined schema"),Array.isArray(C)&&(u(C.length,"Invalid empty array schema"),1===C.length&&(C=C[0]));const _=(f,...y)=>!1!==b.override?f.valid(p.override,...y):f.valid(...y);if(v.simple(C))return _(p,C);if("function"==typeof C)return p.custom(C);if(u("object"==typeof C,"Invalid schema content:",typeof C),l.isResolvable(C))return _(p,C);if(l.isSchema(C))return C;if(Array.isArray(C)){for(const f of C)if(!v.simple(f))return p.alternatives().try(...C);return _(p,...C)}return C instanceof RegExp?p.string().regex(C):C instanceof Date?_(p.date(),C):(u(Object.getPrototypeOf(C)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),p.object().keys(C))},c.ref=function(p,C){return g.isRef(p)?p:g.create(p,C)},c.compile=function(p,C,b={}){l.assertOptions(b,["legacy"]);const _=C&&C[l.symbols.any];if(_)return u(b.legacy||_.version===l.version,"Cannot mix different versions of joi schemas:",_.version,l.version),C;if("object"!=typeof C||!b.legacy)return c.schema(p,C,{appendPath:!0});const f=v.walk(C);return f?f.compile(f.root,C):c.schema(p,C,{appendPath:!0})},v.walk=function(p){if("object"!=typeof p)return null;if(Array.isArray(p)){for(const b of p){const _=v.walk(b);if(_)return _}return null}const C=p[l.symbols.any];if(C)return{root:p[C.root],compile:C.compile};u(Object.getPrototypeOf(p)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const b in p){const _=v.walk(p[b]);if(_)return _}return null},v.simple=function(p){return null===p||["boolean","string","number"].includes(typeof p)},c.when=function(p,C,b){if(void 0===b&&(u(C&&"object"==typeof C,"Missing options"),b=C,C=g.create(".")),Array.isArray(b)&&(b={switch:b}),l.assertOptions(b,["is","not","then","otherwise","switch","break"]),l.isSchema(C))return u(void 0===b.is,'"is" can not be used with a schema condition'),u(void 0===b.not,'"not" can not be used with a schema condition'),u(void 0===b.switch,'"switch" can not be used with a schema condition'),v.condition(p,{is:C,then:b.then,otherwise:b.otherwise,break:b.break});if(u(g.isRef(C)||"string"==typeof C,"Invalid condition:",C),u(void 0===b.not||void 0===b.is,'Cannot combine "is" with "not"'),void 0===b.switch){let f=b;void 0!==b.not&&(f={is:b.not,then:b.otherwise,otherwise:b.then,break:b.break});let y=void 0!==f.is?p.$_compile(f.is):p.$_root.invalid(null,!1,0,"").required();return u(void 0!==f.then||void 0!==f.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),u(void 0===f.break||void 0===f.then||void 0===f.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===b.is||g.isRef(b.is)||l.isSchema(b.is)||(y=y.required()),v.condition(p,{ref:c.ref(C),is:y,then:f.then,otherwise:f.otherwise,break:f.break})}u(Array.isArray(b.switch),'"switch" must be an array'),u(void 0===b.is,'Cannot combine "switch" with "is"'),u(void 0===b.not,'Cannot combine "switch" with "not"'),u(void 0===b.then,'Cannot combine "switch" with "then"');const _={ref:c.ref(C),switch:[],break:b.break};for(let f=0;f{"use strict";const u=e(5688),l=e(8160),g=e(3328);c.Report=class{constructor(v,p,C,b,_,f,y){if(this.code=v,this.flags=b,this.messages=_,this.path=f.path,this.prefs=y,this.state=f,this.value=p,this.message=null,this.template=null,this.local=C||{},this.local.label=c.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const S=this.path[this.path.length-1];"object"!=typeof S&&(this.local.key=S)}}_setTemplate(v){if(this.template=v,!this.flags.label&&0===this.path.length){const p=this._template(this.template,"root");p&&(this.local.label=p)}}toString(){if(this.message)return this.message;const v=this.code;if(!this.prefs.errors.render)return this.code;const p=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===p?`Error code "${v}" is not defined, your custom type is missing the correct messages definition`:(this.message=p.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(v,p){return c.template(this.value,v,p||this.code,this.state,this.prefs)}},c.path=function(v){let p="";for(const C of v)"object"!=typeof C&&("string"==typeof C?(p&&(p+="."),p+=C):p+=`[${C}]`);return p},c.template=function(v,p,C,b,_){if(!p)return;if(g.isTemplate(p))return"root"!==C?p:null;let f=_.errors.language;if(l.isResolvable(f)&&(f=f.resolve(v,b,_)),f&&p[f]){if(void 0!==p[f][C])return p[f][C];if(void 0!==p[f]["*"])return p[f]["*"]}return p[C]?p[C]:p["*"]},c.label=function(v,p,C,b){if(v.label)return v.label;if(!C.errors.label)return"";let _=p.path;return"key"===C.errors.label&&p.path.length>1&&(_=p.path.slice(-1)),c.path(_)||c.template(null,C.messages,"root",p,C)||b&&c.template(null,b,"root",p,C)||"value"},c.process=function(v,p,C){if(!v)return null;const{override:b,message:_,details:f}=c.details(v);if(b)return b;if(C.errors.stack)return new c.ValidationError(_,f,p);const y=Error.stackTraceLimit;Error.stackTraceLimit=0;const S=new c.ValidationError(_,f,p);return Error.stackTraceLimit=y,S},c.details=function(v,p={}){let C=[];const b=[];for(const _ of v){if(_ instanceof Error){if(!1!==p.override)return{override:_};const y=_.toString();C.push(y),b.push({message:y,type:"override",context:{error:_}});continue}const f=_.toString();C.push(f),b.push({message:f,path:_.path.filter(y=>"object"!=typeof y),type:_.code,context:_.local})}return C.length>1&&(C=[...new Set(C)]),{message:C.join(". "),details:b}},c.ValidationError=class extends Error{constructor(v,p,C){super(v),this._original=C,this.details=p}static isError(v){return v instanceof c.ValidationError}},c.ValidationError.prototype.isJoi=!0,c.ValidationError.prototype.name="ValidationError",c.ValidationError.prototype.annotate=u.error},8901:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(8160),v=e(6914),p={};c.type=function(C,b){const _=Object.getPrototypeOf(C),f=l(_),y=C._assign(Object.create(f)),S=Object.assign({},b);delete S.base,f._definition=S;const M=_._definition||{};S.messages=v.merge(M.messages,S.messages),S.properties=Object.assign({},M.properties,S.properties),y.type=S.type,S.flags=Object.assign({},M.flags,S.flags);const w=Object.assign({},M.terms);if(S.terms)for(const j in S.terms){const T=S.terms[j];u(void 0===y.$_terms[j],"Invalid term override for",S.type,j),y.$_terms[j]=T.init,w[j]=T}S.terms=w,S.args||(S.args=M.args),S.prepare=p.prepare(S.prepare,M.prepare),S.coerce&&("function"==typeof S.coerce&&(S.coerce={method:S.coerce}),S.coerce.from&&!Array.isArray(S.coerce.from)&&(S.coerce={method:S.coerce.method,from:[].concat(S.coerce.from)})),S.coerce=p.coerce(S.coerce,M.coerce),S.validate=p.validate(S.validate,M.validate);const A=Object.assign({},M.rules);if(S.rules)for(const j in S.rules){const T=S.rules[j];u("object"==typeof T,"Invalid rule definition for",S.type,j);let I=T.method;if(void 0===I&&(I=function(){return this.$_addRule(j)}),I&&(u(!f[j],"Rule conflict in",S.type,j),f[j]=I),u(!A[j],"Rule conflict in",S.type,j),A[j]=T,T.alias){const k=[].concat(T.alias);for(const N of k)f[N]=T.method}T.args&&(T.argsByName=new Map,T.args=T.args.map(k=>("string"==typeof k&&(k={name:k}),u(!T.argsByName.has(k.name),"Duplicated argument name",k.name),g.isSchema(k.assert)&&(k.assert=k.assert.strict().label(k.name)),T.argsByName.set(k.name,k),k)))}S.rules=A;const O=Object.assign({},M.modifiers);if(S.modifiers)for(const j in S.modifiers){u(!f[j],"Rule conflict in",S.type,j);const T=S.modifiers[j];u("function"==typeof T,"Invalid modifier definition for",S.type,j),f[j]=function(k){return this.rule({[j]:k})},O[j]=T}if(S.modifiers=O,S.overrides){f._super=_,y.$_super={};for(const j in S.overrides)u(_[j],"Cannot override missing",j),S.overrides[j][g.symbols.parent]=_[j],y.$_super[j]=_[j].bind(y);Object.assign(f,S.overrides)}S.cast=Object.assign({},M.cast,S.cast);const F=Object.assign({},M.manifest,S.manifest);return F.build=p.build(S.manifest&&S.manifest.build,M.manifest&&M.manifest.build),S.manifest=F,S.rebuild=p.rebuild(S.rebuild,M.rebuild),y},p.build=function(C,b){return C&&b?function(_,f){return b(C(_,f),f)}:C||b},p.coerce=function(C,b){return C&&b?{from:C.from&&b.from?[...new Set([...C.from,...b.from])]:null,method(_,f){let y;if((!b.from||b.from.includes(typeof _))&&(y=b.method(_,f),y)){if(y.errors||void 0===y.value)return y;_=y.value}if(!C.from||C.from.includes(typeof _)){const S=C.method(_,f);if(S)return S}return y}}:C||b},p.prepare=function(C,b){return C&&b?function(_,f){const y=C(_,f);if(y){if(y.errors||void 0===y.value)return y;_=y.value}return b(_,f)||y}:C||b},p.rebuild=function(C,b){return C&&b?function(_){b(_),C(_)}:C||b},p.validate=function(C,b){return C&&b?function(_,f){const y=b(_,f);if(y){if(y.errors&&(!Array.isArray(y.errors)||y.errors.length))return y;_=y.value}return C(_,f)||y}:C||b}},5107:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(8652),v=e(8160),p=e(3292),C=e(6354),b=e(8901),_=e(9708),f=e(6133),y=e(3328),S=e(1152);let M;const w={types:{alternatives:e(4946),any:e(8068),array:e(546),boolean:e(4937),date:e(7500),function:e(390),link:e(8785),number:e(3832),object:e(8966),string:e(7417),symbol:e(8826)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const A={_types:new Set(Object.keys(w.types))};for(const O of A._types)A[O]=function(...F){return u(!F.length||["alternatives","link","object"].includes(O),"The",O,"type does not allow arguments"),w.generate(this,w.types[O],F)};for(const O of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])A[O]=function(...F){return this.any()[O](...F)};Object.assign(A,w.methods);for(const O in w.aliases)A[O]=A[w.aliases[O]];return A.x=A.expression,S.setup&&S.setup(A),A}};w.methods={ValidationError:C.ValidationError,version:v.version,cache:g.provider,assert(A,O,...F){w.assert(A,O,!0,F)},attempt:(A,O,...F)=>w.assert(A,O,!1,F),build(A){return u("function"==typeof _.build,"Manifest functionality disabled"),_.build(this,A)},checkPreferences(A){v.checkPreferences(A)},compile(A,O){return p.compile(this,A,O)},defaults(A){u("function"==typeof A,"modifier must be a function");const O=Object.assign({},this);for(const F of O._types){const j=A(O[F]());u(v.isSchema(j),"modifier must return a valid schema object"),O[F]=function(...T){return w.generate(this,j,T)}}return O},expression:(...A)=>new y(...A),extend(...A){v.verifyFlat(A,"extend"),M=M||e(3378),u(A.length,"You need to provide at least one extension"),this.assert(A,M.extensions);const O=Object.assign({},this);O._types=new Set(O._types);for(let F of A){"function"==typeof F&&(F=F(O)),this.assert(F,M.extension);const j=w.expandExtension(F,O);for(const T of j){u(void 0===O[T.type]||O._types.has(T.type),"Cannot override name",T.type);const I=T.base||this.any(),k=b.type(I,T);O._types.add(T.type),O[T.type]=function(...N){return w.generate(this,k,N)}}}return O},isError:C.ValidationError.isError,isExpression:y.isTemplate,isRef:f.isRef,isSchema:v.isSchema,in:(...A)=>f.in(...A),override:v.symbols.override,ref:(...A)=>f.create(...A),types(){const A={};for(const O of this._types)A[O]=this[O]();for(const O in w.aliases)A[O]=this[O]();return A}},w.assert=function(A,O,F,j){const T=j[0]instanceof Error||"string"==typeof j[0]?j[0]:null,k=O.validate(A,v.preferences({errors:{stack:!0}},(null!==T?j[1]:j[0])||{}));let N=k.error;if(!N)return k.value;if(T instanceof Error)throw T;const x=F&&"function"==typeof N.annotate?N.annotate():N.message;throw N instanceof C.ValidationError==0&&(N=l(N)),N.message=T?`${T} ${x}`:x,N},w.generate=function(A,O,F){return u(A,"Must be invoked on a Joi instance."),O.$_root=A,O._definition.args&&F.length?O._definition.args(O,...F):O},w.expandExtension=function(A,O){if("string"==typeof A.type)return[A];const F=[];for(const j of O._types)if(A.type.test(j)){const T=Object.assign({},A);T.type=j,T.base=O[j](),F.push(T)}return F},a.exports=w.root()},6914:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(3328);c.compile=function(v,p){if("string"==typeof v)return u(!p,"Cannot set single message string"),new g(v);if(g.isTemplate(v))return u(!p,"Cannot set single message template"),v;u("object"==typeof v&&!Array.isArray(v),"Invalid message options"),p=p?l(p):{};for(let C in v){const b=v[C];if("root"===C||g.isTemplate(b)){p[C]=b;continue}if("string"==typeof b){p[C]=new g(b);continue}u("object"==typeof b&&!Array.isArray(b),"Invalid message for",C);const _=C;for(C in p[_]=p[_]||{},b){const f=b[C];"root"===C||g.isTemplate(f)?p[_][C]=f:(u("string"==typeof f,"Invalid message for",C,"in",_),p[_][C]=new g(f))}}return p},c.decompile=function(v){const p={};for(let C in v){const b=v[C];if("root"===C){p.root=b;continue}if(g.isTemplate(b)){p[C]=b.describe({compact:!0});continue}const _=C;for(C in p[_]={},b){const f=b[C];"root"!==C?p[_][C]=f.describe({compact:!0}):p[_].root=f}}return p},c.merge=function(v,p){if(!v)return c.compile(p);if(!p)return v;if("string"==typeof p)return new g(p);if(g.isTemplate(p))return p;const C=l(v);for(let b in p){const _=p[b];if("root"===b||g.isTemplate(_)){C[b]=_;continue}if("string"==typeof _){C[b]=new g(_);continue}u("object"==typeof _&&!Array.isArray(_),"Invalid message for",b);const f=b;for(b in C[f]=C[f]||{},_){const y=_[b];"root"===b||g.isTemplate(y)?C[f][b]=y:(u("string"==typeof y,"Invalid message for",b,"in",f),C[f][b]=new g(y))}}return C}},2294:(a,c,e)=>{"use strict";const u=e(375),l=e(8160),g=e(6133),v={};c.Ids=v.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const p=new v.Ids;return p._byId=new Map(this._byId),p._byKey=new Map(this._byKey),p._schemaChain=this._schemaChain,p}concat(p){p._schemaChain&&(this._schemaChain=!0);for(const[C,b]of p._byId.entries())u(!this._byKey.has(C),"Schema id conflicts with existing key:",C),this._byId.set(C,b);for(const[C,b]of p._byKey.entries())u(!this._byId.has(C),"Schema key conflicts with existing id:",C),this._byKey.set(C,b)}fork(p,C,b){const _=this._collect(p);_.push({schema:b});const f=_.shift();let y={id:f.id,schema:C(f.schema)};u(l.isSchema(y.schema),"adjuster function failed to return a joi schema type");for(const S of _)y={id:S.id,schema:v.fork(S.schema,y.id,y.schema)};return y.schema}labels(p,C=[]){const b=p[0],_=this._get(b);if(!_)return[...C,...p].join(".");const f=p.slice(1);return C=[...C,_.schema._flags.label||b],f.length?_.schema._ids.labels(f,C):C.join(".")}reach(p,C=[]){const b=p[0],_=this._get(b);u(_,"Schema does not contain path",[...C,...p].join("."));const f=p.slice(1);return f.length?_.schema._ids.reach(f,[...C,b]):_.schema}register(p,{key:C}={}){if(!p||!l.isSchema(p))return;(p.$_property("schemaChain")||p._ids._schemaChain)&&(this._schemaChain=!0);const b=p._flags.id;if(b){const _=this._byId.get(b);u(!_||_.schema===p,"Cannot add different schemas with the same id:",b),u(!this._byKey.has(b),"Schema id conflicts with existing key:",b),this._byId.set(b,{schema:p,id:b})}C&&(u(!this._byKey.has(C),"Schema already contains key:",C),u(!this._byId.has(C),"Schema key conflicts with existing id:",C),this._byKey.set(C,{schema:p,id:C}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(p,C=[],b=[]){const _=p[0],f=this._get(_);u(f,"Schema does not contain path",[...C,...p].join(".")),b=[f,...b];const y=p.slice(1);return y.length?f.schema._ids._collect(y,[...C,_],b):b}_get(p){return this._byId.get(p)||this._byKey.get(p)}},v.fork=function(p,C,b){const _=c.schema(p,{each:(f,{key:y})=>{if(C===(f._flags.id||y))return b},ref:!1});return _?_.$_mutateRebuild():p},c.schema=function(p,C){let b;for(const _ in p._flags){if("_"===_[0])continue;const f=v.scan(p._flags[_],{source:"flags",name:_},C);void 0!==f&&(b=b||p.clone(),b._flags[_]=f)}for(let _=0;_{"use strict";const u=e(375),l=e(8571),g=e(9621),v=e(8160);let p;const C={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};c.create=function(b,_={}){u("string"==typeof b,"Invalid reference key:",b),v.assertOptions(_,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),u(!_.prefix||"object"==typeof _.prefix,"options.prefix must be of type object");const f=Object.assign({},C.defaults,_);delete f.prefix;const y=f.separator,S=C.context(b,y,_.prefix);if(f.type=S.type,b=S.key,"value"===f.type)if(S.root&&(u(!y||b[0]!==y,"Cannot specify relative path with root prefix"),f.ancestor="root",b||(b=null)),y&&y===b)b=null,f.ancestor=0;else if(void 0!==f.ancestor)u(!y||!b||b[0]!==y,"Cannot combine prefix with ancestor option");else{const[M,w]=C.ancestor(b,y);w&&""===(b=b.slice(w))&&(b=null),f.ancestor=M}return f.path=y?null===b?[]:b.split(y):[b],new C.Ref(f)},c.in=function(b,_={}){return c.create(b,{..._,in:!0})},c.isRef=function(b){return!!b&&!!b[v.symbols.ref]},C.Ref=class{constructor(b){u("object"==typeof b,"Invalid reference construction"),v.assertOptions(b,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),u([!1,void 0].includes(b.separator)||"string"==typeof b.separator&&1===b.separator.length,"Invalid separator"),u(!b.adjust||"function"==typeof b.adjust,"options.adjust must be a function"),u(!b.map||Array.isArray(b.map),"options.map must be an array"),u(!b.map||!b.adjust,"Cannot set both map and adjust options"),Object.assign(this,C.defaults,b),u("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(b,_,f,y,S={}){return u(!this.in||S.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(f.context,_,S):"local"===this.type?this._resolve(y,_,S):this.ancestor?"root"===this.ancestor?this._resolve(_.ancestors[_.ancestors.length-1],_,S):(u(this.ancestor<=_.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(_.ancestors[this.ancestor-1],_,S)):this._resolve(b,_,S)}_resolve(b,_,f){let y;if("value"===this.type&&_.mainstay.shadow&&!1!==f.shadow&&(y=_.mainstay.shadow.get(this.absolute(_))),void 0===y&&(y=g(b,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(y=this.adjust(y)),this.map){const S=this.map.get(y);void 0!==S&&(y=S)}return _.mainstay&&_.mainstay.tracer.resolve(_,this,y),y}toString(){return this.display}absolute(b){return[...b.path.slice(0,-this.ancestor),...this.path]}clone(){return new C.Ref(this)}describe(){const b={path:this.path};"value"!==this.type&&(b.type=this.type),"."!==this.separator&&(b.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(b.ancestor=this.ancestor),this.map&&(b.map=[...this.map]);for(const _ of["adjust","iterables","render"])null!=this[_]&&(b[_]=this[_]);return!1!==this.in&&(b.in=!0),{ref:b}}updateDisplay(){const b=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${b}`);if(!this.separator)return void(this.display=`ref:${b}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${b}`);if("root"===this.ancestor)return void(this.display=`ref:root:${b}`);if(1===this.ancestor)return void(this.display=`ref:${b||".."}`);const _=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${_}${b||""}`}},C.Ref.prototype[v.symbols.ref]=!0,c.build=function(b){return"value"===(b=Object.assign({},C.defaults,b)).type&&void 0===b.ancestor&&(b.ancestor=1),new C.Ref(b)},C.context=function(b,_,f={}){if(b=b.trim(),f){const y=void 0===f.global?"$":f.global;if(y!==_&&b.startsWith(y))return{key:b.slice(y.length),type:"global"};const S=void 0===f.local?"#":f.local;if(S!==_&&b.startsWith(S))return{key:b.slice(S.length),type:"local"};const M=void 0===f.root?"/":f.root;if(M!==_&&b.startsWith(M))return{key:b.slice(M.length),type:"value",root:!0}}return{key:b,type:"value"}},C.ancestor=function(b,_){if(!_)return[1,0];if(b[0]!==_)return[1,0];if(b[1]!==_)return[0,1];let f=2;for(;b[f]===_;)++f;return[f-1,f]},c.toSibling=0,c.toParent=1,c.Manager=class{constructor(){this.refs=[]}register(b,_){if(b)if(_=void 0===_?c.toParent:_,Array.isArray(b))for(const f of b)this.register(f,_);else if(v.isSchema(b))for(const f of b._refs.refs)f.ancestor-_>=0&&this.refs.push({ancestor:f.ancestor-_,root:f.root});else c.isRef(b)&&"value"===b.type&&b.ancestor-_>=0&&this.refs.push({ancestor:b.ancestor-_,root:b.root}),p=p||e(3328),p.isTemplate(b)&&this.register(b.refs(),_)}get length(){return this.refs.length}clone(){const b=new c.Manager;return b.refs=l(this.refs),b}reset(){this.refs=[]}roots(){return this.refs.filter(b=>!b.ancestor).map(b=>b.root)}}},3378:(a,c,e)=>{"use strict";const u=e(5107),l={};l.wrap=u.string().min(1).max(2).allow(!1),c.preferences=u.object({allowUnknown:u.boolean(),abortEarly:u.boolean(),artifacts:u.boolean(),cache:u.boolean(),context:u.object(),convert:u.boolean(),dateFormat:u.valid("date","iso","string","time","utc"),debug:u.boolean(),errors:{escapeHtml:u.boolean(),label:u.valid("path","key",!1),language:[u.string(),u.object().ref()],render:u.boolean(),stack:u.boolean(),wrap:{label:l.wrap,array:l.wrap,string:l.wrap}},externals:u.boolean(),messages:u.object(),noDefaults:u.boolean(),nonEnumerables:u.boolean(),presence:u.valid("required","optional","forbidden"),skipFunctions:u.boolean(),stripUnknown:u.object({arrays:u.boolean(),objects:u.boolean()}).or("arrays","objects").allow(!0,!1),warnings:u.boolean()}).strict(),l.nameRx=/^[a-zA-Z0-9]\w*$/,l.rule=u.object({alias:u.array().items(u.string().pattern(l.nameRx)).single(),args:u.array().items(u.string(),u.object({name:u.string().pattern(l.nameRx).required(),ref:u.boolean(),assert:u.alternatives([u.function(),u.object().schema()]).conditional("ref",{is:!0,then:u.required()}),normalize:u.function(),message:u.string().when("assert",{is:u.function(),then:u.required()})})),convert:u.boolean(),manifest:u.boolean(),method:u.function().allow(!1),multi:u.boolean(),validate:u.function()}),c.extension=u.object({type:u.alternatives([u.string(),u.object().regex()]).required(),args:u.function(),cast:u.object().pattern(l.nameRx,u.object({from:u.function().maxArity(1).required(),to:u.function().minArity(1).maxArity(2).required()})),base:u.object().schema().when("type",{is:u.object().regex(),then:u.forbidden()}),coerce:[u.function().maxArity(3),u.object({method:u.function().maxArity(3).required(),from:u.array().items(u.string()).single()})],flags:u.object().pattern(l.nameRx,u.object({setter:u.string(),default:u.any()})),manifest:{build:u.function().arity(2)},messages:[u.object(),u.string()],modifiers:u.object().pattern(l.nameRx,u.function().minArity(1).maxArity(2)),overrides:u.object().pattern(l.nameRx,u.function()),prepare:u.function().maxArity(3),rebuild:u.function().arity(1),rules:u.object().pattern(l.nameRx,l.rule),terms:u.object().pattern(l.nameRx,u.object({init:u.array().allow(null).required(),manifest:u.object().pattern(/.+/,[u.valid("schema","single"),u.object({mapped:u.object({from:u.string().required(),to:u.string().required()}).required()})])})),validate:u.function().maxArity(3)}).strict(),c.extensions=u.array().items(u.object(),u.function().arity(1)).strict(),l.desc={buffer:u.object({buffer:u.string()}),func:u.object({function:u.function().required(),options:{literal:!0}}),override:u.object({override:!0}),ref:u.object({ref:u.object({type:u.valid("value","global","local"),path:u.array().required(),separator:u.string().length(1).allow(!1),ancestor:u.number().min(0).integer().allow("root"),map:u.array().items(u.array().length(2)).min(1),adjust:u.function(),iterables:u.boolean(),in:u.boolean(),render:u.boolean()}).required()}),regex:u.object({regex:u.string().min(3)}),special:u.object({special:u.valid("deep").required()}),template:u.object({template:u.string().required(),options:u.object()}),value:u.object({value:u.alternatives([u.object(),u.array()]).required()})},l.desc.entity=u.alternatives([u.array().items(u.link("...")),u.boolean(),u.function(),u.number(),u.string(),l.desc.buffer,l.desc.func,l.desc.ref,l.desc.regex,l.desc.special,l.desc.template,l.desc.value,u.link("/")]),l.desc.values=u.array().items(null,u.boolean(),u.function(),u.number().allow(1/0,-1/0),u.string().allow(""),u.symbol(),l.desc.buffer,l.desc.func,l.desc.override,l.desc.ref,l.desc.regex,l.desc.template,l.desc.value),l.desc.messages=u.object().pattern(/.+/,[u.string(),l.desc.template,u.object().pattern(/.+/,[u.string(),l.desc.template])]),c.description=u.object({type:u.string().required(),flags:u.object({cast:u.string(),default:u.any(),description:u.string(),empty:u.link("/"),failover:l.desc.entity,id:u.string(),label:u.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:u.boolean(),unit:u.string()}).unknown(),preferences:{allowUnknown:u.boolean(),abortEarly:u.boolean(),artifacts:u.boolean(),cache:u.boolean(),convert:u.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:u.boolean(),label:["path","key"],language:[u.string(),l.desc.ref],wrap:{label:l.wrap,array:l.wrap}},externals:u.boolean(),messages:l.desc.messages,noDefaults:u.boolean(),nonEnumerables:u.boolean(),presence:["required","optional","forbidden"],skipFunctions:u.boolean(),stripUnknown:u.object({arrays:u.boolean(),objects:u.boolean()}).or("arrays","objects").allow(!0,!1),warnings:u.boolean()},allow:l.desc.values,invalid:l.desc.values,rules:u.array().min(1).items({name:u.string().required(),args:u.object().min(1),keep:u.boolean(),message:[u.string(),l.desc.messages],warn:u.boolean()}),keys:u.object().pattern(/.*/,u.link("/")),link:l.desc.ref}).pattern(/^[a-z]\w*$/,u.any())},493:(a,c,e)=>{"use strict";const u=e(8571),l=e(9621),g=e(8160),v={value:Symbol("value")};a.exports=v.State=class{constructor(p,C,b){this.path=p,this.ancestors=C,this.mainstay=b.mainstay,this.schemas=b.schemas,this.debug=null}localize(p,C=null,b=null){const _=new v.State(p,C,this);return b&&_.schemas&&(_.schemas=[v.schemas(b),..._.schemas]),_}nest(p,C){const b=new v.State(this.path,this.ancestors,this);return b.schemas=b.schemas&&[v.schemas(p),...b.schemas],b.debug=C,b}shadow(p,C){this.mainstay.shadow=this.mainstay.shadow||new v.Shadow,this.mainstay.shadow.set(this.path,p,C)}snapshot(){this.mainstay.shadow&&(this._snapshot=u(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},v.schemas=function(p){return g.isSchema(p)?{schema:p}:p},v.Shadow=class{constructor(){this._values=null}set(p,C,b){if(!p.length||"strip"===b&&"number"==typeof p[p.length-1])return;this._values=this._values||new Map;let _=this._values;for(let f=0;f{"use strict";const u=e(375),l=e(8571),g=e(5277),v=e(1447),p=e(8160),C=e(6354),b=e(6133),_={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};a.exports=_.Template=class{constructor(f,y){if(u("string"==typeof f,"Template source must be a string"),u(!f.includes("\0")&&!f.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=f,this.rendered=f,this._template=null,y){const{functions:S,...M}=y;this._settings=Object.keys(M).length?l(M):void 0,this._functions=S,this._functions&&(u(Object.keys(this._functions).every(w=>"string"==typeof w),"Functions keys must be strings"),u(Object.values(this._functions).every(w=>"function"==typeof w),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const f=_.encode(this.source),y=_.split(f);let S=!1;const M=[],w=y.shift();w&&M.push(w);for(const A of y){const O="{"!==A[0],F=O?"}":"}}",j=A.indexOf(F);if(-1===j||"{"===A[1]){M.push(`{${_.decode(A)}`);continue}let T=A.slice(O?0:1,j);const I=":"===T[0];I&&(T=T.slice(1));const k=this._ref(_.decode(T),{raw:O,wrapped:I});M.push(k),"string"!=typeof k&&(S=!0);const N=A.slice(j+F.length);N&&M.push(_.decode(N))}S?this._template=M:this.rendered=M.join("")}static date(f,y){return _.dateFormat[y.dateFormat].call(f)}describe(f={}){if(!this._settings&&f.compact)return this.source;const y={template:this.source};return this._settings&&(y.options=this._settings),this._functions&&(y.functions=this._functions),y}static build(f){return new _.Template(f.template,f.options||f.functions?{...f.options,functions:f.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(f){return!!f&&!!f[p.symbols.template]}refs(){if(!this._template)return;const f=[];for(const y of this._template)"string"!=typeof y&&f.push(...y.refs);return f}resolve(f,y,S,M){return this._template&&1===this._template.length?this._part(this._template[0],f,y,S,M,{}):this.render(f,y,S,M)}_part(f,...y){return f.ref?f.ref.resolve(...y):f.formula.evaluate(y)}render(f,y,S,M,w={}){if(!this.isDynamic())return this.rendered;const A=[];for(const O of this._template)if("string"==typeof O)A.push(O);else{const F=this._part(O,f,y,S,M,w),j=_.stringify(F,f,y,S,M,w);if(void 0!==j){const T=O.raw||!1===(w.errors&&w.errors.escapeHtml)?j:g(j);A.push(_.wrap(T,O.wrapped&&S.errors.wrap.label))}}return A.join("")}_ref(f,{raw:y,wrapped:S}){const M=[],w=O=>{const F=b.create(O,this._settings);return M.push(F),j=>{const T=F.resolve(...j);return void 0!==T?T:null}};try{const O=this._functions?{..._.functions,...this._functions}:_.functions;var A=new v.Parser(f,{reference:w,functions:O,constants:_.constants})}catch(O){throw O.message=`Invalid template variable "${f}" fails due to: ${O.message}`,O}if(A.single){if("reference"===A.single.type){const O=M[0];return{ref:O,raw:y,refs:M,wrapped:S||"local"===O.type&&"label"===O.key}}return _.stringify(A.single.value)}return{formula:A,raw:y,refs:M}}toString(){return this.source}},_.Template.prototype[p.symbols.template]=!0,_.Template.prototype.isImmutable=!0,_.encode=function(f){return f.replace(/\\(\{+)/g,(y,S)=>_.opens.slice(0,S.length)).replace(/\\(\}+)/g,(y,S)=>_.closes.slice(0,S.length))},_.decode=function(f){return f.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},_.split=function(f){const y=[];let S="";for(let M=0;M ${N.toString()}`);f=I}if(!Array.isArray(f))return f.toString();const T=[];for(const I of f)T.push(_.stringify(I,y,S,M,w,{arrayItems:!0,...A}));return _.wrap(T.join(", "),!j&&F.array)},_.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},_.functions={if:(f,y,S)=>f?y:S,length:f=>"string"==typeof f?f.length:f&&"object"==typeof f?Array.isArray(f)?f.length:Object.keys(f).length:null,msg(f){const[y,S,M,w,A]=this,O=A.messages;if(!O)return"";const F=C.template(y,O[0],f,S,M)||C.template(y,O[1],f,S,M);return F?F.render(y,S,M,w,A):""},number:f=>"number"==typeof f?f:"string"==typeof f?parseFloat(f):"boolean"==typeof f?f?1:0:f instanceof Date?f.getTime():null}},4946:(a,c,e)=>{"use strict";const u=e(375),l=e(1687),g=e(8068),v=e(8160),p=e(3292),C=e(6354),b=e(6133),_={};a.exports=g.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:b.toSibling}},args:(f,...y)=>1===y.length&&Array.isArray(y[0])?f.try(...y[0]):f.try(...y),validate(f,y){const{schema:S,error:M,state:w,prefs:A}=y;if(S._flags.match){const F=[],j=[];for(let I=0;IC.details(I,{override:!1}))})};if("one"===S._flags.match)return 1===F.length?{value:F[0]}:{errors:M("alternatives.one")};if(F.length!==S.$_terms.matches.length)return{errors:M("alternatives.all",{details:j.map(I=>C.details(I,{override:!1}))})};const T=I=>I.$_terms.matches.some(k=>"object"===k.schema.type||"alternatives"===k.schema.type&&T(k.schema));return T(S)?{value:F.reduce((I,k)=>l(I,k,{mergeArrays:!1}))}:{value:F[F.length-1]}}const O=[];for(let F=0;F"is"!==S.path[0]&&"string"!=typeof y._flags.label?y.label(f):void 0,ref:!1})}},rebuild(f){f.$_modify({each:y=>{v.isSchema(y)&&"array"===y.type&&f.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(f,y){if(y.matches)for(const S of y.matches){const{schema:M,ref:w,is:A,not:O,then:F,otherwise:j}=S;f=M?f.try(M):w?f.conditional(w,{is:A,then:F,not:O,otherwise:j,switch:S.switch}):f.conditional(A,{then:F,otherwise:j})}return f}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),_.errors=function(f,{error:y,state:S}){if(!f.length)return{errors:y("alternatives.any")};if(1===f.length)return{errors:f[0].reports};const M=new Set,w=[];for(const{reports:A,schema:O}of f){if(A.length>1)return _.unmatched(f,y);const F=A[0];if(F instanceof C.Report==0)return _.unmatched(f,y);if(F.state.path.length!==S.path.length){w.push({type:O.type,report:F});continue}if("any.only"===F.code){for(const I of F.local.valids)M.add(I);continue}const[j,T]=F.code.split(".");"base"===T?M.add(j):w.push({type:O.type,report:F})}return w.length?1===w.length?{errors:w[0].report}:_.unmatched(f,y):{errors:y("alternatives.types",{types:[...M]})}},_.unmatched=function(f,y){const S=[];for(const M of f)S.push(...M.reports);return{errors:y("alternatives.match",C.details(S,{override:!1}))}}},8068:(a,c,e)=>{"use strict";const u=e(375),l=e(7629),g=e(8160),v=e(6914);a.exports=l.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(p,C){return u("function"==typeof p,"Method must be a function"),u(void 0===C||C&&"string"==typeof C,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:p,description:C}})},validate(p,C,{method:b}){try{return b(p,C)}catch(_){return C.error("any.custom",{error:_})}},args:["method","description"],multi:!0},messages:{method(p){return this.prefs({messages:p})}},shared:{method(p){u(g.isSchema(p)&&p._flags.id,"Schema must be a schema with an id");const C=this.clone();return C.$_terms.shared=C.$_terms.shared||[],C.$_terms.shared.push(p),C.$_mutateRegister(p),C}},warning:{method(p,C){return u(p&&"string"==typeof p,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:p,local:C},warn:!0})},validate:(p,C,{code:b,local:_})=>C.error(b,_),args:["code","local"],multi:!0}},modifiers:{keep(p,C=!0){p.keep=C},message(p,C){p.message=v.compile(C)},warn(p,C=!0){p.warn=C}},manifest:{build(p,C){for(const b in C){const _=C[b];if(["examples","externals","metas","notes","tags"].includes(b))for(const f of _)p=p[b.slice(0,-1)](f);else if("alterations"!==b)if("whens"!==b){if("shared"===b)for(const f of _)p=p.shared(f)}else for(const f of _){const{ref:y,is:S,not:M,then:w,otherwise:A,concat:O}=f;p=O?p.concat(O):y?p.when(y,{is:S,not:M,then:w,otherwise:A,switch:f.switch,break:f.break}):p.when(S,{then:w,otherwise:A,break:f.break})}else{const f={};for(const{target:y,adjuster:S}of _)f[y]=S;p=p.alter(f)}}return p}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},546:(a,c,e)=>{"use strict";const u=e(375),l=e(9474),g=e(9621),v=e(8068),p=e(8160),C=e(3292),b={};a.exports=v.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(_,{schema:f,state:y,prefs:S}){if(!Array.isArray(_))return;const M=f.$_getRule("sort");return M?b.sort(f,_,M.args.options,y,S):void 0}},validate(_,{schema:f,error:y}){if(!Array.isArray(_)){if(f._flags.single){const S=[_];return S[p.symbols.arraySingle]=!0,{value:S}}return{errors:y("array.base")}}if(f.$_getRule("items")||f.$_terms.externals)return{value:_.slice()}},rules:{has:{method(_){_=this.$_compile(_,{appendPath:!0});const f=this.$_addRule({name:"has",args:{schema:_}});return f.$_mutateRegister(_),f},validate(_,{state:f,prefs:y,error:S},{schema:M}){const w=[_,...f.ancestors];for(let O=0;O<_.length;++O){const F=f.localize([...f.path,O],w,M);if(M.$_match(_[O],F,y))return _}const A=M._flags.label;return A?S("array.hasKnown",{patternLabel:A}):S("array.hasUnknown",null)},multi:!0},items:{method(..._){p.verifyFlat(_,"items");const f=this.$_addRule("items");for(let y=0;y<_.length;++y){const S=p.tryWithPath(()=>this.$_compile(_[y]),y,{append:!0});f.$_terms.items.push(S)}return f.$_mutateRebuild()},validate(_,{schema:f,error:y,state:S,prefs:M,errorsArray:w}){const A=f.$_terms._requireds.slice(),O=f.$_terms.ordered.slice(),F=[...f.$_terms._inclusions,...A],j=!_[p.symbols.arraySingle];delete _[p.symbols.arraySingle];const T=w();let I=_.length;for(let k=0;k="})}},ordered:{method(..._){p.verifyFlat(_,"ordered");const f=this.$_addRule("items");for(let y=0;y<_.length;++y){const S=p.tryWithPath(()=>this.$_compile(_[y]),y,{append:!0});b.validateSingle(S,f),f.$_mutateRegister(S),f.$_terms.ordered.push(S)}return f.$_mutateRebuild()}},single:{method(_){const f=void 0===_||!!_;return u(!f||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",f)}},sort:{method(_={}){p.assertOptions(_,["by","order"]);const f={order:_.order||"ascending"};return _.by&&(f.by=C.ref(_.by,{ancestor:0}),u(!f.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:f}})},validate(_,{error:f,state:y,prefs:S,schema:M},{options:w}){const{value:A,errors:O}=b.sort(M,_,w,y,S);if(O)return O;for(let F=0;F<_.length;++F)if(_[F]!==A[F])return f("array.sort",{order:w.order,by:w.by?w.by.key:"value"});return _},convert:!0},sparse:{method(_){const f=void 0===_||!!_;return this._flags.sparse===f?this:(f?this.clone():this.$_addRule("items")).$_setFlag("sparse",f,{clone:!1})}},unique:{method(_,f={}){u(!_||"function"==typeof _||"string"==typeof _,"comparator must be a function or a string"),p.assertOptions(f,["ignoreUndefined","separator"]);const y={name:"unique",args:{options:f,comparator:_}};if(_)if("string"==typeof _){const S=p.default(f.separator,".");y.path=S?_.split(S):[_]}else y.comparator=_;return this.$_addRule(y)},validate(_,{state:f,error:y},{comparator:M,options:w},{comparator:A,path:O}){const F={string:Object.create(null),number:Object.create(null),undefined:Object.create(null),boolean:Object.create(null),object:new Map,function:new Map,custom:new Map},j=A||l,T=w.ignoreUndefined;for(let I=0;I<_.length;++I){const k=O?g(_[I],O):_[I],N=A?F.custom:F[typeof k];if(u(N,"Failed to find unique map container for type",typeof k),N instanceof Map){const x=N.entries();let H;for(;!(H=x.next()).done;)if(j(H.value[0],k)){const G=f.localize([...f.path,I],[_,...f.ancestors]),te={pos:I,value:_[I],dupePos:H.value[1],dupeValue:_[H.value[1]]};return O&&(te.path=M),y("array.unique",te,G)}N.set(k,I)}else{if((!T||void 0!==k)&&void 0!==N[k]){const x={pos:I,value:_[I],dupePos:N[k],dupeValue:_[N[k]]};return O&&(x.path=M),y("array.unique",x,f.localize([...f.path,I],[_,...f.ancestors]))}N[k]=I}}return _},args:["comparator","options"],multi:!0}},cast:{set:{from:Array.isArray,to:(_,f)=>new Set(_)}},rebuild(_){_.$_terms._inclusions=[],_.$_terms._exclusions=[],_.$_terms._requireds=[];for(const f of _.$_terms.items)b.validateSingle(f,_),"required"===f._flags.presence?_.$_terms._requireds.push(f):"forbidden"===f._flags.presence?_.$_terms._exclusions.push(f):_.$_terms._inclusions.push(f);for(const f of _.$_terms.ordered)b.validateSingle(f,_)},manifest:{build:(_,f)=>(f.items&&(_=_.items(...f.items)),f.ordered&&(_=_.ordered(...f.ordered)),_)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),b.fillMissedErrors=function(_,f,y,S,M,w){const A=[];let O=0;for(const F of y){const j=F._flags.label;j?A.push(j):++O}f.push(A.length?O?_.$_createError("array.includesRequiredBoth",S,{knownMisses:A,unknownMisses:O},M,w):_.$_createError("array.includesRequiredKnowns",S,{knownMisses:A},M,w):_.$_createError("array.includesRequiredUnknowns",S,{unknownMisses:O},M,w))},b.fillOrderedErrors=function(_,f,y,S,M,w){const A=[];for(const O of y)"required"===O._flags.presence&&A.push(O);A.length&&b.fillMissedErrors(_,f,A,S,M,w)},b.fillDefault=function(_,f,y,S){const M=[];let w=!0;for(let A=_.length-1;A>=0;--A){const O=_[A],F=[f,...y.ancestors],j=O.$_validate(void 0,y.localize(y.path,F,O),S).value;if(w){if(void 0===j)continue;w=!1}M.unshift(j)}M.length&&f.push(...M)},b.fastSplice=function(_,f){let y=f;for(;y<_.length;)_[y++]=_[y];--_.length},b.validateSingle=function(_,f){("array"===_.type||_._flags._arrayItems)&&(u(!f._flags.single,"Cannot specify array item with single rule enabled"),f.$_setFlag("_arrayItems",!0,{clone:!1}))},b.sort=function(_,f,y,S,M){const w="ascending"===y.order?1:-1,A=-1*w,O=w,F=(j,T)=>{let I=b.compare(j,T,A,O);if(null!==I||(y.by&&(j=y.by.resolve(j,S,M),T=y.by.resolve(T,S,M)),I=b.compare(j,T,A,O),null!==I))return I;const k=typeof j;if(k!==typeof T)throw _.$_createError("array.sort.mismatching",f,null,S,M);if("number"!==k&&"string"!==k)throw _.$_createError("array.sort.unsupported",f,{type:k},S,M);return"number"===k?(j-T)*w:j{"use strict";const u=e(375),l=e(8068),g=e(8160),v=e(2036),p={isBool:function(C){return"boolean"==typeof C}};a.exports=l.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(C,{schema:b}){if("boolean"!=typeof C){if("string"==typeof C){const _=b._flags.sensitive?C:C.toLowerCase();C="true"===_||"false"!==_&&C}return"boolean"!=typeof C&&(C=b.$_terms.truthy&&b.$_terms.truthy.has(C,null,null,!b._flags.sensitive)||(!b.$_terms.falsy||!b.$_terms.falsy.has(C,null,null,!b._flags.sensitive))&&C),{value:C}}},validate(C,{error:b}){if("boolean"!=typeof C)return{value:C,errors:b("boolean.base")}},rules:{truthy:{method(...C){g.verifyFlat(C,"truthy");const b=this.clone();b.$_terms.truthy=b.$_terms.truthy||new v;for(let _=0;_C?1:0},string:{from:p.isBool,to:(C,b)=>C?"true":"false"}},manifest:{build:(C,b)=>(b.truthy&&(C=C.truthy(...b.truthy)),b.falsy&&(C=C.falsy(...b.falsy)),C)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(a,c,e)=>{"use strict";const u=e(375),l=e(8068),g=e(8160),v=e(3328),p={isDate:function(C){return C instanceof Date}};a.exports=l.extend({type:"date",coerce:{from:["number","string"],method:(C,{schema:b})=>({value:p.parse(C,b._flags.format)||C})},validate(C,{schema:b,error:_,prefs:f}){if(C instanceof Date&&!isNaN(C.getTime()))return;const y=b._flags.format;return f.convert&&y&&"string"==typeof C?{value:C,errors:_("date.format",{format:y})}:{value:C,errors:_("date.base")}},rules:{compare:{method:!1,validate(C,b,{date:_},{name:f,operator:y,args:S}){const M="now"===_?Date.now():_.getTime();return g.compare(C.getTime(),M,y)?C:b.error("date."+f,{limit:S.date,value:C})},args:[{name:"date",ref:!0,normalize:C=>"now"===C?C:p.parse(C),assert:C=>null!==C,message:"must have a valid date format"}]},format:{method(C){return u(["iso","javascript","unix"].includes(C),"Unknown date format",C),this.$_setFlag("format",C)}},greater:{method(C){return this.$_addRule({name:"greater",method:"compare",args:{date:C},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(C){return this.$_addRule({name:"less",method:"compare",args:{date:C},operator:"<"})}},max:{method(C){return this.$_addRule({name:"max",method:"compare",args:{date:C},operator:"<="})}},min:{method(C){return this.$_addRule({name:"min",method:"compare",args:{date:C},operator:">="})}},timestamp:{method(C="javascript"){return u(["javascript","unix"].includes(C),'"type" must be one of "javascript, unix"'),this.format(C)}}},cast:{number:{from:p.isDate,to:(C,b)=>C.getTime()},string:{from:p.isDate,to:(C,{prefs:b})=>v.date(C,b)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),p.parse=function(C,b){if(C instanceof Date)return C;if("string"!=typeof C&&(isNaN(C)||!isFinite(C))||/^\s*$/.test(C))return null;if("iso"===b)return g.isIsoDate(C)?p.date(C.toString()):null;const _=C;if("string"==typeof C&&/^[+-]?\d+(\.\d+)?$/.test(C)&&(C=parseFloat(C)),b){if("javascript"===b)return p.date(1*C);if("unix"===b)return p.date(1e3*C);if("string"==typeof _)return null}return p.date(C)},p.date=function(C){const b=new Date(C);return isNaN(b.getTime())?null:b}},390:(a,c,e)=>{"use strict";const u=e(375),l=e(7824);a.exports=l.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(g){return u(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:g}})},validate:(g,v,{n:p})=>g.length===p?g:v.error("function.arity",{n:p})},class:{method(){return this.$_addRule("class")},validate:(g,v)=>/^\s*class\s/.test(g.toString())?g:v.error("function.class",{value:g})},minArity:{method(g){return u(Number.isSafeInteger(g)&&g>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:g}})},validate:(g,v,{n:p})=>g.length>=p?g:v.error("function.minArity",{n:p})},maxArity:{method(g){return u(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:g}})},validate:(g,v,{n:p})=>g.length<=p?g:v.error("function.maxArity",{n:p})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},7824:(a,c,e)=>{"use strict";const u=e(978),l=e(375),g=e(8571),v=e(3652),p=e(8068),C=e(8160),b=e(3292),_=e(6354),f=e(6133),y=e(3328),S={renameDefaults:{alias:!1,multiple:!1,override:!1}};a.exports=p.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(M,w)=>M.keys(w),validate(M,{schema:w,error:A,state:O,prefs:F}){if(!M||typeof M!==w.$_property("typeof")||Array.isArray(M))return{value:M,errors:A("object.base",{type:w.$_property("typeof")})};if(!(w.$_terms.renames||w.$_terms.dependencies||w.$_terms.keys||w.$_terms.patterns||w.$_terms.externals))return;M=S.clone(M,F);const j=[];if(w.$_terms.renames&&!S.rename(w,M,O,F,j))return{value:M,errors:j};if(!w.$_terms.keys&&!w.$_terms.patterns&&!w.$_terms.dependencies)return{value:M,errors:j};const T=new Set(Object.keys(M));if(w.$_terms.keys){const I=[M,...O.ancestors];for(const k of w.$_terms.keys){const N=k.key,x=M[N];T.delete(N);const H=O.localize([...O.path,N],I,k),G=k.schema.$_validate(x,H,F);if(G.errors){if(F.abortEarly)return{value:M,errors:G.errors};void 0!==G.value&&(M[N]=G.value),j.push(...G.errors)}else"strip"===k.schema._flags.result||void 0===G.value&&void 0!==x?delete M[N]:void 0!==G.value&&(M[N]=G.value)}}if(T.size||w._flags._hasPatternMatch){const I=S.unknown(w,M,T,j,O,F);if(I)return I}if(w.$_terms.dependencies)for(const I of w.$_terms.dependencies){if(null!==I.key&&!1===S.isPresent(I.options)(I.key.resolve(M,O,F,null,{shadow:!1})))continue;const k=S.dependencies[I.rel](w,I,M,O,F);if(k){const N=w.$_createError(k.code,M,k.context,O,F);if(F.abortEarly)return{value:M,errors:N};j.push(N)}}return{value:M,errors:j}},rules:{and:{method(...M){return C.verifyFlat(M,"and"),S.dependency(this,"and",null,M)}},append:{method(M){return null==M||0===Object.keys(M).length?this:this.keys(M)}},assert:{method(M,w,A){y.isTemplate(M)||(M=b.ref(M)),l(void 0===A||"string"==typeof A,"Message must be a string"),w=this.$_compile(w,{appendPath:!0});const O=this.$_addRule({name:"assert",args:{subject:M,schema:w,message:A}});return O.$_mutateRegister(M),O.$_mutateRegister(w),O},validate(M,{error:w,prefs:A,state:O},{subject:F,schema:j,message:T}){const I=F.resolve(M,O,A),k=f.isRef(F)?F.absolute(O):[];return j.$_match(I,O.localize(k,[M,...O.ancestors],j),A)?M:w("object.assert",{subject:F,message:T})},args:["subject","schema","message"],multi:!0},instance:{method(M,w){return l("function"==typeof M,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:M,name:w=w||M.name}})},validate:(M,w,{constructor:A,name:O})=>M instanceof A?M:w.error("object.instance",{type:O,value:M}),args:["constructor","name"]},keys:{method(M){l(void 0===M||"object"==typeof M,"Object schema must be a valid object"),l(!C.isSchema(M),"Object schema cannot be a joi schema");const w=this.clone();if(M)if(Object.keys(M).length){w.$_terms.keys=w.$_terms.keys?w.$_terms.keys.filter(A=>!M.hasOwnProperty(A.key)):new S.Keys;for(const A in M)C.tryWithPath(()=>w.$_terms.keys.push({key:A,schema:this.$_compile(M[A])}),A)}else w.$_terms.keys=new S.Keys;else w.$_terms.keys=null;return w.$_mutateRebuild()}},length:{method(M){return this.$_addRule({name:"length",args:{limit:M},operator:"="})},validate:(M,w,{limit:A},{name:O,operator:F,args:j})=>C.compare(Object.keys(M).length,A,F)?M:w.error("object."+O,{limit:j.limit,value:M}),args:[{name:"limit",ref:!0,assert:C.limit,message:"must be a positive integer"}]},max:{method(M){return this.$_addRule({name:"max",method:"length",args:{limit:M},operator:"<="})}},min:{method(M){return this.$_addRule({name:"min",method:"length",args:{limit:M},operator:">="})}},nand:{method(...M){return C.verifyFlat(M,"nand"),S.dependency(this,"nand",null,M)}},or:{method(...M){return C.verifyFlat(M,"or"),S.dependency(this,"or",null,M)}},oxor:{method(...M){return S.dependency(this,"oxor",null,M)}},pattern:{method(M,w,A={}){const O=M instanceof RegExp;O||(M=this.$_compile(M,{appendPath:!0})),l(void 0!==w,"Invalid rule"),C.assertOptions(A,["fallthrough","matches"]),O&&l(!M.flags.includes("g")&&!M.flags.includes("y"),"pattern should not use global or sticky mode"),w=this.$_compile(w,{appendPath:!0});const F=this.clone();F.$_terms.patterns=F.$_terms.patterns||[];const j={[O?"regex":"schema"]:M,rule:w};return A.matches&&(j.matches=this.$_compile(A.matches),"array"!==j.matches.type&&(j.matches=j.matches.$_root.array().items(j.matches)),F.$_mutateRegister(j.matches),F.$_setFlag("_hasPatternMatch",!0,{clone:!1})),A.fallthrough&&(j.fallthrough=!0),F.$_terms.patterns.push(j),F.$_mutateRegister(w),F}},ref:{method(){return this.$_addRule("ref")},validate:(M,w)=>f.isRef(M)?M:w.error("object.refType",{value:M})},regex:{method(){return this.$_addRule("regex")},validate:(M,w)=>M instanceof RegExp?M:w.error("object.regex",{value:M})},rename:{method(M,w,A={}){l("string"==typeof M||M instanceof RegExp,"Rename missing the from argument"),l("string"==typeof w||w instanceof y,"Invalid rename to argument"),l(w!==M,"Cannot rename key to same name:",M),C.assertOptions(A,["alias","ignoreUndefined","override","multiple"]);const O=this.clone();O.$_terms.renames=O.$_terms.renames||[];for(const F of O.$_terms.renames)l(F.from!==M,"Cannot rename the same key multiple times");return w instanceof y&&O.$_mutateRegister(w),O.$_terms.renames.push({from:M,to:w,options:u(S.renameDefaults,A)}),O}},schema:{method(M="any"){return this.$_addRule({name:"schema",args:{type:M}})},validate:(M,w,{type:A})=>!C.isSchema(M)||"any"!==A&&M.type!==A?w.error("object.schema",{type:A}):M},unknown:{method(M){return this.$_setFlag("unknown",!1!==M)}},with:{method(M,w,A={}){return S.dependency(this,"with",M,w,A)}},without:{method(M,w,A={}){return S.dependency(this,"without",M,w,A)}},xor:{method(...M){return C.verifyFlat(M,"xor"),S.dependency(this,"xor",null,M)}}},overrides:{default(M,w){return void 0===M&&(M=C.symbols.deepDefault),this.$_parent("default",M,w)}},rebuild(M){if(M.$_terms.keys){const w=new v.Sorter;for(const A of M.$_terms.keys)C.tryWithPath(()=>w.add(A,{after:A.schema.$_rootReferences(),group:A.key}),A.key);M.$_terms.keys=new S.Keys(...w.nodes)}},manifest:{build(M,w){if(w.keys&&(M=M.keys(w.keys)),w.dependencies)for(const{rel:A,key:O=null,peers:F,options:j}of w.dependencies)M=S.dependency(M,A,O,F,j);if(w.patterns)for(const{regex:A,schema:O,rule:F,fallthrough:j,matches:T}of w.patterns)M=M.pattern(A||O,F,{fallthrough:j,matches:T});if(w.renames)for(const{from:A,to:O,options:F}of w.renames)M=M.rename(A,O,F);return M}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),S.clone=function(M,w){if("object"==typeof M){if(w.nonEnumerables)return g(M,{shallow:!0});const O=Object.create(Object.getPrototypeOf(M));return Object.assign(O,M),O}const A=function(...O){return M.apply(this,O)};return A.prototype=g(M.prototype),Object.defineProperty(A,"name",{value:M.name,writable:!1}),Object.defineProperty(A,"length",{value:M.length,writable:!1}),Object.assign(A,M),A},S.dependency=function(M,w,A,O,F){l(null===A||"string"==typeof A,w,"key must be a strings"),F||(F=O.length>1&&"object"==typeof O[O.length-1]?O.pop():{}),C.assertOptions(F,["separator","isPresent"]),O=[].concat(O);const j=C.default(F.separator,"."),T=[];for(const k of O)l("string"==typeof k,w,"peers must be strings"),T.push(b.ref(k,{separator:j,ancestor:0,prefix:!1}));null!==A&&(A=b.ref(A,{separator:j,ancestor:0,prefix:!1}));const I=M.clone();return I.$_terms.dependencies=I.$_terms.dependencies||[],I.$_terms.dependencies.push(new S.Dependency(w,A,T,O,F)),I},S.dependencies={and(M,w,A,O,F){const j=[],T=[],I=w.peers.length,k=S.isPresent(w.options);for(const N of w.peers)!1===k(N.resolve(A,O,F,null,{shadow:!1}))?j.push(N.key):T.push(N.key);if(j.length!==I&&T.length!==I)return{code:"object.and",context:{present:T,presentWithLabels:S.keysToLabels(M,T),missing:j,missingWithLabels:S.keysToLabels(M,j)}}},nand(M,w,A,O,F){const j=[],T=S.isPresent(w.options);for(const N of w.peers)T(N.resolve(A,O,F,null,{shadow:!1}))&&j.push(N.key);if(j.length!==w.peers.length)return;const I=w.paths[0],k=w.paths.slice(1);return{code:"object.nand",context:{main:I,mainWithLabel:S.keysToLabels(M,I),peers:k,peersWithLabels:S.keysToLabels(M,k)}}},or(M,w,A,O,F){const j=S.isPresent(w.options);for(const T of w.peers)if(j(T.resolve(A,O,F,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:w.paths,peersWithLabels:S.keysToLabels(M,w.paths)}}},oxor(M,w,A,O,F){const j=[],T=S.isPresent(w.options);for(const k of w.peers)T(k.resolve(A,O,F,null,{shadow:!1}))&&j.push(k.key);if(!j.length||1===j.length)return;const I={peers:w.paths,peersWithLabels:S.keysToLabels(M,w.paths)};return I.present=j,I.presentWithLabels=S.keysToLabels(M,j),{code:"object.oxor",context:I}},with(M,w,A,O,F){const j=S.isPresent(w.options);for(const T of w.peers)if(!1===j(T.resolve(A,O,F,null,{shadow:!1})))return{code:"object.with",context:{main:w.key.key,mainWithLabel:S.keysToLabels(M,w.key.key),peer:T.key,peerWithLabel:S.keysToLabels(M,T.key)}}},without(M,w,A,O,F){const j=S.isPresent(w.options);for(const T of w.peers)if(j(T.resolve(A,O,F,null,{shadow:!1})))return{code:"object.without",context:{main:w.key.key,mainWithLabel:S.keysToLabels(M,w.key.key),peer:T.key,peerWithLabel:S.keysToLabels(M,T.key)}}},xor(M,w,A,O,F){const j=[],T=S.isPresent(w.options);for(const k of w.peers)T(k.resolve(A,O,F,null,{shadow:!1}))&&j.push(k.key);if(1===j.length)return;const I={peers:w.paths,peersWithLabels:S.keysToLabels(M,w.paths)};return 0===j.length?{code:"object.missing",context:I}:(I.present=j,I.presentWithLabels=S.keysToLabels(M,j),{code:"object.xor",context:I})}},S.keysToLabels=function(M,w){return Array.isArray(w)?w.map(A=>M.$_mapLabels(A)):M.$_mapLabels(w)},S.isPresent=function(M){return"function"==typeof M.isPresent?M.isPresent:w=>void 0!==w},S.rename=function(M,w,A,O,F){const j={};for(const T of M.$_terms.renames){const I=[],k="string"!=typeof T.from;if(k)for(const N in w){if(void 0===w[N]&&T.options.ignoreUndefined||N===T.to)continue;const x=T.from.exec(N);x&&I.push({from:N,to:T.to,match:x})}else!Object.prototype.hasOwnProperty.call(w,T.from)||void 0===w[T.from]&&T.options.ignoreUndefined||I.push(T);for(const N of I){const x=N.from;let H=N.to;if(H instanceof y&&(H=H.render(w,A,O,N.match)),x!==H){if(!T.options.multiple&&j[H]&&(F.push(M.$_createError("object.rename.multiple",w,{from:x,to:H,pattern:k},A,O)),O.abortEarly)||Object.prototype.hasOwnProperty.call(w,H)&&!T.options.override&&!j[H]&&(F.push(M.$_createError("object.rename.override",w,{from:x,to:H,pattern:k},A,O)),O.abortEarly))return!1;void 0===w[x]?delete w[H]:w[H]=w[x],j[H]=!0,T.options.alias||delete w[x]}}}return!0},S.unknown=function(M,w,A,O,F,j){if(M.$_terms.patterns){let T=!1;const I=M.$_terms.patterns.map(N=>{if(N.matches)return T=!0,[]}),k=[w,...F.ancestors];for(const N of A){const x=w[N],H=[...F.path,N];for(let G=0;G{"use strict";const u=e(375),l=e(8068),g=e(8160),v=e(3292),p=e(6354),C={};a.exports=l.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(b,_)=>b.ref(_),validate(b,{schema:_,state:f,prefs:y}){u(_.$_terms.link,"Uninitialized link schema");const S=C.generate(_,b,f,y);return S.$_validate(b,f.nest(S,`link:${_.$_terms.link[0].ref.display}:${S.type}`),y)},generate:(b,_,f,y)=>C.generate(b,_,f,y),rules:{ref:{method(b){u(!this.$_terms.link,"Cannot reinitialize schema"),b=v.ref(b),u("value"===b.type||"local"===b.type,"Invalid reference type:",b.type),u("local"===b.type||"root"===b.ancestor||b.ancestor>0,"Link cannot reference itself");const _=this.clone();return _.$_terms.link=[{ref:b}],_}},relative:{method(b=!0){return this.$_setFlag("relative",b)}}},overrides:{concat(b){u(this.$_terms.link,"Uninitialized link schema"),u(g.isSchema(b),"Invalid schema object"),u("link"!==b.type,"Cannot merge type link with another link");const _=this.clone();return _.$_terms.whens||(_.$_terms.whens=[]),_.$_terms.whens.push({concat:b}),_.$_mutateRebuild()}},manifest:{build:(b,_)=>(u(_.link,"Invalid link description missing link"),b.ref(_.link))}}),C.generate=function(b,_,f,y){let S=f.mainstay.links.get(b);if(S)return S._generate(_,f,y).schema;const M=b.$_terms.link[0].ref,{perspective:w,path:A}=C.perspective(M,f);C.assert(w,"which is outside of schema boundaries",M,b,f,y);try{S=A.length?w.$_reach(A):w}catch{C.assert(!1,"to non-existing schema",M,b,f,y)}return C.assert("link"!==S.type,"which is another link",M,b,f,y),b._flags.relative||f.mainstay.links.set(b,S),S._generate(_,f,y).schema},C.perspective=function(b,_){if("local"===b.type){for(const{schema:f,key:y}of _.schemas){if((f._flags.id||y)===b.path[0])return{perspective:f,path:b.path.slice(1)};if(f.$_terms.shared)for(const S of f.$_terms.shared)if(S._flags.id===b.path[0])return{perspective:S,path:b.path.slice(1)}}return{perspective:null,path:null}}return"root"===b.ancestor?{perspective:_.schemas[_.schemas.length-1].schema,path:b.path}:{perspective:_.schemas[b.ancestor]&&_.schemas[b.ancestor].schema,path:b.path}},C.assert=function(b,_,f,y,S,M){b||u(!1,`"${p.label(y._flags,S,M)}" contains link reference "${f.display}" ${_}`)}},3832:(a,c,e)=>{"use strict";const u=e(375),l=e(8068),g=e(8160),v={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(p){const C=p.toString(),b=C.indexOf("."),_=C.indexOf("e");return(b<0?0:(_<0?C.length:_)-b-1)+(_<0?0:Math.max(0,-parseInt(C.slice(_+1))))}};a.exports=l.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(p,{schema:C,error:b}){if(!p.match(v.numberRx))return;p=p.trim();const _={value:parseFloat(p)};if(0===_.value&&(_.value=0),!C._flags.unsafe)if(p.match(/e/i)){if(v.extractSignificantDigits(p)!==v.extractSignificantDigits(String(_.value)))return _.errors=b("number.unsafe"),_}else{const f=_.value.toString();if(f.match(/e/i))return _;if(f!==v.normalizeDecimal(p))return _.errors=b("number.unsafe"),_}return _}},validate(p,{schema:C,error:b,prefs:_}){if(p===1/0||p===-1/0)return{value:p,errors:b("number.infinity")};if(!g.isNumber(p))return{value:p,errors:b("number.base")};const f={value:p};if(_.convert){const y=C.$_getRule("precision");if(y){const S=Math.pow(10,y.args.limit);f.value=Math.round(f.value*S)/S}}return 0===f.value&&(f.value=0),!C._flags.unsafe&&(p>Number.MAX_SAFE_INTEGER||pg.compare(p,b,f)?p:C.error("number."+_,{limit:y.limit,value:p}),args:[{name:"limit",ref:!0,assert:g.isNumber,message:"must be a number"}]},greater:{method(p){return this.$_addRule({name:"greater",method:"compare",args:{limit:p},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(p,C)=>Math.trunc(p)-p==0?p:C.error("number.integer")},less:{method(p){return this.$_addRule({name:"less",method:"compare",args:{limit:p},operator:"<"})}},max:{method(p){return this.$_addRule({name:"max",method:"compare",args:{limit:p},operator:"<="})}},min:{method(p){return this.$_addRule({name:"min",method:"compare",args:{limit:p},operator:">="})}},multiple:{method(p){const C="number"==typeof p?v.decimalPlaces(p):null,b=Math.pow(10,C);return this.$_addRule({name:"multiple",args:{base:p,baseDecimalPlace:C,pfactor:b}})},validate:(p,C,{base:b,baseDecimalPlace:_,pfactor:f},y)=>v.decimalPlaces(p)>_?C.error("number.multiple",{multiple:y.args.base,value:p}):Math.round(f*p)%Math.round(f*b)==0?p:C.error("number.multiple",{multiple:y.args.base,value:p}),args:[{name:"base",ref:!0,assert:p=>"number"==typeof p&&isFinite(p)&&p>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(p,C)=>Number.isSafeInteger(p)&&p>=0&&p<=65535?p:C.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(p){return u(Number.isSafeInteger(p),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:p}})},validate(p,C,{limit:b}){const _=p.toString().match(v.precisionRx);return Math.max((_[1]?_[1].length:0)-(_[2]?parseInt(_[2],10):0),0)<=b?p:C.error("number.precision",{limit:b,value:p})},convert:!0},sign:{method(p){return u(["negative","positive"].includes(p),"Invalid sign",p),this.$_addRule({name:"sign",args:{sign:p}})},validate:(p,C,{sign:b})=>"negative"===b&&p<0||"positive"===b&&p>0?p:C.error(`number.${b}`)},unsafe:{method(p=!0){return u("boolean"==typeof p,"enabled must be a boolean"),this.$_setFlag("unsafe",p)}}},cast:{string:{from:p=>"number"==typeof p,to:(p,C)=>p.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),v.extractSignificantDigits=function(p){return p.replace(v.exponentialPartRegex,"").replace(v.dotRegex,"").replace(v.trailingZerosRegex,"").replace(v.leadingSignAndZerosRegex,"")},v.normalizeDecimal=function(p){return(p=p.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&p.endsWith("0")&&(p=p.replace(/0+$/,"")),"-0"===p?"0":p}},8966:(a,c,e)=>{"use strict";const u=e(7824);a.exports=u.extend({type:"object",cast:{map:{from:l=>l&&"object"==typeof l,to:(l,g)=>new Map(Object.entries(l))}}})},7417:(a,c,e)=>{"use strict";const u=e(375),l=e(5380),g=e(1745),v=e(9959),p=e(6064),C=e(9926),b=e(5752),_=e(8068),f=e(8160),y={tlds:C instanceof Set&&{tlds:{allow:C,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:v.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};a.exports=_.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(S,{schema:M,state:w,prefs:A}){const O=M.$_getRule("normalize");O&&(S=S.normalize(O.args.form));const F=M.$_getRule("case");F&&(S="upper"===F.args.direction?S.toLocaleUpperCase():S.toLocaleLowerCase());const j=M.$_getRule("trim");if(j&&j.args.enabled&&(S=S.trim()),M.$_terms.replacements)for(const I of M.$_terms.replacements)S=S.replace(I.pattern,I.replacement);const T=M.$_getRule("hex");if(T&&T.args.options.byteAligned&&S.length%2!=0&&(S=`0${S}`),M.$_getRule("isoDate")){const I=y.isoDate(S);I&&(S=I)}if(M._flags.truncate){const I=M.$_getRule("max");if(I){let k=I.args.limit;if(f.isResolvable(k)&&(k=k.resolve(S,w,A),!f.limit(k)))return{value:S,errors:M.$_createError("any.ref",k,{ref:I.args.limit,arg:"limit",reason:"must be a positive integer"},w,A)};S=S.slice(0,k)}}return{value:S}}},validate(S,{schema:M,error:w}){if("string"!=typeof S)return{value:S,errors:w("string.base")};if(""===S){const A=M.$_getRule("min");return A&&0===A.args.limit?void 0:{value:S,errors:w("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(S,M)=>/^[a-zA-Z0-9]+$/.test(S)?S:M.error("string.alphanum")},base64:{method(S={}){return f.assertOptions(S,["paddingRequired","urlSafe"]),S={urlSafe:!1,paddingRequired:!0,...S},u("boolean"==typeof S.paddingRequired,"paddingRequired must be boolean"),u("boolean"==typeof S.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:S}})},validate:(S,M,{options:w})=>y.base64Regex[w.paddingRequired][w.urlSafe].test(S)?S:M.error("string.base64")},case:{method(S){return u(["lower","upper"].includes(S),"Invalid case:",S),this.$_addRule({name:"case",args:{direction:S}})},validate:(S,M,{direction:w})=>"lower"===w&&S===S.toLocaleLowerCase()||"upper"===w&&S===S.toLocaleUpperCase()?S:M.error(`string.${w}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(S,M){let w=S.length,A=0,O=1;for(;w--;){const F=S.charAt(w)*O;A+=F-9*(F>9),O^=3}return A>0&&A%10==0?S:M.error("string.creditCard")}},dataUri:{method(S={}){return f.assertOptions(S,["paddingRequired"]),S={paddingRequired:!0,...S},u("boolean"==typeof S.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:S}})},validate(S,M,{options:w}){const A=S.match(y.dataUriRegex);return!A||A[2]&&"base64"===A[2]&&!y.base64Regex[w.paddingRequired].false.test(A[3])?M.error("string.dataUri"):S}},domain:{method(S){S&&f.assertOptions(S,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const M=y.addressOptions(S);return this.$_addRule({name:"domain",args:{options:S},address:M})},validate:(S,M,w,{address:A})=>l.isValid(S,A)?S:M.error("string.domain")},email:{method(S={}){f.assertOptions(S,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),u(void 0===S.multiple||"boolean"==typeof S.multiple,"multiple option must be an boolean");const M=y.addressOptions(S),w=new RegExp(`\\s*[${S.separator?p(S.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:S},regex:w,address:M})},validate(S,M,{options:w},{regex:A,address:O}){const F=w.multiple?S.split(A):[S],j=[];for(const T of F)g.isValid(T,O)||j.push(T);return j.length?M.error("string.email",{value:S,invalids:j}):S}},guid:{alias:"uuid",method(S={}){f.assertOptions(S,["version","separator"]);let M="";if(S.version){const O=[].concat(S.version);u(O.length>=1,"version must have at least 1 valid version specified");const F=new Set;for(let j=0;j("optional"===w.prefix?y.hexRegex.withOptionalPrefix:!0===w.prefix?y.hexRegex.withPrefix:y.hexRegex.withoutPrefix).test(S)?w.byteAligned&&S.length%2!=0?M.error("string.hexAlign"):S:M.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(S,M)=>l.isValid(S,{minDomainSegments:1})||y.ipRegex.test(S)?S:M.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(S={}){f.assertOptions(S,["cidr","version"]);const{cidr:M,versions:w,regex:A}=v.regex(S);return this.$_addRule({name:"ip",args:{options:{cidr:M,version:S.version?w:void 0}},regex:A})},validate:(S,M,{options:w},{regex:A})=>A.test(S)?S:w.version?M.error("string.ipVersion",{value:S,cidr:w.cidr,version:w.version}):M.error("string.ip",{value:S,cidr:w.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(S,{error:M})=>y.isoDate(S)?S:M("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(S,M)=>y.isoDurationRegex.test(S)?S:M.error("string.isoDuration")},length:{method(S,M){return y.length(this,"length",S,"=",M)},validate:(S,M,{limit:w,encoding:A},{name:O,operator:F,args:j})=>f.compare(!A&&S.length,w,F)?S:M.error("string."+O,{limit:j.limit,value:S,encoding:A}),args:[{name:"limit",ref:!0,assert:f.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(S,M){return y.length(this,"max",S,"<=",M)},args:["limit","encoding"]},min:{method(S,M){return y.length(this,"min",S,">=",M)},args:["limit","encoding"]},normalize:{method(S="NFC"){return u(y.normalizationForms.includes(S),"normalization form must be one of "+y.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:S}})},validate:(S,{error:M},{form:w})=>S===S.normalize(w)?S:M("string.normalize",{value:S,form:w}),convert:!0},pattern:{alias:"regex",method(S,M={}){u(S instanceof RegExp,"regex must be a RegExp"),u(!S.flags.includes("g")&&!S.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof M&&(M={name:M}),f.assertOptions(M,["invert","name"]);const w=["string.pattern",M.invert?".invert":"",M.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:S,options:M},errorCode:w})},validate:(S,M,{regex:w,options:A},{errorCode:O})=>w.test(S)^A.invert?S:M.error(O,{name:A.name,regex:w,value:S}),args:["regex","options"],multi:!0},replace:{method(S,M){"string"==typeof S&&(S=new RegExp(p(S),"g")),u(S instanceof RegExp,"pattern must be a RegExp"),u("string"==typeof M,"replacement must be a String");const w=this.clone();return w.$_terms.replacements||(w.$_terms.replacements=[]),w.$_terms.replacements.push({pattern:S,replacement:M}),w}},token:{method(){return this.$_addRule("token")},validate:(S,M)=>/^\w+$/.test(S)?S:M.error("string.token")},trim:{method(S=!0){return u("boolean"==typeof S,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:S}})},validate:(S,M,{enabled:w})=>w&&S!==S.trim()?M.error("string.trim"):S,convert:!0},truncate:{method(S=!0){return u("boolean"==typeof S,"enabled must be a boolean"),this.$_setFlag("truncate",S)}},uppercase:{method(){return this.case("upper")}},uri:{method(S={}){f.assertOptions(S,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),S.domain&&f.assertOptions(S.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:M,scheme:w}=b.regex(S),A=S.domain?y.addressOptions(S.domain):null;return this.$_addRule({name:"uri",args:{options:S},regex:M,domain:A,scheme:w})},validate(S,M,{options:w},{regex:A,domain:O,scheme:F}){if(["http:/","https:/"].includes(S))return M.error("string.uri");const j=A.exec(S);if(j){const T=j[1]||j[2];return!O||w.allowRelative&&!T||l.isValid(T,O)?S:M.error("string.domain",{value:T})}return w.relativeOnly?M.error("string.uriRelativeOnly"):w.scheme?M.error("string.uriCustomScheme",{scheme:F,value:S}):M.error("string.uri")}}},manifest:{build(S,M){if(M.replacements)for(const{pattern:w,replacement:A}of M.replacements)S=S.replace(w,A);return S}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),y.addressOptions=function(S){if(!S)return y.tlds||S;if(u(void 0===S.minDomainSegments||Number.isSafeInteger(S.minDomainSegments)&&S.minDomainSegments>0,"minDomainSegments must be a positive integer"),u(void 0===S.maxDomainSegments||Number.isSafeInteger(S.maxDomainSegments)&&S.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===S.tlds)return S;if(!0===S.tlds||void 0===S.tlds)return u(y.tlds,"Built-in TLD list disabled"),Object.assign({},S,y.tlds);u("object"==typeof S.tlds,"tlds must be true, false, or an object");const M=S.tlds.deny;if(M)return Array.isArray(M)&&(S=Object.assign({},S,{tlds:{deny:new Set(M)}})),u(S.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),u(!S.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),y.validateTlds(S.tlds.deny,"tlds.deny"),S;const w=S.tlds.allow;return w?!0===w?(u(y.tlds,"Built-in TLD list disabled"),Object.assign({},S,y.tlds)):(Array.isArray(w)&&(S=Object.assign({},S,{tlds:{allow:new Set(w)}})),u(S.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),y.validateTlds(S.tlds.allow,"tlds.allow"),S):S},y.validateTlds=function(S,M){for(const w of S)u(l.isValid(w,{minDomainSegments:1,maxDomainSegments:1}),`${M} must contain valid top level domain names`)},y.isoDate=function(S){if(!f.isIsoDate(S))return null;/.*T.*[+-]\d\d$/.test(S)&&(S+="00");const M=new Date(S);return isNaN(M.getTime())?null:M.toISOString()},y.length=function(S,M,w,A,O){return u(!O||!1,"Invalid encoding:",O),S.$_addRule({name:M,method:"length",args:{limit:w,encoding:O},operator:A})}},8826:(a,c,e)=>{"use strict";const u=e(375),l=e(8068),g={};g.Map=class extends Map{slice(){return new g.Map(this)}},a.exports=l.extend({type:"symbol",terms:{map:{init:new g.Map}},coerce:{method(v,{schema:p,error:C}){const b=p.$_terms.map.get(v);return b&&(v=b),p._flags.only&&"symbol"!=typeof v?{value:v,errors:C("symbol.map",{map:p.$_terms.map})}:{value:v}}},validate(v,{error:p}){if("symbol"!=typeof v)return{value:v,errors:p("symbol.base")}},rules:{map:{method(v){v&&!v[Symbol.iterator]&&"object"==typeof v&&(v=Object.entries(v)),u(v&&v[Symbol.iterator],"Iterable must be an iterable or object");const p=this.clone(),C=[];for(const b of v){u(b&&b[Symbol.iterator],"Entry must be an iterable");const[_,f]=b;u("object"!=typeof _&&"function"!=typeof _&&"symbol"!=typeof _,"Key must not be of type object, function, or Symbol"),u("symbol"==typeof f,"Value must be a Symbol"),p.$_terms.map.set(_,f),C.push(f)}return p.valid(...C)}}},manifest:{build:(v,p)=>(p.map&&(v=v.map(p.map)),v)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(738),v=e(9621),p=e(8160),C=e(6354),b=e(493),_={result:Symbol("result")};c.entry=function(f,y,S){let M=p.defaults;S&&(u(void 0===S.warnings,"Cannot override warnings preference in synchronous validation"),u(void 0===S.artifacts,"Cannot override artifacts preference in synchronous validation"),M=p.preferences(p.defaults,S));const w=_.entry(f,y,M);u(!w.mainstay.externals.length,"Schema with external rules must use validateAsync()");const A={value:w.value};return w.error&&(A.error=w.error),w.mainstay.warnings.length&&(A.warning=C.details(w.mainstay.warnings)),w.mainstay.debug&&(A.debug=w.mainstay.debug),w.mainstay.artifacts&&(A.artifacts=w.mainstay.artifacts),A},c.entryAsync=function(){var f=n(function*(y,S,M){let w=p.defaults;M&&(w=p.preferences(p.defaults,M));const A=_.entry(y,S,w),O=A.mainstay;if(A.error)throw O.debug&&(A.error.debug=O.debug),A.error;if(O.externals.length){let j=A.value;const T=[];for(const I of O.externals){const k=I.state.path,N="link"===I.schema.type?O.links.get(I.schema):null;let x,H,G=j;const te=k.length?[j]:[],ce=k.length?v(y,k):y;if(k.length){x=k[k.length-1];let se=j;for(const K of k.slice(0,-1))se=se[K],te.unshift(se);H=te[0],G=H[x]}try{const se=(Z,re)=>(N||I.schema).$_createError(Z,G,re,I.state,w),K=yield I.method(G,{schema:I.schema,linked:N,state:I.state,prefs:M,original:ce,error:se,errorsArray:_.errorsArray,warn:(Z,re)=>O.warnings.push((N||I.schema).$_createError(Z,G,re,I.state,w)),message:(Z,re)=>(N||I.schema).$_createError("external",G,re,I.state,w,{messages:Z})});if(void 0===K||K===G)continue;if(K instanceof C.Report){if(O.tracer.log(I.schema,I.state,"rule","external","error"),T.push(K),w.abortEarly)break;continue}if(Array.isArray(K)&&K[p.symbols.errors]){if(O.tracer.log(I.schema,I.state,"rule","external","error"),T.push(...K),w.abortEarly)break;continue}H?(O.tracer.value(I.state,"rule",G,K,"external"),H[x]=K):(O.tracer.value(I.state,"rule",j,K,"external"),j=K)}catch(se){throw w.errors.label&&(se.message+=` (${I.label})`),se}}if(A.value=j,T.length)throw A.error=C.process(T,y,w),O.debug&&(A.error.debug=O.debug),A.error}if(!w.warnings&&!w.debug&&!w.artifacts)return A.value;const F={value:A.value};return O.warnings.length&&(F.warning=C.details(O.warnings)),O.debug&&(F.debug=O.debug),O.artifacts&&(F.artifacts=O.artifacts),F});return function(y,S,M){return f.apply(this,arguments)}}(),_.Mainstay=class{constructor(f,y,S){this.externals=[],this.warnings=[],this.tracer=f,this.debug=y,this.links=S,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const f=this._snapshots.pop();this.externals=f.externals,this.warnings=f.warnings}commit(){this._snapshots.pop()}},_.entry=function(f,y,S){const{tracer:M,cleanup:w}=_.tracer(y,S),F=new _.Mainstay(M,S.debug?[]:null,y._ids._schemaChain?new Map:null),T=new b([],[],{mainstay:F,schemas:y._ids._schemaChain?[{schema:y}]:null}),I=c.validate(f,y,T,S);w&&y.$_root.untrace();const k=C.process(I.errors,f,S);return{value:I.value,error:k,mainstay:F}},_.tracer=function(f,y){return f.$_root._tracer?{tracer:f.$_root._tracer._register(f)}:y.debug?(u(f.$_root.trace,"Debug mode not supported"),{tracer:f.$_root.trace()._register(f),cleanup:!0}):{tracer:_.ignore}},c.validate=function(f,y,S,M,w={}){if(y.$_terms.whens&&(y=y._generate(f,S,M).schema),y._preferences&&(M=_.prefs(y,M)),y._cache&&M.cache){const k=y._cache.get(f);if(S.mainstay.tracer.debug(S,"validate","cached",!!k),k)return k}const A=(k,N,x)=>y.$_createError(k,f,N,x||S,M),O={original:f,prefs:M,schema:y,state:S,error:A,errorsArray:_.errorsArray,warn:(k,N,x)=>S.mainstay.warnings.push(A(k,N,x)),message:(k,N)=>y.$_createError("custom",f,N,S,M,{messages:k})};S.mainstay.tracer.entry(y,S);const F=y._definition;if(F.prepare&&void 0!==f&&M.convert){const k=F.prepare(f,O);if(k){if(S.mainstay.tracer.value(S,"prepare",f,k.value),k.errors)return _.finalize(k.value,[].concat(k.errors),O);f=k.value}}if(F.coerce&&void 0!==f&&M.convert&&(!F.coerce.from||F.coerce.from.includes(typeof f))){const k=F.coerce.method(f,O);if(k){if(S.mainstay.tracer.value(S,"coerced",f,k.value),k.errors)return _.finalize(k.value,[].concat(k.errors),O);f=k.value}}const j=y._flags.empty;j&&j.$_match(_.trim(f,y),S.nest(j),p.defaults)&&(S.mainstay.tracer.value(S,"empty",f,void 0),f=void 0);const T=w.presence||y._flags.presence||(y._flags._endedSwitch?null:M.presence);if(void 0===f){if("forbidden"===T)return _.finalize(f,null,O);if("required"===T)return _.finalize(f,[y.$_createError("any.required",f,null,S,M)],O);if("optional"===T){if(y._flags.default!==p.symbols.deepDefault)return _.finalize(f,null,O);S.mainstay.tracer.value(S,"default",f,{}),f={}}}else if("forbidden"===T)return _.finalize(f,[y.$_createError("any.unknown",f,null,S,M)],O);const I=[];if(y._valids){const k=y._valids.get(f,S,M,y._flags.insensitive);if(k)return M.convert&&(S.mainstay.tracer.value(S,"valids",f,k.value),f=k.value),S.mainstay.tracer.filter(y,S,"valid",k),_.finalize(f,null,O);if(y._flags.only){const N=y.$_createError("any.only",f,{valids:y._valids.values({display:!0})},S,M);if(M.abortEarly)return _.finalize(f,[N],O);I.push(N)}}if(y._invalids){const k=y._invalids.get(f,S,M,y._flags.insensitive);if(k){S.mainstay.tracer.filter(y,S,"invalid",k);const N=y.$_createError("any.invalid",f,{invalids:y._invalids.values({display:!0})},S,M);if(M.abortEarly)return _.finalize(f,[N],O);I.push(N)}}if(F.validate){const k=F.validate(f,O);if(k&&(S.mainstay.tracer.value(S,"base",f,k.value),f=k.value,k.errors)){if(!Array.isArray(k.errors))return I.push(k.errors),_.finalize(f,I,O);if(k.errors.length)return I.push(...k.errors),_.finalize(f,I,O)}}return y._rules.length?_.rules(f,I,O):_.finalize(f,I,O)},_.rules=function(f,y,S){const{schema:M,state:w,prefs:A}=S;for(const O of M._rules){const F=M._definition.rules[O.method];if(F.convert&&A.convert){w.mainstay.tracer.log(M,w,"rule",O.name,"full");continue}let j,T=O.args;if(O._resolve.length){T=Object.assign({},T);for(const k of O._resolve){const N=F.argsByName.get(k),x=T[k].resolve(f,w,A),H=N.normalize?N.normalize(x):x,G=p.validateArg(H,null,N);if(G){j=M.$_createError("any.ref",x,{arg:k,ref:T[k],reason:G},w,A);break}T[k]=H}}j=j||F.validate(f,S,T,O);const I=_.rule(j,O);if(I.errors){if(w.mainstay.tracer.log(M,w,"rule",O.name,"error"),O.warn){w.mainstay.warnings.push(...I.errors);continue}if(A.abortEarly)return _.finalize(f,I.errors,S);y.push(...I.errors)}else w.mainstay.tracer.log(M,w,"rule",O.name,"pass"),w.mainstay.tracer.value(w,"rule",f,I.value,O.name),f=I.value}return _.finalize(f,y,S)},_.rule=function(f,y){return f instanceof C.Report?(_.error(f,y),{errors:[f],value:null}):Array.isArray(f)&&f[p.symbols.errors]?(f.forEach(S=>_.error(S,y)),{errors:f,value:null}):{errors:null,value:f}},_.error=function(f,y){return y.message&&f._setTemplate(y.message),f},_.finalize=function(f,y,S){y=y||[];const{schema:M,state:w,prefs:A}=S;if(y.length){const F=_.default("failover",void 0,y,S);void 0!==F&&(w.mainstay.tracer.value(w,"failover",f,F),f=F,y=[])}if(y.length&&M._flags.error)if("function"==typeof M._flags.error){y=M._flags.error(y),Array.isArray(y)||(y=[y]);for(const F of y)u(F instanceof Error||F instanceof C.Report,"error() must return an Error object")}else y=[M._flags.error];if(void 0===f){const F=_.default("default",f,y,S);w.mainstay.tracer.value(w,"default",f,F),f=F}if(M._flags.cast&&void 0!==f){const F=M._definition.cast[M._flags.cast];if(F.from(f)){const j=F.to(f,S);w.mainstay.tracer.value(w,"cast",f,j,M._flags.cast),f=j}}if(M.$_terms.externals&&A.externals&&!1!==A._externals)for(const{method:F}of M.$_terms.externals)w.mainstay.externals.push({method:F,schema:M,state:w,label:C.label(M._flags,w,A)});const O={value:f,errors:y.length?y:null};return M._flags.result&&(O.value="strip"===M._flags.result?void 0:S.original,w.mainstay.tracer.value(w,M._flags.result,f,O.value),w.shadow(f,M._flags.result)),M._cache&&!1!==A.cache&&!M._refs.length&&M._cache.set(S.original,O),void 0===f||O.errors||void 0===M._flags.artifact||(w.mainstay.artifacts=w.mainstay.artifacts||new Map,w.mainstay.artifacts.has(M._flags.artifact)||w.mainstay.artifacts.set(M._flags.artifact,[]),w.mainstay.artifacts.get(M._flags.artifact).push(w.path)),O},_.prefs=function(f,y){const S=y===p.defaults;return S&&f._preferences[p.symbols.prefs]?f._preferences[p.symbols.prefs]:(y=p.preferences(y,f._preferences),S&&(f._preferences[p.symbols.prefs]=y),y)},_.default=function(f,y,S,M){const{schema:w,state:A,prefs:O}=M,F=w._flags[f];if(O.noDefaults||void 0===F)return y;if(A.mainstay.tracer.log(w,A,"rule",f,"full"),!F)return F;if("function"==typeof F){const j=F.length?[l(A.ancestors[0]),M]:[];try{return F(...j)}catch(T){return void S.push(w.$_createError(`any.${f}`,null,{error:T},A,O))}}return"object"!=typeof F?F:F[p.symbols.literal]?F.literal:p.isResolvable(F)?F.resolve(y,A,O):l(F)},_.trim=function(f,y){if("string"!=typeof f)return f;const S=y.$_getRule("trim");return S&&S.args.enabled?f.trim():f},_.ignore={active:!1,debug:g,entry:g,filter:g,log:g,resolve:g,value:g},_.errorsArray=function(){const f=[];return f[p.symbols.errors]=!0,f}},2036:(a,c,e)=>{"use strict";const u=e(375),l=e(9474),g=e(8160),v={};a.exports=v.Values=class{constructor(p,C){this._values=new Set(p),this._refs=new Set(C),this._lowercase=v.lowercases(p),this._override=!1}get length(){return this._values.size+this._refs.size}add(p,C){g.isResolvable(p)?this._refs.has(p)||(this._refs.add(p),C&&C.register(p)):this.has(p,null,null,!1)||(this._values.add(p),"string"==typeof p&&this._lowercase.set(p.toLowerCase(),p))}static merge(p,C,b){if(p=p||new v.Values,C){if(C._override)return C.clone();for(const _ of[...C._values,...C._refs])p.add(_)}if(b)for(const _ of[...b._values,...b._refs])p.remove(_);return p.length?p:null}remove(p){g.isResolvable(p)?this._refs.delete(p):(this._values.delete(p),"string"==typeof p&&this._lowercase.delete(p.toLowerCase()))}has(p,C,b,_){return!!this.get(p,C,b,_)}get(p,C,b,_){if(!this.length)return!1;if(this._values.has(p))return{value:p};if("string"==typeof p&&p&&_){const f=this._lowercase.get(p.toLowerCase());if(f)return{value:f}}if(!this._refs.size&&"object"!=typeof p)return!1;if("object"==typeof p)for(const f of this._values)if(l(f,p))return{value:f};if(C)for(const f of this._refs){const y=f.resolve(p,C,b,null,{in:!0});if(void 0===y)continue;const S=f.in&&"object"==typeof y?Array.isArray(y)?y:Object.keys(y):[y];for(const M of S)if(typeof M==typeof p)if(_&&p&&"string"==typeof p){if(M.toLowerCase()===p.toLowerCase())return{value:M,ref:f}}else if(l(M,p))return{value:M,ref:f}}return!1}override(){this._override=!0}values(p){if(p&&p.display){const C=[];for(const b of[...this._values,...this._refs])void 0!==b&&C.push(b);return C}return Array.from([...this._values,...this._refs])}clone(){const p=new v.Values(this._values,this._refs);return p._override=this._override,p}concat(p){u(!p._override,"Cannot concat override set of values");const C=new v.Values([...this._values,...p._values],[...this._refs,...p._refs]);return C._override=this._override,C}describe(){const p=[];this._override&&p.push({override:!0});for(const C of this._values.values())p.push(C&&"object"==typeof C?{value:C}:C);for(const C of this._refs.values())p.push(C.describe());return p}},v.Values.prototype[g.symbols.values]=!0,v.Values.prototype.slice=v.Values.prototype.clone,v.lowercases=function(p){const C=new Map;if(p)for(const b of p)"string"==typeof b&&C.set(b.toLowerCase(),b);return C}},978:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(1687),v=e(9621),p={};a.exports=function(C,b,_={}){if(u(C&&"object"==typeof C,"Invalid defaults value: must be an object"),u(!b||!0===b||"object"==typeof b,"Invalid source value: must be true, falsy or an object"),u("object"==typeof _,"Invalid options: must be an object"),!b)return null;if(_.shallow)return p.applyToDefaultsWithShallow(C,b,_);const f=l(C);return!0===b?f:g(f,b,{nullOverride:void 0!==_.nullOverride&&_.nullOverride,mergeArrays:!1})},p.applyToDefaultsWithShallow=function(C,b,_){const f=_.shallow;u(Array.isArray(f),"Invalid keys");const y=new Map,S=!0===b?null:new Set;for(let A of f){A=Array.isArray(A)?A:A.split(".");const O=v(C,A);O&&"object"==typeof O?y.set(O,S&&v(b,A)||O):S&&S.add(A)}const M=l(C,{},y);if(!S)return M;for(const A of S)p.reachCopy(M,b,A);return g(M,b,{nullOverride:void 0!==_.nullOverride&&_.nullOverride,mergeArrays:!1})},p.reachCopy=function(C,b,_){for(const S of _){if(!(S in b))return;const M=b[S];if("object"!=typeof M||null===M)return;b=M}const f=b;let y=C;for(let S=0;S<_.length-1;++S){const M=_[S];"object"!=typeof y[M]&&(y[M]={}),y=y[M]}y[_[_.length-1]]=f}},375:(a,c,e)=>{"use strict";const u=e(7916);a.exports=function(l,...g){if(!l)throw 1===g.length&&g[0]instanceof Error?g[0]:new u(g)}},8571:(a,c,e)=>{"use strict";const u=e(9621),l=e(4277),g=e(7043),v={needsProtoHack:new Set([l.set,l.map,l.weakSet,l.weakMap])};a.exports=v.clone=function(p,C={},b=null){if("object"!=typeof p||null===p)return p;let _=v.clone,f=b;if(C.shallow){if(!0!==C.shallow)return v.cloneWithShallow(p,C);_=w=>w}else if(f){const w=f.get(p);if(w)return w}else f=new Map;const y=l.getInternalProto(p);if(y===l.buffer)return!1;if(y===l.date)return new Date(p.getTime());if(y===l.regex)return new RegExp(p);const S=v.base(p,y,C);if(S===p)return p;if(f&&f.set(p,S),y===l.set)for(const w of p)S.add(_(w,C,f));else if(y===l.map)for(const[w,A]of p)S.set(w,_(A,C,f));const M=g.keys(p,C);for(const w of M){if("__proto__"===w)continue;if(y===l.array&&"length"===w){S.length=p.length;continue}const A=Object.getOwnPropertyDescriptor(p,w);A?A.get||A.set?Object.defineProperty(S,w,A):A.enumerable?S[w]=_(p[w],C,f):Object.defineProperty(S,w,{enumerable:!1,writable:!0,configurable:!0,value:_(p[w],C,f)}):Object.defineProperty(S,w,{enumerable:!0,writable:!0,configurable:!0,value:_(p[w],C,f)})}return S},v.cloneWithShallow=function(p,C){const b=C.shallow;(C=Object.assign({},C)).shallow=!1;const _=new Map;for(const f of b){const y=u(p,f);"object"!=typeof y&&"function"!=typeof y||_.set(y,y)}return v.clone(p,C,_)},v.base=function(p,C,b){if(!1===b.prototype)return v.needsProtoHack.has(C)?new C.constructor:C===l.array?[]:{};const _=Object.getPrototypeOf(p);if(_&&_.isImmutable)return p;if(C===l.array){const f=[];return _!==C&&Object.setPrototypeOf(f,_),f}if(v.needsProtoHack.has(C)){const f=new _.constructor;return _!==C&&Object.setPrototypeOf(f,_),f}return Object.create(_)}},9474:(a,c,e)=>{"use strict";const u=e(4277),l={mismatched:null};a.exports=function(g,v,p){return p=Object.assign({prototype:!0},p),!!l.isDeepEqual(g,v,p,[])},l.isDeepEqual=function(g,v,p,C){if(g===v)return 0!==g||1/g==1/v;const b=typeof g;if(b!==typeof v||null===g||null===v)return!1;if("function"===b){if(!p.deepFunction||g.toString()!==v.toString())return!1}else if("object"!==b)return g!=g&&v!=v;const _=l.getSharedType(g,v,!!p.prototype);switch(_){case u.buffer:return!1;case u.promise:return g===v;case u.regex:return g.toString()===v.toString();case l.mismatched:return!1}for(let f=C.length-1;f>=0;--f)if(C[f].isSame(g,v))return!0;C.push(new l.SeenEntry(g,v));try{return!!l.isDeepEqualObj(_,g,v,p,C)}finally{C.pop()}},l.getSharedType=function(g,v,p){if(p)return Object.getPrototypeOf(g)!==Object.getPrototypeOf(v)?l.mismatched:u.getInternalProto(g);const C=u.getInternalProto(g);return C!==u.getInternalProto(v)?l.mismatched:C},l.valueOf=function(g){const v=g.valueOf;if(void 0===v)return g;try{return v.call(g)}catch(p){return p}},l.hasOwnEnumerableProperty=function(g,v){return Object.prototype.propertyIsEnumerable.call(g,v)},l.isSetSimpleEqual=function(g,v){for(const p of Set.prototype.values.call(g))if(!Set.prototype.has.call(v,p))return!1;return!0},l.isDeepEqualObj=function(g,v,p,C,b){const{isDeepEqual:_,valueOf:f,hasOwnEnumerableProperty:y}=l,{keys:S,getOwnPropertySymbols:M}=Object;if(g===u.array){if(!C.part){if(v.length!==p.length)return!1;for(let j=0;j{"use strict";const u=e(8761);a.exports=class extends Error{constructor(l){super(l.filter(g=>""!==g).map(g=>"string"==typeof g?g:g instanceof Error?g.message:u(g)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,c.assert)}}},5277:a=>{"use strict";const c={};a.exports=function(e){if(!e)return"";let u="";for(let l=0;l=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},c.isSafe=function(e){return c.safeCharCodes.has(e)},c.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),c.safeCharCodes=function(){const e=new Set;for(let u=32;u<123;++u)(u>=97||u>=65&&u<=90||u>=48&&u<=57||32===u||46===u||44===u||45===u||58===u||95===u)&&e.add(u);return e}()},6064:a=>{"use strict";a.exports=function(c){return c.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:a=>{"use strict";a.exports=function(){}},1687:(a,c,e)=>{"use strict";const u=e(375),l=e(8571),g=e(7043),v={};a.exports=v.merge=function(p,C,b){if(u(p&&"object"==typeof p,"Invalid target value: must be an object"),u(null==C||"object"==typeof C,"Invalid source value: must be null, undefined, or an object"),!C)return p;if(b=Object.assign({nullOverride:!0,mergeArrays:!0},b),Array.isArray(C)){u(Array.isArray(p),"Cannot merge array onto an object"),b.mergeArrays||(p.length=0);for(let f=0;f{"use strict";const u=e(375),l={};a.exports=function(g,v,p){if(!1===v||null==v)return g;"string"==typeof(p=p||{})&&(p={separator:p});const C=Array.isArray(v);u(!C||!p.separator,"Separator option is not valid for array-based chain");const b=C?v:v.split(p.separator||".");let _=g;for(let f=0;f{"use strict";a.exports=function(...c){try{return JSON.stringify(...c)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(a,c)=>{"use strict";const e={};c=a.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},e.typeMap=new Map([["[object Error]",c.error],["[object Map]",c.map],["[object Promise]",c.promise],["[object Set]",c.set],["[object WeakMap]",c.weakMap],["[object WeakSet]",c.weakSet]]),c.getInternalProto=function(u){if(Array.isArray(u))return c.array;if(u instanceof Date)return c.date;if(u instanceof RegExp)return c.regex;if(u instanceof Error)return c.error;const l=Object.prototype.toString.call(u);return e.typeMap.get(l)||c.generic}},7043:(a,c)=>{"use strict";c.keys=function(e,u={}){return!1!==u.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(a,c,e)=>{"use strict";const u=e(375),l={};c.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(g,v){const p=[].concat((v=v||{}).before||[]),C=[].concat(v.after||[]),b=v.group||"?",_=v.sort||0;u(!p.includes(b),`Item cannot come before itself: ${b}`),u(!p.includes("?"),"Item cannot come before unassociated items"),u(!C.includes(b),`Item cannot come after itself: ${b}`),u(!C.includes("?"),"Item cannot come after unassociated items"),Array.isArray(g)||(g=[g]);for(const f of g)this._items.push({seq:this._items.length,sort:_,before:p,after:C,group:b,node:f});if(!v.manual){const f=this._sort();u(f,"item","?"!==b?`added into group ${b}`:"","created a dependencies error")}return this.nodes}merge(g){Array.isArray(g)||(g=[g]);for(const p of g)if(p)for(const C of p._items)this._items.push(Object.assign({},C));this._items.sort(l.mergeSort);for(let p=0;pg.sort===v.sort?0:g.sort{"use strict";const u=e(443),l=e(2178),g={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:u.URL||URL};c.analyze=function(v,p={}){if(!v)return l.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof v)throw new Error("Invalid input: domain must be a string");if(v.length>256)return l.code("DOMAIN_TOO_LONG");if(g.nonAsciiRx.test(v)){if(!1===p.allowUnicode)return l.code("DOMAIN_INVALID_UNICODE_CHARS");v=v.normalize("NFC")}if(g.domainControlRx.test(v))return l.code("DOMAIN_INVALID_CHARS");v=g.punycode(v),p.allowFullyQualified&&"."===v[v.length-1]&&(v=v.slice(0,-1));const C=p.minDomainSegments||g.minDomainSegments,b=v.split(".");if(b.lengthp.maxDomainSegments)return l.code("DOMAIN_SEGMENTS_COUNT_MAX");const _=p.tlds;if(_){const f=b[b.length-1].toLowerCase();if(_.deny&&_.deny.has(f)||_.allow&&!_.allow.has(f))return l.code("DOMAIN_FORBIDDEN_TLDS")}for(let f=0;f63)return l.code("DOMAIN_LONG_SEGMENT");if(f{"use strict";const u=e(9848),l=e(5380),g=e(2178),v={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(u.TextEncoder||TextEncoder)};c.analyze=function(p,C){return v.email(p,C)},c.isValid=function(p,C){return!v.email(p,C)},v.email=function(p,C={}){if("string"!=typeof p)throw new Error("Invalid input: email must be a string");if(!p)return g.code("EMPTY_STRING");const b=!v.nonAsciiRx.test(p);if(!b){if(!1===C.allowUnicode)return g.code("FORBIDDEN_UNICODE");p=p.normalize("NFC")}const _=p.split("@");if(2!==_.length)return g.code(_.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[f,y]=_;if(!f)return g.code("EMPTY_LOCAL");if(!C.ignoreLength){if(p.length>254)return g.code("ADDRESS_TOO_LONG");if(v.encoder.encode(f).length>64)return g.code("LOCAL_TOO_LONG")}return v.local(f,b)||l.analyze(y,C)},v.local=function(p,C){const b=p.split(".");for(const _ of b){if(!_.length)return g.code("EMPTY_LOCAL_SEGMENT");if(C){if(!v.atextRx.test(_))return g.code("INVALID_LOCAL_CHARS")}else for(const f of _){if(v.atextRx.test(f))continue;const y=v.binary(f);if(!v.atomRx.test(y))return g.code("INVALID_LOCAL_CHARS")}}},v.binary=function(p){return Array.from(v.encoder.encode(p)).map(C=>String.fromCharCode(C)).join("")},v.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,v.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},2178:(a,c)=>{"use strict";c.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},c.code=function(e){return{code:e,error:c.codes[e]}}},9959:(a,c,e)=>{"use strict";const u=e(375),l=e(5752);c.regex=function(g={}){u(void 0===g.cidr||"string"==typeof g.cidr,"options.cidr must be a string");const v=g.cidr?g.cidr.toLowerCase():"optional";u(["required","optional","forbidden"].includes(v),"options.cidr must be one of required, optional, forbidden"),u(void 0===g.version||"string"==typeof g.version||Array.isArray(g.version),"options.version must be a string or an array of string");let p=g.version||["ipv4","ipv6","ipvfuture"];Array.isArray(p)||(p=[p]),u(p.length>=1,"options.version must have at least 1 version specified");for(let _=0;_{if("forbidden"===v)return l.ip[_];const f=`\\/${"ipv4"===_?l.ip.v4Cidr:l.ip.v6Cidr}`;return"required"===v?`${l.ip[_]}${f}`:`${l.ip[_]}(?:${f})?`}).join("|")})`,b=new RegExp(`^${C}$`);return{cidr:v,versions:p,regex:b,raw:C}}},5752:(a,c,e)=>{"use strict";const u=e(375),l=e(6064),g={generate:function(){const v={},p="\\dA-Fa-f",C="["+p+"]",b="\\w-\\.~",_="!\\$&'\\(\\)\\*\\+,;=",f="%"+p,y=b+f+_+":@",S="["+y+"]",M="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";v.ipv4address="(?:"+M+"\\.){3}"+M;const w=C+"{1,4}",A="(?:"+w+":"+w+"|"+v.ipv4address+")",O="(?:"+w+":){6}"+A,F="::(?:"+w+":){5}"+A,j="(?:"+w+")?::(?:"+w+":){4}"+A,T="(?:(?:"+w+":){0,1}"+w+")?::(?:"+w+":){3}"+A,I="(?:(?:"+w+":){0,2}"+w+")?::(?:"+w+":){2}"+A,k="(?:(?:"+w+":){0,3}"+w+")?::"+w+":"+A,N="(?:(?:"+w+":){0,4}"+w+")?::"+A,x="(?:(?:"+w+":){0,5}"+w+")?::"+w,H="(?:(?:"+w+":){0,6}"+w+")?::";v.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",v.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",v.ipv6address="(?:"+O+"|"+F+"|"+j+"|"+T+"|"+I+"|"+k+"|"+N+"|"+x+"|"+H+")",v.ipvFuture="v"+C+"+\\.["+b+_+":]+",v.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",v.schemeRegex=new RegExp(v.scheme);const G="["+b+f+_+":]*",ce="(?:\\[(?:"+v.ipv6address+"|"+v.ipvFuture+")\\]|"+v.ipv4address+"|["+b+f+_+"]{1,255})",se="(?:"+G+"@)?"+ce+"(?::\\d*)?",K="(?:"+G+"@)?("+ce+")(?::\\d*)?",Z=S+"*",re=S+"+",X="(?:\\/"+Z+")*",W="\\/(?:"+re+X+")?",Y=re+X,q="["+b+f+_+"@]+"+X;return v.hierPart="(?:(?:\\/\\/"+se+X+")|"+W+"|"+Y+"|(?:\\/\\/\\/"+Z+X+"))",v.hierPartCapture="(?:(?:\\/\\/"+K+X+")|"+W+"|"+Y+")",v.relativeRef="(?:(?:\\/\\/"+se+X+")|"+W+"|"+q+"|)",v.relativeRefCapture="(?:(?:\\/\\/"+K+X+")|"+W+"|"+q+"|)",v.query="["+y+"\\/\\?]*(?=#|$)",v.queryWithSquareBrackets="["+y+"\\[\\]\\/\\?]*(?=#|$)",v.fragment="["+y+"\\/\\?]*",v}};g.rfc3986=g.generate(),c.ip={v4Cidr:g.rfc3986.ipv4Cidr,v6Cidr:g.rfc3986.ipv6Cidr,ipv4:g.rfc3986.ipv4address,ipv6:g.rfc3986.ipv6address,ipvfuture:g.rfc3986.ipvFuture},g.createRegex=function(v){const p=g.rfc3986,C="(?:\\?"+(v.allowQuerySquareBrackets?p.queryWithSquareBrackets:p.query)+")?(?:#"+p.fragment+")?",b=v.domain?p.relativeRefCapture:p.relativeRef;if(v.relativeOnly)return g.wrap(b+C);let _="";if(v.scheme){u(v.scheme instanceof RegExp||"string"==typeof v.scheme||Array.isArray(v.scheme),"scheme must be a RegExp, String, or Array");const S=[].concat(v.scheme);u(S.length>=1,"scheme must have at least 1 scheme specified");const M=[];for(let w=0;w{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};c.Parser=class{constructor(u,l={}){if(!l[e.settings]&&l.constants)for(const g in l.constants){const v=l.constants[g];if(null!==v&&!["boolean","number","string"].includes(typeof v))throw new Error(`Formula constant ${g} contains invalid ${typeof v} value type`)}this.settings=l[e.settings]?l:Object.assign({[e.settings]:!0,constants:{},functions:{}},l),this.single=null,this._parts=null,this._parse(u)}_parse(u){let l=[],g="",v=0,p=!1;const C=_=>{if(v)throw new Error("Formula missing closing parenthesis");const f=l.length?l[l.length-1]:null;if(p||g||_){if(f&&"reference"===f.type&&")"===_)return f.type="function",f.value=this._subFormula(g,f.value),void(g="");if(")"===_){const y=new c.Parser(g,this.settings);l.push({type:"segment",value:y})}else if(p){if("]"===p)return l.push({type:"reference",value:g}),void(g="");l.push({type:"literal",value:g})}else if(e.operatorCharacters.includes(g))f&&"operator"===f.type&&e.operators.includes(f.value+g)?f.value+=g:l.push({type:"operator",value:g});else if(g.match(e.numberRx))l.push({type:"constant",value:parseFloat(g)});else if(void 0!==this.settings.constants[g])l.push({type:"constant",value:this.settings.constants[g]});else{if(!g.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${g}`);l.push({type:"reference",value:g})}g=""}};for(const _ of u)p?_===p?(C(),p=!1):g+=_:v?"("===_?(g+=_,++v):")"===_?(--v,v?g+=_:C(_)):g+=_:_ in e.literals?p=e.literals[_]:"("===_?(C(),++v):e.operatorCharacters.includes(_)?(C(),g=_,C()):" "!==_?g+=_:C();C(),l=l.map((_,f)=>"operator"!==_.type||"-"!==_.value||f&&"operator"!==l[f-1].type?_:{type:"operator",value:"n"});let b=!1;for(const _ of l){if("operator"===_.type){if(e.operatorsPrefix.includes(_.value))continue;if(!b)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(_.value))throw new Error(`Formula contains an unknown operator ${_.value}`)}else if(b)throw new Error("Formula missing expected operator");b=!b}if(!b)throw new Error("Formula contains invalid trailing operator");1===l.length&&["reference","literal","constant"].includes(l[0].type)&&(this.single={type:"reference"===l[0].type?"reference":"value",value:l[0].value}),this._parts=l.map(_=>{if("operator"===_.type)return e.operatorsPrefix.includes(_.value)?_:_.value;if("reference"!==_.type)return _.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(_.value))throw new Error(`Formula contains invalid reference ${_.value}`);return this.settings.reference?this.settings.reference(_.value):e.reference(_.value)})}_subFormula(u,l){const g=this.settings.functions[l];if("function"!=typeof g)throw new Error(`Formula contains unknown function ${l}`);let v=[];if(u){let p="",C=0,b=!1;const _=()=>{if(!p)throw new Error(`Formula contains function ${l} with invalid arguments ${u}`);v.push(p),p=""};for(let f=0;fnew c.Parser(p,this.settings)),function(p){const C=[];for(const b of v)C.push(b.evaluate(p));return g.call(p,...C)}}evaluate(u){const l=this._parts.slice();for(let g=l.length-2;g>=0;--g){const v=l[g];if(v&&"operator"===v.type){const p=l[g+1];l.splice(g+1,1);const C=e.evaluate(p,u);l[g]=e.single(v.value,C)}}return e.operatorsOrder.forEach(g=>{for(let v=1;v":return l>g;case">=":return l>=g;case"==":return l===g;case"!=":return l!==g;case"&&":return l&&g;case"||":return l||g}return null},e.exists=function(u){return null!=u}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:a=>{"use strict";a.exports=JSON.parse('{"version":"17.12.2"}')}},d={},function a(c){var e=d[c];if(void 0!==e)return e.exports;var u=d[c]={exports:{}};return i[c](u,u.exports,a),u.exports}(5107))},94091:function(ve,h,o){var n,i,d,a,c;a=this,c=function(a){var c=!1,e=!1,u=!1,l=!1,g="escape years months weeks days hours minutes seconds milliseconds general".split(" "),v=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function p(Ae,ge){return!(ge.length>Ae.length)&&-1!==Ae.indexOf(ge)}function C(Ae){for(var ge="";Ae;)ge+="0",Ae-=1;return ge}function _(Ae,ge){var it=Ae+"+"+I(se(ge).sort(),function(qe){return qe+":"+ge[qe]}).join(",");return _.cache[it]||(_.cache[it]=Intl.NumberFormat(Ae,ge)),_.cache[it]}function f(Ae,ge,Ne){var it=ge.useToLocaleString,qe=ge.useGrouping,et=qe&&ge.grouping.slice(),De=ge.maximumSignificantDigits,je=ge.minimumIntegerDigits||1,Pe=ge.fractionDigits||0,bt=ge.groupingSeparator,Qe=ge.decimalSeparator;if(it&&Ne){var sn,Ut={minimumIntegerDigits:je,useGrouping:qe};return Pe&&(Ut.maximumFractionDigits=Pe,Ut.minimumFractionDigits=Pe),De&&Ae>0&&(Ut.maximumSignificantDigits=De),u?(l||((sn=ce({},ge)).useGrouping=!1,sn.decimalSeparator=".",Ae=parseFloat(f(Ae,sn),10)),_(Ne,Ut).format(Ae)):(e||((sn=ce({},ge)).useGrouping=!1,sn.decimalSeparator=".",Ae=parseFloat(f(Ae,sn),10)),Ae.toLocaleString(Ne,Ut))}var Sn,bn,kt,jt=(De?Ae.toPrecision(De+1):Ae.toFixed(Pe+1)).split("e");kt=jt[1]||"";var Fe=(Sn=(jt=jt[0].split("."))[0]||"").length,Ee=(bn=jt[1]||"").length,ye=Fe+Ee,Ce=Sn+bn;(De&&ye===De+1||!De&&Ee===Pe+1)&&(Ce=function b(Ae){for(var ge=Ae.split("").reverse(),Ne=0,it=!0;it&&Ne0?bn.length<=Ge?(Sn+=bn+=C(Ge-bn.length),bn=""):(Sn+=bn.slice(0,Ge),bn=bn.slice(Ge)):Ge<0&&(bn=C(Math.abs(Ge)-Sn.length)+Sn+bn,Sn="0"),De||((bn=bn.slice(0,Pe)).lengthge.label.length?-1:Ae.label.length0,Bt=vt?ge.precision:0,Zt=Bt,Rt=ge.minValue,Dt=!1,Ot=ge.maxValue,pn=!1,Vn=ge.useToLocaleString,Yn=ge.groupingSeparator,er=ge.decimalSeparator,kn=ge.grouping;Vn=Vn&&(c||u);var Mt=ge.trim;A(Mt)&&(Mt=Mt.join(" ")),null===Mt&&(Sn||Ot||vt)&&(Mt="all"),(null===Mt||!0===Mt||"left"===Mt||"right"===Mt)&&(Mt="large"),!1===Mt&&(Mt="");var Gt=function(Qt){return Qt.test(Mt)},Xt=/both/,En=/^all|[^sm]all/,nr=Sn>0||K([/large/,Xt,En],Gt),kr=K([/small/,Xt,En],Gt),Br=K([/mid/,En],Gt),sr=K([/final/,En],Gt),Mr=I(Ut.match(Qe),function(Qt,Rn){var Kn=bt(Qt);return"*"===Qt.slice(0,1)&&(Qt=Qt.slice(1),"escape"!==Kn&&"general"!==Kn&&bn.push(Kn)),{index:Rn,length:Qt.length,text:"",token:"escape"===Kn?Qt.replace(Pe.escape,"$1"):Qt,type:"escape"===Kn||"general"===Kn?null:Kn}}),br={index:0,length:0,token:"",text:"",type:null},Jn=[];Fe&&Mr.reverse(),T(Mr,function(Qt){if(Qt.type)return(br.type||br.text)&&Jn.push(br),void(br=Qt);Fe?br.text=Qt.token+br.text:br.text+=Qt.token}),(br.type||br.text)&&Jn.push(br),Fe&&Jn.reverse();var xn=H(g,x(N(k(Jn,"type"))));if(!xn.length)return k(Jn,"text").join("");xn=I(xn,function(Qt,Rn){var ui,Kn=Rn+1===xn.length,or=!Rn;ui="years"===Qt||"months"===Qt?De.as(Qt):et.as(Qt);var Pr=Math.floor(ui),ct=ui-Pr,Tt=j(Jn,function(St){return Qt===St.type});return or&&Ot&&ui>Ot&&(pn=!0),Kn&&Rt&&Math.abs(ge.duration.as(Qt))1&&(Ce=!0),et.subtract(Pr,Qt),De.subtract(Pr,Qt),{rawValue:ui,wholeValue:Pr,decimalValue:Kn?ct:0,isSmallest:Kn,isLargest:or,type:Qt,tokenLength:Tt.length}});var oi=Je?Math.floor:Math.round,Sr=function(Qt,Rn){var Kn=Math.pow(10,Rn);return oi(Qt*Kn)/Kn},pr=!1,Xn=!1,qn=function(Qt,Rn){var Kn={useGrouping:Ge,groupingSeparator:Yn,decimalSeparator:er,grouping:kn,useToLocaleString:Vn};return vt&&(Bt<=0?(Qt.rawValue=0,Qt.wholeValue=0,Qt.decimalValue=0):(Kn.maximumSignificantDigits=Bt,Qt.significantDigits=Bt)),pn&&!Xn&&(Qt.isLargest?(Qt.wholeValue=Ot,Qt.decimalValue=0):(Qt.wholeValue=0,Qt.decimalValue=0)),Dt&&!Xn&&(Qt.isSmallest?(Qt.wholeValue=Rt,Qt.decimalValue=0):(Qt.wholeValue=0,Qt.decimalValue=0)),Qt.isSmallest||Qt.significantDigits&&Qt.significantDigits-Qt.wholeValue.toString().length<=0?ye<0?Qt.value=Sr(Qt.wholeValue,ye):0===ye?Qt.value=oi(Qt.wholeValue+Qt.decimalValue):vt?(Qt.value=Je?Sr(Qt.rawValue,Bt-Qt.wholeValue.toString().length):Qt.rawValue,Qt.wholeValue&&(Bt-=Qt.wholeValue.toString().length)):(Kn.fractionDigits=ye,Qt.value=Je?Qt.wholeValue+Sr(Qt.decimalValue,ye):Qt.wholeValue+Qt.decimalValue):vt&&Qt.wholeValue?(Qt.value=Math.round(Sr(Qt.wholeValue,Qt.significantDigits-Qt.wholeValue.toString().length)),Bt-=Qt.wholeValue.toString().length):Qt.value=Qt.wholeValue,Qt.tokenLength>1&&(Ce||pr)&&(Kn.minimumIntegerDigits=Qt.tokenLength,Xn&&Kn.maximumSignificantDigits0||""===Mt||j(bn,Qt.type)||j(sn,Qt.type))&&(pr=!0),Qt.formattedValue=f(Qt.value,Kn,jt),Kn.useGrouping=!1,Kn.decimalSeparator=".",Qt.formattedValueEn=f(Qt.value,Kn,"en"),2===Qt.tokenLength&&"milliseconds"===Qt.type&&(Qt.formattedValueMS=f(Qt.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),Qt};if((xn=N(xn=I(xn,qn))).length>1){var Or=function(Qt){return j(xn,function(Rn){return Rn.type===Qt})};T(v,function(Qt){var Rn=Or(Qt.type);Rn&&T(Qt.targets,function(Kn){var or=Or(Kn.type);or&&parseInt(Rn.formattedValueEn,10)===Kn.value&&(Rn.rawValue=0,Rn.wholeValue=0,Rn.decimalValue=0,or.rawValue+=1,or.wholeValue+=1,or.decimalValue=0,or.formattedValueEn=or.wholeValue.toString(),Xn=!0)})})}return Xn&&(pr=!1,Bt=Zt,xn=N(xn=I(xn,qn))),!sn||pn&&!ge.trim?(nr&&(xn=G(xn,function(Qt){return!Qt.isSmallest&&!Qt.wholeValue&&!j(bn,Qt.type)})),Sn&&xn.length&&(xn=xn.slice(0,Sn)),kr&&xn.length>1&&(xn=function te(Ae,ge){return G(Ae.slice().reverse(),ge).reverse()}(xn,function(Qt){return!Qt.wholeValue&&!j(bn,Qt.type)&&!Qt.isLargest})),Br&&(xn=N(xn=I(xn,function(Qt,Rn){return Rn>0&&Rn ",pn=!1,Dt=!1),qe&&(Rn.value>0||""===Mt||j(bn,Rn.type)||j(sn,Rn.type))&&(Kn+="-",qe=!1),Kn+="milliseconds"===Qt.type&&Rn.formattedValueMS?Rn.formattedValueMS:Rn.formattedValue,Fe||(Kn+=Qt.text),Kn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function he(){var Ae=this.duration,ge=function(et){return Ae._data[et]},Ne=j(this.types,ge),it=function F(Ae,ge){for(var Ne=Ae.length;Ne-=1;)if(ge(Ae[Ne]))return Ae[Ne]}(this.types,ge);switch(Ne){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(Ne===it)return"d __";case"weeks":return Ne===it?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(Ne===it)return"M __";case"years":return Ne===it?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function _e(Ae){if(!Ae)throw"Moment Duration Format init cannot find moment instance.";Ae.duration.format=Y,Ae.duration.fn.format=q,Ae.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:he,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},Ae.updateLocale("en",w)}var Oe=function(Ae,ge,Ne){return Ae.toLocaleString(ge,Ne)};c=function re(){try{(0).toLocaleString("i")}catch(ge){return"RangeError"===ge.name}return!1}()&&W(Oe),e=c&&X(Oe);var Re=function(Ae,ge,Ne){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(ge,Ne).format(Ae)};return u=W(Re),l=u&&X(Re),_e(a),_e},i=[o(35908)],void 0!==(d="function"==typeof(n=c)?n.apply(h,i):n)&&(ve.exports=d),a&&(a.momentDurationFormatSetup=a.moment?c(a.moment):c)},25140:function(ve,h,o){!function(n){"use strict";n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(d){return/^nm$/i.test(d)},meridiem:function(d,a,c){return d<12?c?"vm":"VM":c?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(1===d||8===d||d>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},17096:function(ve,h,o){!function(n){"use strict";var i=function(u){return 0===u?0:1===u?1:2===u?2:u%100>=3&&u%100<=10?3:u%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(u){return function(l,g,v,p){var C=i(l),b=d[u][i(l)];return 2===C&&(b=b[g?0:1]),b.replace(/%d/i,l)}},c=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-dz",{months:c,monthsShort:c,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(u){return"\u0645"===u},meridiem:function(u,l,g){return u<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(o(35908))},32200:function(ve,h,o){!function(n){"use strict";n.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(o(35908))},97252:function(ve,h,o){!function(n){"use strict";var i={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(l){return 0===l?0:1===l?1:2===l?2:l%100>=3&&l%100<=10?3:l%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},c=function(l){return function(g,v,p,C){var b=d(g),_=a[l][d(g)];return 2===b&&(_=_[v?0:1]),_.replace(/%d/i,g)}},e=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-ly",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,g,v){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:c("s"),ss:c("s"),m:c("m"),mm:c("m"),h:c("h"),hh:c("h"),d:c("d"),dd:c("d"),M:c("M"),MM:c("M"),y:c("y"),yy:c("y")},preparse:function(l){return l.replace(/\u060c/g,",")},postformat:function(l){return l.replace(/\d/g,function(g){return i[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},39568:function(ve,h,o){!function(n){"use strict";n.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},13068:function(ve,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,e,u){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(c){return c.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return d[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},89052:function(ve,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,e,u){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(c){return c.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(o(35908))},93956:function(ve,h,o){!function(n){"use strict";n.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(o(35908))},17276:function(ve,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},c={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(g){return function(v,p,C,b){var _=a(v),f=c[g][a(v)];return 2===_&&(f=f[p?0:1]),f.replace(/%d/i,v)}},u=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar",{months:u,monthsShort:u,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,v,p){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(v){return d[v]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(v){return i[v]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},88240:function(ve,h,o){!function(n){"use strict";var i={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(a){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(a)},meridiem:function(a,c,e){return a<4?"gec\u0259":a<12?"s\u0259h\u0259r":a<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(a){if(0===a)return a+"-\u0131nc\u0131";var c=a%10;return a+(i[c]||i[a%100-c]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},77796:function(ve,h,o){!function(n){"use strict";function d(c,e,u){return"m"===u?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===u?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":c+" "+function i(c,e){var u=c.split("_");return e%10==1&&e%100!=11?u[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?u[1]:u[2]}({ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[u],+c)}n.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(c){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(c)},meridiem:function(c,e,u){return c<4?"\u043d\u043e\u0447\u044b":c<12?"\u0440\u0430\u043d\u0456\u0446\u044b":c<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(c,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return c%10!=2&&c%10!=3||c%100==12||c%100==13?c+"-\u044b":c+"-\u0456";case"D":return c+"-\u0433\u0430";default:return c}},week:{dow:1,doy:7}})}(o(35908))},89880:function(ve,h,o){!function(n){"use strict";n.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,c=d%100;return 0===d?d+"-\u0435\u0432":0===c?d+"-\u0435\u043d":c>10&&c<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},84328:function(ve,h,o){!function(n){"use strict";n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(o(35908))},45104:function(ve,h,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===e?c<4?c:c+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?c:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?c>=3?c:c+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?c+12:void 0},meridiem:function(c,e,u){return c<4?"\u09b0\u09be\u09a4":c<6?"\u09ad\u09cb\u09b0":c<12?"\u09b8\u0995\u09be\u09b2":c<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<18?"\u09ac\u09bf\u0995\u09be\u09b2":c<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},60536:function(ve,h,o){!function(n){"use strict";var i={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(c){return c.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u09b0\u09be\u09a4"===e&&c>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&c<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?c+12:c},meridiem:function(c,e,u){return c<4?"\u09b0\u09be\u09a4":c<10?"\u09b8\u0995\u09be\u09b2":c<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":c<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(o(35908))},51108:function(ve,h,o){!function(n){"use strict";var i={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(c){return c.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&c>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&c<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?c+12:c},meridiem:function(c,e,u){return c<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":c<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":c<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":c<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(o(35908))},51296:function(ve,h,o){!function(n){"use strict";function i(f,y,S){return f+" "+function c(f,y){return 2===y?function e(f){var y={m:"v",b:"v",d:"z"};return void 0===y[f.charAt(0)]?f:y[f.charAt(0)]+f.substring(1)}(f):f}({mm:"munutenn",MM:"miz",dd:"devezh"}[S],f)}function a(f){return f>9?a(f%10):f}var u=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],l=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,b=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:b,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:b,monthsRegex:l,monthsShortRegex:l,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:i,h:"un eur",hh:"%d eur",d:"un devezh",dd:i,M:"ur miz",MM:i,y:"ur bloaz",yy:function d(f){switch(a(f)){case 1:case 3:case 4:case 5:case 9:return f+" bloaz";default:return f+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(f){return f+(1===f?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(f){return"g.m."===f},meridiem:function(f,y,S){return f<12?"a.m.":"g.m."}})}(o(35908))},2032:function(ve,h,o){!function(n){"use strict";function d(c,e,u){var l=c+" ";switch(u){case"ss":return l+(1===c?"sekunda":2===c||3===c||4===c?"sekunde":"sekundi");case"mm":return l+(1===c?"minuta":2===c||3===c||4===c?"minute":"minuta");case"h":return"jedan sat";case"hh":return l+(1===c?"sat":2===c||3===c||4===c?"sata":"sati");case"dd":return l+(1===c?"dan":"dana");case"MM":return l+(1===c?"mjesec":2===c||3===c||4===c?"mjeseca":"mjeseci");case"yy":return l+(1===c?"godina":2===c||3===c||4===c?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function i(c,e,u,l){if("m"===u)return e?"jedna minuta":l?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},20096:function(ve,h,o){!function(n){"use strict";n.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var c=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(c="a"),d+c},week:{dow:1,doy:4}})}(o(35908))},41152:function(ve,h,o){!function(n){"use strict";var i={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),a=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],c=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function e(g){return g>1&&g<5&&1!=~~(g/10)}function u(g,v,p,C){var b=g+" ";switch(p){case"s":return v||C?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return v||C?b+(e(g)?"sekundy":"sekund"):b+"sekundami";case"m":return v?"minuta":C?"minutu":"minutou";case"mm":return v||C?b+(e(g)?"minuty":"minut"):b+"minutami";case"h":return v?"hodina":C?"hodinu":"hodinou";case"hh":return v||C?b+(e(g)?"hodiny":"hodin"):b+"hodinami";case"d":return v||C?"den":"dnem";case"dd":return v||C?b+(e(g)?"dny":"dn\xed"):b+"dny";case"M":return v||C?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return v||C?b+(e(g)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):b+"m\u011bs\xedci";case"y":return v||C?"rok":"rokem";case"yy":return v||C?b+(e(g)?"roky":"let"):b+"lety"}}n.defineLocale("cs",{months:i,monthsShort:d,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},69568:function(ve,h,o){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(o(35908))},78875:function(ve,h,o){!function(n){"use strict";n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var c="";return d>20?c=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(c=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+c},week:{dow:1,doy:4}})}(o(35908))},45424:function(ve,h,o){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},72604:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return c?l[e][0]:l[e][1]}n.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},79168:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return c?l[e][0]:l[e][1]}n.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},20992:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return c?l[e][0]:l[e][1]}n.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:i,mm:"%d Minuten",h:i,hh:"%d Stunden",d:i,dd:i,w:i,ww:"%d Wochen",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},67300:function(ve,h,o){!function(n){"use strict";var i=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];n.defineLocale("dv",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(c){return"\u0789\u078a"===c},meridiem:function(c,e,u){return c<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(o(35908))},84400:function(ve,h,o){!function(n){"use strict";n.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(a,c){return a?"string"==typeof c&&/D/.test(c.substring(0,c.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(a,c,e){return a>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(a){return"\u03bc"===(a+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(a,c){var e=this._calendarEl[a],u=c&&c.hours();return function i(a){return typeof Function<"u"&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}(e)&&(e=e.apply(c)),e.replace("{}",u%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(o(35908))},83536:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:4}})}(o(35908))},39379:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(o(35908))},47032:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},71832:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},404:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(o(35908))},25716:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:6}})}(o(35908))},15312:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},53320:function(ve,h,o){!function(n){"use strict";n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},96392:function(ve,h,o){!function(n){"use strict";n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,a,c){return d>11?c?"p.t.m.":"P.T.M.":c?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(o(35908))},38540:function(ve,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,l){return u?/-MMM-/.test(l)?d[u.month()]:i[u.month()]:i},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},93504:function(ve,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,l){return u?/-MMM-/.test(l)?d[u.month()]:i[u.month()]:i},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},69224:function(ve,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,l){return u?/-MMM-/.test(l)?d[u.month()]:i[u.month()]:i},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(o(35908))},41964:function(ve,h,o){!function(n){"use strict";var i="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],c=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(u,l){return u?/-MMM-/.test(l)?d[u.month()]:i[u.month()]:i},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(o(35908))},90596:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[a+"sekundi",a+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[a+" minuti",a+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[a+" tunni",a+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[a+" kuu",a+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[a+" aasta",a+" aastat"]};return c?l[e][2]?l[e][2]:l[e][1]:u?l[e][0]:l[e][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:"%d p\xe4eva",M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},8060:function(ve,h,o){!function(n){"use strict";n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},68184:function(ve,h,o){!function(n){"use strict";var i={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(c){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(c)},meridiem:function(c,e,u){return c<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/[\u06f0-\u06f9]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(o(35908))},36736:function(ve,h,o){!function(n){"use strict";var i="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",i[7],i[8],i[9]];function a(u,l,g,v){var p="";switch(g){case"s":return v?"muutaman sekunnin":"muutama sekunti";case"ss":p=v?"sekunnin":"sekuntia";break;case"m":return v?"minuutin":"minuutti";case"mm":p=v?"minuutin":"minuuttia";break;case"h":return v?"tunnin":"tunti";case"hh":p=v?"tunnin":"tuntia";break;case"d":return v?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":p=v?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return v?"kuukauden":"kuukausi";case"MM":p=v?"kuukauden":"kuukautta";break;case"y":return v?"vuoden":"vuosi";case"yy":p=v?"vuoden":"vuotta"}return function c(u,l){return u<10?l?d[u]:i[u]:u}(u,v)+" "+p}n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},49264:function(ve,h,o){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},48299:function(ve,h,o){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},84584:function(ve,h,o){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(o(35908))},8024:function(ve,h,o){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},51964:function(ve,h,o){!function(n){"use strict";var a=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,c=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];n.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:c,longMonthsParse:c,shortMonthsParse:c,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(u,l){switch(l){case"D":return u+(1===u?"er":"");default:case"M":case"Q":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}},week:{dow:1,doy:4}})}(o(35908))},22672:function(ve,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(c,e){return c?/-MMM-/.test(e)?d[c.month()]:i[c.month()]:i},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(c){return c+(1===c||8===c||c>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},26476:function(ve,h,o){!function(n){"use strict";n.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(l){return l+(1===l?"d":l%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},35148:function(ve,h,o){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(l){return l+(1===l?"d":l%10==2?"na":"mh")},week:{dow:1,doy:4}})}(o(35908))},32176:function(ve,h,o){!function(n){"use strict";n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},27260:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[a+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",a+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[a+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",a+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[a+" \u0935\u0930\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[a+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",a+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[a+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",a+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[a+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return u?l[e][0]:l[e][1]}n.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(a,c){return"D"===c?a+"\u0935\u0947\u0930":a},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(a,c){return 12===a&&(a=0),"\u0930\u093e\u0924\u0940"===c?a<4?a:a+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===c?a:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===c?a>12?a:a+12:"\u0938\u093e\u0902\u091c\u0947"===c?a+12:void 0},meridiem:function(a,c,e){return a<4?"\u0930\u093e\u0924\u0940":a<12?"\u0938\u0915\u093e\u0933\u0940\u0902":a<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":a<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(o(35908))},3772:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l={s:["thoddea sekondamni","thodde sekond"],ss:[a+" sekondamni",a+" sekond"],m:["eka mintan","ek minut"],mm:[a+" mintamni",a+" mintam"],h:["eka voran","ek vor"],hh:[a+" voramni",a+" voram"],d:["eka disan","ek dis"],dd:[a+" disamni",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineamni",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsamni",a+" vorsam"]};return u?l[e][0]:l[e][1]}n.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,c){return"D"===c?a+"er":a},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(a,c){return 12===a&&(a=0),"rati"===c?a<4?a:a+12:"sokallim"===c?a:"donparam"===c?a>12?a:a+12:"sanje"===c?a+12:void 0},meridiem:function(a,c,e){return a<4?"rati":a<12?"sokallim":a<16?"donparam":a<20?"sanje":"rati"}})}(o(35908))},39528:function(ve,h,o){!function(n){"use strict";var i={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(c){return c.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0ab0\u0abe\u0aa4"===e?c<4?c:c+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?c:"\u0aac\u0aaa\u0acb\u0ab0"===e?c>=10?c:c+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?c+12:void 0},meridiem:function(c,e,u){return c<4?"\u0ab0\u0abe\u0aa4":c<10?"\u0ab8\u0ab5\u0abe\u0ab0":c<17?"\u0aac\u0aaa\u0acb\u0ab0":c<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(o(35908))},86832:function(ve,h,o){!function(n){"use strict";n.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,a,c){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?c?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?c?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(o(35908))},95592:function(ve,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},a=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:a,longMonthsParse:a,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(u){return u.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(l){return d[l]})},postformat:function(u){return u.replace(/\d/g,function(l){return i[l]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(u,l){return 12===u&&(u=0),"\u0930\u093e\u0924"===l?u<4?u:u+12:"\u0938\u0941\u092c\u0939"===l?u:"\u0926\u094b\u092a\u0939\u0930"===l?u>=10?u:u+12:"\u0936\u093e\u092e"===l?u+12:void 0},meridiem:function(u,l,g){return u<4?"\u0930\u093e\u0924":u<10?"\u0938\u0941\u092c\u0939":u<17?"\u0926\u094b\u092a\u0939\u0930":u<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(o(35908))},56208:function(ve,h,o){!function(n){"use strict";function i(a,c,e){var u=a+" ";switch(e){case"ss":return u+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"m":return c?"jedna minuta":"jedne minute";case"mm":return u+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return c?"jedan sat":"jednog sata";case"hh":return u+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return u+(1===a?"dan":"dana");case"MM":return u+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return u+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}n.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:i,m:i,mm:i,h:i,hh:i,d:"dan",dd:i,M:"mjesec",MM:i,y:"godinu",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},33697:function(ve,h,o){!function(n){"use strict";var i="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(e,u,l,g){var v=e;switch(l){case"s":return g||u?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return v+(g||u)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(g||u?" perc":" perce");case"mm":return v+(g||u?" perc":" perce");case"h":return"egy"+(g||u?" \xf3ra":" \xf3r\xe1ja");case"hh":return v+(g||u?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(g||u?" nap":" napja");case"dd":return v+(g||u?" nap":" napja");case"M":return"egy"+(g||u?" h\xf3nap":" h\xf3napja");case"MM":return v+(g||u?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(g||u?" \xe9v":" \xe9ve");case"yy":return v+(g||u?" \xe9v":" \xe9ve")}return""}function a(e){return(e?"":"[m\xfalt] ")+"["+i[this.day()]+"] LT[-kor]"}n.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,u,l){return e<12?!0===l?"de":"DE":!0===l?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},2e4:function(ve,h,o){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(o(35908))},57840:function(ve,h,o){!function(n){"use strict";n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"siang"===a?d>=11?d:d+12:"sore"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,c){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(o(35908))},31496:function(ve,h,o){!function(n){"use strict";function i(c){return c%100==11||c%10!=1}function d(c,e,u,l){var g=c+" ";switch(u){case"s":return e||l?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return i(c)?g+(e||l?"sek\xfandur":"sek\xfandum"):g+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return i(c)?g+(e||l?"m\xedn\xfatur":"m\xedn\xfatum"):e?g+"m\xedn\xfata":g+"m\xedn\xfatu";case"hh":return i(c)?g+(e||l?"klukkustundir":"klukkustundum"):g+"klukkustund";case"d":return e?"dagur":l?"dag":"degi";case"dd":return i(c)?e?g+"dagar":g+(l?"daga":"d\xf6gum"):e?g+"dagur":g+(l?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":l?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return i(c)?e?g+"m\xe1nu\xf0ir":g+(l?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?g+"m\xe1nu\xf0ur":g+(l?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||l?"\xe1r":"\xe1ri";case"yy":return i(c)?g+(e||l?"\xe1r":"\xe1rum"):g+(e||l?"\xe1r":"\xe1ri")}}n.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},45736:function(ve,h,o){!function(n){"use strict";n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},6336:function(ve,h,o){!function(n){"use strict";n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},58008:function(ve,h,o){!function(n){"use strict";n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,a){return"\u5143"===a[1]?1:parseInt(a[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,a,c){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,a){switch(a){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(o(35908))},30108:function(ve,h,o){!function(n){"use strict";n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,a){return 12===d&&(d=0),"enjing"===a?d:"siyang"===a?d>=11?d:d+12:"sonten"===a||"ndalu"===a?d+12:void 0},meridiem:function(d,a,c){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(o(35908))},61844:function(ve,h,o){!function(n){"use strict";n.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(a,c,e){return"\u10d8"===e?c+"\u10e8\u10d8":c+e+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(o(35908))},78980:function(ve,h,o){!function(n){"use strict";var i={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};n.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},48544:function(ve,h,o){!function(n){"use strict";var i={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(c){return"\u179b\u17d2\u1784\u17b6\u1785"===c},meridiem:function(c,e,u){return c<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(c){return c.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},70096:function(ve,h,o){!function(n){"use strict";var i={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(c){return c.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?c<4?c:c+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?c:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?c>=10?c:c+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?c+12:void 0},meridiem:function(c,e,u){return c<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":c<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":c<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":c<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(c){return c+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(o(35908))},87420:function(ve,h,o){!function(n){"use strict";n.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,a,c){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(o(35908))},4740:function(ve,h,o){!function(n){"use strict";function i(c,e,u,l){var g={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[c+" san\xeeye",c+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[c+" deq\xeeqe",c+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[c+" saet",c+" saetan"],d:["rojek","rojek\xea"],dd:[c+" roj",c+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[c+" hefte",c+" hefteyan"],M:["mehek","mehek\xea"],MM:[c+" meh",c+" mehan"],y:["salek","salek\xea"],yy:[c+" sal",c+" salan"]};return e?g[u][0]:g[u][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(c,e,u){return c<12?u?"bn":"BN":u?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,w:i,ww:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(c,e){var u=e.toLowerCase();return u.includes("w")||u.includes("m")?c+".":c+function d(c){var e=(c=""+c).substring(c.length-1),u=c.length>1?c.substring(c.length-2):"";return 12==u||13==u||"2"!=e&&"3"!=e&&"50"!=u&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(c)},week:{dow:1,doy:4}})}(o(35908))},60200:function(ve,h,o){!function(n){"use strict";var i={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];n.defineLocale("ku",{months:a,monthsShort:a,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,u,l){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(u){return d[u]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(u){return i[u]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(o(35908))},44976:function(ve,h,o){!function(n){"use strict";var i={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};n.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},4652:function(ve,h,o){!function(n){"use strict";function i(u,l,g,v){var p={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return l?p[g][0]:p[g][1]}function c(u){if(u=parseInt(u,10),isNaN(u))return!1;if(u<0)return!0;if(u<10)return 4<=u&&u<=7;if(u<100){var l=u%10;return c(0===l?u/10:l)}if(u<1e4){for(;u>=10;)u/=10;return c(u)}return c(u/=1e3)}n.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(u){return c(u.substr(0,u.indexOf(" ")))?"a "+u:"an "+u},past:function a(u){return c(u.substr(0,u.indexOf(" ")))?"viru "+u:"virun "+u},s:"e puer Sekonnen",ss:"%d Sekonnen",m:i,mm:"%d Minutten",h:i,hh:"%d Stonnen",d:i,dd:"%d Deeg",M:i,MM:"%d M\xe9int",y:i,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53984:function(ve,h,o){!function(n){"use strict";n.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,a,c){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(o(35908))},8792:function(ve,h,o){!function(n){"use strict";var i={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function a(g,v,p,C){return v?e(p)[0]:C?e(p)[1]:e(p)[2]}function c(g){return g%10==0||g>10&&g<20}function e(g){return i[g].split("_")}function u(g,v,p,C){var b=g+" ";return 1===g?b+a(0,v,p[0],C):v?b+(c(g)?e(p)[1]:e(p)[0]):C?b+e(p)[1]:b+(c(g)?e(p)[1]:e(p)[2])}n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(g,v,p,C){return v?"kelios sekund\u0117s":C?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:u,m:a,mm:u,h:a,hh:u,d:a,dd:u,M:a,MM:u,y:a,yy:u},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(g){return g+"-oji"},week:{dow:1,doy:4}})}(o(35908))},6296:function(ve,h,o){!function(n){"use strict";var i={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(l,g,v){return v?g%10==1&&g%100!=11?l[2]:l[3]:g%10==1&&g%100!=11?l[0]:l[1]}function a(l,g,v){return l+" "+d(i[v],l,g)}function c(l,g,v){return d(i[v],l,g)}n.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function e(l,g){return g?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:a,m:c,mm:a,h:c,hh:a,d:c,dd:a,M:c,MM:a,y:c,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},58256:function(ve,h,o){!function(n){"use strict";var i={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,c){return 1===a?c[0]:a>=2&&a<=4?c[1]:c[2]},translate:function(a,c,e){var u=i.words[e];return 1===e.length?c?u[0]:u[1]:a+" "+i.correctGrammaticalCase(a,u)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:"dan",dd:i.translate,M:"mjesec",MM:i.translate,y:"godinu",yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},29284:function(ve,h,o){!function(n){"use strict";n.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},33196:function(ve,h,o){!function(n){"use strict";n.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,c=d%100;return 0===d?d+"-\u0435\u0432":0===c?d+"-\u0435\u043d":c>10&&c<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(o(35908))},45896:function(ve,h,o){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?d+12:d},meridiem:function(d,a,c){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(o(35908))},32460:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){switch(e){case"s":return c?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return a+(c?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return a+(c?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return a+(c?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return a+(c?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return a+(c?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return a+(c?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return a}}n.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(a){return"\u04ae\u0425"===a},meridiem:function(a,c,e){return a<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(a,c){switch(c){case"d":case"D":case"DDD":return a+" \u04e9\u0434\u04e9\u0440";default:return a}}})}(o(35908))},80132:function(ve,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function a(e,u,l,g){var v="";if(u)switch(l){case"s":v="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":v="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":v="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":v="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":v="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":v="%d \u0924\u093e\u0938";break;case"d":v="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":v="%d \u0926\u093f\u0935\u0938";break;case"M":v="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":v="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":v="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":v="%d \u0935\u0930\u094d\u0937\u0947"}else switch(l){case"s":v="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":v="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":v="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":v="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":v="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":v="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":v="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":v="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":v="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":v="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":v="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":v="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return v.replace(/%d/i,e)}n.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(u){return d[u]})},postformat:function(e){return e.replace(/\d/g,function(u){return i[u]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,u){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===u||"\u0938\u0915\u093e\u0933\u0940"===u?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===u||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===u||"\u0930\u093e\u0924\u094d\u0930\u0940"===u?e>=12?e:e+12:void 0},meridiem:function(e,u,l){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(o(35908))},88060:function(ve,h,o){!function(n){"use strict";n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,c){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},73136:function(ve,h,o){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,c){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(o(35908))},46227:function(ve,h,o){!function(n){"use strict";n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},88300:function(ve,h,o){!function(n){"use strict";var i={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(c){return c.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},week:{dow:1,doy:4}})}(o(35908))},14784:function(ve,h,o){!function(n){"use strict";n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},75060:function(ve,h,o){!function(n){"use strict";var i={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(c){return c.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0930\u093e\u0924\u093f"===e?c<4?c:c+12:"\u092c\u093f\u0939\u093e\u0928"===e?c:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?c>=10?c:c+12:"\u0938\u093e\u0901\u091d"===e?c+12:void 0},meridiem:function(c,e,u){return c<3?"\u0930\u093e\u0924\u093f":c<12?"\u092c\u093f\u0939\u093e\u0928":c<16?"\u0926\u093f\u0909\u0901\u0938\u094b":c<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(o(35908))},94796:function(ve,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],c=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(u,l){return u?/-MMM-/.test(l)?d[u.month()]:i[u.month()]:i},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},4971:function(ve,h,o){!function(n){"use strict";var i="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],c=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(u,l){return u?/-MMM-/.test(l)?d[u.month()]:i[u.month()]:i},monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(o(35908))},18984:function(ve,h,o){!function(n){"use strict";n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},59928:function(ve,h,o){!function(n){"use strict";n.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var c=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(c="a"),d+c},week:{dow:1,doy:4}})}(o(35908))},76440:function(ve,h,o){!function(n){"use strict";var i={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(c){return c.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(c,e){return 12===c&&(c=0),"\u0a30\u0a3e\u0a24"===e?c<4?c:c+12:"\u0a38\u0a35\u0a47\u0a30"===e?c:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?c>=10?c:c+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?c+12:void 0},meridiem:function(c,e,u){return c<4?"\u0a30\u0a3e\u0a24":c<10?"\u0a38\u0a35\u0a47\u0a30":c<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":c<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(o(35908))},96768:function(ve,h,o){!function(n){"use strict";var i="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function c(l){return l%10<5&&l%10>1&&~~(l/10)%10!=1}function e(l,g,v){var p=l+" ";switch(v){case"ss":return p+(c(l)?"sekundy":"sekund");case"m":return g?"minuta":"minut\u0119";case"mm":return p+(c(l)?"minuty":"minut");case"h":return g?"godzina":"godzin\u0119";case"hh":return p+(c(l)?"godziny":"godzin");case"ww":return p+(c(l)?"tygodnie":"tygodni");case"MM":return p+(c(l)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return p+(c(l)?"lata":"lat")}}n.defineLocale("pl",{months:function(l,g){return l?/D MMMM/.test(g)?d[l.month()]:i[l.month()]:i},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:e,M:"miesi\u0105c",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},51528:function(ve,h,o){!function(n){"use strict";n.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(o(35908))},18968:function(ve,h,o){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(o(35908))},5760:function(ve,h,o){!function(n){"use strict";function i(a,c,e){var l=" ";return(a%100>=20||a>=100&&a%100==0)&&(l=" de "),a+l+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[e]}n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:i,m:"un minut",mm:i,h:"o or\u0103",hh:i,d:"o zi",dd:i,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:i,M:"o lun\u0103",MM:i,y:"un an",yy:i},week:{dow:1,doy:7}})}(o(35908))},19760:function(ve,h,o){!function(n){"use strict";function d(e,u,l){return"m"===l?u?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function i(e,u){var l=e.split("_");return u%10==1&&u%100!=11?l[0]:u%10>=2&&u%10<=4&&(u%100<10||u%100>=20)?l[1]:l[2]}({ss:u?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:u?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[l],+e)}var a=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];n.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,u,l){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,u){switch(u){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(o(35908))},53804:function(ve,h,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];n.defineLocale("sd",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,e,u){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},44100:function(ve,h,o){!function(n){"use strict";n.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},95301:function(ve,h,o){!function(n){"use strict";n.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,a,c){return d>11?c?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":c?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(o(35908))},79992:function(ve,h,o){!function(n){"use strict";var i="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function a(u){return u>1&&u<5}function c(u,l,g,v){var p=u+" ";switch(g){case"s":return l||v?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return l||v?p+(a(u)?"sekundy":"sek\xfand"):p+"sekundami";case"m":return l?"min\xfata":v?"min\xfatu":"min\xfatou";case"mm":return l||v?p+(a(u)?"min\xfaty":"min\xfat"):p+"min\xfatami";case"h":return l?"hodina":v?"hodinu":"hodinou";case"hh":return l||v?p+(a(u)?"hodiny":"hod\xedn"):p+"hodinami";case"d":return l||v?"de\u0148":"d\u0148om";case"dd":return l||v?p+(a(u)?"dni":"dn\xed"):p+"d\u0148ami";case"M":return l||v?"mesiac":"mesiacom";case"MM":return l||v?p+(a(u)?"mesiace":"mesiacov"):p+"mesiacmi";case"y":return l||v?"rok":"rokom";case"yy":return l||v?p+(a(u)?"roky":"rokov"):p+"rokmi"}}n.defineLocale("sk",{months:i,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},35208:function(ve,h,o){!function(n){"use strict";function i(a,c,e,u){var l=a+" ";switch(e){case"s":return c||u?"nekaj sekund":"nekaj sekundami";case"ss":return l+(1===a?c?"sekundo":"sekundi":2===a?c||u?"sekundi":"sekundah":a<5?c||u?"sekunde":"sekundah":"sekund");case"m":return c?"ena minuta":"eno minuto";case"mm":return l+(1===a?c?"minuta":"minuto":2===a?c||u?"minuti":"minutama":a<5?c||u?"minute":"minutami":c||u?"minut":"minutami");case"h":return c?"ena ura":"eno uro";case"hh":return l+(1===a?c?"ura":"uro":2===a?c||u?"uri":"urama":a<5?c||u?"ure":"urami":c||u?"ur":"urami");case"d":return c||u?"en dan":"enim dnem";case"dd":return l+(1===a?c||u?"dan":"dnem":2===a?c||u?"dni":"dnevoma":c||u?"dni":"dnevi");case"M":return c||u?"en mesec":"enim mesecem";case"MM":return l+(1===a?c||u?"mesec":"mesecem":2===a?c||u?"meseca":"mesecema":a<5?c||u?"mesece":"meseci":c||u?"mesecev":"meseci");case"y":return c||u?"eno leto":"enim letom";case"yy":return l+(1===a?c||u?"leto":"letom":2===a?c||u?"leti":"letoma":a<5?c||u?"leta":"leti":c||u?"let":"leti")}}n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},27408:function(ve,h,o){!function(n){"use strict";n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,a,c){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},1128:function(ve,h,o){!function(n){"use strict";var i={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(a,c){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?c[0]:c[1]:c[2]},translate:function(a,c,e,u){var g,l=i.words[e];return 1===e.length?"y"===e&&c?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":u||c?l[0]:l[1]:(g=i.correctGrammaticalCase(a,l),"yy"===e&&c&&"\u0433\u043e\u0434\u0438\u043d\u0443"===g?a+" \u0433\u043e\u0434\u0438\u043d\u0430":a+" "+g)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10656:function(ve,h,o){!function(n){"use strict";var i={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(a,c){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?c[0]:c[1]:c[2]},translate:function(a,c,e,u){var g,l=i.words[e];return 1===e.length?"y"===e&&c?"jedna godina":u||c?l[0]:l[1]:(g=i.correctGrammaticalCase(a,l),"yy"===e&&c&&"godinu"===g?a+" godina":a+" "+g)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:i.translate,m:i.translate,mm:i.translate,h:i.translate,hh:i.translate,d:i.translate,dd:i.translate,M:i.translate,MM:i.translate,y:i.translate,yy:i.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(o(35908))},10864:function(ve,h,o){!function(n){"use strict";n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,a,c){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,a){return 12===d&&(d=0),"ekuseni"===a?d:"emini"===a?d>=11?d:d+12:"entsambama"===a||"ebusuku"===a?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(o(35908))},16900:function(ve,h,o){!function(n){"use strict";n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?":e":1===a||2===a?":a":":e")},week:{dow:1,doy:4}})}(o(35908))},81636:function(ve,h,o){!function(n){"use strict";n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(o(35908))},24180:function(ve,h,o){!function(n){"use strict";var i={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(c){return c+"\u0bb5\u0ba4\u0bc1"},preparse:function(c){return c.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return d[e]})},postformat:function(c){return c.replace(/\d/g,function(e){return i[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(c,e,u){return c<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":c<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":c<10?" \u0b95\u0bbe\u0bb2\u0bc8":c<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":c<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":c<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(c,e){return 12===c&&(c=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?c<2?c:c+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&c>=10?c:c+12},week:{dow:0,doy:6}})}(o(35908))},97008:function(ve,h,o){!function(n){"use strict";n.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===a?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?d+12:void 0},meridiem:function(d,a,c){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(o(35908))},50744:function(ve,h,o){!function(n){"use strict";n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},58084:function(ve,h,o){!function(n){"use strict";var i={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};n.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(a,c){return 12===a&&(a=0),"\u0448\u0430\u0431"===c?a<4?a:a+12:"\u0441\u0443\u0431\u04b3"===c?a:"\u0440\u04ef\u0437"===c?a>=11?a:a+12:"\u0431\u0435\u0433\u043e\u04b3"===c?a+12:void 0},meridiem:function(a,c,e){return a<4?"\u0448\u0430\u0431":a<11?"\u0441\u0443\u0431\u04b3":a<16?"\u0440\u04ef\u0437":a<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(a){return a+(i[a]||i[a%10]||i[a>=100?100:null])},week:{dow:1,doy:7}})}(o(35908))},81672:function(ve,h,o){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,a,c){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(o(35908))},57232:function(ve,h,o){!function(n){"use strict";var i={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};n.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(a,c){switch(c){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'unjy";var e=a%10;return a+(i[e]||i[a%100-e]||i[a>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},89480:function(ve,h,o){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},58512:function(ve,h,o){!function(n){"use strict";var i="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function c(l,g,v,p){var C=function e(l){var g=Math.floor(l%1e3/100),v=Math.floor(l%100/10),p=l%10,C="";return g>0&&(C+=i[g]+"vatlh"),v>0&&(C+=(""!==C?" ":"")+i[v]+"maH"),p>0&&(C+=(""!==C?" ":"")+i[p]),""===C?"pagh":C}(l);switch(v){case"ss":return C+" lup";case"mm":return C+" tup";case"hh":return C+" rep";case"dd":return C+" jaj";case"MM":return C+" jar";case"yy":return C+" DIS"}}n.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(l){var g=l;return-1!==l.indexOf("jaj")?g.slice(0,-3)+"leS":-1!==l.indexOf("jar")?g.slice(0,-3)+"waQ":-1!==l.indexOf("DIS")?g.slice(0,-3)+"nem":g+" pIq"},past:function a(l){var g=l;return-1!==l.indexOf("jaj")?g.slice(0,-3)+"Hu\u2019":-1!==l.indexOf("jar")?g.slice(0,-3)+"wen":-1!==l.indexOf("DIS")?g.slice(0,-3)+"ben":g+" ret"},s:"puS lup",ss:c,m:"wa\u2019 tup",mm:c,h:"wa\u2019 rep",hh:c,d:"wa\u2019 jaj",dd:c,M:"wa\u2019 jar",MM:c,y:"wa\u2019 DIS",yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},56020:function(ve,h,o){!function(n){"use strict";var i={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(a,c,e){return a<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(a){return"\xf6s"===a||"\xd6S"===a},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(a,c){switch(c){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'\u0131nc\u0131";var e=a%10;return a+(i[e]||i[a%100-e]||i[a>=100?100:null])}},week:{dow:1,doy:7}})}(o(35908))},36240:function(ve,h,o){!function(n){"use strict";function d(a,c,e,u){var l={s:["viensas secunds","'iensas secunds"],ss:[a+" secunds",a+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[a+" m\xeduts",a+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[a+" \xfeoras",a+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return u||c?l[e][0]:l[e][1]}n.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,c,e){return a>11?e?"d'o":"D'O":e?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(o(35908))},53384:function(ve,h,o){!function(n){"use strict";n.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(o(35908))},33064:function(ve,h,o){!function(n){"use strict";n.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(o(35908))},45852:function(ve,h,o){!function(n){"use strict";n.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===a||"\u0643\u06d5\u0686"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,c){var e=100*d+a;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(o(35908))},12480:function(ve,h,o){!function(n){"use strict";function d(u,l,g){return"m"===g?l?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===g?l?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":u+" "+function i(u,l){var g=u.split("_");return l%10==1&&l%100!=11?g[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?g[1]:g[2]}({ss:l?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:l?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:l?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[g],+u)}function c(u){return function(){return u+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function a(u,l){var g={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===u?g.nominative.slice(1,7).concat(g.nominative.slice(0,1)):u?g[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(l)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(l)?"genitive":"nominative"][u.day()]:g.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:c("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:c("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:c("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:c("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return c("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return c("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(u){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(u)},meridiem:function(u,l,g){return u<4?"\u043d\u043e\u0447\u0456":u<12?"\u0440\u0430\u043d\u043a\u0443":u<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(u,l){switch(l){case"M":case"d":case"DDD":case"w":case"W":return u+"-\u0439";case"D":return u+"-\u0433\u043e";default:return u}},week:{dow:1,doy:7}})}(o(35908))},63877:function(ve,h,o){!function(n){"use strict";var i=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];n.defineLocale("ur",{months:i,monthsShort:i,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(c){return"\u0634\u0627\u0645"===c},meridiem:function(c,e,u){return c<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(o(35908))},20108:function(ve,h,o){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(o(35908))},91712:function(ve,h,o){!function(n){"use strict";n.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(o(35908))},9984:function(ve,h,o){!function(n){"use strict";n.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,a,c){return d<12?c?"sa":"SA":c?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(o(35908))},45708:function(ve,h,o){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(o(35908))},78476:function(ve,h,o){!function(n){"use strict";n.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(o(35908))},3676:function(ve,h,o){!function(n){"use strict";n.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,c){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(o(35908))},49880:function(ve,h,o){!function(n){"use strict";n.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,c){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},41968:function(ve,h,o){!function(n){"use strict";n.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,c){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},33632:function(ve,h,o){!function(n){"use strict";n.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,c){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(o(35908))},35908:function(ve,h,o){(ve=o.nmd(ve)).exports=function(){"use strict";var n,y;function i(){return n.apply(null,arguments)}function a(V){return V instanceof Array||"[object Array]"===Object.prototype.toString.call(V)}function c(V){return null!=V&&"[object Object]"===Object.prototype.toString.call(V)}function e(V,de){return Object.prototype.hasOwnProperty.call(V,de)}function u(V){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(V).length;var de;for(de in V)if(e(V,de))return!1;return!0}function l(V){return void 0===V}function g(V){return"number"==typeof V||"[object Number]"===Object.prototype.toString.call(V)}function v(V){return V instanceof Date||"[object Date]"===Object.prototype.toString.call(V)}function p(V,de){var $e,xe=[],lt=V.length;for($e=0;$e>>0;for($e=0;$e0)for(xe=0;xe=0?xe?"+":"":"-")+Math.pow(10,Math.max(0,de-$e.length)).toString().substr(1)+$e}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,X=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,W={},Y={};function q(V,de,xe,$e){var lt=$e;"string"==typeof $e&&(lt=function(){return this[$e]()}),V&&(Y[V]=lt),de&&(Y[de[0]]=function(){return Z(lt.apply(this,arguments),de[1],de[2])}),xe&&(Y[xe]=function(){return this.localeData().ordinal(lt.apply(this,arguments),V)})}function he(V){return V.match(/\[[\s\S]/)?V.replace(/^\[|\]$/g,""):V.replace(/\\/g,"")}function Oe(V,de){return V.isValid()?(de=Re(de,V.localeData()),W[de]=W[de]||function _e(V){var xe,$e,de=V.match(re);for(xe=0,$e=de.length;xe<$e;xe++)de[xe]=Y[de[xe]]?Y[de[xe]]:he(de[xe]);return function(lt){var Mn,Ht="";for(Mn=0;Mn<$e;Mn++)Ht+=x(de[Mn])?de[Mn].call(lt,V):de[Mn];return Ht}}(de),W[de](V)):V.localeData().invalidDate()}function Re(V,de){var xe=5;function $e(lt){return de.longDateFormat(lt)||lt}for(X.lastIndex=0;xe>=0&&X.test(V);)V=V.replace(X,$e),X.lastIndex=0,xe-=1;return V}var Qe={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ut(V){return"string"==typeof V?Qe[V]||Qe[V.toLowerCase()]:void 0}function sn(V){var xe,$e,de={};for($e in V)e(V,$e)&&(xe=Ut($e))&&(de[xe]=V[$e]);return de}var un={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var kn,bn=/\d/,kt=/\d\d/,jt=/\d{3}/,Fe=/\d{4}/,Ee=/[+-]?\d{6}/,ye=/\d\d?/,Ce=/\d\d\d\d?/,Ge=/\d\d\d\d\d\d?/,Je=/\d{1,3}/,vt=/\d{1,4}/,Bt=/[+-]?\d{1,6}/,Zt=/\d+/,Rt=/[+-]?\d+/,Dt=/Z|[+-]\d\d:?\d\d/gi,Ot=/Z|[+-]\d\d(?::?\d\d)?/gi,Vn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yn=/^[1-9]\d?/,er=/^([1-9]\d|\d)/;function Mt(V,de,xe){kn[V]=x(de)?de:function($e,lt){return $e&&xe?xe:de}}function Gt(V,de){return e(kn,V)?kn[V](de._strict,de._locale):new RegExp(function mt(V){return Et(V.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(de,xe,$e,lt,Ht){return xe||$e||lt||Ht}))}(V))}function Et(V){return V.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xt(V){return V<0?Math.ceil(V)||0:Math.floor(V)}function _n(V){var de=+V,xe=0;return 0!==de&&isFinite(de)&&(xe=Xt(de)),xe}kn={};var En={};function qt(V,de){var xe,lt,$e=de;for("string"==typeof V&&(V=[V]),g(de)&&($e=function(Ht,Mn){Mn[de]=_n(Ht)}),lt=V.length,xe=0;xe68?1900:2e3)};var ct,Or=Qt("FullYear",!0);function Qt(V,de){return function(xe){return null!=xe?(Kn(this,V,xe),i.updateOffset(this,de),this):Rn(this,V)}}function Rn(V,de){if(!V.isValid())return NaN;var xe=V._d,$e=V._isUTC;switch(de){case"Milliseconds":return $e?xe.getUTCMilliseconds():xe.getMilliseconds();case"Seconds":return $e?xe.getUTCSeconds():xe.getSeconds();case"Minutes":return $e?xe.getUTCMinutes():xe.getMinutes();case"Hours":return $e?xe.getUTCHours():xe.getHours();case"Date":return $e?xe.getUTCDate():xe.getDate();case"Day":return $e?xe.getUTCDay():xe.getDay();case"Month":return $e?xe.getUTCMonth():xe.getMonth();case"FullYear":return $e?xe.getUTCFullYear():xe.getFullYear();default:return NaN}}function Kn(V,de,xe){var $e,lt,Ht,Mn,rr;if(V.isValid()&&!isNaN(xe)){switch($e=V._d,lt=V._isUTC,de){case"Milliseconds":return void(lt?$e.setUTCMilliseconds(xe):$e.setMilliseconds(xe));case"Seconds":return void(lt?$e.setUTCSeconds(xe):$e.setSeconds(xe));case"Minutes":return void(lt?$e.setUTCMinutes(xe):$e.setMinutes(xe));case"Hours":return void(lt?$e.setUTCHours(xe):$e.setHours(xe));case"Date":return void(lt?$e.setUTCDate(xe):$e.setDate(xe));case"FullYear":break;default:return}Ht=xe,Mn=V.month(),rr=29!==(rr=V.date())||1!==Mn||Br(Ht)?rr:28,lt?$e.setUTCFullYear(Ht,Mn,rr):$e.setFullYear(Ht,Mn,rr)}}function Tt(V,de){if(isNaN(V)||isNaN(de))return NaN;var xe=function Pr(V,de){return(V%de+de)%de}(de,12);return V+=(de-xe)/12,1===xe?Br(V)?29:28:31-xe%7%2}ct=Array.prototype.indexOf?Array.prototype.indexOf:function(V){var de;for(de=0;de=0?(rr=new Date(V+400,de,xe,$e,lt,Ht,Mn),isFinite(rr.getFullYear())&&rr.setFullYear(V)):rr=new Date(V,de,xe,$e,lt,Ht,Mn),rr}function He(V){var de,xe;return V<100&&V>=0?((xe=Array.prototype.slice.call(arguments))[0]=V+400,de=new Date(Date.UTC.apply(null,xe)),isFinite(de.getUTCFullYear())&&de.setUTCFullYear(V)):de=new Date(Date.UTC.apply(null,arguments)),de}function Ie(V,de,xe){var $e=7+de-xe;return-(7+He(V,0,$e).getUTCDay()-de)%7+$e-1}function fe(V,de,xe,$e,lt){var Kr,fi,rr=1+7*(de-1)+(7+xe-$e)%7+Ie(V,$e,lt);return rr<=0?fi=qn(Kr=V-1)+rr:rr>qn(V)?(Kr=V+1,fi=rr-qn(V)):(Kr=V,fi=rr),{year:Kr,dayOfYear:fi}}function Te(V,de,xe){var Ht,Mn,$e=Ie(V.year(),de,xe),lt=Math.floor((V.dayOfYear()-$e-1)/7)+1;return lt<1?Ht=lt+ot(Mn=V.year()-1,de,xe):lt>ot(V.year(),de,xe)?(Ht=lt-ot(V.year(),de,xe),Mn=V.year()+1):(Mn=V.year(),Ht=lt),{week:Ht,year:Mn}}function ot(V,de,xe){var $e=Ie(V,de,xe),lt=Ie(V+1,de,xe);return(qn(V)-$e+lt)/7}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),Mt("w",ye,Yn),Mt("ww",ye,kt),Mt("W",ye,Yn),Mt("WW",ye,kt),nr(["w","ww","W","WW"],function(V,de,xe,$e){de[$e.substr(0,1)]=_n(V)});function Yt(V,de){return V.slice(de,7).concat(V.slice(0,de))}q("d",0,"do","day"),q("dd",0,0,function(V){return this.localeData().weekdaysMin(this,V)}),q("ddd",0,0,function(V){return this.localeData().weekdaysShort(this,V)}),q("dddd",0,0,function(V){return this.localeData().weekdays(this,V)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),Mt("d",ye),Mt("e",ye),Mt("E",ye),Mt("dd",function(V,de){return de.weekdaysMinRegex(V)}),Mt("ddd",function(V,de){return de.weekdaysShortRegex(V)}),Mt("dddd",function(V,de){return de.weekdaysRegex(V)}),nr(["dd","ddd","dddd"],function(V,de,xe,$e){var lt=xe._locale.weekdaysParse(V,$e,xe._strict);null!=lt?de.d=lt:f(xe).invalidWeekday=V}),nr(["d","e","E"],function(V,de,xe,$e){de[$e]=_n(V)});var Ln="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nr=Vn,Lr=Vn,ut=Vn;function wn(V,de,xe){var $e,lt,Ht,Mn=V.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$e=0;$e<7;++$e)Ht=b([2e3,1]).day($e),this._minWeekdaysParse[$e]=this.weekdaysMin(Ht,"").toLocaleLowerCase(),this._shortWeekdaysParse[$e]=this.weekdaysShort(Ht,"").toLocaleLowerCase(),this._weekdaysParse[$e]=this.weekdays(Ht,"").toLocaleLowerCase();return xe?"dddd"===de?-1!==(lt=ct.call(this._weekdaysParse,Mn))?lt:null:"ddd"===de?-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Mn))?lt:null:"dddd"===de?-1!==(lt=ct.call(this._weekdaysParse,Mn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))||-1!==(lt=ct.call(this._minWeekdaysParse,Mn))?lt:null:"ddd"===de?-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))||-1!==(lt=ct.call(this._weekdaysParse,Mn))||-1!==(lt=ct.call(this._minWeekdaysParse,Mn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Mn))||-1!==(lt=ct.call(this._weekdaysParse,Mn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))?lt:null}function Xr(){function V(us,Xs){return Xs.length-us.length}var Ht,Mn,rr,Kr,fi,de=[],xe=[],$e=[],lt=[];for(Ht=0;Ht<7;Ht++)Mn=b([2e3,1]).day(Ht),rr=Et(this.weekdaysMin(Mn,"")),Kr=Et(this.weekdaysShort(Mn,"")),fi=Et(this.weekdays(Mn,"")),de.push(rr),xe.push(Kr),$e.push(fi),lt.push(rr),lt.push(Kr),lt.push(fi);de.sort(V),xe.sort(V),$e.sort(V),lt.sort(V),this._weekdaysRegex=new RegExp("^("+lt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$e.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+xe.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+de.join("|")+")","i")}function Vi(){return this.hours()%12||12}function Yi(V,de){q(V,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),de)})}function ko(V,de){return de._meridiemParse}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Vi),q("k",["kk",2],0,function hr(){return this.hours()||24}),q("hmm",0,0,function(){return""+Vi.apply(this)+Z(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Vi.apply(this)+Z(this.minutes(),2)+Z(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+Z(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+Z(this.minutes(),2)+Z(this.seconds(),2)}),Yi("a",!0),Yi("A",!1),Mt("a",ko),Mt("A",ko),Mt("H",ye,er),Mt("h",ye,Yn),Mt("k",ye,Yn),Mt("HH",ye,kt),Mt("hh",ye,kt),Mt("kk",ye,kt),Mt("hmm",Ce),Mt("hmmss",Ge),Mt("Hmm",Ce),Mt("Hmmss",Ge),qt(["H","HH"],Jn),qt(["k","kk"],function(V,de,xe){var $e=_n(V);de[Jn]=24===$e?0:$e}),qt(["a","A"],function(V,de,xe){xe._isPm=xe._locale.isPM(V),xe._meridiem=V}),qt(["h","hh"],function(V,de,xe){de[Jn]=_n(V),f(xe).bigHour=!0}),qt("hmm",function(V,de,xe){var $e=V.length-2;de[Jn]=_n(V.substr(0,$e)),de[xn]=_n(V.substr($e)),f(xe).bigHour=!0}),qt("hmmss",function(V,de,xe){var $e=V.length-4,lt=V.length-2;de[Jn]=_n(V.substr(0,$e)),de[xn]=_n(V.substr($e,2)),de[oi]=_n(V.substr(lt)),f(xe).bigHour=!0}),qt("Hmm",function(V,de,xe){var $e=V.length-2;de[Jn]=_n(V.substr(0,$e)),de[xn]=_n(V.substr($e))}),qt("Hmmss",function(V,de,xe){var $e=V.length-4,lt=V.length-2;de[Jn]=_n(V.substr(0,$e)),de[xn]=_n(V.substr($e,2)),de[oi]=_n(V.substr(lt))});var Wi=Qt("Hours",!0);var _i,ro={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:Jt,week:{dow:0,doy:6},weekdays:Ln,weekdaysMin:cr,weekdaysShort:lr,meridiemParse:/[ap]\.?m?\.?/i},Rr={},mo={};function xi(V,de){var xe,$e=Math.min(V.length,de.length);for(xe=0;xe<$e;xe+=1)if(V[xe]!==de[xe])return xe;return $e}function qr(V){return V&&V.toLowerCase().replace("_","-")}function wi(V){var de=null;if(void 0===Rr[V]&&ve&&ve.exports&&function yo(V){return!(!V||!V.match("^[^/\\\\]*$"))}(V))try{de=_i._abbr,o(92348)("./"+V),yi(de)}catch{Rr[V]=null}return Rr[V]}function yi(V,de){var xe;return V&&((xe=l(de)?Wr(V):Eo(V,de))?_i=xe:typeof console<"u"&&console.warn&&console.warn("Locale "+V+" not found. Did you forget to load it?")),_i._abbr}function Eo(V,de){if(null!==de){var xe,$e=ro;if(de.abbr=V,null!=Rr[V])N("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),$e=Rr[V]._config;else if(null!=de.parentLocale)if(null!=Rr[de.parentLocale])$e=Rr[de.parentLocale]._config;else{if(null==(xe=wi(de.parentLocale)))return mo[de.parentLocale]||(mo[de.parentLocale]=[]),mo[de.parentLocale].push({name:V,config:de}),null;$e=xe._config}return Rr[V]=new te(G($e,de)),mo[V]&&mo[V].forEach(function(lt){Eo(lt.name,lt.config)}),yi(V),Rr[V]}return delete Rr[V],null}function Wr(V){var de;if(V&&V._locale&&V._locale._abbr&&(V=V._locale._abbr),!V)return _i;if(!a(V)){if(de=wi(V))return de;V=[V]}return function ar(V){for(var xe,$e,lt,Ht,de=0;de0;){if(lt=wi(Ht.slice(0,xe).join("-")))return lt;if($e&&$e.length>=xe&&xi(Ht,$e)>=xe-1)break;xe--}de++}return _i}(V)}function Ni(V){var de,xe=V._a;return xe&&-2===f(V).overflow&&(de=xe[Mr]<0||xe[Mr]>11?Mr:xe[br]<1||xe[br]>Tt(xe[sr],xe[Mr])?br:xe[Jn]<0||xe[Jn]>24||24===xe[Jn]&&(0!==xe[xn]||0!==xe[oi]||0!==xe[Sr])?Jn:xe[xn]<0||xe[xn]>59?xn:xe[oi]<0||xe[oi]>59?oi:xe[Sr]<0||xe[Sr]>999?Sr:-1,f(V)._overflowDayOfYear&&(debr)&&(de=br),f(V)._overflowWeeks&&-1===de&&(de=pr),f(V)._overflowWeekday&&-1===de&&(de=Xn),f(V).overflow=de),V}var Gr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/Z|[+-]\d\d(?::?\d\d)?/,Zi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Li=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gi=/^\/?Date\((-?\d+)/i,$o=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Co={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ro(V){var de,xe,Ht,Mn,rr,Kr,$e=V._i,lt=Gr.exec($e)||Lo.exec($e),fi=Zi.length,us=Li.length;if(lt){for(f(V).iso=!0,de=0,xe=fi;de7)&&(Kr=!0)):(Ht=V._locale._week.dow,Mn=V._locale._week.doy,fi=Te(wt(),Ht,Mn),xe=So(de.gg,V._a[sr],fi.year),$e=So(de.w,fi.week),null!=de.d?((lt=de.d)<0||lt>6)&&(Kr=!0):null!=de.e?(lt=de.e+Ht,(de.e<0||de.e>6)&&(Kr=!0)):lt=Ht),$e<1||$e>ot(xe,Ht,Mn)?f(V)._overflowWeeks=!0:null!=Kr?f(V)._overflowWeekday=!0:(rr=fe(xe,$e,lt,Ht,Mn),V._a[sr]=rr.year,V._dayOfYear=rr.dayOfYear)}(V),null!=V._dayOfYear&&(Mn=So(V._a[sr],lt[sr]),(V._dayOfYear>qn(Mn)||0===V._dayOfYear)&&(f(V)._overflowDayOfYear=!0),xe=He(Mn,0,V._dayOfYear),V._a[Mr]=xe.getUTCMonth(),V._a[br]=xe.getUTCDate()),de=0;de<3&&null==V._a[de];++de)V._a[de]=$e[de]=lt[de];for(;de<7;de++)V._a[de]=$e[de]=null==V._a[de]?2===de?1:0:V._a[de];24===V._a[Jn]&&0===V._a[xn]&&0===V._a[oi]&&0===V._a[Sr]&&(V._nextDay=!0,V._a[Jn]=0),V._d=(V._useUTC?He:ae).apply(null,$e),Ht=V._useUTC?V._d.getUTCDay():V._d.getDay(),null!=V._tzm&&V._d.setUTCMinutes(V._d.getUTCMinutes()-V._tzm),V._nextDay&&(V._a[Jn]=24),V._w&&typeof V._w.d<"u"&&V._w.d!==Ht&&(f(V).weekdayMismatch=!0)}}function Do(V){if(V._f!==i.ISO_8601)if(V._f!==i.RFC_2822){V._a=[],f(V).empty=!0;var xe,$e,lt,Ht,Mn,fi,us,de=""+V._i,rr=de.length,Kr=0;for(us=(lt=Re(V._f,V._locale).match(re)||[]).length,xe=0;xe0&&f(V).unusedInput.push(Mn),de=de.slice(de.indexOf($e)+$e.length),Kr+=$e.length),Y[Ht]?($e?f(V).empty=!1:f(V).unusedTokens.push(Ht),kr(Ht,$e,V)):V._strict&&!$e&&f(V).unusedTokens.push(Ht);f(V).charsLeftOver=rr-Kr,de.length>0&&f(V).unusedInput.push(de),V._a[Jn]<=12&&!0===f(V).bigHour&&V._a[Jn]>0&&(f(V).bigHour=void 0),f(V).parsedDateParts=V._a.slice(0),f(V).meridiem=V._meridiem,V._a[Jn]=function Ko(V,de,xe){var $e;return null==xe?de:null!=V.meridiemHour?V.meridiemHour(de,xe):(null!=V.isPM&&(($e=V.isPM(xe))&&de<12&&(de+=12),!$e&&12===de&&(de=0)),de)}(V._locale,V._a[Jn],V._meridiem),null!==(fi=f(V).era)&&(V._a[sr]=V._locale.erasConvertYear(fi,V._a[sr])),co(V),Ni(V)}else Ki(V);else Ro(V)}function Xe(V){var de=V._i,xe=V._f;return V._locale=V._locale||Wr(V._l),null===de||void 0===xe&&""===de?M({nullInput:!0}):("string"==typeof de&&(V._i=de=V._locale.preparse(de)),j(de)?new F(Ni(de)):(v(de)?V._d=de:a(xe)?function hs(V){var de,xe,$e,lt,Ht,Mn,rr=!1,Kr=V._f.length;if(0===Kr)return f(V).invalidFormat=!0,void(V._d=new Date(NaN));for(lt=0;ltthis?this:V:M()});function zi(V,de){var xe,$e;if(1===de.length&&a(de[0])&&(de=de[0]),!de.length)return wt();for(xe=de[0],$e=1;$e=0?new Date(V+400,de,xe)-Ri:new Date(V,de,xe).valueOf()}function gs(V,de,xe){return V<100&&V>=0?Date.UTC(V+400,de,xe)-Ri:Date.UTC(V,de,xe)}function aa(V,de){return de.erasAbbrRegex(V)}function Wo(){var lt,Ht,Mn,rr,Kr,V=[],de=[],xe=[],$e=[],fi=this.eras();for(lt=0,Ht=fi.length;lt(Ht=ot(V,$e,lt))&&(de=Ht),Xl.call(this,V,de,xe,$e,lt))}function Xl(V,de,xe,$e,lt){var Ht=fe(V,de,xe,$e,lt),Mn=He(Ht.year,0,Ht.dayOfYear);return this.year(Mn.getUTCFullYear()),this.month(Mn.getUTCMonth()),this.date(Mn.getUTCDate()),this}q("N",0,0,"eraAbbr"),q("NN",0,0,"eraAbbr"),q("NNN",0,0,"eraAbbr"),q("NNNN",0,0,"eraName"),q("NNNNN",0,0,"eraNarrow"),q("y",["y",1],"yo","eraYear"),q("y",["yy",2],0,"eraYear"),q("y",["yyy",3],0,"eraYear"),q("y",["yyyy",4],0,"eraYear"),Mt("N",aa),Mt("NN",aa),Mt("NNN",aa),Mt("NNNN",function gu(V,de){return de.erasNameRegex(V)}),Mt("NNNNN",function Ql(V,de){return de.erasNarrowRegex(V)}),qt(["N","NN","NNN","NNNN","NNNNN"],function(V,de,xe,$e){var lt=xe._locale.erasParse(V,$e,xe._strict);lt?f(xe).era=lt:f(xe).invalidEra=V}),Mt("y",Zt),Mt("yy",Zt),Mt("yyy",Zt),Mt("yyyy",Zt),Mt("yo",function mu(V,de){return de._eraYearOrdinalRegex||Zt}),qt(["y","yy","yyy","yyyy"],sr),qt(["yo"],function(V,de,xe,$e){var lt;xe._locale._eraYearOrdinalRegex&&(lt=V.match(xe._locale._eraYearOrdinalRegex)),de[sr]=xe._locale.eraYearOrdinalParse?xe._locale.eraYearOrdinalParse(V,lt):parseInt(V,10)}),q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),la("gggg","weekYear"),la("ggggg","weekYear"),la("GGGG","isoWeekYear"),la("GGGGG","isoWeekYear"),Mt("G",Rt),Mt("g",Rt),Mt("GG",ye,kt),Mt("gg",ye,kt),Mt("GGGG",vt,Fe),Mt("gggg",vt,Fe),Mt("GGGGG",Bt,Ee),Mt("ggggg",Bt,Ee),nr(["gggg","ggggg","GGGG","GGGGG"],function(V,de,xe,$e){de[$e.substr(0,2)]=_n(V)}),nr(["gg","GG"],function(V,de,xe,$e){de[$e]=i.parseTwoDigitYear(V)}),q("Q",0,"Qo","quarter"),Mt("Q",bn),qt("Q",function(V,de){de[Mr]=3*(_n(V)-1)}),q("D",["DD",2],"Do","date"),Mt("D",ye,Yn),Mt("DD",ye,kt),Mt("Do",function(V,de){return V?de._dayOfMonthOrdinalParse||de._ordinalParse:de._dayOfMonthOrdinalParseLenient}),qt(["D","DD"],br),qt("Do",function(V,de){de[br]=_n(V.match(ye)[0])});var Ma=Qt("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),Mt("DDD",Je),Mt("DDDD",jt),qt(["DDD","DDDD"],function(V,de,xe){xe._dayOfYear=_n(V)}),q("m",["mm",2],0,"minute"),Mt("m",ye,er),Mt("mm",ye,kt),qt(["m","mm"],xn);var sl=Qt("Minutes",!1);q("s",["ss",2],0,"second"),Mt("s",ye,er),Mt("ss",ye,kt),qt(["s","ss"],oi);var No,ni,pu=Qt("Seconds",!1);for(q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Mt("S",Je,bn),Mt("SS",Je,kt),Mt("SSS",Je,jt),No="SSSS";No.length<=9;No+="S")Mt(No,Zt);function ql(V,de){de[Sr]=_n(1e3*("0."+V))}for(No="S";No.length<=9;No+="S")qt(No,ql);ni=Qt("Milliseconds",!1),q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Nn=F.prototype;function oe(V){return V}Nn.add=Ti,Nn.calendar=function Ye(V,de){1===arguments.length&&(arguments[0]?wr(arguments[0])?(V=arguments[0],de=void 0):function ei(V){var lt,de=c(V)&&!u(V),xe=!1,$e=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(lt=0;lt<$e.length;lt+=1)xe=xe||e(V,$e[lt]);return de&&xe}(arguments[0])&&(de=arguments[0],V=void 0):(V=void 0,de=void 0));var xe=V||wt(),$e=io(xe,this).startOf("day"),lt=i.calendarFormat(this,$e)||"sameElse",Ht=de&&(x(de[lt])?de[lt].call(this,xe):de[lt]);return this.format(Ht||this.localeData().calendar(lt,this,wt(xe)))},Nn.clone=function at(){return new F(this)},Nn.diff=function xt(V,de,xe){var $e,lt,Ht;if(!this.isValid())return NaN;if(!($e=io(V,this)).isValid())return NaN;switch(lt=6e4*($e.utcOffset()-this.utcOffset()),de=Ut(de)){case"year":Ht=rn(this,$e)/12;break;case"month":Ht=rn(this,$e);break;case"quarter":Ht=rn(this,$e)/3;break;case"second":Ht=(this-$e)/1e3;break;case"minute":Ht=(this-$e)/6e4;break;case"hour":Ht=(this-$e)/36e5;break;case"day":Ht=(this-$e-lt)/864e5;break;case"week":Ht=(this-$e-lt)/6048e5;break;default:Ht=this-$e}return xe?Ht:Xt(Ht)},Nn.endOf=function so(V){var de,xe;if(void 0===(V=Ut(V))||"millisecond"===V||!this.isValid())return this;switch(xe=this._isUTC?gs:Vo,V){case"year":de=xe(this.year()+1,0,1)-1;break;case"quarter":de=xe(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":de=xe(this.year(),this.month()+1,1)-1;break;case"week":de=xe(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":de=xe(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":de=xe(this.year(),this.month(),this.date()+1)-1;break;case"hour":de=this._d.valueOf(),de+=Hr-eo(de+(this._isUTC?0:this.utcOffset()*Qr),Hr)-1;break;case"minute":de=this._d.valueOf(),de+=Qr-eo(de,Qr)-1;break;case"second":de=this._d.valueOf(),de+=1e3-eo(de,1e3)-1}return this._d.setTime(de),i.updateOffset(this,!0),this},Nn.format=function Ue(V){V||(V=this.isUtc()?i.defaultFormatUtc:i.defaultFormat);var de=Oe(this,V);return this.localeData().postformat(de)},Nn.from=function _t(V,de){return this.isValid()&&(j(V)&&V.isValid()||wt(V).isValid())?fr({to:this,from:V}).locale(this.locale()).humanize(!de):this.localeData().invalidDate()},Nn.fromNow=function $t(V){return this.from(wt(),V)},Nn.to=function tn(V,de){return this.isValid()&&(j(V)&&V.isValid()||wt(V).isValid())?fr({from:this,to:V}).locale(this.locale()).humanize(!de):this.localeData().invalidDate()},Nn.toNow=function Dn(V){return this.to(wt(),V)},Nn.get=function or(V){return x(this[V=Ut(V)])?this[V]():this},Nn.invalidAt=function Qs(){return f(this).overflow},Nn.isAfter=function R(V,de){var xe=j(V)?V:wt(V);return!(!this.isValid()||!xe.isValid())&&("millisecond"===(de=Ut(de)||"millisecond")?this.valueOf()>xe.valueOf():xe.valueOf()9999?Oe(xe,de?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?de?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Oe(xe,"Z")):Oe(xe,de?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Nn.inspect=function Se(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var xe,$e,V="moment",de="";return this.isLocal()||(V=0===this.utcOffset()?"moment.utc":"moment.parseZone",de="Z"),xe="["+V+'("]',$e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(xe+$e+"-MM-DD[T]HH:mm:ss.SSS"+de+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Nn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Nn.toJSON=function Gl(){return this.isValid()?this.toISOString():null},Nn.toString=function J(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Nn.unix=function hi(){return Math.floor(this.valueOf()/1e3)},Nn.valueOf=function Yo(){return this._d.valueOf()-6e4*(this._offset||0)},Nn.creationData=function Os(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Nn.eraName=function Kl(){var V,de,xe,$e=this.localeData().eras();for(V=0,de=$e.length;Vthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Nn.isLocal=function Vt(){return!!this.isValid()&&!this._isUTC},Nn.isUtcOffset=function gn(){return!!this.isValid()&&this._isUTC},Nn.isUtc=zn,Nn.isUTC=zn,Nn.zoneAbbr=function Us(){return this._isUTC?"UTC":""},Nn.zoneName=function Ea(){return this._isUTC?"Coordinated Universal Time":""},Nn.dates=I("dates accessor is deprecated. Use date instead.",Ma),Nn.months=I("months accessor is deprecated. Use month instead",ur),Nn.years=I("years accessor is deprecated. Use year instead",Or),Nn.zone=I("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ne(V,de){return null!=V?("string"!=typeof V&&(V=-V),this.utcOffset(V,de),this):-this.utcOffset()}),Nn.isDSTShifted=I("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Nt(){if(!l(this._isDSTShifted))return this._isDSTShifted;var de,V={};return O(V,this),(V=Xe(V))._a?(de=V._isUTC?b(V._a):wt(V._a),this._isDSTShifted=this.isValid()&&function Di(V,de,xe){var Mn,$e=Math.min(V.length,de.length),lt=Math.abs(V.length-de.length),Ht=0;for(Mn=0;Mn<$e;Mn++)(xe&&V[Mn]!==de[Mn]||!xe&&_n(V[Mn])!==_n(de[Mn]))&&Ht++;return Ht+lt}(V._a,de.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var be=te.prototype;function ue(V,de,xe,$e){var lt=Wr(),Ht=b().set($e,de);return lt[xe](Ht,V)}function Me(V,de,xe){if(g(V)&&(de=V,V=void 0),V=V||"",null!=de)return ue(V,de,xe,"month");var $e,lt=[];for($e=0;$e<12;$e++)lt[$e]=ue(V,$e,xe,"month");return lt}function Ke(V,de,xe,$e){"boolean"==typeof V?(g(de)&&(xe=de,de=void 0),de=de||""):(xe=de=V,V=!1,g(de)&&(xe=de,de=void 0),de=de||"");var Mn,lt=Wr(),Ht=V?lt._week.dow:0,rr=[];if(null!=xe)return ue(de,(xe+Ht)%7,$e,"day");for(Mn=0;Mn<7;Mn++)rr[Mn]=ue(de,(Mn+Ht)%7,$e,"day");return rr}be.calendar=function K(V,de,xe){var $e=this._calendar[V]||this._calendar.sameElse;return x($e)?$e.call(de,xe):$e},be.longDateFormat=function ge(V){var de=this._longDateFormat[V],xe=this._longDateFormat[V.toUpperCase()];return de||!xe?de:(this._longDateFormat[V]=xe.match(re).map(function($e){return"MMMM"===$e||"MM"===$e||"DD"===$e||"dddd"===$e?$e.slice(1):$e}).join(""),this._longDateFormat[V])},be.invalidDate=function it(){return this._invalidDate},be.ordinal=function De(V){return this._ordinal.replace("%d",V)},be.preparse=oe,be.postformat=oe,be.relativeTime=function Pe(V,de,xe,$e){var lt=this._relativeTime[xe];return x(lt)?lt(V,de,xe,$e):lt.replace(/%d/i,V)},be.pastFuture=function bt(V,de){var xe=this._relativeTime[V>0?"future":"past"];return x(xe)?xe(de):xe.replace(/%s/i,de)},be.set=function H(V){var de,xe;for(xe in V)e(V,xe)&&(x(de=V[xe])?this[xe]=de:this["_"+xe]=de);this._config=V,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.eras=function fu(V,de){var xe,$e,lt,Ht=this._eras||Wr("en")._eras;for(xe=0,$e=Ht.length;xe<$e;++xe)switch("string"==typeof Ht[xe].since&&(lt=i(Ht[xe].since).startOf("day"),Ht[xe].since=lt.valueOf()),typeof Ht[xe].until){case"undefined":Ht[xe].until=1/0;break;case"string":lt=i(Ht[xe].until).startOf("day").valueOf(),Ht[xe].until=lt.valueOf()}return Ht},be.erasParse=function Jo(V,de,xe){var $e,lt,Mn,rr,Kr,Ht=this.eras();for(V=V.toUpperCase(),$e=0,lt=Ht.length;$e=0)return Ht[$e]},be.erasConvertYear=function as(V,de){var xe=V.since<=V.until?1:-1;return void 0===de?i(V.since).year():i(V.since).year()+(de-V.offset)*xe},be.erasAbbrRegex=function Sa(V){return e(this,"_erasAbbrRegex")||Wo.call(this),V?this._erasAbbrRegex:this._erasRegex},be.erasNameRegex=function nl(V){return e(this,"_erasNameRegex")||Wo.call(this),V?this._erasNameRegex:this._erasRegex},be.erasNarrowRegex=function sa(V){return e(this,"_erasNarrowRegex")||Wo.call(this),V?this._erasNarrowRegex:this._erasRegex},be.months=function Qn(V,de){return V?a(this._months)?this._months[V.month()]:this._months[(this._months.isFormat||an).test(de)?"format":"standalone"][V.month()]:a(this._months)?this._months:this._months.standalone},be.monthsShort=function Un(V,de){return V?a(this._monthsShort)?this._monthsShort[V.month()]:this._monthsShort[an.test(de)?"format":"standalone"][V.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function Er(V,de,xe){var $e,lt,Ht;if(this._monthsParseExact)return Tr.call(this,V,de,xe);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$e=0;$e<12;$e++){if(lt=b([2e3,$e]),xe&&!this._longMonthsParse[$e]&&(this._longMonthsParse[$e]=new RegExp("^"+this.months(lt,"").replace(".","")+"$","i"),this._shortMonthsParse[$e]=new RegExp("^"+this.monthsShort(lt,"").replace(".","")+"$","i")),!xe&&!this._monthsParse[$e]&&(Ht="^"+this.months(lt,"")+"|^"+this.monthsShort(lt,""),this._monthsParse[$e]=new RegExp(Ht.replace(".",""),"i")),xe&&"MMMM"===de&&this._longMonthsParse[$e].test(V))return $e;if(xe&&"MMM"===de&&this._shortMonthsParse[$e].test(V))return $e;if(!xe&&this._monthsParse[$e].test(V))return $e}},be.monthsRegex=function U(V){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),V?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=yn),this._monthsStrictRegex&&V?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function on(V){return this._monthsParseExact?(e(this,"_monthsRegex")||z.call(this),V?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=Cn),this._monthsShortStrictRegex&&V?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function ht(V){return Te(V,this._week.dow,this._week.doy).week},be.firstDayOfYear=function Kt(){return this._week.doy},be.firstDayOfWeek=function Lt(){return this._week.dow},be.weekdays=function lo(V,de){var xe=a(this._weekdays)?this._weekdays:this._weekdays[V&&!0!==V&&this._weekdays.isFormat.test(de)?"format":"standalone"];return!0===V?Yt(xe,this._week.dow):V?xe[V.day()]:xe},be.weekdaysMin=function _r(V){return!0===V?Yt(this._weekdaysMin,this._week.dow):V?this._weekdaysMin[V.day()]:this._weekdaysMin},be.weekdaysShort=function vi(V){return!0===V?Yt(this._weekdaysShort,this._week.dow):V?this._weekdaysShort[V.day()]:this._weekdaysShort},be.weekdaysParse=function $n(V,de,xe){var $e,lt,Ht;if(this._weekdaysParseExact)return wn.call(this,V,de,xe);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$e=0;$e<7;$e++){if(lt=b([2e3,1]).day($e),xe&&!this._fullWeekdaysParse[$e]&&(this._fullWeekdaysParse[$e]=new RegExp("^"+this.weekdays(lt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$e]=new RegExp("^"+this.weekdaysShort(lt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$e]=new RegExp("^"+this.weekdaysMin(lt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$e]||(Ht="^"+this.weekdays(lt,"")+"|^"+this.weekdaysShort(lt,"")+"|^"+this.weekdaysMin(lt,""),this._weekdaysParse[$e]=new RegExp(Ht.replace(".",""),"i")),xe&&"dddd"===de&&this._fullWeekdaysParse[$e].test(V))return $e;if(xe&&"ddd"===de&&this._shortWeekdaysParse[$e].test(V))return $e;if(xe&&"dd"===de&&this._minWeekdaysParse[$e].test(V))return $e;if(!xe&&this._weekdaysParse[$e].test(V))return $e}},be.weekdaysRegex=function On(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Nr),this._weekdaysStrictRegex&&V?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function ti(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lr),this._weekdaysShortStrictRegex&&V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function Zr(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ut),this._weekdaysMinStrictRegex&&V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function go(V){return"p"===(V+"").toLowerCase().charAt(0)},be.meridiem=function qi(V,de,xe){return V>11?xe?"pm":"PM":xe?"am":"AM"},yi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(V){var de=V%10;return V+(1===_n(V%100/10)?"th":1===de?"st":2===de?"nd":3===de?"rd":"th")}}),i.lang=I("moment.lang is deprecated. Use moment.locale instead.",yi),i.langData=I("moment.langData is deprecated. Use moment.localeData instead.",Wr);var xr=Math.abs;function vo(V,de,xe,$e){var lt=fr(de,xe);return V._milliseconds+=$e*lt._milliseconds,V._days+=$e*lt._days,V._months+=$e*lt._months,V._bubble()}function ha(V){return V<0?Math.floor(V):Math.ceil(V)}function Dr(V){return 4800*V/146097}function Ha(V){return 146097*V/4800}function Is(V){return function(){return this.as(V)}}var tc=Is("ms"),vu=Is("s"),Ig=Is("m"),yu=Is("h"),Ay=Is("d"),Ty=Is("w"),Iy=Is("M"),ps=Is("Q"),nc=Is("y"),Vr=tc;function wa(V){return function(){return this.isValid()?this._data[V]:NaN}}var Bd=wa("milliseconds"),Py=wa("seconds"),Pg=wa("minutes"),bu=wa("hours"),ll=wa("days"),Ud=wa("months"),zo=wa("years");var fa=Math.round,cl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ul(V,de,xe,$e,lt){return lt.relativeTime(de||1,!!xe,V,$e)}var Su=Math.abs;function Da(V){return(V>0)-(V<0)||+V}function Zs(){if(!this.isValid())return this.localeData().invalidDate();var $e,lt,Ht,Mn,Kr,fi,us,Xs,V=Su(this._milliseconds)/1e3,de=Su(this._days),xe=Su(this._months),rr=this.asSeconds();return rr?($e=Xt(V/60),lt=Xt($e/60),V%=60,$e%=60,Ht=Xt(xe/12),xe%=12,Mn=V?V.toFixed(3).replace(/\.?0+$/,""):"",Kr=rr<0?"-":"",fi=Da(this._months)!==Da(rr)?"-":"",us=Da(this._days)!==Da(rr)?"-":"",Xs=Da(this._milliseconds)!==Da(rr)?"-":"",Kr+"P"+(Ht?fi+Ht+"Y":"")+(xe?fi+xe+"M":"")+(de?us+de+"D":"")+(lt||$e||V?"T":"")+(lt?Xs+lt+"H":"")+($e?Xs+$e+"M":"")+(V?Xs+Mn+"S":"")):"P0D"}var Ci=Xo.prototype;return Ci.isValid=function is(){return this._isValid},Ci.abs=function di(){var V=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),V.milliseconds=xr(V.milliseconds),V.seconds=xr(V.seconds),V.minutes=xr(V.minutes),V.hours=xr(V.hours),V.months=xr(V.months),V.years=xr(V.years),this},Ci.add=function da(V,de){return vo(this,V,de,1)},Ci.subtract=function Hs(V,de){return vo(this,V,de,-1)},Ci.as=function _u(V){if(!this.isValid())return NaN;var de,xe,$e=this._milliseconds;if("month"===(V=Ut(V))||"quarter"===V||"year"===V)switch(de=this._days+$e/864e5,xe=this._months+Dr(de),V){case"month":return xe;case"quarter":return xe/3;case"year":return xe/12}else switch(de=this._days+Math.round(Ha(this._months)),V){case"week":return de/7+$e/6048e5;case"day":return de+$e/864e5;case"hour":return 24*de+$e/36e5;case"minute":return 1440*de+$e/6e4;case"second":return 86400*de+$e/1e3;case"millisecond":return Math.floor(864e5*de)+$e;default:throw new Error("Unknown unit "+V)}},Ci.asMilliseconds=tc,Ci.asSeconds=vu,Ci.asMinutes=Ig,Ci.asHours=yu,Ci.asDays=Ay,Ci.asWeeks=Ty,Ci.asMonths=Iy,Ci.asQuarters=ps,Ci.asYears=nc,Ci.valueOf=Vr,Ci._bubble=function to(){var lt,Ht,Mn,rr,Kr,V=this._milliseconds,de=this._days,xe=this._months,$e=this._data;return V>=0&&de>=0&&xe>=0||V<=0&&de<=0&&xe<=0||(V+=864e5*ha(Ha(xe)+de),de=0,xe=0),$e.milliseconds=V%1e3,lt=Xt(V/1e3),$e.seconds=lt%60,Ht=Xt(lt/60),$e.minutes=Ht%60,Mn=Xt(Ht/60),$e.hours=Mn%24,de+=Xt(Mn/24),xe+=Kr=Xt(Dr(de)),de-=ha(Ha(Kr)),rr=Xt(xe/12),xe%=12,$e.days=de,$e.months=xe,$e.years=rr,this},Ci.clone=function Bi(){return fr(this)},Ci.get=function al(V){return V=Ut(V),this.isValid()?this[V+"s"]():NaN},Ci.milliseconds=Bd,Ci.seconds=Py,Ci.minutes=Pg,Ci.hours=bu,Ci.days=ll,Ci.weeks=function Hd(){return Xt(this.days()/7)},Ci.months=Ud,Ci.years=zo,Ci.humanize=function xg(V,de){if(!this.isValid())return this.localeData().invalidDate();var lt,Ht,xe=!1,$e=cl;return"object"==typeof V&&(de=V,V=!1),"boolean"==typeof V&&(xe=V),"object"==typeof de&&($e=Object.assign({},cl,de),null!=de.s&&null==de.ss&&($e.ss=de.s-1)),Ht=function Cu(V,de,xe,$e){var lt=fr(V).abs(),Ht=fa(lt.as("s")),Mn=fa(lt.as("m")),rr=fa(lt.as("h")),Kr=fa(lt.as("d")),fi=fa(lt.as("M")),us=fa(lt.as("w")),Xs=fa(lt.as("y")),ga=Ht<=xe.ss&&["s",Ht]||Ht0,ga[4]=$e,ul.apply(null,ga)}(this,!xe,$e,lt=this.localeData()),xe&&(Ht=lt.pastFuture(+this,Ht)),lt.postformat(Ht)},Ci.toISOString=Zs,Ci.toString=Zs,Ci.toJSON=Zs,Ci.locale=gr,Ci.localeData=$r,Ci.toIsoString=I("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zs),Ci.lang=yr,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Mt("x",Rt),Mt("X",/[+-]?\d+(\.\d{1,3})?/),qt("X",function(V,de,xe){xe._d=new Date(1e3*parseFloat(V))}),qt("x",function(V,de,xe){xe._d=new Date(_n(V))}),i.version="2.30.1",function d(V){n=V}(wt),i.fn=Nn,i.min=function Mo(){return zi("isBefore",[].slice.call(arguments,0))},i.max=function Ao(){return zi("isAfter",[].slice.call(arguments,0))},i.now=function(){return Date.now?Date.now():+new Date},i.utc=b,i.unix=function ec(V){return wt(1e3*V)},i.months=function st(V,de){return Me(V,de,"months")},i.isDate=v,i.locale=yi,i.invalid=M,i.duration=fr,i.isMoment=j,i.weekdays=function cn(V,de,xe){return Ke(V,de,xe,"weekdays")},i.parseZone=function ms(){return wt.apply(null,arguments).parseZone()},i.localeData=Wr,i.isDuration=xo,i.monthsShort=function At(V,de){return Me(V,de,"monthsShort")},i.weekdaysMin=function Zn(V,de,xe){return Ke(V,de,xe,"weekdaysMin")},i.defineLocale=Eo,i.updateLocale=function po(V,de){if(null!=de){var xe,$e,lt=ro;null!=Rr[V]&&null!=Rr[V].parentLocale?Rr[V].set(G(Rr[V]._config,de)):(null!=($e=wi(V))&&(lt=$e._config),de=G(lt,de),null==$e&&(de.abbr=V),(xe=new te(de)).parentLocale=Rr[V],Rr[V]=xe),yi(V)}else null!=Rr[V]&&(null!=Rr[V].parentLocale?(Rr[V]=Rr[V].parentLocale,V===yi()&&yi(V)):null!=Rr[V]&&delete Rr[V]);return Rr[V]},i.locales=function bo(){return ce(Rr)},i.weekdaysShort=function nn(V,de,xe){return Ke(V,de,xe,"weekdaysShort")},i.normalizeUnits=Ut,i.relativeTimeRounding=function rc(V){return void 0===V?fa:"function"==typeof V&&(fa=V,!0)},i.relativeTimeThreshold=function kg(V,de){return void 0!==cl[V]&&(void 0===de?cl[V]:(cl[V]=de,"s"===V&&(cl.ss=de-1),!0))},i.calendarFormat=function oo(V,de){var xe=V.diff(de,"days",!0);return xe<-6?"sameElse":xe<-1?"lastWeek":xe<0?"lastDay":xe<1?"sameDay":xe<2?"nextDay":xe<7?"nextWeek":"sameElse"},i.prototype=Nn,i.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},i}()},35584:(module,__unused_webpack_exports,__webpack_require__)=>{var _asyncToGenerator=__webpack_require__(1196).default,o;globalThis,o=()=>(()=>{"use strict";var __webpack_modules__=[,(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.VerbosityLevel=h.Util=h.UnknownErrorException=h.UnexpectedResponseException=h.UNSUPPORTED_FEATURES=h.TextRenderingMode=h.StreamType=h.RenderingIntentFlag=h.PermissionFlag=h.PasswordResponses=h.PasswordException=h.PageActionEventType=h.OPS=h.MissingPDFException=h.LINE_FACTOR=h.LINE_DESCENT_FACTOR=h.InvalidPDFException=h.ImageKind=h.IDENTITY_MATRIX=h.FormatError=h.FontType=h.FeatureTest=h.FONT_IDENTITY_MATRIX=h.DocumentActionEventType=h.CMapCompressionType=h.BaseException=h.AnnotationType=h.AnnotationStateModelType=h.AnnotationReviewState=h.AnnotationReplyType=h.AnnotationMode=h.AnnotationMarkedState=h.AnnotationFlag=h.AnnotationFieldFlag=h.AnnotationEditorType=h.AnnotationEditorPrefix=h.AnnotationEditorParamsType=h.AnnotationBorderStyleType=h.AnnotationActionEventType=h.AbortException=void 0,h.arrayByteLength=De,h.arraysToBytes=function je(Rt){const Dt=Rt.length;if(1===Dt&&Rt[0]instanceof Uint8Array)return Rt[0];let Ot=0;for(let Yn=0;YnDt}),Rt.promise=new Promise(function(Ot,pn){Rt.resolve=function(Vn){Dt=!0,Ot(Vn)},Rt.reject=function(Vn){Dt=!0,pn(Vn)}}),Rt},h.createValidAbsoluteUrl=function Y(Rt,Dt=null,Ot=null){if(!Rt)return null;try{if(Ot&&"string"==typeof Rt){if(Ot.addDefaultProtocol&&Rt.startsWith("www.")){const Vn=Rt.match(/\./g);Vn&&Vn.length>=2&&(Rt=`http://${Rt}`)}if(Ot.tryConvertEncoding)try{Rt=Ce(Rt)}catch{}}const pn=Dt?new URL(Rt,Dt):new URL(Rt);if(function W(Rt){if(!Rt)return!1;switch(Rt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(pn))return pn}catch{}return null},h.escapeString=function Fe(Rt){return Rt.replace(/([()\\\n\r])/g,Dt=>"\n"===Dt?"\\n":"\r"===Dt?"\\r":`\\${Dt}`)},h.getModificationDate=function Bt(Rt=new Date){return[Rt.getUTCFullYear().toString(),(Rt.getUTCMonth()+1).toString().padStart(2,"0"),Rt.getUTCDate().toString().padStart(2,"0"),Rt.getUTCHours().toString().padStart(2,"0"),Rt.getUTCMinutes().toString().padStart(2,"0"),Rt.getUTCSeconds().toString().padStart(2,"0")].join("")},h.getVerbosityLevel=function se(){return te},h.info=function K(Rt){te>=k.INFOS&&console.log(`Info: ${Rt}`)},h.isArrayBuffer=function Je(Rt){return"object"==typeof Rt&&null!==Rt&&void 0!==Rt.byteLength},h.isArrayEqual=function vt(Rt,Dt){if(Rt.length!==Dt.length)return!1;for(let Ot=0,pn=Rt.length;Ot>24&255,Rt>>16&255,Rt>>8&255,255&Rt)},h.stringToBytes=et,h.stringToPDFString=function jt(Rt){if(Rt[0]>="\xef"){let Ot;if("\xfe"===Rt[0]&&"\xff"===Rt[1]?Ot="utf-16be":"\xff"===Rt[0]&&"\xfe"===Rt[1]?Ot="utf-16le":"\xef"===Rt[0]&&"\xbb"===Rt[1]&&"\xbf"===Rt[2]&&(Ot="utf-8"),Ot)try{const pn=new TextDecoder(Ot,{fatal:!0}),Vn=et(Rt);return pn.decode(Vn)}catch(pn){Z(`stringToPDFString: "${pn}".`)}}const Dt=[];for(let Ot=0,pn=Rt.length;Ot>8&255),String.fromCharCode(255&Vn))}return Dt.join("")},h.stringToUTF8String=Ce,h.unreachable=re,h.utf8StringToString=function Ge(Rt){return unescape(encodeURIComponent(Rt))},h.warn=Z,o(2),h.IDENTITY_MATRIX=[1,0,0,1,0,0],h.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],h.LINE_FACTOR=1.35,h.LINE_DESCENT_FACTOR=.35,h.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},h.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},h.AnnotationEditorPrefix="pdfjs_internal_editor_",h.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},h.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},h.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},h.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},h.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},h.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},h.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},h.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},h.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},h.AnnotationReplyType={GROUP:"Group",REPLY:"R"},h.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},h.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},h.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},h.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},h.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},h.PageActionEventType={O:"PageOpen",C:"PageClose"},h.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},h.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const k={ERRORS:0,WARNINGS:1,INFOS:5};h.VerbosityLevel=k,h.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},h.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},h.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},h.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let te=k.WARNINGS;function Z(Rt){te>=k.WARNINGS&&console.log(`Warning: ${Rt}`)}function re(Rt){throw new Error(Rt)}function q(Rt,Dt,Ot){return Object.defineProperty(Rt,Dt,{value:Ot,enumerable:!0,configurable:!0,writable:!1}),Ot}const he=function(){function Dt(Ot,pn){this.constructor===Dt&&re("Cannot initialize BaseException."),this.message=Ot,this.name=pn}return Dt.prototype=new Error,Dt.constructor=Dt,Dt}();function et(Rt){"string"!=typeof Rt&&re("Invalid argument for stringToBytes");const Dt=Rt.length,Ot=new Uint8Array(Dt);for(let pn=0;pnRt.toString(16).padStart(2,"0"));class bn{static makeHexColor(Dt,Ot,pn){return`#${Sn[Dt]}${Sn[Ot]}${Sn[pn]}`}static scaleMinMax(Dt,Ot){let pn;Dt[0]?(Dt[0]<0&&(pn=Ot[0],Ot[0]=Ot[1],Ot[1]=pn),Ot[0]*=Dt[0],Ot[1]*=Dt[0],Dt[3]<0&&(pn=Ot[2],Ot[2]=Ot[3],Ot[3]=pn),Ot[2]*=Dt[3],Ot[3]*=Dt[3]):(pn=Ot[0],Ot[0]=Ot[2],Ot[2]=pn,pn=Ot[1],Ot[1]=Ot[3],Ot[3]=pn,Dt[1]<0&&(pn=Ot[2],Ot[2]=Ot[3],Ot[3]=pn),Ot[2]*=Dt[1],Ot[3]*=Dt[1],Dt[2]<0&&(pn=Ot[0],Ot[0]=Ot[1],Ot[1]=pn),Ot[0]*=Dt[2],Ot[1]*=Dt[2]),Ot[0]+=Dt[4],Ot[1]+=Dt[4],Ot[2]+=Dt[5],Ot[3]+=Dt[5]}static transform(Dt,Ot){return[Dt[0]*Ot[0]+Dt[2]*Ot[1],Dt[1]*Ot[0]+Dt[3]*Ot[1],Dt[0]*Ot[2]+Dt[2]*Ot[3],Dt[1]*Ot[2]+Dt[3]*Ot[3],Dt[0]*Ot[4]+Dt[2]*Ot[5]+Dt[4],Dt[1]*Ot[4]+Dt[3]*Ot[5]+Dt[5]]}static applyTransform(Dt,Ot){return[Dt[0]*Ot[0]+Dt[1]*Ot[2]+Ot[4],Dt[0]*Ot[1]+Dt[1]*Ot[3]+Ot[5]]}static applyInverseTransform(Dt,Ot){const pn=Ot[0]*Ot[3]-Ot[1]*Ot[2];return[(Dt[0]*Ot[3]-Dt[1]*Ot[2]+Ot[2]*Ot[5]-Ot[4]*Ot[3])/pn,(-Dt[0]*Ot[1]+Dt[1]*Ot[0]+Ot[4]*Ot[1]-Ot[5]*Ot[0])/pn]}static getAxialAlignedBoundingBox(Dt,Ot){const pn=bn.applyTransform(Dt,Ot),Vn=bn.applyTransform(Dt.slice(2,4),Ot),Yn=bn.applyTransform([Dt[0],Dt[3]],Ot),er=bn.applyTransform([Dt[2],Dt[1]],Ot);return[Math.min(pn[0],Vn[0],Yn[0],er[0]),Math.min(pn[1],Vn[1],Yn[1],er[1]),Math.max(pn[0],Vn[0],Yn[0],er[0]),Math.max(pn[1],Vn[1],Yn[1],er[1])]}static inverseTransform(Dt){const Ot=Dt[0]*Dt[3]-Dt[1]*Dt[2];return[Dt[3]/Ot,-Dt[1]/Ot,-Dt[2]/Ot,Dt[0]/Ot,(Dt[2]*Dt[5]-Dt[4]*Dt[3])/Ot,(Dt[4]*Dt[1]-Dt[5]*Dt[0])/Ot]}static apply3dTransform(Dt,Ot){return[Dt[0]*Ot[0]+Dt[1]*Ot[1]+Dt[2]*Ot[2],Dt[3]*Ot[0]+Dt[4]*Ot[1]+Dt[5]*Ot[2],Dt[6]*Ot[0]+Dt[7]*Ot[1]+Dt[8]*Ot[2]]}static singularValueDecompose2dScale(Dt){const Ot=[Dt[0],Dt[2],Dt[1],Dt[3]],pn=Dt[0]*Ot[0]+Dt[1]*Ot[2],er=Dt[2]*Ot[1]+Dt[3]*Ot[3],kn=(pn+er)/2,Mt=Math.sqrt((pn+er)**2-4*(pn*er-(Dt[2]*Ot[0]+Dt[3]*Ot[2])*(Dt[0]*Ot[1]+Dt[1]*Ot[3])))/2,mt=kn-Mt||1;return[Math.sqrt(kn+Mt||1),Math.sqrt(mt)]}static normalizeRect(Dt){const Ot=Dt.slice(0);return Dt[0]>Dt[2]&&(Ot[0]=Dt[2],Ot[2]=Dt[0]),Dt[1]>Dt[3]&&(Ot[1]=Dt[3],Ot[3]=Dt[1]),Ot}static intersect(Dt,Ot){const pn=Math.max(Math.min(Dt[0],Dt[2]),Math.min(Ot[0],Ot[2])),Vn=Math.min(Math.max(Dt[0],Dt[2]),Math.max(Ot[0],Ot[2]));if(pn>Vn)return null;const Yn=Math.max(Math.min(Dt[1],Dt[3]),Math.min(Ot[1],Ot[3])),er=Math.min(Math.max(Dt[1],Dt[3]),Math.max(Ot[1],Ot[3]));return Yn>er?null:[pn,Yn,Vn,er]}static bezierBoundingBox(Dt,Ot,pn,Vn,Yn,er,kn,Mt){const Gt=[],mt=[[],[]];let Et,Xt,_n,En,qt,nr,kr,Br;for(let Jn=0;Jn<2;++Jn)if(0===Jn?(Xt=6*Dt-12*pn+6*Yn,Et=-3*Dt+9*pn-9*Yn+3*kn,_n=3*pn-3*Dt):(Xt=6*Ot-12*Vn+6*er,Et=-3*Ot+9*Vn-9*er+3*Mt,_n=3*Vn-3*Ot),Math.abs(Et)<1e-12){if(Math.abs(Xt)<1e-12)continue;En=-_n/Xt,0{o(3)},(ve,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.isNodeJS=void 0;const o=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);h.isNodeJS=o},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:ve,NodeCMapReaderFactory:h,NodeStandardFontDataFactory:o}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=ve,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=h,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=o}function setPDFNetworkStreamFactory(ve){createPDFNetworkStream=ve}function getDocument(ve){const h=new PDFDocumentLoadingTask;let o;if("string"==typeof ve||ve instanceof URL)o={url:ve};else if((0,_util.isArrayBuffer)(ve))o={data:ve};else if(ve instanceof PDFDataRangeTransport)o={range:ve};else{if("object"!=typeof ve)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!ve.url&&!ve.data&&!ve.range)throw new Error("Invalid parameter object: need either .data, .range or .url");o=ve}const n=Object.create(null);let i=null,d=null;for(const c in o){const e=o[c];switch(c){case"url":if(typeof window<"u")try{n[c]=new URL(e,window.location).href;continue}catch(u){(0,_util.warn)(`Cannot create valid URL: "${u}".`)}else if("string"==typeof e||e instanceof URL){n[c]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":i=e;continue;case"worker":d=e;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&e instanceof Buffer)n[c]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"==typeof e)n[c]=(0,_util.stringToBytes)(e);else if("object"!=typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");n[c]=new Uint8Array(e)}else n[c]=new Uint8Array(e)}continue}n[c]=e}if(n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,(!Number.isInteger(n.rangeChunkSize)||n.rangeChunkSize<1)&&(n.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),(!Number.isInteger(n.maxImageSize)||n.maxImageSize<-1)&&(n.maxImageSize=-1),"string"!=typeof n.cMapUrl&&(n.cMapUrl=null),"string"!=typeof n.standardFontDataUrl&&(n.standardFontDataUrl=null),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),("object"!=typeof n.ownerDocument||null===n.ownerDocument)&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!d){const c={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};d=c.port?PDFWorker.fromPort(c):new PDFWorker(c),h._worker=d}const a=h.docId;return d.promise.then(function(){if(h.destroyed)throw new Error("Loading aborted");const c=_fetchDocument(d,n,i,a),e=new Promise(function(u){let l;i?l=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},i):n.data||(l=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),u(l)});return Promise.all([c,e]).then(function([u,l]){if(h.destroyed)throw new Error("Loading aborted");const g=new _message_handler.MessageHandler(a,u,d.port),v=new WorkerTransport(g,h,l,n);h._transport=v,g.send("Ready",null)})}).catch(h._capability.reject),h}function _fetchDocument(ve,h,o,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(function*(ve,h,o,n){if(ve.destroyed)throw new Error("Worker was destroyed");o&&(h.length=o.length,h.initialData=o.initialData,h.progressiveDone=o.progressiveDone,h.contentDispositionFilename=o.contentDispositionFilename);const i=yield ve.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.16.105",source:{data:h.data,url:h.url,password:h.password,disableAutoFetch:h.disableAutoFetch,rangeChunkSize:h.rangeChunkSize,length:h.length},maxImageSize:h.maxImageSize,disableFontFace:h.disableFontFace,docBaseUrl:h.docBaseUrl,ignoreErrors:h.ignoreErrors,isEvalSupported:h.isEvalSupported,fontExtraProperties:h.fontExtraProperties,enableXfa:h.enableXfa,useSystemFonts:h.useSystemFonts,cMapUrl:h.useWorkerFetch?h.cMapUrl:null,standardFontDataUrl:h.useWorkerFetch?h.standardFontDataUrl:null});if(h.data&&(h.data=null),ve.destroyed)throw new Error("Worker was destroyed");return i})).apply(this,arguments)}class PDFDocumentLoadingTask{static#e=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){var h=this;return _asyncToGenerator(function*(){h.destroyed=!0,yield h._transport?.destroy(),h._transport=null,h._worker&&(h._worker.destroy(),h._worker=null)})()}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(h,o,n=!1,i=null){this.length=h,this.initialData=o,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(h){this._rangeListeners.push(h)}addProgressListener(h){this._progressListeners.push(h)}addProgressiveReadListener(h){this._progressiveReadListeners.push(h)}addProgressiveDoneListener(h){this._progressiveDoneListeners.push(h)}onDataRange(h,o){for(const n of this._rangeListeners)n(h,o)}onDataProgress(h,o){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(h,o)})}onDataProgressiveRead(h){this._readyCapability.promise.then(()=>{for(const o of this._progressiveReadListeners)o(h)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const h of this._progressiveDoneListeners)h()})}transportReady(){this._readyCapability.resolve()}requestDataRange(h,o){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(h,o){var i,n=this;this._pdfInfo=h,this._transport=o,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(i=_asyncToGenerator(function*(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),n.stats||{streamTypes:{},fontTypes:{}}}),function(){return i.apply(this,arguments)})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(h){return this._transport.getPage(h)}getPageIndex(h){return this._transport.getPageIndex(h)}getDestinations(){return this._transport.getDestinations()}getDestination(h){return this._transport.getDestination(h)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(h=!1){return this._transport.startCleanup(h||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(h,o,n,i,d=!1){this._pageIndex=h,this._pageInfo=o,this._ownerDocument=i,this._transport=n,this._stats=d?new _display_utils.StatTimer:null,this._pdfBug=d,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:h,rotation:o=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:d=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:h,rotation:o,offsetX:n,offsetY:i,dontFlip:d})}getAnnotations({intent:h="display"}={}){const o=this._transport.getRenderingIntent(h);let n=this._annotationPromises.get(o.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,o.renderingIntent),this._annotationPromises.set(o.cacheKey,n),n=n.then(i=>{for(const d of i)void 0!==d.titleObj&&Object.defineProperty(d,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),d.titleObj.str)}),void 0!==d.contentsObj&&Object.defineProperty(d,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),d.contentsObj.str)});return i})),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}getXfa(){var h=this;return _asyncToGenerator(function*(){return h._transport._htmlForXfa?.children[h._pageIndex]||null})()}render({canvasContext:h,viewport:o,intent:n="display",annotationMode:i=_util.AnnotationMode.ENABLE,transform:d=null,imageLayer:a=null,canvasFactory:c=null,background:e=null,optionalContentConfigPromise:u=null,annotationCanvasMap:l=null,pageColors:g=null,printAnnotationStorage:v=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&i===_util.AnnotationMode.ENABLE&&(i=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const p=this._transport.getRenderingIntent(n,i,v);this.pendingCleanup=!1,u||(u=this._transport.getOptionalContentConfig());let C=this._intentStates.get(p.cacheKey);C||(C=Object.create(null),this._intentStates.set(p.cacheKey,C)),C.streamReaderCancelTimeout&&(clearTimeout(C.streamReaderCancelTimeout),C.streamReaderCancelTimeout=null);const b=c||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),_=!!(p.renderingIntent&_util.RenderingIntentFlag.PRINT);C.displayReadyCapability||(C.displayReadyCapability=(0,_util.createPromiseCapability)(),C.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(p));const f=M=>{C.renderTasks.delete(y),(this.cleanupAfterRender||_)&&(this.pendingCleanup=!0),this._tryCleanup(),M?(y.capability.reject(M),this._abortOperatorList({intentState:C,reason:M instanceof Error?M:new Error(M)})):y.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},y=new InternalRenderTask({callback:f,params:{canvasContext:h,viewport:o,transform:d,imageLayer:a,background:e},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:l,operatorList:C.operatorList,pageIndex:this._pageIndex,canvasFactory:b,useRequestAnimationFrame:!_,pdfBug:this._pdfBug,pageColors:g});(C.renderTasks||=new Set).add(y);const S=y.task;return Promise.all([C.displayReadyCapability.promise,u]).then(([M,w])=>{this.pendingCleanup?f():(this._stats&&this._stats.time("Rendering"),y.initializeGraphics({transparency:M,optionalContentConfig:w}),y.operatorListChanged())}).catch(f),S}getOperatorList({intent:h="display",annotationMode:o=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}={}){const d=this._transport.getRenderingIntent(h,o,n,!0);let c,a=this._intentStates.get(d.cacheKey);return a||(a=Object.create(null),this._intentStates.set(d.cacheKey,a)),a.opListReadCapability||(c=Object.create(null),c.operatorListChanged=function i(){a.operatorList.lastChunk&&(a.opListReadCapability.resolve(a.operatorList),a.renderTasks.delete(c))},a.opListReadCapability=(0,_util.createPromiseCapability)(),(a.renderTasks||=new Set).add(c),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(d)),a.opListReadCapability.promise}streamTextContent({disableCombineTextItems:h=!1,includeMarkedContent:o=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==h,includeMarkedContent:!0===o},{highWaterMark:100,size:i=>i.items.length})}getTextContent(h={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>_xfa_text.XfaText.textContent(n));const o=this.streamTextContent(h);return new Promise(function(n,i){const a=o.getReader(),c={items:[],styles:Object.create(null)};!function d(){a.read().then(function({value:e,done:u}){u?n(c):(Object.assign(c.styles,e.styles),c.items.push(...e.items),d())},i)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const h=[];for(const o of this._intentStates.values())if(this._abortOperatorList({intentState:o,reason:new Error("Page was destroyed."),force:!0}),!o.opListReadCapability)for(const n of o.renderTasks)h.push(n.completed),n.cancel();this.objs.clear();for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(h)}cleanup(h=!1){return this.pendingCleanup=!0,this._tryCleanup(h)}_tryCleanup(h=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:o,operatorList:n}of this._intentStates.values())if(o.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,h&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const o of this._bitmaps)o.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(h,o){const n=this._intentStates.get(o);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(h))}_renderPageChunk(h,o){for(let n=0,i=h.length;n{d.read().then(({value:e,done:u})=>{u?a.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,a),c())},e=>{if(a.streamReader=null,!this._transport.destroyed){if(a.operatorList){a.operatorList.lastChunk=!0;for(const u of a.renderTasks)u.operatorListChanged();this._tryCleanup()}if(a.displayReadyCapability)a.displayReadyCapability.reject(e);else{if(!a.opListReadCapability)throw e;a.opListReadCapability.reject(e)}}})};c()}_abortOperatorList({intentState:h,reason:o,force:n=!1}){if(h.streamReader){if(!n){if(h.renderTasks.size>0)return;if(o instanceof _display_utils.RenderingCancelledException)return void(h.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:h,reason:o,force:!0}),h.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(h.streamReader.cancel(new _util.AbortException(o.message)).catch(()=>{}),h.streamReader=null,!this._transport.destroyed){for(const[i,d]of this._intentStates)if(d===h){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(h,o){const n={data:structuredClone(h,o)};this._deferred.then(()=>{for(const i of this._listeners)i.call(this,n)})}addEventListener(h,o){this._listeners.push(o)}removeEventListener(h,o){const n=this._listeners.indexOf(o);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const ve=document?.currentScript?.src;ve&&(PDFWorkerUtil.fallbackWorkerSrc=ve.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(ve,h){let o;try{if(o=new URL(ve),!o.origin||"null"===o.origin)return!1}catch{return!1}const n=new URL(h,o);return o.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(ve){return URL.createObjectURL(new Blob([`importScripts("${ve}");`]))};class PDFWorker{static#workerPorts=new WeakMap;constructor({name:ve=null,port:h=null,verbosity:o=(0,_util.getVerbosityLevel)()}={}){if(h&&PDFWorker.#workerPorts.has(h))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=ve,this.destroyed=!1,this.verbosity=o,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,h)return PDFWorker.#workerPorts.set(h,this),void this._initializeFromPort(h);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(ve){this._port=ve,this._messageHandler=new _message_handler.MessageHandler("main","worker",ve),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:ve}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,ve)||(ve=PDFWorkerUtil.createCDNWrapper(new URL(ve,window.location).href));const h=new Worker(ve),o=new _message_handler.MessageHandler("main","worker",h),n=()=>{h.removeEventListener("error",i),o.destroy(),h.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},i=()=>{this._webWorker||n()};h.addEventListener("error",i),o.on("test",a=>{h.removeEventListener("error",i),this.destroyed?n():a?(this._messageHandler=o,this._port=h,this._webWorker=h,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),o.destroy(),h.terminate())}),o.on("ready",a=>{if(h.removeEventListener("error",i),this.destroyed)n();else try{d()}catch{this._setupFakeWorker()}});const d=()=>{const a=new Uint8Array;o.send("test",a,[a.buffer])};return void d()}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(ve=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const h=new LoopbackPort;this._port=h;const o="fake"+PDFWorkerUtil.fakeWorkerId++,n=new _message_handler.MessageHandler(o+"_worker",o,h);ve.setup(n,h);const i=new _message_handler.MessageHandler(o,o+"_worker",h);this._messageHandler=i,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})}).catch(ve=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${ve.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(ve){if(!ve?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#workerPorts.has(ve.port)?this.#workerPorts.get(ve.port):new PDFWorker(ve)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var _this4=this;const loader=function(){var _ref2=_asyncToGenerator(function*(){const mainWorkerMessageHandler=_this4._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(_this4.workerSrc);return worker.WorkerMessageHandler}return yield(0,_display_utils.loadScript)(_this4.workerSrc),window.pdfjsWorker.WorkerMessageHandler});return function ve(){return _ref2.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(h,o,n,i){this.messageHandler=h,this.loadingTask=o,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:o.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this._params=i,i.useWorkerFetch||(this.CMapReaderFactory=new i.CMapReaderFactory({baseUrl:i.cMapUrl,isCompressed:i.cMapPacked}),this.StandardFontDataFactory=new i.StandardFontDataFactory({baseUrl:i.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(h,o=_util.AnnotationMode.ENABLE,n=null,i=!1){let d=_util.RenderingIntentFlag.DISPLAY,a=null;switch(h){case"any":d=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":d=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${h}`)}switch(o){case _util.AnnotationMode.DISABLE:d+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:d+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:d+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,a=(d&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${o}`)}return i&&(d+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:d,cacheKey:`${d}_${_annotation_storage.AnnotationStorage.getHash(a)}`,annotationStorageMap:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const h=[];for(const n of this.#t.values())h.push(n._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const o=this.messageHandler.sendWithPromise("Terminate",null);return h.push(o),Promise.all(h).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:h,loadingTask:o}=this;h.on("GetReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=d=>{this._lastProgress={loaded:d.loaded,total:d.total}},i.onPull=()=>{this._fullReader.read().then(function({value:d,done:a}){a?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(d),"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(d),1,[d]))}).catch(d=>{i.error(d)})},i.onCancel=d=>{this._fullReader.cancel(d),i.ready.catch(a=>{if(!this.destroyed)throw a})}}),h.on("ReaderHeadersReady",n=>{const i=(0,_util.createPromiseCapability)(),d=this._fullReader;return d.headersReady.then(()=>{(!d.isStreamingSupported||!d.isRangeSupported)&&(this._lastProgress&&o.onProgress?.(this._lastProgress),d.onProgress=a=>{o.onProgress?.({loaded:a.loaded,total:a.total})}),i.resolve({isStreamingSupported:d.isStreamingSupported,isRangeSupported:d.isRangeSupported,contentLength:d.contentLength})},i.reject),i.promise}),h.on("GetRangeReader",(n,i)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const d=this._networkStream.getRangeReader(n.begin,n.end);d?(i.onPull=()=>{d.read().then(function({value:a,done:c}){c?i.close():((0,_util.assert)((0,_util.isArrayBuffer)(a),"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(a),1,[a]))}).catch(a=>{i.error(a)})},i.onCancel=a=>{d.cancel(a),i.ready.catch(c=>{if(!this.destroyed)throw c})}):i.close()}),h.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,o._capability.resolve(new PDFDocumentProxy(n,this))}),h.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new _util.PasswordException(n.message,n.code);break;case"InvalidPDFException":i=new _util.InvalidPDFException(n.message);break;case"MissingPDFException":i=new _util.MissingPDFException(n.message);break;case"UnexpectedResponseException":i=new _util.UnexpectedResponseException(n.message,n.status);break;case"UnknownErrorException":i=new _util.UnknownErrorException(n.message,n.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}o._capability.reject(i)}),h.on("PasswordRequest",n=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),o.onPassword){const i=d=>{d instanceof Error?this._passwordCapability.reject(d):this._passwordCapability.resolve({password:d})};try{o.onPassword(i,n.code)}catch(d){this._passwordCapability.reject(d)}}else this._passwordCapability.reject(new _util.PasswordException(n.message,n.code));return this._passwordCapability.promise}),h.on("DataLoaded",n=>{o.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),h.on("StartRenderPage",n=>{this.destroyed||this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),h.on("commonobj",([n,i,d])=>{if(!this.destroyed&&!this.commonObjs.has(n))switch(i){case"Font":const a=this._params;if("error"in d){const u=d.error;(0,_util.warn)(`Error during font loading: ${u}`),this.commonObjs.resolve(n,u);break}let c=null;a.pdfBug&&globalThis.FontInspector?.enabled&&(c={registerFont(u,l){globalThis.FontInspector.fontAdded(u,l)}});const e=new _font_loader.FontFaceObject(d,{isEvalSupported:a.isEvalSupported,disableFontFace:a.disableFontFace,ignoreErrors:a.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:c});this.fontLoader.bind(e).catch(u=>h.sendWithPromise("FontFallback",{id:n})).finally(()=>{!a.fontExtraProperties&&e.data&&(e.data=null),this.commonObjs.resolve(n,e)});break;case"FontPath":case"Image":this.commonObjs.resolve(n,d);break;default:throw new Error(`Got unknown common object type ${i}`)}}),h.on("obj",([n,i,d,a])=>{if(this.destroyed)return;const c=this.#t.get(i);if(!c.objs.has(n))switch(d){case"Image":c.objs.resolve(n,a);const e=8e6;if(a){let u;if(a.bitmap){const{bitmap:l,width:g,height:v}=a;u=g*v*4,c._bitmaps.add(l)}else u=a.data?.length||0;u>e&&(c.cleanupAfterRender=!0)}break;case"Pattern":c.objs.resolve(n,a);break;default:throw new Error(`Got unknown object type ${d}`)}}),h.on("DocProgress",n=>{this.destroyed||o.onProgress?.({loaded:n.loaded,total:n.total})}),h.on("DocStats",n=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(n.streamTypes),fontTypes:Object.freeze(n.fontTypes)}))}),h.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),h.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),h.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:h}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(h)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(h){if(!Number.isInteger(h)||h<=0||h>this._numPages)return Promise.reject(new Error("Invalid page request."));const o=h-1,n=this.#n.get(o);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:o}).then(d=>{if(this.destroyed)throw new Error("Transport destroyed");const a=new PDFPageProxy(o,d,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(o,a),a});return this.#n.set(o,i),i}getPageIndex(h){return"object"!=typeof h||null===h||!Number.isInteger(h.num)||h.num<0||!Number.isInteger(h.gen)||h.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:h.num,gen:h.gen})}getAnnotations(h,o){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:h,intent:o})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(h){return"string"!=typeof h?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:h})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(h){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:h})}getStructTree(h){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:h})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(h=>new _optional_content_config.OptionalContentConfig(h))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(h=>({info:h[0],metadata:h[1]?new _metadata.Metadata(h[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(h=!1){var o=this;return _asyncToGenerator(function*(){if(yield o.messageHandler.sendWithPromise("Cleanup",null),!o.destroyed){for(const n of o.#t.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);o.commonObjs.clear(),h||o.fontLoader.clear(),o.#r=null,o._getFieldObjectsPromise=null,o._hasJSActionsPromise=null}})()}get loadingParams(){const h=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:h.disableAutoFetch,enableXfa:h.enableXfa})}}class PDFObjects{#e=Object.create(null);#t(h){return this.#e[h]||(this.#e[h]={capability:(0,_util.createPromiseCapability)(),data:null})}get(h,o=null){if(o){const i=this.#t(h);return i.capability.promise.then(()=>o(i.data)),null}const n=this.#e[h];if(!n?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${h}.`);return n.data}has(h){return this.#e[h]?.capability.settled||!1}resolve(h,o=null){const n=this.#t(h);n.data=o,n.capability.resolve()}clear(){this.#e=Object.create(null)}}class RenderTask{#e=null;constructor(h){this.#e=h,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(){this.#e.cancel()}get separateAnnots(){const{separateAnnots:h}=this.#e.operatorList;if(!h)return!1;const{annotationCanvasMap:o}=this.#e;return h.form||h.canvas&&o?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static#e=new WeakSet;constructor({callback:h,params:o,objs:n,commonObjs:i,annotationCanvasMap:d,operatorList:a,pageIndex:c,canvasFactory:e,useRequestAnimationFrame:u=!1,pdfBug:l=!1,pageColors:g=null}){this.callback=h,this.params=o,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=d,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=c,this.canvasFactory=e,this._pdfBug=l,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===u&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=o.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:h=!1,optionalContentConfig:o}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:d,imageLayer:a,background:c}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,a,o,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:d,viewport:i,transparency:h,background:c}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(h=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#e.delete(this._canvas),this.callback(h||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var h=this;return _asyncToGenerator(function*(){h.cancelled||(h.operatorListIdx=h.gfx.executeOperatorList(h.operatorList,h.operatorListIdx,h._continueBound,h.stepper),h.operatorListIdx===h.operatorList.argsArray.length&&(h.running=!1,h.operatorList.lastChunk&&(h.gfx.endDrawing(),h._canvas&&InternalRenderTask.#e.delete(h._canvas),h.callback())))})()}}const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PrintAnnotationStorage=h.AnnotationStorage=void 0;var n=o(1),i=o(6),d=o(10);class a{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(u,l){const g=this._storage.get(u);return void 0===g?l:Object.assign(l,g)}getRawValue(u){return this._storage.get(u)}remove(u){if(this._storage.delete(u),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const l of this._storage.values())if(l instanceof i.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(u,l){const g=this._storage.get(u);let v=!1;if(void 0!==g)for(const[p,C]of Object.entries(l))g[p]!==C&&(v=!0,g[p]=C);else v=!0,this._storage.set(u,l);v&&this.#e(),l instanceof i.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(l.constructor._type)}has(u){return this._storage.has(u)}getAll(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}get size(){return this._storage.size}#e(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new c(this)}get serializable(){if(0===this._storage.size)return null;const u=new Map;for(const[l,g]of this._storage){const v=g instanceof i.AnnotationEditor?g.serialize():g;v&&u.set(l,v)}return u}static getHash(u){if(!u)return"";const l=new d.MurmurHash3_64;for(const[g,v]of u)l.update(`${g}:${JSON.stringify(v)}`);return l.hexdigest()}}h.AnnotationStorage=a;class c extends a{#e=null;constructor(u){super(),this.#e=structuredClone(u.serializable)}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}h.PrintAnnotationStorage=c},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditor=void 0;var n=o(7),i=o(1);class d{#e=this.focusin.bind(this);#t=this.focusout.bind(this);#n=!1;#r=!1;#o=!1;#c=d._zIndex++;static _colorManager=new n.ColorManager;static _zIndex=1;constructor(c){this.constructor===d&&(0,i.unreachable)("Cannot initialize AnnotationEditor."),this.parent=c.parent,this.id=c.id,this.width=this.height=null,this.pageIndex=c.parent.pageIndex,this.name=c.name,this.div=null;const[e,u]=this.parent.viewportBaseDimensions;this.x=c.x/e,this.y=c.y/u,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,i.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#c}focusin(c){this.#n?this.#n=!1:this.parent.setSelected(this)}focusout(c){!this.isAttachedToDOM||c.relatedTarget?.closest(`#${this.id}`)||(c.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(c){const e=this.parent.div.getBoundingClientRect();this.startX=c.clientX-e.x,this.startY=c.clientY-e.y,c.dataTransfer.setData("text/plain",this.id),c.dataTransfer.effectAllowed="move"}setAt(c,e,u,l){const[g,v]=this.parent.viewportBaseDimensions;[u,l]=this.screenToPageTranslation(u,l),this.x=(c+u)/g,this.y=(e+l)/v,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(c,e){const[u,l]=this.parent.viewportBaseDimensions;[c,e]=this.screenToPageTranslation(c,e),this.x+=c/u,this.y+=e/l,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(c,e){const{rotation:u}=this.parent.viewport;switch(u){case 90:return[e,-c];case 180:return[-c,-e];case 270:return[-e,c];default:return[c,e]}}setDims(c,e){const[u,l]=this.parent.viewportBaseDimensions;this.div.style.width=100*c/u+"%",this.div.style.height=100*e/l+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#e),this.div.addEventListener("focusout",this.#t);const[c,e]=this.getInitialTranslation();return this.translate(c,e),(0,n.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(c){const e=n.KeyboardManager.platform.isMac;0!==c.button||c.ctrlKey&&e?c.preventDefault():(c.ctrlKey&&!e||c.shiftKey||c.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#n=!0)}getRect(c,e){const[u,l]=this.parent.viewportBaseDimensions,[g,v]=this.parent.pageDimensions,p=g*c/u,C=v*e/l,b=this.x*g,_=this.y*v,f=this.width*g,y=this.height*v;switch(this.rotation){case 0:return[b+p,v-_-C-y,b+p+f,v-_-C];case 90:return[b+C,v-_+p,b+C+y,v-_+p+f];case 180:return[b-p-f,v-_+C,b-p,v-_+C+y];case 270:return[b-C-y,v-_-p-f,b-C,v-_-p];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(c,e){const[u,l,g,v]=c,p=g-u,C=v-l;switch(this.rotation){case 0:return[u,e-v,p,C];case 90:return[u,e-l,C,p];case 180:return[g,e-l,p,C];case 270:return[g,e-v,C,p];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#o=!0}disableEditMode(){this.#o=!1}isInEditMode(){return this.#o}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#e)}serialize(){(0,i.unreachable)("An editor must be serializable")}static deserialize(c,e){const u=new this.prototype.constructor({parent:e,id:e.getNextId()});u.rotation=c.rotation;const[l,g]=e.pageDimensions,[v,p,C,b]=u.getRectInCurrentCoords(c.rect,g);return u.x=v/l,u.y=p/g,u.width=C/l,u.height=b/g,u}remove(){this.div.removeEventListener("focusin",this.#e),this.div.removeEventListener("focusout",this.#t),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(c,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(c){this.#r=c,c?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}h.AnnotationEditor=d},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.KeyboardManager=h.CommandManager=h.ColorManager=h.AnnotationEditorUIManager=void 0,h.bindEvents=function d(p,C,b){for(const _ of b)C.addEventListener(_,p[_].bind(p))},h.opacityToHex=function a(p){return Math.round(Math.min(255,Math.max(1,255*p))).toString(16).padStart(2,"0")};var n=o(1),i=o(8);class c{#e=0;getId(){return`${n.AnnotationEditorPrefix}${this.#e++}`}}class e{#e=[];#t=!1;#n;#r=-1;constructor(C=128){this.#n=C}add({cmd:C,undo:b,mustExec:_,type:f=NaN,overwriteIfSameType:y=!1,keepUndo:S=!1}){if(_&&C(),this.#t)return;const M={cmd:C,undo:b,type:f};if(-1===this.#r)return this.#e.length>0&&(this.#e.length=0),this.#r=0,void this.#e.push(M);if(y&&this.#e[this.#r].type===f)return S&&(M.undo=this.#e[this.#r].undo),void(this.#e[this.#r]=M);const w=this.#r+1;w===this.#n?this.#e.splice(0,1):(this.#r=w,wb.serialize()):this.#e=[C.serialize()],this.#e=this.#e.filter(b=>!!b),0===this.#e.length&&(this.#e=null))}paste(){return this.#e}isEmpty(){return null===this.#e}destroy(){this.#e=null}}class g{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const C=new Map([["CanvasText",null],["Canvas",null]]);return(0,i.getColorValues)(C),(0,n.shadow)(this,"_colors",C)}convert(C){const b=(0,i.getRGB)(C);if(!window.matchMedia("(forced-colors: active)").matches)return b;for(const[_,f]of this._colors)if(f.every((y,S)=>y===b[S]))return g._colorsMapping.get(_);return b}getHexCode(C){const b=this._colors.get(C);return b?n.Util.makeHexColor(...b):C}}h.ColorManager=g;class v{#e=null;#t=new Map;#n=new Map;#r=new l;#o=new e;#c=0;#a=null;#i=null;#h=new c;#u=!1;#l=n.AnnotationEditorType.NONE;#s=new Set;#g=this.keydown.bind(this);#f=this.onEditingAction.bind(this);#v=this.onPageChanging.bind(this);#p={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#_=null;static _keyboardManager=new u([[["ctrl+a","mac+meta+a"],v.prototype.selectAll],[["ctrl+c","mac+meta+c"],v.prototype.copy],[["ctrl+v","mac+meta+v"],v.prototype.paste],[["ctrl+x","mac+meta+x"],v.prototype.cut],[["ctrl+z","mac+meta+z"],v.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],v.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],v.prototype.delete],[["Escape","mac+Escape"],v.prototype.unselectAll]]);constructor(C,b){this.#_=C,this.#i=b,this.#i._on("editingaction",this.#f),this.#i._on("pagechanging",this.#v)}destroy(){this.#b(),this.#i._off("editingaction",this.#f),this.#i._off("pagechanging",this.#v);for(const C of this.#n.values())C.destroy();this.#n.clear(),this.#t.clear(),this.#e=null,this.#s.clear(),this.#r.destroy(),this.#o.destroy()}onPageChanging({pageNumber:C}){this.#c=C-1}focusMainContainer(){this.#_.focus()}#S(){this.#_.addEventListener("keydown",this.#g)}#b(){this.#_.removeEventListener("keydown",this.#g)}keydown(C){this.getActive()?.shouldGetKeyboardEvents()||v._keyboardManager.exec(this,C)}onEditingAction(C){["undo","redo","cut","copy","paste","delete","selectAll"].includes(C.name)&&this[C.name]()}#d(C){Object.entries(C).some(([_,f])=>this.#p[_]!==f)&&this.#i.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#p,C)})}#M(C){this.#i.dispatch("annotationeditorparamschanged",{source:this,details:C})}setEditingState(C){C?(this.#S(),this.#d({isEditing:this.#l!==n.AnnotationEditorType.NONE,isEmpty:this.#y(),hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:this.#o.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#r.isEmpty()})):(this.#b(),this.#d({isEditing:!1}))}registerEditorTypes(C){this.#a=C;for(const b of this.#a)this.#M(b.defaultPropertiesToUpdate)}getId(){return this.#h.getId()}addLayer(C){this.#n.set(C.pageIndex,C),this.#u?C.enable():C.disable()}removeLayer(C){this.#n.delete(C.pageIndex)}updateMode(C){if(this.#l=C,C===n.AnnotationEditorType.NONE)this.setEditingState(!1),this.#m();else{this.setEditingState(!0),this.#A();for(const b of this.#n.values())b.updateMode(C)}}updateToolbar(C){C!==this.#l&&this.#i.dispatch("switchannotationeditormode",{source:this,mode:C})}updateParams(C,b){for(const _ of this.#s)_.updateParams(C,b);for(const _ of this.#a)_.updateDefaultParams(C,b)}#A(){if(!this.#u){this.#u=!0;for(const C of this.#n.values())C.enable()}}#m(){if(this.unselectAll(),this.#u){this.#u=!1;for(const C of this.#n.values())C.disable()}}getEditors(C){const b=[];for(const _ of this.#t.values())_.pageIndex===C&&b.push(_);return b}getEditor(C){return this.#t.get(C)}addEditor(C){this.#t.set(C.id,C)}removeEditor(C){this.#t.delete(C.id),this.unselect(C)}#E(C){const b=this.#n.get(C.pageIndex);b?b.addOrRebuild(C):this.addEditor(C)}setActiveEditor(C){this.#e!==C&&(this.#e=C,C&&this.#M(C.propertiesToUpdate))}toggleSelected(C){if(this.#s.has(C))return this.#s.delete(C),C.unselect(),void this.#d({hasSelectedEditor:this.hasSelection});this.#s.add(C),C.select(),this.#M(C.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}setSelected(C){for(const b of this.#s)b!==C&&b.unselect();this.#s.clear(),this.#s.add(C),C.select(),this.#M(C.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}isSelected(C){return this.#s.has(C)}unselect(C){C.unselect(),this.#s.delete(C),this.#d({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#s.size}undo(){this.#o.undo(),this.#d({hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#y()})}redo(){this.#o.redo(),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:this.#o.hasSomethingToRedo(),isEmpty:this.#y()})}addCommands(C){this.#o.add(C),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#y()})}#y(){if(0===this.#t.size)return!0;if(1===this.#t.size)for(const C of this.#t.values())return C.isEmpty();return!1}delete(){if(this.#e&&this.#e.commitOrRemove(),!this.hasSelection)return;const C=[...this.#s];this.addCommands({cmd:()=>{for(const f of C)f.remove()},undo:()=>{for(const f of C)this.#E(f)},mustExec:!0})}copy(){if(this.#e&&this.#e.commitOrRemove(),this.hasSelection){const C=[];for(const b of this.#s)b.isEmpty()||C.push(b);if(0===C.length)return;this.#r.copy(C),this.#d({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#r.isEmpty())return;this.unselectAll();const C=this.#n.get(this.#c),b=this.#r.paste().map(y=>C.deserialize(y));this.addCommands({cmd:()=>{for(const y of b)this.#E(y);this.#C(b)},undo:()=>{for(const y of b)y.remove()},mustExec:!0})}#C(C){this.#s.clear();for(const b of C)b.isEmpty()||(this.#s.add(b),b.select());this.#d({hasSelectedEditor:!0})}selectAll(){for(const C of this.#s)C.commit();this.#C(this.#t.values())}unselectAll(){if(this.#e)this.#e.commitOrRemove();else if(0!==this.#C.size){for(const C of this.#s)C.unselect();this.#s.clear(),this.#d({hasSelectedEditor:!1})}}isActive(C){return this.#e===C}getActive(){return this.#e}getMode(){return this.#l}}h.AnnotationEditorUIManager=v},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.StatTimer=h.RenderingCancelledException=h.PixelsPerInch=h.PageViewport=h.PDFDateString=h.DOMStandardFontDataFactory=h.DOMSVGFactory=h.DOMCanvasFactory=h.DOMCMapReaderFactory=h.AnnotationPrefix=void 0,h.deprecated=function O(H){console.log("Deprecated API usage: "+H)},h.getColorValues=function k(H){const G=document.createElement("span");G.style.visibility="hidden",document.body.append(G);for(const te of H.keys()){G.style.color=te;const ce=window.getComputedStyle(G).color;H.set(te,I(ce))}G.remove()},h.getCurrentTransform=function N(H){const{a:G,b:te,c:ce,d:se,e:K,f:Z}=H.getTransform();return[G,te,ce,se,K,Z]},h.getCurrentTransformInverse=function x(H){const{a:G,b:te,c:ce,d:se,e:K,f:Z}=H.getTransform().invertSelf();return[G,te,ce,se,K,Z]},h.getFilenameFromUrl=function y(H){const G=H.indexOf("#"),te=H.indexOf("?"),ce=Math.min(G>0?G:H.length,te>0?te:H.length);return H.substring(H.lastIndexOf("/",ce)+1,ce)},h.getPdfFilenameFromUrl=function S(H,G="document.pdf"){if("string"!=typeof H)return G;if(_(H))return(0,i.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),G;const ce=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,se=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(H);let K=ce.exec(se[1])||ce.exec(se[2])||ce.exec(se[3]);if(K&&(K=K[0],K.includes("%")))try{K=ce.exec(decodeURIComponent(K))[0]}catch{}return K||G},h.getRGB=I,h.getXfaPageViewport=function T(H,{scale:G=1,rotation:te=0}){const{width:ce,height:se}=H.attributes.style,K=[0,0,parseInt(ce),parseInt(se)];return new C({viewBox:K,scale:G,rotation:te})},h.isDataScheme=_,h.isPdfFile=function f(H){return"string"==typeof H&&/\.pdf$/i.test(H)},h.isValidFetchUrl=w,h.loadScript=function A(H,G=!1){return new Promise((te,ce)=>{const se=document.createElement("script");se.src=H,se.onload=function(K){G&&se.remove(),te(K)},se.onerror=function(){ce(new Error(`Cannot load script at: ${se.src}`))},(document.head||document.documentElement).append(se)})};var n=o(9),i=o(1);function u(H){return l.apply(this,arguments)}function l(){return(l=_asyncToGenerator(function*(H,G=!1){if(w(H,document.baseURI)){const te=yield fetch(H);if(!te.ok)throw new Error(te.statusText);return G?new Uint8Array(yield te.arrayBuffer()):(0,i.stringToBytes)(yield te.text())}return new Promise((te,ce)=>{const se=new XMLHttpRequest;se.open("GET",H,!0),G&&(se.responseType="arraybuffer"),se.onreadystatechange=()=>{if(se.readyState===XMLHttpRequest.DONE){if(200===se.status||0===se.status){let K;if(G&&se.response?K=new Uint8Array(se.response):!G&&se.responseText&&(K=(0,i.stringToBytes)(se.responseText)),K)return void te(K)}ce(new Error(se.statusText))}},se.send(null)})})).apply(this,arguments)}h.AnnotationPrefix="pdfjs_internal_id_",h.PixelsPerInch=class c{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},h.DOMCanvasFactory=class e extends n.BaseCanvasFactory{constructor({ownerDocument:G=globalThis.document}={}){super(),this._document=G}_createCanvas(G,te){const ce=this._document.createElement("canvas");return ce.width=G,ce.height=te,ce}},h.DOMCMapReaderFactory=class g extends n.BaseCMapReaderFactory{_fetchData(G,te){return u(G,this.isCompressed).then(ce=>({cMapData:ce,compressionType:te}))}},h.DOMStandardFontDataFactory=class v extends n.BaseStandardFontDataFactory{_fetchData(G){return u(G,!0)}},h.DOMSVGFactory=class p extends n.BaseSVGFactory{_createSVG(G){return document.createElementNS("http://www.w3.org/2000/svg",G)}};class C{constructor({viewBox:G,scale:te,rotation:ce,offsetX:se=0,offsetY:K=0,dontFlip:Z=!1}){this.viewBox=G,this.scale=te,this.rotation=ce,this.offsetX=se,this.offsetY=K;const re=(G[2]+G[0])/2,X=(G[3]+G[1])/2;let W,Y,q,he,_e,Oe,Re,Ae;switch((ce%=360)<0&&(ce+=360),ce){case 180:W=-1,Y=0,q=0,he=1;break;case 90:W=0,Y=1,q=1,he=0;break;case 270:W=0,Y=-1,q=-1,he=0;break;case 0:W=1,Y=0,q=0,he=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}Z&&(q=-q,he=-he),0===W?(_e=Math.abs(X-G[1])*te+se,Oe=Math.abs(re-G[0])*te+K,Re=Math.abs(G[3]-G[1])*te,Ae=Math.abs(G[2]-G[0])*te):(_e=Math.abs(re-G[0])*te+se,Oe=Math.abs(X-G[1])*te+K,Re=Math.abs(G[2]-G[0])*te,Ae=Math.abs(G[3]-G[1])*te),this.transform=[W*te,Y*te,q*te,he*te,_e-W*te*re-q*te*X,Oe-Y*te*re-he*te*X],this.width=Re,this.height=Ae}clone({scale:G=this.scale,rotation:te=this.rotation,offsetX:ce=this.offsetX,offsetY:se=this.offsetY,dontFlip:K=!1}={}){return new C({viewBox:this.viewBox.slice(),scale:G,rotation:te,offsetX:ce,offsetY:se,dontFlip:K})}convertToViewportPoint(G,te){return i.Util.applyTransform([G,te],this.transform)}convertToViewportRectangle(G){const te=i.Util.applyTransform([G[0],G[1]],this.transform),ce=i.Util.applyTransform([G[2],G[3]],this.transform);return[te[0],te[1],ce[0],ce[1]]}convertToPdfPoint(G,te){return i.Util.applyInverseTransform([G,te],this.transform)}}function _(H){const G=H.length;let te=0;for(;te>16,(65280&G)>>8,255&G]}return H.startsWith("rgb(")?H.slice(4,-1).split(",").map(G=>parseInt(G)):H.startsWith("rgba(")?H.slice(5,-1).split(",").map(G=>parseInt(G)).slice(0,3):((0,i.warn)(`Not a valid color format: "${H}"`),[0,0,0])}h.PageViewport=C,h.RenderingCancelledException=class b extends i.BaseException{constructor(G,te){super(G,"RenderingCancelledException"),this.type=te}},h.StatTimer=class M{constructor(){this.started=Object.create(null),this.times=[]}time(G){G in this.started&&(0,i.warn)(`Timer is already running for ${G}`),this.started[G]=Date.now()}timeEnd(G){G in this.started||(0,i.warn)(`Timer has not been started for ${G}`),this.times.push({name:G,start:this.started[G],end:Date.now()}),delete this.started[G]}toString(){const G=[];let te=0;for(const ce of this.times){const se=ce.name;se.length>te&&(te=se.length)}for(const ce of this.times){const se=ce.end-ce.start;G.push(`${ce.name.padEnd(te)} ${se}ms\n`)}return G.join("")}},h.PDFDateString=class j{static toDateObject(G){if(!G||"string"!=typeof G)return null;F||(F=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const te=F.exec(G);if(!te)return null;const ce=parseInt(te[1],10);let se=parseInt(te[2],10);se=se>=1&&se<=12?se-1:0;let K=parseInt(te[3],10);K=K>=1&&K<=31?K:1;let Z=parseInt(te[4],10);Z=Z>=0&&Z<=23?Z:0;let re=parseInt(te[5],10);re=re>=0&&re<=59?re:0;let X=parseInt(te[6],10);X=X>=0&&X<=59?X:0;const W=te[7]||"Z";let Y=parseInt(te[8],10);Y=Y>=0&&Y<=23?Y:0;let q=parseInt(te[9],10)||0;return q=q>=0&&q<=59?q:0,"-"===W?(Z+=Y,re+=q):"+"===W&&(Z-=Y,re-=q),new Date(Date.UTC(ce,se,K,Z,re,X))}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.BaseStandardFontDataFactory=h.BaseSVGFactory=h.BaseCanvasFactory=h.BaseCMapReaderFactory=void 0;var n=o(1);class i{constructor(){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(u,l){if(u<=0||l<=0)throw new Error("Invalid canvas size");const g=this._createCanvas(u,l);return{canvas:g,context:g.getContext("2d")}}reset(u,l,g){if(!u.canvas)throw new Error("Canvas is not specified");if(l<=0||g<=0)throw new Error("Invalid canvas size");u.canvas.width=l,u.canvas.height=g}destroy(u){if(!u.canvas)throw new Error("Canvas is not specified");u.canvas.width=0,u.canvas.height=0,u.canvas=null,u.context=null}_createCanvas(u,l){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}h.BaseCanvasFactory=i;class d{constructor({baseUrl:u=null,isCompressed:l=!1}){this.constructor===d&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=u,this.isCompressed=l}fetch({name:u}){var l=this;return _asyncToGenerator(function*(){if(!l.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!u)throw new Error("CMap name must be specified.");const g=l.baseUrl+u+(l.isCompressed?".bcmap":"");return l._fetchData(g,l.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE).catch(p=>{throw new Error(`Unable to load ${l.isCompressed?"binary ":""}CMap at: ${g}`)})})()}_fetchData(u,l){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseCMapReaderFactory=d;class a{constructor({baseUrl:u=null}){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=u}fetch({filename:u}){var l=this;return _asyncToGenerator(function*(){if(!l.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!u)throw new Error("Font filename must be specified.");const g=`${l.baseUrl}${u}`;return l._fetchData(g).catch(v=>{throw new Error(`Unable to load font data at: ${g}`)})})()}_fetchData(u){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseStandardFontDataFactory=a;class c{constructor(){this.constructor===c&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(u,l,g=!1){if(u<=0||l<=0)throw new Error("Invalid SVG dimensions");const v=this._createSVG("svg:svg");return v.setAttribute("version","1.1"),g||(v.setAttribute("width",`${u}px`),v.setAttribute("height",`${l}px`)),v.setAttribute("preserveAspectRatio","none"),v.setAttribute("viewBox",`0 0 ${u} ${l}`),v}createElement(u){if("string"!=typeof u)throw new Error("Invalid SVG element type");return this._createSVG(u)}_createSVG(u){(0,n.unreachable)("Abstract method `_createSVG` called.")}}h.BaseSVGFactory=c},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MurmurHash3_64=void 0;var n=o(1);const i=3285377520,d=4294901760,a=65535;h.MurmurHash3_64=class c{constructor(u){this.h1=u?4294967295&u:i,this.h2=u?4294967295&u:i}update(u){let l,g;if("string"==typeof u){l=new Uint8Array(2*u.length),g=0;for(let O=0,F=u.length;O>>8,l[g++]=255&j)}}else{if(!(0,n.isArrayBuffer)(u))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");l=u.slice(),g=l.byteLength}const v=g>>2,p=g-4*v,C=new Uint32Array(l.buffer,0,v);let b=0,_=0,f=this.h1,y=this.h2;const S=3432918353,M=461845907,w=S&a,A=M&a;for(let O=0;O>>17,b=b*M&d|b*A&a,f^=b,f=f<<13|f>>>19,f=5*f+3864292196):(_=C[O],_=_*S&d|_*w&a,_=_<<15|_>>>17,_=_*M&d|_*A&a,y^=_,y=y<<13|y>>>19,y=5*y+3864292196);switch(b=0,p){case 3:b^=l[4*v+2]<<16;case 2:b^=l[4*v+1]<<8;case 1:b^=l[4*v],b=b*S&d|b*w&a,b=b<<15|b>>>17,b=b*M&d|b*A&a,1&v?f^=b:y^=b}this.h1=f,this.h2=y}hexdigest(){let u=this.h1,l=this.h2;u^=l>>>1,u=3981806797*u&d|36045*u&a,l=4283543511*l&d|(2950163797*(l<<16|u>>>16)&d)>>>16,u^=l>>>1,u=444984403*u&d|60499*u&a,l=3301882366*l&d|(3120437893*(l<<16|u>>>16)&d)>>>16,u^=l>>>1;const g=(u>>>0).toString(16),v=(l>>>0).toString(16);return g.padStart(8,"0")+v.padStart(8,"0")}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FontLoader=h.FontFaceObject=void 0;var n=o(1);class i{constructor({docId:e,onUnsupportedFeature:u,ownerDocument:l=globalThis.document,styleElement:g=null}){this.constructor===i&&(0,n.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=u,this._document=l,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let u=this.styleElement;u||(u=this.styleElement=this._document.createElement("style"),u.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(u));const l=u.sheet;l.insertRule(e,l.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}bind(e){var u=this;return _asyncToGenerator(function*(){if(e.attached||e.missingFile)return;if(e.attached=!0,u.isFontLoadingAPISupported){const g=e.createNativeFontFace();if(g){u.addNativeFontFace(g);try{yield g.loaded}catch(v){throw u._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,n.warn)(`Failed to load font '${g.family}': '${v}'.`),e.disableFontFace=!0,v}}return}const l=e.createFontFaceRule();if(l){if(u.insertRule(l),u.isSyncFontLoadingSupported)return;yield new Promise(g=>{const v=u._queueLoadingCallback(g);u._prepareFontLoadEvent([l],[e],v)})}})()}_queueLoadingCallback(e){(0,n.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,n.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,n.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,n.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,u,l){(0,n.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let d;h.FontLoader=d,h.FontLoader=d=class extends i{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return(typeof navigator>"u"||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const l=this.loadingContext,g={id:"pdfjs-font-loading-"+l.nextRequestId++,done:!1,complete:function u(){for((0,n.assert)(!g.done,"completeRequest() cannot be called twice."),g.done=!0;l.requests.length>0&&l.requests[0].done;){const v=l.requests.shift();setTimeout(v.callback,0)}},callback:e};return l.requests.push(g),g}get _loadTestFont(){return(0,n.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,u,l){function g(N,x){return N.charCodeAt(x)<<24|N.charCodeAt(x+1)<<16|N.charCodeAt(x+2)<<8|255&N.charCodeAt(x+3)}function v(N,x,H,G){return N.substring(0,x)+G+N.substring(x+H)}let p,C;const b=this._document.createElement("canvas");b.width=1,b.height=1;const _=b.getContext("2d");let f=0;const S=`lt${Date.now()}${this.loadTestFontId++}`;let M=this._loadTestFont;M=v(M,976,S.length,S);const O=1482184792;let F=g(M,16);for(p=0,C=S.length-3;p30)return(0,n.warn)("Load test font never loaded."),void x();_.font="30px "+N,_.fillText(".",0,20),_.getImageData(0,0,1,1).data[3]>0?x():setTimeout(y.bind(null,N,x))}(S,()=>{k.remove(),l.complete()})}},h.FontFaceObject=class a{constructor(e,{isEvalSupported:u=!0,disableFontFace:l=!1,ignoreErrors:g=!1,onUnsupportedFeature:v,fontRegistry:p=null}){this.compiledGlyphs=Object.create(null);for(const C in e)this[C]=e[C];this.isEvalSupported=!1!==u,this.disableFontFace=!0===l,this.ignoreErrors=!0===g,this._onUnsupportedFeature=v,this.fontRegistry=p}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const u={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(u.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,u)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,n.bytesToString)(this.data),u=`url(data:${this.mimetype};base64,${btoa(e)});`;let l;if(this.cssFontInfo){let g=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(g+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),l=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${g}src:${u}}`}else l=`@font-face {font-family:"${this.loadedName}";src:${u}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,u),l}getPathGenerator(e,u){if(void 0!==this.compiledGlyphs[u])return this.compiledGlyphs[u];let l;try{l=e.get(this.loadedName+"_path_"+u)}catch(g){if(!this.ignoreErrors)throw g;return this._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,n.warn)(`getPathGenerator - ignoring character: "${g}".`),this.compiledGlyphs[u]=function(v,p){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){const g=[];for(const v of l){const p=void 0!==v.args?v.args.join(","):"";g.push("c.",v.cmd,"(",p,");\n")}return this.compiledGlyphs[u]=new Function("c","size",g.join(""))}return this.compiledGlyphs[u]=function(g,v){for(const p of l)"scale"===p.cmd&&(p.args=[v,-v]),g[p.cmd].apply(g,p.args)}}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.CanvasGraphics=void 0;var n=o(8),i=o(1),d=o(13),a=o(14),c=o(3);const l=4096,p=c.isNodeJS&&typeof Path2D>"u"?-1:1e3,C=16;class _{constructor(K){this.canvasFactory=K,this.cache=Object.create(null)}getCanvas(K,Z,re){let X;return void 0!==this.cache[K]?(X=this.cache[K],this.canvasFactory.reset(X,Z,re)):(X=this.canvasFactory.create(Z,re),this.cache[K]=X),X}delete(K){delete this.cache[K]}clear(){for(const K in this.cache)this.canvasFactory.destroy(this.cache[K]),delete this.cache[K]}}function f(se,K,Z,re,X,W,Y,q,he,_e){const[Oe,Re,Ae,ge,Ne,it]=(0,n.getCurrentTransform)(se);if(0===Re&&0===Ae){const je=Math.round(Y*Oe+Ne),bt=Math.round(q*ge+it),Ut=Math.abs(Math.round((Y+he)*Oe+Ne)-je)||1,un=Math.abs(Math.round((q+_e)*ge+it)-bt)||1;return se.setTransform(Math.sign(Oe),0,0,Math.sign(ge),je,bt),se.drawImage(K,Z,re,X,W,0,0,Ut,un),se.setTransform(Oe,Re,Ae,ge,Ne,it),[Ut,un]}if(0===Oe&&0===ge){const je=Math.round(q*Ae+Ne),bt=Math.round(Y*Re+it),Ut=Math.abs(Math.round((q+_e)*Ae+Ne)-je)||1,un=Math.abs(Math.round((Y+he)*Re+it)-bt)||1;return se.setTransform(0,Math.sign(Re),Math.sign(Ae),0,je,bt),se.drawImage(K,Z,re,X,W,0,0,un,Ut),se.setTransform(Oe,Re,Ae,ge,Ne,it),[un,Ut]}return se.drawImage(K,Z,re,X,W,Y,q,he,_e),[Math.hypot(Oe,Re)*he,Math.hypot(Ae,ge)*_e]}class S{constructor(K,Z){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=i.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=i.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,K,Z])}clone(){const K=Object.create(this);return K.clipBox=this.clipBox.slice(),K}setCurrentPoint(K,Z){this.x=K,this.y=Z}updatePathMinMax(K,Z,re){[Z,re]=i.Util.applyTransform([Z,re],K),this.minX=Math.min(this.minX,Z),this.minY=Math.min(this.minY,re),this.maxX=Math.max(this.maxX,Z),this.maxY=Math.max(this.maxY,re)}updateRectMinMax(K,Z){const re=i.Util.applyTransform(Z,K),X=i.Util.applyTransform(Z.slice(2),K);this.minX=Math.min(this.minX,re[0],X[0]),this.minY=Math.min(this.minY,re[1],X[1]),this.maxX=Math.max(this.maxX,re[0],X[0]),this.maxY=Math.max(this.maxY,re[1],X[1])}updateScalingPathMinMax(K,Z){i.Util.scaleMinMax(K,Z),this.minX=Math.min(this.minX,Z[0]),this.maxX=Math.max(this.maxX,Z[1]),this.minY=Math.min(this.minY,Z[2]),this.maxY=Math.max(this.maxY,Z[3])}updateCurvePathMinMax(K,Z,re,X,W,Y,q,he,_e,Oe){const Re=i.Util.bezierBoundingBox(Z,re,X,W,Y,q,he,_e);if(Oe)return Oe[0]=Math.min(Oe[0],Re[0],Re[2]),Oe[1]=Math.max(Oe[1],Re[0],Re[2]),Oe[2]=Math.min(Oe[2],Re[1],Re[3]),void(Oe[3]=Math.max(Oe[3],Re[1],Re[3]));this.updateRectMinMax(K,Re)}getPathBoundingBox(K=d.PathType.FILL,Z=null){const re=[this.minX,this.minY,this.maxX,this.maxY];if(K===d.PathType.STROKE){Z||(0,i.unreachable)("Stroke bounding box must include transform.");const X=i.Util.singularValueDecompose2dScale(Z),W=X[0]*this.lineWidth/2,Y=X[1]*this.lineWidth/2;re[0]-=W,re[1]-=Y,re[2]+=W,re[3]+=Y}return re}updateClipFromPath(){const K=i.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(K||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(K){this.clipBox=K,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(K=d.PathType.FILL,Z=null){return i.Util.intersect(this.clipBox,this.getPathBoundingBox(K,Z))}}function M(se,K,Z=null){if(typeof ImageData<"u"&&K instanceof ImageData)return void se.putImageData(K,0,0);const re=K.height,X=K.width,W=re%C,Y=(re-W)/C,q=0===W?Y:Y+1,he=se.createImageData(X,C);let Oe,_e=0;const Re=K.data,Ae=he.data;let ge,Ne,it,qe,et,De,je,Pe;if(Z)switch(Z.length){case 1:et=Z[0],De=Z[0],je=Z[0],Pe=Z[0];break;case 4:et=Z[0],De=Z[1],je=Z[2],Pe=Z[3]}if(K.kind===i.ImageKind.GRAYSCALE_1BPP){const bt=Re.byteLength,Qe=new Uint32Array(Ae.buffer,0,Ae.byteLength>>2),Ut=Qe.length,sn=X+7>>3;let un=4294967295,Sn=i.FeatureTest.isLittleEndian?4278190080:255;for(Pe&&255===Pe[0]&&0===Pe[255]&&([un,Sn]=[Sn,un]),ge=0;gesn?X:8*bn-7,Fe=-8&jt;let Ee=0,ye=0;for(;kt>=1}for(;Oe=Y&&(it=W,qe=X*it),Oe=0,Ne=qe;Ne--;)Ae[Oe++]=Re[_e++],Ae[Oe++]=Re[_e++],Ae[Oe++]=Re[_e++],Ae[Oe++]=255;if(bt)for(let Qe=0;Qe>8,se[W-2]=se[W-2]*Y+Z*q>>8,se[W-1]=se[W-1]*Y+re*q>>8}}}function j(se,K,Z){const re=se.length;for(let W=3;W>8]>>8:K[X]*W>>16}}function N(se,K){const Z=i.Util.singularValueDecompose2dScale(se);Z[0]=Math.fround(Z[0]),Z[1]=Math.fround(Z[1]);const re=Math.fround((globalThis.devicePixelRatio||1)*n.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==K?K:Z[0]<=re||Z[1]<=re}const x=["butt","round","square"],H=["miter","round","bevel"],G={},te={};class ce{constructor(K,Z,re,X,W,Y,q,he){this.ctx=K,this.current=new S(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=Z,this.objs=re,this.canvasFactory=X,this.imageLayer=W,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=Y,this.cachedCanvases=new _(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=q,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=he?.background||null,this.foregroundColor=he?.foreground||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(K,Z=null){return"string"==typeof K?K.startsWith("g_")?this.commonObjs.get(K):this.objs.get(K):Z}beginDrawing({transform:K,viewport:Z,transparency:re=!1,background:X=null}){const W=this.ctx.canvas.width,Y=this.ctx.canvas.height,q=X||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const he=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const _e=this.backgroundColor=this.ctx.fillStyle;let Oe=!0,Re=q;if(this.ctx.fillStyle=q,Re=this.ctx.fillStyle,Oe="string"==typeof Re&&/^#[0-9A-Fa-f]{6}$/.test(Re),"#000000"===he&&"#ffffff"===_e||he===_e||!Oe)this.foregroundColor=this.backgroundColor=null;else{const[Ae,ge,Ne]=(0,n.getRGB)(Re),it=et=>(et/=255)<=.03928?et/12.92:((et+.055)/1.055)**2.4,qe=Math.round(.2126*it(Ae)+.7152*it(ge)+.0722*it(Ne));this.selectColor=(et,De,je)=>{const Pe=.2126*it(et)+.7152*it(De)+.0722*it(je);return Math.round(Pe)===qe?_e:he}}}if(this.ctx.fillStyle=this.backgroundColor||q,this.ctx.fillRect(0,0,W,Y),this.ctx.restore(),re){const he=this.cachedCanvases.getCanvas("transparent",W,Y);this.compositeCtx=this.ctx,this.transparentCanvas=he.canvas,this.ctx=he.context,this.ctx.save(),this.ctx.transform(...(0,n.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),O(this.ctx,this.foregroundColor),K&&(this.ctx.transform(...K),this.outputScaleX=K[0],this.outputScaleY=K[0]),this.ctx.transform(...Z.transform),this.viewportScale=Z.scale,this.baseTransform=(0,n.getCurrentTransform)(this.ctx),this.imageLayer&&((0,n.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(K,Z,re,X){const W=K.argsArray,Y=K.fnArray;let q=Z||0;const he=W.length;if(he===q)return q;const _e=he-q>10&&"function"==typeof re,Oe=_e?Date.now()+15:0;let Re=0;const Ae=this.commonObjs,ge=this.objs;let Ne;for(;;){if(void 0!==X&&q===X.nextBreakPoint)return X.breakIt(q,re),q;if(Ne=Y[q],Ne!==i.OPS.dependency)this[Ne].apply(this,W[q]);else for(const it of W[q]){const qe=it.startsWith("g_")?Ae:ge;if(!qe.has(it))return qe.get(it,re),q}if(q++,q===he)return q;if(_e&&++Re>10){if(Date.now()>Oe)return re(),q;Re=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const K of this._cachedBitmapsMap.values()){for(const Z of K.values())typeof HTMLCanvasElement<"u"&&Z instanceof HTMLCanvasElement&&(Z.width=Z.height=0);K.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(K,Z){const re=K.width,X=K.height;let Oe,Re,W=Math.max(Math.hypot(Z[0],Z[1]),1),Y=Math.max(Math.hypot(Z[2],Z[3]),1),q=re,he=X,_e="prescale1";for(;W>2&&q>1||Y>2&&he>1;){let Ae=q,ge=he;W>2&&q>1&&(Ae=Math.ceil(q/2),W/=q/Ae),Y>2&&he>1&&(ge=Math.ceil(he/2),Y/=he/ge),Oe=this.cachedCanvases.getCanvas(_e,Ae,ge),Re=Oe.context,Re.clearRect(0,0,Ae,ge),Re.drawImage(K,0,0,q,he,0,0,Ae,ge),K=Oe.canvas,q=Ae,he=ge,_e="prescale1"===_e?"prescale2":"prescale1"}return{img:K,paintWidth:q,paintHeight:he}}_createMaskCanvas(K){const Z=this.ctx,{width:re,height:X}=K,W=this.current.fillColor,Y=this.current.patternFill,q=(0,n.getCurrentTransform)(Z);let he,_e,Oe,Re;if((K.bitmap||K.data)&&K.count>1){const Ut=K.bitmap||K.data.buffer,sn=q.slice(0,4);_e=JSON.stringify(Y?sn:[sn,W]),he=this._cachedBitmapsMap.get(Ut),he||(he=new Map,this._cachedBitmapsMap.set(Ut,he));const un=he.get(_e);if(un&&!Y)return{canvas:un,offsetX:Math.round(Math.min(q[0],q[2])+q[4]),offsetY:Math.round(Math.min(q[1],q[3])+q[5])};Oe=un}Oe||(Re=this.cachedCanvases.getCanvas("maskCanvas",re,X),w(Re.context,K));let Ae=i.Util.transform(q,[1/re,0,0,-1/X,0,0]);Ae=i.Util.transform(Ae,[1,0,0,1,0,-X]);const ge=i.Util.applyTransform([0,0],Ae),Ne=i.Util.applyTransform([re,X],Ae),it=i.Util.normalizeRect([ge[0],ge[1],Ne[0],Ne[1]]),qe=Math.round(it[2]-it[0])||1,et=Math.round(it[3]-it[1])||1,De=this.cachedCanvases.getCanvas("fillCanvas",qe,et),je=De.context,Pe=Math.min(ge[0],Ne[0]),bt=Math.min(ge[1],Ne[1]);je.translate(-Pe,-bt),je.transform(...Ae),Oe||(Oe=this._scaleImage(Re.canvas,(0,n.getCurrentTransformInverse)(je)),Oe=Oe.img,he&&Y&&he.set(_e,Oe)),je.imageSmoothingEnabled=N((0,n.getCurrentTransform)(je),K.interpolate),f(je,Oe,0,0,Oe.width,Oe.height,0,0,re,X),je.globalCompositeOperation="source-in";const Qe=i.Util.transform((0,n.getCurrentTransformInverse)(je),[1,0,0,1,-Pe,-bt]);return je.fillStyle=Y?W.getPattern(Z,this,Qe,d.PathType.FILL):W,je.fillRect(0,0,re,X),he&&!Y&&(this.cachedCanvases.delete("fillCanvas"),he.set(_e,De.canvas)),{canvas:De.canvas,offsetX:Math.round(Pe),offsetY:Math.round(bt)}}setLineWidth(K){K!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=K,this.ctx.lineWidth=K}setLineCap(K){this.ctx.lineCap=x[K]}setLineJoin(K){this.ctx.lineJoin=H[K]}setMiterLimit(K){this.ctx.miterLimit=K}setDash(K,Z){const re=this.ctx;void 0!==re.setLineDash&&(re.setLineDash(K),re.lineDashOffset=Z)}setRenderingIntent(K){}setFlatness(K){}setGState(K){for(let Z=0,re=K.length;Z{se.save=se.__originalSave,se.restore=se.__originalRestore,se.rotate=se.__originalRotate,se.scale=se.__originalScale,se.translate=se.__originalTranslate,se.transform=se.__originalTransform,se.setTransform=se.__originalSetTransform,se.resetTransform=se.__originalResetTransform,se.clip=se.__originalClip,se.moveTo=se.__originalMoveTo,se.lineTo=se.__originalLineTo,se.bezierCurveTo=se.__originalBezierCurveTo,se.rect=se.__originalRect,se.closePath=se.__originalClosePath,se.beginPath=se.__originalBeginPath,delete se._removeMirroring},se.save=function(){K.save(),this.__originalSave()},se.restore=function(){K.restore(),this.__originalRestore()},se.translate=function(re,X){K.translate(re,X),this.__originalTranslate(re,X)},se.scale=function(re,X){K.scale(re,X),this.__originalScale(re,X)},se.transform=function(re,X,W,Y,q,he){K.transform(re,X,W,Y,q,he),this.__originalTransform(re,X,W,Y,q,he)},se.setTransform=function(re,X,W,Y,q,he){K.setTransform(re,X,W,Y,q,he),this.__originalSetTransform(re,X,W,Y,q,he)},se.resetTransform=function(){K.resetTransform(),this.__originalResetTransform()},se.rotate=function(re){K.rotate(re),this.__originalRotate(re)},se.clip=function(re){K.clip(re),this.__originalClip(re)},se.moveTo=function(Z,re){K.moveTo(Z,re),this.__originalMoveTo(Z,re)},se.lineTo=function(Z,re){K.lineTo(Z,re),this.__originalLineTo(Z,re)},se.bezierCurveTo=function(Z,re,X,W,Y,q){K.bezierCurveTo(Z,re,X,W,Y,q),this.__originalBezierCurveTo(Z,re,X,W,Y,q)},se.rect=function(Z,re,X,W){K.rect(Z,re,X,W),this.__originalRect(Z,re,X,W)},se.closePath=function(){K.closePath(),this.__originalClosePath()},se.beginPath=function(){K.beginPath(),this.__originalBeginPath()}}(W,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),A(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(K){this.current.activeSMask&&(K?(K[0]=Math.floor(K[0]),K[1]=Math.floor(K[1]),K[2]=Math.ceil(K[2]),K[3]=Math.ceil(K[3])):K=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],function k(se,K,Z,re){const X=re[0],W=re[1],Y=re[2]-X,q=re[3]-W;0===Y||0===q||(function I(se,K,Z,re,X,W,Y,q,he,_e,Oe){const Re=!!W,Ae=Re?W[0]:0,ge=Re?W[1]:0,Ne=Re?W[2]:0;let it;it="Luminosity"===X?T:j;const et=Math.min(re,Math.ceil(1048576/Z));for(let De=0;De100&&(_e=100),this.current.fontSizeScale=Z/_e,this.ctx.font=`${q} ${Y} ${_e}px ${he}`}setTextRenderingMode(K){this.current.textRenderingMode=K}setTextRise(K){this.current.textRise=K}moveText(K,Z){this.current.x=this.current.lineX+=K,this.current.y=this.current.lineY+=Z}setLeadingMoveText(K,Z){this.setLeading(-Z),this.moveText(K,Z)}setTextMatrix(K,Z,re,X,W,Y){this.current.textMatrix=[K,Z,re,X,W,Y],this.current.textMatrixScale=Math.hypot(K,Z),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(K,Z,re,X){const W=this.ctx,Y=this.current,q=Y.font,he=Y.textRenderingMode,_e=Y.fontSize/Y.fontSizeScale,Oe=he&i.TextRenderingMode.FILL_STROKE_MASK,Re=!!(he&i.TextRenderingMode.ADD_TO_PATH_FLAG),Ae=Y.patternFill&&!q.missingFile;let ge;(q.disableFontFace||Re||Ae)&&(ge=q.getPathGenerator(this.commonObjs,K)),q.disableFontFace||Ae?(W.save(),W.translate(Z,re),W.beginPath(),ge(W,_e),X&&W.setTransform(...X),(Oe===i.TextRenderingMode.FILL||Oe===i.TextRenderingMode.FILL_STROKE)&&W.fill(),(Oe===i.TextRenderingMode.STROKE||Oe===i.TextRenderingMode.FILL_STROKE)&&W.stroke(),W.restore()):((Oe===i.TextRenderingMode.FILL||Oe===i.TextRenderingMode.FILL_STROKE)&&W.fillText(K,Z,re),(Oe===i.TextRenderingMode.STROKE||Oe===i.TextRenderingMode.FILL_STROKE)&&W.strokeText(K,Z,re)),Re&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,n.getCurrentTransform)(W),x:Z,y:re,fontSize:_e,addToPath:ge})}get isFontSubpixelAAEnabled(){const{context:K}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);K.scale(1.5,1),K.fillText("I",0,10);const Z=K.getImageData(0,0,10,10).data;let re=!1;for(let X=3;X0&&Z[X]<255){re=!0;break}return(0,i.shadow)(this,"isFontSubpixelAAEnabled",re)}showText(K){const Z=this.current,re=Z.font;if(re.isType3Font)return this.showType3Text(K);const X=Z.fontSize;if(0===X)return;const W=this.ctx,Y=Z.fontSizeScale,q=Z.charSpacing,he=Z.wordSpacing,_e=Z.fontDirection,Oe=Z.textHScale*_e,Re=K.length,Ae=re.vertical,ge=Ae?1:-1,Ne=re.defaultVMetrics,it=X*Z.fontMatrix[0],qe=Z.textRenderingMode===i.TextRenderingMode.FILL&&!re.disableFontFace&&!Z.patternFill;let et;if(W.save(),W.transform(...Z.textMatrix),W.translate(Z.x,Z.y+Z.textRise),W.scale(Oe,_e>0?-1:1),Z.patternFill){W.save();const Qe=Z.fillColor.getPattern(W,this,(0,n.getCurrentTransformInverse)(W),d.PathType.FILL);et=(0,n.getCurrentTransform)(W),W.restore(),W.fillStyle=Qe}let De=Z.lineWidth;const je=Z.textMatrixScale;if(0===je||0===De){const Qe=Z.textRenderingMode&i.TextRenderingMode.FILL_STROKE_MASK;(Qe===i.TextRenderingMode.STROKE||Qe===i.TextRenderingMode.FILL_STROKE)&&(De=this.getSinglePixelWidth())}else De/=je;1!==Y&&(W.scale(Y,Y),De/=Y),W.lineWidth=De;let bt,Pe=0;for(bt=0;bt0){const Ee=1e3*W.measureText(un).width/X*Y;if(jtnew ce(Y,this.commonObjs,this.objs,this.canvasFactory)},X)}else Z=this._getPattern(K[1],K[2]);return Z}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(K,Z,re){const X=this.selectColor?.(K,Z,re)||i.Util.makeHexColor(K,Z,re);this.ctx.strokeStyle=X,this.current.strokeColor=X}setFillRGBColor(K,Z,re){const X=this.selectColor?.(K,Z,re)||i.Util.makeHexColor(K,Z,re);this.ctx.fillStyle=X,this.current.fillColor=X,this.current.patternFill=!1}_getPattern(K,Z=null){let re;return this.cachedPatterns.has(K)?re=this.cachedPatterns.get(K):(re=(0,d.getShadingPattern)(this.objs.get(K)),this.cachedPatterns.set(K,re)),Z&&(re.matrix=Z),re}shadingFill(K){if(!this.contentVisible)return;const Z=this.ctx;this.save();const re=this._getPattern(K);Z.fillStyle=re.getPattern(Z,this,(0,n.getCurrentTransformInverse)(Z),d.PathType.SHADING);const X=(0,n.getCurrentTransformInverse)(Z);if(X){const W=Z.canvas,Y=W.width,q=W.height,he=i.Util.applyTransform([0,0],X),_e=i.Util.applyTransform([0,q],X),Oe=i.Util.applyTransform([Y,0],X),Re=i.Util.applyTransform([Y,q],X),Ae=Math.min(he[0],_e[0],Oe[0],Re[0]),ge=Math.min(he[1],_e[1],Oe[1],Re[1]),Ne=Math.max(he[0],_e[0],Oe[0],Re[0]),it=Math.max(he[1],_e[1],Oe[1],Re[1]);this.ctx.fillRect(Ae,ge,Ne-Ae,it-ge)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,i.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,i.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(K,Z){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(K)&&6===K.length&&this.transform(...K),this.baseTransform=(0,n.getCurrentTransform)(this.ctx),Z)&&(this.ctx.rect(Z[0],Z[1],Z[2]-Z[0],Z[3]-Z[1]),this.current.updateRectMinMax((0,n.getCurrentTransform)(this.ctx),Z),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(K){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const Z=this.ctx;K.isolated||(0,i.info)("TODO: Support non-isolated groups."),K.knockout&&(0,i.warn)("Knockout groups not supported.");const re=(0,n.getCurrentTransform)(Z);if(K.matrix&&Z.transform(...K.matrix),!K.bbox)throw new Error("Bounding box is required.");let X=i.Util.getAxialAlignedBoundingBox(K.bbox,(0,n.getCurrentTransform)(Z));X=i.Util.intersect(X,[0,0,Z.canvas.width,Z.canvas.height])||[0,0,0,0];const Y=Math.floor(X[0]),q=Math.floor(X[1]);let he=Math.max(Math.ceil(X[2])-Y,1),_e=Math.max(Math.ceil(X[3])-q,1),Oe=1,Re=1;he>l&&(Oe=he/l,he=l),_e>l&&(Re=_e/l,_e=l),this.current.startNewPathAndClipBox([0,0,he,_e]);let Ae="groupAt"+this.groupLevel;K.smask&&(Ae+="_smask_"+this.smaskCounter++%2);const ge=this.cachedCanvases.getCanvas(Ae,he,_e),Ne=ge.context;Ne.scale(1/Oe,1/Re),Ne.translate(-Y,-q),Ne.transform(...re),K.smask?this.smaskStack.push({canvas:ge.canvas,context:Ne,offsetX:Y,offsetY:q,scaleX:Oe,scaleY:Re,subtype:K.smask.subtype,backdrop:K.smask.backdrop,transferMap:K.smask.transferMap||null,startTransformInverse:null}):(Z.setTransform(1,0,0,1,0,0),Z.translate(Y,q),Z.scale(Oe,Re),Z.save()),A(Z,Ne),this.ctx=Ne,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(Z),this.groupLevel++}endGroup(K){if(!this.contentVisible)return;this.groupLevel--;const Z=this.ctx,re=this.groupStack.pop();if(this.ctx=re,this.ctx.imageSmoothingEnabled=!1,K.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const X=(0,n.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...X);const W=i.Util.getAxialAlignedBoundingBox([0,0,Z.canvas.width,Z.canvas.height],X);this.ctx.drawImage(Z.canvas,0,0),this.ctx.restore(),this.compose(W)}}beginAnnotation(K,Z,re,X,W){if(this.#e(),O(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(Z)&&4===Z.length){const Y=Z[2]-Z[0],q=Z[3]-Z[1];if(W&&this.annotationCanvasMap){(re=re.slice())[4]-=Z[0],re[5]-=Z[1],(Z=Z.slice())[0]=Z[1]=0,Z[2]=Y,Z[3]=q;const[he,_e]=i.Util.singularValueDecompose2dScale((0,n.getCurrentTransform)(this.ctx)),{viewportScale:Oe}=this,Re=Math.ceil(Y*this.outputScaleX*Oe),Ae=Math.ceil(q*this.outputScaleY*Oe);this.annotationCanvas=this.canvasFactory.create(Re,Ae);const{canvas:ge,context:Ne}=this.annotationCanvas;this.annotationCanvasMap.set(K,ge),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Ne,this.ctx.setTransform(he,0,0,-_e,0,q*_e),O(this.ctx,this.foregroundColor)}else O(this.ctx,this.foregroundColor),this.ctx.rect(Z[0],Z[1],Y,q),this.ctx.clip(),this.endPath()}this.current=new S(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...re),this.transform(...X)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(K){if(!this.contentVisible)return;const Z=K.count;(K=this.getObject(K.data,K)).count=Z;const re=this.ctx,X=this.processingType3;if(X&&(void 0===X.compiled&&(X.compiled=function y(se){const{width:K,height:Z}=se;if(K>p||Z>p)return null;const X=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),W=K+1;let q,he,_e,Y=new Uint8Array(W*(Z+1));const Oe=K+7&-8;let Re=new Uint8Array(Oe*Z),Ae=0;for(const et of se.data){let De=128;for(;De>0;)Re[Ae++]=et&De?0:255,De>>=1}let ge=0;for(Ae=0,0!==Re[Ae]&&(Y[0]=1,++ge),he=1;he>2)+(Re[Ae+1]?4:0)+(Re[Ae-Oe+1]?8:0),X[et]&&(Y[_e+he]=X[et],++ge),Ae++;if(Re[Ae-Oe]!==Re[Ae]&&(Y[_e+he]=Re[Ae]?2:4,++ge),ge>1e3)return null}for(Ae=Oe*(Z-1),_e=q*W,0!==Re[Ae]&&(Y[_e]=8,++ge),he=1;he1e3)return null;const Ne=new Int32Array([0,W,-1,0,-W,0,0,0,1]),it=new Path2D;for(q=0;ge&&q<=Z;q++){let et=q*W;const De=et+K;for(;et>4,Y[et]&=Pe>>2|Pe<<2),it.lineTo(et%W,et/W|0),Y[et]||--ge}while(je!==et);--q}return Re=null,Y=null,function(et){et.save(),et.scale(1/K,-1/Z),et.translate(0,-Z),et.fill(it),et.beginPath(),et.restore()}}(K)),X.compiled))return void X.compiled(re);const W=this._createMaskCanvas(K),Y=W.canvas;re.save(),re.setTransform(1,0,0,1,0,0),re.drawImage(Y,W.offsetX,W.offsetY),re.restore(),this.compose()}paintImageMaskXObjectRepeat(K,Z,re=0,X=0,W,Y){if(!this.contentVisible)return;K=this.getObject(K.data,K);const q=this.ctx;q.save();const he=(0,n.getCurrentTransform)(q);q.transform(Z,re,X,W,0,0);const _e=this._createMaskCanvas(K);q.setTransform(1,0,0,1,0,0);for(let Oe=0,Re=Y.length;Oehe?q/he:1,X=Y>he?Y/he:1}}this._cachedScaleForStroking=[re,X]}return this._cachedScaleForStroking}rescaleAndStroke(K){const{ctx:Z}=this,{lineWidth:re}=this.current,[X,W]=this.getScaleForStroking();if(Z.lineWidth=re||1,1===X&&1===W)return void Z.stroke();let Y,q,he;K&&(Y=(0,n.getCurrentTransform)(Z),q=Z.getLineDash().slice(),he=Z.lineDashOffset),Z.scale(X,W);const _e=Math.max(X,W);Z.setLineDash(Z.getLineDash().map(Oe=>Oe/_e)),Z.lineDashOffset/=_e,Z.stroke(),K&&(Z.setTransform(...Y),Z.setLineDash(q),Z.lineDashOffset=he)}isContentVisible(){for(let K=this.markedContentStack.length-1;K>=0;K--)if(!this.markedContentStack[K].visible)return!1;return!0}}h.CanvasGraphics=ce;for(const se in i.OPS)void 0!==ce.prototype[se]&&(ce.prototype[i.OPS[se]]=ce.prototype[se])},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TilingPattern=h.PathType=void 0,h.getShadingPattern=function C(f){switch(f[0]){case"RadialAxial":return new u(f);case"Mesh":return new v(f);case"Dummy":return new p}throw new Error(`Unknown IR type: ${f[0]}`)};var n=o(1),i=o(8),d=o(3);const a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function c(f,y){if(!y||d.isNodeJS)return;const S=y[2]-y[0],M=y[3]-y[1],w=new Path2D;w.rect(y[0],y[1],S,M),f.clip(w)}h.PathType=a;class e{constructor(){this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class u extends e{constructor(y){super(),this._type=y[1],this._bbox=y[2],this._colorStops=y[3],this._p0=y[4],this._p1=y[5],this._r0=y[6],this._r1=y[7],this.matrix=null}_createGradient(y){let S;"axial"===this._type?S=y.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(S=y.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const M of this._colorStops)S.addColorStop(M[0],M[1]);return S}getPattern(y,S,M,w){let A;if(w===a.STROKE||w===a.FILL){const O=S.current.getClippedPathBoundingBox(w,(0,i.getCurrentTransform)(y))||[0,0,0,0],F=Math.ceil(O[2]-O[0])||1,j=Math.ceil(O[3]-O[1])||1,T=S.cachedCanvases.getCanvas("pattern",F,j,!0),I=T.context;I.clearRect(0,0,I.canvas.width,I.canvas.height),I.beginPath(),I.rect(0,0,I.canvas.width,I.canvas.height),I.translate(-O[0],-O[1]),M=n.Util.transform(M,[1,0,0,1,O[0],O[1]]),I.transform(...S.baseTransform),this.matrix&&I.transform(...this.matrix),c(I,this._bbox),I.fillStyle=this._createGradient(I),I.fill(),A=y.createPattern(T.canvas,"no-repeat");const k=new DOMMatrix(M);try{A.setTransform(k)}catch(N){(0,n.warn)(`RadialAxialShadingPattern.getPattern: "${N?.message}".`)}}else c(y,this._bbox),A=this._createGradient(y);return A}}function l(f,y,S,M,w,A,O,F){const j=y.coords,T=y.colors,I=f.data,k=4*f.width;let N;j[S+1]>j[M+1]&&(N=S,S=M,M=N,N=A,A=O,O=N),j[M+1]>j[w+1]&&(N=M,M=w,w=N,N=O,O=F,F=N),j[S+1]>j[M+1]&&(N=S,S=M,M=N,N=A,A=O,O=N);const x=(j[S]+y.offsetX)*y.scaleX,H=(j[S+1]+y.offsetY)*y.scaleY,G=(j[M]+y.offsetX)*y.scaleX,te=(j[M+1]+y.offsetY)*y.scaleY,ce=(j[w]+y.offsetX)*y.scaleX,se=(j[w+1]+y.offsetY)*y.scaleY;if(H>=se)return;const K=T[A],Z=T[A+1],re=T[A+2],X=T[O],W=T[O+1],Y=T[O+2],q=T[F],he=T[F+1],_e=T[F+2],Oe=Math.round(H),Re=Math.round(se);let Ae,ge,Ne,it,qe,et,De,je;for(let Pe=Oe;Pe<=Re;Pe++){if(Pese?1:te===se?0:(te-Pe)/(te-se),Ae=G-(G-ce)*un,ge=X-(X-q)*un,Ne=W-(W-he)*un,it=Y-(Y-_e)*un}let bt;bt=Pese?1:(H-Pe)/(H-se),qe=x-(x-ce)*bt,et=K-(K-q)*bt,De=Z-(Z-he)*bt,je=re-(re-_e)*bt;const Qe=Math.round(Math.min(Ae,qe)),Ut=Math.round(Math.max(Ae,qe));let sn=k*Pe+4*Qe;for(let un=Qe;un<=Ut;un++)bt=(Ae-un)/(Ae-qe),bt<0?bt=0:bt>1&&(bt=1),I[sn++]=ge-(ge-et)*bt|0,I[sn++]=Ne-(Ne-De)*bt|0,I[sn++]=it-(it-je)*bt|0,I[sn++]=255}}function g(f,y,S){const M=y.coords,w=y.colors;let A,O;switch(y.type){case"lattice":const F=y.verticesPerRow,j=Math.floor(M.length/F)-1,T=F-1;for(A=0;A=w?A=w:M=A/y,{scale:M,size:A}}clipBbox(y,S,M,w,A){y.ctx.rect(S,M,w-S,A-M),y.current.updateRectMinMax((0,i.getCurrentTransform)(y.ctx),[S,M,w,A]),y.clip(),y.endPath()}setFillAndStrokeStyleToContext(y,S,M){const w=y.ctx,A=y.current;switch(S){case 1:const O=this.ctx;w.fillStyle=O.fillStyle,w.strokeStyle=O.strokeStyle,A.fillColor=O.fillStyle,A.strokeColor=O.strokeStyle;break;case 2:const F=n.Util.makeHexColor(M[0],M[1],M[2]);w.fillStyle=F,w.strokeStyle=F,A.fillColor=F,A.strokeColor=F;break;default:throw new n.FormatError(`Unsupported paint type: ${S}`)}}getPattern(y,S,M,w){let A=M;w!==a.SHADING&&(A=n.Util.transform(A,S.baseTransform),this.matrix&&(A=n.Util.transform(A,this.matrix)));const O=this.createPatternCanvas(S);let F=new DOMMatrix(A);F=F.translate(O.offsetX,O.offsetY),F=F.scale(1/O.scaleX,1/O.scaleY);const j=y.createPattern(O.canvas,"repeat");try{j.setTransform(F)}catch(T){(0,n.warn)(`TilingPattern.getPattern: "${T?.message}".`)}return j}}h.TilingPattern=_},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.applyMaskImageData=function i({src:d,srcPos:a=0,dest:c,destPos:e=0,width:u,height:l,inverseDecode:g=!1}){const v=n.FeatureTest.isLittleEndian?4278190080:255,[p,C]=g?[0,v]:[v,0],b=u>>3,_=7&u,f=d.length;c=new Uint32Array(c.buffer);for(let y=0;y{Object.defineProperty(h,"__esModule",{value:!0}),h.GlobalWorkerOptions=void 0;const o=Object.create(null);h.GlobalWorkerOptions=o,o.workerPort=void 0===o.workerPort?null:o.workerPort,o.workerSrc=void 0===o.workerSrc?"":o.workerSrc},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MessageHandler=void 0;var n=o(1);function a(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}h.MessageHandler=class c{constructor(u,l,g){this.sourceName=u,this.targetName=l,this.comObj=g,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=v=>{const p=v.data;if(p.targetName!==this.sourceName)return;if(p.stream)return void this._processStreamMessage(p);if(p.callback){const b=p.callbackId,_=this.callbackCapabilities[b];if(!_)throw new Error(`Cannot resolve callback ${b}`);if(delete this.callbackCapabilities[b],1===p.callback)_.resolve(p.data);else{if(2!==p.callback)throw new Error("Unexpected callback case");_.reject(a(p.reason))}return}const C=this.actionHandler[p.action];if(!C)throw new Error(`Unknown action from worker: ${p.action}`);if(p.callbackId){const b=this.sourceName,_=p.sourceName;new Promise(function(f){f(C(p.data))}).then(function(f){g.postMessage({sourceName:b,targetName:_,callback:1,callbackId:p.callbackId,data:f})},function(f){g.postMessage({sourceName:b,targetName:_,callback:2,callbackId:p.callbackId,reason:a(f)})})}else p.streamId?this._createStreamSink(p):C(p.data)},g.addEventListener("message",this._onComObjOnMessage)}on(u,l){const g=this.actionHandler;if(g[u])throw new Error(`There is already an actionName called "${u}"`);g[u]=l}send(u,l,g){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:u,data:l},g)}sendWithPromise(u,l,g){const v=this.callbackId++,p=(0,n.createPromiseCapability)();this.callbackCapabilities[v]=p;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:u,callbackId:v,data:l},g)}catch(C){p.reject(C)}return p.promise}sendWithStream(u,l,g,v){const p=this.streamId++,C=this.sourceName,b=this.targetName,_=this.comObj;return new ReadableStream({start:f=>{const y=(0,n.createPromiseCapability)();return this.streamControllers[p]={controller:f,startCall:y,pullCall:null,cancelCall:null,isClosed:!1},_.postMessage({sourceName:C,targetName:b,action:u,streamId:p,data:l,desiredSize:f.desiredSize},v),y.promise},pull:f=>{const y=(0,n.createPromiseCapability)();return this.streamControllers[p].pullCall=y,_.postMessage({sourceName:C,targetName:b,stream:6,streamId:p,desiredSize:f.desiredSize}),y.promise},cancel:f=>{(0,n.assert)(f instanceof Error,"cancel must have a valid reason");const y=(0,n.createPromiseCapability)();return this.streamControllers[p].cancelCall=y,this.streamControllers[p].isClosed=!0,_.postMessage({sourceName:C,targetName:b,stream:1,streamId:p,reason:a(f)}),y.promise}},g)}_createStreamSink(u){const l=u.streamId,g=this.sourceName,v=u.sourceName,p=this.comObj,C=this,b=this.actionHandler[u.action],_={enqueue(f,y=1,S){if(this.isCancelled)return;const M=this.desiredSize;this.desiredSize-=y,M>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),p.postMessage({sourceName:g,targetName:v,stream:4,streamId:l,chunk:f},S)},close(){this.isCancelled||(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:v,stream:3,streamId:l}),delete C.streamSinks[l])},error(f){(0,n.assert)(f instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,p.postMessage({sourceName:g,targetName:v,stream:5,streamId:l,reason:a(f)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:u.desiredSize,ready:null};_.sinkCapability.resolve(),_.ready=_.sinkCapability.promise,this.streamSinks[l]=_,new Promise(function(f){f(b(u.data,_))}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:8,streamId:l,success:!0})},function(f){p.postMessage({sourceName:g,targetName:v,stream:8,streamId:l,reason:a(f)})})}_processStreamMessage(u){const l=u.streamId,g=this.sourceName,v=u.sourceName,p=this.comObj,C=this.streamControllers[l],b=this.streamSinks[l];switch(u.stream){case 8:u.success?C.startCall.resolve():C.startCall.reject(a(u.reason));break;case 7:u.success?C.pullCall.resolve():C.pullCall.reject(a(u.reason));break;case 6:if(!b){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:l,success:!0});break}b.desiredSize<=0&&u.desiredSize>0&&b.sinkCapability.resolve(),b.desiredSize=u.desiredSize,new Promise(function(_){_(b.onPull&&b.onPull())}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:l,success:!0})},function(_){p.postMessage({sourceName:g,targetName:v,stream:7,streamId:l,reason:a(_)})});break;case 4:if((0,n.assert)(C,"enqueue should have stream controller"),C.isClosed)break;C.controller.enqueue(u.chunk);break;case 3:if((0,n.assert)(C,"close should have stream controller"),C.isClosed)break;C.isClosed=!0,C.controller.close(),this._deleteStreamController(C,l);break;case 5:(0,n.assert)(C,"error should have stream controller"),C.controller.error(a(u.reason)),this._deleteStreamController(C,l);break;case 2:u.success?C.cancelCall.resolve():C.cancelCall.reject(a(u.reason)),this._deleteStreamController(C,l);break;case 1:if(!b)break;new Promise(function(_){_(b.onCancel&&b.onCancel(a(u.reason)))}).then(function(){p.postMessage({sourceName:g,targetName:v,stream:2,streamId:l,success:!0})},function(_){p.postMessage({sourceName:g,targetName:v,stream:2,streamId:l,reason:a(_)})}),b.sinkCapability.reject(a(u.reason)),b.isCancelled=!0,delete this.streamSinks[l];break;default:throw new Error("Unexpected stream case")}}_deleteStreamController(u,l){var g=this;return _asyncToGenerator(function*(){yield Promise.allSettled([u.startCall&&u.startCall.promise,u.pullCall&&u.pullCall.promise,u.cancelCall&&u.cancelCall.promise]),delete g.streamControllers[l]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.Metadata=void 0;var n=o(1);h.Metadata=class i{#e;#t;constructor({parsedData:a,rawData:c}){this.#e=a,this.#t=c}getRaw(){return this.#t}get(a){return this.#e.get(a)??null}getAll(){return(0,n.objectFromMap)(this.#e)}has(a){return this.#e.has(a)}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.OptionalContentConfig=void 0;var n=o(1);const i=Symbol("INTERNAL");class d{#e=!0;constructor(e,u){this.name=e,this.intent=u}get visible(){return this.#e}_setVisible(e,u){e!==i&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#e=u}}h.OptionalContentConfig=class a{#e=!0;#t=new Map;#n=null;#r=null;constructor(e){if(this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,this.#r=e.order;for(const u of e.groups)this.#t.set(u.id,new d(u.name,u.intent));if("OFF"===e.baseState)for(const u of this.#t.values())u._setVisible(i,!1);for(const u of e.on)this.#t.get(u)._setVisible(i,!0);for(const u of e.off)this.#t.get(u)._setVisible(i,!1);this.#n=new Map;for(const[u,l]of this.#t)this.#n.set(u,l.visible)}}#o(e){const u=e.length;if(u<2)return!0;const l=e[0];for(let g=1;g0?(0,n.objectFromMap)(this.#t):null}getGroup(e){return this.#t.get(e)||null}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFDataTransportStream=void 0;var n=o(1),i=o(8);h.PDFDataTransportStream=class d{constructor(u,l){(0,n.assert)(l,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=u.progressiveDone||!1,this._contentDispositionFilename=u.contentDispositionFilename||null;const g=u.initialData;if(g?.length>0){const v=new Uint8Array(g).buffer;this._queuedChunks.push(v)}this._pdfDataRangeTransport=l,this._isStreamingSupported=!u.disableStream,this._isRangeSupported=!u.disableRange,this._contentLength=u.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((v,p)=>{this._onReceiveData({begin:v,chunk:p})}),this._pdfDataRangeTransport.addProgressListener((v,p)=>{this._onProgress({loaded:v,total:p})}),this._pdfDataRangeTransport.addProgressiveReadListener(v=>{this._onReceiveData({chunk:v})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(u){const l=new Uint8Array(u.chunk).buffer;if(void 0===u.begin)this._fullRequestReader?this._fullRequestReader._enqueue(l):this._queuedChunks.push(l);else{const g=this._rangeReaders.some(function(v){return v._begin===u.begin&&(v._enqueue(l),!0)});(0,n.assert)(g,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(u){if(void 0===u.total){const l=this._rangeReaders[0];l?.onProgress&&l.onProgress({loaded:u.loaded})}else{const l=this._fullRequestReader;l?.onProgress&&l.onProgress({loaded:u.loaded,total:u.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(u){const l=this._rangeReaders.indexOf(u);l>=0&&this._rangeReaders.splice(l,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const u=this._queuedChunks;return this._queuedChunks=null,new a(this,u,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(u,l){if(l<=this._progressiveDataLength)return null;const g=new c(this,u,l);return this._pdfDataRangeTransport.requestDataRange(u,l),this._rangeReaders.push(g),g}cancelAllRequests(u){this._fullRequestReader&&this._fullRequestReader.cancel(u);for(const l of this._rangeReaders.slice(0))l.cancel(u);this._pdfDataRangeTransport.abort()}};class a{constructor(u,l,g=!1,v=null){this._stream=u,this._done=g||!1,this._filename=(0,i.isPdfFile)(v)?v:null,this._queuedChunks=l||[],this._loaded=0;for(const p of this._queuedChunks)this._loaded+=p.byteLength;this._requests=[],this._headersReady=Promise.resolve(),u._fullRequestReader=this,this.onProgress=null}_enqueue(u){this._done||(this._requests.length>0?this._requests.shift().resolve({value:u,done:!1}):this._queuedChunks.push(u),this._loaded+=u.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var u=this;return _asyncToGenerator(function*(){if(u._queuedChunks.length>0)return{value:u._queuedChunks.shift(),done:!1};if(u._done)return{value:void 0,done:!0};const l=(0,n.createPromiseCapability)();return u._requests.push(l),l.promise})()}cancel(u){this._done=!0;for(const l of this._requests)l.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class c{constructor(u,l,g){this._stream=u,this._begin=l,this._end=g,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(u){if(!this._done){if(0===this._requests.length)this._queuedChunk=u;else{this._requests.shift().resolve({value:u,done:!1});for(const g of this._requests)g.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var u=this;return _asyncToGenerator(function*(){if(u._queuedChunk){const g=u._queuedChunk;return u._queuedChunk=null,{value:g,done:!1}}if(u._done)return{value:void 0,done:!0};const l=(0,n.createPromiseCapability)();return u._requests.push(l),l.promise})()}cancel(u){this._done=!0;for(const l of this._requests)l.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(ve,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaText=void 0;class o{static textContent(i){const d=[],a={items:d,styles:Object.create(null)};return function c(e){if(!e)return;let u=null;const l=e.name;if("#text"===l)u=e.value;else{if(!o.shouldBuildText(l))return;e?.attributes?.textContent?u=e.attributes.textContent:e.value&&(u=e.value)}if(null!==u&&d.push({str:u}),e.children)for(const g of e.children)c(g)}(i),a}static shouldBuildText(i){return!("textarea"===i||"input"===i||"option"===i||"select"===i)}}h.XfaText=o},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.NodeStandardFontDataFactory=h.NodeCanvasFactory=h.NodeCMapReaderFactory=void 0;var n=o(9);const i=function(e){return new Promise((u,l)=>{__webpack_require__(45344).readFile(e,(v,p)=>{!v&&p?u(new Uint8Array(p)):l(new Error(v))})})};h.NodeCanvasFactory=class d extends n.BaseCanvasFactory{_createCanvas(u,l){return __webpack_require__(22892).createCanvas(u,l)}},h.NodeCMapReaderFactory=class a extends n.BaseCMapReaderFactory{_fetchData(u,l){return i(u).then(g=>({cMapData:g,compressionType:l}))}},h.NodeStandardFontDataFactory=class c extends n.BaseStandardFontDataFactory{_fetchData(u){return i(u)}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditorLayer=void 0;var n=o(7),i=o(1),d=o(23),a=o(24);h.AnnotationEditorLayer=(()=>{class e{#e;#t=!1;#n=this.pointerup.bind(this);#r=this.pointerdown.bind(this);#o=new Map;#c=!1;#a=!1;#i;static _initialized=!1;constructor(l){e._initialized||(e._initialized=!0,d.FreeTextEditor.initialize(l.l10n),a.InkEditor.initialize(l.l10n),l.uiManager.registerEditorTypes([d.FreeTextEditor,a.InkEditor])),this.#i=l.uiManager,this.annotationStorage=l.annotationStorage,this.pageIndex=l.pageIndex,this.div=l.div,this.#e=l.accessibilityManager,this.#i.addLayer(this)}updateToolbar(l){this.#i.updateToolbar(l)}updateMode(l=this.#i.getMode()){this.#s(),l===i.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#i.unselectAll()}addInkEditorIfNeeded(l){if(l||this.#i.getMode()===i.AnnotationEditorType.INK){if(!l)for(const v of this.#o.values())if(v.isEmpty())return void v.setInBackground();this.#l({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(l){this.#i.setEditingState(l)}addCommands(l){this.#i.addCommands(l)}enable(){this.div.style.pointerEvents="auto";for(const l of this.#o.values())l.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const l of this.#o.values())l.disableEditing()}setActiveEditor(l){this.#i.getActive()!==l&&this.#i.setActiveEditor(l)}enableClick(){this.div.addEventListener("pointerdown",this.#r),this.div.addEventListener("pointerup",this.#n)}disableClick(){this.div.removeEventListener("pointerdown",this.#r),this.div.removeEventListener("pointerup",this.#n)}attach(l){this.#o.set(l.id,l)}detach(l){this.#o.delete(l.id),this.#e?.removePointerInTextLayer(l.contentDiv)}remove(l){this.#i.removeEditor(l),this.detach(l),this.annotationStorage.remove(l.id),l.div.style.display="none",setTimeout(()=>{l.div.style.display="",l.div.remove(),l.isAttachedToDOM=!1,document.activeElement===document.body&&this.#i.focusMainContainer()},0),this.#a||this.addInkEditorIfNeeded(!1)}#h(l){l.parent!==this&&(this.attach(l),l.pageIndex=this.pageIndex,l.parent?.detach(l),l.parent=this,l.div&&l.isAttachedToDOM&&(l.div.remove(),this.div.append(l.div)))}add(l){if(this.#h(l),this.#i.addEditor(l),this.attach(l),!l.isAttachedToDOM){const g=l.render();this.div.append(g),l.isAttachedToDOM=!0}this.moveEditorInDOM(l),l.onceAdded(),this.addToAnnotationStorage(l)}moveEditorInDOM(l){this.#e?.moveElementInDOM(this.div,l.div,l.contentDiv,!0)}addToAnnotationStorage(l){!l.isEmpty()&&!this.annotationStorage.has(l.id)&&this.annotationStorage.setValue(l.id,l)}addOrRebuild(l){l.needsToBeRebuilt()?l.rebuild():this.add(l)}addANewEditor(l){this.addCommands({cmd:()=>{this.addOrRebuild(l)},undo:()=>{l.remove()},mustExec:!0})}addUndoableEditor(l){this.addCommands({cmd:()=>{this.addOrRebuild(l)},undo:()=>{l.remove()},mustExec:!1})}getNextId(){return this.#i.getId()}#u(l){switch(this.#i.getMode()){case i.AnnotationEditorType.FREETEXT:return new d.FreeTextEditor(l);case i.AnnotationEditorType.INK:return new a.InkEditor(l)}return null}deserialize(l){switch(l.annotationType){case i.AnnotationEditorType.FREETEXT:return d.FreeTextEditor.deserialize(l,this);case i.AnnotationEditorType.INK:return a.InkEditor.deserialize(l,this)}return null}#l(l){const g=this.getNextId(),v=this.#u({parent:this,id:g,x:l.offsetX,y:l.offsetY});return v&&this.add(v),v}setSelected(l){this.#i.setSelected(l)}toggleSelected(l){this.#i.toggleSelected(l)}isSelected(l){return this.#i.isSelected(l)}unselect(l){this.#i.unselect(l)}pointerup(l){if(!(0!==l.button||l.ctrlKey&&n.KeyboardManager.platform.isMac)&&l.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);this.#l(l)}}pointerdown(l){if(0!==l.button||l.ctrlKey&&n.KeyboardManager.platform.isMac||l.target!==this.div)return;this.#c=!0;const v=this.#i.getActive();this.#t=!v||v.isEmpty()}drop(l){const g=l.dataTransfer.getData("text/plain"),v=this.#i.getEditor(g);if(!v)return;l.preventDefault(),l.dataTransfer.dropEffect="move",this.#h(v);const p=this.div.getBoundingClientRect();v.translate(l.clientX-p.x-v.startX,l.clientY-p.y-v.startY),this.moveEditorInDOM(v),v.div.focus()}dragover(l){l.preventDefault()}destroy(){this.#i.getActive()?.parent===this&&this.#i.setActiveEditor(null);for(const l of this.#o.values())this.#e?.removePointerInTextLayer(l.contentDiv),l.isAttachedToDOM=!1,l.div.remove(),l.parent=null;this.div=null,this.#o.clear(),this.#i.removeLayer(this)}#s(){this.#a=!0;for(const l of this.#o.values())l.isEmpty()&&l.remove();this.#a=!1}render(l){this.viewport=l.viewport,(0,n.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const g of this.#i.getEditors(this.pageIndex))this.add(g);this.updateMode()}update(l){this.viewport=l.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[l,g,v,p]=this.viewport.viewBox;return[v-l,p-g]}get viewportBaseDimensions(){const{width:l,height:g,rotation:v}=this.viewport;return v%180==0?[l,g]:[g,l]}setDimensions(){const{width:l,height:g,rotation:v}=this.viewport,p=v%180!=0,C=Math.floor(l)+"px",b=Math.floor(g)+"px";this.div.style.width=p?b:C,this.div.style.height=p?C:b,this.div.setAttribute("data-main-rotation",v)}}return e})()},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FreeTextEditor=void 0;var n=o(1),i=o(7),d=o(6);class a extends d.AnnotationEditor{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#n=this.editorDivKeydown.bind(this);#r;#o="";#c=!1;#a;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new i.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],a.prototype.commitOrRemove]]);static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#r=e.color||a._defaultColor||d.AnnotationEditor._defaultLineColor,this.#a=e.fontSize||a._defaultFontSize}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(l=>[l,e.get(l)]));const u=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(u.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,u){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:a._defaultFontSize=u;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:a._defaultColor=u}}updateParams(e,u){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#i(u);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#h(u)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,a._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,a._defaultColor||d.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#a],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#r]]}#i(e){const u=g=>{this.editorDiv.style.fontSize=`calc(${g}px * var(--scale-factor))`,this.translate(0,-(g-this.#a)*this.parent.scaleFactor),this.#a=g,this.#l()},l=this.#a;this.parent.addCommands({cmd:()=>{u(e)},undo:()=>{u(l)},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#h(e){const u=this.#r;this.parent.addCommands({cmd:()=>{this.#r=e,this.editorDiv.style.color=e},undo:()=>{this.#r=u,this.editorDiv.style.color=u},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-a._internalPadding*this.parent.scaleFactor,-(a._internalPadding+this.#a)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#n),this.editorDiv.addEventListener("focus",this.#t),this.editorDiv.addEventListener("blur",this.#e))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#n),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#u(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const u=[];for(let l=0,g=e.length;lthis.editorDiv?.setAttribute("aria-label",g)),a._l10nPromise.get("free_text_default_content").then(g=>this.editorDiv?.setAttribute("default-content",g)),this.editorDiv.contentEditable=!0;const{style:l}=this.editorDiv;if(l.fontSize=`calc(${this.#a}px * var(--scale-factor))`,l.color=this.#r,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,i.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[g,v]=this.parent.viewportBaseDimensions;this.setAt(e*g,u*v,this.width*g,this.height*v);for(const p of this.#o.split("\n")){const C=document.createElement("div");C.append(p?document.createTextNode(p):document.createElement("br")),this.editorDiv.append(C)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,u){const l=super.deserialize(e,u);return l.#a=e.fontSize,l.#r=n.Util.makeHexColor(...e.color),l.#o=e.value,l}serialize(){if(this.isEmpty())return null;const e=a._internalPadding*this.parent.scaleFactor,u=this.getRect(e,e),l=d.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:n.AnnotationEditorType.FREETEXT,color:l,fontSize:this.#a,value:this.#o,pageIndex:this.parent.pageIndex,rect:u,rotation:this.rotation}}}h.FreeTextEditor=a},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.InkEditor=void 0,Object.defineProperty(h,"fitCurve",{enumerable:!0,get:function(){return d.fitCurve}});var n=o(1),i=o(6),d=o(25),a=o(7);const c=16;h.InkEditor=(()=>{class u extends i.AnnotationEditor{#e=0;#t=0;#n=0;#r=this.canvasPointermove.bind(this);#o=this.canvasPointerleave.bind(this);#c=this.canvasPointerup.bind(this);#a=this.canvasPointerdown.bind(this);#i=!1;#h=!1;#u=null;#l=null;#s=0;#g=0;#f=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(g){super({...g,name:"inkEditor"}),this.color=g.color||null,this.thickness=g.thickness||null,this.opacity=g.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(g){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(v=>[v,g.get(v)]))}static updateDefaultParams(g,v){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:u._defaultThickness=v;break;case n.AnnotationEditorParamsType.INK_COLOR:u._defaultColor=v;break;case n.AnnotationEditorParamsType.INK_OPACITY:u._defaultOpacity=v/100}}updateParams(g,v){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#v(v);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#p(v);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#_(v)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,u._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,u._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*u._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||u._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||u._defaultColor||i.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??u._defaultOpacity))]]}#v(g){const v=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=g,this.#D()},undo:()=>{this.thickness=v,this.#D()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#p(g){const v=this.color;this.parent.addCommands({cmd:()=>{this.color=g,this.#m()},undo:()=>{this.color=v,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#_(g){g/=100;const v=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=g,this.#m()},undo:()=>{this.opacity=v,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#y(),this.#C()),this.isAttachedToDOM||(this.parent.add(this),this.#w()),this.#D())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#l.disconnect(),this.#l=null,super.remove())}enableEditMode(){this.#i||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#a),this.canvas.addEventListener("pointerup",this.#c))}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#a),this.canvas.removeEventListener("pointerup",this.#c))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#S(){const{width:g,height:v,rotation:p}=this.parent.viewport;switch(p){case 90:return[0,g,g,v];case 180:return[g,v,g,v];case 270:return[v,0,g,v];default:return[0,0,g,v]}}#b(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,a.opacityToHex)(this.opacity)}`}#d(g,v){this.isEditing=!0,this.#h||(this.#h=!0,this.#w(),this.thickness||=u._defaultThickness,this.color||=u._defaultColor||i.AnnotationEditor._defaultLineColor,this.opacity??=u._defaultOpacity),this.currentPath.push([g,v]),this.#u=null,this.#b(),this.ctx.beginPath(),this.ctx.moveTo(g,v),this.#f=()=>{this.#f&&(this.#u&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#m(),this.ctx.lineTo(...this.#u),this.#u=null,this.ctx.stroke()),window.requestAnimationFrame(this.#f))},window.requestAnimationFrame(this.#f)}#M(g,v){const[p,C]=this.currentPath.at(-1);g===p&&v===C||(this.currentPath.push([g,v]),this.#u=[g,v])}#A(g,v){this.ctx.closePath(),this.#f=null,g=Math.min(Math.max(g,0),this.canvas.width),v=Math.min(Math.max(v,0),this.canvas.height);const[p,C]=this.currentPath.at(-1);let b;if((g!==p||v!==C)&&this.currentPath.push([g,v]),1!==this.currentPath.length)b=(0,d.fitCurve)(this.currentPath,30,null);else{const S=[g,v];b=[[S,S.slice(),S.slice(),S]]}const _=u.#k(b);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(b),this.bezierPath2D.push(_),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#y(),this.#C()),this.#D())},mustExec:!0})}#m(){if(this.isEmpty())return void this.#T();this.#b();const{canvas:g,ctx:v}=this;v.setTransform(1,0,0,1,0,0),v.clearRect(0,0,g.width,g.height),this.#T();for(const p of this.bezierPath2D)v.stroke(p)}commit(){this.#i||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#i=!0,this.div.classList.add("disabled"),this.#D(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(g){super.focusin(g),this.enableEditMode()}canvasPointerdown(g){0!==g.button||!this.isInEditMode()||this.#i||(this.setInForeground(),"mouse"!==g.type&&this.div.focus(),g.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#o),this.canvas.addEventListener("pointermove",this.#r),this.#d(g.offsetX,g.offsetY))}canvasPointermove(g){g.stopPropagation(),this.#M(g.offsetX,g.offsetY)}canvasPointerup(g){0===g.button&&this.isInEditMode()&&0!==this.currentPath.length&&(g.stopPropagation(),this.#E(g),this.setInBackground())}canvasPointerleave(g){this.#E(g),this.setInBackground()}#E(g){this.#A(g.offsetX,g.offsetY),this.canvas.removeEventListener("pointerleave",this.#o),this.canvas.removeEventListener("pointermove",this.#r),this.parent.addToAnnotationStorage(this)}#y(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",u._l10nPromise.get("editor_ink_canvas_aria_label").then(g=>this.canvas?.setAttribute("aria-label",g)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#C(){this.#l=new ResizeObserver(g=>{const v=g[0].contentRect;v.width&&v.height&&this.setDimensions(v.width,v.height)}),this.#l.observe(this.div)}render(){if(this.div)return this.div;let g,v;this.width&&(g=this.x,v=this.y),super.render(),u._l10nPromise.get("editor_ink_aria_label").then(f=>this.div?.setAttribute("aria-label",f));const[p,C,b,_]=this.#S();if(this.setAt(p,C,0,0),this.setDims(b,_),this.#y(),this.width){const[f,y]=this.parent.viewportBaseDimensions;this.setAt(g*f,v*y,this.width*f,this.height*y),this.#h=!0,this.#w(),this.setDims(this.width*f,this.height*y),this.#m(),this.#O(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#C(),this.div}#w(){if(!this.#h)return;const[g,v]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*g),this.canvas.height=Math.ceil(this.height*v),this.#T()}setDimensions(g,v){const p=Math.round(g),C=Math.round(v);if(this.#s===p&&this.#g===C)return;this.#s=p,this.#g=C,this.canvas.style.visibility="hidden",this.#e&&Math.abs(this.#e-g/v)>.01&&(v=Math.ceil(g/this.#e),this.setDims(g,v));const[b,_]=this.parent.viewportBaseDimensions;this.width=g/b,this.height=v/_,this.#i&&this.#P(g,v),this.#w(),this.#m(),this.canvas.style.visibility="visible"}#P(g,v){const p=this.#I(),C=(g-p)/this.#n,b=(v-p)/this.#t;this.scaleFactor=Math.min(C,b)}#T(){const g=this.#I()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+g,this.translationY*this.scaleFactor+g)}static#k(g){const v=new Path2D;for(let p=0,C=g.length;p=1?(g.minHeight="16px",g.minWidth=`${Math.round(this.#e*c)}px`):(g.minWidth="16px",g.minHeight=`${Math.round(c/this.#e)}px`)}static deserialize(g,v){const p=super.deserialize(g,v);p.thickness=g.thickness,p.color=n.Util.makeHexColor(...g.color),p.opacity=g.opacity;const[C,b]=v.pageDimensions,_=p.width*C,f=p.height*b,y=v.scaleFactor,S=g.thickness/2;p.#e=_/f,p.#i=!0,p.#s=Math.round(_),p.#g=Math.round(f);for(const{bezier:w}of g.paths){const A=[];p.paths.push(A);let O=y*(w[0]-S),F=y*(f-w[1]-S);for(let T=2,I=w.length;T{Object.defineProperty(h,"__esModule",{value:!0}),h.fitCurve=void 0;const n=o(26);h.fitCurve=n},ve=>{function o(C,b,_,f,y){var M,w,A,O,F,j,T,I,k,N,x,H,G;if(2===C.length)return H=v.vectorLen(v.subtract(C[0],C[1]))/3,[M=[C[0],v.addArrays(C[0],v.mulItems(b,H)),v.addArrays(C[1],v.mulItems(_,H)),C[1]]];if(w=function c(C){var _,f,y,b=[];return C.forEach((S,M)=>{_=M?f+v.vectorLen(v.subtract(S,y)):0,b.push(_),f=_,y=S}),b=b.map(S=>S/f)}(C),[M,O,j]=n(C,w,w,b,_,y),0===O||O.9999&&te<1.0001)break}F=O,T=j}return x=[],(I=v.subtract(C[j-1],C[j+1])).every(te=>0===te)&&(I=v.subtract(C[j-1],C[j]),[I[0],I[1]]=[-I[1],I[0]]),k=v.normalize(I),N=v.mulItems(k,-1),(x=x.concat(o(C.slice(0,j+1),b,k,f,y))).concat(o(C.slice(j),N,_,f,y))}function n(C,b,_,f,y,S){var M,w,A;return M=function i(C,b,_,f){var y,S,M,w,A,O,T,I,k,N,x,H,G,te,ce,se=C[0],K=C[C.length-1];for(y=[se,null,null,K],S=v.zeros_Xx2x2(b.length),x=0,H=b.length;xy&&(y=f,S=w);return[y,S]}(C,M,b),S&&S({bez:M,points:C,params:b,maxErr:w,maxPoint:A}),[M,w,A]}function d(C,b,_){return _.map((f,y)=>function a(C,b,_){var f=v.subtract(p.q(C,_),b),y=p.qprime(C,_),S=v.mulMatrix(f,y),M=v.sum(v.squareItems(y))+2*v.mulMatrix(f,p.qprimeprime(C,_));return 0===M?_:_-S/M}(C,b[y],f))}var u=function(C,b){for(var _,f=[0],y=C[0],S=0,M=1;M<=b;M++)_=p.q(C,M/b),S+=v.vectorLen(v.subtract(_,y)),f.push(S),y=_;return f.map(w=>w/S)};function l(C,b,_,f){if(b<0)return 0;if(b>1)return 1;for(var S,w,A,O=1;O<=f;O++)if(b<=_[O]){A=(b-(S=_[O-1]))/(_[O]-S)*(O/f-(w=(O-1)/f))+w;break}return A}function g(C,b){return v.normalize(v.subtract(C,b))}class v{static zeros_Xx2x2(b){for(var _=[];b--;)_.push([0,0]);return _}static mulItems(b,_){return b.map(f=>f*_)}static mulMatrix(b,_){return b.reduce((f,y,S)=>f+y*_[S],0)}static subtract(b,_){return b.map((f,y)=>f-_[y])}static addArrays(b,_){return b.map((f,y)=>f+_[y])}static addItems(b,_){return b.map(f=>f+_)}static sum(b){return b.reduce((_,f)=>_+f)}static dot(b,_){return v.mulMatrix(b,_)}static vectorLen(b){return Math.hypot(...b)}static divItems(b,_){return b.map(f=>f/_)}static squareItems(b){return b.map(_=>_*_)}static normalize(b){return this.divItems(b,this.vectorLen(b))}}class p{static q(b,_){var f=1-_,y=v.mulItems(b[0],f*f*f),S=v.mulItems(b[1],3*f*f*_),M=v.mulItems(b[2],3*f*_*_),w=v.mulItems(b[3],_*_*_);return v.addArrays(v.addArrays(y,S),v.addArrays(M,w))}static qprime(b,_){var f=1-_,y=v.mulItems(v.subtract(b[1],b[0]),3*f*f),S=v.mulItems(v.subtract(b[2],b[1]),6*f*_),M=v.mulItems(v.subtract(b[3],b[2]),3*_*_);return v.addArrays(v.addArrays(y,S),M)}static qprimeprime(b,_){return v.addArrays(v.mulItems(v.addArrays(v.subtract(b[2],v.mulItems(b[1],2)),b[0]),6*(1-_)),v.mulItems(v.addArrays(v.subtract(b[3],v.mulItems(b[2],2)),b[1]),6*_))}}ve.exports=function h(C,b,_){if(!Array.isArray(C))throw new TypeError("First argument should be an array");if(C.forEach(M=>{if(!Array.isArray(M)||M.some(w=>"number"!=typeof w)||M.length!==C[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(C=C.filter((M,w)=>0===w||!M.every((A,O)=>A===C[w-1][O]))).length<2)return[];const f=C.length,y=g(C[1],C[0]),S=g(C[f-2],C[f-1]);return o(C,y,S,b,_)},ve.exports.fitCubic=o,ve.exports.createTangent=g},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationLayer=void 0;var n=o(1),i=o(8),d=o(5),a=o(28),c=o(29);const e=1e3,l=new WeakSet;function g(X){return{width:X[2]-X[0],height:X[3]-X[1]}}class v{static create(W){switch(W.data.annotationType){case n.AnnotationType.LINK:return new C(W);case n.AnnotationType.TEXT:return new b(W);case n.AnnotationType.WIDGET:switch(W.data.fieldType){case"Tx":return new f(W);case"Btn":return W.data.radioButton?new S(W):W.data.checkBox?new y(W):new M(W);case"Ch":return new w(W)}return new _(W);case n.AnnotationType.POPUP:return new A(W);case n.AnnotationType.FREETEXT:return new F(W);case n.AnnotationType.LINE:return new j(W);case n.AnnotationType.SQUARE:return new T(W);case n.AnnotationType.CIRCLE:return new I(W);case n.AnnotationType.POLYLINE:return new k(W);case n.AnnotationType.CARET:return new x(W);case n.AnnotationType.INK:return new H(W);case n.AnnotationType.POLYGON:return new N(W);case n.AnnotationType.HIGHLIGHT:return new G(W);case n.AnnotationType.UNDERLINE:return new te(W);case n.AnnotationType.SQUIGGLY:return new ce(W);case n.AnnotationType.STRIKEOUT:return new se(W);case n.AnnotationType.STAMP:return new K(W);case n.AnnotationType.FILEATTACHMENT:return new Z(W);default:return new p(W)}}}class p{constructor(W,{isRenderable:Y=!1,ignoreBorder:q=!1,createQuadrilaterals:he=!1}={}){this.isRenderable=Y,this.data=W.data,this.layer=W.layer,this.page=W.page,this.viewport=W.viewport,this.linkService=W.linkService,this.downloadManager=W.downloadManager,this.imageResourcesPath=W.imageResourcesPath,this.renderForms=W.renderForms,this.svgFactory=W.svgFactory,this.annotationStorage=W.annotationStorage,this.enableScripting=W.enableScripting,this.hasJSActions=W.hasJSActions,this._fieldObjects=W.fieldObjects,this._mouseState=W.mouseState,Y&&(this.container=this._createContainer(q)),he&&(this.quadrilaterals=this._createQuadrilaterals(q))}_createContainer(W=!1){const Y=this.data,q=this.page,he=this.viewport,_e=document.createElement("section"),{width:Oe,height:Re}=g(Y.rect),[Ae,ge,Ne,it]=he.viewBox,qe=Ne-Ae,et=it-ge;_e.setAttribute("data-annotation-id",Y.id);const De=n.Util.normalizeRect([Y.rect[0],q.view[3]-Y.rect[1]+q.view[1],Y.rect[2],q.view[3]-Y.rect[3]+q.view[1]]);if(!W&&Y.borderStyle.width>0){_e.style.borderWidth=`${Y.borderStyle.width}px`;const Pe=Y.borderStyle.horizontalCornerRadius,bt=Y.borderStyle.verticalCornerRadius;switch(Pe>0||bt>0?_e.style.borderRadius=`calc(${Pe}px * var(--scale-factor)) / calc(${bt}px * var(--scale-factor))`:this instanceof S&&(_e.style.borderRadius=`calc(${Oe}px * var(--scale-factor)) / calc(${Re}px * var(--scale-factor))`),Y.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:_e.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:_e.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:_e.style.borderBottomStyle="solid"}const Qe=Y.borderColor||null;Qe?_e.style.borderColor=n.Util.makeHexColor(0|Qe[0],0|Qe[1],0|Qe[2]):_e.style.borderWidth=0}_e.style.left=100*(De[0]-Ae)/qe+"%",_e.style.top=100*(De[1]-ge)/et+"%";const{rotation:je}=Y;return Y.hasOwnCanvas||0===je?(_e.style.width=100*Oe/qe+"%",_e.style.height=100*Re/et+"%"):this.setRotation(je,_e),_e}setRotation(W,Y=this.container){const[q,he,_e,Oe]=this.viewport.viewBox,Re=_e-q,Ae=Oe-he,{width:ge,height:Ne}=g(this.data.rect);let it,qe;W%180==0?(it=100*ge/Re,qe=100*Ne/Ae):(it=100*Ne/Re,qe=100*ge/Ae),Y.style.width=`${it}%`,Y.style.height=`${qe}%`,Y.setAttribute("data-main-rotation",(360-W)%360)}get _commonActions(){const W=(Y,q,he)=>{const _e=he.detail[Y];he.target.style[q]=a.ColorConverters[`${_e[0]}_HTML`](_e.slice(1))};return(0,n.shadow)(this,"_commonActions",{display:Y=>{const q=Y.detail.display%2==1;this.container.style.visibility=q?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:q,print:0===Y.detail.display||3===Y.detail.display})},print:Y=>{this.annotationStorage.setValue(this.data.id,{print:Y.detail.print})},hidden:Y=>{this.container.style.visibility=Y.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:Y.detail.hidden})},focus:Y=>{setTimeout(()=>Y.target.focus({preventScroll:!1}),0)},userName:Y=>{Y.target.title=Y.detail.userName},readonly:Y=>{Y.detail.readonly?Y.target.setAttribute("readonly",""):Y.target.removeAttribute("readonly")},required:Y=>{this._setRequired(Y.target,Y.detail.required)},bgColor:Y=>{W("bgColor","backgroundColor",Y)},fillColor:Y=>{W("fillColor","backgroundColor",Y)},fgColor:Y=>{W("fgColor","color",Y)},textColor:Y=>{W("textColor","color",Y)},borderColor:Y=>{W("borderColor","borderColor",Y)},strokeColor:Y=>{W("strokeColor","borderColor",Y)},rotation:Y=>{const q=Y.detail.rotation;this.setRotation(q),this.annotationStorage.setValue(this.data.id,{rotation:q})}})}_dispatchEventFromSandbox(W,Y){const q=this._commonActions;for(const he of Object.keys(Y.detail)){const _e=W[he]||q[he];_e&&_e(Y)}}_setDefaultPropertiesFromJS(W){if(!this.enableScripting)return;const Y=this.annotationStorage.getRawValue(this.data.id);if(!Y)return;const q=this._commonActions;for(const[he,_e]of Object.entries(Y)){const Oe=q[he];Oe&&(Oe({detail:{[he]:_e},target:W}),delete Y[he])}}_createQuadrilaterals(W=!1){if(!this.data.quadPoints)return null;const Y=[],q=this.data.rect;for(const he of this.data.quadPoints)this.data.rect=[he[2].x,he[2].y,he[1].x,he[1].y],Y.push(this._createContainer(W));return this.data.rect=q,Y}_createPopup(W,Y){let q=this.container;this.quadrilaterals&&(W=W||this.quadrilaterals,q=this.quadrilaterals[0]),W||((W=document.createElement("div")).className="popupTriggerArea",q.append(W));const _e=new O({container:q,trigger:W,color:Y.color,titleObj:Y.titleObj,modificationDate:Y.modificationDate,contentsObj:Y.contentsObj,richText:Y.richText,hideWrapper:!0}).render();_e.style.left="100%",q.append(_e)}_renderQuadrilaterals(W){for(const Y of this.quadrilaterals)Y.className=W;return this.quadrilaterals}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(W,Y=null){const q=[];if(this._fieldObjects){const he=this._fieldObjects[W];if(he)for(const{page:_e,id:Oe,exportValues:Re}of he){if(-1===_e||Oe===Y)continue;const Ae="string"==typeof Re?Re:null,ge=document.querySelector(`[data-element-id="${Oe}"]`);!ge||l.has(ge)?q.push({id:Oe,exportValue:Ae,domElement:ge}):(0,n.warn)(`_getElementsByName - element not allowed: ${Oe}`)}return q}for(const he of document.getElementsByName(W)){const{id:_e,exportValue:Oe}=he;_e!==Y&&l.has(he)&&q.push({id:_e,exportValue:Oe,domElement:he})}return q}static get platform(){const W=typeof navigator<"u"?navigator.platform:"";return(0,n.shadow)(this,"platform",{isWin:W.includes("Win"),isMac:W.includes("Mac")})}}class C extends p{constructor(W,Y=null){super(W,{isRenderable:!0,ignoreBorder:!!Y?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=W.data.isTooltipOnly}render(){const{data:W,linkService:Y}=this,q=document.createElement("a");q.setAttribute("data-element-id",W.id);let he=!1;return W.url?(Y.addLinkAttributes(q,W.url,W.newWindow),he=!0):W.action?(this._bindNamedAction(q,W.action),he=!0):W.dest?(this._bindLink(q,W.dest),he=!0):(W.actions&&(W.actions.Action||W.actions["Mouse Up"]||W.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(q,W),he=!0),W.resetForm?(this._bindResetFormAction(q,W.resetForm),he=!0):this.isTooltipOnly&&!he&&(this._bindLink(q,""),he=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((_e,Oe)=>{const Re=0===Oe?q:q.cloneNode();return _e.append(Re),_e}):(this.container.className="linkAnnotation",he&&this.container.append(q),this.container)}_bindLink(W,Y){W.href=this.linkService.getDestinationHash(Y),W.onclick=()=>(Y&&this.linkService.goToDestination(Y),!1),(Y||""===Y)&&(W.className="internalLink")}_bindNamedAction(W,Y){W.href=this.linkService.getAnchorUrl(""),W.onclick=()=>(this.linkService.executeNamedAction(Y),!1),W.className="internalLink"}_bindJSAction(W,Y){W.href=this.linkService.getAnchorUrl("");const q=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const he of Object.keys(Y.actions)){const _e=q.get(he);_e&&(W[_e]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y.id,name:he}}),!1))}W.onclick||(W.onclick=()=>!1),W.className="internalLink"}_bindResetFormAction(W,Y){const q=W.onclick;if(q||(W.href=this.linkService.getAnchorUrl("")),W.className="internalLink",!this._fieldObjects)return(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(q||(W.onclick=()=>!1));W.onclick=()=>{q&&q();const{fields:he,refs:_e,include:Oe}=Y,Re=[];if(0!==he.length||0!==_e.length){const Ne=new Set(_e);for(const it of he){const qe=this._fieldObjects[it]||[];for(const{id:et}of qe)Ne.add(et)}for(const it of Object.values(this._fieldObjects))for(const qe of it)Ne.has(qe.id)===Oe&&Re.push(qe)}else for(const Ne of Object.values(this._fieldObjects))Re.push(...Ne);const Ae=this.annotationStorage,ge=[];for(const Ne of Re){const{id:it}=Ne;switch(ge.push(it),Ne.type){case"text":case"combobox":case"listbox":Ae.setValue(it,{value:Ne.defaultValue||""});break;case"checkbox":case"radiobutton":Ae.setValue(it,{value:Ne.defaultValue===Ne.exportValues});break;default:continue}const qe=document.querySelector(`[data-element-id="${it}"]`);qe&&(l.has(qe)?qe.dispatchEvent(new Event("resetform")):(0,n.warn)(`_bindResetFormAction - element not allowed: ${it}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:ge,name:"ResetForm"}}),!1}}}class b extends p{constructor(W){super(W,{isRenderable:!!(W.data.hasPopup||W.data.titleObj?.str||W.data.contentsObj?.str||W.data.richText?.str)})}render(){this.container.className="textAnnotation";const W=document.createElement("img");return W.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",W.alt="[{{type}} Annotation]",W.dataset.l10nId="text_annotation_type",W.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(W,this.data),this.container.append(W),this.container}}class _ extends p{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(W){const{isWin:Y,isMac:q}=p.platform;return Y&&W.ctrlKey||q&&W.metaKey}_setEventListener(W,Y,q,he){Y.includes("mouse")?W.addEventListener(Y,_e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:q,value:he(_e),shift:_e.shiftKey,modifier:this._getKeyModifier(_e)}})}):W.addEventListener(Y,_e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:q,value:he(_e)}})})}_setEventListeners(W,Y,q){for(const[he,_e]of Y)("Action"===_e||this.data.actions?.[_e])&&this._setEventListener(W,he,_e,q)}_setBackgroundColor(W){const Y=this.data.backgroundColor||null;W.style.backgroundColor=null===Y?"transparent":n.Util.makeHexColor(Y[0],Y[1],Y[2])}_setTextStyle(W){const{fontColor:q}=this.data.defaultAppearanceData,he=this.data.defaultAppearanceData.fontSize||9,_e=W.style;let Oe;if(this.data.multiLine){const Re=Math.abs(this.data.rect[3]-this.data.rect[1]),Ae=Math.round(Re/(n.LINE_FACTOR*he))||1;Oe=Math.min(he,Math.round(Re/Ae/n.LINE_FACTOR))}else{const Re=Math.abs(this.data.rect[3]-this.data.rect[1]);Oe=Math.min(he,Math.round(Re/n.LINE_FACTOR))}_e.fontSize=`calc(${Oe}px * var(--scale-factor))`,_e.color=n.Util.makeHexColor(q[0],q[1],q[2]),null!==this.data.textAlignment&&(_e.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(W,Y){Y?W.setAttribute("required",!0):W.removeAttribute("required"),W.setAttribute("aria-required",Y)}}class f extends _{constructor(W){super(W,{isRenderable:W.renderForms||!W.data.hasAppearance&&!!W.data.fieldValue})}setPropertyOnSiblings(W,Y,q,he){const _e=this.annotationStorage;for(const Oe of this._getElementsByName(W.name,W.id))Oe.domElement&&(Oe.domElement[Y]=q),_e.setValue(Oe.id,{[he]:q})}render(){const W=this.annotationStorage,Y=this.data.id;this.container.className="textWidgetAnnotation";let q=null;if(this.renderForms){const he=W.getValue(Y,{value:this.data.fieldValue});let _e=he.formattedValue||he.value||"";const Oe=W.getValue(Y,{charLimit:this.data.maxLen}).charLimit;Oe&&_e.length>Oe&&(_e=_e.slice(0,Oe));const Re={userValue:_e,formattedValue:null,valueOnFocus:""};this.data.multiLine?(q=document.createElement("textarea"),q.textContent=_e,this.data.doNotScroll&&(q.style.overflowY="hidden")):(q=document.createElement("input"),q.type="text",q.setAttribute("value",_e),this.data.doNotScroll&&(q.style.overflowX="hidden")),l.add(q),q.setAttribute("data-element-id",Y),q.disabled=this.data.readOnly,q.name=this.data.fieldName,q.tabIndex=e,this._setRequired(q,this.data.required),Oe&&(q.maxLength=Oe),q.addEventListener("input",ge=>{W.setValue(Y,{value:ge.target.value}),this.setPropertyOnSiblings(q,"value",ge.target.value,"value")}),q.addEventListener("resetform",ge=>{q.value=Re.userValue=this.data.defaultFieldValue??"",Re.formattedValue=null});let Ae=ge=>{const{formattedValue:Ne}=Re;null!=Ne&&(ge.target.value=Ne),ge.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){q.addEventListener("focus",Ne=>{Re.userValue&&(Ne.target.value=Re.userValue),Re.valueOnFocus=Ne.target.value}),q.addEventListener("updatefromsandbox",Ne=>{this._dispatchEventFromSandbox({value(qe){Re.userValue=qe.detail.value??"",W.setValue(Y,{value:Re.userValue.toString()}),qe.target.value=Re.userValue},formattedValue(qe){const{formattedValue:et}=qe.detail;Re.formattedValue=et,null!=et&&qe.target!==document.activeElement&&(qe.target.value=et),W.setValue(Y,{formattedValue:et})},selRange(qe){qe.target.setSelectionRange(...qe.detail.selRange)},charLimit:qe=>{const{charLimit:et}=qe.detail,{target:De}=qe;if(0===et)return void De.removeAttribute("maxLength");De.setAttribute("maxLength",et);let je=Re.userValue;!je||je.length<=et||(je=je.slice(0,et),De.value=Re.userValue=je,W.setValue(Y,{value:je}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:je,willCommit:!0,commitKey:1,selStart:De.selectionStart,selEnd:De.selectionEnd}}))}},Ne)}),q.addEventListener("keydown",Ne=>{let it=-1;if("Escape"===Ne.key?it=0:"Enter"===Ne.key?it=2:"Tab"===Ne.key&&(it=3),-1===it)return;const{value:qe}=Ne.target;Re.valueOnFocus!==qe&&(Re.userValue=qe,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:qe,willCommit:!0,commitKey:it,selStart:Ne.target.selectionStart,selEnd:Ne.target.selectionEnd}}))});const ge=Ae;Ae=null,q.addEventListener("blur",Ne=>{const{value:it}=Ne.target;Re.userValue=it,this._mouseState.isDown&&Re.valueOnFocus!==it&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:it,willCommit:!0,commitKey:1,selStart:Ne.target.selectionStart,selEnd:Ne.target.selectionEnd}}),ge(Ne)}),this.data.actions?.Keystroke&&q.addEventListener("beforeinput",Ne=>{const{data:it,target:qe}=Ne,{value:et,selectionStart:De,selectionEnd:je}=qe;let Pe=De,bt=je;switch(Ne.inputType){case"deleteWordBackward":{const Qe=et.substring(0,De).match(/\w*[^\w]*$/);Qe&&(Pe-=Qe[0].length);break}case"deleteWordForward":{const Qe=et.substring(De).match(/^[^\w]*\w*/);Qe&&(bt+=Qe[0].length);break}case"deleteContentBackward":De===je&&(Pe-=1);break;case"deleteContentForward":De===je&&(bt+=1)}Ne.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:et,change:it||"",willCommit:!1,selStart:Pe,selEnd:bt}})}),this._setEventListeners(q,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ne=>Ne.target.value)}if(Ae&&q.addEventListener("blur",Ae),this.data.comb){const Ne=(this.data.rect[2]-this.data.rect[0])/Oe;q.classList.add("comb"),q.style.letterSpacing=`calc(${Ne}px * var(--scale-factor) - 1ch)`}}else q=document.createElement("div"),q.textContent=this.data.fieldValue,q.style.verticalAlign="middle",q.style.display="table-cell";return this._setTextStyle(q),this._setBackgroundColor(q),this._setDefaultPropertiesFromJS(q),this.container.append(q),this.container}}class y extends _{constructor(W){super(W,{isRenderable:W.renderForms})}render(){const W=this.annotationStorage,Y=this.data,q=Y.id;let he=W.getValue(q,{value:Y.exportValue===Y.fieldValue}).value;"string"==typeof he&&(he="Off"!==he,W.setValue(q,{value:he})),this.container.className="buttonWidgetAnnotation checkBox";const _e=document.createElement("input");return l.add(_e),_e.setAttribute("data-element-id",q),_e.disabled=Y.readOnly,this._setRequired(_e,this.data.required),_e.type="checkbox",_e.name=Y.fieldName,he&&_e.setAttribute("checked",!0),_e.setAttribute("exportValue",Y.exportValue),_e.tabIndex=e,_e.addEventListener("change",Oe=>{const{name:Re,checked:Ae}=Oe.target;for(const ge of this._getElementsByName(Re,q)){const Ne=Ae&&ge.exportValue===Y.exportValue;ge.domElement&&(ge.domElement.checked=Ne),W.setValue(ge.id,{value:Ne})}W.setValue(q,{value:Ae})}),_e.addEventListener("resetform",Oe=>{Oe.target.checked=(Y.defaultFieldValue||"Off")===Y.exportValue}),this.enableScripting&&this.hasJSActions&&(_e.addEventListener("updatefromsandbox",Oe=>{this._dispatchEventFromSandbox({value(Ae){Ae.target.checked="Off"!==Ae.detail.value,W.setValue(q,{value:Ae.target.checked})}},Oe)}),this._setEventListeners(_e,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Oe=>Oe.target.checked)),this._setBackgroundColor(_e),this._setDefaultPropertiesFromJS(_e),this.container.append(_e),this.container}}class S extends _{constructor(W){super(W,{isRenderable:W.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const W=this.annotationStorage,Y=this.data,q=Y.id;let he=W.getValue(q,{value:Y.fieldValue===Y.buttonValue}).value;"string"==typeof he&&(he=he!==Y.buttonValue,W.setValue(q,{value:he}));const _e=document.createElement("input");if(l.add(_e),_e.setAttribute("data-element-id",q),_e.disabled=Y.readOnly,this._setRequired(_e,this.data.required),_e.type="radio",_e.name=Y.fieldName,he&&_e.setAttribute("checked",!0),_e.tabIndex=e,_e.addEventListener("change",Oe=>{const{name:Re,checked:Ae}=Oe.target;for(const ge of this._getElementsByName(Re,q))W.setValue(ge.id,{value:!1});W.setValue(q,{value:Ae})}),_e.addEventListener("resetform",Oe=>{const Re=Y.defaultFieldValue;Oe.target.checked=null!=Re&&Re===Y.buttonValue}),this.enableScripting&&this.hasJSActions){const Oe=Y.buttonValue;_e.addEventListener("updatefromsandbox",Re=>{this._dispatchEventFromSandbox({value:ge=>{const Ne=Oe===ge.detail.value;for(const it of this._getElementsByName(ge.target.name)){const qe=Ne&&it.id===q;it.domElement&&(it.domElement.checked=qe),W.setValue(it.id,{value:qe})}}},Re)}),this._setEventListeners(_e,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Re=>Re.target.checked)}return this._setBackgroundColor(_e),this._setDefaultPropertiesFromJS(_e),this.container.append(_e),this.container}}class M extends C{constructor(W){super(W,{ignoreBorder:W.data.hasAppearance})}render(){const W=super.render();W.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(W.title=this.data.alternativeText);const Y=W.lastChild;return this.enableScripting&&this.hasJSActions&&Y&&(this._setDefaultPropertiesFromJS(Y),Y.addEventListener("updatefromsandbox",q=>{this._dispatchEventFromSandbox({},q)})),W}}class w extends _{constructor(W){super(W,{isRenderable:W.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const W=this.annotationStorage,Y=this.data.id,q=W.getValue(Y,{value:this.data.fieldValue}),he=document.createElement("select");l.add(he),he.setAttribute("data-element-id",Y),he.disabled=this.data.readOnly,this._setRequired(he,this.data.required),he.name=this.data.fieldName,he.tabIndex=e;let _e=this.data.combo&&this.data.options.length>0;this.data.combo||(he.size=this.data.options.length,this.data.multiSelect&&(he.multiple=!0)),he.addEventListener("resetform",ge=>{const Ne=this.data.defaultFieldValue;for(const it of he.options)it.selected=it.value===Ne});for(const ge of this.data.options){const Ne=document.createElement("option");Ne.textContent=ge.displayValue,Ne.value=ge.exportValue,q.value.includes(ge.exportValue)&&(Ne.setAttribute("selected",!0),_e=!1),he.append(Ne)}let Oe=null;if(_e){const ge=document.createElement("option");ge.value=" ",ge.setAttribute("hidden",!0),ge.setAttribute("selected",!0),he.prepend(ge),Oe=()=>{ge.remove(),he.removeEventListener("input",Oe),Oe=null},he.addEventListener("input",Oe)}const Re=(ge,Ne)=>{const it=Ne?"value":"textContent",qe=ge.target.options;return ge.target.multiple?Array.prototype.filter.call(qe,et=>et.selected).map(et=>et[it]):-1===qe.selectedIndex?null:qe[qe.selectedIndex][it]},Ae=ge=>Array.prototype.map.call(ge.target.options,it=>({displayValue:it.textContent,exportValue:it.value}));return this.enableScripting&&this.hasJSActions?(he.addEventListener("updatefromsandbox",ge=>{this._dispatchEventFromSandbox({value(it){Oe?.();const qe=it.detail.value,et=new Set(Array.isArray(qe)?qe:[qe]);for(const De of he.options)De.selected=et.has(De.value);W.setValue(Y,{value:Re(it,!0)})},multipleSelection(it){he.multiple=!0},remove(it){const qe=he.options,et=it.detail.remove;qe[et].selected=!1,he.remove(et),qe.length>0&&-1===Array.prototype.findIndex.call(qe,je=>je.selected)&&(qe[0].selected=!0),W.setValue(Y,{value:Re(it,!0),items:Ae(it)})},clear(it){for(;0!==he.length;)he.remove(0);W.setValue(Y,{value:null,items:[]})},insert(it){const{index:qe,displayValue:et,exportValue:De}=it.detail.insert,je=he.children[qe],Pe=document.createElement("option");Pe.textContent=et,Pe.value=De,je?je.before(Pe):he.append(Pe),W.setValue(Y,{value:Re(it,!0),items:Ae(it)})},items(it){const{items:qe}=it.detail;for(;0!==he.length;)he.remove(0);for(const et of qe){const{displayValue:De,exportValue:je}=et,Pe=document.createElement("option");Pe.textContent=De,Pe.value=je,he.append(Pe)}he.options.length>0&&(he.options[0].selected=!0),W.setValue(Y,{value:Re(it,!0),items:Ae(it)})},indices(it){const qe=new Set(it.detail.indices);for(const et of it.target.options)et.selected=qe.has(et.index);W.setValue(Y,{value:Re(it,!0)})},editable(it){it.target.disabled=!it.detail.editable}},ge)}),he.addEventListener("input",ge=>{const Ne=Re(ge,!0),it=Re(ge,!1);W.setValue(Y,{value:Ne}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:it,changeEx:Ne,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(he,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],ge=>ge.target.checked)):he.addEventListener("input",function(ge){W.setValue(Y,{value:Re(ge,!0)})}),this.data.combo&&this._setTextStyle(he),this._setBackgroundColor(he),this._setDefaultPropertiesFromJS(he),this.container.append(he),this.container}}class A extends p{constructor(W){super(W,{isRenderable:!!(W.data.titleObj?.str||W.data.contentsObj?.str||W.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const q=this.layer.querySelectorAll(`[data-annotation-id="${this.data.parentId}"]`);if(0===q.length)return this.container;const he=new O({container:this.container,trigger:Array.from(q),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),_e=this.page,Oe=n.Util.normalizeRect([this.data.parentRect[0],_e.view[3]-this.data.parentRect[1]+_e.view[1],this.data.parentRect[2],_e.view[3]-this.data.parentRect[3]+_e.view[1]]),Re=Oe[0]+this.data.parentRect[2]-this.data.parentRect[0],Ae=Oe[1],[ge,Ne,it,qe]=this.viewport.viewBox,De=qe-Ne;return this.container.style.left=100*(Re-ge)/(it-ge)+"%",this.container.style.top=100*(Ae-Ne)/De+"%",this.container.append(he.render()),this.container}}class O{constructor(W){this.container=W.container,this.trigger=W.trigger,this.color=W.color,this.titleObj=W.titleObj,this.modificationDate=W.modificationDate,this.contentsObj=W.contentsObj,this.richText=W.richText,this.hideWrapper=W.hideWrapper||!1,this.pinned=!1}render(){const Y=document.createElement("div");Y.className="popupWrapper",this.hideElement=this.hideWrapper?Y:this.container,this.hideElement.hidden=!0;const q=document.createElement("div");q.className="popup";const he=this.color;he&&(q.style.backgroundColor=n.Util.makeHexColor(0|.7*(255-he[0])+he[0],0|.7*(255-he[1])+he[1],0|.7*(255-he[2])+he[2]));const _e=document.createElement("h1");_e.dir=this.titleObj.dir,_e.textContent=this.titleObj.str,q.append(_e);const Oe=i.PDFDateString.toDateObject(this.modificationDate);if(Oe){const Re=document.createElement("span");Re.className="popupDate",Re.textContent="{{date}}, {{time}}",Re.dataset.l10nId="annotation_date_string",Re.dataset.l10nArgs=JSON.stringify({date:Oe.toLocaleDateString(),time:Oe.toLocaleTimeString()}),q.append(Re)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const Re=this._formatContents(this.contentsObj);q.append(Re)}else c.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:q}),q.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Re of this.trigger)Re.addEventListener("click",this._toggle.bind(this)),Re.addEventListener("mouseover",this._show.bind(this,!1)),Re.addEventListener("mouseout",this._hide.bind(this,!1));return q.addEventListener("click",this._hide.bind(this,!0)),Y.append(q),Y}_formatContents({str:W,dir:Y}){const q=document.createElement("p");q.className="popupContent",q.dir=Y;const he=W.split(/(?:\r\n?|\n)/);for(let _e=0,Oe=he.length;_e{function o(i){return Math.floor(255*Math.max(0,Math.min(1,i))).toString(16).padStart(2,"0")}Object.defineProperty(h,"__esModule",{value:!0}),h.ColorConverters=void 0,h.ColorConverters=class n{static CMYK_G([d,a,c,e]){return["G",1-Math.min(1,.3*d+.59*c+.11*a+e)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_HTML([d]){const a=o(d);return`#${a}${a}${a}`}static RGB_G([d,a,c]){return["G",.3*d+.59*a+.11*c]}static RGB_HTML([d,a,c]){return`#${o(d)}${o(a)}${o(c)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([d,a,c,e]){return["RGB",1-Math.min(1,d+e),1-Math.min(1,c+e),1-Math.min(1,a+e)]}static CMYK_HTML(d){const a=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(a)}static RGB_CMYK([d,a,c]){const e=1-d,u=1-a,l=1-c;return["CMYK",e,u,l,Math.min(e,u,l)]}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaLayer=void 0;var n=o(20);h.XfaLayer=class i{static setupStorage(a,c,e,u,l){const g=u.getValue(c,{value:null});switch(e.name){case"textarea":if(null!==g.value&&(a.textContent=g.value),"print"===l)break;a.addEventListener("input",v=>{u.setValue(c,{value:v.target.value})});break;case"input":if("radio"===e.attributes.type||"checkbox"===e.attributes.type){if(g.value===e.attributes.xfaOn?a.setAttribute("checked",!0):g.value===e.attributes.xfaOff&&a.removeAttribute("checked"),"print"===l)break;a.addEventListener("change",v=>{u.setValue(c,{value:v.target.getAttribute(v.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==g.value&&a.setAttribute("value",g.value),"print"===l)break;a.addEventListener("input",v=>{u.setValue(c,{value:v.target.value})})}break;case"select":if(null!==g.value)for(const v of e.children)v.attributes.value===g.value&&(v.attributes.selected=!0);a.addEventListener("input",v=>{const p=v.target.options;u.setValue(c,{value:-1===p.selectedIndex?"":p[p.selectedIndex].value})})}}static setAttributes({html:a,element:c,storage:e=null,intent:u,linkService:l}){const{attributes:g}=c,v=a instanceof HTMLAnchorElement;"radio"===g.type&&(g.name=`${g.name}-${u}`);for(const[p,C]of Object.entries(g))if(null!=C)switch(p){case"class":C.length&&a.setAttribute(p,C.join(" "));break;case"dataId":break;case"id":a.setAttribute("data-element-id",C);break;case"style":Object.assign(a.style,C);break;case"textContent":a.textContent=C;break;default:(!v||"href"!==p&&"newWindow"!==p)&&a.setAttribute(p,C)}v&&l.addLinkAttributes(a,g.href,g.newWindow),e&&g.dataId&&this.setupStorage(a,g.dataId,c,e)}static render(a){const c=a.annotationStorage,e=a.linkService,u=a.xfaHtml,l=a.intent||"display",g=document.createElement(u.name);u.attributes&&this.setAttributes({html:g,element:u,intent:l,linkService:e});const v=[[u,-1,g]],p=a.div;if(p.append(g),a.viewport){const b=`matrix(${a.viewport.transform.join(",")})`;p.style.transform=b}"richText"!==l&&p.setAttribute("class","xfaLayer xfaFont");const C=[];for(;v.length>0;){const[b,_,f]=v.at(-1);if(_+1===b.children.length){v.pop();continue}const y=b.children[++v.at(-1)[1]];if(null===y)continue;const{name:S}=y;if("#text"===S){const w=document.createTextNode(y.value);C.push(w),f.append(w);continue}let M;if(M=y?.attributes?.xmlns?document.createElementNS(y.attributes.xmlns,S):document.createElement(S),f.append(M),y.attributes&&this.setAttributes({html:M,element:y,storage:c,intent:l,linkService:e}),y.children&&y.children.length>0)v.push([y,-1,M]);else if(y.value){const w=document.createTextNode(y.value);n.XfaText.shouldBuildText(S)&&C.push(w),M.append(w)}}for(const b of p.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))b.setAttribute("readOnly",!0);return{textDivs:C}}static update(a){const c=`matrix(${a.viewport.transform.join(",")})`;a.div.style.transform=c,a.div.hidden=!1}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TextLayerRenderTask=void 0,h.renderTextLayer=function y(S){const M=new f({textContent:S.textContent,textContentStream:S.textContentStream,container:S.container,viewport:S.viewport,textDivs:S.textDivs,textContentItemsStr:S.textContentItemsStr,enhanceTextSelection:S.enhanceTextSelection});return M._render(S.timeout),M};var n=o(1),i=o(8);const a=30,e=new Map,u=/^\s+$/g;function g(S,M,w,A){const O=document.createElement("span"),F=S._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,fontSize:0};S._textDivs.push(O);const j=n.Util.transform(S._viewport.transform,M.transform);let T=Math.atan2(j[1],j[0]);const I=w[M.fontName];I.vertical&&(T+=Math.PI/2);const k=Math.hypot(j[2],j[3]),N=k*function l(S,M){const w=e.get(S);if(w)return w;M.save(),M.font=`30px ${S}`;const A=M.measureText("");let O=A.fontBoundingBoxAscent,F=Math.abs(A.fontBoundingBoxDescent);if(O){M.restore();const T=O/(O+F);return e.set(S,T),T}M.strokeStyle="red",M.clearRect(0,0,a,a),M.strokeText("g",0,0);let j=M.getImageData(0,0,a,a).data;F=0;for(let T=j.length-1-3;T>=0;T-=4)if(j[T]>0){F=Math.ceil(T/4/a);break}M.clearRect(0,0,a,a),M.strokeText("A",0,a),j=M.getImageData(0,0,a,a).data,O=0;for(let T=0,I=j.length;T0){O=a-Math.floor(T/4/a);break}if(M.restore(),O){const T=O/(O+F);return e.set(S,T),T}return e.set(S,.8),.8}(I.fontFamily,A);let x,H;0===T?(x=j[4],H=j[5]-N):(x=j[4]+N*Math.sin(T),H=j[5]-N*Math.cos(T)),O.style.left=`${x}px`,O.style.top=`${H}px`,O.style.fontSize=`${k}px`,O.style.fontFamily=I.fontFamily,F.fontSize=k,O.setAttribute("role","presentation"),O.textContent=M.str,O.dir=M.dir,S._fontInspectorEnabled&&(O.dataset.fontName=M.fontName),0!==T&&(F.angle=T*(180/Math.PI));let G=!1;if(M.str.length>1||S._enhanceTextSelection&&u.test(M.str))G=!0;else if(" "!==M.str&&M.transform[0]!==M.transform[3]){const te=Math.abs(M.transform[0]),ce=Math.abs(M.transform[3]);te!==ce&&Math.max(te,ce)/Math.min(te,ce)>1.5&&(G=!0)}if(G&&(F.canvasWidth=I.vertical?M.height*S._viewport.scale:M.width*S._viewport.scale),S._textDivProperties.set(O,F),S._textContentStream&&S._layoutText(O),S._enhanceTextSelection&&F.hasText){let te=1,ce=0;0!==T&&(te=Math.cos(T),ce=Math.sin(T));const se=(I.vertical?M.height:M.width)*S._viewport.scale,K=k;let Z,re;0!==T?(Z=[te,ce,-ce,te,x,H],re=n.Util.getAxialAlignedBoundingBox([0,0,se,K],Z)):re=[x,H,x+se,H+K],S._bounds.push({left:re[0],top:re[1],right:re[2],bottom:re[3],div:O,size:[se,K],m:Z})}}function v(S){if(S._canceled)return;const M=S._textDivs,w=S._capability,A=M.length;if(A>1e5)return S._renderingDone=!0,void w.resolve();if(!S._textContentStream)for(let O=0;O0&&(A=A?Math.min(F,A):F)}return A}function _(S,M){M.sort(function(O,F){return O.x1-F.x1||O.index-F.index});const A=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const O of M){let F=0;for(;F=0&&A[j].start>=O.y2;)j--;let T,I,k,N,x=-1/0;for(k=F;k<=j;k++){let te;T=A[k],I=T.boundary,te=I.x2>O.x1?I.index>O.index?I.x1New:O.x1:void 0===I.x2New?(I.x2+O.x1)/2:I.x2New,te>x&&(x=te)}for(O.x1New=x,k=F;k<=j;k++)T=A[k],I=T.boundary,void 0===I.x2New?I.x2>O.x1?I.index>O.index&&(I.x2New=I.x2):I.x2New=x:I.x2New>x&&(I.x2New=Math.max(x,I.x2));const H=[];let G=null;for(k=F;k<=j;k++){T=A[k],I=T.boundary;const te=I.x2>O.x2?I:O;G===te?H.at(-1).end=T.end:(H.push({start:T.start,end:T.end,boundary:te}),G=te)}for(A[F].start=0&&A[N].start>=I.y1;N--)te=A[N].boundary===I;for(N=j+1;!te&&N{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(M,w){for(let A=0,O=M.length;A0){const T=this._devicePixelRatio*w.canvasWidth/j;this._enhanceTextSelection&&(w.scale=T),A=`scaleX(${T})`}}if(0!==w.angle&&(A=`rotate(${w.angle}deg) ${A}`),A.length>0&&(this._enhanceTextSelection&&(w.originalTransform=A),M.style.transform=A),w.hasText&&this._container.append(M),w.hasEOL){const O=document.createElement("br");O.setAttribute("role","presentation"),this._container.append(O)}}_render(M=0){const w=(0,n.createPromiseCapability)();let A=Object.create(null);const O=this._document.createElement("canvas");if(O.height=O.width=a,this._layoutTextCtx=O.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),w.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const F=()=>{this._reader.read().then(({value:j,done:T})=>{T?w.resolve():(Object.assign(A,j.styles),this._processItems(j.items,A),F())},w.reject)};this._reader=this._textContentStream.getReader(),F()}}w.promise.then(()=>{A=null,M?this._renderTimer=setTimeout(()=>{v(this),this._renderTimer=null},M):v(this)},this._capability.reject)}expandTextDivs(M=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function C(S){const M=S._bounds,w=S._viewport,A=function b(S,M,w){const A=w.map(function(F,j){return{x1:F.left,y1:F.top,x2:F.right,y2:F.bottom,index:j,x1New:void 0,x2New:void 0}});_(S,A);const O=new Array(w.length);for(const F of A)O[F.index]={left:F.x1New,top:0,right:F.x2New,bottom:0};w.map(function(F,j){const T=O[j],I=A[j];I.x1=F.top,I.y1=S-T.right,I.x2=F.bottom,I.y2=S-T.left,I.index=j,I.x1New=void 0,I.x2New=void 0}),_(M,A);for(const F of A){const j=F.index;O[j].top=F.x1New,O[j].bottom=F.x2New}return O}(w.width,w.height,M);for(let O=0;O0?(A.push(`${T.paddingTop}px`),w.push(`translateY(${-T.paddingTop}px)`)):A.push(0),A.push(T.paddingRight>0?T.paddingRight/T.scale+"px":0),A.push(T.paddingBottom>0?`${T.paddingBottom}px`:0),T.paddingLeft>0?(A.push(T.paddingLeft/T.scale+"px"),w.push(`translateX(${-T.paddingLeft/T.scale}px)`)):A.push(0),j.style.padding=A.join(" "),w.length&&(j.style.transform=w.join(" "))):(j.style.padding=null,j.style.transform=T.originalTransform))}}}h.TextLayerRenderTask=f},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.SVGGraphics=void 0;var n=o(8),i=o(1),d=o(3);let a=class{constructor(){(0,i.unreachable)("Not implemented: SVGGraphics")}};h.SVGGraphics=a;{let b=function(w){let A=[];const O=[];for(const F of w)"save"!==F.fn?"restore"===F.fn?A=O.pop():A.push(F):(A.push({fnId:92,fn:"group",items:[]}),O.push(A),A=A.at(-1).items);return A},_=function(w){if(Number.isInteger(w))return w.toString();const A=w.toFixed(10);let O=A.length-1;if("0"!==A[O])return A;do{O--}while("0"===A[O]);return A.substring(0,"."===A[O]?O:O+1)},f=function(w){if(0===w[4]&&0===w[5]){if(0===w[1]&&0===w[2])return 1===w[0]&&1===w[3]?"":`scale(${_(w[0])} ${_(w[3])})`;if(w[0]===w[3]&&w[1]===-w[2]){const A=180*Math.acos(w[0])/Math.PI;return`rotate(${_(A)})`}}else if(1===w[0]&&0===w[1]&&0===w[2]&&1===w[3])return`translate(${_(w[4])} ${_(w[5])})`;return`matrix(${_(w[0])} ${_(w[1])} ${_(w[2])} ${_(w[3])} ${_(w[4])} ${_(w[5])})`};const c={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},e="http://www.w3.org/XML/1998/namespace",u="http://www.w3.org/1999/xlink",l=["butt","round","square"],g=["miter","round","bevel"],v=function(w,A="",O=!1){if(URL.createObjectURL&&typeof Blob<"u"&&!O)return URL.createObjectURL(new Blob([w],{type:A}));const F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let j=`data:${A};base64,`;for(let T=0,I=w.length;T>2]+F[(3&k)<<4|N>>4]+F[T+1>6:64]+F[T+2>1&2147483647:H>>1&2147483647;O[x]=H}function j(x,H,G,te){let ce=te;const se=H.length;G[ce]=se>>24&255,G[ce+1]=se>>16&255,G[ce+2]=se>>8&255,G[ce+3]=255&se,ce+=4,G[ce]=255&x.charCodeAt(0),G[ce+1]=255&x.charCodeAt(1),G[ce+2]=255&x.charCodeAt(2),G[ce+3]=255&x.charCodeAt(3),ce+=4,G.set(H,ce),ce+=H.length;const K=function F(x,H,G){let te=-1;for(let ce=H;ce>>8^O[255&(te^x[ce])];return-1^te}(G,te+4,ce);G[ce]=K>>24&255,G[ce+1]=K>>16&255,G[ce+2]=K>>8&255,G[ce+3]=255&K}function k(x){let H=x.length;const G=65535,te=Math.ceil(H/G),ce=new Uint8Array(2+H+5*te+4);let se=0;ce[se++]=120,ce[se++]=156;let K=0;for(;H>G;)ce[se++]=0,ce[se++]=255,ce[se++]=255,ce[se++]=0,ce[se++]=0,ce.set(x.subarray(K,K+G),se),se+=G,K+=G,H-=G;ce[se++]=1,ce[se++]=255&H,ce[se++]=H>>8&255,ce[se++]=255&~H,ce[se++]=(65535&~H)>>8&255,ce.set(x.subarray(K),se),se+=x.length-K;const Z=function T(x,H,G){let te=1,ce=0;for(let se=H;se>24&255,ce[se++]=Z>>16&255,ce[se++]=Z>>8&255,ce[se++]=255&Z,ce}return function(H,G,te){return function N(x,H,G,te){const ce=x.width,se=x.height;let K,Z,re;const X=x.data;switch(H){case i.ImageKind.GRAYSCALE_1BPP:Z=0,K=1,re=ce+7>>3;break;case i.ImageKind.RGB_24BPP:Z=2,K=8,re=3*ce;break;case i.ImageKind.RGBA_32BPP:Z=6,K=8,re=4*ce;break;default:throw new Error("invalid format")}const W=new Uint8Array((1+re)*se);let Y=0,q=0;for(let ge=0;ge>24&255,ce>>16&255,ce>>8&255,255&ce,se>>24&255,se>>16&255,se>>8&255,255&se,K,Z,0,0,0]),_e=function I(x){if(!d.isNodeJS)return k(x);try{let H;H=parseInt(process.versions.node)>=8?x:Buffer.from(x);const G=__webpack_require__(8160).deflateSync(H,{level:9});return G instanceof Uint8Array?G:new Uint8Array(G)}catch(H){(0,i.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+H)}return k(x)}(W),Re=new Uint8Array(w.length+36+he.length+_e.length);let Ae=0;return Re.set(w,Ae),Ae+=w.length,j("IHDR",he,Re,Ae),Ae+=12+he.length,j("IDATA",_e,Re,Ae),Ae+=12+_e.length,j("IEND",new Uint8Array(0),Re,Ae),v(Re,"image/png",G)}(H,void 0===H.kind?i.ImageKind.GRAYSCALE_1BPP:H.kind,G,te)}}();class C{constructor(){this.fontSizeScale=1,this.fontWeight=c.fontWeight,this.fontSize=0,this.textMatrix=i.IDENTITY_MATRIX,this.fontMatrix=i.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=i.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=c.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(A,O){this.x=A,this.y=O}}let y=0,S=0,M=0;h.SVGGraphics=a=class{constructor(w,A,O=!1){(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=new C,this.transformMatrix=i.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=w,this.objs=A,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!O,this._operatorIdMapping=[];for(const F in i.OPS)this._operatorIdMapping[i.OPS[F]]=F}save(){this.transformStack.push(this.transformMatrix);const w=this.current;this.extraStack.push(w),this.current=w.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(w){this.save(),this.executeOpTree(w),this.restore()}loadDependencies(w){const A=w.fnArray,O=w.argsArray;for(let F=0,j=A.length;F{I.get(T,N)});this.current.dependencies.push(k)}return Promise.all(this.current.dependencies)}transform(w,A,O,F,j,T){this.transformMatrix=i.Util.transform(this.transformMatrix,[w,A,O,F,j,T]),this.tgrp=null}getSVG(w,A){this.viewport=A;const O=this._initialize(A);return this.loadDependencies(w).then(()=>(this.transformMatrix=i.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(w)),O))}convertOpList(w){const A=this._operatorIdMapping,O=w.argsArray,F=w.fnArray,j=[];for(let T=0,I=F.length;T0&&(this.current.lineWidth=w)}setLineCap(w){this.current.lineCap=l[w]}setLineJoin(w){this.current.lineJoin=g[w]}setMiterLimit(w){this.current.miterLimit=w}setStrokeAlpha(w){this.current.strokeAlpha=w}setStrokeRGBColor(w,A,O){this.current.strokeColor=i.Util.makeHexColor(w,A,O)}setFillAlpha(w){this.current.fillAlpha=w}setFillRGBColor(w,A,O){this.current.fillColor=i.Util.makeHexColor(w,A,O),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(w){this.current.strokeColor=this._makeColorN_Pattern(w)}setFillColorN(w){this.current.fillColor=this._makeColorN_Pattern(w)}shadingFill(w){const A=this.viewport.width,O=this.viewport.height,F=i.Util.inverseTransform(this.transformMatrix),j=i.Util.applyTransform([0,0],F),T=i.Util.applyTransform([0,O],F),I=i.Util.applyTransform([A,0],F),k=i.Util.applyTransform([A,O],F),N=Math.min(j[0],T[0],I[0],k[0]),x=Math.min(j[1],T[1],I[1],k[1]),H=Math.max(j[0],T[0],I[0],k[0]),G=Math.max(j[1],T[1],I[1],k[1]),te=this.svgFactory.createElement("svg:rect");te.setAttributeNS(null,"x",N),te.setAttributeNS(null,"y",x),te.setAttributeNS(null,"width",H-N),te.setAttributeNS(null,"height",G-x),te.setAttributeNS(null,"fill",this._makeShadingPattern(w)),this.current.fillAlpha<1&&te.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(te)}_makeColorN_Pattern(w){return"TilingPattern"===w[0]?this._makeTilingPattern(w):this._makeShadingPattern(w)}_makeTilingPattern(w){const A=w[1],O=w[2],F=w[3]||i.IDENTITY_MATRIX,[j,T,I,k]=w[4],N=w[5],x=w[6],H=w[7],G="shading"+M++,[te,ce,se,K]=i.Util.normalizeRect([...i.Util.applyTransform([j,T],F),...i.Util.applyTransform([I,k],F)]),[Z,re]=i.Util.singularValueDecompose2dScale(F),X=N*Z,W=x*re,Y=this.svgFactory.createElement("svg:pattern");Y.setAttributeNS(null,"id",G),Y.setAttributeNS(null,"patternUnits","userSpaceOnUse"),Y.setAttributeNS(null,"width",X),Y.setAttributeNS(null,"height",W),Y.setAttributeNS(null,"x",`${te}`),Y.setAttributeNS(null,"y",`${ce}`);const q=this.svg,he=this.transformMatrix,_e=this.current.fillColor,Oe=this.current.strokeColor,Re=this.svgFactory.create(se-te,K-ce);if(this.svg=Re,this.transformMatrix=F,2===H){const Ae=i.Util.makeHexColor(...A);this.current.fillColor=Ae,this.current.strokeColor=Ae}return this.executeOpTree(this.convertOpList(O)),this.svg=q,this.transformMatrix=he,this.current.fillColor=_e,this.current.strokeColor=Oe,Y.append(Re.childNodes[0]),this.defs.append(Y),`url(#${G})`}_makeShadingPattern(w){switch("string"==typeof w&&(w=this.objs.get(w)),w[0]){case"RadialAxial":const A="shading"+M++,O=w[3];let F;switch(w[1]){case"axial":const j=w[4],T=w[5];F=this.svgFactory.createElement("svg:linearGradient"),F.setAttributeNS(null,"id",A),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"x1",j[0]),F.setAttributeNS(null,"y1",j[1]),F.setAttributeNS(null,"x2",T[0]),F.setAttributeNS(null,"y2",T[1]);break;case"radial":const I=w[4],k=w[5],N=w[6],x=w[7];F=this.svgFactory.createElement("svg:radialGradient"),F.setAttributeNS(null,"id",A),F.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),F.setAttributeNS(null,"cx",k[0]),F.setAttributeNS(null,"cy",k[1]),F.setAttributeNS(null,"r",x),F.setAttributeNS(null,"fx",I[0]),F.setAttributeNS(null,"fy",I[1]),F.setAttributeNS(null,"fr",N);break;default:throw new Error(`Unknown RadialAxial type: ${w[1]}`)}for(const j of O){const T=this.svgFactory.createElement("svg:stop");T.setAttributeNS(null,"offset",j[0]),T.setAttributeNS(null,"stop-color",j[1]),F.append(T)}return this.defs.append(F),`url(#${A})`;case"Mesh":return(0,i.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${w[0]}`)}}setDash(w,A){this.current.dashArray=w,this.current.dashPhase=A}constructPath(w,A){const O=this.current;let F=O.x,j=O.y,T=[],I=0;for(const k of w)switch(0|k){case i.OPS.rectangle:F=A[I++],j=A[I++];const H=F+A[I++],G=j+A[I++];T.push("M",_(F),_(j),"L",_(H),_(j),"L",_(H),_(G),"L",_(F),_(G),"Z");break;case i.OPS.moveTo:F=A[I++],j=A[I++],T.push("M",_(F),_(j));break;case i.OPS.lineTo:F=A[I++],j=A[I++],T.push("L",_(F),_(j));break;case i.OPS.curveTo:F=A[I+4],j=A[I+5],T.push("C",_(A[I]),_(A[I+1]),_(A[I+2]),_(A[I+3]),_(F),_(j)),I+=6;break;case i.OPS.curveTo2:T.push("C",_(F),_(j),_(A[I]),_(A[I+1]),_(A[I+2]),_(A[I+3])),F=A[I+2],j=A[I+3],I+=4;break;case i.OPS.curveTo3:F=A[I+2],j=A[I+3],T.push("C",_(A[I]),_(A[I+1]),_(F),_(j),_(F),_(j)),I+=4;break;case i.OPS.closePath:T.push("Z")}T=T.join(" "),O.path&&w.length>0&&w[0]!==i.OPS.rectangle&&w[0]!==i.OPS.moveTo?T=O.path.getAttributeNS(null,"d")+T:(O.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(O.path)),O.path.setAttributeNS(null,"d",T),O.path.setAttributeNS(null,"fill","none"),O.element=O.path,O.setCurrentPoint(F,j)}endPath(){const w=this.current;if(w.path=null,!this.pendingClip)return;if(!w.element)return void(this.pendingClip=null);const A="clippath"+y++,O=this.svgFactory.createElement("svg:clipPath");O.setAttributeNS(null,"id",A),O.setAttributeNS(null,"transform",f(this.transformMatrix));const F=w.element.cloneNode(!0);if(F.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,O.append(F),this.defs.append(O),w.activeClipUrl){w.clipGroup=null;for(const j of this.extraStack)j.clipGroup=null;O.setAttributeNS(null,"clip-path",w.activeClipUrl)}w.activeClipUrl=`url(#${A})`,this.tgrp=null}clip(w){this.pendingClip=w}closePath(){const w=this.current;if(w.path){const A=`${w.path.getAttributeNS(null,"d")}Z`;w.path.setAttributeNS(null,"d",A)}}setLeading(w){this.current.leading=-w}setTextRise(w){this.current.textRise=w}setTextRenderingMode(w){this.current.textRenderingMode=w}setHScale(w){this.current.textHScale=w/100}setRenderingIntent(w){}setFlatness(w){}setGState(w){for(const[A,O]of w)switch(A){case"LW":this.setLineWidth(O);break;case"LC":this.setLineCap(O);break;case"LJ":this.setLineJoin(O);break;case"ML":this.setMiterLimit(O);break;case"D":this.setDash(O[0],O[1]);break;case"RI":this.setRenderingIntent(O);break;case"FL":this.setFlatness(O);break;case"Font":this.setFont(O);break;case"CA":this.setStrokeAlpha(O);break;case"ca":this.setFillAlpha(O);break;default:(0,i.warn)(`Unimplemented graphic state operator ${A}`)}}fill(){const w=this.current;w.element&&(w.element.setAttributeNS(null,"fill",w.fillColor),w.element.setAttributeNS(null,"fill-opacity",w.fillAlpha),this.endPath())}stroke(){const w=this.current;w.element&&(this._setStrokeAttributes(w.element),w.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(w,A=1){const O=this.current;let F=O.dashArray;1!==A&&F.length>0&&(F=F.map(function(j){return A*j})),w.setAttributeNS(null,"stroke",O.strokeColor),w.setAttributeNS(null,"stroke-opacity",O.strokeAlpha),w.setAttributeNS(null,"stroke-miterlimit",_(O.miterLimit)),w.setAttributeNS(null,"stroke-linecap",O.lineCap),w.setAttributeNS(null,"stroke-linejoin",O.lineJoin),w.setAttributeNS(null,"stroke-width",_(A*O.lineWidth)+"px"),w.setAttributeNS(null,"stroke-dasharray",F.map(_).join(" ")),w.setAttributeNS(null,"stroke-dashoffset",_(A*O.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const w=this.svgFactory.createElement("svg:rect");w.setAttributeNS(null,"x","0"),w.setAttributeNS(null,"y","0"),w.setAttributeNS(null,"width","1px"),w.setAttributeNS(null,"height","1px"),w.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(w)}paintImageXObject(w){const A=w.startsWith("g_")?this.commonObjs.get(w):this.objs.get(w);A?this.paintInlineImageXObject(A):(0,i.warn)(`Dependent image with object ID ${w} is not ready yet`)}paintInlineImageXObject(w,A){const O=w.width,F=w.height,j=p(w,this.forceDataSchema,!!A),T=this.svgFactory.createElement("svg:rect");T.setAttributeNS(null,"x","0"),T.setAttributeNS(null,"y","0"),T.setAttributeNS(null,"width",_(O)),T.setAttributeNS(null,"height",_(F)),this.current.element=T,this.clip("nonzero");const I=this.svgFactory.createElement("svg:image");I.setAttributeNS(u,"xlink:href",j),I.setAttributeNS(null,"x","0"),I.setAttributeNS(null,"y",_(-F)),I.setAttributeNS(null,"width",_(O)+"px"),I.setAttributeNS(null,"height",_(F)+"px"),I.setAttributeNS(null,"transform",`scale(${_(1/O)} ${_(-1/F)})`),A?A.append(I):this._ensureTransformGroup().append(I)}paintImageMaskXObject(w){const A=this.current,O=w.width,F=w.height,j=A.fillColor;A.maskId="mask"+S++;const T=this.svgFactory.createElement("svg:mask");T.setAttributeNS(null,"id",A.maskId);const I=this.svgFactory.createElement("svg:rect");I.setAttributeNS(null,"x","0"),I.setAttributeNS(null,"y","0"),I.setAttributeNS(null,"width",_(O)),I.setAttributeNS(null,"height",_(F)),I.setAttributeNS(null,"fill",j),I.setAttributeNS(null,"mask",`url(#${A.maskId})`),this.defs.append(T),this._ensureTransformGroup().append(I),this.paintInlineImageXObject(w,T)}paintFormXObjectBegin(w,A){if(Array.isArray(w)&&6===w.length&&this.transform(w[0],w[1],w[2],w[3],w[4],w[5]),A){const O=A[2]-A[0],F=A[3]-A[1],j=this.svgFactory.createElement("svg:rect");j.setAttributeNS(null,"x",A[0]),j.setAttributeNS(null,"y",A[1]),j.setAttributeNS(null,"width",_(O)),j.setAttributeNS(null,"height",_(F)),this.current.element=j,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(w){const A=this.svgFactory.create(w.width,w.height),O=this.svgFactory.createElement("svg:defs");A.append(O),this.defs=O;const F=this.svgFactory.createElement("svg:g");return F.setAttributeNS(null,"transform",f(w.transform)),A.append(F),this.svg=F,A}_ensureClipGroup(){if(!this.current.clipGroup){const w=this.svgFactory.createElement("svg:g");w.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(w),this.current.clipGroup=w}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",f(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNodeStream=void 0;var n=o(1),i=o(33);const d=__webpack_require__(45344),a=__webpack_require__(10440),c=__webpack_require__(22224),e=__webpack_require__(65724),u=/^file:\/\/\/[a-zA-Z]:\//;h.PDFNodeStream=class g{constructor(M){this.source=M,this.url=function l(S){const M=e.parse(S);return"file:"===M.protocol||M.host?M:/^[a-z]:[/\\]/i.test(S)?e.parse(`file:///${S}`):(M.host||(M.protocol="file:"),M)}(M.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&M.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new f(this):new b(this),this._fullRequestReader}getRangeReader(M,w){if(w<=this._progressiveDataLength)return null;const A=this.isFsUrl?new y(this,M,w):new _(this,M,w);return this._rangeRequestReaders.push(A),A}cancelAllRequests(M){this._fullRequestReader&&this._fullRequestReader.cancel(M);for(const w of this._rangeRequestReaders.slice(0))w.cancel(M)}};class v{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null;const w=M.source;this._contentLength=w.length,this._loaded=0,this._filename=null,this._disableRange=w.disableRange||!1,this._rangeChunkSize=w.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!w.disableStream,this._isRangeSupported=!w.disableRange,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._headersCapability=(0,n.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const w=M._readableStream.read();return null===w?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=w.length,M.onProgress&&M.onProgress({loaded:M._loaded,total:M._contentLength}),{value:new Uint8Array(w).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",w=>{this._error(w)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class p{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!M.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const w=M._readableStream.read();return null===w?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=w.length,M.onProgress&&M.onProgress({loaded:M._loaded}),{value:new Uint8Array(w).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",w=>{this._error(w)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function C(S,M){return{protocol:S.protocol,auth:S.auth,host:S.hostname,port:S.port,path:S.path,method:"GET",headers:M}}class b extends v{constructor(M){super(M);const w=A=>{if(404===A.statusCode){const T=new n.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=T,void this._headersCapability.reject(T)}this._headersCapability.resolve(),this._setReadableStream(A);const O=T=>this._readableStream.headers[T.toLowerCase()],{allowRangeRequests:F,suggestedLength:j}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:O,isHttp:M.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=F,this._contentLength=j||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(O)};this._request=null,this._request="http:"===this._url.protocol?a.request(C(this._url,M.httpHeaders),w):c.request(C(this._url,M.httpHeaders),w),this._request.on("error",A=>{this._storedError=A,this._headersCapability.reject(A)}),this._request.end()}}class _ extends p{constructor(M,w,A){super(M),this._httpHeaders={};for(const F in M.httpHeaders){const j=M.httpHeaders[F];typeof j>"u"||(this._httpHeaders[F]=j)}this._httpHeaders.Range=`bytes=${w}-${A-1}`;const O=F=>{if(404!==F.statusCode)this._setReadableStream(F);else{const j=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=j}};this._request=null,this._request="http:"===this._url.protocol?a.request(C(this._url,this._httpHeaders),O):c.request(C(this._url,this._httpHeaders),O),this._request.on("error",F=>{this._storedError=F}),this._request.end()}}class f extends v{constructor(M){super(M);let w=decodeURIComponent(this._url.path);u.test(this._url.href)&&(w=w.replace(/^\//,"")),d.lstat(w,(A,O)=>{if(A)return"ENOENT"===A.code&&(A=new n.MissingPDFException(`Missing PDF "${w}".`)),this._storedError=A,void this._headersCapability.reject(A);this._contentLength=O.size,this._setReadableStream(d.createReadStream(w)),this._headersCapability.resolve()})}}class y extends p{constructor(M,w,A){super(M);let O=decodeURIComponent(this._url.path);u.test(this._url.href)&&(O=O.replace(/^\//,"")),this._setReadableStream(d.createReadStream(O,{start:w,end:A-1}))}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.createResponseStatusError=function e(l,g){return 404===l||0===l&&g.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+g+'".'):new n.UnexpectedResponseException(`Unexpected server response (${l}) while retrieving PDF "${g}".`,l)},h.extractFilenameFromHeader=function c(l){const g=l("Content-Disposition");if(g){let v=(0,i.getFilenameFromContentDispositionHeader)(g);if(v.includes("%"))try{v=decodeURIComponent(v)}catch{}if((0,d.isPdfFile)(v))return v}return null},h.validateRangeRequestCapabilities=function a({getResponseHeader:l,isHttp:g,rangeChunkSize:v,disableRange:p}){const C={allowRangeRequests:!1,suggestedLength:void 0},b=parseInt(l("Content-Length"),10);return!Number.isInteger(b)||(C.suggestedLength=b,b<=2*v)||p||!g||"bytes"!==l("Accept-Ranges")||"identity"!==(l("Content-Encoding")||"identity")||(C.allowRangeRequests=!0),C},h.validateResponseStatus=function u(l){return 200===l||206===l};var n=o(1),i=o(34),d=o(8)},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.getFilenameFromContentDispositionHeader=function i(d){let a=!0,c=e("filename\\*","i").exec(d);if(c){c=c[1];let b=v(c);return b=unescape(b),b=p(b),b=C(b),l(b)}if(c=function g(b){const _=[];let f;const y=e("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(f=y.exec(b));){let[,M,w,A]=f;if(M=parseInt(M,10),M in _){if(0===M)break}else _[M]=[w,A]}const S=[];for(let M=0;M<_.length&&M in _;++M){let[w,A]=_[M];A=v(A),w&&(A=unescape(A),0===M&&(A=p(A))),S.push(A)}return S.join("")}(d),c)return l(C(c));if(c=e("filename","i").exec(d),c){c=c[1];let b=v(c);return b=C(b),l(b)}function e(b,_){return new RegExp("(?:^|;)\\s*"+b+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',_)}function u(b,_){if(b){if(!/^[\x00-\xFF]+$/.test(_))return _;try{const f=new TextDecoder(b,{fatal:!0}),y=(0,n.stringToBytes)(_);_=f.decode(y),a=!1}catch{}}return _}function l(b){return a&&/[\x80-\xff]/.test(b)&&(b=u("utf-8",b),a&&(b=u("iso-8859-1",b))),b}function v(b){if(b.startsWith('"')){const _=b.slice(1).split('\\"');for(let f=0;f<_.length;++f){const y=_[f].indexOf('"');-1!==y&&(_[f]=_[f].slice(0,y),_.length=f+1),_[f]=_[f].replace(/\\(.)/g,"$1")}b=_.join('"')}return b}function p(b){const _=b.indexOf("'");return-1===_?b:u(b.slice(0,_),b.slice(_+1).replace(/^[^']*'/,""))}function C(b){return!b.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(b)?b:b.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(_,f,y,S){if("q"===y||"Q"===y)return u(f,S=(S=S.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,function(M,w){return String.fromCharCode(parseInt(w,16))}));try{S=atob(S)}catch{}return u(f,S)})}return""};var n=o(1)},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNetworkStream=void 0;var n=o(1),i=o(33);class e{constructor(p,C={}){this.url=p,this.isHttp=/^https?:/i.test(p),this.httpHeaders=this.isHttp&&C.httpHeaders||Object.create(null),this.withCredentials=C.withCredentials||!1,this.getXhr=C.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(p,C,b){const _={begin:p,end:C};for(const f in b)_[f]=b[f];return this.request(_)}requestFull(p){return this.request(p)}request(p){const C=this.getXhr(),b=this.currXhrId++,_=this.pendingRequests[b]={xhr:C};C.open("GET",this.url),C.withCredentials=this.withCredentials;for(const f in this.httpHeaders){const y=this.httpHeaders[f];typeof y>"u"||C.setRequestHeader(f,y)}return this.isHttp&&"begin"in p&&"end"in p?(C.setRequestHeader("Range",`bytes=${p.begin}-${p.end-1}`),_.expectedStatus=206):_.expectedStatus=200,C.responseType="arraybuffer",p.onError&&(C.onerror=function(f){p.onError(C.status)}),C.onreadystatechange=this.onStateChange.bind(this,b),C.onprogress=this.onProgress.bind(this,b),_.onHeadersReceived=p.onHeadersReceived,_.onDone=p.onDone,_.onError=p.onError,_.onProgress=p.onProgress,C.send(null),b}onProgress(p,C){const b=this.pendingRequests[p];b&&b.onProgress?.(C)}onStateChange(p,C){const b=this.pendingRequests[p];if(!b)return;const _=b.xhr;if(_.readyState>=2&&b.onHeadersReceived&&(b.onHeadersReceived(),delete b.onHeadersReceived),4!==_.readyState||!(p in this.pendingRequests))return;if(delete this.pendingRequests[p],0===_.status&&this.isHttp)return void b.onError?.(_.status);const f=_.status||200;if((200!==f||206!==b.expectedStatus)&&f!==b.expectedStatus)return void b.onError?.(_.status);const S=function c(v){const p=v.response;return"string"!=typeof p?p:(0,n.stringToBytes)(p).buffer}(_);if(206===f){const M=_.getResponseHeader("Content-Range"),w=/bytes (\d+)-(\d+)\/(\d+)/.exec(M);b.onDone({begin:parseInt(w[1],10),chunk:S})}else S?b.onDone({begin:0,chunk:S}):b.onError?.(_.status)}getRequestXhr(p){return this.pendingRequests[p].xhr}isPendingRequest(p){return p in this.pendingRequests}abortRequest(p){const C=this.pendingRequests[p].xhr;delete this.pendingRequests[p],C.abort()}}h.PDFNetworkStream=class u{constructor(p){this._source=p,this._manager=new e(p.url,{httpHeaders:p.httpHeaders,withCredentials:p.withCredentials}),this._rangeChunkSize=p.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(p){const C=this._rangeRequestReaders.indexOf(p);C>=0&&this._rangeRequestReaders.splice(C,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new l(this._manager,this._source),this._fullRequestReader}getRangeReader(p,C){const b=new g(this._manager,p,C);return b.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(b),b}cancelAllRequests(p){this._fullRequestReader?.cancel(p);for(const C of this._rangeRequestReaders.slice(0))C.cancel(p)}};class l{constructor(p,C){this._manager=p;const b={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=C.url,this._fullRequestId=p.requestFull(b),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=C.disableRange||!1,this._contentLength=C.length,this._rangeChunkSize=C.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const p=this._fullRequestId,C=this._manager.getRequestXhr(p),b=y=>C.getResponseHeader(y),{allowRangeRequests:_,suggestedLength:f}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:b,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});_&&(this._isRangeSupported=!0),this._contentLength=f||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(b),this._isRangeSupported&&this._manager.abortRequest(p),this._headersReceivedCapability.resolve()}_onDone(p){if(p&&(this._requests.length>0?this._requests.shift().resolve({value:p.chunk,done:!1}):this._cachedChunks.push(p.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url),this._headersReceivedCapability.reject(this._storedError);for(const C of this._requests)C.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(p){this.onProgress?.({loaded:p.loaded,total:p.lengthComputable?p.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(p._cachedChunks.length>0)return{value:p._cachedChunks.shift(),done:!1};if(p._done)return{value:void 0,done:!0};const C=(0,n.createPromiseCapability)();return p._requests.push(C),C.promise})()}cancel(p){this._done=!0,this._headersReceivedCapability.reject(p);for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class g{constructor(p,C,b){this._manager=p;const _={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=p.url,this._requestId=p.requestRange(C,b,_),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(p){const C=p.chunk;this._requests.length>0?this._requests.shift().resolve({value:C,done:!1}):this._queuedChunk=C,this._done=!0;for(const b of this._requests)b.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(p){this._storedError=(0,i.createResponseStatusError)(p,this._url);for(const C of this._requests)C.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(p){this.isStreamingSupported||this.onProgress?.({loaded:p.loaded})}get isStreamingSupported(){return!1}read(){var p=this;return _asyncToGenerator(function*(){if(p._storedError)throw p._storedError;if(null!==p._queuedChunk){const b=p._queuedChunk;return p._queuedChunk=null,{value:b,done:!1}}if(p._done)return{value:void 0,done:!0};const C=(0,n.createPromiseCapability)();return p._requests.push(C),C.promise})()}cancel(p){this._done=!0;for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(ve,h,o)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFFetchStream=void 0;var n=o(1),i=o(33);function d(l,g,v){return{method:"GET",headers:l,signal:v.signal,mode:"cors",credentials:g?"include":"same-origin",redirect:"follow"}}function a(l){const g=new Headers;for(const v in l){const p=l[v];typeof p>"u"||g.append(v,p)}return g}h.PDFFetchStream=class c{constructor(g){this.source=g,this.isHttp=/^https?:/i.test(g.url),this.httpHeaders=this.isHttp&&g.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new e(this),this._fullRequestReader}getRangeReader(g,v){if(v<=this._progressiveDataLength)return null;const p=new u(this,g,v);return this._rangeRequestReaders.push(p),p}cancelAllRequests(g){this._fullRequestReader&&this._fullRequestReader.cancel(g);for(const v of this._rangeRequestReaders.slice(0))v.cancel(g)}};class e{constructor(g){this._stream=g,this._reader=null,this._loaded=0,this._filename=null;const v=g.source;this._withCredentials=v.withCredentials||!1,this._contentLength=v.length,this._headersCapability=(0,n.createPromiseCapability)(),this._disableRange=v.disableRange||!1,this._rangeChunkSize=v.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!v.disableStream,this._isRangeSupported=!v.disableRange,this._headers=a(this._stream.httpHeaders);const p=v.url;fetch(p,d(this._headers,this._withCredentials,this._abortController)).then(C=>{if(!(0,i.validateResponseStatus)(C.status))throw(0,i.createResponseStatusError)(C.status,p);this._reader=C.body.getReader(),this._headersCapability.resolve();const b=y=>C.headers.get(y),{allowRangeRequests:_,suggestedLength:f}=(0,i.validateRangeRequestCapabilities)({getResponseHeader:b,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=_,this._contentLength=f||this._contentLength,this._filename=(0,i.extractFilenameFromHeader)(b),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._headersCapability.promise;const{value:v,done:p}=yield g._reader.read();return p?{value:v,done:p}:(g._loaded+=v.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded,total:g._contentLength}),{value:new Uint8Array(v).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}class u{constructor(g,v,p){this._stream=g,this._reader=null,this._loaded=0;const C=g.source;this._withCredentials=C.withCredentials||!1,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!C.disableStream,this._abortController=new AbortController,this._headers=a(this._stream.httpHeaders),this._headers.append("Range",`bytes=${v}-${p-1}`);const b=C.url;fetch(b,d(this._headers,this._withCredentials,this._abortController)).then(_=>{if(!(0,i.validateResponseStatus)(_.status))throw(0,i.createResponseStatusError)(_.status,b);this._readCapability.resolve(),this._reader=_.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._readCapability.promise;const{value:v,done:p}=yield g._reader.read();return p?{value:v,done:p}:(g._loaded+=v.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded}),{value:new Uint8Array(v).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(ve){var h=__webpack_module_cache__[ve];if(void 0!==h)return h.exports;var o=__webpack_module_cache__[ve]={exports:{}};return __webpack_modules__[ve](o,o.exports,__w_pdfjs_require__),o.exports}var __nested_webpack_exports__={};return(()=>{var ve=__nested_webpack_exports__;Object.defineProperty(ve,"__esModule",{value:!0}),Object.defineProperty(ve,"AnnotationEditorLayer",{enumerable:!0,get:function(){return i.AnnotationEditorLayer}}),Object.defineProperty(ve,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return h.AnnotationEditorParamsType}}),Object.defineProperty(ve,"AnnotationEditorType",{enumerable:!0,get:function(){return h.AnnotationEditorType}}),Object.defineProperty(ve,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return d.AnnotationEditorUIManager}}),Object.defineProperty(ve,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(ve,"AnnotationMode",{enumerable:!0,get:function(){return h.AnnotationMode}}),Object.defineProperty(ve,"CMapCompressionType",{enumerable:!0,get:function(){return h.CMapCompressionType}}),Object.defineProperty(ve,"GlobalWorkerOptions",{enumerable:!0,get:function(){return c.GlobalWorkerOptions}}),Object.defineProperty(ve,"InvalidPDFException",{enumerable:!0,get:function(){return h.InvalidPDFException}}),Object.defineProperty(ve,"LoopbackPort",{enumerable:!0,get:function(){return o.LoopbackPort}}),Object.defineProperty(ve,"MissingPDFException",{enumerable:!0,get:function(){return h.MissingPDFException}}),Object.defineProperty(ve,"OPS",{enumerable:!0,get:function(){return h.OPS}}),Object.defineProperty(ve,"PDFDataRangeTransport",{enumerable:!0,get:function(){return o.PDFDataRangeTransport}}),Object.defineProperty(ve,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(ve,"PDFWorker",{enumerable:!0,get:function(){return o.PDFWorker}}),Object.defineProperty(ve,"PasswordResponses",{enumerable:!0,get:function(){return h.PasswordResponses}}),Object.defineProperty(ve,"PermissionFlag",{enumerable:!0,get:function(){return h.PermissionFlag}}),Object.defineProperty(ve,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(ve,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(ve,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(ve,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return h.UNSUPPORTED_FEATURES}}),Object.defineProperty(ve,"UnexpectedResponseException",{enumerable:!0,get:function(){return h.UnexpectedResponseException}}),Object.defineProperty(ve,"Util",{enumerable:!0,get:function(){return h.Util}}),Object.defineProperty(ve,"VerbosityLevel",{enumerable:!0,get:function(){return h.VerbosityLevel}}),Object.defineProperty(ve,"XfaLayer",{enumerable:!0,get:function(){return g.XfaLayer}}),Object.defineProperty(ve,"build",{enumerable:!0,get:function(){return o.build}}),Object.defineProperty(ve,"createPromiseCapability",{enumerable:!0,get:function(){return h.createPromiseCapability}}),Object.defineProperty(ve,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return h.createValidAbsoluteUrl}}),Object.defineProperty(ve,"getDocument",{enumerable:!0,get:function(){return o.getDocument}}),Object.defineProperty(ve,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(ve,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(ve,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(ve,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(ve,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(ve,"renderTextLayer",{enumerable:!0,get:function(){return u.renderTextLayer}}),Object.defineProperty(ve,"shadow",{enumerable:!0,get:function(){return h.shadow}}),Object.defineProperty(ve,"version",{enumerable:!0,get:function(){return o.version}});var h=__w_pdfjs_require__(1),o=__w_pdfjs_require__(4),n=__w_pdfjs_require__(8),i=__w_pdfjs_require__(22),d=__w_pdfjs_require__(7),a=__w_pdfjs_require__(27),c=__w_pdfjs_require__(15),e=__w_pdfjs_require__(3),u=__w_pdfjs_require__(30),l=__w_pdfjs_require__(31),g=__w_pdfjs_require__(29);if(e.isNodeJS){const{PDFNodeStream:C}=__w_pdfjs_require__(32);(0,o.setPDFNetworkStreamFactory)(b=>new C(b))}else{const{PDFNetworkStream:C}=__w_pdfjs_require__(35),{PDFFetchStream:b}=__w_pdfjs_require__(36);(0,o.setPDFNetworkStreamFactory)(_=>(0,n.isValidFetchUrl)(_.url)?new b(_):new C(_))}})(),__nested_webpack_exports__})(),module.exports=o()},6472:(ve,h,o)=>{var n=o(1196).default;globalThis,ve.exports=(()=>{"use strict";var i=[,(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.DefaultXfaLayerFactory=u.DefaultTextLayerFactory=u.DefaultStructTreeLayerFactory=u.DefaultAnnotationLayerFactory=u.DefaultAnnotationEditorLayerFactory=void 0;var g=l(2),v=l(5),p=l(4),C=l(6),b=l(8),_=l(9),f=l(10);u.DefaultAnnotationLayerFactory=class y{createAnnotationLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T=null,imageResourcesPath:I="",renderForms:k=!0,l10n:N=p.NullL10n,enableScripting:x=!1,hasJSActionsPromise:H=null,mouseState:G=null,fieldObjectsPromise:te=null,annotationCanvasMap:ce=null,accessibilityManager:se=null}){return new v.AnnotationLayerBuilder({pageDiv:F,pdfPage:j,imageResourcesPath:I,renderForms:k,linkService:new C.SimpleLinkService,l10n:N,annotationStorage:T,enableScripting:x,hasJSActionsPromise:H,fieldObjectsPromise:te,mouseState:G,annotationCanvasMap:ce,accessibilityManager:se})}},u.DefaultAnnotationEditorLayerFactory=class S{createAnnotationEditorLayerBuilder({uiManager:F=null,pageDiv:j,pdfPage:T,accessibilityManager:I=null,l10n:k,annotationStorage:N=null}){return new g.AnnotationEditorLayerBuilder({uiManager:F,pageDiv:j,pdfPage:T,accessibilityManager:I,l10n:k,annotationStorage:N})}},u.DefaultStructTreeLayerFactory=class M{createStructTreeLayerBuilder({pdfPage:F}){return new b.StructTreeLayerBuilder({pdfPage:F})}},u.DefaultTextLayerFactory=class w{createTextLayerBuilder({textLayerDiv:F,pageIndex:j,viewport:T,enhanceTextSelection:I=!1,eventBus:k,highlighter:N,accessibilityManager:x=null}){return new _.TextLayerBuilder({textLayerDiv:F,pageIndex:j,viewport:T,enhanceTextSelection:I,eventBus:k,highlighter:N,accessibilityManager:x})}},u.DefaultXfaLayerFactory=class A{createXfaLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T=null}){return new f.XfaLayerBuilder({pageDiv:F,pdfPage:j,annotationStorage:T,linkService:new C.SimpleLinkService})}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AnnotationEditorLayerBuilder=void 0;var g=l(3),v=l(4);u.AnnotationEditorLayerBuilder=class p{#e;constructor(b){this.pageDiv=b.pageDiv,this.pdfPage=b.pdfPage,this.annotationStorage=b.annotationStorage||null,this.accessibilityManager=b.accessibilityManager,this.l10n=b.l10n||v.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#e=b.uiManager}render(b,_="display"){var f=this;return n(function*(){if("display"!==_||f._cancelled)return;const y=b.clone({dontFlip:!0});if(f.div)return f.annotationEditorLayer.update({viewport:y}),void f.show();f.div=document.createElement("div"),f.div.className="annotationEditorLayer",f.div.tabIndex=0,f.pageDiv.append(f.div),f.annotationEditorLayer=new g.AnnotationEditorLayer({uiManager:f.#e,div:f.div,annotationStorage:f.annotationStorage,accessibilityManager:f.accessibilityManager,pageIndex:f.pdfPage._pageIndex,l10n:f.l10n,viewport:y}),f.annotationEditorLayer.render({viewport:y,div:f.div,annotations:null,intent:_})})()}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}},e=>{let u;u=typeof window<"u"&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:o(35584),e.exports=u},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.NullL10n=void 0,u.fixupLangCode=function p(_){return v[_?.toLowerCase()]||_},u.getL10nFallback=g;const l={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading\u2026",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text\u2026",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function g(_,f){switch(_){case"find_match_count":_=`find_match_count[${1===f.total?"one":"other"}]`;break;case"find_match_count_limit":_=`find_match_count_limit[${1===f.limit?"one":"other"}]`}return l[_]||""}const v={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};u.NullL10n={getLanguage:()=>n(function*(){return"en-us"})(),getDirection:()=>n(function*(){return"ltr"})(),get:(_,f=null,y=g(_,f))=>n(function*(){return function C(_,f){return f?_.replace(/\{\{\s*(\w+)\s*\}\}/g,(y,S)=>S in f?f[S]:"{{"+S+"}}"):_}(y,f)})(),translate:_=>n(function*(){})()}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.AnnotationLayerBuilder=void 0;var g=l(3),v=l(4);u.AnnotationLayerBuilder=class p{constructor({pageDiv:b,pdfPage:_,linkService:f,downloadManager:y,annotationStorage:S=null,imageResourcesPath:M="",renderForms:w=!0,l10n:A=v.NullL10n,enableScripting:O=!1,hasJSActionsPromise:F=null,fieldObjectsPromise:j=null,mouseState:T=null,annotationCanvasMap:I=null,accessibilityManager:k=null}){this.pageDiv=b,this.pdfPage=_,this.linkService=f,this.downloadManager=y,this.imageResourcesPath=M,this.renderForms=w,this.l10n=A,this.annotationStorage=S,this.enableScripting=O,this._hasJSActionsPromise=F,this._fieldObjectsPromise=j,this._mouseState=T,this._annotationCanvasMap=I,this._accessibilityManager=k,this.div=null,this._cancelled=!1}render(b,_="display"){var f=this;return n(function*(){const[y,S=!1,M=null]=yield Promise.all([f.pdfPage.getAnnotations({intent:_}),f._hasJSActionsPromise,f._fieldObjectsPromise]);if(f._cancelled||0===y.length)return;const w={viewport:b.clone({dontFlip:!0}),div:f.div,annotations:y,page:f.pdfPage,imageResourcesPath:f.imageResourcesPath,renderForms:f.renderForms,linkService:f.linkService,downloadManager:f.downloadManager,annotationStorage:f.annotationStorage,enableScripting:f.enableScripting,hasJSActions:S,fieldObjects:M,mouseState:f._mouseState,annotationCanvasMap:f._annotationCanvasMap,accessibilityManager:f._accessibilityManager};f.div?g.AnnotationLayer.update(w):(f.div=document.createElement("div"),f.div.className="annotationLayer",f.pageDiv.append(f.div),w.div=f.div,g.AnnotationLayer.render(w),f.l10n.translate(f.div))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.SimpleLinkService=u.PDFLinkService=u.LinkTarget=void 0;var g=l(7);const p={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function C(f,{url:y,target:S,rel:M,enabled:w=!0}={}){if(!y||"string"!=typeof y)throw new Error('A valid "url" parameter must provided.');const A=(0,g.removeNullCharacters)(y);w?f.href=f.title=A:(f.href="",f.title=`Disabled: ${A}`,f.onclick=()=>!1);let O="";switch(S){case p.NONE:break;case p.SELF:O="_self";break;case p.BLANK:O="_blank";break;case p.PARENT:O="_parent";break;case p.TOP:O="_top"}f.target=O,f.rel="string"==typeof M?M:"noopener noreferrer nofollow"}u.LinkTarget=p;class b{#e=new Map;constructor({eventBus:y,externalLinkTarget:S=null,externalLinkRel:M=null,ignoreDestinationZoom:w=!1}={}){this.eventBus=y,this.externalLinkTarget=S,this.externalLinkRel=M,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=w,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(y,S=null){this.baseUrl=S,this.pdfDocument=y,this.#e.clear()}setViewer(y){this.pdfViewer=y}setHistory(y){this.pdfHistory=y}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(y){this.pdfViewer.currentPageNumber=y}get rotation(){return this.pdfViewer.pagesRotation}set rotation(y){this.pdfViewer.pagesRotation=y}#t(y,S=null,M){const w=M[0];let A;if("object"==typeof w&&null!==w){if(A=this._cachedPageNumber(w),!A)return void this.pdfDocument.getPageIndex(w).then(O=>{this.cachePageRef(O+1,w),this.#t(y,S,M)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${w}" is not a valid page reference, for dest="${y}".`)})}else{if(!Number.isInteger(w))return void console.error(`PDFLinkService.#goToDestinationHelper: "${w}" is not a valid destination reference, for dest="${y}".`);A=w+1}!A||A<1||A>this.pagesCount?console.error(`PDFLinkService.#goToDestinationHelper: "${A}" is not a valid page number, for dest="${y}".`):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:S,explicitDest:M,pageNumber:A})),this.pdfViewer.scrollPageIntoView({pageNumber:A,destArray:M,ignoreDestinationZoom:this._ignoreDestinationZoom}))}goToDestination(y){var S=this;return n(function*(){if(!S.pdfDocument)return;let M,w;"string"==typeof y?(M=y,w=yield S.pdfDocument.getDestination(y)):(M=null,w=yield y),Array.isArray(w)?S.#t(y,M,w):console.error(`PDFLinkService.goToDestination: "${w}" is not a valid destination array, for dest="${y}".`)})()}goToPage(y){if(!this.pdfDocument)return;const S="string"==typeof y&&this.pdfViewer.pageLabelToPageNumber(y)||0|y;Number.isInteger(S)&&S>0&&S<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(S)),this.pdfViewer.scrollPageIntoView({pageNumber:S})):console.error(`PDFLinkService.goToPage: "${y}" is not a valid page.`)}addLinkAttributes(y,S,M=!1){C(y,{url:S,target:M?p.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(y){if("string"==typeof y){if(y.length>0)return this.getAnchorUrl("#"+escape(y))}else if(Array.isArray(y)){const S=JSON.stringify(y);if(S.length>0)return this.getAnchorUrl("#"+escape(S))}return this.getAnchorUrl("")}getAnchorUrl(y){return(this.baseUrl||"")+y}setHash(y){if(!this.pdfDocument)return;let S,M;if(y.includes("=")){const w=(0,g.parseQueryString)(y);if(w.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:w.get("search").replace(/"/g,""),phraseSearch:"true"===w.get("phrase")}),w.has("page")&&(S=0|w.get("page")||1),w.has("zoom")){const A=w.get("zoom").split(","),O=A[0],F=parseFloat(O);O.includes("Fit")?"Fit"===O||"FitB"===O?M=[null,{name:O}]:"FitH"===O||"FitBH"===O||"FitV"===O||"FitBV"===O?M=[null,{name:O},A.length>1?0|A[1]:null]:"FitR"===O?5!==A.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):M=[null,{name:O},0|A[1],0|A[2],0|A[3],0|A[4]]:console.error(`PDFLinkService.setHash: "${O}" is not a valid zoom value.`):M=[null,{name:"XYZ"},A.length>1?0|A[1]:null,A.length>2?0|A[2]:null,F?F/100:O]}M?this.pdfViewer.scrollPageIntoView({pageNumber:S||this.page,destArray:M,allowNegativeOffset:!0}):S&&(this.page=S),w.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:w.get("pagemode")}),w.has("nameddest")&&this.goToDestination(w.get("nameddest"))}else{M=unescape(y);try{M=JSON.parse(M),Array.isArray(M)||(M=M.toString())}catch{}if("string"==typeof M||b.#n(M))return void this.goToDestination(M);console.error(`PDFLinkService.setHash: "${unescape(y)}" is not a valid destination.`)}}executeNamedAction(y){switch(y){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:y})}cachePageRef(y,S){S&&this.#e.set(0===S.gen?`${S.num}R`:`${S.num}R${S.gen}`,y)}_cachedPageNumber(y){return y&&this.#e.get(0===y.gen?`${y.num}R`:`${y.num}R${y.gen}`)||null}isPageVisible(y){return this.pdfViewer.isPageVisible(y)}isPageCached(y){return this.pdfViewer.isPageCached(y)}static#n(y){if(!Array.isArray(y))return!1;const S=y.length;if(S<2)return!1;const M=y[0];if(!("object"==typeof M&&Number.isInteger(M.num)&&Number.isInteger(M.gen)||Number.isInteger(M)&&M>=0))return!1;const w=y[1];if("object"!=typeof w||"string"!=typeof w.name)return!1;let A=!0;switch(w.name){case"XYZ":if(5!==S)return!1;break;case"Fit":case"FitB":return 2===S;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==S)return!1;break;case"FitR":if(6!==S)return!1;A=!1;break;default:return!1}for(let O=2;O{Object.defineProperty(u,"__esModule",{value:!0}),u.animationStarted=u.VERTICAL_PADDING=u.UNKNOWN_SCALE=u.TextLayerMode=u.SpreadMode=u.SidebarView=u.ScrollMode=u.SCROLLBAR_PADDING=u.RenderingStates=u.RendererType=u.ProgressBar=u.PresentationModeState=u.OutputScale=u.MIN_SCALE=u.MAX_SCALE=u.MAX_AUTO_SCALE=u.DEFAULT_SCALE_VALUE=u.DEFAULT_SCALE_DELTA=u.DEFAULT_SCALE=u.AutoPrintRegExp=void 0,u.apiPageLayoutToViewerModes=function et(je){let Pe=F.VERTICAL,bt=j.NONE;switch(je){case"SinglePage":Pe=F.PAGE;break;case"OneColumn":break;case"TwoPageLeft":Pe=F.PAGE;case"TwoColumnLeft":bt=j.ODD;break;case"TwoPageRight":Pe=F.PAGE;case"TwoColumnRight":bt=j.EVEN}return{scrollMode:Pe,spreadMode:bt}},u.apiPageModeToSidebarView=function De(je){switch(je){case"UseNone":return w.NONE;case"UseThumbs":return w.THUMBS;case"UseOutlines":return w.OUTLINE;case"UseAttachments":return w.ATTACHMENTS;case"UseOC":return w.LAYERS}return w.NONE},u.approximateFraction=function se(je){if(Math.floor(je)===je)return[je,1];const Pe=1/je;if(Pe>8)return[1,8];if(Math.floor(Pe)===Pe)return[1,Pe];const Qe=je>1?Pe:je;let bn,Ut=0,sn=1,un=1,Sn=1;for(;;){const kt=Ut+un,jt=sn+Sn;if(jt>8)break;Qe<=kt/jt?(un=kt,Sn=jt):(Ut=kt,sn=jt)}return bn=Qe-Ut/snSn}:function kt(Bt){const Zt=Bt.div;return Zt.offsetTop+Zt.clientTop+Zt.clientHeight>sn});Ce>0&&Ce=un&&(Ge=er);else if((Qe?Dt:Ot)>Ge)break;if(er<=sn||Ot>=un||Yn<=Sn||Dt>=bn)continue;const kn=Math.max(0,sn-Ot)+Math.max(0,er-un),mt=(pn-(Math.max(0,Sn-Dt)+Math.max(0,Yn-bn)))/pn;Fe.push({id:Zt.id,x:Dt,y:Ot,view:Zt,percent:(Vn-kn)/Vn*mt*100|0,widthPercent:100*mt|0}),Ee.add(Zt.id)}const Je=Fe[0],vt=Fe.at(-1);return bt&&Fe.sort(function(Bt,Zt){const Rt=Bt.percent-Zt.percent;return Math.abs(Rt)>.001?-Rt:Bt.id-Zt.id}),{first:Je,last:vt,views:Fe,ids:Ee}},u.isPortraitOrientation=function Re(je){return je.width<=je.height},u.isValidRotation=function he(je){return Number.isInteger(je)&&je%90==0},u.isValidScrollMode=function _e(je){return Number.isInteger(je)&&Object.values(F).includes(je)&&je!==F.UNKNOWN},u.isValidSpreadMode=function Oe(je){return Number.isInteger(je)&&Object.values(j).includes(je)&&je!==j.UNKNOWN},u.noContextMenuHandler=function W(je){je.preventDefault()},u.normalizeWheelEventDelta=function q(je){let Pe=Y(je);return 0===je.deltaMode?Pe/=900:1===je.deltaMode&&(Pe/=30),Pe},u.normalizeWheelEventDirection=Y,u.parseQueryString=function x(je){const Pe=new Map;for(const[bt,Qe]of new URLSearchParams(je))Pe.set(bt.toLowerCase(),Qe);return Pe},u.removeNullCharacters=function te(je,Pe=!1){return"string"!=typeof je?(console.error("The argument must be a string."),je):(Pe&&(je=je.replace(G," ")),je.replace(H,""))},u.roundToDivide=function K(je,Pe){const bt=je%Pe;return 0===bt?je:Math.round(je-bt+Pe)},u.scrollIntoView=function k(je,Pe,bt=!1){let Qe=je.offsetParent;if(!Qe)return void console.error("offsetParent is not set -- cannot scroll");let Ut=je.offsetTop+je.clientTop,sn=je.offsetLeft+je.clientLeft;for(;Qe.clientHeight===Qe.scrollHeight&&Qe.clientWidth===Qe.scrollWidth||bt&&(Qe.classList.contains("markedContent")||"hidden"===getComputedStyle(Qe).overflow);)if(Ut+=Qe.offsetTop,sn+=Qe.offsetLeft,Qe=Qe.offsetParent,!Qe)return;Pe&&(void 0!==Pe.top&&(Ut+=Pe.top),void 0!==Pe.left&&(sn+=Pe.left,Qe.scrollLeft=sn)),Qe.scrollTop=Ut},u.watchScroll=function N(je,Pe){const bt=function(sn){Ut||(Ut=window.requestAnimationFrame(function(){Ut=null;const Sn=je.scrollLeft,bn=Qe.lastX;Sn!==bn&&(Qe.right=Sn>bn),Qe.lastX=Sn;const kt=je.scrollTop,jt=Qe.lastY;kt!==jt&&(Qe.down=kt>jt),Qe.lastY=kt,Pe(Qe)}))},Qe={right:!0,down:!0,lastX:je.scrollLeft,lastY:je.scrollTop,_eventHandler:bt};let Ut=null;return je.addEventListener("scroll",bt,!0),Qe},u.DEFAULT_SCALE_VALUE="auto",u.DEFAULT_SCALE=1,u.DEFAULT_SCALE_DELTA=1.1,u.MIN_SCALE=.1,u.MAX_SCALE=10,u.UNKNOWN_SCALE=0,u.MAX_AUTO_SCALE=1.25,u.SCROLLBAR_PADDING=40,u.VERTICAL_PADDING=5,u.RenderingStates={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},u.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};const w={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};u.SidebarView=w,u.RendererType={CANVAS:"canvas",SVG:"svg"},u.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};const F={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};u.ScrollMode=F;const j={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};u.SpreadMode=j,u.AutoPrintRegExp=/\bprint\s*\(/,u.OutputScale=class I{constructor(){const Pe=window.devicePixelRatio||1;this.sx=Pe,this.sy=Pe}get scaled(){return 1!==this.sx||1!==this.sy}};const H=/\x00/g,G=/[\x01-\x1F]/g;function ce(je,Pe,bt=0){let Qe=bt,Ut=je.length-1;if(Ut<0||!Pe(je[Ut]))return je.length;if(Pe(je[Qe]))return Qe;for(;Qe>1;Pe(je[sn])?Ut=sn:Qe=sn+1}return Qe}function re(je,Pe,bt){if(je<2)return je;let Qe=Pe[je].div,Ut=Qe.offsetTop+Qe.clientTop;Ut>=bt&&(Qe=Pe[je-1].div,Ut=Qe.offsetTop+Qe.clientTop);for(let sn=je-2;sn>=0&&(Qe=Pe[sn].div,!(Qe.offsetTop+Qe.clientTop+Qe.clientHeight<=Ut));--sn)je=sn;return je}function Y(je){let Pe=Math.hypot(je.deltaX,je.deltaY);const bt=Math.atan2(je.deltaY,je.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const bt=document.getElementById(Pe);this.#e=bt.classList}get percent(){return this.#t}set percent(Pe){this.#t=function Ne(je,Pe,bt){return Math.min(Math.max(je,Pe),bt)}(Pe,0,100),isNaN(Pe)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),ge.setProperty("--progressBar-percent",`${this.#t}%`))}setWidth(Pe){if(!Pe)return;const Qe=Pe.parentNode.offsetWidth-Pe.offsetWidth;Qe>0&&ge.setProperty("--progressBar-end-offset",`${Qe}px`)}hide(){this.#n&&(this.#n=!1,this.#e.add("hidden"))}show(){this.#n||(this.#n=!0,this.#e.remove("hidden"))}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.StructTreeLayerBuilder=void 0;const l={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},g=/^H(\d+)$/;u.StructTreeLayerBuilder=class v{constructor({pdfPage:C}){this.pdfPage=C}render(C){return this._walk(C)}_setAttributes(C,b){void 0!==C.alt&&b.setAttribute("aria-label",C.alt),void 0!==C.id&&b.setAttribute("aria-owns",C.id),void 0!==C.lang&&b.setAttribute("lang",C.lang)}_walk(C){if(!C)return null;const b=document.createElement("span");if("role"in C){const{role:_}=C,f=_.match(g);f?(b.setAttribute("role","heading"),b.setAttribute("aria-level",f[1])):l[_]&&b.setAttribute("role",l[_])}if(this._setAttributes(C,b),C.children)if(1===C.children.length&&"id"in C.children[0])this._setAttributes(C.children[0],b);else for(const _ of C.children)b.append(this._walk(_));return b}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextLayerBuilder=void 0;var g=l(3);u.TextLayerBuilder=class p{constructor({textLayerDiv:b,eventBus:_,pageIndex:f,viewport:y,highlighter:S=null,enhanceTextSelection:M=!1,accessibilityManager:w=null}){this.textLayerDiv=b,this.eventBus=_,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=f+1,this.viewport=y,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=S,this.enhanceTextSelection=M,this.accessibilityManager=w,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const b=document.createElement("div");b.className="endOfContent",this.textLayerDiv.append(b)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(b=0){if(!this.textContent&&!this.textContentStream||this.renderingDone)return;this.cancel(),this.textDivs.length=0,this.highlighter?.setTextMapping(this.textDivs,this.textContentItemsStr),this.accessibilityManager?.setTextMapping(this.textDivs);const _=document.createDocumentFragment();this.textLayerRenderTask=(0,g.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:_,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:b,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{this.textLayerDiv.append(_),this._finishRendering(),this.highlighter?.enable(),this.accessibilityManager?.enable()},function(f){})}cancel(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.highlighter?.disable(),this.accessibilityManager?.disable()}setTextContentStream(b){this.cancel(),this.textContentStream=b}setTextContent(b){this.cancel(),this.textContent=b}_bindMouse(){const b=this.textLayerDiv;let _=null;b.addEventListener("mousedown",f=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return this.textLayerRenderTask.expandTextDivs(!0),void(_&&(clearTimeout(_),_=null));const y=b.querySelector(".endOfContent");if(!y)return;let S=f.target!==b;if(S=S&&"none"!==window.getComputedStyle(y).getPropertyValue("-moz-user-select"),S){const M=b.getBoundingClientRect(),w=Math.max(0,(f.pageY-M.top)/M.height);y.style.top=(100*w).toFixed(2)+"%"}y.classList.add("active")}),b.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return void(_=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),_=null},300));const f=b.querySelector(".endOfContent");f&&(f.style.top="",f.classList.remove("active"))})}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.XfaLayerBuilder=void 0;var g=l(3);u.XfaLayerBuilder=class v{constructor({pageDiv:C,pdfPage:b,annotationStorage:_=null,linkService:f,xfaHtml:y=null}){this.pageDiv=C,this.pdfPage=b,this.annotationStorage=_,this.linkService=f,this.xfaHtml=y,this.div=null,this._cancelled=!1}render(C,b="display"){if("print"===b){const _={viewport:C.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:b},f=document.createElement("div");this.pageDiv.append(f),_.div=f;const y=g.XfaLayer.render(_);return Promise.resolve(y)}return this.pdfPage.getXfa().then(_=>{if(this._cancelled||!_)return{textDivs:[]};const f={viewport:C.clone({dontFlip:!0}),div:this.div,xfaHtml:_,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:b};return this.div?g.XfaLayer.update(f):(this.div=document.createElement("div"),this.pageDiv.append(this.div),f.div=this.div,g.XfaLayer.render(f))}).catch(_=>{console.error(_)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFViewer=u.PDFSinglePageViewer=void 0;var g=l(7),v=l(12);u.PDFViewer=class p extends v.BaseViewer{},u.PDFSinglePageViewer=class C extends v.BaseViewer{_resetView(){super._resetView(),this._scrollMode=g.ScrollMode.PAGE,this._spreadMode=g.SpreadMode.NONE}set scrollMode(_){}_updateScrollMode(){}set spreadMode(_){}_updateSpreadMode(){}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PagesCountLimit=u.PDFPageViewBuffer=u.BaseViewer=void 0;var g=l(3),v=l(7),p=l(2),C=l(5),b=l(4),_=l(13),f=l(16),y=l(6),S=l(8),M=l(17),w=l(9),A=l(10);const F="enablePermissions",j={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};function T(N){return Object.values(g.AnnotationEditorType).includes(N)&&N!==g.AnnotationEditorType.DISABLE}u.PagesCountLimit=j;class I{#e=new Set;#t=0;constructor(x){this.#t=x}push(x){const H=this.#e;H.has(x)&&H.delete(x),H.add(x),H.size>this.#t&&this.#n()}resize(x,H=null){this.#t=x;const G=this.#e;if(H){const te=G.size;let ce=1;for(const se of G)if(H.has(se.id)&&(G.delete(se),G.add(se)),++ce>te)break}for(;G.size>this.#t;)this.#n()}has(x){return this.#e.has(x)}[Symbol.iterator](){return this.#e.keys()}#n(){const x=this.#e.keys().next().value;x?.destroy(),this.#e.delete(x)}}u.PDFPageViewBuffer=I;class k{#e=null;#t=g.AnnotationEditorType.DISABLE;#n=null;#r=g.AnnotationMode.ENABLE_FORMS;#o=!1;#c=0;#a=null;#i=null;constructor(x){if(this.constructor===k)throw new Error("Cannot initialize BaseViewer.");const H="2.16.105";if(g.version!==H)throw new Error(`The API version "${g.version}" does not match the Viewer version "${H}".`);if(this.container=x.container,this.viewer=x.viewer||x.container.firstElementChild,"DIV"!==this.container?.tagName.toUpperCase()||"DIV"!==this.viewer?.tagName.toUpperCase())throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=x.eventBus,this.linkService=x.linkService||new y.SimpleLinkService,this.downloadManager=x.downloadManager||null,this.findController=x.findController||null,this._scriptingManager=x.scriptingManager||null,this.removePageBorders=x.removePageBorders||!1,this.textLayerMode=x.textLayerMode??v.TextLayerMode.ENABLE,this.#r=x.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.#t=x.annotationEditorMode??g.AnnotationEditorType.DISABLE,this.imageResourcesPath=x.imageResourcesPath||"",this.enablePrintAutoRotate=x.enablePrintAutoRotate||!1,this.renderer=x.renderer||v.RendererType.CANVAS,this.useOnlyCssZoom=x.useOnlyCssZoom||!1,this.maxCanvasPixels=x.maxCanvasPixels,this.l10n=x.l10n||b.NullL10n,this.#o=x.enablePermissions||!1,this.pageColors=x.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!x.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new f.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=x.renderingQueue,this.scroll=(0,v.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=v.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(x){return this._pages[x]}get pageViewsReady(){return!!this._pagesCapability.settled&&this._pages.every(function(x){return x?.pdfPage})}get renderForms(){return this.#r===g.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(x){if(!Number.isInteger(x))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(x,!0)||console.error(`currentPageNumber: "${x}" is not a valid page.`))}_setCurrentPageNumber(x,H=!1){if(this._currentPageNumber===x)return H&&this.#f(),!0;if(!(0=0&&(H=G+1)}this._setCurrentPageNumber(H,!0)||console.error(`currentPageLabel: "${x}" is not a valid page.`)}get currentScale(){return this._currentScale!==v.UNKNOWN_SCALE?this._currentScale:v.DEFAULT_SCALE}set currentScale(x){if(isNaN(x))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(x,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(x){this.pdfDocument&&this._setScale(x,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(x){if(!(0,v.isValidRotation)(x))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((x%=360)<0&&(x+=360),this._pagesRotation===x))return;this._pagesRotation=x;const H=this._currentPageNumber,G={rotation:x};for(const te of this._pages)te.update(G);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:x,pageNumber:H}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}#h(x){const H={annotationEditorMode:this.#t,annotationMode:this.#r,textLayerMode:this.textLayerMode};return x&&(x.includes(g.PermissionFlag.COPY)||this.viewer.classList.add(F),x.includes(g.PermissionFlag.MODIFY_CONTENTS)||(H.annotationEditorMode=g.AnnotationEditorType.DISABLE),!x.includes(g.PermissionFlag.MODIFY_ANNOTATIONS)&&!x.includes(g.PermissionFlag.FILL_INTERACTIVE_FORMS)&&this.#r===g.AnnotationMode.ENABLE_FORMS&&(H.annotationMode=g.AnnotationMode.ENABLE)),H}#u(){if("hidden"===document.visibilityState||!this.container.offsetParent||0===this._getVisiblePages().views.length)return Promise.resolve();const x=new Promise(H=>{this.#i=()=>{"hidden"===document.visibilityState&&(H(),document.removeEventListener("visibilitychange",this.#i),this.#i=null)},document.addEventListener("visibilitychange",this.#i)});return Promise.race([this._onePageRenderedCapability.promise,x])}setDocument(x){var H=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),this.#n&&(this.#n.destroy(),this.#n=null)),this.pdfDocument=x,!x)return;const G=x.isPureXfa,te=x.numPages,ce=x.getPage(1),se=x.getOptionalContentConfig(),K=this.#o?x.getPermissions():Promise.resolve();if(te>j.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Z=this._scrollMode=v.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Z})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:te})},()=>{}),this._onBeforeDraw=Z=>{const re=this._pages[Z.pageNumber-1];re&&this.#e.push(re)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=Z=>{Z.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:Z.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([ce,K]).then(([Z,re])=>{if(x!==this.pdfDocument)return;this._firstPageCapability.resolve(Z),this._optionalContentConfigPromise=se;const{annotationEditorMode:X,annotationMode:W,textLayerMode:Y}=this.#h(re);if(X!==g.AnnotationEditorType.DISABLE){const it=X;G?console.warn("Warning: XFA-editing is not implemented."):T(it)?(this.#n=new g.AnnotationEditorUIManager(this.container,this.eventBus),it!==g.AnnotationEditorType.NONE&&this.#n.updateMode(it)):console.error(`Invalid AnnotationEditor mode: ${it}`)}const q=this._scrollMode===v.ScrollMode.PAGE?null:this.viewer,he=this.currentScale,_e=Z.getViewport({scale:he*g.PixelsPerInch.PDF_TO_CSS_UNITS}),Oe=Y===v.TextLayerMode.DISABLE||G?null:this,Re=W!==g.AnnotationMode.DISABLE?this:null,Ae=G?this:null,ge=this.#n?this:null;for(let it=1;it<=te;++it){const qe=new _.PDFPageView({container:q,eventBus:this.eventBus,id:it,scale:he,defaultViewport:_e.clone(),optionalContentConfigPromise:se,renderingQueue:this.renderingQueue,textLayerFactory:Oe,textLayerMode:Y,annotationLayerFactory:Re,annotationMode:W,xfaLayerFactory:Ae,annotationEditorLayerFactory:ge,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(qe)}const Ne=this._pages[0];Ne&&(Ne.setPdfPage(Z),this.linkService.cachePageRef(1,Z.ref)),this._scrollMode===v.ScrollMode.PAGE?this.#l():this._spreadMode!==v.SpreadMode.NONE&&this._updateSpreadMode(),this.#u().then(n(function*(){if(H.findController&&H.findController.setDocument(x),H._scriptingManager&&H._scriptingManager.setDocument(x),H.#n&&H.eventBus.dispatch("annotationeditormodechanged",{source:H,mode:H.#t}),x.loadingParams.disableAutoFetch||te>j.FORCE_LAZY_PAGE_INIT)return void H._pagesCapability.resolve();let it=te-1;if(it<=0)H._pagesCapability.resolve();else for(let qe=2;qe<=te;++qe){const et=x.getPage(qe).then(De=>{const je=H._pages[qe-1];je.pdfPage||je.setPdfPage(De),H.linkService.cachePageRef(qe,De.ref),0==--it&&H._pagesCapability.resolve()},De=>{console.error(`Unable to get page ${qe} to initialize viewer`,De),0==--it&&H._pagesCapability.resolve()});qe%j.PAUSE_EAGER_PAGE_INIT==0&&(yield et)}})),this.eventBus.dispatch("pagesinit",{source:this}),x.getMetadata().then(({info:it})=>{x===this.pdfDocument&&it.Language&&(this.viewer.lang=it.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Z=>{console.error("Unable to initialize viewer",Z),this._pagesCapability.reject(Z)})}setPageLabels(x){if(this.pdfDocument){x?Array.isArray(x)&&this.pdfDocument.numPages===x.length?this._pageLabels=x:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let H=0,G=this._pages.length;H=H.previousPageNumber,H.previousPageNumber=x}_scrollUpdate(){0!==this.pagesCount&&this.update()}#s(x,H=null){const{div:G,id:te}=x;if(this._scrollMode===v.ScrollMode.PAGE&&(this._setCurrentPageNumber(te),this.#l(),this.update()),!H&&!this.isInPresentationMode){const ce=G.offsetLeft+G.clientLeft,se=ce+G.clientWidth,{scrollLeft:K,clientWidth:Z}=this.container;(this._scrollMode===v.ScrollMode.HORIZONTAL||ceK+Z)&&(H={left:0,top:0})}(0,v.scrollIntoView)(G,H)}#g(x){return x===this._currentScale||Math.abs(x-this._currentScale)<1e-15}_setScaleUpdatePages(x,H,G=!1,te=!1){if(this._currentScaleValue=H.toString(),this.#g(x))return void(te&&this.eventBus.dispatch("scalechanging",{source:this,scale:x,presetValue:H}));v.docStyle.setProperty("--scale-factor",x*g.PixelsPerInch.PDF_TO_CSS_UNITS);const ce={scale:x};for(const se of this._pages)se.update(ce);if(this._currentScale=x,!G){let K,se=this._currentPageNumber;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(se=this._location.pageNumber,K=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:se,destArray:K,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:x,presetValue:te?H:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==v.SpreadMode.NONE&&this._scrollMode!==v.ScrollMode.HORIZONTAL?2:1}_setScale(x,H=!1){let G=parseFloat(x);if(G>0)this._setScaleUpdatePages(G,x,H,!1);else{const te=this._pages[this._currentPageNumber-1];if(!te)return;let ce=v.SCROLLBAR_PADDING,se=v.VERTICAL_PADDING;this.isInPresentationMode?ce=se=4:this.removePageBorders?ce=se=0:this._scrollMode===v.ScrollMode.HORIZONTAL&&([ce,se]=[se,ce]);const K=(this.container.clientWidth-ce)/te.width*te.scale/this._pageWidthScaleFactor,Z=(this.container.clientHeight-se)/te.height*te.scale;switch(x){case"page-actual":G=1;break;case"page-width":G=K;break;case"page-height":G=Z;break;case"page-fit":G=Math.min(K,Z);break;case"auto":const re=(0,v.isPortraitOrientation)(te)?K:Math.min(Z,K);G=Math.min(v.MAX_AUTO_SCALE,re);break;default:return void console.error(`_setScale: "${x}" is an unknown zoom value.`)}this._setScaleUpdatePages(G,x,H,!0)}}#f(){const x=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this.#s(x)}pageLabelToPageNumber(x){if(!this._pageLabels)return null;const H=this._pageLabels.indexOf(x);return H<0?null:H+1}scrollPageIntoView({pageNumber:x,destArray:H=null,allowNegativeOffset:G=!1,ignoreDestinationZoom:te=!1}){if(!this.pdfDocument)return;const ce=Number.isInteger(x)&&this._pages[x-1];if(!ce)return void console.error(`scrollPageIntoView: "${x}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!H)return void this._setCurrentPageNumber(x,!0);let X,W,se=0,K=0,Z=0,re=0;const Y=ce.rotation%180!=0,q=(Y?ce.height:ce.width)/ce.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS,he=(Y?ce.width:ce.height)/ce.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS;let _e=0;switch(H[1].name){case"XYZ":se=H[2],K=H[3],_e=H[4],se=null!==se?se:0,K=null!==K?K:he;break;case"Fit":case"FitB":_e="page-fit";break;case"FitH":case"FitBH":K=H[2],_e="page-width",null===K&&this._location?(se=this._location.left,K=this._location.top):("number"!=typeof K||K<0)&&(K=he);break;case"FitV":case"FitBV":se=H[2],Z=q,re=he,_e="page-height";break;case"FitR":se=H[2],K=H[3],Z=H[4]-se,re=H[5]-K,X=(this.container.clientWidth-(this.removePageBorders?0:v.SCROLLBAR_PADDING))/Z/g.PixelsPerInch.PDF_TO_CSS_UNITS,W=(this.container.clientHeight-(this.removePageBorders?0:v.VERTICAL_PADDING))/re/g.PixelsPerInch.PDF_TO_CSS_UNITS,_e=Math.min(Math.abs(X),Math.abs(W));break;default:return void console.error(`scrollPageIntoView: "${H[1].name}" is not a valid destination type.`)}if(te||(_e&&_e!==this._currentScale?this.currentScaleValue=_e:this._currentScale===v.UNKNOWN_SCALE&&(this.currentScaleValue=v.DEFAULT_SCALE_VALUE)),"page-fit"===_e&&!H[4])return void this.#s(ce);const Oe=[ce.viewport.convertToViewportPoint(se,K),ce.viewport.convertToViewportPoint(se+Z,K+re)];let Re=Math.min(Oe[0][0],Oe[1][0]),Ae=Math.min(Oe[0][1],Oe[1][1]);G||(Re=Math.max(Re,0),Ae=Math.max(Ae,0)),this.#s(ce,{left:Re,top:Ae})}_updateLocation(x){const H=this._currentScale,G=this._currentScaleValue,te=parseFloat(G)===H?Math.round(1e4*H)/100:G,ce=x.id,K=this.container,Z=this._pages[ce-1].getPagePoint(K.scrollLeft-x.x,K.scrollTop-x.y),re=Math.round(Z[0]),X=Math.round(Z[1]);let W=`#page=${ce}`;this.isInPresentationMode||(W+=`&zoom=${te},${re},${X}`),this._location={pageNumber:ce,scale:te,top:X,left:re,rotation:this._pagesRotation,pdfOpenParams:W}}update(){const x=this._getVisiblePages(),H=x.views,G=H.length;if(0===G)return;const te=Math.max(10,2*G+1);this.#e.resize(te,x.ids),this.renderingQueue.renderHighestPriority(x);const ce=this._spreadMode===v.SpreadMode.NONE&&(this._scrollMode===v.ScrollMode.PAGE||this._scrollMode===v.ScrollMode.VERTICAL),se=this._currentPageNumber;let K=!1;for(const Z of H){if(Z.percent<100)break;if(Z.id===se&&ce){K=!0;break}}this._setCurrentPageNumber(K?se:H[0].id),this._updateLocation(x.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(x){return this.container.contains(x)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return this.presentationModeState===v.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===v.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const x=this._scrollMode===v.ScrollMode.PAGE?this.#a.pages:this._pages,H=this._scrollMode===v.ScrollMode.HORIZONTAL;return(0,v.getVisibleElements)({scrollEl:this.container,views:x,sortByVisibility:!0,horizontal:H,rtl:H&&this._isContainerRtl})}isPageVisible(x){return!!this.pdfDocument&&(Number.isInteger(x)&&x>0&&x<=this.pagesCount?this._getVisiblePages().ids.has(x):(console.error(`isPageVisible: "${x}" is not a valid page.`),!1))}isPageCached(x){return!!this.pdfDocument&&(Number.isInteger(x)&&x>0&&x<=this.pagesCount?this.#e.has(this._pages[x-1]):(console.error(`isPageCached: "${x}" is not a valid page.`),!1))}cleanup(){for(const x of this._pages)x.renderingState!==v.RenderingStates.FINISHED&&x.reset()}_cancelRendering(){for(const x of this._pages)x.cancelRendering()}#v(x){var H=this;return n(function*(){if(x.pdfPage)return x.pdfPage;try{const G=yield H.pdfDocument.getPage(x.id);return x.pdfPage||x.setPdfPage(G),H.linkService._cachedPageNumber?.(G.ref)||H.linkService.cachePageRef(x.id,G.ref),G}catch(G){return console.error("Unable to get page for page view",G),null}})()}#p(x){if(1===x.first?.id)return!0;if(x.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case v.ScrollMode.PAGE:return this.#a.scrollDown;case v.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}#_(x){for(const H of x)this._pages[H-1]?.toggleLoadingIconSpinner(!0);for(const H of this.#e)x.has(H.id)||H.toggleLoadingIconSpinner(!1)}forceRendering(x){const H=x||this._getVisiblePages(),G=this.#p(H),ce=this.renderingQueue.getHighestPriority(H,this._pages,G,this._spreadMode!==v.SpreadMode.NONE&&this._scrollMode!==v.ScrollMode.HORIZONTAL);return this.#_(H.ids),!!ce&&(this.#v(ce).then(()=>{this.renderingQueue.renderView(ce)}),!0)}createTextLayerBuilder({textLayerDiv:x,pageIndex:H,viewport:G,enhanceTextSelection:te=!1,eventBus:ce,highlighter:se,accessibilityManager:K=null}){return new w.TextLayerBuilder({textLayerDiv:x,eventBus:ce,pageIndex:H,viewport:G,enhanceTextSelection:!this.isInPresentationMode&&te,highlighter:se,accessibilityManager:K})}createTextHighlighter({pageIndex:x,eventBus:H}){return new M.TextHighlighter({eventBus:H,pageIndex:x,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder({pageDiv:x,pdfPage:H,annotationStorage:G=this.pdfDocument?.annotationStorage,imageResourcesPath:te="",renderForms:ce=!0,l10n:se=b.NullL10n,enableScripting:K=this.enableScripting,hasJSActionsPromise:Z=this.pdfDocument?.hasJSActions(),mouseState:re=this._scriptingManager?.mouseState,fieldObjectsPromise:X=this.pdfDocument?.getFieldObjects(),annotationCanvasMap:W=null,accessibilityManager:Y=null}){return new C.AnnotationLayerBuilder({pageDiv:x,pdfPage:H,annotationStorage:G,imageResourcesPath:te,renderForms:ce,linkService:this.linkService,downloadManager:this.downloadManager,l10n:se,enableScripting:K,hasJSActionsPromise:Z,mouseState:re,fieldObjectsPromise:X,annotationCanvasMap:W,accessibilityManager:Y})}createAnnotationEditorLayerBuilder({uiManager:x=this.#n,pageDiv:H,pdfPage:G,accessibilityManager:te=null,l10n:ce,annotationStorage:se=this.pdfDocument?.annotationStorage}){return new p.AnnotationEditorLayerBuilder({uiManager:x,pageDiv:H,pdfPage:G,annotationStorage:se,accessibilityManager:te,l10n:ce})}createXfaLayerBuilder({pageDiv:x,pdfPage:H,annotationStorage:G=this.pdfDocument?.annotationStorage}){return new A.XfaLayerBuilder({pageDiv:x,pdfPage:H,annotationStorage:G,linkService:this.linkService})}createStructTreeLayerBuilder({pdfPage:x}){return new S.StructTreeLayerBuilder({pdfPage:x})}get hasEqualPageSizes(){const x=this._pages[0];for(let H=1,G=this._pages.length;H{const H=x.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,v.isPortraitOrientation)(H)?{width:H.width,height:H.height,rotation:H.rotation}:{width:H.height,height:H.width,rotation:(H.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(x){if(!(x instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${x}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=x;const H={optionalContentConfigPromise:x};for(const G of this._pages)G.update(H);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:x})}get scrollMode(){return this._scrollMode}set scrollMode(x){if(this._scrollMode!==x){if(!(0,v.isValidScrollMode)(x))throw new Error(`Invalid scroll mode: ${x}`);this.pagesCount>j.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=x,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:x}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(x=null){const H=this._scrollMode,G=this.viewer;G.classList.toggle("scrollHorizontal",H===v.ScrollMode.HORIZONTAL),G.classList.toggle("scrollWrapped",H===v.ScrollMode.WRAPPED),this.pdfDocument&&x&&(H===v.ScrollMode.PAGE?this.#l():this._previousScrollMode===v.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(x,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(x){if(this._spreadMode!==x){if(!(0,v.isValidSpreadMode)(x))throw new Error(`Invalid spread mode: ${x}`);this._spreadMode=x,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:x}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(x=null){if(!this.pdfDocument)return;const H=this.viewer,G=this._pages;if(this._scrollMode===v.ScrollMode.PAGE)this.#l();else if(H.textContent="",this._spreadMode===v.SpreadMode.NONE)for(const te of this._pages)H.append(te.div);else{const te=this._spreadMode-1;let ce=null;for(let se=0,K=G.length;se=re;Z--){const W=ce[Z+1]-1;if(ce[Z]W)return W-x}if(H){const Z=ce[0];if(Zx)return Z-x+1}break}break}case v.ScrollMode.HORIZONTAL:break;case v.ScrollMode.PAGE:case v.ScrollMode.VERTICAL:{if(this._spreadMode===v.SpreadMode.NONE)break;const G=this._spreadMode-1;if(H&&x%2!==G)break;if(!H&&x%2===G)break;const{views:te}=this._getVisiblePages(),ce=H?x-1:x+1;for(const{id:se,percent:K,widthPercent:Z}of te)if(se===ce){if(K>0&&100===Z)return 2;break}break}}return 1}nextPage(){const x=this._currentPageNumber,H=this.pagesCount;if(x>=H)return!1;const G=this._getPageAdvance(x,!1)||1;return this.currentPageNumber=Math.min(x+G,H),!0}previousPage(){const x=this._currentPageNumber;if(x<=1)return!1;const H=this._getPageAdvance(x,!0)||1;return this.currentPageNumber=Math.max(x-H,1),!0}increaseScale(x=1){let H=this._currentScale;do{H=(H*v.DEFAULT_SCALE_DELTA).toFixed(2),H=Math.ceil(10*H)/10,H=Math.min(v.MAX_SCALE,H)}while(--x>0&&H0&&H>v.MIN_SCALE);this.currentScaleValue=H}updateContainerHeightCss(){const x=this.container.clientHeight;x!==this.#c&&(this.#c=x,v.docStyle.setProperty("--viewer-container-height",`${x}px`))}get annotationEditorMode(){return this.#n?this.#t:g.AnnotationEditorType.DISABLE}set annotationEditorMode(x){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");if(this.#t!==x){if(!T(x))throw new Error(`Invalid AnnotationEditor mode: ${x}`);this.pdfDocument&&(this.#t=x,this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:x}),this.#n.updateMode(x))}}set annotationEditorParams({type:x,value:H}){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");this.#n.updateParams(x,H)}refresh(){if(!this.pdfDocument)return;const x={};for(const H of this._pages)H.update(x);this.update()}}u.BaseViewer=k},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFPageView=void 0;var g=l(3),v=l(7),p=l(14),C=l(4),b=l(15);const _=p.compatibilityParams.maxCanvasPixels||16777216;u.PDFPageView=class f{#e=g.AnnotationMode.ENABLE_FORMS;#t={initialOptionalContent:!0,regularAnnotations:!0};constructor(S){const M=S.container,w=S.defaultViewport;this.id=S.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=S.scale||v.DEFAULT_SCALE,this.viewport=w,this.pdfPageRotate=w.rotation,this._optionalContentConfigPromise=S.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=S.textLayerMode??v.TextLayerMode.ENABLE,this.#e=S.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.imageResourcesPath=S.imageResourcesPath||"",this.useOnlyCssZoom=S.useOnlyCssZoom||!1,this.maxCanvasPixels=S.maxCanvasPixels||_,this.pageColors=S.pageColors||null,this.eventBus=S.eventBus,this.renderingQueue=S.renderingQueue,this.textLayerFactory=S.textLayerFactory,this.annotationLayerFactory=S.annotationLayerFactory,this.annotationEditorLayerFactory=S.annotationEditorLayerFactory,this.xfaLayerFactory=S.xfaLayerFactory,this.textHighlighter=S.textHighlighterFactory?.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=S.structTreeLayerFactory,this.renderer=S.renderer||v.RendererType.CANVAS,this.l10n=S.l10n||C.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=v.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const A=document.createElement("div");if(A.className="page",A.style.width=Math.floor(this.viewport.width)+"px",A.style.height=Math.floor(this.viewport.height)+"px",A.setAttribute("data-page-number",this.id),A.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(O=>{A.setAttribute("aria-label",O)}),this.div=A,M?.append(A),this._isStandalone){const{optionalContentConfigPromise:O}=S;O&&O.then(F=>{O===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=F.hasInitialVisibility)})}}setPdfPage(S){this.pdfPage=S,this.pdfPageRotate=S.rotate,this.viewport=S.getViewport({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}_renderAnnotationLayer(){var S=this;return n(function*(){let M=null;try{yield S.annotationLayer.render(S.viewport,"display")}catch(w){console.error(`_renderAnnotationLayer: "${w}".`),M=w}finally{S.eventBus.dispatch("annotationlayerrendered",{source:S,pageNumber:S.id,error:M})}})()}_renderAnnotationEditorLayer(){var S=this;return n(function*(){let M=null;try{yield S.annotationEditorLayer.render(S.viewport,"display")}catch(w){console.error(`_renderAnnotationEditorLayer: "${w}".`),M=w}finally{S.eventBus.dispatch("annotationeditorlayerrendered",{source:S,pageNumber:S.id,error:M})}})()}_renderXfaLayer(){var S=this;return n(function*(){let M=null;try{const w=yield S.xfaLayer.render(S.viewport,"display");S.textHighlighter&&S._buildXfaTextContentItems(w.textDivs)}catch(w){console.error(`_renderXfaLayer: "${w}".`),M=w}finally{S.eventBus.dispatch("xfalayerrendered",{source:S,pageNumber:S.id,error:M})}})()}_buildXfaTextContentItems(S){var M=this;return n(function*(){const w=yield M.pdfPage.getTextContent(),A=[];for(const O of w.items)A.push(O.str);M.textHighlighter.setTextMapping(S,A),M.textHighlighter.enable()})()}_resetZoomLayer(S=!1){if(!this.zoomLayer)return;const M=this.zoomLayer.firstChild;this.paintedViewportMap.delete(M),M.width=0,M.height=0,S&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:S=!1,keepAnnotationLayer:M=!1,keepAnnotationEditorLayer:w=!1,keepXfaLayer:A=!1}={}){this.cancelRendering({keepAnnotationLayer:M,keepAnnotationEditorLayer:w,keepXfaLayer:A}),this.renderingState=v.RenderingStates.INITIAL;const O=this.div;O.style.width=Math.floor(this.viewport.width)+"px",O.style.height=Math.floor(this.viewport.height)+"px";const F=O.childNodes,j=S&&this.zoomLayer||null,T=M&&this.annotationLayer?.div||null,I=w&&this.annotationEditorLayer?.div||null,k=A&&this.xfaLayer?.div||null;for(let N=F.length-1;N>=0;N--){const x=F[N];switch(x){case j:case T:case I:case k:continue}x.remove()}O.removeAttribute("data-loaded"),T&&this.annotationLayer.hide(),I?this.annotationEditorLayer.hide():this.annotationEditorLayer?.destroy(),k&&this.xfaLayer.hide(),j||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(N=>{this.loadingIconDiv?.setAttribute("aria-label",N)}),O.append(this.loadingIconDiv)}update({scale:S=0,rotation:M=null,optionalContentConfigPromise:w=null}){if(this.scale=S||this.scale,"number"==typeof M&&(this.rotation=M),w instanceof Promise&&(this._optionalContentConfigPromise=w,w.then(F=>{w===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=F.hasInitialVisibility)})),this.viewport=this.viewport.clone({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this._isStandalone&&v.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg)return this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});let O=!1;if(this.canvas&&this.maxCanvasPixels>0){const F=this.outputScale;(Math.floor(this.viewport.width)*F.sx|0)*(Math.floor(this.viewport.height)*F.sy|0)>this.maxCanvasPixels&&(O=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&O)return this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering({keepAnnotationLayer:S=!1,keepAnnotationEditorLayer:M=!1,keepXfaLayer:w=!1}={}){this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!S||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!M||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!w||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this.textHighlighter?.disable()),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform({target:S,redrawAnnotationLayer:M=!1,redrawAnnotationEditorLayer:w=!1,redrawXfaLayer:A=!1}){const O=this.viewport.width,F=this.viewport.height,j=this.div;S.style.width=S.parentNode.style.width=j.style.width=Math.floor(O)+"px",S.style.height=S.parentNode.style.height=j.style.height=Math.floor(F)+"px";const T=this.viewport.rotation-this.paintedViewportMap.get(S).rotation,I=Math.abs(T);let k=1,N=1;if((90===I||270===I)&&(k=F/O,N=O/F),S.style.transform=`rotate(${T}deg) scale(${k}, ${N})`,this.textLayer){const x=this.textLayer.viewport,G=Math.abs(this.viewport.rotation-x.rotation);let te=O/x.width;(90===G||270===G)&&(te=O/x.height);const ce=this.textLayer.textLayerDiv;let se,K;switch(G){case 0:se=K=0;break;case 90:se=0,K="-"+ce.style.height;break;case 180:se="-"+ce.style.width,K="-"+ce.style.height;break;case 270:se="-"+ce.style.width,K=0;break;default:console.error("Bad rotation value.")}ce.style.transform=`rotate(${G}deg) scale(${te}) translate(${se}, ${K})`,ce.style.transformOrigin="0% 0%"}M&&this.annotationLayer&&this._renderAnnotationLayer(),w&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),A&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(S,M){return this.viewport.convertToPdfPoint(S,M)}toggleLoadingIconSpinner(S=!1){this.loadingIconDiv?.classList.toggle("notVisible",!S)}draw(){var S=this;this.renderingState!==v.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:M,pdfPage:w}=this;if(!w)return this.renderingState=v.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=v.RenderingStates.RUNNING;const A=document.createElement("div");A.style.width=M.style.width,A.style.height=M.style.height,A.classList.add("canvasWrapper");const O=this.annotationLayer?.div||this.annotationEditorLayer?.div;O?O.before(A):M.append(A);let F=null;if(this.textLayerMode!==v.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||=new b.TextAccessibilityManager;const N=document.createElement("div");N.className="textLayer",N.style.width=A.style.width,N.style.height=A.style.height,O?O.before(N):M.append(N),F=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:N,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===v.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=F,this.#e!==g.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||=new Map,this.annotationLayer||=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:M,pdfPage:w,imageResourcesPath:this.imageResourcesPath,renderForms:this.#e===g.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager})),this.xfaLayer?.div&&M.append(this.xfaLayer.div);let j=null;this.renderingQueue&&(j=N=>{if(!this.renderingQueue.isHighestPriority(this))return this.renderingState=v.RenderingStates.PAUSED,void(this.resume=()=>{this.renderingState=v.RenderingStates.RUNNING,N()});N()});const T=function(){var N=n(function*(x=null){if(I===S.paintTask&&(S.paintTask=null),x instanceof g.RenderingCancelledException)S._renderError=null;else if(S._renderError=x,S.renderingState=v.RenderingStates.FINISHED,S.loadingIconDiv&&(S.loadingIconDiv.remove(),delete S.loadingIconDiv),S._resetZoomLayer(!0),S.#t.regularAnnotations=!I.separateAnnots,S.eventBus.dispatch("pagerendered",{source:S,pageNumber:S.id,cssTransform:!1,timestamp:performance.now(),error:S._renderError}),x)throw x});return function(){return N.apply(this,arguments)}}(),I=this.renderer===v.RendererType.SVG?this.paintOnSvg(A):this.paintOnCanvas(A);I.onRenderContinue=j,this.paintTask=I;const k=I.promise.then(()=>T(null).then(()=>{if(F){const N=w.streamTextContent({includeMarkedContent:!0});F.setTextContentStream(N),F.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:M,pdfPage:w,l10n:this.l10n,accessibilityManager:this._accessibilityManager}),this._renderAnnotationEditorLayer())})}),function(N){return T(N)});return this.xfaLayerFactory&&(this.xfaLayer||=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:M,pdfPage:w}),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=N=>{N.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(x=>{if(!x||!this.canvas)return;const H=this.structTreeLayer.render(x);H.classList.add("structTree"),this.canvas.append(H)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:w})),M.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),k}paintOnCanvas(S){const M=(0,g.createPromiseCapability)(),w={promise:M.promise,onRenderContinue(te){te()},cancel(){G.cancel()},get separateAnnots(){return G.separateAnnots}},A=this.viewport,O=document.createElement("canvas");O.setAttribute("role","presentation"),O.hidden=!0;let F=!0;const j=function(){F&&(O.hidden=!1,F=!1)};S.append(O),this.canvas=O;const T=O.getContext("2d",{alpha:!1}),I=this.outputScale=new v.OutputScale;if(this.useOnlyCssZoom){const te=A.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});I.sx*=te.width/A.width,I.sy*=te.height/A.height}if(this.maxCanvasPixels>0){const ce=Math.sqrt(this.maxCanvasPixels/(A.width*A.height));I.sx>ce||I.sy>ce?(I.sx=ce,I.sy=ce,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const k=(0,v.approximateFraction)(I.sx),N=(0,v.approximateFraction)(I.sy);O.width=(0,v.roundToDivide)(A.width*I.sx,k[0]),O.height=(0,v.roundToDivide)(A.height*I.sy,N[0]),O.style.width=(0,v.roundToDivide)(A.width,k[1])+"px",O.style.height=(0,v.roundToDivide)(A.height,N[1])+"px",this.paintedViewportMap.set(O,A);const H={canvasContext:T,transform:I.scaled?[I.sx,0,0,I.sy,0,0]:null,viewport:this.viewport,annotationMode:this.#e,optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},G=this.pdfPage.render(H);return G.onContinue=function(te){j(),w.onRenderContinue?w.onRenderContinue(te):te()},G.promise.then(function(){j(),M.resolve()},function(te){j(),M.reject(te)}),w}paintOnSvg(S){let M=!1;const w=()=>{if(M)throw new g.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},A=this.pdfPage,O=this.viewport.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:A.getOperatorList({annotationMode:this.#e}).then(j=>(w(),new g.SVGGraphics(A.commonObjs,A.objs).getSVG(j,O).then(I=>{w(),this.svg=I,this.paintedViewportMap.set(I,O),I.style.width=S.style.width,I.style.height=S.style.height,this.renderingState=v.RenderingStates.FINISHED,S.append(I)}))),onRenderContinue(j){j()},cancel(){M=!0},get separateAnnots(){return!1}}}setPageLabel(S){this.pageLabel="string"==typeof S?S:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:S,regularAnnotations:M}=this.#t;return S&&M?this.canvas:null}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.compatibilityParams=u.OptionKind=u.AppOptions=void 0;const l=Object.create(null);u.compatibilityParams=l;{const b=navigator.userAgent||"",_=navigator.platform||"",f=navigator.maxTouchPoints||1,y=/Android/.test(b);(/\b(iPad|iPhone|iPod)(?=;)/.test(b)||"MacIntel"===_&&f>1||y)&&(l.maxCanvasPixels=5242880)}const g={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};u.OptionKind=g;const v={annotationEditorMode:{value:-1,kind:g.VIEWER+g.PREFERENCE},annotationMode:{value:2,kind:g.VIEWER+g.PREFERENCE},cursorToolOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},defaultZoomValue:{value:"",kind:g.VIEWER+g.PREFERENCE},disableHistory:{value:!1,kind:g.VIEWER},disablePageLabels:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePermissions:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:g.VIEWER+g.PREFERENCE},enableScripting:{value:!0,kind:g.VIEWER+g.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:g.VIEWER},externalLinkTarget:{value:0,kind:g.VIEWER+g.PREFERENCE},historyUpdateUrl:{value:!1,kind:g.VIEWER+g.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},imageResourcesPath:{value:"./images/",kind:g.VIEWER},maxCanvasPixels:{value:16777216,kind:g.VIEWER},forcePageColors:{value:!1,kind:g.VIEWER+g.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:g.VIEWER+g.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:g.VIEWER+g.PREFERENCE},pdfBugEnabled:{value:!1,kind:g.VIEWER+g.PREFERENCE},printResolution:{value:150,kind:g.VIEWER},sidebarViewOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},scrollModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},spreadModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},textLayerMode:{value:1,kind:g.VIEWER+g.PREFERENCE},useOnlyCssZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},viewerCssTheme:{value:0,kind:g.VIEWER+g.PREFERENCE},viewOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},cMapPacked:{value:!0,kind:g.API},cMapUrl:{value:"../web/cmaps/",kind:g.API},disableAutoFetch:{value:!1,kind:g.API+g.PREFERENCE},disableFontFace:{value:!1,kind:g.API+g.PREFERENCE},disableRange:{value:!1,kind:g.API+g.PREFERENCE},disableStream:{value:!1,kind:g.API+g.PREFERENCE},docBaseUrl:{value:"",kind:g.API},enableXfa:{value:!0,kind:g.API+g.PREFERENCE},fontExtraProperties:{value:!1,kind:g.API},isEvalSupported:{value:!0,kind:g.API},maxImageSize:{value:-1,kind:g.API},pdfBug:{value:!1,kind:g.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:g.API},verbosity:{value:1,kind:g.API},workerPort:{value:null,kind:g.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:g.WORKER}};v.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:g.VIEWER},v.disablePreferences={value:!1,kind:g.VIEWER},v.locale={value:navigator.language||"en-US",kind:g.VIEWER},v.renderer={value:"canvas",kind:g.VIEWER+g.PREFERENCE},v.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:g.VIEWER};const p=Object.create(null);u.AppOptions=class C{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(_){const f=p[_];if(void 0!==f)return f;const y=v[_];return void 0!==y?l[_]??y.value:void 0}static getAll(_=null){const f=Object.create(null);for(const y in v){const S=v[y];if(_){if(!(_&S.kind))continue;if(_===g.PREFERENCE){const w=S.value,A=typeof w;if("boolean"===A||"string"===A||"number"===A&&Number.isInteger(w)){f[y]=w;continue}throw new Error(`Invalid type for preference: ${y}`)}}const M=p[y];f[y]=void 0!==M?M:l[y]??S.value}return f}static set(_,f){p[_]=f}static setAll(_){for(const f in _)p[f]=_[f]}static remove(_){delete p[_]}static _hasUserOptions(){return Object.keys(p).length>0}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextAccessibilityManager=void 0;var g=l(7);class v{#e=!1;#t=null;#n=new Map;#r=new Map;setTextMapping(C){this.#t=C}static#o(C,b){const _=C.getBoundingClientRect(),f=b.getBoundingClientRect();if(0===_.width&&0===_.height)return 1;if(0===f.width&&0===f.height)return-1;const M=_.y+_.height/2,O=f.y+f.height/2;return M<=f.y&&O>=_.y+_.height?-1:O<=_.y&&M>=f.y+f.height?1:_.x+_.width/2-(f.x+f.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(v.#o),this.#n.size>0){const C=this.#t;for(const[b,_]of this.#n)document.getElementById(b)?this.#c(b,C[_]):this.#n.delete(b)}for(const[C,b]of this.#r)this.addPointerInTextLayer(C,b);this.#r.clear()}disable(){this.#e&&(this.#r.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(C){if(!this.#e)return void this.#r.delete(C);const b=this.#t;if(!b||0===b.length)return;const{id:_}=C,f=this.#n.get(_);if(void 0===f)return;const y=b[f];this.#n.delete(_);let S=y.getAttribute("aria-owns");S?.includes(_)&&(S=S.split(" ").filter(M=>M!==_).join(" "),S?y.setAttribute("aria-owns",S):(y.removeAttribute("aria-owns"),y.setAttribute("role","presentation")))}#c(C,b){const _=b.getAttribute("aria-owns");_?.includes(C)||b.setAttribute("aria-owns",_?`${_} ${C}`:C),b.removeAttribute("role")}addPointerInTextLayer(C,b){const{id:_}=C;if(!_)return;if(!this.#e)return void this.#r.set(C,b);b&&this.removePointerInTextLayer(C);const f=this.#t;if(!f||0===f.length)return;const y=(0,g.binarySearchFirstItem)(f,M=>v.#o(C,M)<0),S=Math.max(0,y-1);this.#c(_,f[S]),this.#n.set(_,S)}moveElementInDOM(C,b,_,f){if(this.addPointerInTextLayer(_,f),!C.hasChildNodes())return void C.append(b);const y=Array.from(C.childNodes).filter(w=>w!==b);if(0===y.length)return;const S=_||b,M=(0,g.binarySearchFirstItem)(y,w=>v.#o(S,w)<0);0===M?y[0].before(b):y[M-1].after(b)}}u.TextAccessibilityManager=v},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFRenderingQueue=void 0;var g=l(3),v=l(7);u.PDFRenderingQueue=class C{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(_){this.pdfViewer=_}setThumbnailViewer(_){this.pdfThumbnailViewer=_}isHighestPriority(_){return this.highestPriorityPage===_.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(_){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(_)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(_,f,y,S=!1){const M=_.views,w=M.length;if(0===w)return null;for(let T=0;Tw){const T=_.ids;for(let I=1,k=O-A;I{this.renderHighestPriority()}).catch(f=>{f instanceof g.RenderingCancelledException||console.error(`renderView: "${f}"`)})}return!0}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.TextHighlighter=void 0,u.TextHighlighter=class l{constructor({findController:v,eventBus:p,pageIndex:C}){this.findController=v,this.matches=[],this.eventBus=p,this.pageIdx=C,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(v,p){this.textDivs=v,this.textContentItemsStr=p}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=v=>{(v.pageIndex===this.pageIdx||-1===v.pageIndex)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(v,p){if(!v)return[];const{textContentItemsStr:C}=this;let b=0,_=0;const f=C.length-1,y=[];for(let S=0,M=v.length;S=_+C[b].length;)_+=C[b].length,b++;b===C.length&&console.error("Could not find a matching mapping");const A={begin:{divIdx:b,offset:w-_}};for(w+=p[S];b!==f&&w>_+C[b].length;)_+=C[b].length,b++;A.end={divIdx:b,offset:w-_},y.push(A)}return y}_renderMatches(v){if(0===v.length)return;const{findController:p,pageIdx:C}=this,{textContentItemsStr:b,textDivs:_}=this,f=C===p.selected.pageIdx,y=p.selected.matchIdx;let M=null;function A(T,I){const k=T.divIdx;return _[k].textContent="",O(k,0,T.offset,I)}function O(T,I,k,N){let x=_[T];if(x.nodeType===Node.TEXT_NODE){const te=document.createElement("span");x.before(te),te.append(x),_[T]=te,x=te}const H=b[T].substring(I,k),G=document.createTextNode(H);if(N){const te=document.createElement("span");return te.className=`${N} appended`,te.append(G),x.append(te),N.includes("selected")?te.offsetLeft:0}return x.append(G),0}let F=y,j=F+1;if(p.state.highlightAll)F=0,j=v.length;else if(!f)return;for(let T=F;T{Object.defineProperty(u,"__esModule",{value:!0}),u.DownloadManager=void 0;var g=l(3);function v(C,b){const _=document.createElement("a");if(!_.click)throw new Error('DownloadManager: "a.click()" is not supported.');_.href=C,_.target="_parent","download"in _&&(_.download=b),(document.body||document.documentElement).append(_),_.click(),_.remove()}u.DownloadManager=class p{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(b,_){(0,g.createValidAbsoluteUrl)(b,"http://example.com")?v(b+"#pdfjs.action=download",_):console.error(`downloadUrl - not a valid URL: ${b}`)}downloadData(b,_,f){v(URL.createObjectURL(new Blob([b],{type:f})),_)}openOrDownloadData(b,_,f){const y=(0,g.isPdfFile)(f),S=y?"application/pdf":"";if(y){let w,M=this._openBlobUrls.get(b);M||(M=URL.createObjectURL(new Blob([_],{type:S})),this._openBlobUrls.set(b,M)),w="?file="+encodeURIComponent(M+"#"+f);try{return window.open(w),!0}catch(A){console.error(`openOrDownloadData: ${A}`),URL.revokeObjectURL(M),this._openBlobUrls.delete(b)}}return this.downloadData(_,f,S),!1}download(b,_,f){v(URL.createObjectURL(b),f)}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.WaitOnType=u.EventBus=u.AutomationEventBus=void 0,u.waitOnEventOrTimeout=function g({target:C,name:b,delay:_=0}){return new Promise(function(f,y){if("object"!=typeof C||!b||"string"!=typeof b||!(Number.isInteger(_)&&_>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function S(O){C instanceof v?C._off(b,M):C.removeEventListener(b,M),A&&clearTimeout(A),f(O)}const M=S.bind(null,l.EVENT);C instanceof v?C._on(b,M):C.addEventListener(b,M);const w=S.bind(null,l.TIMEOUT),A=setTimeout(w,_)})};const l={EVENT:"event",TIMEOUT:"timeout"};u.WaitOnType=l;class v{constructor(){this._listeners=Object.create(null)}on(b,_,f=null){this._on(b,_,{external:!0,once:f?.once})}off(b,_,f=null){this._off(b,_,{external:!0,once:f?.once})}dispatch(b,_){const f=this._listeners[b];if(!f||0===f.length)return;let y;for(const{listener:S,external:M,once:w}of f.slice(0))w&&this._off(b,S),M?(y||=[]).push(S):S(_);if(y){for(const S of y)S(_);y=null}}_on(b,_,f=null){(this._listeners[b]||=[]).push({listener:_,external:!0===f?.external,once:!0===f?.once})}_off(b,_,f=null){const y=this._listeners[b];if(y)for(let S=0,M=y.length;S{Object.defineProperty(u,"__esModule",{value:!0}),u.GenericL10n=void 0,l(21);var g=l(4);const v=document.webL10n;u.GenericL10n=class p{constructor(b){this._lang=b,this._ready=new Promise((_,f)=>{v.setLanguage((0,g.fixupLangCode)(b),()=>{_(v)})})}getLanguage(){var b=this;return n(function*(){return(yield b._ready).getLanguage()})()}getDirection(){var b=this;return n(function*(){return(yield b._ready).getDirection()})()}get(b,_=null,f=(0,g.getL10nFallback)(b,_)){var y=this;return n(function*(){return(yield y._ready).get(b,_,f)})()}translate(b){var _=this;return n(function*(){return(yield _._ready).translate(b)})()}}},()=>{document.webL10n=function(e,u,l){var g={},v="",p="textContent",C="",b={},_="loading",f=!0;function A(te,ce,se){ce=ce||function(re){},se=se||function(){};var K=new XMLHttpRequest;K.open("GET",te,f),K.overrideMimeType&&K.overrideMimeType("text/plain; charset=utf-8"),K.onreadystatechange=function(){4==K.readyState&&(200==K.status||0===K.status?ce(K.responseText):se())},K.onerror=se,K.ontimeout=se;try{K.send(null)}catch{se()}}function F(te,ce){te&&(te=te.toLowerCase()),ce=ce||function(){},function j(){g={},v="",C=""}(),C=te;var se=function y(){return u.querySelectorAll('link[type="application/l10n"]')}(),K=se.length;if(0!==K){var W,Y=0;W=function(){++Y>=K&&(ce(),_="complete")};for(var he=0;he0?(he=q.substring(0,Oe),_e=q.substring(Oe+1)):(he=q,_e=p),g[he]||(g[he]={}),g[he][_e]=Y[q]}se&&se()})},K)}(Re,Ae,ge,function(){console.warn(Re+" not found."),console.warn('"'+Ae+'" resource not found'),C="",ge()})}}}function I(te,ce,se){var K=g[te];if(!K){if(console.warn("#"+te+" is undefined."),!se)return null;K=se}var Z={};for(var re in K){var X=K[re];X=N(X=k(X,ce,te,re),ce,te),Z[re]=X}return Z}function k(te,ce,se,K){var re=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(te);if(!re||!re.length)return te;var Y,X=re[1],W=re[2];return ce&&W in ce?Y=ce[W]:W in g&&(Y=g[W]),X in b&&(te=(0,b[X])(te,Y,se,K)),te}function N(te,ce,se){return te.replace(/\{\{\s*(.+?)\s*\}\}/g,function(Z,re){return ce&&re in ce?ce[re]:re in g?g[re]:(console.log("argument {{"+re+"}} for #"+se+" is undefined."),Z)})}function x(te){var ce=function w(te){if(!te)return{};var ce=te.getAttribute("data-l10n-id"),se=te.getAttribute("data-l10n-args"),K={};if(se)try{K=JSON.parse(se)}catch{console.warn("could not parse arguments for #"+ce)}return{id:ce,args:K}}(te);if(ce.id){var se=I(ce.id,ce.args);if(!se)return void console.warn("#"+ce.id+" is undefined.");if(se[p]){if(0===function H(te){if(te.children)return te.children.length;if(typeof te.childElementCount<"u")return te.childElementCount;for(var ce=0,se=0;se0&&(Z=te.substring(K+1),te=te.substring(0,K)),se&&((re={})[Z]=se);var X=I(te,ce,re);return X&&Z in X?X[Z]:"{{"+te+"}}"},getData:function(){return g},getText:function(){return v},getLanguage:function(){return C},setLanguage:function(te,ce){F(te,function(){ce&&ce()})},getDirection:function(){var ce=C.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(ce)>=0?"rtl":"ltr"},translate:function G(te){for(var ce=function M(te){return te?te.querySelectorAll("*[data-l10n-id]"):[]}(te=te||u.documentElement),se=ce.length,K=0;K{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFFindController=u.FindState=void 0;var g=l(7),v=l(3),p=l(23);const C={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};u.FindState=C;const y={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},S=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),M=[...S.values()].map(te=>String.fromCharCode(te)).join(""),w=new RegExp("\\p{M}+","gu"),A=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),O=new RegExp("([^\\p{M}])\\p{M}*$","u"),F=new RegExp("^\\p{M}*([^\\p{M}])","u"),j=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,T=new Map;let k=null,N=null;function x(te){const ce=[];let se,K;for(;null!==(se=j.exec(te));){let{index:Re}=se;for(const Ae of se[0]){let ge=T.get(Ae);ge||(ge=Ae.normalize("NFD").length,T.set(Ae,ge)),ce.push([ge,Re++])}}if(0===ce.length&&k)K=k;else if(ce.length>0&&N)K=N;else{const Ae=`([${Object.keys(y).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;K=0===ce.length?k=new RegExp(Ae+"|(\\u0000)","gum"):N=new RegExp(Ae+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const Z=[];for(;null!==(se=w.exec(te));)Z.push([se[0].length,se.index]);let re=te.normalize("NFD");const X=[[0,0]];let W=0,Y=0,q=0,he=0,_e=0,Oe=!1;return re=re.replace(K,(Re,Ae,ge,Ne,it,qe,et)=>{if(et-=he,Ae){const De=y[Re],je=De.length;for(let Pe=1;PeW[0]>=K);te[re][0]>K&&--re;let X=(0,g.binarySearchFirstItem)(te,W=>W[0]>=Z,re);return te[X][0]>Z&&--X,[K+te[re][1],se+te[X][1]-te[re][1]]}u.PDFFindController=class G{constructor({linkService:ce,eventBus:se}){this._linkService=ce,this._eventBus=se,this.#t(),se._on("find",this.#e.bind(this)),se._on("findbarclose",this.#_.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(ce){this._pdfDocument&&this.#t(),ce&&(this._pdfDocument=ce,this._firstPageCapability.resolve())}#e(ce){if(!ce)return;const se=this._pdfDocument,{type:K}=ce;(null===this._state||this.#r(ce))&&(this._dirtyMatch=!0),this._state=ce,"highlightallchange"!==K&&this.#d(C.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||se&&this._pdfDocument!==se)return;this.#h();const Z=!this._highlightMatches,re=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),K?this._dirtyMatch?this.#s():"again"===K?(this.#s(),Z&&this._state.highlightAll&&this.#l()):"highlightallchange"===K?(re?this.#s():this._highlightMatches=!0,this.#l()):this.#s():this._findTimeout=setTimeout(()=>{this.#s(),this._findTimeout=null},250)})}scrollMatchIntoView({element:ce=null,selectedLeft:se=0,pageIndex:K=-1,matchIndex:Z=-1}){this._scrollMatches&&ce&&-1!==Z&&Z===this._selected.matchIdx&&-1!==K&&K===this._selected.pageIdx&&(this._scrollMatches=!1,(0,g.scrollIntoView)(ce,{top:-50,left:se+-400},!0))}#t(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,v.createPromiseCapability)()}get#n(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=x(this._state.query)),this._normalizedQuery}#r(ce){if(ce.query!==this._state.query)return!0;switch(ce.type){case"again":const se=this._selected.pageIdx+1,K=this._linkService;return se>=1&&se<=K.pagesCount&&se!==K.page&&!K.isPageVisible(se);case"highlightallchange":return!1}return!0}#o(ce,se,K){let Z=ce.slice(0,se).match(O);if(Z){const re=ce.charCodeAt(se),X=Z[1].charCodeAt(0);if((0,p.getCharacterType)(re)===(0,p.getCharacterType)(X))return!1}if(Z=ce.slice(se+K).match(F),Z){const re=ce.charCodeAt(se+K-1),X=Z[1].charCodeAt(0);if((0,p.getCharacterType)(re)===(0,p.getCharacterType)(X))return!1}return!0}#c(ce,se,K,Z){const re=[],X=[],W=this._pageDiffs[K];let Y;for(;null!==(Y=ce.exec(Z));){if(se&&!this.#o(Z,Y.index,Y[0].length))continue;const[q,he]=H(W,Y.index,Y[0].length);he&&(re.push(q),X.push(he))}this._pageMatches[K]=re,this._pageMatchesLength[K]=X}#a(ce,se){const{matchDiacritics:K}=this._state;let Z=!1;return(ce=ce.replace(A,(X,W,Y,q,he,_e)=>W?`[ ]*\\${W}[ ]*`:Y?`[ ]*${Y}[ ]*`:q?"[ ]+":K?he||_e:he?S.has(he.charCodeAt(0))?he:"":se?(Z=!0,`${_e}\\p{M}*`):_e)).endsWith("[ ]*")&&(ce=ce.slice(0,ce.length-4)),K&&se&&(Z=!0,ce=`${ce}(?=[${M}]|[^\\p{M}]|$)`),[Z,ce]}#i(ce){let se=this.#n;if(0===se.length)return;const{caseSensitive:K,entireWord:Z,phraseSearch:re}=this._state,X=this._pageContents[ce],W=this._hasDiacritics[ce];let Y=!1;if(re)[Y,se]=this.#a(se,W);else{const _e=se.match(/\S+/g);_e&&(se=_e.sort().reverse().map(Oe=>{const[Re,Ae]=this.#a(Oe,W);return Y||=Re,`(${Ae})`}).join("|"))}se=new RegExp(se,`g${Y?"u":""}${K?"":"i"}`),this.#c(se,Z,ce,X),this._state.highlightAll&&this.#u(ce),this._resumePageIdx===ce&&(this._resumePageIdx=null,this.#f());const he=this._pageMatches[ce].length;he>0&&(this._matchesCountTotal+=he,this.#b())}#h(){if(this._extractTextPromises.length>0)return;let ce=Promise.resolve();for(let se=0,K=this._linkService.pagesCount;sethis._pdfDocument.getPage(se+1).then(re=>re.getTextContent()).then(re=>{const X=[];for(const W of re.items)X.push(W.str),W.hasEOL&&X.push("\n");[this._pageContents[se],this._pageDiffs[se],this._hasDiacritics[se]]=x(X.join("")),Z.resolve()},re=>{console.error(`Unable to get text content for page ${se+1}`,re),this._pageContents[se]="",this._pageDiffs[se]=null,this._hasDiacritics[se]=!1,Z.resolve()}))}}#u(ce){this._scrollMatches&&this._selected.pageIdx===ce&&(this._linkService.page=ce+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:ce})}#l(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#s(){const ce=this._state.findPrevious,se=this._linkService.page-1,K=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=se,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this.#l();for(let re=0;re{this._pendingFindMatches.delete(re),this.#i(re)}))}if(""===this.#n)return void this.#d(C.FOUND);if(this._resumePageIdx)return;const Z=this._offset;if(this._pagesToSearch=K,null!==Z.matchIdx){if(!ce&&Z.matchIdx+10)return Z.matchIdx=ce?Z.matchIdx-1:Z.matchIdx+1,void this.#p(!0);this.#v(ce)}this.#f()}#g(ce){const se=this._offset,K=ce.length,Z=this._state.findPrevious;return K?(se.matchIdx=Z?K-1:0,this.#p(!0),!0):(this.#v(Z),!!(se.wrapped&&(se.matchIdx=null,this._pagesToSearch<0))&&(this.#p(!1),!0))}#f(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let ce=null;do{const se=this._offset.pageIdx;if(ce=this._pageMatches[se],!ce){this._resumePageIdx=se;break}}while(!this.#g(ce))}#v(ce){const se=this._offset,K=this._linkService.pagesCount;se.pageIdx=ce?se.pageIdx-1:se.pageIdx+1,se.matchIdx=null,this._pagesToSearch--,(se.pageIdx>=K||se.pageIdx<0)&&(se.pageIdx=ce?K-1:0,se.wrapped=!0)}#p(ce=!1){let se=C.NOT_FOUND;const K=this._offset.wrapped;if(this._offset.wrapped=!1,ce){const Z=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,se=K?C.WRAPPED:C.FOUND,-1!==Z&&Z!==this._selected.pageIdx&&this.#u(Z)}this.#d(se,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#u(this._selected.pageIdx))}#_(ce){const se=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||se&&this._pdfDocument!==se||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#d(C.FOUND),this._highlightMatches=!1,this.#l())})}#S(){const{pageIdx:ce,matchIdx:se}=this._selected;let K=0,Z=this._matchesCountTotal;if(-1!==se){for(let re=0;reZ)&&(K=Z=0),{current:K,total:Z}}#b(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#S()})}#d(ce,se=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:ce,previous:se,matchesCount:this.#S(),rawQuery:this._state?.query??null})}}},(e,u)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.CharacterType=void 0,u.getCharacterType=function w(A){return function g(A){return A<11904}(A)?function v(A){return 0==(65408&A)}(A)?function b(A){return 32===A||9===A||13===A||10===A}(A)?l.SPACE:function p(A){return A>=97&&A<=122||A>=65&&A<=90}(A)||function C(A){return A>=48&&A<=57}(A)||95===A?l.ALPHA_LETTER:l.PUNCT:function M(A){return 3584==(65408&A)}(A)?l.THAI_LETTER:160===A?l.SPACE:l.ALPHA_LETTER:function _(A){return A>=13312&&A<=40959||A>=63744&&A<=64255}(A)?l.HAN_LETTER:function f(A){return A>=12448&&A<=12543}(A)?l.KATAKANA_LETTER:function y(A){return A>=12352&&A<=12447}(A)?l.HIRAGANA_LETTER:function S(A){return A>=65376&&A<=65439}(A)?l.HALFWIDTH_KATAKANA_LETTER:l.ALPHA_LETTER};const l={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};u.CharacterType=l},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFHistory=void 0,u.isDestArraysEqual=S,u.isDestHashesEqual=y;var g=l(7),v=l(19);function _(){return document.location.hash}function y(M,w){return"string"==typeof M&&"string"==typeof w&&(M===w||(0,g.parseQueryString)(M).get("nameddest")===w)}function S(M,w){function A(O,F){if(typeof O!=typeof F||Array.isArray(O)||Array.isArray(F))return!1;if(null!==O&&"object"==typeof O&&null!==F){if(Object.keys(O).length!==Object.keys(F).length)return!1;for(const j in O)if(!A(O[j],F[j]))return!1;return!0}return O===F||Number.isNaN(O)&&Number.isNaN(F)}if(!Array.isArray(M)||!Array.isArray(w)||M.length!==w.length)return!1;for(let O=0,F=M.length;O{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",O=>{this._isPagesLoaded=!!O.pagesCount},{once:!0})})}initialize({fingerprint:w,resetHistory:A=!1,updateUrl:O=!1}){if(!w||"string"!=typeof w)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const F=""!==this._fingerprint&&this._fingerprint!==w;this._fingerprint=w,this._updateUrl=!0===O,this._initialized=!0,this._bindEvents();const j=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=_(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(j,!0)||A){const{hash:I,page:k,rotation:N}=this._parseCurrentHash(!0);return!I||F||A?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:I,page:k,rotation:N},!0)}const T=j.destination;this._updateInternalState(T,j.uid,!0),void 0!==T.rotation&&(this._initialRotation=T.rotation),T.dest?(this._initialBookmark=JSON.stringify(T.dest),this._destination.page=null):T.hash?this._initialBookmark=T.hash:T.page&&(this._initialBookmark=`page=${T.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:w=null,explicitDest:A,pageNumber:O}){if(!this._initialized)return;if(w&&"string"!=typeof w)return void console.error(`PDFHistory.push: "${w}" is not a valid namedDest parameter.`);if(!Array.isArray(A))return void console.error(`PDFHistory.push: "${A}" is not a valid explicitDest parameter.`);if(!this._isValidPage(O)&&(null!==O||this._destination))return void console.error(`PDFHistory.push: "${O}" is not a valid pageNumber parameter.`);const F=w||JSON.stringify(A);if(!F)return;let j=!1;if(this._destination&&(y(this._destination.hash,F)||S(this._destination.dest,A))){if(this._destination.page)return;j=!0}this._popStateInProgress&&!j||(this._pushOrReplaceState({dest:A,hash:F,page:O,rotation:this.linkService.rotation},j),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(w){if(this._initialized){if(!this._isValidPage(w))return void console.error(`PDFHistory.pushPage: "${w}" is not a valid page number.`);this._destination?.page!==w&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${w}`,page:w,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const w=window.history.state;this._isValidState(w)&&w.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const w=window.history.state;this._isValidState(w)&&w.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(w,A=!1){const O=A||!this._destination,F={fingerprint:this._fingerprint,uid:O?this._uid:this._uid+1,destination:w};let j;if(this._updateInternalState(w,F.uid),this._updateUrl&&w?.hash){const T=document.location.href.split("#")[0];T.startsWith("file://")||(j=`${T}#${w.hash}`)}O?window.history.replaceState(F,"",j):window.history.pushState(F,"",j)}_tryPushCurrentPosition(w=!1){if(!this._position)return;let A=this._position;if(w&&(A=Object.assign(Object.create(null),this._position),A.temporary=!0),!this._destination)return void this._pushOrReplaceState(A);if(this._destination.temporary)return void this._pushOrReplaceState(A,!0);if(this._destination.hash===A.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let O=!1;if(this._destination.page>=A.first&&this._destination.page<=A.page){if(void 0!==this._destination.dest||!this._destination.first)return;O=!0}this._pushOrReplaceState(A,O)}_isValidPage(w){return Number.isInteger(w)&&w>0&&w<=this.linkService.pagesCount}_isValidState(w,A=!1){if(!w)return!1;if(w.fingerprint!==this._fingerprint){if(!A)return!1;{if("string"!=typeof w.fingerprint||w.fingerprint.length!==this._fingerprint.length)return!1;const[O]=performance.getEntriesByType("navigation");if("reload"!==O?.type)return!1}}return!(!Number.isInteger(w.uid)||w.uid<0||null===w.destination||"object"!=typeof w.destination)}_updateInternalState(w,A,O=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),O&&w?.temporary&&delete w.temporary,this._destination=w,this._uid=A,this._maxUid=Math.max(this._maxUid,A),this._numPositionUpdates=0}_parseCurrentHash(w=!1){const A=unescape(_()).substring(1),O=(0,g.parseQueryString)(A),F=O.get("nameddest")||"";let j=0|O.get("page");return(!this._isValidPage(j)||w&&F.length>0)&&(j=null),{hash:A,page:j,rotation:this.linkService.rotation}}_updateViewarea({location:w}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:w.pdfOpenParams.substring(1),page:this.linkService.page,first:w.pageNumber,rotation:w.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},1e3))}_popState({state:w}){const A=_(),O=this._currentHash!==A;if(this._currentHash=A,!w){this._uid++;const{hash:j,page:T,rotation:I}=this._parseCurrentHash();return void this._pushOrReplaceState({hash:j,page:T,rotation:I},!0)}if(!this._isValidState(w))return;this._popStateInProgress=!0,O&&(this._blockHashChange++,(0,v.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const F=w.destination;this._updateInternalState(F,w.uid,!0),(0,g.isValidRotation)(F.rotation)&&(this.linkService.rotation=F.rotation),F.dest?this.linkService.goToDestination(F.dest):F.hash?this.linkService.setHash(F.hash):F.page&&(this.linkService.page=F.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.PDFScriptingManager=void 0;var g=l(7),v=l(3);u.PDFScriptingManager=class p{constructor({eventBus:b,sandboxBundleSrc:_=null,scriptingFactory:f=null,docPropertiesLookup:y=null}){this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=b,this._sandboxBundleSrc=_,this._scriptingFactory=f,this._docPropertiesLookup=y,this._scriptingFactory||window.addEventListener("updatefromsandbox",S=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:S.detail})})}setViewer(b){this._pdfViewer=b}setDocument(b){var _=this;return n(function*(){if(_._pdfDocument&&(yield _._destroyScripting()),_._pdfDocument=b,!b)return;const[f,y,S]=yield Promise.all([b.getFieldObjects(),b.getCalculationOrderIds(),b.getJSActions()]);if(f||S){if(b===_._pdfDocument){try{_._scripting=_._createScripting()}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield _._destroyScripting())}_._internalEvents.set("updatefromsandbox",M=>{M?.source===window&&_._updateFromSandbox(M.detail)}),_._internalEvents.set("dispatcheventinsandbox",M=>{_._scripting?.dispatchEventInSandbox(M.detail)}),_._internalEvents.set("pagechanging",({pageNumber:M,previous:w})=>{M!==w&&(_._dispatchPageClose(w),_._dispatchPageOpen(M))}),_._internalEvents.set("pagerendered",({pageNumber:M})=>{_._pageOpenPending.has(M)&&M===_._pdfViewer.currentPageNumber&&_._dispatchPageOpen(M)}),_._internalEvents.set("pagesdestroy",function(){var M=n(function*(w){yield _._dispatchPageClose(_._pdfViewer.currentPageNumber),yield _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),_._closeCapability?.resolve()});return function(w){return M.apply(this,arguments)}}()),_._domEvents.set("mousedown",M=>{_._mouseState.isDown=!0}),_._domEvents.set("mouseup",M=>{_._mouseState.isDown=!1});for(const[M,w]of _._internalEvents)_._eventBus._on(M,w);for(const[M,w]of _._domEvents)window.addEventListener(M,w,!0);try{const M=yield _._getDocProperties();if(b!==_._pdfDocument)return;yield _._scripting.createSandbox({objects:f,calculationOrder:y,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...M,actions:S}}),_._eventBus.dispatch("sandboxcreated",{source:_})}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield _._destroyScripting())}yield _._scripting?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield _._dispatchPageOpen(_._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{b===_._pdfDocument&&(_._ready=!0)})}}else yield _._destroyScripting()})()}dispatchWillSave(b){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(b){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(b){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"WillPrint"})})()}dispatchDidPrint(b){var _=this;return n(function*(){return _._scripting?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get mouseState(){return this._mouseState}get destroyPromise(){return this._destroyCapability?.promise||null}get ready(){return this._ready}get _internalEvents(){return(0,v.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,v.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,v.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,v.shadow)(this,"_visitedPages",new Map)}_updateFromSandbox(b){var _=this;return n(function*(){const f=_._pdfViewer.isInPresentationMode||_._pdfViewer.isChangingPresentationMode,{id:y,siblings:S,command:M,value:w}=b;if(!y){switch(M){case"clear":console.clear();break;case"error":console.error(w);break;case"layout":if(f)return;const O=(0,g.apiPageLayoutToViewerModes)(w);_._pdfViewer.spreadMode=O.spreadMode;break;case"page-num":_._pdfViewer.currentPageNumber=w+1;break;case"print":yield _._pdfViewer.pagesPromise,_._eventBus.dispatch("print",{source:_});break;case"println":console.log(w);break;case"zoom":if(f)return;_._pdfViewer.currentScaleValue=w;break;case"SaveAs":_._eventBus.dispatch("download",{source:_});break;case"FirstPage":_._pdfViewer.currentPageNumber=1;break;case"LastPage":_._pdfViewer.currentPageNumber=_._pdfViewer.pagesCount;break;case"NextPage":_._pdfViewer.nextPage();break;case"PrevPage":_._pdfViewer.previousPage();break;case"ZoomViewIn":if(f)return;_._pdfViewer.increaseScale();break;case"ZoomViewOut":if(f)return;_._pdfViewer.decreaseScale()}return}if(f&&b.focus)return;delete b.id,delete b.siblings;const A=S?[y,...S]:[y];for(const O of A){const F=document.querySelector(`[data-element-id="${O}"]`);F?F.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:b})):_._pdfDocument?.annotationStorage.setValue(O,b)}})()}_dispatchPageOpen(b,_=!1){var f=this;return n(function*(){const y=f._pdfDocument,S=f._visitedPages;if(_&&(f._closeCapability=(0,v.createPromiseCapability)()),!f._closeCapability)return;const M=f._pdfViewer.getPageView(b-1);if(M?.renderingState!==g.RenderingStates.FINISHED)return void f._pageOpenPending.add(b);f._pageOpenPending.delete(b);const w=n(function*(){const A=yield S.has(b)?null:M.pdfPage?.getJSActions();y===f._pdfDocument&&(yield f._scripting?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:b,actions:A}))})();S.set(b,w)})()}_dispatchPageClose(b){var _=this;return n(function*(){const f=_._pdfDocument,y=_._visitedPages;if(!_._closeCapability||_._pageOpenPending.has(b))return;const S=y.get(b);S&&(y.set(b,null),yield S,f===_._pdfDocument&&(yield _._scripting?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:b})))})()}_getDocProperties(){var b=this;return n(function*(){if(b._docPropertiesLookup)return b._docPropertiesLookup(b._pdfDocument);const{docPropertiesLookup:_}=l(26);return _(b._pdfDocument)})()}_createScripting(){if(this._destroyCapability=(0,v.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:b}=l(26);return new b(this._sandboxBundleSrc)}_destroyScripting(){var b=this;return n(function*(){if(!b._scripting)return b._pdfDocument=null,void b._destroyCapability?.resolve();b._closeCapability&&(yield Promise.race([b._closeCapability.promise,new Promise(_=>{setTimeout(_,1e3)})]).catch(_=>{}),b._closeCapability=null),b._pdfDocument=null;try{yield b._scripting.destroySandbox()}catch{}for(const[_,f]of b._internalEvents)b._eventBus._off(_,f);b._internalEvents.clear();for(const[_,f]of b._domEvents)window.removeEventListener(_,f,!0);b._domEvents.clear(),b._pageOpenPending.clear(),b._visitedPages.clear(),b._scripting=null,delete b._mouseState.isDown,b._ready=!1,b._destroyCapability?.resolve()})()}}},(e,u,l)=>{Object.defineProperty(u,"__esModule",{value:!0}),u.GenericScripting=void 0,u.docPropertiesLookup=function v(b){return p.apply(this,arguments)};var g=l(3);function p(){return(p=n(function*(b){const f="".split("#")[0];let{info:y,metadata:S,contentDispositionFilename:M,contentLength:w}=yield b.getMetadata();if(!w){const{length:A}=yield b.getDownloadInfo();w=A}return{...y,baseURL:f,filesize:w,filename:M||(0,g.getPdfFilenameFromUrl)(""),metadata:S?.getRaw(),authors:S?.get("dc:creator"),numPages:b.numPages,URL:""}})).apply(this,arguments)}u.GenericScripting=class C{constructor(_){this._ready=(0,g.loadScript)(_,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}createSandbox(_){var f=this;return n(function*(){(yield f._ready).create(_)})()}dispatchEventInSandbox(_){var f=this;return n(function*(){const y=yield f._ready;setTimeout(()=>y.dispatchEvent(_),0)})()}destroySandbox(){var _=this;return n(function*(){(yield _._ready).nukeSandbox()})()}}}],d={};function a(e){var u=d[e];if(void 0!==u)return u.exports;var l=d[e]={exports:{}};return i[e](l,l.exports,a),l.exports}var c={};return(()=>{var e=c;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return p.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return u.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return u.DefaultStructTreeLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return u.DefaultTextLayerFactory}}),Object.defineProperty(e,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return u.DefaultXfaLayerFactory}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return C.DownloadManager}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return b.EventBus}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return _.GenericL10n}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return l.LinkTarget}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return f.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return y.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return S.PDFHistory}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return l.PDFLinkService}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return M.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return w.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return v.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return v.PDFViewer}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return g.ProgressBar}}),Object.defineProperty(e,"RenderingStates",{enumerable:!0,get:function(){return g.RenderingStates}}),Object.defineProperty(e,"ScrollMode",{enumerable:!0,get:function(){return g.ScrollMode}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return l.SimpleLinkService}}),Object.defineProperty(e,"SpreadMode",{enumerable:!0,get:function(){return g.SpreadMode}}),Object.defineProperty(e,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return A.StructTreeLayerBuilder}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return O.TextLayerBuilder}}),Object.defineProperty(e,"XfaLayerBuilder",{enumerable:!0,get:function(){return F.XfaLayerBuilder}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return g.parseQueryString}});var u=a(1),l=a(6),g=a(7),v=a(11),p=a(5),C=a(18),b=a(19),_=a(20),f=a(4),y=a(22),S=a(24),M=a(13),w=a(25),A=a(8),O=a(9),F=a(10)})(),c})()},80103:function(ve,h,o){"use strict";var n=this&&this.__createBinding||(Object.create?function(_i,xi,qr,ar){void 0===ar&&(ar=qr),Object.defineProperty(_i,ar,{enumerable:!0,get:function(){return xi[qr]}})}:function(_i,xi,qr,ar){void 0===ar&&(ar=qr),_i[ar]=xi[qr]}),i=this&&this.__exportStar||function(_i,xi){for(var qr in _i)"default"!==qr&&!Object.prototype.hasOwnProperty.call(xi,qr)&&n(xi,_i,qr)};Object.defineProperty(h,"__esModule",{value:!0}),h.interval=h.iif=h.generate=h.fromEventPattern=h.fromEvent=h.from=h.forkJoin=h.empty=h.defer=h.connectable=h.concat=h.combineLatest=h.bindNodeCallback=h.bindCallback=h.UnsubscriptionError=h.TimeoutError=h.SequenceError=h.ObjectUnsubscribedError=h.NotFoundError=h.EmptyError=h.ArgumentOutOfRangeError=h.firstValueFrom=h.lastValueFrom=h.isObservable=h.identity=h.noop=h.pipe=h.NotificationKind=h.Notification=h.Subscriber=h.Subscription=h.Scheduler=h.VirtualAction=h.VirtualTimeScheduler=h.animationFrameScheduler=h.animationFrame=h.queueScheduler=h.queue=h.asyncScheduler=h.async=h.asapScheduler=h.asap=h.AsyncSubject=h.ReplaySubject=h.BehaviorSubject=h.Subject=h.animationFrames=h.observable=h.ConnectableObservable=h.Observable=void 0,h.filter=h.expand=h.exhaustMap=h.exhaustAll=h.exhaust=h.every=h.endWith=h.elementAt=h.distinctUntilKeyChanged=h.distinctUntilChanged=h.distinct=h.dematerialize=h.delayWhen=h.delay=h.defaultIfEmpty=h.debounceTime=h.debounce=h.count=h.connect=h.concatWith=h.concatMapTo=h.concatMap=h.concatAll=h.combineLatestWith=h.combineLatestAll=h.combineAll=h.catchError=h.bufferWhen=h.bufferToggle=h.bufferTime=h.bufferCount=h.buffer=h.auditTime=h.audit=h.config=h.NEVER=h.EMPTY=h.scheduled=h.zip=h.using=h.timer=h.throwError=h.range=h.race=h.partition=h.pairs=h.onErrorResumeNext=h.of=h.never=h.merge=void 0,h.switchMap=h.switchAll=h.subscribeOn=h.startWith=h.skipWhile=h.skipUntil=h.skipLast=h.skip=h.single=h.shareReplay=h.share=h.sequenceEqual=h.scan=h.sampleTime=h.sample=h.refCount=h.retryWhen=h.retry=h.repeatWhen=h.repeat=h.reduce=h.raceWith=h.publishReplay=h.publishLast=h.publishBehavior=h.publish=h.pluck=h.pairwise=h.onErrorResumeNextWith=h.observeOn=h.multicast=h.min=h.mergeWith=h.mergeScan=h.mergeMapTo=h.mergeMap=h.flatMap=h.mergeAll=h.max=h.materialize=h.mapTo=h.map=h.last=h.isEmpty=h.ignoreElements=h.groupBy=h.first=h.findIndex=h.find=h.finalize=void 0,h.zipWith=h.zipAll=h.withLatestFrom=h.windowWhen=h.windowToggle=h.windowTime=h.windowCount=h.window=h.toArray=h.timestamp=h.timeoutWith=h.timeout=h.timeInterval=h.throwIfEmpty=h.throttleTime=h.throttle=h.tap=h.takeWhile=h.takeUntil=h.takeLast=h.take=h.switchScan=h.switchMapTo=void 0;var d=o(15448);Object.defineProperty(h,"Observable",{enumerable:!0,get:function(){return d.Observable}});var a=o(42416);Object.defineProperty(h,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var c=o(72064);Object.defineProperty(h,"observable",{enumerable:!0,get:function(){return c.observable}});var e=o(72444);Object.defineProperty(h,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var u=o(90120);Object.defineProperty(h,"Subject",{enumerable:!0,get:function(){return u.Subject}});var l=o(60488);Object.defineProperty(h,"BehaviorSubject",{enumerable:!0,get:function(){return l.BehaviorSubject}});var g=o(38640);Object.defineProperty(h,"ReplaySubject",{enumerable:!0,get:function(){return g.ReplaySubject}});var v=o(70408);Object.defineProperty(h,"AsyncSubject",{enumerable:!0,get:function(){return v.AsyncSubject}});var p=o(24860);Object.defineProperty(h,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(h,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var C=o(69252);Object.defineProperty(h,"async",{enumerable:!0,get:function(){return C.async}}),Object.defineProperty(h,"asyncScheduler",{enumerable:!0,get:function(){return C.asyncScheduler}});var b=o(72056);Object.defineProperty(h,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(h,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var _=o(70232);Object.defineProperty(h,"animationFrame",{enumerable:!0,get:function(){return _.animationFrame}}),Object.defineProperty(h,"animationFrameScheduler",{enumerable:!0,get:function(){return _.animationFrameScheduler}});var f=o(45992);Object.defineProperty(h,"VirtualTimeScheduler",{enumerable:!0,get:function(){return f.VirtualTimeScheduler}}),Object.defineProperty(h,"VirtualAction",{enumerable:!0,get:function(){return f.VirtualAction}});var y=o(25784);Object.defineProperty(h,"Scheduler",{enumerable:!0,get:function(){return y.Scheduler}});var S=o(40576);Object.defineProperty(h,"Subscription",{enumerable:!0,get:function(){return S.Subscription}});var M=o(41596);Object.defineProperty(h,"Subscriber",{enumerable:!0,get:function(){return M.Subscriber}});var w=o(12032);Object.defineProperty(h,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(h,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var A=o(19512);Object.defineProperty(h,"pipe",{enumerable:!0,get:function(){return A.pipe}});var O=o(48320);Object.defineProperty(h,"noop",{enumerable:!0,get:function(){return O.noop}});var F=o(55184);Object.defineProperty(h,"identity",{enumerable:!0,get:function(){return F.identity}});var j=o(38104);Object.defineProperty(h,"isObservable",{enumerable:!0,get:function(){return j.isObservable}});var T=o(59452);Object.defineProperty(h,"lastValueFrom",{enumerable:!0,get:function(){return T.lastValueFrom}});var I=o(79632);Object.defineProperty(h,"firstValueFrom",{enumerable:!0,get:function(){return I.firstValueFrom}});var k=o(32929);Object.defineProperty(h,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return k.ArgumentOutOfRangeError}});var N=o(51544);Object.defineProperty(h,"EmptyError",{enumerable:!0,get:function(){return N.EmptyError}});var x=o(15496);Object.defineProperty(h,"NotFoundError",{enumerable:!0,get:function(){return x.NotFoundError}});var H=o(92304);Object.defineProperty(h,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return H.ObjectUnsubscribedError}});var G=o(71016);Object.defineProperty(h,"SequenceError",{enumerable:!0,get:function(){return G.SequenceError}});var te=o(20268);Object.defineProperty(h,"TimeoutError",{enumerable:!0,get:function(){return te.TimeoutError}});var ce=o(9560);Object.defineProperty(h,"UnsubscriptionError",{enumerable:!0,get:function(){return ce.UnsubscriptionError}});var se=o(1856);Object.defineProperty(h,"bindCallback",{enumerable:!0,get:function(){return se.bindCallback}});var K=o(78872);Object.defineProperty(h,"bindNodeCallback",{enumerable:!0,get:function(){return K.bindNodeCallback}});var Z=o(60128);Object.defineProperty(h,"combineLatest",{enumerable:!0,get:function(){return Z.combineLatest}});var re=o(24560);Object.defineProperty(h,"concat",{enumerable:!0,get:function(){return re.concat}});var X=o(7976);Object.defineProperty(h,"connectable",{enumerable:!0,get:function(){return X.connectable}});var W=o(71896);Object.defineProperty(h,"defer",{enumerable:!0,get:function(){return W.defer}});var Y=o(31456);Object.defineProperty(h,"empty",{enumerable:!0,get:function(){return Y.empty}});var q=o(93052);Object.defineProperty(h,"forkJoin",{enumerable:!0,get:function(){return q.forkJoin}});var he=o(38485);Object.defineProperty(h,"from",{enumerable:!0,get:function(){return he.from}});var _e=o(85e3);Object.defineProperty(h,"fromEvent",{enumerable:!0,get:function(){return _e.fromEvent}});var Oe=o(46744);Object.defineProperty(h,"fromEventPattern",{enumerable:!0,get:function(){return Oe.fromEventPattern}});var Re=o(92560);Object.defineProperty(h,"generate",{enumerable:!0,get:function(){return Re.generate}});var Ae=o(46696);Object.defineProperty(h,"iif",{enumerable:!0,get:function(){return Ae.iif}});var ge=o(2071);Object.defineProperty(h,"interval",{enumerable:!0,get:function(){return ge.interval}});var Ne=o(14152);Object.defineProperty(h,"merge",{enumerable:!0,get:function(){return Ne.merge}});var it=o(15672);Object.defineProperty(h,"never",{enumerable:!0,get:function(){return it.never}});var qe=o(41536);Object.defineProperty(h,"of",{enumerable:!0,get:function(){return qe.of}});var et=o(9460);Object.defineProperty(h,"onErrorResumeNext",{enumerable:!0,get:function(){return et.onErrorResumeNext}});var De=o(15292);Object.defineProperty(h,"pairs",{enumerable:!0,get:function(){return De.pairs}});var je=o(91792);Object.defineProperty(h,"partition",{enumerable:!0,get:function(){return je.partition}});var Pe=o(84048);Object.defineProperty(h,"race",{enumerable:!0,get:function(){return Pe.race}});var bt=o(12384);Object.defineProperty(h,"range",{enumerable:!0,get:function(){return bt.range}});var Qe=o(3312);Object.defineProperty(h,"throwError",{enumerable:!0,get:function(){return Qe.throwError}});var Ut=o(34168);Object.defineProperty(h,"timer",{enumerable:!0,get:function(){return Ut.timer}});var sn=o(28684);Object.defineProperty(h,"using",{enumerable:!0,get:function(){return sn.using}});var un=o(59172);Object.defineProperty(h,"zip",{enumerable:!0,get:function(){return un.zip}});var Sn=o(44232);Object.defineProperty(h,"scheduled",{enumerable:!0,get:function(){return Sn.scheduled}});var bn=o(31456);Object.defineProperty(h,"EMPTY",{enumerable:!0,get:function(){return bn.EMPTY}});var kt=o(15672);Object.defineProperty(h,"NEVER",{enumerable:!0,get:function(){return kt.NEVER}}),i(o(68828),h);var jt=o(90584);Object.defineProperty(h,"config",{enumerable:!0,get:function(){return jt.config}});var Fe=o(18380);Object.defineProperty(h,"audit",{enumerable:!0,get:function(){return Fe.audit}});var Ee=o(1393);Object.defineProperty(h,"auditTime",{enumerable:!0,get:function(){return Ee.auditTime}});var ye=o(42744);Object.defineProperty(h,"buffer",{enumerable:!0,get:function(){return ye.buffer}});var Ce=o(57864);Object.defineProperty(h,"bufferCount",{enumerable:!0,get:function(){return Ce.bufferCount}});var Ge=o(42704);Object.defineProperty(h,"bufferTime",{enumerable:!0,get:function(){return Ge.bufferTime}});var Je=o(21964);Object.defineProperty(h,"bufferToggle",{enumerable:!0,get:function(){return Je.bufferToggle}});var vt=o(16323);Object.defineProperty(h,"bufferWhen",{enumerable:!0,get:function(){return vt.bufferWhen}});var Bt=o(11708);Object.defineProperty(h,"catchError",{enumerable:!0,get:function(){return Bt.catchError}});var Zt=o(25184);Object.defineProperty(h,"combineAll",{enumerable:!0,get:function(){return Zt.combineAll}});var Rt=o(86576);Object.defineProperty(h,"combineLatestAll",{enumerable:!0,get:function(){return Rt.combineLatestAll}});var Dt=o(71480);Object.defineProperty(h,"combineLatestWith",{enumerable:!0,get:function(){return Dt.combineLatestWith}});var Ot=o(26608);Object.defineProperty(h,"concatAll",{enumerable:!0,get:function(){return Ot.concatAll}});var pn=o(68584);Object.defineProperty(h,"concatMap",{enumerable:!0,get:function(){return pn.concatMap}});var Vn=o(38776);Object.defineProperty(h,"concatMapTo",{enumerable:!0,get:function(){return Vn.concatMapTo}});var Yn=o(23332);Object.defineProperty(h,"concatWith",{enumerable:!0,get:function(){return Yn.concatWith}});var er=o(59056);Object.defineProperty(h,"connect",{enumerable:!0,get:function(){return er.connect}});var kn=o(95572);Object.defineProperty(h,"count",{enumerable:!0,get:function(){return kn.count}});var Mt=o(42568);Object.defineProperty(h,"debounce",{enumerable:!0,get:function(){return Mt.debounce}});var Gt=o(86275);Object.defineProperty(h,"debounceTime",{enumerable:!0,get:function(){return Gt.debounceTime}});var mt=o(14707);Object.defineProperty(h,"defaultIfEmpty",{enumerable:!0,get:function(){return mt.defaultIfEmpty}});var Et=o(99592);Object.defineProperty(h,"delay",{enumerable:!0,get:function(){return Et.delay}});var Xt=o(59304);Object.defineProperty(h,"delayWhen",{enumerable:!0,get:function(){return Xt.delayWhen}});var _n=o(84204);Object.defineProperty(h,"dematerialize",{enumerable:!0,get:function(){return _n.dematerialize}});var En=o(51256);Object.defineProperty(h,"distinct",{enumerable:!0,get:function(){return En.distinct}});var qt=o(21544);Object.defineProperty(h,"distinctUntilChanged",{enumerable:!0,get:function(){return qt.distinctUntilChanged}});var nr=o(61544);Object.defineProperty(h,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return nr.distinctUntilKeyChanged}});var kr=o(51808);Object.defineProperty(h,"elementAt",{enumerable:!0,get:function(){return kr.elementAt}});var Br=o(48568);Object.defineProperty(h,"endWith",{enumerable:!0,get:function(){return Br.endWith}});var sr=o(21592);Object.defineProperty(h,"every",{enumerable:!0,get:function(){return sr.every}});var Mr=o(53704);Object.defineProperty(h,"exhaust",{enumerable:!0,get:function(){return Mr.exhaust}});var br=o(34288);Object.defineProperty(h,"exhaustAll",{enumerable:!0,get:function(){return br.exhaustAll}});var Jn=o(44632);Object.defineProperty(h,"exhaustMap",{enumerable:!0,get:function(){return Jn.exhaustMap}});var xn=o(84624);Object.defineProperty(h,"expand",{enumerable:!0,get:function(){return xn.expand}});var oi=o(39840);Object.defineProperty(h,"filter",{enumerable:!0,get:function(){return oi.filter}});var Sr=o(99440);Object.defineProperty(h,"finalize",{enumerable:!0,get:function(){return Sr.finalize}});var pr=o(70939);Object.defineProperty(h,"find",{enumerable:!0,get:function(){return pr.find}});var Xn=o(69496);Object.defineProperty(h,"findIndex",{enumerable:!0,get:function(){return Xn.findIndex}});var qn=o(11848);Object.defineProperty(h,"first",{enumerable:!0,get:function(){return qn.first}});var Or=o(17909);Object.defineProperty(h,"groupBy",{enumerable:!0,get:function(){return Or.groupBy}});var pi=o(77392);Object.defineProperty(h,"ignoreElements",{enumerable:!0,get:function(){return pi.ignoreElements}});var Qt=o(73564);Object.defineProperty(h,"isEmpty",{enumerable:!0,get:function(){return Qt.isEmpty}});var Rn=o(2696);Object.defineProperty(h,"last",{enumerable:!0,get:function(){return Rn.last}});var Kn=o(784);Object.defineProperty(h,"map",{enumerable:!0,get:function(){return Kn.map}});var or=o(89224);Object.defineProperty(h,"mapTo",{enumerable:!0,get:function(){return or.mapTo}});var ui=o(6832);Object.defineProperty(h,"materialize",{enumerable:!0,get:function(){return ui.materialize}});var Pr=o(34808);Object.defineProperty(h,"max",{enumerable:!0,get:function(){return Pr.max}});var ct=o(50304);Object.defineProperty(h,"mergeAll",{enumerable:!0,get:function(){return ct.mergeAll}});var Tt=o(98924);Object.defineProperty(h,"flatMap",{enumerable:!0,get:function(){return Tt.flatMap}});var St=o(33480);Object.defineProperty(h,"mergeMap",{enumerable:!0,get:function(){return St.mergeMap}});var Jt=o(73232);Object.defineProperty(h,"mergeMapTo",{enumerable:!0,get:function(){return Jt.mergeMapTo}});var an=o(3380);Object.defineProperty(h,"mergeScan",{enumerable:!0,get:function(){return an.mergeScan}});var Cn=o(57308);Object.defineProperty(h,"mergeWith",{enumerable:!0,get:function(){return Cn.mergeWith}});var yn=o(87832);Object.defineProperty(h,"min",{enumerable:!0,get:function(){return yn.min}});var Qn=o(66752);Object.defineProperty(h,"multicast",{enumerable:!0,get:function(){return Qn.multicast}});var Un=o(33752);Object.defineProperty(h,"observeOn",{enumerable:!0,get:function(){return Un.observeOn}});var Tr=o(19184);Object.defineProperty(h,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Tr.onErrorResumeNextWith}});var Er=o(74612);Object.defineProperty(h,"pairwise",{enumerable:!0,get:function(){return Er.pairwise}});var Hn=o(64712);Object.defineProperty(h,"pluck",{enumerable:!0,get:function(){return Hn.pluck}});var ur=o(70320);Object.defineProperty(h,"publish",{enumerable:!0,get:function(){return ur.publish}});var Ei=o(40360);Object.defineProperty(h,"publishBehavior",{enumerable:!0,get:function(){return Ei.publishBehavior}});var on=o(64960);Object.defineProperty(h,"publishLast",{enumerable:!0,get:function(){return on.publishLast}});var U=o(23944);Object.defineProperty(h,"publishReplay",{enumerable:!0,get:function(){return U.publishReplay}});var z=o(53424);Object.defineProperty(h,"raceWith",{enumerable:!0,get:function(){return z.raceWith}});var ae=o(39980);Object.defineProperty(h,"reduce",{enumerable:!0,get:function(){return ae.reduce}});var He=o(90532);Object.defineProperty(h,"repeat",{enumerable:!0,get:function(){return He.repeat}});var Ie=o(15696);Object.defineProperty(h,"repeatWhen",{enumerable:!0,get:function(){return Ie.repeatWhen}});var fe=o(584);Object.defineProperty(h,"retry",{enumerable:!0,get:function(){return fe.retry}});var Te=o(46856);Object.defineProperty(h,"retryWhen",{enumerable:!0,get:function(){return Te.retryWhen}});var ot=o(60300);Object.defineProperty(h,"refCount",{enumerable:!0,get:function(){return ot.refCount}});var ht=o(64968);Object.defineProperty(h,"sample",{enumerable:!0,get:function(){return ht.sample}});var Ct=o(97792);Object.defineProperty(h,"sampleTime",{enumerable:!0,get:function(){return Ct.sampleTime}});var Lt=o(17752);Object.defineProperty(h,"scan",{enumerable:!0,get:function(){return Lt.scan}});var Kt=o(43904);Object.defineProperty(h,"sequenceEqual",{enumerable:!0,get:function(){return Kt.sequenceEqual}});var dn=o(95912);Object.defineProperty(h,"share",{enumerable:!0,get:function(){return dn.share}});var fn=o(20468);Object.defineProperty(h,"shareReplay",{enumerable:!0,get:function(){return fn.shareReplay}});var mn=o(43952);Object.defineProperty(h,"single",{enumerable:!0,get:function(){return mn.single}});var ln=o(98196);Object.defineProperty(h,"skip",{enumerable:!0,get:function(){return ln.skip}});var Yt=o(47832);Object.defineProperty(h,"skipLast",{enumerable:!0,get:function(){return Yt.skipLast}});var Ln=o(36840);Object.defineProperty(h,"skipUntil",{enumerable:!0,get:function(){return Ln.skipUntil}});var lr=o(49856);Object.defineProperty(h,"skipWhile",{enumerable:!0,get:function(){return lr.skipWhile}});var cr=o(59612);Object.defineProperty(h,"startWith",{enumerable:!0,get:function(){return cr.startWith}});var Nr=o(67992);Object.defineProperty(h,"subscribeOn",{enumerable:!0,get:function(){return Nr.subscribeOn}});var Lr=o(63368);Object.defineProperty(h,"switchAll",{enumerable:!0,get:function(){return Lr.switchAll}});var ut=o(39876);Object.defineProperty(h,"switchMap",{enumerable:!0,get:function(){return ut.switchMap}});var lo=o(57168);Object.defineProperty(h,"switchMapTo",{enumerable:!0,get:function(){return lo.switchMapTo}});var vi=o(19980);Object.defineProperty(h,"switchScan",{enumerable:!0,get:function(){return vi.switchScan}});var _r=o(38120);Object.defineProperty(h,"take",{enumerable:!0,get:function(){return _r.take}});var wn=o(32224);Object.defineProperty(h,"takeLast",{enumerable:!0,get:function(){return wn.takeLast}});var $n=o(91540);Object.defineProperty(h,"takeUntil",{enumerable:!0,get:function(){return $n.takeUntil}});var si=o(35408);Object.defineProperty(h,"takeWhile",{enumerable:!0,get:function(){return si.takeWhile}});var Ir=o(46748);Object.defineProperty(h,"tap",{enumerable:!0,get:function(){return Ir.tap}});var ai=o(66720);Object.defineProperty(h,"throttle",{enumerable:!0,get:function(){return ai.throttle}});var On=o(44236);Object.defineProperty(h,"throttleTime",{enumerable:!0,get:function(){return On.throttleTime}});var ti=o(51056);Object.defineProperty(h,"throwIfEmpty",{enumerable:!0,get:function(){return ti.throwIfEmpty}});var Zr=o(39500);Object.defineProperty(h,"timeInterval",{enumerable:!0,get:function(){return Zr.timeInterval}});var Xr=o(20268);Object.defineProperty(h,"timeout",{enumerable:!0,get:function(){return Xr.timeout}});var Vi=o(88536);Object.defineProperty(h,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var hr=o(37248);Object.defineProperty(h,"timestamp",{enumerable:!0,get:function(){return hr.timestamp}});var Yi=o(29316);Object.defineProperty(h,"toArray",{enumerable:!0,get:function(){return Yi.toArray}});var ko=o(40560);Object.defineProperty(h,"window",{enumerable:!0,get:function(){return ko.window}});var go=o(79068);Object.defineProperty(h,"windowCount",{enumerable:!0,get:function(){return go.windowCount}});var Jr=o(11984);Object.defineProperty(h,"windowTime",{enumerable:!0,get:function(){return Jr.windowTime}});var Wi=o(97776);Object.defineProperty(h,"windowToggle",{enumerable:!0,get:function(){return Wi.windowToggle}});var qi=o(36872);Object.defineProperty(h,"windowWhen",{enumerable:!0,get:function(){return qi.windowWhen}});var ro=o(95780);Object.defineProperty(h,"withLatestFrom",{enumerable:!0,get:function(){return ro.withLatestFrom}});var Rr=o(71120);Object.defineProperty(h,"zipAll",{enumerable:!0,get:function(){return Rr.zipAll}});var mo=o(56824);Object.defineProperty(h,"zipWith",{enumerable:!0,get:function(){return mo.zipWith}})},70408:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncSubject=void 0;var d=function(a){function c(){var e=null!==a&&a.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(c,a),c.prototype._checkFinalizedStatuses=function(e){var u=this,g=u._hasValue,v=u._value,C=u.isStopped,b=u._isComplete;u.hasError?e.error(u.thrownError):(C||b)&&(g&&e.next(v),e.complete())},c.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},c.prototype.complete=function(){var e=this,u=e._hasValue,l=e._value;e._isComplete||(this._isComplete=!0,u&&a.prototype.next.call(this,l),a.prototype.complete.call(this))},c}(o(90120).Subject);h.AsyncSubject=d},60488:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.BehaviorSubject=void 0;var d=function(a){function c(e){var u=a.call(this)||this;return u._value=e,u}return n(c,a),Object.defineProperty(c.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),c.prototype._subscribe=function(e){var u=a.prototype._subscribe.call(this,e);return!u.closed&&e.next(this._value),u},c.prototype.getValue=function(){var e=this,g=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),g},c.prototype.next=function(e){a.prototype.next.call(this,this._value=e)},c}(o(90120).Subject);h.BehaviorSubject=d},12032:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeNotification=h.Notification=h.NotificationKind=void 0;var l,n=o(31456),i=o(41536),d=o(3312),a=o(82360);(l=h.NotificationKind||(h.NotificationKind={})).NEXT="N",l.ERROR="E",l.COMPLETE="C";var e=function(){function l(g,v,p){this.kind=g,this.value=v,this.error=p,this.hasValue="N"===g}return l.prototype.observe=function(g){return u(this,g)},l.prototype.do=function(g,v,p){var C=this,b=C.kind,_=C.value,f=C.error;return"N"===b?g?.(_):"E"===b?v?.(f):p?.()},l.prototype.accept=function(g,v,p){var C;return a.isFunction(null===(C=g)||void 0===C?void 0:C.next)?this.observe(g):this.do(g,v,p)},l.prototype.toObservable=function(){var g=this,v=g.kind,C=g.error,b="N"===v?i.of(g.value):"E"===v?d.throwError(function(){return C}):"C"===v?n.EMPTY:0;if(!b)throw new TypeError("Unexpected notification kind "+v);return b},l.createNext=function(g){return new l("N",g)},l.createError=function(g){return new l("E",void 0,g)},l.createComplete=function(){return l.completeNotification},l.completeNotification=new l("C"),l}();function u(l,g){var v,p,C,_=l.kind,f=l.value,y=l.error;if("string"!=typeof _)throw new TypeError('Invalid notification, missing "kind"');"N"===_?null===(v=g.next)||void 0===v||v.call(g,f):"E"===_?null===(p=g.error)||void 0===p||p.call(g,y):null===(C=g.complete)||void 0===C||C.call(g)}h.Notification=e,h.observeNotification=u},62640:(ve,h)=>{"use strict";function i(d,a,c){return{kind:d,value:a,error:c}}Object.defineProperty(h,"__esModule",{value:!0}),h.createNotification=h.nextNotification=h.errorNotification=h.COMPLETE_NOTIFICATION=void 0,h.COMPLETE_NOTIFICATION=i("C",void 0,void 0),h.errorNotification=function o(d){return i("E",void 0,d)},h.nextNotification=function n(d){return i("N",d,void 0)},h.createNotification=i},15448:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Observable=void 0;var n=o(41596),i=o(40576),d=o(72064),a=o(19512),c=o(90584),e=o(82360),u=o(49664),l=function(){function C(b){b&&(this._subscribe=b)}return C.prototype.lift=function(b){var _=new C;return _.source=this,_.operator=b,_},C.prototype.subscribe=function(b,_,f){var y=this,S=function p(C){return C&&C instanceof n.Subscriber||function v(C){return C&&e.isFunction(C.next)&&e.isFunction(C.error)&&e.isFunction(C.complete)}(C)&&i.isSubscription(C)}(b)?b:new n.SafeSubscriber(b,_,f);return u.errorContext(function(){var w=y.operator,A=y.source;S.add(w?w.call(S,A):A?y._subscribe(S):y._trySubscribe(S))}),S},C.prototype._trySubscribe=function(b){try{return this._subscribe(b)}catch(_){b.error(_)}},C.prototype.forEach=function(b,_){var f=this;return new(_=g(_))(function(y,S){var M=new n.SafeSubscriber({next:function(w){try{b(w)}catch(A){S(A),M.unsubscribe()}},error:S,complete:y});f.subscribe(M)})},C.prototype._subscribe=function(b){var _;return null===(_=this.source)||void 0===_?void 0:_.subscribe(b)},C.prototype[d.observable]=function(){return this},C.prototype.pipe=function(){for(var b=[],_=0;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Scheduler=void 0;var n=o(8764),i=function(){function d(a,c){void 0===c&&(c=d.now),this.schedulerActionCtor=a,this.now=c}return d.prototype.schedule=function(a,c,e){return void 0===c&&(c=0),new this.schedulerActionCtor(this,a).schedule(e,c)},d.now=n.dateTimestampProvider.now,d}();h.Scheduler=i},90120:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var v=function(p,C){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,_){b.__proto__=_}||function(b,_){for(var f in _)Object.prototype.hasOwnProperty.call(_,f)&&(b[f]=_[f])})(p,C)};return function(p,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function b(){this.constructor=p}v(p,C),p.prototype=null===C?Object.create(C):(b.prototype=C.prototype,new b)}}(),i=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,C=p&&v[p],b=0;if(C)return C.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&b>=v.length&&(v=void 0),{value:v&&v[b++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.AnonymousSubject=h.Subject=void 0;var d=o(15448),a=o(40576),c=o(92304),e=o(39852),u=o(49664),l=function(v){function p(){var C=v.call(this)||this;return C.closed=!1,C.currentObservers=null,C.observers=[],C.isStopped=!1,C.hasError=!1,C.thrownError=null,C}return n(p,v),p.prototype.lift=function(C){var b=new g(this,this);return b.operator=C,b},p.prototype._throwIfClosed=function(){if(this.closed)throw new c.ObjectUnsubscribedError},p.prototype.next=function(C){var b=this;u.errorContext(function(){var _,f;if(b._throwIfClosed(),!b.isStopped){b.currentObservers||(b.currentObservers=Array.from(b.observers));try{for(var y=i(b.currentObservers),S=y.next();!S.done;S=y.next())S.value.next(C)}catch(w){_={error:w}}finally{try{S&&!S.done&&(f=y.return)&&f.call(y)}finally{if(_)throw _.error}}}})},p.prototype.error=function(C){var b=this;u.errorContext(function(){if(b._throwIfClosed(),!b.isStopped){b.hasError=b.isStopped=!0,b.thrownError=C;for(var _=b.observers;_.length;)_.shift().error(C)}})},p.prototype.complete=function(){var C=this;u.errorContext(function(){if(C._throwIfClosed(),!C.isStopped){C.isStopped=!0;for(var b=C.observers;b.length;)b.shift().complete()}})},p.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(p.prototype,"observed",{get:function(){var C;return(null===(C=this.observers)||void 0===C?void 0:C.length)>0},enumerable:!1,configurable:!0}),p.prototype._trySubscribe=function(C){return this._throwIfClosed(),v.prototype._trySubscribe.call(this,C)},p.prototype._subscribe=function(C){return this._throwIfClosed(),this._checkFinalizedStatuses(C),this._innerSubscribe(C)},p.prototype._innerSubscribe=function(C){var b=this,_=this,S=_.observers;return _.hasError||_.isStopped?a.EMPTY_SUBSCRIPTION:(this.currentObservers=null,S.push(C),new a.Subscription(function(){b.currentObservers=null,e.arrRemove(S,C)}))},p.prototype._checkFinalizedStatuses=function(C){var b=this,y=b.isStopped;b.hasError?C.error(b.thrownError):y&&C.complete()},p.prototype.asObservable=function(){var C=new d.Observable;return C.source=this,C},p.create=function(C,b){return new g(C,b)},p}(d.Observable);h.Subject=l;var g=function(v){function p(C,b){var _=v.call(this)||this;return _.destination=C,_.source=b,_}return n(p,v),p.prototype.next=function(C){var b,_;null===(_=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===_||_.call(b,C)},p.prototype.error=function(C){var b,_;null===(_=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===_||_.call(b,C)},p.prototype.complete=function(){var C,b;null===(b=null===(C=this.destination)||void 0===C?void 0:C.complete)||void 0===b||b.call(C)},p.prototype._subscribe=function(C){var b,_;return null!==(_=null===(b=this.source)||void 0===b?void 0:b.subscribe(C))&&void 0!==_?_:a.EMPTY_SUBSCRIPTION},p}(l);h.AnonymousSubject=g},41596:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var M=function(w,A){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(O,F){O.__proto__=F}||function(O,F){for(var j in F)Object.prototype.hasOwnProperty.call(F,j)&&(O[j]=F[j])})(w,A)};return function(w,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function O(){this.constructor=w}M(w,A),w.prototype=null===A?Object.create(A):(O.prototype=A.prototype,new O)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.EMPTY_OBSERVER=h.SafeSubscriber=h.Subscriber=void 0;var i=o(82360),d=o(40576),a=o(90584),c=o(50131),e=o(48320),u=o(62640),l=o(82480),g=o(49664),v=function(M){function w(A){var O=M.call(this)||this;return O.isStopped=!1,A?(O.destination=A,d.isSubscription(A)&&A.add(O)):O.destination=h.EMPTY_OBSERVER,O}return n(w,M),w.create=function(A,O,F){return new _(A,O,F)},w.prototype.next=function(A){this.isStopped?S(u.nextNotification(A),this):this._next(A)},w.prototype.error=function(A){this.isStopped?S(u.errorNotification(A),this):(this.isStopped=!0,this._error(A))},w.prototype.complete=function(){this.isStopped?S(u.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},w.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,M.prototype.unsubscribe.call(this),this.destination=null)},w.prototype._next=function(A){this.destination.next(A)},w.prototype._error=function(A){try{this.destination.error(A)}finally{this.unsubscribe()}},w.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},w}(d.Subscription);h.Subscriber=v;var p=Function.prototype.bind;function C(M,w){return p.call(M,w)}var b=function(){function M(w){this.partialObserver=w}return M.prototype.next=function(w){var A=this.partialObserver;if(A.next)try{A.next(w)}catch(O){f(O)}},M.prototype.error=function(w){var A=this.partialObserver;if(A.error)try{A.error(w)}catch(O){f(O)}else f(w)},M.prototype.complete=function(){var w=this.partialObserver;if(w.complete)try{w.complete()}catch(A){f(A)}},M}(),_=function(M){function w(A,O,F){var T,I,j=M.call(this)||this;return i.isFunction(A)||!A?T={next:A??void 0,error:O??void 0,complete:F??void 0}:j&&a.config.useDeprecatedNextContext?((I=Object.create(A)).unsubscribe=function(){return j.unsubscribe()},T={next:A.next&&C(A.next,I),error:A.error&&C(A.error,I),complete:A.complete&&C(A.complete,I)}):T=A,j.destination=new b(T),j}return n(w,M),w}(v);function f(M){a.config.useDeprecatedSynchronousErrorHandling?g.captureError(M):c.reportUnhandledError(M)}function S(M,w){var A=a.config.onStoppedNotification;A&&l.timeoutProvider.setTimeout(function(){return A(M,w)})}h.SafeSubscriber=_,h.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function y(M){throw M},complete:e.noop}},40576:function(ve,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,C=p&&v[p],b=0;if(C)return C.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&b>=v.length&&(v=void 0),{value:v&&v[b++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(v,p){var C="function"==typeof Symbol&&v[Symbol.iterator];if(!C)return v;var _,y,b=C.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=b.next()).done;)f.push(_.value)}catch(S){y={error:S}}finally{try{_&&!_.done&&(C=b.return)&&C.call(b)}finally{if(y)throw y.error}}return f},d=this&&this.__spreadArray||function(v,p){for(var C=0,b=p.length,_=v.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.config=void 0,h.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.firstValueFrom=void 0;var n=o(51544),i=o(41596);h.firstValueFrom=function d(a,c){var e="object"==typeof c;return new Promise(function(u,l){var g=new i.SafeSubscriber({next:function(v){u(v),g.unsubscribe()},error:l,complete:function(){e?u(c.defaultValue):l(new n.EmptyError)}});a.subscribe(g)})}},59452:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.lastValueFrom=void 0;var n=o(51544);h.lastValueFrom=function i(d,a){var c="object"==typeof a;return new Promise(function(e,u){var g,l=!1;d.subscribe({next:function(v){g=v,l=!0},error:u,complete:function(){l?e(g):c?e(a.defaultValue):u(new n.EmptyError)}})})}},42416:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var l=function(g,v){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,C){p.__proto__=C}||function(p,C){for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&(p[b]=C[b])})(g,v)};return function(g,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function p(){this.constructor=g}l(g,v),g.prototype=null===v?Object.create(v):(p.prototype=v.prototype,new p)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.ConnectableObservable=void 0;var i=o(15448),d=o(40576),a=o(60300),c=o(35744),e=o(66080),u=function(l){function g(v,p){var C=l.call(this)||this;return C.source=v,C.subjectFactory=p,C._subject=null,C._refCount=0,C._connection=null,e.hasLift(v)&&(C.lift=v.lift),C}return n(g,l),g.prototype._subscribe=function(v){return this.getSubject().subscribe(v)},g.prototype.getSubject=function(){var v=this._subject;return(!v||v.isStopped)&&(this._subject=this.subjectFactory()),this._subject},g.prototype._teardown=function(){this._refCount=0;var v=this._connection;this._subject=this._connection=null,v?.unsubscribe()},g.prototype.connect=function(){var v=this,p=this._connection;if(!p){p=this._connection=new d.Subscription;var C=this.getSubject();p.add(this.source.subscribe(c.createOperatorSubscriber(C,void 0,function(){v._teardown(),C.complete()},function(b){v._teardown(),C.error(b)},function(){return v._teardown()}))),p.closed&&(this._connection=null,p=d.Subscription.EMPTY)}return p},g.prototype.refCount=function(){return a.refCount()(this)},g}(i.Observable);h.ConnectableObservable=u},1856:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindCallback=void 0;var n=o(98140);h.bindCallback=function i(d,a,c){return n.bindCallbackInternals(!1,d,a,c)}},98140:function(ve,h,o){"use strict";var n=this&&this.__read||function(v,p){var C="function"==typeof Symbol&&v[Symbol.iterator];if(!C)return v;var _,y,b=C.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=b.next()).done;)f.push(_.value)}catch(S){y={error:S}}finally{try{_&&!_.done&&(C=b.return)&&C.call(b)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var C=0,b=p.length,_=v.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindNodeCallback=void 0;var n=o(98140);h.bindNodeCallback=function i(d,a,c){return n.bindCallbackInternals(!0,d,a,c)}},60128:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestInit=h.combineLatest=void 0;var n=o(15448),i=o(75352),d=o(38485),a=o(55184),c=o(82664),e=o(69724),u=o(7788),l=o(35744),g=o(61760);function p(b,_,f){return void 0===f&&(f=a.identity),function(y){C(_,function(){for(var S=b.length,M=new Array(S),w=S,A=S,O=function(j){C(_,function(){var T=d.from(b[j],_),I=!1;T.subscribe(l.createOperatorSubscriber(y,function(k){M[j]=k,I||(I=!0,A--),A||y.next(f(M.slice()))},function(){--w||y.complete()}))},y)},F=0;F{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concat=void 0;var n=o(26608),i=o(69724),d=o(38485);h.concat=function a(){for(var c=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connectable=void 0;var n=o(90120),i=o(15448),d=o(71896),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};h.connectable=function c(e,u){void 0===u&&(u=a);var l=null,g=u.connector,v=u.resetOnDisconnect,p=void 0===v||v,C=g(),b=new i.Observable(function(_){return C.subscribe(_)});return b.connect=function(){return(!l||l.closed)&&(l=d.defer(function(){return e}).subscribe(C),p&&l.add(function(){return C=g()})),l},b}},71896:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defer=void 0;var n=o(15448),i=o(81280);h.defer=function d(a){return new n.Observable(function(c){i.innerFrom(a()).subscribe(c)})}},72444:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrames=void 0;var n=o(15448),i=o(68424),d=o(24352);function c(u){return new n.Observable(function(l){var g=u||i.performanceTimestampProvider,v=g.now(),p=0,C=function(){l.closed||(p=d.animationFrameProvider.requestAnimationFrame(function(b){p=0;var _=g.now();l.next({timestamp:u?_:b,elapsed:_-v}),C()}))};return C(),function(){p&&d.animationFrameProvider.cancelAnimationFrame(p)}})}h.animationFrames=function a(u){return u?c(u):e};var e=c()},31456:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.empty=h.EMPTY=void 0;var n=o(15448);h.EMPTY=new n.Observable(function(a){return a.complete()}),h.empty=function i(a){return a?function d(a){return new n.Observable(function(c){return a.schedule(function(){return c.complete()})})}(a):h.EMPTY}},93052:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.forkJoin=void 0;var n=o(15448),i=o(75352),d=o(81280),a=o(69724),c=o(35744),e=o(82664),u=o(7788);h.forkJoin=function l(){for(var g=[],v=0;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.from=void 0;var n=o(44232),i=o(81280);h.from=function d(a,c){return c?n.scheduled(a,c):i.innerFrom(a)}},85e3:function(ve,h,o){"use strict";var n=this&&this.__read||function(y,S){var M="function"==typeof Symbol&&y[Symbol.iterator];if(!M)return y;var A,F,w=M.call(y),O=[];try{for(;(void 0===S||S-- >0)&&!(A=w.next()).done;)O.push(A.value)}catch(j){F={error:j}}finally{try{A&&!A.done&&(M=w.return)&&M.call(w)}finally{if(F)throw F.error}}return O};Object.defineProperty(h,"__esModule",{value:!0}),h.fromEvent=void 0;var i=o(81280),d=o(15448),a=o(33480),c=o(18224),e=o(82360),u=o(82664),l=["addListener","removeListener"],g=["addEventListener","removeEventListener"],v=["on","off"];function C(y,S){return function(M){return function(w){return y[M](S,w)}}}h.fromEvent=function p(y,S,M,w){if(e.isFunction(M)&&(w=M,M=void 0),w)return p(y,S,M).pipe(u.mapOneOrManyArgs(w));var A=n(function f(y){return e.isFunction(y.addEventListener)&&e.isFunction(y.removeEventListener)}(y)?g.map(function(j){return function(T){return y[j](S,T,M)}}):function b(y){return e.isFunction(y.addListener)&&e.isFunction(y.removeListener)}(y)?l.map(C(y,S)):function _(y){return e.isFunction(y.on)&&e.isFunction(y.off)}(y)?v.map(C(y,S)):[],2),O=A[0],F=A[1];if(!O&&c.isArrayLike(y))return a.mergeMap(function(j){return p(j,S,M)})(i.innerFrom(y));if(!O)throw new TypeError("Invalid event target");return new d.Observable(function(j){var T=function(){for(var I=[],k=0;k{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromEventPattern=void 0;var n=o(15448),i=o(82360),d=o(82664);h.fromEventPattern=function a(c,e,u){return u?a(c,e).pipe(d.mapOneOrManyArgs(u)):new n.Observable(function(l){var g=function(){for(var p=[],C=0;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromSubscribable=void 0;var n=o(15448);h.fromSubscribable=function i(d){return new n.Observable(function(a){return d.subscribe(a)})}},92560:function(ve,h,o){"use strict";var n=this&&this.__generator||function(u,l){var v,p,C,b,g={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return b={next:_(0),throw:_(1),return:_(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function _(y){return function(S){return function f(y){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,p&&(C=2&y[0]?p.return:y[0]?p.throw||((C=p.return)&&C.call(p),0):p.next)&&!(C=C.call(p,y[1])).done)return C;switch(p=0,C&&(y=[2&y[0],C.value]),y[0]){case 0:case 1:C=y;break;case 4:return g.label++,{value:y[1],done:!1};case 5:g.label++,p=y[1],y=[0];continue;case 7:y=g.ops.pop(),g.trys.pop();continue;default:if(!(C=(C=g.trys).length>0&&C[C.length-1])&&(6===y[0]||2===y[0])){g=0;continue}if(3===y[0]&&(!C||y[1]>C[0]&&y[1]{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.iif=void 0;var n=o(71896);h.iif=function i(d,a,c){return n.defer(function(){return d()?a:c})}},81280:function(ve,h,o){"use strict";var n=this&&this.__awaiter||function(T,I,k,N){return new(k||(k=Promise))(function(H,G){function te(K){try{se(N.next(K))}catch(Z){G(Z)}}function ce(K){try{se(N.throw(K))}catch(Z){G(Z)}}function se(K){K.done?H(K.value):function x(H){return H instanceof k?H:new k(function(G){G(H)})}(K.value).then(te,ce)}se((N=N.apply(T,I||[])).next())})},i=this&&this.__generator||function(T,I){var N,x,H,G,k={label:0,sent:function(){if(1&H[0])throw H[1];return H[1]},trys:[],ops:[]};return G={next:te(0),throw:te(1),return:te(2)},"function"==typeof Symbol&&(G[Symbol.iterator]=function(){return this}),G;function te(se){return function(K){return function ce(se){if(N)throw new TypeError("Generator is already executing.");for(;k;)try{if(N=1,x&&(H=2&se[0]?x.return:se[0]?x.throw||((H=x.return)&&H.call(x),0):x.next)&&!(H=H.call(x,se[1])).done)return H;switch(x=0,H&&(se=[2&se[0],H.value]),se[0]){case 0:case 1:H=se;break;case 4:return k.label++,{value:se[1],done:!1};case 5:k.label++,x=se[1],se=[0];continue;case 7:se=k.ops.pop(),k.trys.pop();continue;default:if(!(H=(H=k.trys).length>0&&H[H.length-1])&&(6===se[0]||2===se[0])){k=0;continue}if(3===se[0]&&(!H||se[1]>H[0]&&se[1]=T.length&&(T=void 0),{value:T&&T[N++],done:!T}}};throw new TypeError(I?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.fromReadableStreamLike=h.fromAsyncIterable=h.fromIterable=h.fromPromise=h.fromArrayLike=h.fromInteropObservable=h.innerFrom=void 0;var c=o(18224),e=o(28296),u=o(15448),l=o(18440),g=o(37156),v=o(34088),p=o(30640),C=o(11416),b=o(82360),_=o(50131),f=o(72064);function S(T){return new u.Observable(function(I){var k=T[f.observable]();if(b.isFunction(k.subscribe))return k.subscribe(I);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function M(T){return new u.Observable(function(I){for(var k=0;k{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.interval=void 0;var n=o(69252),i=o(34168);h.interval=function d(a,c){return void 0===a&&(a=0),void 0===c&&(c=n.asyncScheduler),a<0&&(a=0),i.timer(a,a,c)}},14152:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.merge=void 0;var n=o(50304),i=o(81280),d=o(31456),a=o(69724),c=o(38485);h.merge=function e(){for(var u=[],l=0;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.never=h.NEVER=void 0;var n=o(15448),i=o(48320);h.NEVER=new n.Observable(i.noop),h.never=function d(){return h.NEVER}},41536:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.of=void 0;var n=o(69724),i=o(38485);h.of=function d(){for(var a=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.onErrorResumeNext=void 0;var n=o(15448),i=o(50652),d=o(35744),a=o(48320),c=o(81280);h.onErrorResumeNext=function e(){for(var u=[],l=0;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairs=void 0;var n=o(38485);h.pairs=function i(d,a){return n.from(Object.entries(d),a)}},91792:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.partition=void 0;var n=o(37700),i=o(39840),d=o(81280);h.partition=function a(c,e,u){return[i.filter(e,u)(d.innerFrom(c)),i.filter(n.not(e,u))(d.innerFrom(c))]}},84048:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.raceInit=h.race=void 0;var n=o(15448),i=o(81280),d=o(50652),a=o(35744);function e(u){return function(l){for(var g=[],v=function(C){g.push(i.innerFrom(u[C]).subscribe(a.createOperatorSubscriber(l,function(b){if(g){for(var _=0;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.range=void 0;var n=o(15448),i=o(31456);h.range=function d(a,c,e){if(null==c&&(c=a,a=0),c<=0)return i.EMPTY;var u=c+a;return new n.Observable(e?function(l){var g=a;return e.schedule(function(){g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwError=void 0;var n=o(15448),i=o(82360);h.throwError=function d(a,c){var e=i.isFunction(a)?a:function(){return a},u=function(l){return l.error(e())};return new n.Observable(c?function(l){return c.schedule(u,0,l)}:u)}},34168:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timer=void 0;var n=o(15448),i=o(69252),d=o(76964),a=o(42384);h.timer=function c(e,u,l){void 0===e&&(e=0),void 0===l&&(l=i.async);var g=-1;return null!=u&&(d.isScheduler(u)?l=u:g=u),new n.Observable(function(v){var p=a.isValidDate(e)?+e-l.now():e;p<0&&(p=0);var C=0;return l.schedule(function(){v.closed||(v.next(C++),0<=g?this.schedule(void 0,g):v.complete())},p)})}},28684:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.using=void 0;var n=o(15448),i=o(81280),d=o(31456);h.using=function a(c,e){return new n.Observable(function(u){var l=c(),g=e(l);return(g?i.innerFrom(g):d.EMPTY).subscribe(u),function(){l&&l.unsubscribe()}})}},59172:function(ve,h,o){"use strict";var n=this&&this.__read||function(v,p){var C="function"==typeof Symbol&&v[Symbol.iterator];if(!C)return v;var _,y,b=C.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=b.next()).done;)f.push(_.value)}catch(S){y={error:S}}finally{try{_&&!_.done&&(C=b.return)&&C.call(b)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var C=0,b=p.length,_=v.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.audit=void 0;var n=o(66080),i=o(81280),d=o(35744);h.audit=function a(c){return n.operate(function(e,u){var l=!1,g=null,v=null,p=!1,C=function(){if(v?.unsubscribe(),v=null,l){l=!1;var _=g;g=null,u.next(_)}p&&u.complete()},b=function(){v=null,p&&u.complete()};e.subscribe(d.createOperatorSubscriber(u,function(_){l=!0,g=_,v||i.innerFrom(c(_)).subscribe(v=d.createOperatorSubscriber(u,C,b))},function(){p=!0,(!l||!v||v.closed)&&u.complete()}))})}},1393:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.auditTime=void 0;var n=o(69252),i=o(18380),d=o(34168);h.auditTime=function a(c,e){return void 0===e&&(e=n.asyncScheduler),i.audit(function(){return d.timer(c,e)})}},42744:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.buffer=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.buffer=function c(e){return n.operate(function(u,l){var g=[];return u.subscribe(d.createOperatorSubscriber(l,function(v){return g.push(v)},function(){l.next(g),l.complete()})),a.innerFrom(e).subscribe(d.createOperatorSubscriber(l,function(){var v=g;g=[],l.next(v)},i.noop)),function(){g=null}})}},57864:function(ve,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,l=u&&e[u],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferCount=void 0;var i=o(66080),d=o(35744),a=o(39852);h.bufferCount=function c(e,u){return void 0===u&&(u=null),u=u??e,i.operate(function(l,g){var v=[],p=0;l.subscribe(d.createOperatorSubscriber(g,function(C){var b,_,f,y,S=null;p++%u==0&&v.push([]);try{for(var M=n(v),w=M.next();!w.done;w=M.next())(A=w.value).push(C),e<=A.length&&(S=S??[]).push(A)}catch(j){b={error:j}}finally{try{w&&!w.done&&(_=M.return)&&_.call(M)}finally{if(b)throw b.error}}if(S)try{for(var O=n(S),F=O.next();!F.done;F=O.next()){var A;a.arrRemove(v,A=F.value),g.next(A)}}catch(j){f={error:j}}finally{try{F&&!F.done&&(y=O.return)&&y.call(O)}finally{if(f)throw f.error}}},function(){var C,b;try{for(var _=n(v),f=_.next();!f.done;f=_.next())g.next(f.value)}catch(S){C={error:S}}finally{try{f&&!f.done&&(b=_.return)&&b.call(_)}finally{if(C)throw C.error}}g.complete()},void 0,function(){v=null}))})}},42704:function(ve,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,C=p&&v[p],b=0;if(C)return C.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&b>=v.length&&(v=void 0),{value:v&&v[b++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferTime=void 0;var i=o(40576),d=o(66080),a=o(35744),c=o(39852),e=o(69252),u=o(69724),l=o(61760);h.bufferTime=function g(v){for(var p,C,b=[],_=1;_=0?l.executeSchedule(w,f,j,y,!0):O=!0,j();var T=a.createOperatorSubscriber(w,function(I){var k,N,x=A.slice();try{for(var H=n(x),G=H.next();!G.done;G=H.next()){var te=G.value,ce=te.buffer;ce.push(I),S<=ce.length&&F(te)}}catch(se){k={error:se}}finally{try{G&&!G.done&&(N=H.return)&&N.call(H)}finally{if(k)throw k.error}}},function(){for(;A?.length;)w.next(A.shift().buffer);T?.unsubscribe(),w.complete(),w.unsubscribe()},void 0,function(){return A=null});M.subscribe(T)})}},21964:function(ve,h,o){"use strict";var n=this&&this.__values||function(g){var v="function"==typeof Symbol&&Symbol.iterator,p=v&&g[v],C=0;if(p)return p.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&C>=g.length&&(g=void 0),{value:g&&g[C++],done:!g}}};throw new TypeError(v?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferToggle=void 0;var i=o(40576),d=o(66080),a=o(81280),c=o(35744),e=o(48320),u=o(39852);h.bufferToggle=function l(g,v){return d.operate(function(p,C){var b=[];a.innerFrom(g).subscribe(c.createOperatorSubscriber(C,function(_){var f=[];b.push(f);var y=new i.Subscription;y.add(a.innerFrom(v(_)).subscribe(c.createOperatorSubscriber(C,function(){u.arrRemove(b,f),C.next(f),y.unsubscribe()},e.noop)))},e.noop)),p.subscribe(c.createOperatorSubscriber(C,function(_){var f,y;try{for(var S=n(b),M=S.next();!M.done;M=S.next())M.value.push(_)}catch(A){f={error:A}}finally{try{M&&!M.done&&(y=S.return)&&y.call(S)}finally{if(f)throw f.error}}},function(){for(;b.length>0;)C.next(b.shift());C.complete()}))})}},16323:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bufferWhen=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.bufferWhen=function c(e){return n.operate(function(u,l){var g=null,v=null,p=function(){v?.unsubscribe();var C=g;g=[],C&&l.next(C),a.innerFrom(e()).subscribe(v=d.createOperatorSubscriber(l,p,i.noop))};p(),u.subscribe(d.createOperatorSubscriber(l,function(C){return g?.push(C)},function(){g&&l.next(g),l.complete()},void 0,function(){return g=v=null}))})}},11708:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.catchError=void 0;var n=o(81280),i=o(35744),d=o(66080);h.catchError=function a(c){return d.operate(function(e,u){var v,l=null,g=!1;l=e.subscribe(i.createOperatorSubscriber(u,void 0,void 0,function(p){v=n.innerFrom(c(p,a(c)(e))),l?(l.unsubscribe(),l=null,v.subscribe(u)):g=!0})),g&&(l.unsubscribe(),l=null,v.subscribe(u))})}},25184:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineAll=void 0;var n=o(86576);h.combineAll=n.combineLatestAll},31384:function(ve,h,o){"use strict";var n=this&&this.__read||function(v,p){var C="function"==typeof Symbol&&v[Symbol.iterator];if(!C)return v;var _,y,b=C.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=b.next()).done;)f.push(_.value)}catch(S){y={error:S}}finally{try{_&&!_.done&&(C=b.return)&&C.call(b)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var C=0,b=p.length,_=v.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestAll=void 0;var n=o(60128),i=o(28400);h.combineLatestAll=function d(a){return i.joinAllInternals(n.combineLatest,a)}},71480:function(ve,h,o){"use strict";var n=this&&this.__read||function(c,e){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var g,p,l=u.call(c),v=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)v.push(g.value)}catch(C){p={error:C}}finally{try{g&&!g.done&&(u=l.return)&&u.call(l)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(c,e){for(var u=0,l=e.length,g=c.length;u0)&&!(C=p.next()).done;)b.push(C.value)}catch(f){_={error:f}}finally{try{C&&!C.done&&(v=p.return)&&v.call(p)}finally{if(_)throw _.error}}return b},i=this&&this.__spreadArray||function(l,g){for(var v=0,p=g.length,C=l.length;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatAll=void 0;var n=o(50304);h.concatAll=function i(){return n.mergeAll(1)}},68584:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMap=void 0;var n=o(33480),i=o(82360);h.concatMap=function d(a,c){return i.isFunction(c)?n.mergeMap(a,c,1):n.mergeMap(a,1)}},38776:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMapTo=void 0;var n=o(68584),i=o(82360);h.concatMapTo=function d(a,c){return i.isFunction(c)?n.concatMap(function(){return a},c):n.concatMap(function(){return a})}},23332:function(ve,h,o){"use strict";var n=this&&this.__read||function(c,e){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var g,p,l=u.call(c),v=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)v.push(g.value)}catch(C){p={error:C}}finally{try{g&&!g.done&&(u=l.return)&&u.call(l)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(c,e){for(var u=0,l=e.length,g=c.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connect=void 0;var n=o(90120),i=o(81280),d=o(66080),a=o(28544),c={connector:function(){return new n.Subject}};h.connect=function e(u,l){void 0===l&&(l=c);var g=l.connector;return d.operate(function(v,p){var C=g();i.innerFrom(u(a.fromSubscribable(C))).subscribe(p),p.add(v.subscribe(C))})}},95572:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.count=void 0;var n=o(39980);h.count=function i(d){return n.reduce(function(a,c,e){return!d||d(c,e)?a+1:a},0)}},42568:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounce=void 0;var n=o(66080),i=o(48320),d=o(35744),a=o(81280);h.debounce=function c(e){return n.operate(function(u,l){var g=!1,v=null,p=null,C=function(){if(p?.unsubscribe(),p=null,g){g=!1;var b=v;v=null,l.next(b)}};u.subscribe(d.createOperatorSubscriber(l,function(b){p?.unsubscribe(),g=!0,v=b,p=d.createOperatorSubscriber(l,C,i.noop),a.innerFrom(e(b)).subscribe(p)},function(){C(),l.complete()},void 0,function(){v=p=null}))})}},86275:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounceTime=void 0;var n=o(69252),i=o(66080),d=o(35744);h.debounceTime=function a(c,e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(u,l){var g=null,v=null,p=null,C=function(){if(g){g.unsubscribe(),g=null;var _=v;v=null,l.next(_)}};function b(){var _=p+c,f=e.now();if(f<_)return g=this.schedule(void 0,_-f),void l.add(g);C()}u.subscribe(d.createOperatorSubscriber(l,function(_){v=_,p=e.now(),g||(g=e.schedule(b,c),l.add(g))},function(){C(),l.complete()},void 0,function(){v=g=null}))})}},14707:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defaultIfEmpty=void 0;var n=o(66080),i=o(35744);h.defaultIfEmpty=function d(a){return n.operate(function(c,e){var u=!1;c.subscribe(i.createOperatorSubscriber(e,function(l){u=!0,e.next(l)},function(){u||e.next(a),e.complete()}))})}},99592:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delay=void 0;var n=o(69252),i=o(59304),d=o(34168);h.delay=function a(c,e){void 0===e&&(e=n.asyncScheduler);var u=d.timer(c,e);return i.delayWhen(function(){return u})}},59304:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delayWhen=void 0;var n=o(24560),i=o(38120),d=o(77392),a=o(89224),c=o(33480),e=o(81280);h.delayWhen=function u(l,g){return g?function(v){return n.concat(g.pipe(i.take(1),d.ignoreElements()),v.pipe(u(l)))}:c.mergeMap(function(v,p){return e.innerFrom(l(v,p)).pipe(i.take(1),a.mapTo(v))})}},84204:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dematerialize=void 0;var n=o(12032),i=o(66080),d=o(35744);h.dematerialize=function a(){return i.operate(function(c,e){c.subscribe(d.createOperatorSubscriber(e,function(u){return n.observeNotification(u,e)}))})}},51256:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinct=void 0;var n=o(66080),i=o(35744),d=o(48320),a=o(81280);h.distinct=function c(e,u){return n.operate(function(l,g){var v=new Set;l.subscribe(i.createOperatorSubscriber(g,function(p){var C=e?e(p):p;v.has(C)||(v.add(C),g.next(p))})),u&&a.innerFrom(u).subscribe(i.createOperatorSubscriber(g,function(){return v.clear()},d.noop))})}},21544:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilChanged=void 0;var n=o(55184),i=o(66080),d=o(35744);function c(e,u){return e===u}h.distinctUntilChanged=function a(e,u){return void 0===u&&(u=n.identity),e=e??c,i.operate(function(l,g){var v,p=!0;l.subscribe(d.createOperatorSubscriber(g,function(C){var b=u(C);(p||!e(v,b))&&(p=!1,v=b,g.next(C))}))})}},61544:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilKeyChanged=void 0;var n=o(21544);h.distinctUntilKeyChanged=function i(d,a){return n.distinctUntilChanged(function(c,e){return a?a(c[d],e[d]):c[d]===e[d]})}},51808:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.elementAt=void 0;var n=o(32929),i=o(39840),d=o(51056),a=o(14707),c=o(38120);h.elementAt=function e(u,l){if(u<0)throw new n.ArgumentOutOfRangeError;var g=arguments.length>=2;return function(v){return v.pipe(i.filter(function(p,C){return C===u}),c.take(1),g?a.defaultIfEmpty(l):d.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(ve,h,o){"use strict";var n=this&&this.__read||function(e,u){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var v,C,g=l.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(b){C={error:b}}finally{try{v&&!v.done&&(l=g.return)&&l.call(g)}finally{if(C)throw C.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var l=0,g=u.length,v=e.length;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.every=void 0;var n=o(66080),i=o(35744);h.every=function d(a,c){return n.operate(function(e,u){var l=0;e.subscribe(i.createOperatorSubscriber(u,function(g){a.call(c,g,l++,e)||(u.next(!1),u.complete())},function(){u.next(!0),u.complete()}))})}},53704:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaust=void 0;var n=o(34288);h.exhaust=n.exhaustAll},34288:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustAll=void 0;var n=o(44632),i=o(55184);h.exhaustAll=function d(){return n.exhaustMap(i.identity)}},44632:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustMap=void 0;var n=o(784),i=o(81280),d=o(66080),a=o(35744);h.exhaustMap=function c(e,u){return u?function(l){return l.pipe(c(function(g,v){return i.innerFrom(e(g,v)).pipe(n.map(function(p,C){return u(g,p,v,C)}))}))}:d.operate(function(l,g){var v=0,p=null,C=!1;l.subscribe(a.createOperatorSubscriber(g,function(b){p||(p=a.createOperatorSubscriber(g,void 0,function(){p=null,C&&g.complete()}),i.innerFrom(e(b,v++)).subscribe(p))},function(){C=!0,!p&&g.complete()}))})}},84624:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.expand=void 0;var n=o(66080),i=o(46972);h.expand=function d(a,c,e){return void 0===c&&(c=1/0),c=(c||0)<1?1/0:c,n.operate(function(u,l){return i.mergeInternals(u,l,a,c,void 0,!0,e)})}},39840:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.filter=void 0;var n=o(66080),i=o(35744);h.filter=function d(a,c){return n.operate(function(e,u){var l=0;e.subscribe(i.createOperatorSubscriber(u,function(g){return a.call(c,g,l++)&&u.next(g)}))})}},99440:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.finalize=void 0;var n=o(66080);h.finalize=function i(d){return n.operate(function(a,c){try{a.subscribe(c)}finally{c.add(d)}})}},70939:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createFind=h.find=void 0;var n=o(66080),i=o(35744);function a(c,e,u){var l="index"===u;return function(g,v){var p=0;g.subscribe(i.createOperatorSubscriber(v,function(C){var b=p++;c.call(e,C,b,g)&&(v.next(l?b:C),v.complete())},function(){v.next(l?-1:void 0),v.complete()}))}}h.find=function d(c,e){return n.operate(a(c,e,"value"))},h.createFind=a},69496:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.findIndex=void 0;var n=o(66080),i=o(70939);h.findIndex=function d(a,c){return n.operate(i.createFind(a,c,"index"))}},11848:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.first=void 0;var n=o(51544),i=o(39840),d=o(38120),a=o(14707),c=o(51056),e=o(55184);h.first=function u(l,g){var v=arguments.length>=2;return function(p){return p.pipe(l?i.filter(function(C,b){return l(C,b,p)}):e.identity,d.take(1),v?a.defaultIfEmpty(g):c.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.flatMap=void 0;var n=o(33480);h.flatMap=n.mergeMap},17909:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.groupBy=void 0;var n=o(15448),i=o(81280),d=o(90120),a=o(66080),c=o(35744);h.groupBy=function e(u,l,g,v){return a.operate(function(p,C){var b;l&&"function"!=typeof l?(g=l.duration,b=l.element,v=l.connector):b=l;var _=new Map,f=function(O){_.forEach(O),O(C)},y=function(O){return f(function(F){return F.error(O)})},S=0,M=!1,w=new c.OperatorSubscriber(C,function(O){try{var F=u(O),j=_.get(F);if(!j){_.set(F,j=v?v():new d.Subject);var T=function A(O,F){var j=new n.Observable(function(T){S++;var I=F.subscribe(T);return function(){I.unsubscribe(),0==--S&&M&&w.unsubscribe()}});return j.key=O,j}(F,j);if(C.next(T),g){var I=c.createOperatorSubscriber(j,function(){j.complete(),I?.unsubscribe()},void 0,void 0,function(){return _.delete(F)});w.add(i.innerFrom(g(T)).subscribe(I))}}j.next(b?b(O):O)}catch(k){y(k)}},function(){return f(function(O){return O.complete()})},y,function(){return _.clear()},function(){return M=!0,0===S});p.subscribe(w)})}},77392:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ignoreElements=void 0;var n=o(66080),i=o(35744),d=o(48320);h.ignoreElements=function a(){return n.operate(function(c,e){c.subscribe(i.createOperatorSubscriber(e,d.noop))})}},73564:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isEmpty=void 0;var n=o(66080),i=o(35744);h.isEmpty=function d(){return n.operate(function(a,c){a.subscribe(i.createOperatorSubscriber(c,function(){c.next(!1),c.complete()},function(){c.next(!0),c.complete()}))})}},28400:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.joinAllInternals=void 0;var n=o(55184),i=o(82664),d=o(19512),a=o(33480),c=o(29316);h.joinAllInternals=function e(u,l){return d.pipe(c.toArray(),a.mergeMap(function(g){return u(g)}),l?i.mapOneOrManyArgs(l):n.identity)}},2696:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.last=void 0;var n=o(51544),i=o(39840),d=o(32224),a=o(51056),c=o(14707),e=o(55184);h.last=function u(l,g){var v=arguments.length>=2;return function(p){return p.pipe(l?i.filter(function(C,b){return l(C,b,p)}):e.identity,d.takeLast(1),v?c.defaultIfEmpty(g):a.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.map=void 0;var n=o(66080),i=o(35744);h.map=function d(a,c){return n.operate(function(e,u){var l=0;e.subscribe(i.createOperatorSubscriber(u,function(g){u.next(a.call(c,g,l++))}))})}},89224:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mapTo=void 0;var n=o(784);h.mapTo=function i(d){return n.map(function(){return d})}},6832:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.materialize=void 0;var n=o(12032),i=o(66080),d=o(35744);h.materialize=function a(){return i.operate(function(c,e){c.subscribe(d.createOperatorSubscriber(e,function(u){e.next(n.Notification.createNext(u))},function(){e.next(n.Notification.createComplete()),e.complete()},function(u){e.next(n.Notification.createError(u)),e.complete()}))})}},34808:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.max=void 0;var n=o(39980),i=o(82360);h.max=function d(a){return n.reduce(i.isFunction(a)?function(c,e){return a(c,e)>0?c:e}:function(c,e){return c>e?c:e})}},38884:function(ve,h,o){"use strict";var n=this&&this.__read||function(g,v){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var b,f,C=p.call(g),_=[];try{for(;(void 0===v||v-- >0)&&!(b=C.next()).done;)_.push(b.value)}catch(y){f={error:y}}finally{try{b&&!b.done&&(p=C.return)&&p.call(C)}finally{if(f)throw f.error}}return _},i=this&&this.__spreadArray||function(g,v){for(var p=0,C=v.length,b=g.length;p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeAll=void 0;var n=o(33480),i=o(55184);h.mergeAll=function d(a){return void 0===a&&(a=1/0),n.mergeMap(i.identity,a)}},46972:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeInternals=void 0;var n=o(81280),i=o(61760),d=o(35744);h.mergeInternals=function a(c,e,u,l,g,v,p,C){var b=[],_=0,f=0,y=!1,S=function(){y&&!b.length&&!_&&e.complete()},M=function(A){return _{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMap=void 0;var n=o(784),i=o(81280),d=o(66080),a=o(46972),c=o(82360);h.mergeMap=function e(u,l,g){return void 0===g&&(g=1/0),c.isFunction(l)?e(function(v,p){return n.map(function(C,b){return l(v,C,p,b)})(i.innerFrom(u(v,p)))},g):("number"==typeof l&&(g=l),d.operate(function(v,p){return a.mergeInternals(v,p,u,g)}))}},73232:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMapTo=void 0;var n=o(33480),i=o(82360);h.mergeMapTo=function d(a,c,e){return void 0===e&&(e=1/0),i.isFunction(c)?n.mergeMap(function(){return a},c,e):("number"==typeof c&&(e=c),n.mergeMap(function(){return a},e))}},3380:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeScan=void 0;var n=o(66080),i=o(46972);h.mergeScan=function d(a,c,e){return void 0===e&&(e=1/0),n.operate(function(u,l){var g=c;return i.mergeInternals(u,l,function(v,p){return a(g,v,p)},e,function(v){g=v},!1,void 0,function(){return g=null})})}},57308:function(ve,h,o){"use strict";var n=this&&this.__read||function(c,e){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var g,p,l=u.call(c),v=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)v.push(g.value)}catch(C){p={error:C}}finally{try{g&&!g.done&&(u=l.return)&&u.call(l)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(c,e){for(var u=0,l=e.length,g=c.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.min=void 0;var n=o(39980),i=o(82360);h.min=function d(a){return n.reduce(i.isFunction(a)?function(c,e){return a(c,e)<0?c:e}:function(c,e){return c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.multicast=void 0;var n=o(42416),i=o(82360),d=o(59056);h.multicast=function a(c,e){var u=i.isFunction(c)?c:function(){return c};return i.isFunction(e)?d.connect(e,{connector:u}):function(l){return new n.ConnectableObservable(l,u)}}},33752:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeOn=void 0;var n=o(61760),i=o(66080),d=o(35744);h.observeOn=function a(c,e){return void 0===e&&(e=0),i.operate(function(u,l){u.subscribe(d.createOperatorSubscriber(l,function(g){return n.executeSchedule(l,c,function(){return l.next(g)},e)},function(){return n.executeSchedule(l,c,function(){return l.complete()},e)},function(g){return n.executeSchedule(l,c,function(){return l.error(g)},e)}))})}},19184:function(ve,h,o){"use strict";var n=this&&this.__read||function(e,u){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var v,C,g=l.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(b){C={error:b}}finally{try{v&&!v.done&&(l=g.return)&&l.call(g)}finally{if(C)throw C.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var l=0,g=u.length,v=e.length;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairwise=void 0;var n=o(66080),i=o(35744);h.pairwise=function d(){return n.operate(function(a,c){var e,u=!1;a.subscribe(i.createOperatorSubscriber(c,function(l){var g=e;e=l,u&&c.next([g,l]),u=!0}))})}},64712:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pluck=void 0;var n=o(784);h.pluck=function i(){for(var d=[],a=0;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publish=void 0;var n=o(90120),i=o(66752),d=o(59056);h.publish=function a(c){return c?function(e){return d.connect(c)(e)}:function(e){return i.multicast(new n.Subject)(e)}}},40360:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishBehavior=void 0;var n=o(60488),i=o(42416);h.publishBehavior=function d(a){return function(c){var e=new n.BehaviorSubject(a);return new i.ConnectableObservable(c,function(){return e})}}},64960:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishLast=void 0;var n=o(70408),i=o(42416);h.publishLast=function d(){return function(a){var c=new n.AsyncSubject;return new i.ConnectableObservable(a,function(){return c})}}},23944:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishReplay=void 0;var n=o(38640),i=o(66752),d=o(82360);h.publishReplay=function a(c,e,u,l){u&&!d.isFunction(u)&&(l=u);var g=d.isFunction(u)?u:void 0;return function(v){return i.multicast(new n.ReplaySubject(c,e,l),g)(v)}}},53424:function(ve,h,o){"use strict";var n=this&&this.__read||function(u,l){var g="function"==typeof Symbol&&u[Symbol.iterator];if(!g)return u;var p,b,v=g.call(u),C=[];try{for(;(void 0===l||l-- >0)&&!(p=v.next()).done;)C.push(p.value)}catch(_){b={error:_}}finally{try{p&&!p.done&&(g=v.return)&&g.call(v)}finally{if(b)throw b.error}}return C},i=this&&this.__spreadArray||function(u,l){for(var g=0,v=l.length,p=u.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reduce=void 0;var n=o(56500),i=o(66080);h.reduce=function d(a,c){return i.operate(n.scanInternals(a,c,arguments.length>=2,!1,!0))}},60300:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.refCount=void 0;var n=o(66080),i=o(35744);h.refCount=function d(){return n.operate(function(a,c){var e=null;a._refCount++;var u=i.createOperatorSubscriber(c,void 0,void 0,void 0,function(){if(!a||a._refCount<=0||0<--a._refCount)e=null;else{var l=a._connection,g=e;e=null,l&&(!g||l===g)&&l.unsubscribe(),c.unsubscribe()}});a.subscribe(u),u.closed||(e=a.connect())})}},90532:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeat=void 0;var n=o(31456),i=o(66080),d=o(35744),a=o(81280),c=o(34168);h.repeat=function e(u){var l,v,g=1/0;return null!=u&&("object"==typeof u?(g=void 0===(l=u.count)?1/0:l,v=u.delay):g=u),g<=0?function(){return n.EMPTY}:i.operate(function(p,C){var _,b=0,f=function(){if(_?.unsubscribe(),_=null,null!=v){var S="number"==typeof v?c.timer(v):a.innerFrom(v(b)),M=d.createOperatorSubscriber(C,function(){M.unsubscribe(),y()});S.subscribe(M)}else y()},y=function(){var S=!1;_=p.subscribe(d.createOperatorSubscriber(C,void 0,function(){++b{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeatWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),a=o(35744);h.repeatWhen=function c(e){return d.operate(function(u,l){var g,p,v=!1,C=!1,b=!1,_=function(){return b&&C&&(l.complete(),!0)},y=function(){b=!1,g=u.subscribe(a.createOperatorSubscriber(l,void 0,function(){b=!0,!_()&&(p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(a.createOperatorSubscriber(l,function(){g?y():v=!0},function(){C=!0,_()}))),p).next()})),v&&(g.unsubscribe(),g=null,v=!1,y())};y()})}},584:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retry=void 0;var n=o(66080),i=o(35744),d=o(55184),a=o(34168),c=o(81280);h.retry=function e(u){var l;void 0===u&&(u=1/0);var g=(l=u&&"object"==typeof u?u:{count:u}).count,v=void 0===g?1/0:g,p=l.delay,C=l.resetOnSuccess,b=void 0!==C&&C;return v<=0?d.identity:n.operate(function(_,f){var S,y=0,M=function(){var w=!1;S=_.subscribe(i.createOperatorSubscriber(f,function(A){b&&(y=0),f.next(A)},void 0,function(A){if(y++{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retryWhen=void 0;var n=o(81280),i=o(90120),d=o(66080),a=o(35744);h.retryWhen=function c(e){return d.operate(function(u,l){var g,p,v=!1,C=function(){g=u.subscribe(a.createOperatorSubscriber(l,void 0,void 0,function(b){p||(p=new i.Subject,n.innerFrom(e(p)).subscribe(a.createOperatorSubscriber(l,function(){return g?C():v=!0}))),p&&p.next(b)})),v&&(g.unsubscribe(),g=null,v=!1,C())};C()})}},64968:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sample=void 0;var n=o(81280),i=o(66080),d=o(48320),a=o(35744);h.sample=function c(e){return i.operate(function(u,l){var g=!1,v=null;u.subscribe(a.createOperatorSubscriber(l,function(p){g=!0,v=p})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(l,function(){if(g){g=!1;var p=v;v=null,l.next(p)}},d.noop))})}},97792:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sampleTime=void 0;var n=o(69252),i=o(64968),d=o(2071);h.sampleTime=function a(c,e){return void 0===e&&(e=n.asyncScheduler),i.sample(d.interval(c,e))}},17752:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scan=void 0;var n=o(66080),i=o(56500);h.scan=function d(a,c){return n.operate(i.scanInternals(a,c,arguments.length>=2,!0))}},56500:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scanInternals=void 0;var n=o(35744);h.scanInternals=function i(d,a,c,e,u){return function(l,g){var v=c,p=a,C=0;l.subscribe(n.createOperatorSubscriber(g,function(b){var _=C++;p=v?d(p,b,_):(v=!0,b),e&&g.next(p)},u&&function(){v&&g.next(p),g.complete()}))}}},43904:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sequenceEqual=void 0;var n=o(66080),i=o(35744),d=o(81280);h.sequenceEqual=function a(e,u){return void 0===u&&(u=function(l,g){return l===g}),n.operate(function(l,g){var v={buffer:[],complete:!1},p={buffer:[],complete:!1},C=function(_){g.next(_),g.complete()},b=function(_,f){var y=i.createOperatorSubscriber(g,function(S){var M=f.buffer;0===M.length?f.complete?C(!1):_.buffer.push(S):!u(S,M.shift())&&C(!1)},function(){_.complete=!0,f.complete&&C(0===f.buffer.length),y?.unsubscribe()});return y};l.subscribe(b(v,p)),d.innerFrom(e).subscribe(b(p,v))})}},95912:function(ve,h,o){"use strict";var n=this&&this.__read||function(g,v){var p="function"==typeof Symbol&&g[Symbol.iterator];if(!p)return g;var b,f,C=p.call(g),_=[];try{for(;(void 0===v||v-- >0)&&!(b=C.next()).done;)_.push(b.value)}catch(y){f={error:y}}finally{try{b&&!b.done&&(p=C.return)&&p.call(C)}finally{if(f)throw f.error}}return _},i=this&&this.__spreadArray||function(g,v){for(var p=0,C=v.length,b=g.length;p0&&(w=new c.SafeSubscriber({next:function(te){return G.next(te)},error:function(te){T=!0,I(),A=l(k,b,te),G.error(te)},complete:function(){j=!0,I(),A=l(k,f),G.complete()}}),d.innerFrom(x).subscribe(w))})(M)}}},20468:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.shareReplay=void 0;var n=o(38640),i=o(95912);h.shareReplay=function d(a,c,e){var u,l,g,v,p=!1;return a&&"object"==typeof a?(v=void 0===(u=a.bufferSize)?1/0:u,c=void 0===(l=a.windowTime)?1/0:l,p=void 0!==(g=a.refCount)&&g,e=a.scheduler):v=a??1/0,i.share({connector:function(){return new n.ReplaySubject(v,c,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},43952:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.single=void 0;var n=o(51544),i=o(71016),d=o(15496),a=o(66080),c=o(35744);h.single=function e(u){return a.operate(function(l,g){var p,v=!1,C=!1,b=0;l.subscribe(c.createOperatorSubscriber(g,function(_){C=!0,(!u||u(_,b++,l))&&(v&&g.error(new i.SequenceError("Too many matching values")),v=!0,p=_)},function(){v?(g.next(p),g.complete()):g.error(C?new d.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skip=void 0;var n=o(39840);h.skip=function i(d){return n.filter(function(a,c){return d<=c})}},47832:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipLast=void 0;var n=o(55184),i=o(66080),d=o(35744);h.skipLast=function a(c){return c<=0?n.identity:i.operate(function(e,u){var l=new Array(c),g=0;return e.subscribe(d.createOperatorSubscriber(u,function(v){var p=g++;if(p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),a=o(48320);h.skipUntil=function c(e){return n.operate(function(u,l){var g=!1,v=i.createOperatorSubscriber(l,function(){v?.unsubscribe(),g=!0},a.noop);d.innerFrom(e).subscribe(v),u.subscribe(i.createOperatorSubscriber(l,function(p){return g&&l.next(p)}))})}},49856:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipWhile=void 0;var n=o(66080),i=o(35744);h.skipWhile=function d(a){return n.operate(function(c,e){var u=!1,l=0;c.subscribe(i.createOperatorSubscriber(e,function(g){return(u||(u=!a(g,l++)))&&e.next(g)}))})}},59612:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.startWith=void 0;var n=o(24560),i=o(69724),d=o(66080);h.startWith=function a(){for(var c=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.subscribeOn=void 0;var n=o(66080);h.subscribeOn=function i(d,a){return void 0===a&&(a=0),n.operate(function(c,e){e.add(d.schedule(function(){return c.subscribe(e)},a))})}},63368:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchAll=void 0;var n=o(39876),i=o(55184);h.switchAll=function d(){return n.switchMap(i.identity)}},39876:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMap=void 0;var n=o(81280),i=o(66080),d=o(35744);h.switchMap=function a(c,e){return i.operate(function(u,l){var g=null,v=0,p=!1,C=function(){return p&&!g&&l.complete()};u.subscribe(d.createOperatorSubscriber(l,function(b){g?.unsubscribe();var _=0,f=v++;n.innerFrom(c(b,f)).subscribe(g=d.createOperatorSubscriber(l,function(y){return l.next(e?e(b,y,f,_++):y)},function(){g=null,C()}))},function(){p=!0,C()}))})}},57168:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMapTo=void 0;var n=o(39876),i=o(82360);h.switchMapTo=function d(a,c){return i.isFunction(c)?n.switchMap(function(){return a},c):n.switchMap(function(){return a})}},19980:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchScan=void 0;var n=o(39876),i=o(66080);h.switchScan=function d(a,c){return i.operate(function(e,u){var l=c;return n.switchMap(function(g,v){return a(l,g,v)},function(g,v){return l=v,v})(e).subscribe(u),function(){l=null}})}},38120:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.take=void 0;var n=o(31456),i=o(66080),d=o(35744);h.take=function a(c){return c<=0?function(){return n.EMPTY}:i.operate(function(e,u){var l=0;e.subscribe(d.createOperatorSubscriber(u,function(g){++l<=c&&(u.next(g),c<=l&&u.complete())}))})}},32224:function(ve,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,l=u&&e[u],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.takeLast=void 0;var i=o(31456),d=o(66080),a=o(35744);h.takeLast=function c(e){return e<=0?function(){return i.EMPTY}:d.operate(function(u,l){var g=[];u.subscribe(a.createOperatorSubscriber(l,function(v){g.push(v),e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeUntil=void 0;var n=o(66080),i=o(35744),d=o(81280),a=o(48320);h.takeUntil=function c(e){return n.operate(function(u,l){d.innerFrom(e).subscribe(i.createOperatorSubscriber(l,function(){return l.complete()},a.noop)),!l.closed&&u.subscribe(l)})}},35408:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeWhile=void 0;var n=o(66080),i=o(35744);h.takeWhile=function d(a,c){return void 0===c&&(c=!1),n.operate(function(e,u){var l=0;e.subscribe(i.createOperatorSubscriber(u,function(g){var v=a(g,l++);(v||c)&&u.next(g),!v&&u.complete()}))})}},46748:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.tap=void 0;var n=o(82360),i=o(66080),d=o(35744),a=o(55184);h.tap=function c(e,u,l){var g=n.isFunction(e)||u||l?{next:e,error:u,complete:l}:e;return g?i.operate(function(v,p){var C;null===(C=g.subscribe)||void 0===C||C.call(g);var b=!0;v.subscribe(d.createOperatorSubscriber(p,function(_){var f;null===(f=g.next)||void 0===f||f.call(g,_),p.next(_)},function(){var _;b=!1,null===(_=g.complete)||void 0===_||_.call(g),p.complete()},function(_){var f;b=!1,null===(f=g.error)||void 0===f||f.call(g,_),p.error(_)},function(){var _,f;b&&(null===(_=g.unsubscribe)||void 0===_||_.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.identity}},66720:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttle=void 0;var n=o(66080),i=o(35744),d=o(81280);h.throttle=function a(c,e){return n.operate(function(u,l){var g=e??{},v=g.leading,p=void 0===v||v,C=g.trailing,b=void 0!==C&&C,_=!1,f=null,y=null,S=!1,M=function(){y?.unsubscribe(),y=null,b&&(O(),S&&l.complete())},w=function(){y=null,S&&l.complete()},A=function(F){return y=d.innerFrom(c(F)).subscribe(i.createOperatorSubscriber(l,M,w))},O=function(){if(_){_=!1;var F=f;f=null,l.next(F),!S&&A(F)}};u.subscribe(i.createOperatorSubscriber(l,function(F){_=!0,f=F,(!y||y.closed)&&(p?O():A(F))},function(){S=!0,(!(b&&_&&y)||y.closed)&&l.complete()}))})}},44236:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttleTime=void 0;var n=o(69252),i=o(66720),d=o(34168);h.throttleTime=function a(c,e,u){void 0===e&&(e=n.asyncScheduler);var l=d.timer(c,e);return i.throttle(function(){return l},u)}},51056:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwIfEmpty=void 0;var n=o(51544),i=o(66080),d=o(35744);function c(){return new n.EmptyError}h.throwIfEmpty=function a(e){return void 0===e&&(e=c),i.operate(function(u,l){var g=!1;u.subscribe(d.createOperatorSubscriber(l,function(v){g=!0,l.next(v)},function(){return g?l.complete():l.error(e())}))})}},39500:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TimeInterval=h.timeInterval=void 0;var n=o(69252),i=o(66080),d=o(35744);h.timeInterval=function a(e){return void 0===e&&(e=n.asyncScheduler),i.operate(function(u,l){var g=e.now();u.subscribe(d.createOperatorSubscriber(l,function(v){var p=e.now(),C=p-g;g=p,l.next(new c(v,C))}))})};var c=function(){return function e(u,l){this.value=u,this.interval=l}}();h.TimeInterval=c},20268:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeout=h.TimeoutError=void 0;var n=o(69252),i=o(42384),d=o(66080),a=o(81280),c=o(26624),e=o(35744),u=o(61760);function g(v){throw new h.TimeoutError(v)}h.TimeoutError=c.createErrorClass(function(v){return function(C){void 0===C&&(C=null),v(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=C}}),h.timeout=function l(v,p){var C=i.isValidDate(v)?{first:v}:"number"==typeof v?{each:v}:v,b=C.first,_=C.each,f=C.with,y=void 0===f?g:f,S=C.scheduler,M=void 0===S?p??n.asyncScheduler:S,w=C.meta,A=void 0===w?null:w;if(null==b&&null==_)throw new TypeError("No timeout provided.");return d.operate(function(O,F){var j,T,I=null,k=0,N=function(x){T=u.executeSchedule(F,M,function(){try{j.unsubscribe(),a.innerFrom(y({meta:A,lastValue:I,seen:k})).subscribe(F)}catch(H){F.error(H)}},x)};j=O.subscribe(e.createOperatorSubscriber(F,function(x){T?.unsubscribe(),k++,F.next(I=x),_>0&&N(_)},void 0,void 0,function(){T?.closed||T?.unsubscribe(),I=null})),!k&&N(null!=b?"number"==typeof b?b:+b-M.now():_)})}},88536:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeoutWith=void 0;var n=o(69252),i=o(42384),d=o(20268);h.timeoutWith=function a(c,e,u){var l,g,v;if(u=u??n.async,i.isValidDate(c)?l=c:"number"==typeof c&&(g=c),!e)throw new TypeError("No observable provided to switch to");if(v=function(){return e},null==l&&null==g)throw new TypeError("No timeout provided.");return d.timeout({first:l,each:g,scheduler:u,with:v})}},37248:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timestamp=void 0;var n=o(8764),i=o(784);h.timestamp=function d(a){return void 0===a&&(a=n.dateTimestampProvider),i.map(function(c){return{value:c,timestamp:a.now()}})}},29316:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.toArray=void 0;var n=o(39980),i=o(66080),d=function(c,e){return c.push(e),c};h.toArray=function a(){return i.operate(function(c,e){n.reduce(d,[])(c).subscribe(e)})}},40560:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.window=void 0;var n=o(90120),i=o(66080),d=o(35744),a=o(48320),c=o(81280);h.window=function e(u){return i.operate(function(l,g){var v=new n.Subject;g.next(v.asObservable());var p=function(C){v.error(C),g.error(C)};return l.subscribe(d.createOperatorSubscriber(g,function(C){return v?.next(C)},function(){v.complete(),g.complete()},p)),c.innerFrom(u).subscribe(d.createOperatorSubscriber(g,function(){v.complete(),g.next(v=new n.Subject)},a.noop,p)),function(){v?.unsubscribe(),v=null}})}},79068:function(ve,h,o){"use strict";var n=this&&this.__values||function(e){var u="function"==typeof Symbol&&Symbol.iterator,l=u&&e[u],g=0;if(l)return l.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(u?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowCount=void 0;var i=o(90120),d=o(66080),a=o(35744);h.windowCount=function c(e,u){void 0===u&&(u=0);var l=u>0?u:e;return d.operate(function(g,v){var p=[new i.Subject],b=0;v.next(p[0].asObservable()),g.subscribe(a.createOperatorSubscriber(v,function(_){var f,y;try{for(var S=n(p),M=S.next();!M.done;M=S.next())M.value.next(_)}catch(F){f={error:F}}finally{try{M&&!M.done&&(y=S.return)&&y.call(S)}finally{if(f)throw f.error}}var A=b-e+1;if(A>=0&&A%l==0&&p.shift().complete(),++b%l==0){var O=new i.Subject;p.push(O),v.next(O.asObservable())}},function(){for(;p.length>0;)p.shift().complete();v.complete()},function(_){for(;p.length>0;)p.shift().error(_);v.error(_)},function(){p=null}))})}},11984:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowTime=void 0;var n=o(90120),i=o(69252),d=o(40576),a=o(66080),c=o(35744),e=o(39852),u=o(69724),l=o(61760);h.windowTime=function g(v){for(var p,C,b=[],_=1;_=0?l.executeSchedule(w,f,j,y,!0):O=!0,j();var T=function(k){return A.slice().forEach(k)},I=function(k){T(function(N){return k(N.window)}),k(w),w.unsubscribe()};return M.subscribe(c.createOperatorSubscriber(w,function(k){T(function(N){N.window.next(k),S<=++N.seen&&F(N)})},function(){return I(function(k){return k.complete()})},function(k){return I(function(N){return N.error(k)})})),function(){A=null}})}},97776:function(ve,h,o){"use strict";var n=this&&this.__values||function(v){var p="function"==typeof Symbol&&Symbol.iterator,C=p&&v[p],b=0;if(C)return C.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&b>=v.length&&(v=void 0),{value:v&&v[b++],done:!v}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowToggle=void 0;var i=o(90120),d=o(40576),a=o(66080),c=o(81280),e=o(35744),u=o(48320),l=o(39852);h.windowToggle=function g(v,p){return a.operate(function(C,b){var _=[],f=function(y){for(;0<_.length;)_.shift().error(y);b.error(y)};c.innerFrom(v).subscribe(e.createOperatorSubscriber(b,function(y){var S=new i.Subject;_.push(S);var A,M=new d.Subscription;try{A=c.innerFrom(p(y))}catch(O){return void f(O)}b.next(S.asObservable()),M.add(A.subscribe(e.createOperatorSubscriber(b,function(){l.arrRemove(_,S),S.complete(),M.unsubscribe()},u.noop,f)))},u.noop)),C.subscribe(e.createOperatorSubscriber(b,function(y){var S,M,w=_.slice();try{for(var A=n(w),O=A.next();!O.done;O=A.next())O.value.next(y)}catch(j){S={error:j}}finally{try{O&&!O.done&&(M=A.return)&&M.call(A)}finally{if(S)throw S.error}}},function(){for(;0<_.length;)_.shift().complete();b.complete()},f,function(){for(;0<_.length;)_.shift().unsubscribe()}))})}},36872:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowWhen=void 0;var n=o(90120),i=o(66080),d=o(35744),a=o(81280);h.windowWhen=function c(e){return i.operate(function(u,l){var g,v,p=function(b){g.error(b),l.error(b)},C=function(){var b;v?.unsubscribe(),g?.complete(),g=new n.Subject,l.next(g.asObservable());try{b=a.innerFrom(e())}catch(_){return void p(_)}b.subscribe(v=d.createOperatorSubscriber(l,C,C,p))};C(),u.subscribe(d.createOperatorSubscriber(l,function(b){return g.next(b)},function(){g.complete(),l.complete()},p,function(){v?.unsubscribe(),g=null}))})}},95780:function(ve,h,o){"use strict";var n=this&&this.__read||function(v,p){var C="function"==typeof Symbol&&v[Symbol.iterator];if(!C)return v;var _,y,b=C.call(v),f=[];try{for(;(void 0===p||p-- >0)&&!(_=b.next()).done;)f.push(_.value)}catch(S){y={error:S}}finally{try{_&&!_.done&&(C=b.return)&&C.call(b)}finally{if(y)throw y.error}}return f},i=this&&this.__spreadArray||function(v,p){for(var C=0,b=p.length,_=v.length;C0)&&!(v=g.next()).done;)p.push(v.value)}catch(b){C={error:b}}finally{try{v&&!v.done&&(l=g.return)&&l.call(g)}finally{if(C)throw C.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var l=0,g=u.length,v=e.length;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.zipAll=void 0;var n=o(59172),i=o(28400);h.zipAll=function d(a){return i.joinAllInternals(n.zip,a)}},56824:function(ve,h,o){"use strict";var n=this&&this.__read||function(c,e){var u="function"==typeof Symbol&&c[Symbol.iterator];if(!u)return c;var g,p,l=u.call(c),v=[];try{for(;(void 0===e||e-- >0)&&!(g=l.next()).done;)v.push(g.value)}catch(C){p={error:C}}finally{try{g&&!g.done&&(u=l.return)&&u.call(l)}finally{if(p)throw p.error}}return v},i=this&&this.__spreadArray||function(c,e){for(var u=0,l=e.length,g=c.length;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleArray=void 0;var n=o(15448);h.scheduleArray=function i(d,a){return new n.Observable(function(c){var e=0;return a.schedule(function(){e===d.length?c.complete():(c.next(d[e++]),c.closed||this.schedule())})})}},37360:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleAsyncIterable=void 0;var n=o(15448),i=o(61760);h.scheduleAsyncIterable=function d(a,c){if(!a)throw new Error("Iterable cannot be null");return new n.Observable(function(e){i.executeSchedule(e,c,function(){var u=a[Symbol.asyncIterator]();i.executeSchedule(e,c,function(){u.next().then(function(l){l.done?e.complete():e.next(l.value)})},0,!0)})})}},66589:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleIterable=void 0;var n=o(15448),i=o(71040),d=o(82360),a=o(61760);h.scheduleIterable=function c(e,u){return new n.Observable(function(l){var g;return a.executeSchedule(l,u,function(){g=e[i.iterator](),a.executeSchedule(l,u,function(){var v,p,C;try{p=(v=g.next()).value,C=v.done}catch(b){return void l.error(b)}C?l.complete():l.next(p)},0,!0)}),function(){return d.isFunction(g?.return)&&g.return()}})}},90996:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleObservable=void 0;var n=o(81280),i=o(33752),d=o(67992);h.scheduleObservable=function a(c,e){return n.innerFrom(c).pipe(d.subscribeOn(e),i.observeOn(e))}},23219:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.schedulePromise=void 0;var n=o(81280),i=o(33752),d=o(67992);h.schedulePromise=function a(c,e){return n.innerFrom(c).pipe(d.subscribeOn(e),i.observeOn(e))}},95196:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleReadableStreamLike=void 0;var n=o(37360),i=o(11416);h.scheduleReadableStreamLike=function d(a,c){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(a),c)}},44232:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduled=void 0;var n=o(90996),i=o(23219),d=o(24920),a=o(66589),c=o(37360),e=o(18440),u=o(28296),l=o(18224),g=o(30640),v=o(37156),p=o(34088),C=o(11416),b=o(95196);h.scheduled=function _(f,y){if(null!=f){if(e.isInteropObservable(f))return n.scheduleObservable(f,y);if(l.isArrayLike(f))return d.scheduleArray(f,y);if(u.isPromise(f))return i.schedulePromise(f,y);if(v.isAsyncIterable(f))return c.scheduleAsyncIterable(f,y);if(g.isIterable(f))return a.scheduleIterable(f,y);if(C.isReadableStreamLike(f))return b.scheduleReadableStreamLike(f,y)}throw p.createInvalidObservableTypeError(f)}},30576:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.Action=void 0;var d=function(a){function c(e,u){return a.call(this)||this}return n(c,a),c.prototype.schedule=function(e,u){return void 0===u&&(u=0),this},c}(o(40576).Subscription);h.Action=d},70079:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var c=function(e,u){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,g){l.__proto__=g}||function(l,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(l[v]=g[v])})(e,u)};return function(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function l(){this.constructor=e}c(e,u),e.prototype=null===u?Object.create(u):(l.prototype=u.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameAction=void 0;var i=o(6972),d=o(24352),a=function(c){function e(u,l){var g=c.call(this,u,l)||this;return g.scheduler=u,g.work=l,g}return n(e,c),e.prototype.requestAsyncId=function(u,l,g){return void 0===g&&(g=0),null!==g&&g>0?c.prototype.requestAsyncId.call(this,u,l,g):(u.actions.push(this),u._scheduled||(u._scheduled=d.animationFrameProvider.requestAnimationFrame(function(){return u.flush(void 0)})))},e.prototype.recycleAsyncId=function(u,l,g){var v;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return c.prototype.recycleAsyncId.call(this,u,l,g);var p=u.actions;null!=l&&(null===(v=p[p.length-1])||void 0===v?void 0:v.id)!==l&&(d.animationFrameProvider.cancelAnimationFrame(l),u._scheduled=void 0)},e}(i.AsyncAction);h.AnimationFrameAction=a},41752:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameScheduler=void 0;var d=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}return n(c,a),c.prototype.flush=function(e){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var g,l=this.actions;e=e||l.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=l[0])&&e.id===u&&l.shift());if(this._active=!1,g){for(;(e=l[0])&&e.id===u&&l.shift();)e.unsubscribe();throw g}},c}(o(16660).AsyncScheduler);h.AnimationFrameScheduler=d},48368:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var c=function(e,u){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,g){l.__proto__=g}||function(l,g){for(var v in g)Object.prototype.hasOwnProperty.call(g,v)&&(l[v]=g[v])})(e,u)};return function(e,u){if("function"!=typeof u&&null!==u)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");function l(){this.constructor=e}c(e,u),e.prototype=null===u?Object.create(u):(l.prototype=u.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapAction=void 0;var i=o(6972),d=o(7832),a=function(c){function e(u,l){var g=c.call(this,u,l)||this;return g.scheduler=u,g.work=l,g}return n(e,c),e.prototype.requestAsyncId=function(u,l,g){return void 0===g&&(g=0),null!==g&&g>0?c.prototype.requestAsyncId.call(this,u,l,g):(u.actions.push(this),u._scheduled||(u._scheduled=d.immediateProvider.setImmediate(u.flush.bind(u,void 0))))},e.prototype.recycleAsyncId=function(u,l,g){var v;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return c.prototype.recycleAsyncId.call(this,u,l,g);var p=u.actions;null!=l&&(null===(v=p[p.length-1])||void 0===v?void 0:v.id)!==l&&(d.immediateProvider.clearImmediate(l),u._scheduled===l&&(u._scheduled=void 0))},e}(i.AsyncAction);h.AsapAction=a},32400:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapScheduler=void 0;var d=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}return n(c,a),c.prototype.flush=function(e){this._active=!0;var u=this._scheduled;this._scheduled=void 0;var g,l=this.actions;e=e||l.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=l[0])&&e.id===u&&l.shift());if(this._active=!1,g){for(;(e=l[0])&&e.id===u&&l.shift();)e.unsubscribe();throw g}},c}(o(16660).AsyncScheduler);h.AsapScheduler=d},6972:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var e=function(u,l){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,v){g.__proto__=v}||function(g,v){for(var p in v)Object.prototype.hasOwnProperty.call(v,p)&&(g[p]=v[p])})(u,l)};return function(u,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function g(){this.constructor=u}e(u,l),u.prototype=null===l?Object.create(l):(g.prototype=l.prototype,new g)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncAction=void 0;var i=o(30576),d=o(61691),a=o(39852),c=function(e){function u(l,g){var v=e.call(this,l,g)||this;return v.scheduler=l,v.work=g,v.pending=!1,v}return n(u,e),u.prototype.schedule=function(l,g){var v;if(void 0===g&&(g=0),this.closed)return this;this.state=l;var p=this.id,C=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(C,p,g)),this.pending=!0,this.delay=g,this.id=null!==(v=this.id)&&void 0!==v?v:this.requestAsyncId(C,this.id,g),this},u.prototype.requestAsyncId=function(l,g,v){return void 0===v&&(v=0),d.intervalProvider.setInterval(l.flush.bind(l,this),v)},u.prototype.recycleAsyncId=function(l,g,v){if(void 0===v&&(v=0),null!=v&&this.delay===v&&!1===this.pending)return g;null!=g&&d.intervalProvider.clearInterval(g)},u.prototype.execute=function(l,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var v=this._execute(l,g);if(v)return v;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},u.prototype._execute=function(l,g){var p,v=!1;try{this.work(l)}catch(C){v=!0,p=C||new Error("Scheduled action threw falsy error")}if(v)return this.unsubscribe(),p},u.prototype.unsubscribe=function(){if(!this.closed){var g=this.id,v=this.scheduler,p=v.actions;this.work=this.state=this.scheduler=null,this.pending=!1,a.arrRemove(p,this),null!=g&&(this.id=this.recycleAsyncId(v,g,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},u}(i.Action);h.AsyncAction=c},16660:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncScheduler=void 0;var i=o(25784),d=function(a){function c(e,u){void 0===u&&(u=i.Scheduler.now);var l=a.call(this,e,u)||this;return l.actions=[],l._active=!1,l}return n(c,a),c.prototype.flush=function(e){var u=this.actions;if(this._active)u.push(e);else{var l;this._active=!0;do{if(l=e.execute(e.state,e.delay))break}while(e=u.shift());if(this._active=!1,l){for(;e=u.shift();)e.unsubscribe();throw l}}},c}(i.Scheduler);h.AsyncScheduler=d},71688:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueAction=void 0;var d=function(a){function c(e,u){var l=a.call(this,e,u)||this;return l.scheduler=e,l.work=u,l}return n(c,a),c.prototype.schedule=function(e,u){return void 0===u&&(u=0),u>0?a.prototype.schedule.call(this,e,u):(this.delay=u,this.state=e,this.scheduler.flush(this),this)},c.prototype.execute=function(e,u){return u>0||this.closed?a.prototype.execute.call(this,e,u):this._execute(e,u)},c.prototype.requestAsyncId=function(e,u,l){return void 0===l&&(l=0),null!=l&&l>0||null==l&&this.delay>0?a.prototype.requestAsyncId.call(this,e,u,l):(e.flush(this),0)},c}(o(6972).AsyncAction);h.QueueAction=d},36148:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var a=function(c,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,l){u.__proto__=l}||function(u,l){for(var g in l)Object.prototype.hasOwnProperty.call(l,g)&&(u[g]=l[g])})(c,e)};return function(c,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function u(){this.constructor=c}a(c,e),c.prototype=null===e?Object.create(e):(u.prototype=e.prototype,new u)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueScheduler=void 0;var d=function(a){function c(){return null!==a&&a.apply(this,arguments)||this}return n(c,a),c}(o(16660).AsyncScheduler);h.QueueScheduler=d},45992:function(ve,h,o){"use strict";var n=this&&this.__extends||function(){var u=function(l,g){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,p){v.__proto__=p}||function(v,p){for(var C in p)Object.prototype.hasOwnProperty.call(p,C)&&(v[C]=p[C])})(l,g)};return function(l,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function v(){this.constructor=l}u(l,g),l.prototype=null===g?Object.create(g):(v.prototype=g.prototype,new v)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.VirtualAction=h.VirtualTimeScheduler=void 0;var i=o(6972),d=o(40576),c=function(u){function l(g,v){void 0===g&&(g=e),void 0===v&&(v=1/0);var p=u.call(this,g,function(){return p.frame})||this;return p.maxFrames=v,p.frame=0,p.index=-1,p}return n(l,u),l.prototype.flush=function(){for(var C,b,v=this.actions,p=this.maxFrames;(b=v[0])&&b.delay<=p&&(v.shift(),this.frame=b.delay,!(C=b.execute(b.state,b.delay))););if(C){for(;b=v.shift();)b.unsubscribe();throw C}},l.frameTimeFactor=10,l}(o(16660).AsyncScheduler);h.VirtualTimeScheduler=c;var e=function(u){function l(g,v,p){void 0===p&&(p=g.index+=1);var C=u.call(this,g,v)||this;return C.scheduler=g,C.work=v,C.index=p,C.active=!0,C.index=g.index=p,C}return n(l,u),l.prototype.schedule=function(g,v){if(void 0===v&&(v=0),Number.isFinite(v)){if(!this.id)return u.prototype.schedule.call(this,g,v);this.active=!1;var p=new l(this.scheduler,this.work);return this.add(p),p.schedule(g,v)}return d.Subscription.EMPTY},l.prototype.requestAsyncId=function(g,v,p){void 0===p&&(p=0),this.delay=g.frame+p;var C=g.actions;return C.push(this),C.sort(l.sortActions),1},l.prototype.recycleAsyncId=function(g,v,p){void 0===p&&(p=0)},l.prototype._execute=function(g,v){if(!0===this.active)return u.prototype._execute.call(this,g,v)},l.sortActions=function(g,v){return g.delay===v.delay?g.index===v.index?0:g.index>v.index?1:-1:g.delay>v.delay?1:-1},l}(i.AsyncAction);h.VirtualAction=e},70232:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrame=h.animationFrameScheduler=void 0;var n=o(70079),i=o(41752);h.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),h.animationFrame=h.animationFrameScheduler},24352:function(ve,h,o){"use strict";var n=this&&this.__read||function(a,c){var e="function"==typeof Symbol&&a[Symbol.iterator];if(!e)return a;var l,v,u=e.call(a),g=[];try{for(;(void 0===c||c-- >0)&&!(l=u.next()).done;)g.push(l.value)}catch(p){v={error:p}}finally{try{l&&!l.done&&(e=u.return)&&e.call(u)}finally{if(v)throw v.error}}return g},i=this&&this.__spreadArray||function(a,c){for(var e=0,u=c.length,l=a.length;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.asap=h.asapScheduler=void 0;var n=o(48368),i=o(32400);h.asapScheduler=new i.AsapScheduler(n.AsapAction),h.asap=h.asapScheduler},69252:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.async=h.asyncScheduler=void 0;var n=o(6972),i=o(16660);h.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),h.async=h.asyncScheduler},8764:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dateTimestampProvider=void 0,h.dateTimestampProvider={now:function(){return(h.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(ve,h,o){"use strict";var n=this&&this.__read||function(e,u){var l="function"==typeof Symbol&&e[Symbol.iterator];if(!l)return e;var v,C,g=l.call(e),p=[];try{for(;(void 0===u||u-- >0)&&!(v=g.next()).done;)p.push(v.value)}catch(b){C={error:b}}finally{try{v&&!v.done&&(l=g.return)&&l.call(g)}finally{if(C)throw C.error}}return p},i=this&&this.__spreadArray||function(e,u){for(var l=0,g=u.length,v=e.length;l0)&&!(e=c.next()).done;)u.push(e.value)}catch(g){l={error:g}}finally{try{e&&!e.done&&(a=c.return)&&a.call(c)}finally{if(l)throw l.error}}return u},n=this&&this.__spreadArray||function(i,d){for(var a=0,c=d.length,e=i.length;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.performanceTimestampProvider=void 0,h.performanceTimestampProvider={now:function(){return(h.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.queue=h.queueScheduler=void 0;var n=o(71688),i=o(36148);h.queueScheduler=new i.QueueScheduler(n.QueueAction),h.queue=h.queueScheduler},82480:function(ve,h){"use strict";var o=this&&this.__read||function(i,d){var a="function"==typeof Symbol&&i[Symbol.iterator];if(!a)return i;var e,l,c=a.call(i),u=[];try{for(;(void 0===d||d-- >0)&&!(e=c.next()).done;)u.push(e.value)}catch(g){l={error:g}}finally{try{e&&!e.done&&(a=c.return)&&a.call(c)}finally{if(l)throw l.error}}return u},n=this&&this.__spreadArray||function(i,d){for(var a=0,c=d.length,e=i.length;a{"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(h,"__esModule",{value:!0}),h.iterator=h.getSymbolIterator=void 0,h.getSymbolIterator=o,h.iterator=o()},72064:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observable=void 0,h.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0})},32929:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ArgumentOutOfRangeError=void 0;var n=o(26624);h.ArgumentOutOfRangeError=n.createErrorClass(function(i){return function(){i(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.EmptyError=void 0;var n=o(26624);h.EmptyError=n.createErrorClass(function(i){return function(){i(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TestTools=h.Immediate=void 0;var n,o=1,i={};function d(a){return a in i&&(delete i[a],!0)}h.Immediate={setImmediate:function(a){var c=o++;return i[c]=!0,n||(n=Promise.resolve()),n.then(function(){return d(c)&&a()}),c},clearImmediate:function(a){d(a)}},h.TestTools={pending:function(){return Object.keys(i).length}}},15496:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.NotFoundError=void 0;var n=o(26624);h.NotFoundError=n.createErrorClass(function(i){return function(a){i(this),this.name="NotFoundError",this.message=a}})},92304:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ObjectUnsubscribedError=void 0;var n=o(26624);h.ObjectUnsubscribedError=n.createErrorClass(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SequenceError=void 0;var n=o(26624);h.SequenceError=n.createErrorClass(function(i){return function(a){i(this),this.name="SequenceError",this.message=a}})},9560:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UnsubscriptionError=void 0;var n=o(26624);h.UnsubscriptionError=n.createErrorClass(function(i){return function(a){i(this),this.message=a?a.length+" errors occurred during unsubscription:\n"+a.map(function(c,e){return e+1+") "+c.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=a}})},69724:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.popNumber=h.popScheduler=h.popResultSelector=void 0;var n=o(82360),i=o(76964);function d(u){return u[u.length-1]}h.popResultSelector=function a(u){return n.isFunction(d(u))?u.pop():void 0},h.popScheduler=function c(u){return i.isScheduler(d(u))?u.pop():void 0},h.popNumber=function e(u,l){return"number"==typeof d(u)?u.pop():l}},75352:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsArgArrayOrObject=void 0;var o=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,d=Object.keys;h.argsArgArrayOrObject=function a(e){if(1===e.length){var u=e[0];if(o(u))return{args:u,keys:null};if(function c(e){return e&&"object"==typeof e&&n(e)===i}(u)){var l=d(u);return{args:l.map(function(g){return u[g]}),keys:l}}}return{args:e,keys:null}}},50652:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsOrArgArray=void 0;var o=Array.isArray;h.argsOrArgArray=function n(i){return 1===i.length&&o(i[0])?i[0]:i}},39852:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.arrRemove=void 0,h.arrRemove=function o(n,i){if(n){var d=n.indexOf(i);0<=d&&n.splice(d,1)}}},26624:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createErrorClass=void 0,h.createErrorClass=function o(n){var d=n(function(a){Error.call(a),a.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}},7788:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createObject=void 0,h.createObject=function o(n,i){return n.reduce(function(d,a,c){return d[a]=i[c],d},{})}},49664:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.captureError=h.errorContext=void 0;var n=o(90584),i=null;h.errorContext=function d(c){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!i;if(e&&(i={errorThrown:!1,error:null}),c(),e){var u=i;if(i=null,u.errorThrown)throw u.error}}else c()},h.captureError=function a(c){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=c)}},61760:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.executeSchedule=void 0,h.executeSchedule=function o(n,i,d,a,c){void 0===a&&(a=0),void 0===c&&(c=!1);var e=i.schedule(function(){d(),c?n.add(this.schedule(null,a)):this.unsubscribe()},a);if(n.add(e),!c)return e}},55184:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.identity=void 0,h.identity=function o(n){return n}},18224:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isArrayLike=void 0,h.isArrayLike=function(o){return o&&"number"==typeof o.length&&"function"!=typeof o}},37156:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isAsyncIterable=void 0;var n=o(82360);h.isAsyncIterable=function i(d){return Symbol.asyncIterator&&n.isFunction(d?.[Symbol.asyncIterator])}},42384:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isValidDate=void 0,h.isValidDate=function o(n){return n instanceof Date&&!isNaN(n)}},82360:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isFunction=void 0,h.isFunction=function o(n){return"function"==typeof n}},18440:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isInteropObservable=void 0;var n=o(72064),i=o(82360);h.isInteropObservable=function d(a){return i.isFunction(a[n.observable])}},30640:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isIterable=void 0;var n=o(71040),i=o(82360);h.isIterable=function d(a){return i.isFunction(a?.[n.iterator])}},38104:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isObservable=void 0;var n=o(15448),i=o(82360);h.isObservable=function d(a){return!!a&&(a instanceof n.Observable||i.isFunction(a.lift)&&i.isFunction(a.subscribe))}},28296:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isPromise=void 0;var n=o(82360);h.isPromise=function i(d){return n.isFunction(d?.then)}},11416:function(ve,h,o){"use strict";var n=this&&this.__generator||function(u,l){var v,p,C,b,g={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return b={next:_(0),throw:_(1),return:_(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function _(y){return function(S){return function f(y){if(v)throw new TypeError("Generator is already executing.");for(;g;)try{if(v=1,p&&(C=2&y[0]?p.return:y[0]?p.throw||((C=p.return)&&C.call(p),0):p.next)&&!(C=C.call(p,y[1])).done)return C;switch(p=0,C&&(y=[2&y[0],C.value]),y[0]){case 0:case 1:C=y;break;case 4:return g.label++,{value:y[1],done:!1};case 5:g.label++,p=y[1],y=[0];continue;case 7:y=g.ops.pop(),g.trys.pop();continue;default:if(!(C=(C=g.trys).length>0&&C[C.length-1])&&(6===y[0]||2===y[0])){g=0;continue}if(3===y[0]&&(!C||y[1]>C[0]&&y[1]1||_(w,A)})})}function _(w,A){try{!function f(w){w.value instanceof i?Promise.resolve(w.value.v).then(y,S):M(C[0][2],w)}(v[w](A))}catch(O){M(C[0][3],O)}}function y(w){_("next",w)}function S(w){_("throw",w)}function M(w,A){w(A),C.shift(),C.length&&_(C[0][0],C[0][1])}};Object.defineProperty(h,"__esModule",{value:!0}),h.isReadableStreamLike=h.readableStreamLikeToAsyncGenerator=void 0;var a=o(82360);h.readableStreamLikeToAsyncGenerator=function c(u){return d(this,arguments,function(){var g,v,p;return n(this,function(b){switch(b.label){case 0:g=u.getReader(),b.label=1;case 1:b.trys.push([1,,9,10]),b.label=2;case 2:return[4,i(g.read())];case 3:return v=b.sent(),p=v.value,v.done?[4,i(void 0)]:[3,5];case 4:return[2,b.sent()];case 5:return[4,i(p)];case 6:return[4,b.sent()];case 7:return b.sent(),[3,2];case 8:return[3,10];case 9:return g.releaseLock(),[7];case 10:return[2]}})})},h.isReadableStreamLike=function e(u){return a.isFunction(u?.getReader)}},76964:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isScheduler=void 0;var n=o(82360);h.isScheduler=function i(d){return d&&n.isFunction(d.schedule)}},66080:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.operate=h.hasLift=void 0;var n=o(82360);function i(a){return n.isFunction(a?.lift)}h.hasLift=i,h.operate=function d(a){return function(c){if(i(c))return c.lift(function(e){try{return a(e,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(ve,h,o){"use strict";var n=this&&this.__read||function(u,l){var g="function"==typeof Symbol&&u[Symbol.iterator];if(!g)return u;var p,b,v=g.call(u),C=[];try{for(;(void 0===l||l-- >0)&&!(p=v.next()).done;)C.push(p.value)}catch(_){b={error:_}}finally{try{p&&!p.done&&(g=v.return)&&g.call(v)}finally{if(b)throw b.error}}return C},i=this&&this.__spreadArray||function(u,l){for(var g=0,v=l.length,p=u.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.noop=void 0,h.noop=function o(){}},37700:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.not=void 0,h.not=function o(n,i){return function(d,a){return!n.call(i,d,a)}}},19512:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pipeFromArray=h.pipe=void 0;var n=o(55184);function d(a){return 0===a.length?n.identity:1===a.length?a[0]:function(e){return a.reduce(function(u,l){return l(u)},e)}}h.pipe=function i(){for(var a=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reportUnhandledError=void 0;var n=o(90584),i=o(82480);h.reportUnhandledError=function d(a){i.timeoutProvider.setTimeout(function(){var c=n.config.onUnhandledError;if(!c)throw a;c(a)})}},34088:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createInvalidObservableTypeError=void 0,h.createInvalidObservableTypeError=function o(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},46700:(ve,h,o)=>{"use strict";o.d(h,{g:()=>i});var n=o(95657);class i extends n.E{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const c=super._subscribe(a);return!c.closed&&a.next(this._value),c}getValue(){const{hasError:a,thrownError:c,_value:e}=this;if(a)throw c;return this._throwIfClosed(),e}next(a){super.next(this._value=a)}}},53252:(ve,h,o)=>{"use strict";o.d(h,{_:()=>l});var n=o(41760),i=o(46928),d=o(90472),a=o(83928),c=o(74491),e=o(38880),u=o(92075);let l=(()=>{class C{constructor(_){_&&(this._subscribe=_)}lift(_){const f=new C;return f.source=this,f.operator=_,f}subscribe(_,f,y){const S=function p(C){return C&&C instanceof n.yR||function v(C){return C&&(0,e.m)(C.next)&&(0,e.m)(C.error)&&(0,e.m)(C.complete)}(C)&&(0,i.GI)(C)}(_)?_:new n.ot(_,f,y);return(0,u.c)(()=>{const{operator:M,source:w}=this;S.add(M?M.call(S,w):w?this._subscribe(S):this._trySubscribe(S))}),S}_trySubscribe(_){try{return this._subscribe(_)}catch(f){_.error(f)}}forEach(_,f){return new(f=g(f))((y,S)=>{const M=new n.ot({next:w=>{try{_(w)}catch(A){S(A),M.unsubscribe()}},error:S,complete:y});this.subscribe(M)})}_subscribe(_){var f;return null===(f=this.source)||void 0===f?void 0:f.subscribe(_)}[d.a](){return this}pipe(..._){return(0,a.Y)(_)(this)}toPromise(_){return new(_=g(_))((f,y)=>{let S;this.subscribe(M=>S=M,M=>y(M),()=>f(S))})}}return C.create=b=>new C(b),C})();function g(C){var b;return null!==(b=C??c.config.Promise)&&void 0!==b?b:Promise}},22540:(ve,h,o)=>{"use strict";o.d(h,{o:()=>d});var n=o(95657),i=o(35960);class d extends n.E{constructor(c=1/0,e=1/0,u=i.K){super(),this._bufferSize=c,this._windowTime=e,this._timestampProvider=u,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,c),this._windowTime=Math.max(1,e)}next(c){const{isStopped:e,_buffer:u,_infiniteTimeWindow:l,_timestampProvider:g,_windowTime:v}=this;e||(u.push(c),!l&&u.push(g.now()+v)),this._trimBuffer(),super.next(c)}_subscribe(c){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(c),{_infiniteTimeWindow:u,_buffer:l}=this,g=l.slice();for(let v=0;v{"use strict";o.d(h,{E:()=>u});var n=o(53252),i=o(46928);const a=(0,o(14912).w)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var c=o(41248),e=o(92075);let u=(()=>{class g extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const C=new l(this,this);return C.operator=p,C}_throwIfClosed(){if(this.closed)throw new a}next(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const C of this.currentObservers)C.next(p)}})}error(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:C}=this;for(;C.length;)C.shift().error(p)}})}complete(){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:p}=this;for(;p.length;)p.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var p;return(null===(p=this.observers)||void 0===p?void 0:p.length)>0}_trySubscribe(p){return this._throwIfClosed(),super._trySubscribe(p)}_subscribe(p){return this._throwIfClosed(),this._checkFinalizedStatuses(p),this._innerSubscribe(p)}_innerSubscribe(p){const{hasError:C,isStopped:b,observers:_}=this;return C||b?i.au:(this.currentObservers=null,_.push(p),new i.wH(()=>{this.currentObservers=null,(0,c.k)(_,p)}))}_checkFinalizedStatuses(p){const{hasError:C,thrownError:b,isStopped:_}=this;C?p.error(b):_&&p.complete()}asObservable(){const p=new n._;return p.source=this,p}}return g.create=(v,p)=>new l(v,p),g})();class l extends u{constructor(v,p){super(),this.destination=v,this.source=p}next(v){var p,C;null===(C=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===C||C.call(p,v)}error(v){var p,C;null===(C=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===C||C.call(p,v)}complete(){var v,p;null===(p=null===(v=this.destination)||void 0===v?void 0:v.complete)||void 0===p||p.call(v)}_subscribe(v){var p,C;return null!==(C=null===(p=this.source)||void 0===p?void 0:p.subscribe(v))&&void 0!==C?C:i.au}}},41760:(ve,h,o)=>{"use strict";o.d(h,{ot:()=>y,yR:()=>C});var n=o(38880),i=o(46928),d=o(74491),a=o(31984),c=o(20308);const e=g("C",void 0,void 0);function g(O,F,j){return{kind:O,value:F,error:j}}var v=o(43376),p=o(92075);class C extends i.wH{constructor(F){super(),this.isStopped=!1,F?(this.destination=F,(0,i.GI)(F)&&F.add(this)):this.destination=A}static create(F,j,T){return new y(F,j,T)}next(F){this.isStopped?w(function l(O){return g("N",O,void 0)}(F),this):this._next(F)}error(F){this.isStopped?w(function u(O){return g("E",void 0,O)}(F),this):(this.isStopped=!0,this._error(F))}complete(){this.isStopped?w(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(F){this.destination.next(F)}_error(F){try{this.destination.error(F)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function _(O,F){return b.call(O,F)}class f{constructor(F){this.partialObserver=F}next(F){const{partialObserver:j}=this;if(j.next)try{j.next(F)}catch(T){S(T)}}error(F){const{partialObserver:j}=this;if(j.error)try{j.error(F)}catch(T){S(T)}else S(F)}complete(){const{partialObserver:F}=this;if(F.complete)try{F.complete()}catch(j){S(j)}}}class y extends C{constructor(F,j,T){let I;if(super(),(0,n.m)(F)||!F)I={next:F??void 0,error:j??void 0,complete:T??void 0};else{let k;this&&d.config.useDeprecatedNextContext?(k=Object.create(F),k.unsubscribe=()=>this.unsubscribe(),I={next:F.next&&_(F.next,k),error:F.error&&_(F.error,k),complete:F.complete&&_(F.complete,k)}):I=F}this.destination=new f(I)}}function S(O){d.config.useDeprecatedSynchronousErrorHandling?(0,p.q)(O):(0,a.U)(O)}function w(O,F){const{onStoppedNotification:j}=d.config;j&&v.u.setTimeout(()=>j(O,F))}const A={closed:!0,next:c.K,error:function M(O){throw O},complete:c.K}},46928:(ve,h,o)=>{"use strict";o.d(h,{au:()=>e,wH:()=>c,GI:()=>u});var n=o(38880);const d=(0,o(14912).w)(g=>function(p){g(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((C,b)=>`${b+1}) ${C.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var a=o(41248);class c{constructor(v){this.initialTeardown=v,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let v;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const _ of p)_.remove(this);else p.remove(this);const{initialTeardown:C}=this;if((0,n.m)(C))try{C()}catch(_){v=_ instanceof d?_.errors:[_]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const _ of b)try{l(_)}catch(f){v=v??[],f instanceof d?v=[...v,...f.errors]:v.push(f)}}if(v)throw new d(v)}}add(v){var p;if(v&&v!==this)if(this.closed)l(v);else{if(v instanceof c){if(v.closed||v._hasParent(this))return;v._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(v)}}_hasParent(v){const{_parentage:p}=this;return p===v||Array.isArray(p)&&p.includes(v)}_addParent(v){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(v),p):p?[p,v]:v}_removeParent(v){const{_parentage:p}=this;p===v?this._parentage=null:Array.isArray(p)&&(0,a.k)(p,v)}remove(v){const{_finalizers:p}=this;p&&(0,a.k)(p,v),v instanceof c&&v._removeParent(this)}}c.EMPTY=(()=>{const g=new c;return g.closed=!0,g})();const e=c.EMPTY;function u(g){return g instanceof c||g&&"closed"in g&&(0,n.m)(g.remove)&&(0,n.m)(g.add)&&(0,n.m)(g.unsubscribe)}function l(g){(0,n.m)(g)?g():g.unsubscribe()}},74491:(ve,h,o)=>{"use strict";o.d(h,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(ve,h,o)=>{"use strict";o.d(h,{E:()=>v});var n=o(53252),i=o(64300),d=o(74496),a=o(528),c=o(74187),e=o(59472),u=o(67904),l=o(87773),g=o(69399);function v(...b){const _=(0,e.e_)(b),f=(0,e.yu)(b),{args:y,keys:S}=(0,i.Q)(b);if(0===y.length)return(0,d.Q)([],_);const M=new n._(function p(b,_,f=a.Z){return y=>{C(_,()=>{const{length:S}=b,M=new Array(S);let w=S,A=S;for(let O=0;O{const F=(0,d.Q)(b[O],_);let j=!1;F.subscribe((0,l.e)(y,T=>{M[O]=T,j||(j=!0,A--),A||y.next(f(M.slice()))},()=>{--w||y.complete()}))},y)},y)}}(y,_,S?w=>(0,u.q)(S,w):a.Z));return f?M.pipe((0,c.j)(f)):M}function C(b,_,f){b?(0,g._)(f,b,_):_()}},41424:(ve,h,o)=>{"use strict";o.d(h,{Q:()=>d});var n=o(53252),i=o(50560);function d(a){return new n._(c=>{(0,i.Uv)(a()).subscribe(c)})}},28960:(ve,h,o)=>{"use strict";o.d(h,{k:()=>i});const i=new(o(53252)._)(c=>c.complete())},74496:(ve,h,o)=>{"use strict";o.d(h,{Q:()=>T});var n=o(50560),i=o(69399),d=o(95448),a=o(87773);function c(I,k=0){return(0,d.i)((N,x)=>{N.subscribe((0,a.e)(x,H=>(0,i._)(x,I,()=>x.next(H),k),()=>(0,i._)(x,I,()=>x.complete(),k),H=>(0,i._)(x,I,()=>x.error(H),k)))})}function e(I,k=0){return(0,d.i)((N,x)=>{x.add(I.schedule(()=>N.subscribe(x),k))})}var g=o(53252),p=o(23835),C=o(38880);function _(I,k){if(!I)throw new Error("Iterable cannot be null");return new g._(N=>{(0,i._)(N,k,()=>{const x=I[Symbol.asyncIterator]();(0,i._)(N,k,()=>{x.next().then(H=>{H.done?N.complete():N.next(H.value)})},0,!0)})})}var f=o(35099),y=o(55432),S=o(45428),M=o(61688),w=o(60376),A=o(58272),O=o(45832);function T(I,k){return k?function j(I,k){if(null!=I){if((0,f.O)(I))return function u(I,k){return(0,n.Uv)(I).pipe(e(k),c(k))}(I,k);if((0,S.G)(I))return function v(I,k){return new g._(N=>{let x=0;return k.schedule(function(){x===I.length?N.complete():(N.next(I[x++]),N.closed||this.schedule())})})}(I,k);if((0,y.u)(I))return function l(I,k){return(0,n.Uv)(I).pipe(e(k),c(k))}(I,k);if((0,w.E)(I))return _(I,k);if((0,M.i)(I))return function b(I,k){return new g._(N=>{let x;return(0,i._)(N,k,()=>{x=I[p.w](),(0,i._)(N,k,()=>{let H,G;try{({value:H,done:G}=x.next())}catch(te){return void N.error(te)}G?N.complete():N.next(H)},0,!0)}),()=>(0,C.m)(x?.return)&&x.return()})}(I,k);if((0,O.K)(I))return function F(I,k){return _((0,O._)(I),k)}(I,k)}throw(0,A.W)(I)}(I,k):(0,n.Uv)(I)}},70800:(ve,h,o)=>{"use strict";o.d(h,{w:()=>v});var n=o(50560),i=o(53252),d=o(7400),a=o(45428),c=o(38880),e=o(74187);const u=["addListener","removeListener"],l=["addEventListener","removeEventListener"],g=["on","off"];function v(f,y,S,M){if((0,c.m)(S)&&(M=S,S=void 0),M)return v(f,y,S).pipe((0,e.j)(M));const[w,A]=function _(f){return(0,c.m)(f.addEventListener)&&(0,c.m)(f.removeEventListener)}(f)?l.map(O=>F=>f[O](y,F,S)):function C(f){return(0,c.m)(f.addListener)&&(0,c.m)(f.removeListener)}(f)?u.map(p(f,y)):function b(f){return(0,c.m)(f.on)&&(0,c.m)(f.off)}(f)?g.map(p(f,y)):[];if(!w&&(0,a.G)(f))return(0,d.O)(O=>v(O,y,S))((0,n.Uv)(f));if(!w)throw new TypeError("Invalid event target");return new i._(O=>{const F=(...j)=>O.next(1A(F)})}function p(f,y){return S=>M=>f[S](y,M)}},50560:(ve,h,o)=>{"use strict";o.d(h,{Uv:()=>b});var n=o(81316),i=o(45428),d=o(55432),a=o(53252),c=o(35099),e=o(60376),u=o(58272),l=o(61688),g=o(45832),v=o(38880),p=o(31984),C=o(90472);function b(O){if(O instanceof a._)return O;if(null!=O){if((0,c.O)(O))return function _(O){return new a._(F=>{const j=O[C.a]();if((0,v.m)(j.subscribe))return j.subscribe(F);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(O);if((0,i.G)(O))return function f(O){return new a._(F=>{for(let j=0;j{O.then(j=>{F.closed||(F.next(j),F.complete())},j=>F.error(j)).then(null,p.U)})}(O);if((0,e.E)(O))return M(O);if((0,l.i)(O))return function S(O){return new a._(F=>{for(const j of O)if(F.next(j),F.closed)return;F.complete()})}(O);if((0,g.K)(O))return function w(O){return M((0,g._)(O))}(O)}throw(0,u.W)(O)}function M(O){return new a._(F=>{(function A(O,F){var j,T,I,k;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(j=(0,n.__asyncValues)(O);!(T=yield j.next()).done;)if(F.next(T.value),F.closed)return}catch(N){I={error:N}}finally{try{T&&!T.done&&(k=j.return)&&(yield k.call(j))}finally{if(I)throw I.error}}F.complete()})})(O,F).catch(j=>F.error(j))})}},82700:(ve,h,o)=>{"use strict";o.d(h,{of:()=>d});var n=o(59472),i=o(74496);function d(...a){const c=(0,n.e_)(a);return(0,i.Q)(a,c)}},87773:(ve,h,o)=>{"use strict";o.d(h,{e:()=>i});var n=o(41760);function i(a,c,e,u,l){return new d(a,c,e,u,l)}class d extends n.yR{constructor(c,e,u,l,g,v){super(c),this.onFinalize=g,this.shouldUnsubscribe=v,this._next=e?function(p){try{e(p)}catch(C){c.error(C)}}:super._next,this._error=l?function(p){try{l(p)}catch(C){c.error(C)}finally{this.unsubscribe()}}:super._error,this._complete=u?function(){try{u()}catch(p){c.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var c;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(c=this.onFinalize)||void 0===c||c.call(this))}}}},39144:(ve,h,o)=>{"use strict";o.d(h,{a:()=>a});var n=o(50560),i=o(87773),d=o(95448);function a(c){return(0,d.i)((e,u)=>{let v,l=null,g=!1;l=e.subscribe((0,i.e)(u,void 0,void 0,p=>{v=(0,n.Uv)(c(p,a(c)(e))),l?(l.unsubscribe(),l=null,v.subscribe(u)):g=!0})),g&&(l.unsubscribe(),l=null,v.subscribe(u))})}},26020:(ve,h,o)=>{"use strict";o.d(h,{m:()=>d});var n=o(7400),i=o(38880);function d(a,c){return(0,i.m)(c)?(0,n.O)(a,c,1):(0,n.O)(a,1)}},22156:(ve,h,o)=>{"use strict";o.d(h,{G:()=>d});var n=o(95448),i=o(87773);function d(a){return(0,n.i)((c,e)=>{let u=!1;c.subscribe((0,i.e)(e,l=>{u=!0,e.next(l)},()=>{u||e.next(a),e.complete()}))})}},66684:(ve,h,o)=>{"use strict";o.d(h,{I:()=>d});var n=o(95448),i=o(87773);function d(a,c){return(0,n.i)((e,u)=>{let l=0;e.subscribe((0,i.e)(u,g=>a.call(c,g,l++)&&u.next(g)))})}},68824:(ve,h,o)=>{"use strict";o.d(h,{U:()=>i});var n=o(95448);function i(d){return(0,n.i)((a,c)=>{try{a.subscribe(c)}finally{c.add(d)}})}},75084:(ve,h,o)=>{"use strict";o.d(h,{K:()=>u});var n=o(37696),i=o(66684),d=o(3992),a=o(22156),c=o(98124),e=o(528);function u(l,g){const v=arguments.length>=2;return p=>p.pipe(l?(0,i.I)((C,b)=>l(C,b,p)):e.Z,(0,d.U)(1),v?(0,a.G)(g):(0,c._)(()=>new n.G))}},54704:(ve,h,o)=>{"use strict";o.d(h,{k:()=>d});var n=o(95448),i=o(87773);function d(a,c){return(0,n.i)((e,u)=>{let l=0;e.subscribe((0,i.e)(u,g=>{u.next(a.call(c,g,l++))}))})}},32700:(ve,h,o)=>{"use strict";o.d(h,{e:()=>i});var n=o(54704);function i(d){return(0,n.k)(()=>d)}},7400:(ve,h,o)=>{"use strict";o.d(h,{O:()=>l});var n=o(54704),i=o(50560),d=o(95448),a=o(69399),c=o(87773),u=o(38880);function l(g,v,p=1/0){return(0,u.m)(v)?l((C,b)=>(0,n.k)((_,f)=>v(C,_,b,f))((0,i.Uv)(g(C,b))),p):("number"==typeof v&&(p=v),(0,d.i)((C,b)=>function e(g,v,p,C,b,_,f,y){const S=[];let M=0,w=0,A=!1;const O=()=>{A&&!S.length&&!M&&v.complete()},F=T=>M{_&&v.next(T),M++;let I=!1;(0,i.Uv)(p(T,w++)).subscribe((0,c.e)(v,k=>{b?.(k),_?F(k):v.next(k)},()=>{I=!0},void 0,()=>{if(I)try{for(M--;S.length&&Mj(k)):j(k)}O()}catch(k){v.error(k)}}))};return g.subscribe((0,c.e)(v,F,()=>{A=!0,O()})),()=>{y?.()}}(C,b,g,p)))}},17368:(ve,h,o)=>{"use strict";o.d(h,{G:()=>a});var n=o(50560),i=o(95448),d=o(87773);function a(c,e){return(0,i.i)((u,l)=>{let g=null,v=0,p=!1;const C=()=>p&&!g&&l.complete();u.subscribe((0,d.e)(l,b=>{g?.unsubscribe();let _=0;const f=v++;(0,n.Uv)(c(b,f)).subscribe(g=(0,d.e)(l,y=>l.next(e?e(b,y,f,_++):y),()=>{g=null,C()}))},()=>{p=!0,C()}))})}},3992:(ve,h,o)=>{"use strict";o.d(h,{U:()=>a});var n=o(28960),i=o(95448),d=o(87773);function a(c){return c<=0?()=>n.k:(0,i.i)((e,u)=>{let l=0;e.subscribe((0,d.e)(u,g=>{++l<=c&&(u.next(g),c<=l&&u.complete())}))})}},53616:(ve,h,o)=>{"use strict";o.d(h,{a:()=>c});var n=o(95448),i=o(87773),d=o(50560),a=o(20308);function c(e){return(0,n.i)((u,l)=>{(0,d.Uv)(e).subscribe((0,i.e)(l,()=>l.complete(),a.K)),!l.closed&&u.subscribe(l)})}},19212:(ve,h,o)=>{"use strict";o.d(h,{y:()=>c});var n=o(38880),i=o(95448),d=o(87773),a=o(528);function c(e,u,l){const g=(0,n.m)(e)||u||l?{next:e,error:u,complete:l}:e;return g?(0,i.i)((v,p)=>{var C;null===(C=g.subscribe)||void 0===C||C.call(g);let b=!0;v.subscribe((0,d.e)(p,_=>{var f;null===(f=g.next)||void 0===f||f.call(g,_),p.next(_)},()=>{var _;b=!1,null===(_=g.complete)||void 0===_||_.call(g),p.complete()},_=>{var f;b=!1,null===(f=g.error)||void 0===f||f.call(g,_),p.error(_)},()=>{var _,f;b&&(null===(_=g.unsubscribe)||void 0===_||_.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.Z}},98124:(ve,h,o)=>{"use strict";o.d(h,{_:()=>a});var n=o(37696),i=o(95448),d=o(87773);function a(e=c){return(0,i.i)((u,l)=>{let g=!1;u.subscribe((0,d.e)(l,v=>{g=!0,l.next(v)},()=>g?l.complete():l.error(e())))})}function c(){return new n.G}},35960:(ve,h,o)=>{"use strict";o.d(h,{K:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},43376:(ve,h,o)=>{"use strict";o.d(h,{u:()=>n});const n={setTimeout(i,d,...a){const{delegate:c}=n;return c?.setTimeout?c.setTimeout(i,d,...a):setTimeout(i,d,...a)},clearTimeout(i){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(i)},delegate:void 0}},23835:(ve,h,o)=>{"use strict";o.d(h,{w:()=>i});const i=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(ve,h,o)=>{"use strict";o.d(h,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(ve,h,o)=>{"use strict";o.d(h,{G:()=>i});const i=(0,o(14912).w)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(ve,h,o)=>{"use strict";o.d(h,{yu:()=>a,e_:()=>c});var n=o(38880);function d(u){return u[u.length-1]}function a(u){return(0,n.m)(d(u))?u.pop():void 0}function c(u){return function i(u){return u&&(0,n.m)(u.schedule)}(d(u))?u.pop():void 0}},64300:(ve,h,o)=>{"use strict";o.d(h,{Q:()=>c});const{isArray:n}=Array,{getPrototypeOf:i,prototype:d,keys:a}=Object;function c(u){if(1===u.length){const l=u[0];if(n(l))return{args:l,keys:null};if(function e(u){return u&&"object"==typeof u&&i(u)===d}(l)){const g=a(l);return{args:g.map(v=>l[v]),keys:g}}}return{args:u,keys:null}}},41248:(ve,h,o)=>{"use strict";function n(i,d){if(i){const a=i.indexOf(d);0<=a&&i.splice(a,1)}}o.d(h,{k:()=>n})},14912:(ve,h,o)=>{"use strict";function n(i){const a=i(c=>{Error.call(c),c.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}o.d(h,{w:()=>n})},67904:(ve,h,o)=>{"use strict";function n(i,d){return i.reduce((a,c,e)=>(a[c]=d[e],a),{})}o.d(h,{q:()=>n})},92075:(ve,h,o)=>{"use strict";o.d(h,{c:()=>d,q:()=>a});var n=o(74491);let i=null;function d(c){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!i;if(e&&(i={errorThrown:!1,error:null}),c(),e){const{errorThrown:u,error:l}=i;if(i=null,u)throw l}}else c()}function a(c){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=c)}},69399:(ve,h,o)=>{"use strict";function n(i,d,a,c=0,e=!1){const u=d.schedule(function(){a(),e?i.add(this.schedule(null,c)):this.unsubscribe()},c);if(i.add(u),!e)return u}o.d(h,{_:()=>n})},528:(ve,h,o)=>{"use strict";function n(i){return i}o.d(h,{Z:()=>n})},45428:(ve,h,o)=>{"use strict";o.d(h,{G:()=>n});const n=i=>i&&"number"==typeof i.length&&"function"!=typeof i},60376:(ve,h,o)=>{"use strict";o.d(h,{E:()=>i});var n=o(38880);function i(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},38880:(ve,h,o)=>{"use strict";function n(i){return"function"==typeof i}o.d(h,{m:()=>n})},35099:(ve,h,o)=>{"use strict";o.d(h,{O:()=>d});var n=o(90472),i=o(38880);function d(a){return(0,i.m)(a[n.a])}},61688:(ve,h,o)=>{"use strict";o.d(h,{i:()=>d});var n=o(23835),i=o(38880);function d(a){return(0,i.m)(a?.[n.w])}},55432:(ve,h,o)=>{"use strict";o.d(h,{u:()=>i});var n=o(38880);function i(d){return(0,n.m)(d?.then)}},45832:(ve,h,o)=>{"use strict";o.d(h,{K:()=>a,_:()=>d});var n=o(81316),i=o(38880);function d(c){return(0,n.__asyncGenerator)(this,arguments,function*(){const u=c.getReader();try{for(;;){const{value:l,done:g}=yield(0,n.__await)(u.read());if(g)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(l)}}finally{u.releaseLock()}})}function a(c){return(0,i.m)(c?.getReader)}},95448:(ve,h,o)=>{"use strict";o.d(h,{e:()=>i,i:()=>d});var n=o(38880);function i(a){return(0,n.m)(a?.lift)}function d(a){return c=>{if(i(c))return c.lift(function(e){try{return a(e,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(ve,h,o)=>{"use strict";o.d(h,{j:()=>a});var n=o(54704);const{isArray:i}=Array;function a(c){return(0,n.k)(e=>function d(c,e){return i(e)?c(...e):c(e)}(c,e))}},20308:(ve,h,o)=>{"use strict";function n(){}o.d(h,{K:()=>n})},83928:(ve,h,o)=>{"use strict";o.d(h,{W:()=>i,Y:()=>d});var n=o(528);function i(...a){return d(a)}function d(a){return 0===a.length?n.Z:1===a.length?a[0]:function(e){return a.reduce((u,l)=>l(u),e)}}},31984:(ve,h,o)=>{"use strict";o.d(h,{U:()=>d});var n=o(74491),i=o(43376);function d(a){i.u.setTimeout(()=>{const{onUnhandledError:c}=n.config;if(!c)throw a;c(a)})}},58272:(ve,h,o)=>{"use strict";function n(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}o.d(h,{W:()=>n})},16213:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"NIL",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(h,"parse",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(h,"stringify",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(h,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(h,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(h,"v4",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(h,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(h,"validate",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(h,"version",{enumerable:!0,get:function(){return e.default}});var n=v(o(14400)),i=v(o(86664)),d=v(o(35368)),a=v(o(52632)),c=v(o(936)),e=v(o(54424)),u=v(o(54e3)),l=v(o(6944)),g=v(o(92612));function v(p){return p&&p.__esModule?p:{default:p}}},75440:(ve,h)=>{"use strict";function i(b){return 14+(b+64>>>9<<4)+1}function c(b,_){const f=(65535&b)+(65535&_);return(b>>16)+(_>>16)+(f>>16)<<16|65535&f}function u(b,_,f,y,S,M){return c(function e(b,_){return b<<_|b>>>32-_}(c(c(_,b),c(y,M)),S),f)}function l(b,_,f,y,S,M,w){return u(_&f|~_&y,b,_,S,M,w)}function g(b,_,f,y,S,M,w){return u(_&y|f&~y,b,_,S,M,w)}function v(b,_,f,y,S,M,w){return u(_^f^y,b,_,S,M,w)}function p(b,_,f,y,S,M,w){return u(f^(_|~y),b,_,S,M,w)}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function o(b){if("string"==typeof b){const _=unescape(encodeURIComponent(b));b=new Uint8Array(_.length);for(let f=0;f<_.length;++f)b[f]=_.charCodeAt(f)}return function n(b){const _=[],f=32*b.length,y="0123456789abcdef";for(let S=0;S>5]>>>S%32&255,w=parseInt(y.charAt(M>>>4&15)+y.charAt(15&M),16);_.push(w)}return _}(function d(b,_){b[_>>5]|=128<<_%32,b[i(_)-1]=_;let f=1732584193,y=-271733879,S=-1732584194,M=271733878;for(let w=0;w>5]|=(255&b[y/8])<{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};h.default=n},936:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default="00000000-0000-0000-0000-000000000000"},92612:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(c){return c&&c.__esModule?c:{default:c}}(o(54e3));h.default=function d(c){if(!(0,n.default)(c))throw TypeError("Invalid UUID");let e;const u=new Uint8Array(16);return u[0]=(e=parseInt(c.slice(0,8),16))>>>24,u[1]=e>>>16&255,u[2]=e>>>8&255,u[3]=255&e,u[4]=(e=parseInt(c.slice(9,13),16))>>>8,u[5]=255&e,u[6]=(e=parseInt(c.slice(14,18),16))>>>8,u[7]=255&e,u[8]=(e=parseInt(c.slice(19,23),16))>>>8,u[9]=255&e,u[10]=(e=parseInt(c.slice(24,36),16))/1099511627776&255,u[11]=e/4294967296&255,u[12]=e>>>24&255,u[13]=e>>>16&255,u[14]=e>>>8&255,u[15]=255&e,u}},18280:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},98256:(ve,h)=>{"use strict";let o;Object.defineProperty(h,"__esModule",{value:!0}),h.default=function i(){if(!o&&(o=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!o))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(n)};const n=new Uint8Array(16)},18780:(ve,h)=>{"use strict";function o(a,c,e,u){switch(a){case 0:return c&e^~c&u;case 1:case 3:return c^e^u;case 2:return c&e^c&u^e&u}}function n(a,c){return a<>>32-c}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function i(a){const c=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof a){const v=unescape(encodeURIComponent(a));a=[];for(let p=0;p>>0;y=f,f=_,_=n(b,30)>>>0,b=C,C=w}e[0]=e[0]+C>>>0,e[1]=e[1]+b>>>0,e[2]=e[2]+_>>>0,e[3]=e[3]+f>>>0,e[4]=e[4]+y>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]}},6944:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.unsafeStringify=a;var n=function i(u){return u&&u.__esModule?u:{default:u}}(o(54e3));const d=[];for(let u=0;u<256;++u)d.push((u+256).toString(16).slice(1));function a(u,l=0){return d[u[l+0]]+d[u[l+1]]+d[u[l+2]]+d[u[l+3]]+"-"+d[u[l+4]]+d[u[l+5]]+"-"+d[u[l+6]]+d[u[l+7]]+"-"+d[u[l+8]]+d[u[l+9]]+"-"+d[u[l+10]]+d[u[l+11]]+d[u[l+12]]+d[u[l+13]]+d[u[l+14]]+d[u[l+15]]}h.default=function c(u,l=0){const g=a(u,l);if(!(0,n.default)(g))throw TypeError("Stringified UUID is invalid");return g}},14400:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function d(v){return v&&v.__esModule?v:{default:v}}(o(98256)),i=o(6944);let a,c,e=0,u=0;h.default=function l(v,p,C){let b=p&&C||0;const _=p||new Array(16);let f=(v=v||{}).node||a,y=void 0!==v.clockseq?v.clockseq:c;if(null==f||null==y){const F=v.random||(v.rng||n.default)();null==f&&(f=a=[1|F[0],F[1],F[2],F[3],F[4],F[5]]),null==y&&(y=c=16383&(F[6]<<8|F[7]))}let S=void 0!==v.msecs?v.msecs:Date.now(),M=void 0!==v.nsecs?v.nsecs:u+1;const w=S-e+(M-u)/1e4;if(w<0&&void 0===v.clockseq&&(y=y+1&16383),(w<0||S>e)&&void 0===v.nsecs&&(M=0),M>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=S,u=M,c=y,S+=122192928e5;const A=(1e4*(268435455&S)+M)%4294967296;_[b++]=A>>>24&255,_[b++]=A>>>16&255,_[b++]=A>>>8&255,_[b++]=255&A;const O=S/4294967296*1e4&268435455;_[b++]=O>>>8&255,_[b++]=255&O,_[b++]=O>>>24&15|16,_[b++]=O>>>16&255,_[b++]=y>>>8|128,_[b++]=255&y;for(let F=0;F<6;++F)_[b+F]=f[F];return p||(0,i.unsafeStringify)(_)}},86664:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(o(65432)),i=d(o(75440));function d(e){return e&&e.__esModule?e:{default:e}}var c=(0,n.default)("v3",48,i.default);h.default=c},65432:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.URL=h.DNS=void 0,h.default=function u(l,g,v){function p(C,b,_,f){var y;if("string"==typeof C&&(C=function a(l){l=unescape(encodeURIComponent(l));const g=[];for(let v=0;v{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=a(o(24400)),i=a(o(98256)),d=o(6944);function a(u){return u&&u.__esModule?u:{default:u}}h.default=function c(u,l,g){if(n.default.randomUUID&&!l&&!u)return n.default.randomUUID();const v=(u=u||{}).random||(u.rng||i.default)();if(v[6]=15&v[6]|64,v[8]=63&v[8]|128,l){g=g||0;for(let p=0;p<16;++p)l[g+p]=v[p];return l}return(0,d.unsafeStringify)(v)}},52632:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(o(65432)),i=d(o(18780));function d(e){return e&&e.__esModule?e:{default:e}}var c=(0,n.default)("v5",80,i.default);h.default=c},54e3:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(c){return c&&c.__esModule?c:{default:c}}(o(18280));h.default=function d(c){return"string"==typeof c&&n.default.test(c)}},54424:(ve,h,o)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function i(c){return c&&c.__esModule?c:{default:c}}(o(54e3));h.default=function d(c){if(!(0,n.default)(c))throw TypeError("Invalid UUID");return parseInt(c.slice(14,15),16)}},21480:(ve,h,o)=>{var n={"./ion-accordion_2.entry.js":[28956,9312,8956],"./ion-action-sheet.entry.js":[6736,9312,6736],"./ion-alert.entry.js":[41644,9312,1644],"./ion-app_8.entry.js":[63936,9312,3936],"./ion-avatar_3.entry.js":[79428,9428],"./ion-back-button.entry.js":[66932,9312,6932],"./ion-backdrop.entry.js":[38019,8019],"./ion-breadcrumb_2.entry.js":[67752,9312,7752],"./ion-button_2.entry.js":[9580,9580],"./ion-card_5.entry.js":[71048,1048],"./ion-checkbox.entry.js":[43752,9312,3752],"./ion-chip.entry.js":[1492,1492],"./ion-col_3.entry.js":[49584,9584],"./ion-datetime-button.entry.js":[17864,1136,7864],"./ion-datetime_3.entry.js":[38048,1136,9312,8048],"./ion-fab_3.entry.js":[61812,9312,1812],"./ion-img.entry.js":[73296,3296],"./ion-infinite-scroll_2.entry.js":[11488,9312,1488],"./ion-input.entry.js":[93500,9312,3500],"./ion-item-option_3.entry.js":[42448,9312,2448],"./ion-item_8.entry.js":[8772,9312,8772],"./ion-loading.entry.js":[82948,9312,2948],"./ion-menu_3.entry.js":[47676,9312,7676],"./ion-modal.entry.js":[96824,9312,6824],"./ion-nav_2.entry.js":[2372,2372],"./ion-picker-column-internal.entry.js":[88232,9312,8232],"./ion-picker-internal.entry.js":[74656,4656],"./ion-popover.entry.js":[24168,9312,4168],"./ion-progress-bar.entry.js":[83264,3264],"./ion-radio_2.entry.js":[57176,9312,7176],"./ion-range.entry.js":[63180,9312,3180],"./ion-refresher_2.entry.js":[32e3,9312,2e3],"./ion-reorder_2.entry.js":[93604,9312,3604],"./ion-ripple-effect.entry.js":[43667,3667],"./ion-route_4.entry.js":[54284,4284],"./ion-searchbar.entry.js":[82580,9312,2580],"./ion-segment_2.entry.js":[47528,9312,7528],"./ion-select_3.entry.js":[44272,9312,4272],"./ion-spinner.entry.js":[71172,9312,1172],"./ion-split-pane.entry.js":[42624,2624],"./ion-tab-bar_2.entry.js":[31708,9312,1708],"./ion-tab_2.entry.js":[95956,5956],"./ion-text.entry.js":[55828,5828],"./ion-textarea.entry.js":[9440,9312,9440],"./ion-toast.entry.js":[39836,9312,9836],"./ion-toggle.entry.js":[42776,9312,2776]};function i(d){if(!o.o(n,d))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+d+"'");throw e.code="MODULE_NOT_FOUND",e});var a=n[d],c=a[0];return Promise.all(a.slice(1).map(o.e)).then(()=>o(c))}i.keys=()=>Object.keys(n),i.id=21480,ve.exports=i},92348:(ve,h,o)=>{var n={"./af":25140,"./af.js":25140,"./ar":17276,"./ar-dz":17096,"./ar-dz.js":17096,"./ar-kw":32200,"./ar-kw.js":32200,"./ar-ly":97252,"./ar-ly.js":97252,"./ar-ma":39568,"./ar-ma.js":39568,"./ar-ps":13068,"./ar-ps.js":13068,"./ar-sa":89052,"./ar-sa.js":89052,"./ar-tn":93956,"./ar-tn.js":93956,"./ar.js":17276,"./az":88240,"./az.js":88240,"./be":77796,"./be.js":77796,"./bg":89880,"./bg.js":89880,"./bm":84328,"./bm.js":84328,"./bn":60536,"./bn-bd":45104,"./bn-bd.js":45104,"./bn.js":60536,"./bo":51108,"./bo.js":51108,"./br":51296,"./br.js":51296,"./bs":2032,"./bs.js":2032,"./ca":20096,"./ca.js":20096,"./cs":41152,"./cs.js":41152,"./cv":69568,"./cv.js":69568,"./cy":78875,"./cy.js":78875,"./da":45424,"./da.js":45424,"./de":20992,"./de-at":72604,"./de-at.js":72604,"./de-ch":79168,"./de-ch.js":79168,"./de.js":20992,"./dv":67300,"./dv.js":67300,"./el":84400,"./el.js":84400,"./en-au":83536,"./en-au.js":83536,"./en-ca":39379,"./en-ca.js":39379,"./en-gb":47032,"./en-gb.js":47032,"./en-ie":71832,"./en-ie.js":71832,"./en-il":404,"./en-il.js":404,"./en-in":25716,"./en-in.js":25716,"./en-nz":15312,"./en-nz.js":15312,"./en-sg":53320,"./en-sg.js":53320,"./eo":96392,"./eo.js":96392,"./es":41964,"./es-do":38540,"./es-do.js":38540,"./es-mx":93504,"./es-mx.js":93504,"./es-us":69224,"./es-us.js":69224,"./es.js":41964,"./et":90596,"./et.js":90596,"./eu":8060,"./eu.js":8060,"./fa":68184,"./fa.js":68184,"./fi":36736,"./fi.js":36736,"./fil":49264,"./fil.js":49264,"./fo":48299,"./fo.js":48299,"./fr":51964,"./fr-ca":84584,"./fr-ca.js":84584,"./fr-ch":8024,"./fr-ch.js":8024,"./fr.js":51964,"./fy":22672,"./fy.js":22672,"./ga":26476,"./ga.js":26476,"./gd":35148,"./gd.js":35148,"./gl":32176,"./gl.js":32176,"./gom-deva":27260,"./gom-deva.js":27260,"./gom-latn":3772,"./gom-latn.js":3772,"./gu":39528,"./gu.js":39528,"./he":86832,"./he.js":86832,"./hi":95592,"./hi.js":95592,"./hr":56208,"./hr.js":56208,"./hu":33697,"./hu.js":33697,"./hy-am":2e4,"./hy-am.js":2e4,"./id":57840,"./id.js":57840,"./is":31496,"./is.js":31496,"./it":6336,"./it-ch":45736,"./it-ch.js":45736,"./it.js":6336,"./ja":58008,"./ja.js":58008,"./jv":30108,"./jv.js":30108,"./ka":61844,"./ka.js":61844,"./kk":78980,"./kk.js":78980,"./km":48544,"./km.js":48544,"./kn":70096,"./kn.js":70096,"./ko":87420,"./ko.js":87420,"./ku":60200,"./ku-kmr":4740,"./ku-kmr.js":4740,"./ku.js":60200,"./ky":44976,"./ky.js":44976,"./lb":4652,"./lb.js":4652,"./lo":53984,"./lo.js":53984,"./lt":8792,"./lt.js":8792,"./lv":6296,"./lv.js":6296,"./me":58256,"./me.js":58256,"./mi":29284,"./mi.js":29284,"./mk":33196,"./mk.js":33196,"./ml":45896,"./ml.js":45896,"./mn":32460,"./mn.js":32460,"./mr":80132,"./mr.js":80132,"./ms":73136,"./ms-my":88060,"./ms-my.js":88060,"./ms.js":73136,"./mt":46227,"./mt.js":46227,"./my":88300,"./my.js":88300,"./nb":14784,"./nb.js":14784,"./ne":75060,"./ne.js":75060,"./nl":4971,"./nl-be":94796,"./nl-be.js":94796,"./nl.js":4971,"./nn":18984,"./nn.js":18984,"./oc-lnc":59928,"./oc-lnc.js":59928,"./pa-in":76440,"./pa-in.js":76440,"./pl":96768,"./pl.js":96768,"./pt":18968,"./pt-br":51528,"./pt-br.js":51528,"./pt.js":18968,"./ro":5760,"./ro.js":5760,"./ru":19760,"./ru.js":19760,"./sd":53804,"./sd.js":53804,"./se":44100,"./se.js":44100,"./si":95301,"./si.js":95301,"./sk":79992,"./sk.js":79992,"./sl":35208,"./sl.js":35208,"./sq":27408,"./sq.js":27408,"./sr":10656,"./sr-cyrl":1128,"./sr-cyrl.js":1128,"./sr.js":10656,"./ss":10864,"./ss.js":10864,"./sv":16900,"./sv.js":16900,"./sw":81636,"./sw.js":81636,"./ta":24180,"./ta.js":24180,"./te":97008,"./te.js":97008,"./tet":50744,"./tet.js":50744,"./tg":58084,"./tg.js":58084,"./th":81672,"./th.js":81672,"./tk":57232,"./tk.js":57232,"./tl-ph":89480,"./tl-ph.js":89480,"./tlh":58512,"./tlh.js":58512,"./tr":56020,"./tr.js":56020,"./tzl":36240,"./tzl.js":36240,"./tzm":33064,"./tzm-latn":53384,"./tzm-latn.js":53384,"./tzm.js":33064,"./ug-cn":45852,"./ug-cn.js":45852,"./uk":12480,"./uk.js":12480,"./ur":63877,"./ur.js":63877,"./uz":91712,"./uz-latn":20108,"./uz-latn.js":20108,"./uz.js":91712,"./vi":9984,"./vi.js":9984,"./x-pseudo":45708,"./x-pseudo.js":45708,"./yo":78476,"./yo.js":78476,"./zh-cn":3676,"./zh-cn.js":3676,"./zh-hk":49880,"./zh-hk.js":49880,"./zh-mo":41968,"./zh-mo.js":41968,"./zh-tw":33632,"./zh-tw.js":33632};function i(a){var c=d(a);return o(c)}function d(a){if(!o.o(n,a)){var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}return n[a]}i.keys=function(){return Object.keys(n)},i.resolve=d,ve.exports=i,i.id=92348},22892:()=>{},45344:()=>{},10440:()=>{},22224:()=>{},65724:()=>{},8160:()=>{},1196:ve=>{function h(n,i,d,a,c,e,u){try{var l=n[e](u),g=l.value}catch(v){return void d(v)}l.done?i(g):Promise.resolve(g).then(a,c)}ve.exports=function o(n){return function(){var i=this,d=arguments;return new Promise(function(a,c){var e=n.apply(i,d);function u(g){h(e,a,c,u,l,"next",g)}function l(g){h(e,a,c,u,l,"throw",g)}u(void 0)})}},ve.exports.__esModule=!0,ve.exports.default=ve.exports},91368:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{APP_BASE_HREF:()=>f,AsyncPipe:()=>Yt,BrowserPlatformLocation:()=>v,CommonModule:()=>go,CurrencyPipe:()=>Xr,DATE_PIPE_DEFAULT_OPTIONS:()=>lo,DATE_PIPE_DEFAULT_TIMEZONE:()=>ut,DOCUMENT:()=>u,DatePipe:()=>vi,DecimalPipe:()=>ti,FormStyle:()=>k,FormatWidth:()=>x,HashLocationStrategy:()=>S,I18nPluralPipe:()=>wn,I18nSelectPipe:()=>$n,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Zi,JsonPipe:()=>si,KeyValuePipe:()=>ai,LOCATION_INITIALIZED:()=>g,Location:()=>M,LocationStrategy:()=>_,LowerCasePipe:()=>Ln,NgClass:()=>an,NgComponentOutlet:()=>Cn,NgFor:()=>Un,NgForOf:()=>Un,NgForOfContext:()=>Qn,NgIf:()=>Hn,NgIfContext:()=>ur,NgLocaleLocalization:()=>Pr,NgLocalization:()=>or,NgOptimizedImage:()=>gn,NgPlural:()=>Te,NgPluralCase:()=>ot,NgStyle:()=>ht,NgSwitch:()=>z,NgSwitchCase:()=>ae,NgSwitchDefault:()=>He,NgTemplateOutlet:()=>Ct,NumberFormatStyle:()=>T,NumberSymbol:()=>H,PRECONNECT_CHECK_BLOCKLIST:()=>Zo,PathLocationStrategy:()=>y,PercentPipe:()=>Zr,PlatformLocation:()=>l,Plural:()=>I,SlicePipe:()=>Yi,TitleCasePipe:()=>cr,TranslationWidth:()=>N,UpperCasePipe:()=>Nr,VERSION:()=>qr,ViewportScroller:()=>ar,WeekDay:()=>G,XhrFactory:()=>Eo,formatCurrency:()=>pr,formatDate:()=>Fe,formatNumber:()=>qn,formatPercent:()=>Xn,getCurrencySymbol:()=>bt,getLocaleCurrencyCode:()=>Ae,getLocaleCurrencyName:()=>Re,getLocaleCurrencySymbol:()=>Oe,getLocaleDateFormat:()=>W,getLocaleDateTimeFormat:()=>q,getLocaleDayNames:()=>se,getLocaleDayPeriods:()=>ce,getLocaleDirection:()=>De,getLocaleEraNames:()=>Z,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>et,getLocaleFirstDayOfWeek:()=>re,getLocaleId:()=>te,getLocaleMonthNames:()=>K,getLocaleNumberFormat:()=>_e,getLocaleNumberSymbol:()=>he,getLocalePluralCase:()=>Ne,getLocaleTimeFormat:()=>Y,getLocaleWeekEndRange:()=>X,getNumberOfCurrencyDigits:()=>Ut,isPlatformBrowser:()=>Rr,isPlatformServer:()=>mo,isPlatformWorkerApp:()=>_i,isPlatformWorkerUi:()=>xi,provideCloudflareLoader:()=>Co,provideCloudinaryLoader:()=>ns,provideImageKitLoader:()=>cs,provideImgixLoader:()=>hs,provideNetlifyLoader:()=>dt,registerLocaleData:()=>ct,\u0275DomAdapter:()=>c,\u0275NullViewportScroller:()=>yi,\u0275PLATFORM_BROWSER_ID:()=>Jr,\u0275PLATFORM_SERVER_ID:()=>Wi,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>ro,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>d,\u0275normalizeQueryParams:()=>b,\u0275parseCookieValue:()=>Tt,\u0275setRootDomAdapter:()=>a});var n=o(54496);let i=null;function d(){return i}function a(J){i??=J}class c{}let e=(()=>{class J{static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>window.navigation,providedIn:"platform"})}return J})();const u=new n.InjectionToken("");let l=(()=>{class J{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(v),providedIn:"platform"})}return J})();const g=new n.InjectionToken("");let v=(()=>{class J extends l{constructor(){super(),this._doc=(0,n.inject)(u),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Se){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("popstate",Se,!1),()=>Ue.removeEventListener("popstate",Se)}onHashChange(Se){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("hashchange",Se,!1),()=>Ue.removeEventListener("hashchange",Se)}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(Se){this._location.pathname=Se}pushState(Se,Ue,_t){this._history.pushState(Se,Ue,_t)}replaceState(Se,Ue,_t){this._history.replaceState(Se,Ue,_t)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Se=0){this._history.go(Se)}getState(){return this._history.state}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>new J,providedIn:"platform"})}return J})();function p(J,We){if(0==J.length)return We;if(0==We.length)return J;let Se=0;return J.endsWith("/")&&Se++,We.startsWith("/")&&Se++,2==Se?J+We.substring(1):1==Se?J+We:J+"/"+We}function C(J){const We=J.match(/#|\?|$/),Se=We&&We.index||J.length;return J.slice(0,Se-("/"===J[Se-1]?1:0))+J.slice(Se)}function b(J){return J&&"?"!==J[0]?"?"+J:J}let _=(()=>{class J{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(y),providedIn:"root"})}return J})();const f=new n.InjectionToken("");let y=(()=>{class J extends _{constructor(Se,Ue){super(),this._platformLocation=Se,this._removeListenerFns=[],this._baseHref=Ue??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(u).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}prepareExternalUrl(Se){return p(this._baseHref,Se)}path(Se=!1){const Ue=this._platformLocation.pathname+b(this._platformLocation.search),_t=this._platformLocation.hash;return _t&&Se?`${Ue}${_t}`:Ue}pushState(Se,Ue,_t,$t){const tn=this.prepareExternalUrl(_t+b($t));this._platformLocation.pushState(Se,Ue,tn)}replaceState(Se,Ue,_t,$t){const tn=this.prepareExternalUrl(_t+b($t));this._platformLocation.replaceState(Se,Ue,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),S=(()=>{class J extends _{constructor(Se,Ue){super(),this._platformLocation=Se,this._baseHref="",this._removeListenerFns=[],null!=Ue&&(this._baseHref=Ue)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}path(Se=!1){const Ue=this._platformLocation.hash??"#";return Ue.length>0?Ue.substring(1):Ue}prepareExternalUrl(Se){const Ue=p(this._baseHref,Se);return Ue.length>0?"#"+Ue:Ue}pushState(Se,Ue,_t,$t){let tn=this.prepareExternalUrl(_t+b($t));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.pushState(Se,Ue,tn)}replaceState(Se,Ue,_t,$t){let tn=this.prepareExternalUrl(_t+b($t));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.replaceState(Se,Ue,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(l),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})(),M=(()=>{class J{constructor(Se){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Se;const Ue=this._locationStrategy.getBaseHref();this._basePath=function F(J){if(new RegExp("^(https?:)?//").test(J)){const[,Se]=J.split(/\/\/[^\/]+/);return Se}return J}(C(O(Ue))),this._locationStrategy.onPopState(_t=>{this._subject.emit({url:this.path(!0),pop:!0,state:_t.state,type:_t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Se=!1){return this.normalize(this._locationStrategy.path(Se))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Se,Ue=""){return this.path()==this.normalize(Se+b(Ue))}normalize(Se){return J.stripTrailingSlash(function A(J,We){if(!J||!We.startsWith(J))return We;const Se=We.substring(J.length);return""===Se||["/",";","?","#"].includes(Se[0])?Se:We}(this._basePath,O(Se)))}prepareExternalUrl(Se){return Se&&"/"!==Se[0]&&(Se="/"+Se),this._locationStrategy.prepareExternalUrl(Se)}go(Se,Ue="",_t=null){this._locationStrategy.pushState(_t,"",Se,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+b(Ue)),_t)}replaceState(Se,Ue="",_t=null){this._locationStrategy.replaceState(_t,"",Se,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+b(Ue)),_t)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Se=0){this._locationStrategy.historyGo?.(Se)}onUrlChange(Se){return this._urlChangeListeners.push(Se),this._urlChangeSubscription??=this.subscribe(Ue=>{this._notifyUrlChangeListeners(Ue.url,Ue.state)}),()=>{const Ue=this._urlChangeListeners.indexOf(Se);this._urlChangeListeners.splice(Ue,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Se="",Ue){this._urlChangeListeners.forEach(_t=>_t(Se,Ue))}subscribe(Se,Ue,_t){return this._subject.subscribe({next:Se,error:Ue,complete:_t})}static#e=this.normalizeQueryParams=b;static#t=this.joinWithSlash=p;static#n=this.stripTrailingSlash=C;static#r=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(_))};static#o=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>function w(){return new M((0,n.\u0275\u0275inject)(_))}(),providedIn:"root"})}return J})();function O(J){return J.replace(/\/index.html$/,"")}const j={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=function(J){return J[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J}(T||{}),I=function(J){return J[J.Zero=0]="Zero",J[J.One=1]="One",J[J.Two=2]="Two",J[J.Few=3]="Few",J[J.Many=4]="Many",J[J.Other=5]="Other",J}(I||{}),k=function(J){return J[J.Format=0]="Format",J[J.Standalone=1]="Standalone",J}(k||{}),N=function(J){return J[J.Narrow=0]="Narrow",J[J.Abbreviated=1]="Abbreviated",J[J.Wide=2]="Wide",J[J.Short=3]="Short",J}(N||{}),x=function(J){return J[J.Short=0]="Short",J[J.Medium=1]="Medium",J[J.Long=2]="Long",J[J.Full=3]="Full",J}(x||{}),H=function(J){return J[J.Decimal=0]="Decimal",J[J.Group=1]="Group",J[J.List=2]="List",J[J.PercentSign=3]="PercentSign",J[J.PlusSign=4]="PlusSign",J[J.MinusSign=5]="MinusSign",J[J.Exponential=6]="Exponential",J[J.SuperscriptingExponent=7]="SuperscriptingExponent",J[J.PerMille=8]="PerMille",J[J.Infinity=9]="Infinity",J[J.NaN=10]="NaN",J[J.TimeSeparator=11]="TimeSeparator",J[J.CurrencyDecimal=12]="CurrencyDecimal",J[J.CurrencyGroup=13]="CurrencyGroup",J}(H||{}),G=function(J){return J[J.Sunday=0]="Sunday",J[J.Monday=1]="Monday",J[J.Tuesday=2]="Tuesday",J[J.Wednesday=3]="Wednesday",J[J.Thursday=4]="Thursday",J[J.Friday=5]="Friday",J[J.Saturday=6]="Saturday",J}(G||{});function te(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.LocaleId]}function ce(J,We,Se){const Ue=(0,n.\u0275findLocaleData)(J),$t=je([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],We);return je($t,Se)}function se(J,We,Se){const Ue=(0,n.\u0275findLocaleData)(J),$t=je([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],We);return je($t,Se)}function K(J,We,Se){const Ue=(0,n.\u0275findLocaleData)(J),$t=je([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],We);return je($t,Se)}function Z(J,We){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Eras],We)}function re(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function X(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.WeekendRange]}function W(J,We){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateFormat],We)}function Y(J,We){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.TimeFormat],We)}function q(J,We){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateTimeFormat],We)}function he(J,We){const Se=(0,n.\u0275findLocaleData)(J),Ue=Se[n.\u0275LocaleDataIndex.NumberSymbols][We];if(typeof Ue>"u"){if(We===H.CurrencyDecimal)return Se[n.\u0275LocaleDataIndex.NumberSymbols][H.Decimal];if(We===H.CurrencyGroup)return Se[n.\u0275LocaleDataIndex.NumberSymbols][H.Group]}return Ue}function _e(J,We){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.NumberFormats][We]}function Oe(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Re(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencyName]||null}function Ae(J){return(0,n.\u0275getLocaleCurrencyCode)(J)}const Ne=n.\u0275getLocalePluralCase;function it(J){if(!J[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${J[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(J){const We=(0,n.\u0275findLocaleData)(J);return it(We),(We[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?Pe(Ue):[Pe(Ue[0]),Pe(Ue[1])])}function et(J,We,Se){const Ue=(0,n.\u0275findLocaleData)(J);it(Ue);const $t=je([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],We)||[];return je($t,Se)||[]}function De(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Directionality]}function je(J,We){for(let Se=We;Se>-1;Se--)if(typeof J[Se]<"u")return J[Se];throw new Error("Locale data API: locale data undefined")}function Pe(J){const[We,Se]=J.split(":");return{hours:+We,minutes:+Se}}function bt(J,We,Se="en"){const Ue=function ge(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Currencies]}(Se)[J]||j[J]||[],_t=Ue[1];return"narrow"===We&&"string"==typeof _t?_t:Ue[0]||J}const Qe=2;function Ut(J){let We;const Se=j[J];return Se&&(We=Se[2]),"number"==typeof We?We:Qe}const sn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,un={},Sn=/((?:[^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]*)/;var bn=function(J){return J[J.Short=0]="Short",J[J.ShortGMT=1]="ShortGMT",J[J.Long=2]="Long",J[J.Extended=3]="Extended",J}(bn||{}),kt=function(J){return J[J.FullYear=0]="FullYear",J[J.Month=1]="Month",J[J.Date=2]="Date",J[J.Hours=3]="Hours",J[J.Minutes=4]="Minutes",J[J.Seconds=5]="Seconds",J[J.FractionalSeconds=6]="FractionalSeconds",J[J.Day=7]="Day",J}(kt||{}),jt=function(J){return J[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J}(jt||{});function Fe(J,We,Se,Ue){let _t=function _n(J){if(qt(J))return J;if("number"==typeof J&&!isNaN(J))return new Date(J);if("string"==typeof J){if(J=J.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(J)){const[_t,$t=1,tn=1]=J.split("-").map(Dn=>+Dn);return Ee(_t,$t-1,tn)}const Se=parseFloat(J);if(!isNaN(J-Se))return new Date(Se);let Ue;if(Ue=J.match(sn))return function En(J){const We=new Date(0);let Se=0,Ue=0;const _t=J[8]?We.setUTCFullYear:We.setFullYear,$t=J[8]?We.setUTCHours:We.setHours;J[9]&&(Se=Number(J[9]+J[10]),Ue=Number(J[9]+J[11])),_t.call(We,Number(J[1]),Number(J[2])-1,Number(J[3]));const tn=Number(J[4]||0)-Se,Dn=Number(J[5]||0)-Ue,gr=Number(J[6]||0),yr=Math.floor(1e3*parseFloat("0."+(J[7]||0)));return $t.call(We,tn,Dn,gr,yr),We}(Ue)}const We=new Date(J);if(!qt(We))throw new Error(`Unable to convert "${J}" into a date`);return We}(J);We=ye(Se,We)||We;let Dn,tn=[];for(;We;){if(Dn=Sn.exec(We),!Dn){tn.push(We);break}{tn=tn.concat(Dn.slice(1));const $r=tn.pop();if(!$r)break;We=$r}}let gr=_t.getTimezoneOffset();Ue&&(gr=mt(Ue,gr),_t=function Xt(J,We,Se){const Ue=Se?-1:1,_t=J.getTimezoneOffset();return function Et(J,We){return(J=new Date(J.getTime())).setMinutes(J.getMinutes()+We),J}(J,Ue*(mt(We,_t)-_t))}(_t,Ue,!0));let yr="";return tn.forEach($r=>{const Cr=function Gt(J){if(Mt[J])return Mt[J];let We;switch(J){case"G":case"GG":case"GGG":We=Zt(jt.Eras,N.Abbreviated);break;case"GGGG":We=Zt(jt.Eras,N.Wide);break;case"GGGGG":We=Zt(jt.Eras,N.Narrow);break;case"y":We=vt(kt.FullYear,1,0,!1,!0);break;case"yy":We=vt(kt.FullYear,2,0,!0,!0);break;case"yyy":We=vt(kt.FullYear,3,0,!1,!0);break;case"yyyy":We=vt(kt.FullYear,4,0,!1,!0);break;case"Y":We=kn(1);break;case"YY":We=kn(2,!0);break;case"YYY":We=kn(3);break;case"YYYY":We=kn(4);break;case"M":case"L":We=vt(kt.Month,1,1);break;case"MM":case"LL":We=vt(kt.Month,2,1);break;case"MMM":We=Zt(jt.Months,N.Abbreviated);break;case"MMMM":We=Zt(jt.Months,N.Wide);break;case"MMMMM":We=Zt(jt.Months,N.Narrow);break;case"LLL":We=Zt(jt.Months,N.Abbreviated,k.Standalone);break;case"LLLL":We=Zt(jt.Months,N.Wide,k.Standalone);break;case"LLLLL":We=Zt(jt.Months,N.Narrow,k.Standalone);break;case"w":We=er(1);break;case"ww":We=er(2);break;case"W":We=er(1,!0);break;case"d":We=vt(kt.Date,1);break;case"dd":We=vt(kt.Date,2);break;case"c":case"cc":We=vt(kt.Day,1);break;case"ccc":We=Zt(jt.Days,N.Abbreviated,k.Standalone);break;case"cccc":We=Zt(jt.Days,N.Wide,k.Standalone);break;case"ccccc":We=Zt(jt.Days,N.Narrow,k.Standalone);break;case"cccccc":We=Zt(jt.Days,N.Short,k.Standalone);break;case"E":case"EE":case"EEE":We=Zt(jt.Days,N.Abbreviated);break;case"EEEE":We=Zt(jt.Days,N.Wide);break;case"EEEEE":We=Zt(jt.Days,N.Narrow);break;case"EEEEEE":We=Zt(jt.Days,N.Short);break;case"a":case"aa":case"aaa":We=Zt(jt.DayPeriods,N.Abbreviated);break;case"aaaa":We=Zt(jt.DayPeriods,N.Wide);break;case"aaaaa":We=Zt(jt.DayPeriods,N.Narrow);break;case"b":case"bb":case"bbb":We=Zt(jt.DayPeriods,N.Abbreviated,k.Standalone,!0);break;case"bbbb":We=Zt(jt.DayPeriods,N.Wide,k.Standalone,!0);break;case"bbbbb":We=Zt(jt.DayPeriods,N.Narrow,k.Standalone,!0);break;case"B":case"BB":case"BBB":We=Zt(jt.DayPeriods,N.Abbreviated,k.Format,!0);break;case"BBBB":We=Zt(jt.DayPeriods,N.Wide,k.Format,!0);break;case"BBBBB":We=Zt(jt.DayPeriods,N.Narrow,k.Format,!0);break;case"h":We=vt(kt.Hours,1,-12);break;case"hh":We=vt(kt.Hours,2,-12);break;case"H":We=vt(kt.Hours,1);break;case"HH":We=vt(kt.Hours,2);break;case"m":We=vt(kt.Minutes,1);break;case"mm":We=vt(kt.Minutes,2);break;case"s":We=vt(kt.Seconds,1);break;case"ss":We=vt(kt.Seconds,2);break;case"S":We=vt(kt.FractionalSeconds,1);break;case"SS":We=vt(kt.FractionalSeconds,2);break;case"SSS":We=vt(kt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":We=Dt(bn.Short);break;case"ZZZZZ":We=Dt(bn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":We=Dt(bn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":We=Dt(bn.Long);break;default:return null}return Mt[J]=We,We}($r);yr+=Cr?Cr(_t,Se,gr):"''"===$r?"'":$r.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),yr}function Ee(J,We,Se){const Ue=new Date(0);return Ue.setFullYear(J,We,Se),Ue.setHours(0,0,0),Ue}function ye(J,We){const Se=te(J);if(un[Se]??={},un[Se][We])return un[Se][We];let Ue="";switch(We){case"shortDate":Ue=W(J,x.Short);break;case"mediumDate":Ue=W(J,x.Medium);break;case"longDate":Ue=W(J,x.Long);break;case"fullDate":Ue=W(J,x.Full);break;case"shortTime":Ue=Y(J,x.Short);break;case"mediumTime":Ue=Y(J,x.Medium);break;case"longTime":Ue=Y(J,x.Long);break;case"fullTime":Ue=Y(J,x.Full);break;case"short":const _t=ye(J,"shortTime"),$t=ye(J,"shortDate");Ue=Ce(q(J,x.Short),[_t,$t]);break;case"medium":const tn=ye(J,"mediumTime"),Dn=ye(J,"mediumDate");Ue=Ce(q(J,x.Medium),[tn,Dn]);break;case"long":const gr=ye(J,"longTime"),yr=ye(J,"longDate");Ue=Ce(q(J,x.Long),[gr,yr]);break;case"full":const $r=ye(J,"fullTime"),Cr=ye(J,"fullDate");Ue=Ce(q(J,x.Full),[$r,Cr])}return Ue&&(un[Se][We]=Ue),Ue}function Ce(J,We){return We&&(J=J.replace(/\{([^}]+)}/g,function(Se,Ue){return null!=We&&Ue in We?We[Ue]:Se})),J}function Ge(J,We,Se="-",Ue,_t){let $t="";(J<0||_t&&J<=0)&&(_t?J=1-J:(J=-J,$t=Se));let tn=String(J);for(;tn.length0||Dn>-Se)&&(Dn+=Se),J===kt.Hours)0===Dn&&-12===Se&&(Dn=12);else if(J===kt.FractionalSeconds)return function Je(J,We){return Ge(J,3).substring(0,We)}(Dn,We);const gr=he(tn,H.MinusSign);return Ge(Dn,We,gr,Ue,_t)}}function Zt(J,We,Se=k.Format,Ue=!1){return function(_t,$t){return function Rt(J,We,Se,Ue,_t,$t){switch(Se){case jt.Months:return K(We,_t,Ue)[J.getMonth()];case jt.Days:return se(We,_t,Ue)[J.getDay()];case jt.DayPeriods:const tn=J.getHours(),Dn=J.getMinutes();if($t){const yr=qe(We),$r=et(We,_t,Ue),Cr=yr.findIndex(Qr=>{if(Array.isArray(Qr)){const[Hr,Ri]=Qr,eo=tn>=Hr.hours&&Dn>=Hr.minutes,Vo=tn0?Math.floor(_t/60):Math.ceil(_t/60);switch(J){case bn.Short:return(_t>=0?"+":"")+Ge(tn,2,$t)+Ge(Math.abs(_t%60),2,$t);case bn.ShortGMT:return"GMT"+(_t>=0?"+":"")+Ge(tn,1,$t);case bn.Long:return"GMT"+(_t>=0?"+":"")+Ge(tn,2,$t)+":"+Ge(Math.abs(_t%60),2,$t);case bn.Extended:return 0===Ue?"Z":(_t>=0?"+":"")+Ge(tn,2,$t)+":"+Ge(Math.abs(_t%60),2,$t);default:throw new Error(`Unknown zone width "${J}"`)}}}const Ot=0,pn=4;function Yn(J){const We=J.getDay(),Se=0===We?-3:pn-We;return Ee(J.getFullYear(),J.getMonth(),J.getDate()+Se)}function er(J,We=!1){return function(Se,Ue){let _t;if(We){const $t=new Date(Se.getFullYear(),Se.getMonth(),1).getDay()-1,tn=Se.getDate();_t=1+Math.floor((tn+$t)/7)}else{const $t=Yn(Se),tn=function Vn(J){const We=Ee(J,Ot,1).getDay();return Ee(J,0,1+(We<=pn?pn:pn+7)-We)}($t.getFullYear()),Dn=$t.getTime()-tn.getTime();_t=1+Math.round(Dn/6048e5)}return Ge(_t,J,he(Ue,H.MinusSign))}}function kn(J,We=!1){return function(Se,Ue){return Ge(Yn(Se).getFullYear(),J,he(Ue,H.MinusSign),We)}}const Mt={};function mt(J,We){J=J.replace(/:/g,"");const Se=Date.parse("Jan 01, 1970 00:00:00 "+J)/6e4;return isNaN(Se)?We:Se}function qt(J){return J instanceof Date&&!isNaN(J.valueOf())}const nr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kr=22,Br=".",sr="0",Mr=";",br=",",Jn="#",xn="\xa4",oi="%";function Sr(J,We,Se,Ue,_t,$t,tn=!1){let Dn="",gr=!1;if(isFinite(J)){let yr=function Qt(J){let Ue,_t,$t,tn,Dn,We=Math.abs(J)+"",Se=0;for((_t=We.indexOf(Br))>-1&&(We=We.replace(Br,"")),($t=We.search(/e/i))>0?(_t<0&&(_t=$t),_t+=+We.slice($t+1),We=We.substring(0,$t)):_t<0&&(_t=We.length),$t=0;We.charAt($t)===sr;$t++);if($t===(Dn=We.length))Ue=[0],_t=1;else{for(Dn--;We.charAt(Dn)===sr;)Dn--;for(_t-=$t,Ue=[],tn=0;$t<=Dn;$t++,tn++)Ue[tn]=Number(We.charAt($t))}return _t>kr&&(Ue=Ue.splice(0,kr-1),Se=_t-1,_t=1),{digits:Ue,exponent:Se,integerLen:_t}}(J);tn&&(yr=function pi(J){if(0===J.digits[0])return J;const We=J.digits.length-J.integerLen;return J.exponent?J.exponent+=2:(0===We?J.digits.push(0,0):1===We&&J.digits.push(0),J.integerLen+=2),J}(yr));let $r=We.minInt,Cr=We.minFrac,Qr=We.maxFrac;if($t){const fo=$t.match(nr);if(null===fo)throw new Error(`${$t} is not a valid digit info`);const so=fo[1],Yo=fo[3],hi=fo[5];null!=so&&($r=Kn(so)),null!=Yo&&(Cr=Kn(Yo)),null!=hi?Qr=Kn(hi):null!=Yo&&Cr>Qr&&(Qr=Cr)}!function Rn(J,We,Se){if(We>Se)throw new Error(`The minimum number of digits after fraction (${We}) is higher than the maximum (${Se}).`);let Ue=J.digits,_t=Ue.length-J.integerLen;const $t=Math.min(Math.max(We,_t),Se);let tn=$t+J.integerLen,Dn=Ue[tn];if(tn>0){Ue.splice(Math.max(J.integerLen,tn));for(let Cr=tn;Cr=5)if(tn-1<0){for(let Cr=0;Cr>tn;Cr--)Ue.unshift(0),J.integerLen++;Ue.unshift(1),J.integerLen++}else Ue[tn-1]++;for(;_t=yr?Ri.pop():gr=!1),Qr>=10?1:0},0);$r&&(Ue.unshift($r),J.integerLen++)}(yr,Cr,Qr);let Hr=yr.digits,Ri=yr.integerLen;const eo=yr.exponent;let Vo=[];for(gr=Hr.every(fo=>!fo);Ri<$r;Ri++)Hr.unshift(0);for(;Ri<0;Ri++)Hr.unshift(0);Ri>0?Vo=Hr.splice(Ri,Hr.length):(Vo=Hr,Hr=[0]);const gs=[];for(Hr.length>=We.lgSize&&gs.unshift(Hr.splice(-We.lgSize,Hr.length).join(""));Hr.length>We.gSize;)gs.unshift(Hr.splice(-We.gSize,Hr.length).join(""));Hr.length&&gs.unshift(Hr.join("")),Dn=gs.join(he(Se,Ue)),Vo.length&&(Dn+=he(Se,_t)+Vo.join("")),eo&&(Dn+=he(Se,H.Exponential)+"+"+eo)}else Dn=he(Se,H.Infinity);return Dn=J<0&&!gr?We.negPre+Dn+We.negSuf:We.posPre+Dn+We.posSuf,Dn}function pr(J,We,Se,Ue,_t){const tn=Or(_e(We,T.Currency),he(We,H.MinusSign));return tn.minFrac=Ut(Ue),tn.maxFrac=tn.minFrac,Sr(J,tn,We,H.CurrencyGroup,H.CurrencyDecimal,_t).replace(xn,Se).replace(xn,"").trim()}function Xn(J,We,Se){return Sr(J,Or(_e(We,T.Percent),he(We,H.MinusSign)),We,H.Group,H.Decimal,Se,!0).replace(new RegExp(oi,"g"),he(We,H.PercentSign))}function qn(J,We,Se){return Sr(J,Or(_e(We,T.Decimal),he(We,H.MinusSign)),We,H.Group,H.Decimal,Se)}function Or(J,We="-"){const Se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ue=J.split(Mr),_t=Ue[0],$t=Ue[1],tn=-1!==_t.indexOf(Br)?_t.split(Br):[_t.substring(0,_t.lastIndexOf(sr)+1),_t.substring(_t.lastIndexOf(sr)+1)],Dn=tn[0],gr=tn[1]||"";Se.posPre=Dn.substring(0,Dn.indexOf(Jn));for(let $r=0;$r{class J{static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:function(Ue){let _t=null;return Ue?_t=new Ue:($t=n.\u0275\u0275inject(n.LOCALE_ID),_t=new Pr($t)),_t;var $t},providedIn:"root"})}return J})();function ui(J,We,Se,Ue){let _t=`=${J}`;if(We.indexOf(_t)>-1||(_t=Se.getPluralCategory(J,Ue),We.indexOf(_t)>-1))return _t;if(We.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${J}"`)}let Pr=(()=>{class J extends or{constructor(Se){super(),this.locale=Se}getPluralCategory(Se,Ue){switch(Ne(Ue||this.locale)(Se)){case I.Zero:return"zero";case I.One:return"one";case I.Two:return"two";case I.Few:return"few";case I.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})();function ct(J,We,Se){return(0,n.\u0275registerLocaleData)(J,We,Se)}function Tt(J,We){We=encodeURIComponent(We);for(const Se of J.split(";")){const Ue=Se.indexOf("="),[_t,$t]=-1==Ue?[Se,""]:[Se.slice(0,Ue),Se.slice(Ue+1)];if(_t.trim()===We)return decodeURIComponent($t)}return null}const St=/\s+/,Jt=[];let an=(()=>{class J{constructor(Se,Ue){this._ngEl=Se,this._renderer=Ue,this.initialClasses=Jt,this.stateMap=new Map}set klass(Se){this.initialClasses=null!=Se?Se.trim().split(St):Jt}set ngClass(Se){this.rawClass="string"==typeof Se?Se.trim().split(St):Se}ngDoCheck(){for(const Ue of this.initialClasses)this._updateState(Ue,!0);const Se=this.rawClass;if(Array.isArray(Se)||Se instanceof Set)for(const Ue of Se)this._updateState(Ue,!0);else if(null!=Se)for(const Ue of Object.keys(Se))this._updateState(Ue,!!Se[Ue]);this._applyStateDiff()}_updateState(Se,Ue){const _t=this.stateMap.get(Se);void 0!==_t?(_t.enabled!==Ue&&(_t.changed=!0,_t.enabled=Ue),_t.touched=!0):this.stateMap.set(Se,{enabled:Ue,changed:!0,touched:!0})}_applyStateDiff(){for(const Se of this.stateMap){const Ue=Se[0],_t=Se[1];_t.changed?(this._toggleClass(Ue,_t.enabled),_t.changed=!1):_t.touched||(_t.enabled&&this._toggleClass(Ue,!1),this.stateMap.delete(Ue)),_t.touched=!1}}_toggleClass(Se,Ue){(Se=Se.trim()).length>0&&Se.split(St).forEach(_t=>{Ue?this._renderer.addClass(this._ngEl.nativeElement,_t):this._renderer.removeClass(this._ngEl.nativeElement,_t)})}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return J})(),Cn=(()=>{class J{constructor(Se){this._viewContainerRef=Se,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Se){return void 0!==Se.ngComponentOutletNgModule||void 0!==Se.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Se){return void 0!==Se.ngComponentOutlet||void 0!==Se.ngComponentOutletContent||void 0!==Se.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Se)}ngOnChanges(Se){if(this._needToReCreateComponentInstance(Se)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Ue=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Se)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,yn(Ue)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(yn(Ue)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Ue,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Se of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Se,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Se){for(const[Ue,_t]of this._inputsUsed)_t?(Se.setInput(Ue,this.ngComponentOutletInputs[Ue]),this._inputsUsed.set(Ue,!1)):(Se.setInput(Ue,void 0),this._inputsUsed.delete(Ue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function yn(J){return J.get(n.NgModuleRef).injector}class Qn{constructor(We,Se,Ue,_t){this.$implicit=We,this.ngForOf=Se,this.index=Ue,this.count=_t}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 Un=(()=>{class J{set ngForOf(Se){this._ngForOf=Se,this._ngForOfDirty=!0}set ngForTrackBy(Se){this._trackByFn=Se}get ngForTrackBy(){return this._trackByFn}constructor(Se,Ue,_t){this._viewContainer=Se,this._template=Ue,this._differs=_t,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Se){Se&&(this._template=Se)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Se=this._ngForOf;!this._differ&&Se&&(this._differ=this._differs.find(Se).create(this.ngForTrackBy))}if(this._differ){const Se=this._differ.diff(this._ngForOf);Se&&this._applyChanges(Se)}}_applyChanges(Se){const Ue=this._viewContainer;Se.forEachOperation((_t,$t,tn)=>{if(null==_t.previousIndex)Ue.createEmbeddedView(this._template,new Qn(_t.item,this._ngForOf,-1,-1),null===tn?void 0:tn);else if(null==tn)Ue.remove(null===$t?void 0:$t);else if(null!==$t){const Dn=Ue.get($t);Ue.move(Dn,tn),Tr(Dn,_t)}});for(let _t=0,$t=Ue.length;_t<$t;_t++){const Dn=Ue.get(_t).context;Dn.index=_t,Dn.count=$t,Dn.ngForOf=this._ngForOf}Se.forEachIdentityChange(_t=>{Tr(Ue.get(_t.currentIndex),_t)})}static ngTemplateContextGuard(Se,Ue){return!0}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return J})();function Tr(J,We){J.context.$implicit=We.item}let Hn=(()=>{class J{constructor(Se,Ue){this._viewContainer=Se,this._context=new ur,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ue}set ngIf(Se){this._context.$implicit=this._context.ngIf=Se,this._updateView()}set ngIfThen(Se){Ei("ngIfThen",Se),this._thenTemplateRef=Se,this._thenViewRef=null,this._updateView()}set ngIfElse(Se){Ei("ngIfElse",Se),this._elseTemplateRef=Se,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 ngTemplateContextGuard(Se,Ue){return!0}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return J})();class ur{constructor(){this.$implicit=null,this.ngIf=null}}function Ei(J,We){if(We&&!We.createEmbeddedView)throw new Error(`${J} must be a TemplateRef, but received '${(0,n.\u0275stringify)(We)}'.`)}class U{constructor(We,Se){this._viewContainerRef=We,this._templateRef=Se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(We){We&&!this._created?this.create():!We&&this._created&&this.destroy()}}let z=(()=>{class J{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Se){this._ngSwitch=Se,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Se){this._defaultViews.push(Se)}_matchCase(Se){const Ue=Se===this._ngSwitch;return this._lastCasesMatched||=Ue,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ue}_updateDefaultCases(Se){if(this._defaultViews.length>0&&Se!==this._defaultUsed){this._defaultUsed=Se;for(const Ue of this._defaultViews)Ue.enforceState(Se)}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return J})(),ae=(()=>{class J{constructor(Se,Ue,_t){this.ngSwitch=_t,_t._addCase(),this._view=new U(Se,Ue)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return J})(),He=(()=>{class J{constructor(Se,Ue,_t){_t._addDefault(new U(Se,Ue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(z,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return J})(),Te=(()=>{class J{constructor(Se){this._localization=Se,this._caseViews={}}set ngPlural(Se){this._updateView(Se)}addCase(Se,Ue){this._caseViews[Se]=Ue}_updateView(Se){this._clearViews();const _t=ui(Se,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[_t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Se){Se&&(this._activeView=Se,this._activeView.create())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(or))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return J})(),ot=(()=>{class J{constructor(Se,Ue,_t,$t){this.value=Se;const tn=!isNaN(Number(Se));$t.addCase(tn?`=${Se}`:Se,new U(_t,Ue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Te,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPluralCase",""]],standalone:!0})}return J})(),ht=(()=>{class J{constructor(Se,Ue,_t){this._ngEl=Se,this._differs=Ue,this._renderer=_t,this._ngStyle=null,this._differ=null}set ngStyle(Se){this._ngStyle=Se,!this._differ&&Se&&(this._differ=this._differs.find(Se).create())}ngDoCheck(){if(this._differ){const Se=this._differ.diff(this._ngStyle);Se&&this._applyChanges(Se)}}_setStyle(Se,Ue){const[_t,$t]=Se.split("."),tn=-1===_t.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,_t,$t?`${Ue}${$t}`:Ue,tn):this._renderer.removeStyle(this._ngEl.nativeElement,_t,tn)}_applyChanges(Se){Se.forEachRemovedItem(Ue=>this._setStyle(Ue.key,null)),Se.forEachAddedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue)),Se.forEachChangedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return J})(),Ct=(()=>{class J{constructor(Se){this._viewContainerRef=Se,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Se){if(this._shouldRecreateView(Se)){const Ue=this._viewContainerRef;if(this._viewRef&&Ue.remove(Ue.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const _t=this._createContextForwardProxy();this._viewRef=Ue.createEmbeddedView(this.ngTemplateOutlet,_t,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Se){return!!Se.ngTemplateOutlet||!!Se.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Se,Ue,_t)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ue,_t),get:(Se,Ue,_t)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ue,_t)}})}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Kt(J,We){return new n.\u0275RuntimeError(2100,!1)}class dn{createSubscription(We,Se){return(0,n.untracked)(()=>We.subscribe({next:Se,error:Ue=>{throw Ue}}))}dispose(We){(0,n.untracked)(()=>We.unsubscribe())}}class fn{createSubscription(We,Se){return We.then(Se,Ue=>{throw Ue})}dispose(We){}}const mn=new fn,ln=new dn;let Yt=(()=>{class J{constructor(Se){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Se}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Se){if(!this._obj){if(Se)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Se)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Se!==this._obj?(this._dispose(),this.transform(Se)):this._latestValue}_subscribe(Se){this._obj=Se,this._strategy=this._selectStrategy(Se),this._subscription=this._strategy.createSubscription(Se,Ue=>this._updateLatestValue(Se,Ue))}_selectStrategy(Se){if((0,n.\u0275isPromise)(Se))return mn;if((0,n.\u0275isSubscribable)(Se))return ln;throw Kt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Se,Ue){Se===this._obj&&(this._latestValue=Ue,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:J,pure:!1,standalone:!0})}return J})(),Ln=(()=>{class J{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Kt();return Se.toLowerCase()}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:J,pure:!0,standalone:!0})}return J})();const lr=/(?:[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\u0EB3\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 cr=(()=>{class J{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Kt();return Se.replace(lr,Ue=>Ue[0].toUpperCase()+Ue.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:J,pure:!0,standalone:!0})}return J})(),Nr=(()=>{class J{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Kt();return Se.toUpperCase()}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:J,pure:!0,standalone:!0})}return J})();const ut=new n.InjectionToken(""),lo=new n.InjectionToken("");let vi=(()=>{class J{constructor(Se,Ue,_t){this.locale=Se,this.defaultTimezone=Ue,this.defaultOptions=_t}transform(Se,Ue,_t,$t){if(null==Se||""===Se||Se!=Se)return null;try{return Fe(Se,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||this.locale,_t??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(tn){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(ut,24),n.\u0275\u0275directiveInject(lo,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:J,pure:!0,standalone:!0})}return J})();const _r=/#/g;let wn=(()=>{class J{constructor(Se){this._localization=Se}transform(Se,Ue,_t){if(null==Se)return"";if("object"!=typeof Ue||null===Ue)throw Kt();return Ue[ui(Se,Object.keys(Ue),this._localization,_t)].replace(_r,Se.toString())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(or,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:J,pure:!0,standalone:!0})}return J})(),$n=(()=>{class J{transform(Se,Ue){if(null==Se)return"";if("object"!=typeof Ue||"string"!=typeof Se)throw Kt();return Ue.hasOwnProperty(Se)?Ue[Se]:Ue.hasOwnProperty("other")?Ue.other:""}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:J,pure:!0,standalone:!0})}return J})(),si=(()=>{class J{transform(Se){return JSON.stringify(Se,null,2)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:J,pure:!1,standalone:!0})}return J})(),ai=(()=>{class J{constructor(Se){this.differs=Se,this.keyValues=[],this.compareFn=On}transform(Se,Ue=On){if(!Se||!(Se instanceof Map)&&"object"!=typeof Se)return null;this.differ??=this.differs.find(Se).create();const _t=this.differ.diff(Se),$t=Ue!==this.compareFn;return _t&&(this.keyValues=[],_t.forEachItem(tn=>{this.keyValues.push(function Ir(J,We){return{key:J,value:We}}(tn.key,tn.currentValue))})),(_t||$t)&&(this.keyValues.sort(Ue),this.compareFn=Ue),this.keyValues}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:J,pure:!1,standalone:!0})}return J})();function On(J,We){const Se=J.key,Ue=We.key;if(Se===Ue)return 0;if(void 0===Se)return 1;if(void 0===Ue)return-1;if(null===Se)return 1;if(null===Ue)return-1;if("string"==typeof Se&&"string"==typeof Ue)return Se{class J{constructor(Se){this._locale=Se}transform(Se,Ue,_t){if(!Vi(Se))return null;_t||=this._locale;try{return qn(hr(Se),_t,Ue)}catch($t){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:J,pure:!0,standalone:!0})}return J})(),Zr=(()=>{class J{constructor(Se){this._locale=Se}transform(Se,Ue,_t){if(!Vi(Se))return null;_t||=this._locale;try{return Xn(hr(Se),_t,Ue)}catch($t){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:J,pure:!0,standalone:!0})}return J})(),Xr=(()=>{class J{constructor(Se,Ue="USD"){this._locale=Se,this._defaultCurrencyCode=Ue}transform(Se,Ue=this._defaultCurrencyCode,_t="symbol",$t,tn){if(!Vi(Se))return null;tn||=this._locale,"boolean"==typeof _t&&(_t=_t?"symbol":"code");let Dn=Ue||this._defaultCurrencyCode;"code"!==_t&&(Dn="symbol"===_t||"symbol-narrow"===_t?bt(Dn,"symbol"===_t?"wide":"narrow",tn):_t);try{return pr(hr(Se),tn,Dn,Ue,$t)}catch(gr){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:J,pure:!0,standalone:!0})}return J})();function Vi(J){return!(null==J||""===J||J!=J)}function hr(J){if("string"==typeof J&&!isNaN(Number(J)-parseFloat(J)))return Number(J);if("number"!=typeof J)throw new Error(`${J} is not a number`);return J}let Yi=(()=>{class J{transform(Se,Ue,_t){if(null==Se)return null;if(!this.supports(Se))throw Kt();return Se.slice(Ue,_t)}supports(Se){return"string"==typeof Se||Array.isArray(Se)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:J,pure:!1,standalone:!0})}return J})(),go=(()=>{class J{static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:J});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return J})();const Jr="browser",Wi="server",qi="browserWorkerApp",ro="browserWorkerUi";function Rr(J){return J===Jr}function mo(J){return J===Wi}function _i(J){return J===qi}function xi(J){return J===ro}const qr=new n.Version("17.2.3");let ar=(()=>{class J{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:J,providedIn:"root",factory:()=>Rr((0,n.inject)(n.PLATFORM_ID))?new yo((0,n.inject)(u),window):new yi})}return J})();class yo{constructor(We,Se){this.document=We,this.window=Se,this.offset=()=>[0,0]}setOffset(We){this.offset=Array.isArray(We)?()=>We:We}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(We){this.window.scrollTo(We[0],We[1])}scrollToAnchor(We){const Se=function wi(J,We){const Se=J.getElementById(We)||J.getElementsByName(We)[0];if(Se)return Se;if("function"==typeof J.createTreeWalker&&J.body&&"function"==typeof J.body.attachShadow){const Ue=J.createTreeWalker(J.body,NodeFilter.SHOW_ELEMENT);let _t=Ue.currentNode;for(;_t;){const $t=_t.shadowRoot;if($t){const tn=$t.getElementById(We)||$t.querySelector(`[name="${We}"]`);if(tn)return tn}_t=Ue.nextNode()}}return null}(this.document,We);Se&&(this.scrollToElement(Se),Se.focus())}setHistoryScrollRestoration(We){this.window.history.scrollRestoration=We}scrollToElement(We){const Se=We.getBoundingClientRect(),Ue=Se.left+this.window.pageXOffset,_t=Se.top+this.window.pageYOffset,$t=this.offset();this.window.scrollTo(Ue-$t[0],_t-$t[1])}}class yi{setOffset(We){}getScrollPosition(){return[0,0]}scrollToPosition(We){}scrollToAnchor(We){}setHistoryScrollRestoration(We){}}class Eo{}function Wr(J){return/^https?:\/\//.test(J)}function Ni(J){if("string"!=typeof J||""===J.trim())return!1;try{return new URL(J),!0}catch{return!1}}function Lo(J){return J.startsWith("/")?J.slice(1):J}const Oi=J=>J.src,Zi=new n.InjectionToken("",{providedIn:"root",factory:()=>Oi});function Li(J,We){return function(Ue){return Ni(Ue)||function Gi(J,We){throw new n.\u0275RuntimeError(2959,!1)}(),Ue=function Gr(J){return J.endsWith("/")?J.slice(0,-1):J}(Ue),[{provide:Zi,useValue:tn=>(Wr(tn.src)&&function $o(J,We){throw new n.\u0275RuntimeError(2959,!1)}(),J(Ue,{...tn,src:Lo(tn.src)}))}]}}const Co=Li(Ro);function Ro(J,We){let Se="format=auto";return We.width&&(Se+=`,width=${We.width}`),`${J}/cdn-cgi/image/${Se}/${We.src}`}const ns=Li(rs);function rs(J,We){let Se="f_auto,q_auto";return We.width&&(Se+=`,w_${We.width}`),`${J}/image/upload/${Se}/${We.src}`}const cs=Li(co);function co(J,We){const{src:Se,width:Ue}=We;let _t;return _t=Ue?[J,`tr:w-${Ue}`,Se]:[J,Se],_t.join("/")}const hs=Li(Qo);function Qo(J,We){const Se=new URL(`${J}/${We.src}`);return Se.searchParams.set("auto","format"),We.width&&Se.searchParams.set("w",We.width.toString()),Se.href}function dt(J){if(J&&!Ni(J))throw new n.\u0275RuntimeError(2959,!1);return J&&(J=new URL(J).origin),[{provide:Zi,useValue:Ue=>function Wn(J,We){const Se=new URL(We??"https://a/");Se.pathname="/.netlify/images",!Wr(J.src)&&!J.src.startsWith("/")&&(J.src="/"+J.src),Se.searchParams.set("url",J.src),J.width&&Se.searchParams.set("w",J.width.toString());for(const[Ue,_t]of Object.entries(J.loaderParams??{}))wt.has(Ue)&&Se.searchParams.set(wt.get(Ue),_t.toString());return"a"===Se.hostname?Se.href.replace(Se.origin,""):Se.href}(Ue,J)}]}const wt=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Zo=new n.InjectionToken(""),xo=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let _o=(()=>{class J{constructor(){this.preloadedImages=(0,n.inject)(xo),this.document=(0,n.inject)(u)}createPreloadLinkTag(Se,Ue,_t,$t){if(this.preloadedImages.has(Ue))return;this.preloadedImages.add(Ue);const tn=Se.createElement("link");Se.setAttribute(tn,"as","image"),Se.setAttribute(tn,"href",Ue),Se.setAttribute(tn,"rel","preload"),Se.setAttribute(tn,"fetchpriority","high"),$t&&Se.setAttribute(tn,"imageSizes",$t),_t&&Se.setAttribute(tn,"imageSrcset",_t),Se.appendChild(this.document.head,tn)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const To=/^((\s*\d+w\s*(,|$)){1,})$/,fs=[1,2];let gn=(()=>{class J{constructor(){this.imageLoader=(0,n.inject)(Zi),this.config=function zn(J){let We={};return J.breakpoints&&(We.breakpoints=J.breakpoints.sort((Se,Ue)=>Se-Ue)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,J,We)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=mo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(_o),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Se=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Se,this.sizes)}ngOnChanges(Se){if(Se.ngSrc&&!Se.ngSrc.isFirstChange()){const Ue=this._renderedSrc;this.updateSrcAndSrcset(!0);const _t=this._renderedSrc;null!==this.lcpObserver&&Ue&&_t&&Ue!==_t&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Ue,_t)})}}callImageLoader(Se){let Ue=Se;return this.loaderParams&&(Ue.loaderParams=this.loaderParams),this.imageLoader(Ue)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Se=To.test(this.ngSrcset);return this.ngSrcset.split(",").filter(_t=>""!==_t).map(_t=>{_t=_t.trim();const $t=Se?parseFloat(_t):parseFloat(_t)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${_t}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Se}=this.config;let Ue=Se;return"100vw"===this.sizes?.trim()&&(Ue=Se.filter($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}w`).join(", ")}updateSrcAndSrcset(Se=!1){Se&&(this._renderedSrc=null);const Ue=this.getRewrittenSrc();let _t;return this.setHostAttribute("src",Ue),this.ngSrcset?_t=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(_t=this.getAutomaticSrcset()),_t&&this.setHostAttribute("srcset",_t),_t}getFixedSrcset(){return fs.map(Ue=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Ue})} ${Ue}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Se=!1;return this.sizes||(Se=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Oi&&!Se}generatePlaceholder(Se){const{placeholderResolution:Ue}=this.config;return!0===Se?`url(${this.callImageLoader({src:this.ngSrc,width:Ue,isPlaceholder:!0})})`:"string"==typeof Se&&Se.startsWith("data:")?`url(${Se})`:null}shouldBlurPlaceholder(Se){return!Se||!Se.hasOwnProperty("blur")||!!Se.blur}removePlaceholderOnLoad(Se){const Ue=()=>{const tn=this.injector.get(n.ChangeDetectorRef);_t(),$t(),this.placeholder=!1,tn.markForCheck()},_t=this.renderer.listen(Se,"load",Ue),$t=this.renderer.listen(Se,"error",Ue)}ngOnDestroy(){}setHostAttribute(Se,Ue){this.renderer.setAttribute(this.imgElement,Se,Ue)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Ue,_t){2&Ue&&n.\u0275\u0275styleProp("position",_t.fill?"absolute":null)("width",_t.fill?"100%":null)("height",_t.fill?"100%":null)("inset",_t.fill?"0":null)("background-size",_t.placeholder?"cover":null)("background-position",_t.placeholder?"50% 50%":null)("background-repeat",_t.placeholder?"no-repeat":null)("background-image",_t.placeholder?_t.generatePlaceholder(_t.placeholder):null)("filter",_t.placeholder&&_t.shouldBlurPlaceholder(_t.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",xt],ngSrcset:"ngSrcset",sizes:"sizes",width:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",n.numberAttribute],height:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",n.numberAttribute],loading:"loading",priority:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",n.booleanAttribute],placeholder:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",rn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return J})();function xt(J){return"string"==typeof J?J:(0,n.\u0275unwrapSafeValue)(J)}function rn(J){return"string"==typeof J&&J.startsWith("data:")?J:(0,n.booleanAttribute)(J)}},97048:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{FetchBackend:()=>Oe,HTTP_INTERCEPTORS:()=>et,HttpBackend:()=>_,HttpClient:()=>Y,HttpClientJsonpModule:()=>Jn,HttpClientModule:()=>br,HttpClientXsrfModule:()=>Mr,HttpContext:()=>I,HttpContextToken:()=>T,HttpErrorResponse:()=>re,HttpEventType:()=>ce,HttpFeatureKind:()=>Gt,HttpHandler:()=>b,HttpHeaderResponse:()=>K,HttpHeaders:()=>f,HttpParams:()=>j,HttpRequest:()=>te,HttpResponse:()=>Z,HttpResponseBase:()=>se,HttpStatusCode:()=>X,HttpUrlEncodingCodec:()=>S,HttpXhrBackend:()=>Zt,HttpXsrfTokenExtractor:()=>Yn,JsonpClientBackend:()=>Ce,JsonpInterceptor:()=>Je,provideHttpClient:()=>Et,withFetch:()=>sr,withInterceptors:()=>Xt,withInterceptorsFromDi:()=>En,withJsonpSupport:()=>kr,withNoXsrfProtection:()=>nr,withRequestsMadeViaParent:()=>Br,withXsrfConfiguration:()=>qt,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>je,\u0275HttpInterceptingHandler:()=>sn,\u0275HttpInterceptorHandler:()=>sn,\u0275PRIMARY_HTTP_BACKEND:()=>Pe,\u0275withHttpTransferCache:()=>ui});var n=o(1528),i=o(54496),d=o(82700),a=o(53252),c=o(74496),e=o(26020),u=o(66684),l=o(54704),g=o(68824),v=o(17368),p=o(19212),C=o(91368);class b{}class _{}class f{constructor(Tt){this.normalizedNames=new Map,this.lazyUpdate=null,Tt?"string"==typeof Tt?this.lazyInit=()=>{this.headers=new Map,Tt.split("\n").forEach(St=>{const Jt=St.indexOf(":");if(Jt>0){const an=St.slice(0,Jt),Cn=an.toLowerCase(),yn=St.slice(Jt+1).trim();this.maybeSetNormalizedName(an,Cn),this.headers.has(Cn)?this.headers.get(Cn).push(yn):this.headers.set(Cn,[yn])}})}:typeof Headers<"u"&&Tt instanceof Headers?(this.headers=new Map,Tt.forEach((St,Jt)=>{this.setHeaderEntries(Jt,St)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Tt).forEach(([St,Jt])=>{this.setHeaderEntries(St,Jt)})}:this.headers=new Map}has(Tt){return this.init(),this.headers.has(Tt.toLowerCase())}get(Tt){this.init();const St=this.headers.get(Tt.toLowerCase());return St&&St.length>0?St[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Tt){return this.init(),this.headers.get(Tt.toLowerCase())||null}append(Tt,St){return this.clone({name:Tt,value:St,op:"a"})}set(Tt,St){return this.clone({name:Tt,value:St,op:"s"})}delete(Tt,St){return this.clone({name:Tt,value:St,op:"d"})}maybeSetNormalizedName(Tt,St){this.normalizedNames.has(St)||this.normalizedNames.set(St,Tt)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Tt=>this.applyUpdate(Tt)),this.lazyUpdate=null))}copyFrom(Tt){Tt.init(),Array.from(Tt.headers.keys()).forEach(St=>{this.headers.set(St,Tt.headers.get(St)),this.normalizedNames.set(St,Tt.normalizedNames.get(St))})}clone(Tt){const St=new f;return St.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,St.lazyUpdate=(this.lazyUpdate||[]).concat([Tt]),St}applyUpdate(Tt){const St=Tt.name.toLowerCase();switch(Tt.op){case"a":case"s":let Jt=Tt.value;if("string"==typeof Jt&&(Jt=[Jt]),0===Jt.length)return;this.maybeSetNormalizedName(Tt.name,St);const an=("a"===Tt.op?this.headers.get(St):void 0)||[];an.push(...Jt),this.headers.set(St,an);break;case"d":const Cn=Tt.value;if(Cn){let yn=this.headers.get(St);if(!yn)return;yn=yn.filter(Qn=>-1===Cn.indexOf(Qn)),0===yn.length?(this.headers.delete(St),this.normalizedNames.delete(St)):this.headers.set(St,yn)}else this.headers.delete(St),this.normalizedNames.delete(St)}}setHeaderEntries(Tt,St){const Jt=(Array.isArray(St)?St:[St]).map(Cn=>Cn.toString()),an=Tt.toLowerCase();this.headers.set(an,Jt),this.maybeSetNormalizedName(Tt,an)}forEach(Tt){this.init(),Array.from(this.normalizedNames.keys()).forEach(St=>Tt(this.normalizedNames.get(St),this.headers.get(St)))}}class S{encodeKey(Tt){return O(Tt)}encodeValue(Tt){return O(Tt)}decodeKey(Tt){return decodeURIComponent(Tt)}decodeValue(Tt){return decodeURIComponent(Tt)}}const w=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function O(ct){return encodeURIComponent(ct).replace(w,(Tt,St)=>A[St]??Tt)}function F(ct){return`${ct}`}class j{constructor(Tt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Tt.encoder||new S,Tt.fromString){if(Tt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(ct,Tt){const St=new Map;return ct.length>0&&ct.replace(/^\?/,"").split("&").forEach(an=>{const Cn=an.indexOf("="),[yn,Qn]=-1==Cn?[Tt.decodeKey(an),""]:[Tt.decodeKey(an.slice(0,Cn)),Tt.decodeValue(an.slice(Cn+1))],Un=St.get(yn)||[];Un.push(Qn),St.set(yn,Un)}),St}(Tt.fromString,this.encoder)}else Tt.fromObject?(this.map=new Map,Object.keys(Tt.fromObject).forEach(St=>{const Jt=Tt.fromObject[St],an=Array.isArray(Jt)?Jt.map(F):[F(Jt)];this.map.set(St,an)})):this.map=null}has(Tt){return this.init(),this.map.has(Tt)}get(Tt){this.init();const St=this.map.get(Tt);return St?St[0]:null}getAll(Tt){return this.init(),this.map.get(Tt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Tt,St){return this.clone({param:Tt,value:St,op:"a"})}appendAll(Tt){const St=[];return Object.keys(Tt).forEach(Jt=>{const an=Tt[Jt];Array.isArray(an)?an.forEach(Cn=>{St.push({param:Jt,value:Cn,op:"a"})}):St.push({param:Jt,value:an,op:"a"})}),this.clone(St)}set(Tt,St){return this.clone({param:Tt,value:St,op:"s"})}delete(Tt,St){return this.clone({param:Tt,value:St,op:"d"})}toString(){return this.init(),this.keys().map(Tt=>{const St=this.encoder.encodeKey(Tt);return this.map.get(Tt).map(Jt=>St+"="+this.encoder.encodeValue(Jt)).join("&")}).filter(Tt=>""!==Tt).join("&")}clone(Tt){const St=new j({encoder:this.encoder});return St.cloneFrom=this.cloneFrom||this,St.updates=(this.updates||[]).concat(Tt),St}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Tt=>this.map.set(Tt,this.cloneFrom.map.get(Tt))),this.updates.forEach(Tt=>{switch(Tt.op){case"a":case"s":const St=("a"===Tt.op?this.map.get(Tt.param):void 0)||[];St.push(F(Tt.value)),this.map.set(Tt.param,St);break;case"d":if(void 0===Tt.value){this.map.delete(Tt.param);break}{let Jt=this.map.get(Tt.param)||[];const an=Jt.indexOf(F(Tt.value));-1!==an&&Jt.splice(an,1),Jt.length>0?this.map.set(Tt.param,Jt):this.map.delete(Tt.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(Tt){this.defaultValue=Tt}}class I{constructor(){this.map=new Map}set(Tt,St){return this.map.set(Tt,St),this}get(Tt){return this.map.has(Tt)||this.map.set(Tt,Tt.defaultValue()),this.map.get(Tt)}delete(Tt){return this.map.delete(Tt),this}has(Tt){return this.map.has(Tt)}keys(){return this.map.keys()}}function N(ct){return typeof ArrayBuffer<"u"&&ct instanceof ArrayBuffer}function x(ct){return typeof Blob<"u"&&ct instanceof Blob}function H(ct){return typeof FormData<"u"&&ct instanceof FormData}class te{constructor(Tt,St,Jt,an){let Cn;if(this.url=St,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Tt.toUpperCase(),function k(ct){switch(ct){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||an?(this.body=void 0!==Jt?Jt:null,Cn=an):Cn=Jt,Cn&&(this.reportProgress=!!Cn.reportProgress,this.withCredentials=!!Cn.withCredentials,Cn.responseType&&(this.responseType=Cn.responseType),Cn.headers&&(this.headers=Cn.headers),Cn.context&&(this.context=Cn.context),Cn.params&&(this.params=Cn.params),this.transferCache=Cn.transferCache),this.headers??=new f,this.context??=new I,this.params){const yn=this.params.toString();if(0===yn.length)this.urlWithParams=St;else{const Qn=St.indexOf("?");this.urlWithParams=St+(-1===Qn?"?":QnHn.set(ur,Tt.setHeaders[ur]),Un)),Tt.setParams&&(Tr=Object.keys(Tt.setParams).reduce((Hn,ur)=>Hn.set(ur,Tt.setParams[ur]),Tr)),new te(St,Jt,Cn,{params:Tr,headers:Un,context:Er,reportProgress:Qn,responseType:an,withCredentials:yn})}}var ce=function(ct){return ct[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct}(ce||{});class se{constructor(Tt,St=X.Ok,Jt="OK"){this.headers=Tt.headers||new f,this.status=void 0!==Tt.status?Tt.status:St,this.statusText=Tt.statusText||Jt,this.url=Tt.url||null,this.ok=this.status>=200&&this.status<300}}class K extends se{constructor(Tt={}){super(Tt),this.type=ce.ResponseHeader}clone(Tt={}){return new K({headers:Tt.headers||this.headers,status:void 0!==Tt.status?Tt.status:this.status,statusText:Tt.statusText||this.statusText,url:Tt.url||this.url||void 0})}}class Z extends se{constructor(Tt={}){super(Tt),this.type=ce.Response,this.body=void 0!==Tt.body?Tt.body:null}clone(Tt={}){return new Z({body:void 0!==Tt.body?Tt.body:this.body,headers:Tt.headers||this.headers,status:void 0!==Tt.status?Tt.status:this.status,statusText:Tt.statusText||this.statusText,url:Tt.url||this.url||void 0})}}class re extends se{constructor(Tt){super(Tt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Tt.url||"(unknown url)"}`:`Http failure response for ${Tt.url||"(unknown url)"}: ${Tt.status} ${Tt.statusText}`,this.error=Tt.error||null}}var X=function(ct){return ct[ct.Continue=100]="Continue",ct[ct.SwitchingProtocols=101]="SwitchingProtocols",ct[ct.Processing=102]="Processing",ct[ct.EarlyHints=103]="EarlyHints",ct[ct.Ok=200]="Ok",ct[ct.Created=201]="Created",ct[ct.Accepted=202]="Accepted",ct[ct.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ct[ct.NoContent=204]="NoContent",ct[ct.ResetContent=205]="ResetContent",ct[ct.PartialContent=206]="PartialContent",ct[ct.MultiStatus=207]="MultiStatus",ct[ct.AlreadyReported=208]="AlreadyReported",ct[ct.ImUsed=226]="ImUsed",ct[ct.MultipleChoices=300]="MultipleChoices",ct[ct.MovedPermanently=301]="MovedPermanently",ct[ct.Found=302]="Found",ct[ct.SeeOther=303]="SeeOther",ct[ct.NotModified=304]="NotModified",ct[ct.UseProxy=305]="UseProxy",ct[ct.Unused=306]="Unused",ct[ct.TemporaryRedirect=307]="TemporaryRedirect",ct[ct.PermanentRedirect=308]="PermanentRedirect",ct[ct.BadRequest=400]="BadRequest",ct[ct.Unauthorized=401]="Unauthorized",ct[ct.PaymentRequired=402]="PaymentRequired",ct[ct.Forbidden=403]="Forbidden",ct[ct.NotFound=404]="NotFound",ct[ct.MethodNotAllowed=405]="MethodNotAllowed",ct[ct.NotAcceptable=406]="NotAcceptable",ct[ct.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ct[ct.RequestTimeout=408]="RequestTimeout",ct[ct.Conflict=409]="Conflict",ct[ct.Gone=410]="Gone",ct[ct.LengthRequired=411]="LengthRequired",ct[ct.PreconditionFailed=412]="PreconditionFailed",ct[ct.PayloadTooLarge=413]="PayloadTooLarge",ct[ct.UriTooLong=414]="UriTooLong",ct[ct.UnsupportedMediaType=415]="UnsupportedMediaType",ct[ct.RangeNotSatisfiable=416]="RangeNotSatisfiable",ct[ct.ExpectationFailed=417]="ExpectationFailed",ct[ct.ImATeapot=418]="ImATeapot",ct[ct.MisdirectedRequest=421]="MisdirectedRequest",ct[ct.UnprocessableEntity=422]="UnprocessableEntity",ct[ct.Locked=423]="Locked",ct[ct.FailedDependency=424]="FailedDependency",ct[ct.TooEarly=425]="TooEarly",ct[ct.UpgradeRequired=426]="UpgradeRequired",ct[ct.PreconditionRequired=428]="PreconditionRequired",ct[ct.TooManyRequests=429]="TooManyRequests",ct[ct.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ct[ct.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ct[ct.InternalServerError=500]="InternalServerError",ct[ct.NotImplemented=501]="NotImplemented",ct[ct.BadGateway=502]="BadGateway",ct[ct.ServiceUnavailable=503]="ServiceUnavailable",ct[ct.GatewayTimeout=504]="GatewayTimeout",ct[ct.HttpVersionNotSupported=505]="HttpVersionNotSupported",ct[ct.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ct[ct.InsufficientStorage=507]="InsufficientStorage",ct[ct.LoopDetected=508]="LoopDetected",ct[ct.NotExtended=510]="NotExtended",ct[ct.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ct}(X||{});function W(ct,Tt){return{body:Tt,headers:ct.headers,context:ct.context,observe:ct.observe,params:ct.params,reportProgress:ct.reportProgress,responseType:ct.responseType,withCredentials:ct.withCredentials,transferCache:ct.transferCache}}let Y=(()=>{class ct{constructor(St){this.handler=St}request(St,Jt,an={}){let Cn;if(St instanceof te)Cn=St;else{let Un,Tr;Un=an.headers instanceof f?an.headers:new f(an.headers),an.params&&(Tr=an.params instanceof j?an.params:new j({fromObject:an.params})),Cn=new te(St,Jt,void 0!==an.body?an.body:null,{headers:Un,context:an.context,params:Tr,reportProgress:an.reportProgress,responseType:an.responseType||"json",withCredentials:an.withCredentials,transferCache:an.transferCache})}const yn=(0,d.of)(Cn).pipe((0,e.m)(Un=>this.handler.handle(Un)));if(St instanceof te||"events"===an.observe)return yn;const Qn=yn.pipe((0,u.I)(Un=>Un instanceof Z));switch(an.observe||"body"){case"body":switch(Cn.responseType){case"arraybuffer":return Qn.pipe((0,l.k)(Un=>{if(null!==Un.body&&!(Un.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Un.body}));case"blob":return Qn.pipe((0,l.k)(Un=>{if(null!==Un.body&&!(Un.body instanceof Blob))throw new Error("Response is not a Blob.");return Un.body}));case"text":return Qn.pipe((0,l.k)(Un=>{if(null!==Un.body&&"string"!=typeof Un.body)throw new Error("Response is not a string.");return Un.body}));default:return Qn.pipe((0,l.k)(Un=>Un.body))}case"response":return Qn;default:throw new Error(`Unreachable: unhandled observe type ${an.observe}}`)}}delete(St,Jt={}){return this.request("DELETE",St,Jt)}get(St,Jt={}){return this.request("GET",St,Jt)}head(St,Jt={}){return this.request("HEAD",St,Jt)}jsonp(St,Jt){return this.request("JSONP",St,{params:(new j).append(Jt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(St,Jt={}){return this.request("OPTIONS",St,Jt)}patch(St,Jt,an={}){return this.request("PATCH",St,W(an,Jt))}post(St,Jt,an={}){return this.request("POST",St,W(an,Jt))}put(St,Jt,an={}){return this.request("PUT",St,W(an,Jt))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(b))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const q=/^\)\]\}',?\n/;function _e(ct){if(ct.url)return ct.url;const Tt="X-Request-URL".toLocaleLowerCase();return ct.headers.get(Tt)}let Oe=(()=>{class ct{constructor(){this.fetchImpl=(0,i.inject)(Re,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,i.inject)(i.NgZone)}handle(St){return new a._(Jt=>{const an=new AbortController;return this.doRequest(St,an.signal,Jt).then(Ae,Cn=>Jt.error(new re({error:Cn}))),()=>an.abort()})}doRequest(St,Jt,an){var Cn=this;return(0,n.c)(function*(){const yn=Cn.createRequestInit(St);let Qn;try{const on=Cn.fetchImpl(St.urlWithParams,{signal:Jt,...yn});(function ge(ct){ct.then(Ae,Ae)})(on),an.next({type:ce.Sent}),Qn=yield on}catch(on){return void an.error(new re({error:on,status:on.status??0,statusText:on.statusText,url:St.urlWithParams,headers:on.headers}))}const Un=new f(Qn.headers),Tr=Qn.statusText,Er=_e(Qn)??St.urlWithParams;let Hn=Qn.status,ur=null;if(St.reportProgress&&an.next(new K({headers:Un,status:Hn,statusText:Tr,url:Er})),Qn.body){const on=Qn.headers.get("content-length"),U=[],z=Qn.body.getReader();let He,Ie,ae=0;const fe=typeof Zone<"u"&&Zone.current;yield Cn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:ot,value:ht}=yield z.read();if(ot)break;if(U.push(ht),ae+=ht.length,St.reportProgress){Ie="text"===St.responseType?(Ie??"")+(He??=new TextDecoder).decode(ht,{stream:!0}):void 0;const Ct=()=>an.next({type:ce.DownloadProgress,total:on?+on:void 0,loaded:ae,partialText:Ie});fe?fe.run(Ct):Ct()}}}));const Te=Cn.concatChunks(U,ae);try{const ot=Qn.headers.get("Content-Type")??"";ur=Cn.parseBody(St,Te,ot)}catch(ot){return void an.error(new re({error:ot,headers:new f(Qn.headers),status:Qn.status,statusText:Qn.statusText,url:_e(Qn)??St.urlWithParams}))}}0===Hn&&(Hn=ur?X.Ok:0),Hn>=200&&Hn<300?(an.next(new Z({body:ur,headers:Un,status:Hn,statusText:Tr,url:Er})),an.complete()):an.error(new re({error:ur,headers:Un,status:Hn,statusText:Tr,url:Er}))})()}parseBody(St,Jt,an){switch(St.responseType){case"json":const Cn=(new TextDecoder).decode(Jt).replace(q,"");return""===Cn?null:JSON.parse(Cn);case"text":return(new TextDecoder).decode(Jt);case"blob":return new Blob([Jt],{type:an});case"arraybuffer":return Jt.buffer}}createRequestInit(St){const Jt={},an=St.withCredentials?"include":void 0;if(St.headers.forEach((Cn,yn)=>Jt[Cn]=yn.join(",")),Jt.Accept??="application/json, text/plain, */*",!Jt["Content-Type"]){const Cn=St.detectContentTypeHeader();null!==Cn&&(Jt["Content-Type"]=Cn)}return{body:St.serializeBody(),method:St.method,headers:Jt,credentials:an}}concatChunks(St,Jt){const an=new Uint8Array(Jt);let Cn=0;for(const yn of St)an.set(yn,Cn),Cn+=yn.length;return an}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();class Re{}function Ae(){}function Ne(ct,Tt){return Tt(ct)}function it(ct,Tt){return(St,Jt)=>Tt.intercept(St,{handle:an=>ct(an,Jt)})}const et=new i.InjectionToken(""),De=new i.InjectionToken(""),je=new i.InjectionToken(""),Pe=new i.InjectionToken("");function bt(){let ct=null;return(Tt,St)=>{null===ct&&(ct=((0,i.inject)(et,{optional:!0})??[]).reduceRight(it,Ne));const Jt=(0,i.inject)(i.\u0275PendingTasks),an=Jt.add();return ct(Tt,St).pipe((0,g.U)(()=>Jt.remove(an)))}}let Sn,sn=(()=>{class ct extends b{constructor(St,Jt){super(),this.backend=St,this.injector=Jt,this.chain=null,this.pendingTasks=(0,i.inject)(i.\u0275PendingTasks);const an=(0,i.inject)(Pe,{optional:!0});this.backend=an??St}handle(St){if(null===this.chain){const an=Array.from(new Set([...this.injector.get(De),...this.injector.get(je,[])]));this.chain=an.reduceRight((Cn,yn)=>function qe(ct,Tt,St){return(Jt,an)=>(0,i.runInInjectionContext)(St,()=>Tt(Jt,Cn=>ct(Cn,an)))}(Cn,yn,this.injector),Ne)}const Jt=this.pendingTasks.add();return this.chain(St,an=>this.backend.handle(an)).pipe((0,g.U)(()=>this.pendingTasks.remove(Jt)))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(_),i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})(),un=0;class Ee{}function ye(){return"object"==typeof window?window:{}}let Ce=(()=>{class ct{constructor(St,Jt){this.callbackMap=St,this.document=Jt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+un++}handle(St){if("JSONP"!==St.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==St.responseType)throw new Error("JSONP requests must use Json response type.");if(St.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new a._(Jt=>{const an=this.nextCallback(),Cn=St.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${an}$1`),yn=this.document.createElement("script");yn.src=Cn;let Qn=null,Un=!1;this.callbackMap[an]=ur=>{delete this.callbackMap[an],Qn=ur,Un=!0};const Tr=()=>{yn.parentNode&&yn.parentNode.removeChild(yn),delete this.callbackMap[an]};return yn.addEventListener("load",ur=>{this.resolvedPromise.then(()=>{Tr(),Un?(Jt.next(new Z({body:Qn,status:X.Ok,statusText:"OK",url:Cn})),Jt.complete()):Jt.error(new re({url:Cn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),yn.addEventListener("error",ur=>{Tr(),Jt.error(new re({error:ur,status:0,statusText:"JSONP Error",url:Cn}))}),this.document.body.appendChild(yn),Jt.next({type:ce.Sent}),()=>{Un||this.removeListeners(yn),Tr()}})}removeListeners(St){Sn??=this.document.implementation.createHTMLDocument(),Sn.adoptNode(St)}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(Ee),i.\u0275\u0275inject(C.DOCUMENT))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function Ge(ct,Tt){return"JSONP"===ct.method?(0,i.inject)(Ce).handle(ct):Tt(ct)}let Je=(()=>{class ct{constructor(St){this.injector=St}intercept(St,Jt){return(0,i.runInInjectionContext)(this.injector,()=>Ge(St,an=>Jt.handle(an)))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const vt=/^\)\]\}',?\n/;let Zt=(()=>{class ct{constructor(St){this.xhrFactory=St}handle(St){if("JSONP"===St.method)throw new i.\u0275RuntimeError(-2800,!1);const Jt=this.xhrFactory;return(Jt.\u0275loadImpl?(0,c.Q)(Jt.\u0275loadImpl()):(0,d.of)(null)).pipe((0,v.G)(()=>new a._(Cn=>{const yn=Jt.build();if(yn.open(St.method,St.urlWithParams),St.withCredentials&&(yn.withCredentials=!0),St.headers.forEach((U,z)=>yn.setRequestHeader(U,z.join(","))),St.headers.has("Accept")||yn.setRequestHeader("Accept","application/json, text/plain, */*"),!St.headers.has("Content-Type")){const U=St.detectContentTypeHeader();null!==U&&yn.setRequestHeader("Content-Type",U)}if(St.responseType){const U=St.responseType.toLowerCase();yn.responseType="json"!==U?U:"text"}const Qn=St.serializeBody();let Un=null;const Tr=()=>{if(null!==Un)return Un;const U=yn.statusText||"OK",z=new f(yn.getAllResponseHeaders()),ae=function Bt(ct){return"responseURL"in ct&&ct.responseURL?ct.responseURL:/^X-Request-URL:/m.test(ct.getAllResponseHeaders())?ct.getResponseHeader("X-Request-URL"):null}(yn)||St.url;return Un=new K({headers:z,status:yn.status,statusText:U,url:ae}),Un},Er=()=>{let{headers:U,status:z,statusText:ae,url:He}=Tr(),Ie=null;z!==X.NoContent&&(Ie=typeof yn.response>"u"?yn.responseText:yn.response),0===z&&(z=Ie?X.Ok:0);let fe=z>=200&&z<300;if("json"===St.responseType&&"string"==typeof Ie){const Te=Ie;Ie=Ie.replace(vt,"");try{Ie=""!==Ie?JSON.parse(Ie):null}catch(ot){Ie=Te,fe&&(fe=!1,Ie={error:ot,text:Ie})}}fe?(Cn.next(new Z({body:Ie,headers:U,status:z,statusText:ae,url:He||void 0})),Cn.complete()):Cn.error(new re({error:Ie,headers:U,status:z,statusText:ae,url:He||void 0}))},Hn=U=>{const{url:z}=Tr(),ae=new re({error:U,status:yn.status||0,statusText:yn.statusText||"Unknown Error",url:z||void 0});Cn.error(ae)};let ur=!1;const Ei=U=>{ur||(Cn.next(Tr()),ur=!0);let z={type:ce.DownloadProgress,loaded:U.loaded};U.lengthComputable&&(z.total=U.total),"text"===St.responseType&&yn.responseText&&(z.partialText=yn.responseText),Cn.next(z)},on=U=>{let z={type:ce.UploadProgress,loaded:U.loaded};U.lengthComputable&&(z.total=U.total),Cn.next(z)};return yn.addEventListener("load",Er),yn.addEventListener("error",Hn),yn.addEventListener("timeout",Hn),yn.addEventListener("abort",Hn),St.reportProgress&&(yn.addEventListener("progress",Ei),null!==Qn&&yn.upload&&yn.upload.addEventListener("progress",on)),yn.send(Qn),Cn.next({type:ce.Sent}),()=>{yn.removeEventListener("error",Hn),yn.removeEventListener("abort",Hn),yn.removeEventListener("load",Er),yn.removeEventListener("timeout",Hn),St.reportProgress&&(yn.removeEventListener("progress",Ei),null!==Qn&&yn.upload&&yn.upload.removeEventListener("progress",on)),yn.readyState!==yn.DONE&&yn.abort()}})))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(C.XhrFactory))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const Rt=new i.InjectionToken(""),Dt="XSRF-TOKEN",Ot=new i.InjectionToken("",{providedIn:"root",factory:()=>Dt}),pn="X-XSRF-TOKEN",Vn=new i.InjectionToken("",{providedIn:"root",factory:()=>pn});class Yn{}let er=(()=>{class ct{constructor(St,Jt,an){this.doc=St,this.platform=Jt,this.cookieName=an,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const St=this.doc.cookie||"";return St!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,C.\u0275parseCookieValue)(St,this.cookieName),this.lastCookieString=St),this.lastToken}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(C.DOCUMENT),i.\u0275\u0275inject(i.PLATFORM_ID),i.\u0275\u0275inject(Ot))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function kn(ct,Tt){const St=ct.url.toLowerCase();if(!(0,i.inject)(Rt)||"GET"===ct.method||"HEAD"===ct.method||St.startsWith("http://")||St.startsWith("https://"))return Tt(ct);const Jt=(0,i.inject)(Yn).getToken(),an=(0,i.inject)(Vn);return null!=Jt&&!ct.headers.has(an)&&(ct=ct.clone({headers:ct.headers.set(an,Jt)})),Tt(ct)}let Mt=(()=>{class ct{constructor(St){this.injector=St}intercept(St,Jt){return(0,i.runInInjectionContext)(this.injector,()=>kn(St,an=>Jt.handle(an)))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(i.\u0275\u0275inject(i.EnvironmentInjector))};static#t=this.\u0275prov=i.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();var Gt=function(ct){return ct[ct.Interceptors=0]="Interceptors",ct[ct.LegacyInterceptors=1]="LegacyInterceptors",ct[ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ct[ct.NoXsrfProtection=3]="NoXsrfProtection",ct[ct.JsonpSupport=4]="JsonpSupport",ct[ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",ct[ct.Fetch=6]="Fetch",ct}(Gt||{});function mt(ct,Tt){return{\u0275kind:ct,\u0275providers:Tt}}function Et(...ct){const Tt=[Y,Zt,sn,{provide:b,useExisting:sn},{provide:_,useExisting:Zt},{provide:De,useValue:kn,multi:!0},{provide:Rt,useValue:!0},{provide:Yn,useClass:er}];for(const St of ct)Tt.push(...St.\u0275providers);return(0,i.makeEnvironmentProviders)(Tt)}function Xt(ct){return mt(Gt.Interceptors,ct.map(Tt=>({provide:De,useValue:Tt,multi:!0})))}const _n=new i.InjectionToken("");function En(){return mt(Gt.LegacyInterceptors,[{provide:_n,useFactory:bt},{provide:De,useExisting:_n,multi:!0}])}function qt({cookieName:ct,headerName:Tt}){const St=[];return void 0!==ct&&St.push({provide:Ot,useValue:ct}),void 0!==Tt&&St.push({provide:Vn,useValue:Tt}),mt(Gt.CustomXsrfConfiguration,St)}function nr(){return mt(Gt.NoXsrfProtection,[{provide:Rt,useValue:!1}])}function kr(){return mt(Gt.JsonpSupport,[Ce,{provide:Ee,useFactory:ye},{provide:De,useValue:Ge,multi:!0}])}function Br(){return mt(Gt.RequestsMadeViaParent,[{provide:_,useFactory:()=>(0,i.inject)(b,{skipSelf:!0,optional:!0})}])}function sr(){return mt(Gt.Fetch,[Oe,{provide:_,useExisting:Oe},{provide:Pe,useExisting:Oe}])}let Mr=(()=>{class ct{static disable(){return{ngModule:ct,providers:[nr().\u0275providers]}}static withOptions(St={}){return{ngModule:ct,providers:qt(St).\u0275providers}}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[Mt,{provide:et,useExisting:Mt,multi:!0},{provide:Yn,useClass:er},qt({cookieName:Dt,headerName:pn}).\u0275providers,{provide:Rt,useValue:!0}]})}return ct})(),br=(()=>{class ct{static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[Et(En())]})}return ct})(),Jn=(()=>{class ct{static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275mod=i.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=i.\u0275\u0275defineInjector({providers:[kr().\u0275providers]})}return ct})();const xn="b",oi="h",Sr="s",pr="st",Xn="u",qn="rt",Or=new i.InjectionToken(""),pi=["GET","HEAD"];function Qt(ct,Tt){const{isCacheActive:St,...Jt}=(0,i.inject)(Or),{transferCache:an,method:Cn}=ct;if(!St||"POST"===Cn&&!Jt.includePostRequests&&!an||"POST"!==Cn&&!pi.includes(Cn)||!1===an||!1===Jt.filter?.(ct))return Tt(ct);const yn=(0,i.inject)(i.TransferState),Qn=function Kn(ct){const{params:Tt,method:St,responseType:Jt,url:an,body:Cn}=ct,Tr=function or(ct){let Tt=0;for(const St of ct)Tt=Math.imul(31,Tt)+St.charCodeAt(0)<<0;return Tt+=2147483648,Tt.toString()}([St,Jt,an,"string"==typeof Cn?Cn:"",Tt.keys().sort().map(Er=>`${Er}=${Tt.getAll(Er)}`).join("&")].join("|"));return(0,i.makeStateKey)(Tr)}(ct),Un=yn.get(Qn,null);let Tr=Jt.includeHeaders;if("object"==typeof an&&an.includeHeaders&&(Tr=an.includeHeaders),Un){const{[xn]:Er,[qn]:Hn,[oi]:ur,[Sr]:Ei,[pr]:on,[Xn]:U}=Un;let z=Er;switch(Hn){case"arraybuffer":z=(new TextEncoder).encode(Er).buffer;break;case"blob":z=new Blob([Er])}let ae=new f(ur);return(0,d.of)(new Z({body:z,headers:ae,status:Ei,statusText:on,url:U}))}return Tt(ct).pipe((0,p.y)(Er=>{Er instanceof Z&&yn.set(Qn,{[xn]:Er.body,[oi]:Rn(Er.headers,Tr),[Sr]:Er.status,[pr]:Er.statusText,[Xn]:Er.url||"",[qn]:ct.responseType})}))}function Rn(ct,Tt){if(!Tt)return{};const St={};for(const Jt of Tt){const an=ct.getAll(Jt);null!==an&&(St[Jt]=an)}return St}function ui(ct){return[{provide:Or,useFactory:()=>((0,i.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...ct})},{provide:je,useValue:Qt,multi:!0,deps:[i.TransferState,Or]},{provide:i.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Tt=(0,i.inject)(i.ApplicationRef),St=(0,i.inject)(Or);return()=>{(0,i.\u0275whenStable)(Tt).then(()=>{St.isCacheActive=!1})}}}]}},54496:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{ANIMATION_MODULE_TYPE:()=>di,APP_BOOTSTRAP_LISTENER:()=>hy,APP_ID:()=>At,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>Ka,ApplicationInitStatus:()=>_g,ApplicationModule:()=>My,ApplicationRef:()=>ja,Attribute:()=>am,COMPILER_OPTIONS:()=>yw,CSP_NONCE:()=>vo,CUSTOM_ELEMENTS_SCHEMA:()=>jb,ChangeDetectionStrategy:()=>Mr,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>bw,Component:()=>NI,ComponentFactory:()=>Ju,ComponentFactoryResolver:()=>qu,ComponentRef:()=>Xh,ContentChild:()=>Y1,ContentChildren:()=>V1,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Ld,DebugEventListener:()=>Fw,DebugNode:()=>Mg,DefaultIterableDiffer:()=>W0,DestroyRef:()=>xc,Directive:()=>zE,ENVIRONMENT_INITIALIZER:()=>Ps,ElementRef:()=>as,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>Js,ErrorHandler:()=>Fs,EventEmitter:()=>Ee,Host:()=>Kd,HostBinding:()=>BI,HostListener:()=>iy,INJECTOR:()=>Qd,Inject:()=>Ya,InjectFlags:()=>vt,Injectable:()=>gb,InjectionToken:()=>st,Injector:()=>Rs,Input:()=>jI,IterableDiffers:()=>bp,KeyValueDiffers:()=>nd,LOCALE_ID:()=>bg,MissingTranslationStrategy:()=>Aw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>Bb,NgModule:()=>UI,NgModuleFactory:()=>JC,NgModuleRef:()=>kl,NgProbeToken:()=>tP,NgZone:()=>Oo,Optional:()=>$d,Output:()=>du,PACKAGE_ROOT_URL:()=>xr,PLATFORM_ID:()=>Zn,PLATFORM_INITIALIZER:()=>nn,Pipe:()=>$E,PlatformRef:()=>py,Query:()=>Fc,QueryList:()=>il,Renderer2:()=>fp,RendererFactory2:()=>B0,RendererStyleFlags2:()=>Ah,Sanitizer:()=>gp,SecurityContext:()=>Ml,Self:()=>Tu,SimpleChange:()=>Hy,SkipSelf:()=>Gd,TRANSLATIONS:()=>iP,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Ku,Testability:()=>eP,TestabilityRegistry:()=>hw,TransferState:()=>Mu,Type:()=>rh,VERSION:()=>KE,Version:()=>GE,ViewChild:()=>z1,ViewChildren:()=>W1,ViewContainerRef:()=>lf,ViewEncapsulation:()=>br,ViewRef:()=>Lw,afterNextRender:()=>iC,afterRender:()=>wp,asNativeElements:()=>lP,assertInInjectionContext:()=>pl,assertNotInReactiveContext:()=>b1,assertPlatform:()=>Iw,booleanAttribute:()=>Tk,computed:()=>a1,contentChild:()=>U1,contentChildren:()=>RC,createComponent:()=>Bk,createEnvironmentInjector:()=>Wp,createNgModule:()=>qC,createNgModuleRef:()=>eS,createPlatform:()=>vy,createPlatformFactory:()=>Tw,defineInjectable:()=>ql,destroyPlatform:()=>oP,effect:()=>Sp,enableProdMode:()=>sP,forwardRef:()=>to,getDebugNode:()=>Ui,getModuleFactory:()=>Ow,getNgModuleById:()=>aP,getPlatform:()=>Od,importProvidersFrom:()=>ds,inject:()=>lt,input:()=>Je,isDevMode:()=>xw,isSignal:()=>mp,isStandalone:()=>lr,makeEnvironmentProviders:()=>Iu,makeStateKey:()=>Xs,mergeApplicationConfig:()=>Hk,model:()=>jC,numberAttribute:()=>Ik,platformCore:()=>Ds,provideZoneChangeDetection:()=>Ew,reflectComponentType:()=>Uk,resolveForwardRef:()=>Dr,runInInjectionContext:()=>Xg,setTestabilityGetter:()=>ly,signal:()=>Io,untracked:()=>u1,viewChild:()=>LC,viewChildren:()=>j1,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_y,\u0275AfterRenderEventManager:()=>Pl,\u0275CONTAINER_HEADER_OFFSET:()=>Wr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>Ju,\u0275Console:()=>QE,\u0275DEFAULT_LOCALE_ID:()=>qa,\u0275DEFER_BLOCK_CONFIG:()=>CS,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fT,\u0275DeferBlockBehavior:()=>Mf,\u0275DeferBlockState:()=>Po,\u0275EffectScheduler:()=>q0,\u0275IMAGE_CONFIG:()=>Hs,\u0275IMAGE_CONFIG_DEFAULTS:()=>da,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>bn,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>_c,\u0275LContext:()=>Eh,\u0275LifecycleHooksFeature:()=>gC,\u0275LocaleDataIndex:()=>qc,\u0275NG_COMP_DEF:()=>pi,\u0275NG_DIR_DEF:()=>Qt,\u0275NG_ELEMENT_ID:()=>ui,\u0275NG_INJ_DEF:()=>ue,\u0275NG_MOD_DEF:()=>Kn,\u0275NG_PIPE_DEF:()=>Rn,\u0275NG_PROV_DEF:()=>be,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ed,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Ep,\u0275PendingTasks:()=>fd,\u0275ReflectionCapabilities:()=>Uy,\u0275Render3ComponentFactory:()=>Lc,\u0275Render3ComponentRef:()=>af,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>Qe,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>wu,\u0275TESTABILITY:()=>ay,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Tl,\u0275XSS_SECURITY_URL:()=>bt,\u0275_sanitizeHtml:()=>Ib,\u0275_sanitizeUrl:()=>yh,\u0275allowSanitizationBypassAndThrow:()=>Cl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>Mb,\u0275bypassSanitizationTrustResourceUrl:()=>fm,\u0275bypassSanitizationTrustScript:()=>PD,\u0275bypassSanitizationTrustStyle:()=>ID,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LE,\u0275compileDirective:()=>ny,\u0275compileNgModule:()=>AE,\u0275compileNgModuleDefs:()=>Jv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>WE,\u0275convertToBitFlags:()=>Ht,\u0275createInjector:()=>mh,\u0275defaultIterableDiffers:()=>ks,\u0275defaultKeyValueDiffers:()=>v1,\u0275depsTracker:()=>Oc,\u0275devModeEqual:()=>Q0,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DE,\u0275formatRuntimeError:()=>Ut,\u0275generateStandaloneInDeclarationsError:()=>TE,\u0275getAsyncClassMetadataFn:()=>iT,\u0275getDebugNode:()=>Ui,\u0275getDeferBlocks:()=>Ag,\u0275getDirectives:()=>oE,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Ao,\u0275getHostElement:()=>Dd,\u0275getInjectableDef:()=>Ea,\u0275getLContext:()=>Ms,\u0275getLocaleCurrencyCode:()=>BT,\u0275getLocalePluralCase:()=>Zf,\u0275getSanitizationBypassType:()=>Sb,\u0275getUnknownElementStrictMode:()=>_a,\u0275getUnknownPropertyStrictMode:()=>eA,\u0275global:()=>xn,\u0275injectChangeDetectorRef:()=>kc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>Ho,\u0275isBoundToModule:()=>Na,\u0275isComponentDefPendingResolution:()=>HC,\u0275isEnvironmentProviders:()=>nc,\u0275isInjectable:()=>Nn,\u0275isNgModule:()=>Qa,\u0275isPromise:()=>uy,\u0275isSubscribable:()=>dy,\u0275noSideEffects:()=>Jn,\u0275output:()=>ye,\u0275patchComponentDefWithScope:()=>ey,\u0275performanceMarkFeature:()=>Ws,\u0275provideZonelessChangeDetection:()=>Ua,\u0275queueStateUpdate:()=>jr,\u0275readHydrationInfo:()=>Ug,\u0275registerLocaleData:()=>jT,\u0275renderDeferBlockState:()=>Ra,\u0275resetCompiledComponents:()=>kI,\u0275resetJitOptions:()=>wE,\u0275resolveComponentResources:()=>UC,\u0275restoreComponentResolutionQueue:()=>G1,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Z1,\u0275setAlternateWeakRefImpl:()=>gi,\u0275setClassDebugInfo:()=>ME,\u0275setClassMetadata:()=>rS,\u0275setClassMetadataAsync:()=>hd,\u0275setCurrentInjector:()=>V,\u0275setDocument:()=>pu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ho,\u0275setInjectorProfilerContext:()=>tc,\u0275setLocaleId:()=>j_,\u0275setUnknownElementStrictMode:()=>Dl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>zM,\u0275stringify:()=>Bt,\u0275transitiveScopesFor:()=>Yl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>Rt,\u0275unregisterLocaleData:()=>hM,\u0275unwrapSafeValue:()=>Ia,\u0275unwrapWritableSignal:()=>l1,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>KC,\u0275\u0275FactoryTarget:()=>_l,\u0275\u0275HostDirectivesFeature:()=>dd,\u0275\u0275InheritDefinitionFeature:()=>gf,\u0275\u0275InputFlags:()=>ct,\u0275\u0275InputTransformsFeature:()=>XC,\u0275\u0275NgOnChangesFeature:()=>qg,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>o0,\u0275\u0275attribute:()=>l_,\u0275\u0275attributeInterpolate1:()=>c_,\u0275\u0275attributeInterpolate2:()=>xf,\u0275\u0275attributeInterpolate3:()=>u_,\u0275\u0275attributeInterpolate4:()=>d_,\u0275\u0275attributeInterpolate5:()=>Of,\u0275\u0275attributeInterpolate6:()=>h_,\u0275\u0275attributeInterpolate7:()=>f_,\u0275\u0275attributeInterpolate8:()=>Lf,\u0275\u0275attributeInterpolateV:()=>g_,\u0275\u0275classMap:()=>M_,\u0275\u0275classMapInterpolate1:()=>A_,\u0275\u0275classMapInterpolate2:()=>XS,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>JS,\u0275\u0275classMapInterpolate5:()=>T_,\u0275\u0275classMapInterpolate6:()=>qS,\u0275\u0275classMapInterpolate7:()=>eM,\u0275\u0275classMapInterpolate8:()=>Ul,\u0275\u0275classMapInterpolateV:()=>tM,\u0275\u0275classProp:()=>S_,\u0275\u0275componentInstance:()=>nM,\u0275\u0275conditional:()=>iM,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YM,\u0275\u0275defer:()=>SS,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>AS,\u0275\u0275deferOnIdle:()=>ES,\u0275\u0275deferOnImmediate:()=>wS,\u0275\u0275deferOnInteraction:()=>TS,\u0275\u0275deferOnTimer:()=>DS,\u0275\u0275deferOnViewport:()=>Pf,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>If,\u0275\u0275deferPrefetchOnInteraction:()=>IS,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>PS,\u0275\u0275deferPrefetchWhen:()=>MS,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>ht,\u0275\u0275defineDirective:()=>fn,\u0275\u0275defineInjectable:()=>ni,\u0275\u0275defineInjector:()=>Us,\u0275\u0275defineNgModule:()=>Kt,\u0275\u0275definePipe:()=>mn,\u0275\u0275directiveInject:()=>Ec,\u0275\u0275disableBindings:()=>Ti,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>$f,\u0275\u0275elementContainerStart:()=>Jc,\u0275\u0275elementEnd:()=>vd,\u0275\u0275elementStart:()=>zf,\u0275\u0275enableBindings:()=>Ai,\u0275\u0275getComponentDepsFactory:()=>Zv,\u0275\u0275getCurrentView:()=>uM,\u0275\u0275getInheritedFactory:()=>ob,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LM,\u0275\u0275i18nAttributes:()=>OM,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>eg,\u0275\u0275i18nPostprocess:()=>RM,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>xe,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>a0,\u0275\u0275invalidFactoryDep:()=>$e,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VM,\u0275\u0275namespaceHTML:()=>Ks,\u0275\u0275namespaceMathML:()=>$l,\u0275\u0275namespaceSVG:()=>ss,\u0275\u0275nextContext:()=>jM,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Pk,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>jk,\u0275\u0275pipe:()=>_E,\u0275\u0275pipeBind1:()=>yE,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>bE,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CE,\u0275\u0275projection:()=>UM,\u0275\u0275projectionDef:()=>BM,\u0275\u0275property:()=>b_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>wd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tg,\u0275\u0275propertyInterpolate4:()=>sv,\u0275\u0275propertyInterpolate5:()=>ng,\u0275\u0275propertyInterpolate6:()=>av,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rg,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cE,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uE,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dE,\u0275\u0275pureFunction6:()=>Wv,\u0275\u0275pureFunction7:()=>hE,\u0275\u0275pureFunction8:()=>zv,\u0275\u0275pureFunctionV:()=>fE,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>Wf,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>sM,\u0275\u0275resetView:()=>Ii,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Pm,\u0275\u0275resolveWindow:()=>Vb,\u0275\u0275restoreView:()=>Qi,\u0275\u0275sanitizeHtml:()=>_m,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>bm,\u0275\u0275sanitizeStyle:()=>vm,\u0275\u0275sanitizeUrl:()=>ym,\u0275\u0275sanitizeUrlOrResourceUrl:()=>xa,\u0275\u0275setComponentScope:()=>tE,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>xs,\u0275\u0275styleMapInterpolate1:()=>$M,\u0275\u0275styleMapInterpolate2:()=>gv,\u0275\u0275styleMapInterpolate3:()=>GM,\u0275\u0275styleMapInterpolate4:()=>mv,\u0275\u0275styleMapInterpolate5:()=>KM,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QM,\u0275\u0275styleMapInterpolate8:()=>ZM,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>jf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>ig,\u0275\u0275stylePropInterpolate3:()=>yv,\u0275\u0275stylePropInterpolate4:()=>bv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>ou,\u0275\u0275stylePropInterpolate7:()=>Sv,\u0275\u0275stylePropInterpolate8:()=>og,\u0275\u0275stylePropInterpolateV:()=>Mv,\u0275\u0275syntheticHostListener:()=>Ed,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Bc,\u0275\u0275templateRefExtractor:()=>SE,\u0275\u0275text:()=>Ev,\u0275\u0275textInterpolate:()=>sg,\u0275\u0275textInterpolate1:()=>ag,\u0275\u0275textInterpolate2:()=>su,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Av,\u0275\u0275textInterpolate6:()=>Tv,\u0275\u0275textInterpolate7:()=>Iv,\u0275\u0275textInterpolate8:()=>lg,\u0275\u0275textInterpolateV:()=>Pv,\u0275\u0275trustConstantHtml:()=>Pb,\u0275\u0275trustConstantResourceUrl:()=>Cm,\u0275\u0275twoWayBindingSet:()=>JM,\u0275\u0275twoWayListener:()=>ug,\u0275\u0275twoWayProperty:()=>cg,\u0275\u0275validateIframeAttribute:()=>ud,\u0275\u0275viewQuery:()=>HM,\u0275\u0275viewQuerySignal:()=>WM});var n=o(1528);function i(t,r){return Object.is(t,r)}let d=null,a=!1,c=1;const e=Symbol("SIGNAL");function u(t){const r=d;return d=t,r}const p={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function C(t){if(a)throw new Error("");if(null===d)return;d.consumerOnSignalRead(t);const r=d.nextProducerIndex++;I(d),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function A(t){I(t);for(let r=0;r0}function I(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function k(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function N(t){const r=Object.create(te);r.computation=t;const s=()=>{if(_(r),C(r),r.value===G)throw r.error;return r.value};return s[e]=r,s}const x=Symbol("UNSET"),H=Symbol("COMPUTING"),G=Symbol("ERRORED"),te={...p,value:x,dirty:!0,error:null,equal:i,producerMustRecompute:t=>t.value===x||t.value===H,producerRecomputeValue(t){if(t.value===H)throw new Error("Detected cycle in computations.");const r=t.value;t.value=H;const s=M(t);let m;try{m=t.computation()}catch(D){m=G,t.error=D}finally{w(t,s)}r!==x&&r!==G&&m!==G&&t.equal(r,m)?t.value=r:(t.value=m,t.version++)}};let se=function ce(){throw new Error};function K(){se()}let re=null;function q(t,r){y()||K(),t.equal(t.value,r)||(t.value=r,function Oe(t){t.version++,function b(){c++}(),f(t),re?.()}(t))}const _e={...p,equal:i,value:void 0};const Ae=()=>{},ge={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Ae};var it=o(95657),qe=o(46928),et=o(46700),De=o(54704),je=o(75084);const bt="https://g.co/ng/security#xss";class Qe extends Error{constructor(r,s){super(Ut(r,s)),this.code=r}}function Ut(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const sn=Symbol("InputSignalNode#UNSET"),un={..._e,transformFn:void 0,applyValueToInputSignal(t,r){q(t,r)}},bn=Symbol();function kt(t,r){const s=Object.create(un);function m(){if(C(s),s.value===sn)throw new Qe(-950,!1);return s.value}return s.value=t,s.transformFn=r?.transform,m[e]=s,m}function Fe(t){return r=>{setTimeout(t,void 0,r)}}const Ee=class jt extends it.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,m){let D=r,L=s||(()=>null),$=m;if(r&&"object"==typeof r){const pe=r;D=pe.next?.bind(pe),L=pe.error?.bind(pe),$=pe.complete?.bind(pe)}this.__isAsync&&(L=Fe(L),D&&(D=Fe(D)),$&&($=Fe($)));const ie=super.subscribe({next:D,error:L,complete:$});return r instanceof qe.wH&&r.add(ie),ie}};function ye(t){return new Ee}function Ce(t,r){return kt(t,r)}const Je=(Ce.required=function Ge(t){return kt(sn,t)},Ce);var vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(vt||{});function Bt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Bt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const r=t.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function Zt(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function Rt(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const s=Math.round(r/2);return t.substring(0,s)+"..."+t.substring(t.length-s)}function qt(t,r,s,m){throw new Error(`ASSERTION ERROR: ${t}`+(null==m?"":` [Expected=> ${s} ${m} ${r} <=Actual]`))}var Mr=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Mr||{}),br=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(br||{});function Jn(t){return{toString:t}.toString()}const xn=globalThis,pr={},Xn=[];function qn(t){for(let r in t)if(t[r]===qn)return r;throw Error("Could not find renamed property on target object.")}function Or(t,r){for(const s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}const pi=qn({\u0275cmp:qn}),Qt=qn({\u0275dir:qn}),Rn=qn({\u0275pipe:qn}),Kn=qn({\u0275mod:qn}),or=qn({\u0275fac:qn}),ui=qn({__NG_ELEMENT_ID__:qn}),Pr=qn({__NG_ENV_ID__:qn});var ct=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ct||{});function Tt(t,r,s){let m=t.length;for(;;){const D=t.indexOf(r,s);if(-1===D)return D;if(0===D||t.charCodeAt(D-1)<=32){const L=r.length;if(D+L===m||t.charCodeAt(D+L)<=32)return D}s=D+1}}function St(t,r,s){let m=0;for(;mr){$=L-1;break}}}for(;LL?"":D[pt+1].toLowerCase();const zt=8&m?Ft:null;if(zt&&-1!==Tt(zt,Ve,0)||2&m&&Ve!==Ft){if(ur(m))return!1;$=!0}}}}else{if(!$&&!ur(m)&&!ur(pe))return!1;if($&&ur(pe))continue;$=!1,m=pe|1&m}}return ur(m)||$}function ur(t){return 0==(1&t)}function Ei(t,r,s,m){if(null===r)return-1;let D=0;if(m||!s){let L=!1;for(;D-1)for(s++;s0?'="'+ie+'"':"")+"]"}else 8&m?D+="."+$:4&m&&(D+=" "+$);else""!==D&&!ur($)&&(r+=Ie(L,D),D=""),m=$,L=L||!ur(m);s++}return""!==D&&(r+=Ie(L,D)),r}function ht(t){return Jn(()=>{const r=Nr(t),s={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Mr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||br.Emulated,styles:t.styles||Xn,_:null,schemas:t.schemas||null,tView:null,id:""};Lr(s);const m=t.dependencies;return s.directiveDefs=ut(m,!1),s.pipeDefs=ut(m,!0),s.id=function vi(t){let r=0;const s=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const D of s)r=Math.imul(31,r)+D.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(s),s})}function Ct(t){return ln(t)||Yt(t)}function Lt(t){return null!==t}function Kt(t){return Jn(()=>({type:t.type,bootstrap:t.bootstrap||Xn,declarations:t.declarations||Xn,imports:t.imports||Xn,exports:t.exports||Xn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function dn(t,r){if(null==t)return pr;const s={};for(const m in t)if(t.hasOwnProperty(m)){const D=t[m];let L,$,ie=ct.None;Array.isArray(D)?(ie=D[0],L=D[1],$=D[2]??L):(L=D,$=D),r?(s[L]=ie!==ct.None?[m,ie]:m,r[L]=$):s[L]=m}return s}function fn(t){return Jn(()=>{const r=Nr(t);return Lr(r),r})}function mn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ln(t){return t[pi]||null}function Yt(t){return t[Qt]||null}function Ln(t){return t[Rn]||null}function lr(t){const r=ln(t)||Yt(t)||Ln(t);return null!==r&&r.standalone}function cr(t,r){const s=t[Kn]||null;if(!s&&!0===r)throw new Error(`Type ${Bt(t)} does not have '\u0275mod' property.`);return s}function Nr(t){const r={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Xn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:dn(t.inputs,r),outputs:dn(t.outputs),debugInfo:null}}function Lr(t){t.features?.forEach(r=>r(t))}function ut(t,r){if(!t)return null;const s=r?Ln:Ct;return()=>("function"==typeof t?t():t).map(m=>s(m)).filter(Lt)}const lo=new Map,_r=0,wn=1,$n=2,si=3,Ir=4,ai=5,On=6,ti=7,Zr=8,Xr=9,Vi=10,hr=11,Yi=12,ko=13,go=14,Jr=15,Wi=16,qi=17,ro=18,Rr=19,mo=20,_i=21,xi=22,qr=23,ar=25,yo=1,wi=6,yi=7,po=9,Wr=10;var bo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bo||{});function Ni(t){return Array.isArray(t)&&"object"==typeof t[yo]}function Gr(t){return Array.isArray(t)&&!0===t[yo]}function Lo(t){return 0!=(4&t.flags)}function Oi(t){return t.componentOffset>-1}function Zi(t){return 1==(1&t.flags)}function Li(t){return!!t.template}function Gi(t){return 0!=(512&t[$n])}function $o(t){return 16==(16&t.type)}function Ro(t){return 256==(256&t[$n])}const Bn="svg",zi="math";let Mo=!1;function Ao(){return Mo}function ho(t){Mo=t}function Ur(t){for(;Array.isArray(t);)t=t[_r];return t}function Zo(t){for(;Array.isArray(t);){if("object"==typeof t[yo])return t;t=t[_r]}return null}function is(t,r){return Ur(r[t])}function Xi(t,r){return Ur(r[t.index])}function xo(t,r){return t.data[r]}function _o(t,r){return t[r]}function Di(t,r){const s=r[t];return Ni(s)?s:s[_r]}function Cs(t){return 128==(128&t[$n])}function io(t,r){return null==r?null:t[r]}function fs(t){t[qi]=0}function rt(t){1024&t[$n]||(t[$n]|=1024,Cs(t)&&nt(t))}function ne(t,r){for(;t>0;)r=r[go],t--;return r}function me(t){return!!(9216&t[$n]||t[qr]?.dirty)}function Be(t){me(t)?nt(t):64&t[$n]&&(Ao()?(t[$n]|=1024,nt(t)):t[Vi].changeDetectionScheduler?.notify())}function nt(t){t[Vi].changeDetectionScheduler?.notify();let r=Nt(t);for(;null!==r&&!(8192&r[$n])&&(r[$n]|=8192,Cs(r));)r=Nt(r)}function yt(t,r){if(256==(256&t[$n]))throw new Qe(911,!1);null===t[_i]&&(t[_i]=[]),t[_i].push(r)}function Pt(t,r){if(null===t[_i])return;const s=t[_i].indexOf(r);-1!==s&&t[_i].splice(s,1)}function Nt(t){const r=t[si];return Gr(r)?r[si]:r}const Vt={lFrame:Ri(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function tr(){return Vt.bindingsEnabled}function vr(){return null!==Vt.skipHydrationRootTNode}function Ai(){Vt.bindingsEnabled=!0}function Ti(){Vt.bindingsEnabled=!1}function vn(){return Vt.lFrame.lView}function wr(){return Vt.lFrame.tView}function Qi(t){return Vt.lFrame.contextLView=t,t[Zr]}function Ii(t){return Vt.lFrame.contextLView=null,t}function ei(){let t=oo();for(;null!==t&&64===t.type;)t=t.parent;return t}function oo(){return Vt.lFrame.currentTNode}function Ye(){const t=Vt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function at(t,r){const s=Vt.lFrame;s.currentTNode=t,s.isParent=r}function R(){return Vt.lFrame.isParent}function ee(){Vt.lFrame.isParent=!1}function ft(){const t=Vt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function xt(){return Vt.lFrame.bindingIndex}function rn(t){return Vt.lFrame.bindingIndex=t}function J(){return Vt.lFrame.bindingIndex++}function We(t){const r=Vt.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,s}function Ue(t){Vt.lFrame.inI18n=t}function _t(t,r){const s=Vt.lFrame;s.bindingIndex=s.bindingRootIndex=t,tn(r)}function tn(t){Vt.lFrame.currentDirectiveIndex=t}function Dn(t){const r=Vt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function gr(){return Vt.lFrame.currentQueryIndex}function yr(t){Vt.lFrame.currentQueryIndex=t}function $r(t){const r=t[wn];return 2===r.type?r.declTNode:1===r.type?t[ai]:null}function Cr(t,r,s){if(s&vt.SkipSelf){let D=r,L=t;for(;!(D=D.parent,null!==D||s&vt.Host||(D=$r(L),null===D||(L=L[go],10&D.type))););if(null===D)return!1;r=D,t=L}const m=Vt.lFrame=Hr();return m.currentTNode=r,m.lView=t,!0}function Qr(t){const r=Hr(),s=t[wn];Vt.lFrame=r,r.currentTNode=s.firstChild,r.lView=t,r.tView=s,r.contextLView=t,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function Hr(){const t=Vt.lFrame,r=null===t?null:t.child;return null===r?Ri(t):r}function Ri(t){const r={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:t,child:null,inI18n:!1};return null!==t&&(t.child=r),r}function eo(){const t=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vo=eo;function gs(){const t=eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function so(){return Vt.lFrame.selectedIndex}function Yo(t){Vt.lFrame.selectedIndex=t}function hi(){const t=Vt.lFrame;return xo(t.tView,t.selectedIndex)}function ss(){Vt.lFrame.currentNamespace=Bn}function $l(){Vt.lFrame.currentNamespace=zi}function Ks(){!function Gl(){Vt.lFrame.currentNamespace=null}()}function el(){return Vt.lFrame.currentNamespace}let tl=!0;function Qs(){return tl}function Os(t){tl=t}function fu(){return Jo(ei(),vn())}function Jo(t,r){return new as(Xi(t,r))}let as=(()=>{class t{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=fu}return t})();function Kl(t){return t instanceof as?t.nativeElement:t}function ls(t){return t.flat(Number.POSITIVE_INFINITY)}function oa(t,r){t.forEach(s=>Array.isArray(s)?oa(s,r):r(s))}function nl(t,r,s){r>=t.length?t.push(s):t.splice(r,0,s)}function Sa(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function sa(t,r){const s=[];for(let m=0;mr;)t[D]=t[D-2],D--;t[r]=s,t[r+1]=m}}function Wo(t,r,s){let m=ca(t,r);return m>=0?t[1|m]=s:(m=~m,Ql(t,m,r,s)),m}function la(t,r){const s=ca(t,r);if(s>=0)return t[1|s]}function ca(t,r){return function rl(t,r,s){let m=0,D=t.length>>s;for(;D!==m;){const L=m+(D-m>>1),$=t[L<r?D=L:m=L+1}return~(D<cn}),cn="ng",nn=new st(""),Zn=new st("",{providedIn:"platform",factory:()=>"unknown"}),xr=new st(""),di=new st(""),vo=new st("",{providedIn:"root",factory:()=>No().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),da={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hs=new st("",{providedIn:"root",factory:()=>da}),ha=qn({__forward_ref__:qn});function to(t){return t.__forward_ref__=to,t.toString=function(){return Bt(this())},t}function Dr(t){return Ha(t)?t():t}function Ha(t){return"function"==typeof t&&t.hasOwnProperty(ha)&&t.__forward_ref__===to}let _u,ll;function tc(t){qt("setInjectorProfilerContext should never be called in production mode");const r=_u;return _u=t,r}function nc(t){return t&&!!t.\u0275providers}function Vr(t){return"string"==typeof t?t:null==t?"":String(t)}function Bi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Vr(t)}function bu(t,r){throw new Qe(-201,!1)}function Ud(){return ll}function zo(t){const r=ll;return ll=t,r}function Hd(t,r,s){const m=Ea(t);return m&&"root"==m.providedIn?void 0===m.value?m.value=m.factory():m.value:s&vt.Optional?null:void 0!==r?r:void bu()}const ul={},Cu="__NG_DI_FLAG__",rc="ngTempTokenPath",xg=/\n/gm,Da="__source";let Zs;function V(t){const r=Zs;return Zs=t,r}function de(t,r=vt.Default){if(void 0===Zs)throw new Qe(-203,!1);return null===Zs?Hd(t,void 0,r):Zs.get(t,r&vt.Optional?null:void 0,r)}function xe(t,r=vt.Default){return(Ud()||de)(Dr(t),r)}function $e(t){throw new Qe(202,!1)}function lt(t,r=vt.Default){return xe(t,Ht(r))}function Ht(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Mn(t){const r=[];for(let s=0;s{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:ga});get(s,m){return void 0!==this.store[s]?this.store[s]:m}set(s,m){this.store[s]=m}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,m){this.onSerializeCallbacks[s]=m}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(m){console.warn("Exception in onSerialize callback: ",m)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,s=!1){let m=t.getAttribute(Eu);if(null==m)return null;const[D,L]=m.split("|");if(m=s?L:D,!m)return null;const ie=s?D:L?`|${L}`:"";let pe={};if(""!==m){const tt=r.get(Mu,null,{optional:!0});null!==tt&&(pe=tt.get(jg,[])[Number(m)])}const Ve={data:pe,firstChild:t.firstChild??null};return s&&(Ve.firstChild=t,Yd(Ve,0,t.nextSibling)),ie?t.setAttribute(Eu,ie):t.removeAttribute(Eu),Ve}function Bg(t,r,s=!1){return ky(t,r,s)}function xy(t){let r=t._lView;return 2===r[wn].type?null:(Gi(r)&&(r=r[ar]),r)}const fl="__ngDebugHydrationInfo__";function Ug(t){return t[fl]??null}function Yd(t,r,s){t.segmentHeads??={},t.segmentHeads[r]=s}function Hg(t,r){return t.segmentHeads?.[r]??null}function Ry(t,r){return t.data[ma]?.[r]??null}function Wd(t,r){const s=Ry(t,r)??[];let m=0;for(let D of s)m+=D[oc]*(D[dl]??1);return m}function zd(t,r){if(typeof t.disconnectedNodes>"u"){const s=t.data[Vd];t.disconnectedNodes=s?new Set(s):null}return!!t.disconnectedNodes?.has(r)}const Si="__annotations__",lc="__parameters__",Ls="__prop__metadata__";function Au(t,r,s,m,D){return Jn(()=>{const L=Vg(r);function $(...ie){if(this instanceof $)return L.call(this,...ie),this;const pe=new $(...ie);return function(tt){return D&&D(tt,...ie),(tt.hasOwnProperty(Si)?tt[Si]:Object.defineProperty(tt,Si,{value:[]})[Si]).push(pe),m&&m(tt),tt}}return s&&($.prototype=Object.create(s.prototype)),$.prototype.ngMetadataName=t,$.annotationCls=$,$})}function Vg(t){return function(...s){if(t){const m=t(...s);for(const D in m)this[D]=m[D]}}}function Ss(t,r,s){return Jn(()=>{const m=Vg(r);function D(...L){if(this instanceof D)return m.apply(this,L),this;const $=new D(...L);return ie.annotation=$,ie;function ie(pe,Ve,tt){const pt=pe.hasOwnProperty(lc)?pe[lc]:Object.defineProperty(pe,lc,{value:[]})[lc];for(;pt.length<=tt;)pt.push(null);return(pt[tt]=pt[tt]||[]).push($),pe}}return s&&(D.prototype=Object.create(s.prototype)),D.prototype.ngMetadataName=t,D.annotationCls=D,D})}function Va(t,r,s,m){return Jn(()=>{const D=Vg(r);function L(...$){if(this instanceof L)return D.apply(this,$),this;const ie=new L(...$);return function pe(Ve,tt){if(void 0===Ve)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const pt=Ve.constructor,Ft=pt.hasOwnProperty(Ls)?pt[Ls]:Object.defineProperty(pt,Ls,{value:{}})[Ls];Ft[tt]=Ft.hasOwnProperty(tt)&&Ft[tt]||[],Ft[tt].unshift(ie),m&&m(Ve,tt,...$)}}return s&&(L.prototype=Object.create(s.prototype)),L.prototype.ngMetadataName=t,L.annotationCls=L,L})}const Ya=rr(Ss("Inject",t=>({token:t})),-1),$d=rr(Ss("Optional"),8),Tu=rr(Ss("Self"),2),Gd=rr(Ss("SkipSelf"),4),Kd=rr(Ss("Host"),1);function gl(t,r){return t.hasOwnProperty(or)?t[or]:null}const Ps=new st(""),Qd=new st("",-1),Yg=new st("");class Zd{get(r,s=ul){if(s===ul){const m=new Error(`NullInjectorError: No provider for ${Bt(r)}!`);throw m.name="NullInjectorError",m}return s}}function Iu(t){return{\u0275providers:t}}function ds(...t){return{\u0275providers:Wg(0,t),\u0275fromNgModule:!0}}function Wg(t,...r){const s=[],m=new Set;let D;const L=$=>{s.push($)};return oa(r,$=>{const ie=$;Jd(ie,L,[],m)&&(D||=[],D.push(ie))}),void 0!==D&&Xd(D,L),s}function Xd(t,r){for(let s=0;s{r(L,m)})}}function Jd(t,r,s,m){if(!(t=Dr(t)))return!1;let D=null,L=oe(t);const $=!L&&ln(t);if(L||$){if($&&!$.standalone)return!1;D=t}else{const pe=t.ngModule;if(L=oe(pe),!L)return!1;D=pe}const ie=m.has(D);if($){if(ie)return!1;if(m.add(D),$.dependencies){const pe="function"==typeof $.dependencies?$.dependencies():$.dependencies;for(const Ve of pe)Jd(Ve,r,s,m)}}else{if(!L)return!1;{if(null!=L.imports&&!ie){let Ve;m.add(D);try{oa(L.imports,tt=>{Jd(tt,r,s,m)&&(Ve||=[],Ve.push(tt))})}finally{}void 0!==Ve&&Xd(Ve,r)}if(!ie){const Ve=gl(D)||(()=>new D);r({provide:D,useFactory:Ve,deps:Xn},D),r({provide:Yg,useValue:D,multi:!0},D),r({provide:Ps,useValue:()=>xe(D),multi:!0},D)}const pe=L.providers;if(null!=pe&&!ie){const Ve=t;zg(pe,tt=>{r(tt,Ve)})}}}return D!==t&&void 0!==t.providers}function zg(t,r){for(let s of t)nc(s)&&(s=s.\u0275providers),Array.isArray(s)?zg(s,r):r(s)}const Fy=qn({provide:String,useValue:qn});function $g(t){return null!==t&&"object"==typeof t&&Fy in t}function ml(t){return"function"==typeof t}const qd=new st(""),eh={},tD={};let Gg;function Aa(){return void 0===Gg&&(Gg=new Zd),Gg}class Js{}class cc extends Js{get destroyed(){return this._destroyed}constructor(r,s,m,D){super(),this.parent=s,this.source=m,this.scopes=D,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zg(r,$=>this.processProvider($)),this.records.set(Qd,uc(void 0,this)),D.has("environment")&&this.records.set(Js,uc(void 0,this));const L=this.records.get(qd);null!=L&&"string"==typeof L.value&&this.scopes.add(L.value),this.injectorDefTypes=new Set(this.get(Yg,Xn,vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const s=V(this),m=zo(void 0);try{return r()}finally{V(s),zo(m)}}get(r,s=ul,m=vt.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Pr))return r[Pr](this);m=Ht(m);const L=V(this),$=zo(void 0);try{if(!(m&vt.SkipSelf)){let pe=this.records.get(r);if(void 0===pe){const Ve=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof st}(r)&&Ea(r);pe=Ve&&this.injectableDefInScope(Ve)?uc(Kg(r),eh):null,this.records.set(r,pe)}if(null!=pe)return this.hydrate(r,pe)}return(m&vt.Self?Aa():this.parent).get(r,s=m&vt.Optional&&s===ul?null:s)}catch(ie){if("NullInjectorError"===ie.name){if((ie[rc]=ie[rc]||[]).unshift(Bt(r)),L)throw ie;return function fi(t,r,s,m){const D=t[rc];throw r[Da]&&D.unshift(r[Da]),t.message=function us(t,r,s,m=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let D=Bt(r);if(Array.isArray(r))D=r.map(Bt).join(" -> ");else if("object"==typeof r){let L=[];for(let $ in r)if(r.hasOwnProperty($)){let ie=r[$];L.push($+":"+("string"==typeof ie?JSON.stringify(ie):Bt(ie)))}D=`{${L.join(", ")}}`}return`${s}${m?"("+m+")":""}[${D}]: ${t.replace(xg,"\n ")}`}("\n"+t.message,D,s,m),t.ngTokenPath=D,t[rc]=null,t}(ie,r,"R3InjectorError",this.source)}throw ie}finally{zo($),V(L)}}resolveInjectorInitializers(){const r=V(this),s=zo(void 0);try{const D=this.get(Ps,Xn,vt.Self);for(const L of D)L()}finally{V(r),zo(s)}}toString(){const r=[],s=this.records;for(const m of s.keys())r.push(Bt(m));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processProvider(r){let s=ml(r=Dr(r))?r:Dr(r&&r.provide);const m=function nD(t){return $g(t)?uc(void 0,t.useValue):uc(nh(t),eh)}(r);if(!ml(r)&&!0===r.multi){let D=this.records.get(s);D||(D=uc(void 0,eh,!0),D.factory=()=>Mn(D.multi),this.records.set(s,D)),s=r,D.multi.push(r)}this.records.set(s,m)}hydrate(r,s){return s.value===eh&&(s.value=tD,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Qg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=Dr(r.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(r){const s=this._onDestroyHooks.indexOf(r);-1!==s&&this._onDestroyHooks.splice(s,1)}}function Kg(t){const r=Ea(t),s=null!==r?r.factory:gl(t);if(null!==s)return s;if(t instanceof st)throw new Qe(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new Qe(204,!1);const s=function ms(t){return t&&(t[be]||t[Me])||null}(t);return null!==s?()=>s.factory(t):()=>new t}(t);throw new Qe(204,!1)}function nh(t,r,s){let m;if(ml(t)){const D=Dr(t);return gl(D)||Kg(D)}if($g(t))m=()=>Dr(t.useValue);else if(function Ny(t){return!(!t||!t.useFactory)}(t))m=()=>t.useFactory(...Mn(t.deps||[]));else if(function Pu(t){return!(!t||!t.useExisting)}(t))m=()=>xe(Dr(t.useExisting));else{const D=Dr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return gl(D)||Kg(D);m=()=>new D(...Mn(t.deps))}return m}function uc(t,r,s=!1){return{factory:t,value:r,multi:s?[]:void 0}}function Zg(t,r){for(const s of t)Array.isArray(s)?Zg(s,r):s&&nc(s)?Zg(s.\u0275providers,r):r(s)}function Xg(t,r){t instanceof cc&&t.assertNotDestroyed();const m=V(t),D=zo(void 0);try{return r()}finally{V(m),zo(D)}}function pl(t){if(!Ud()&&!function Ci(){return Zs}())throw new Qe(-203,!1)}var _l=function(t){return t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule",t}(_l||{});function qo(t){const r=xn.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const By={\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275inject:xe,\u0275\u0275invalidFactoryDep:$e,resolveForwardRef:Dr},rh=Function;function dc(t){return"function"==typeof t}const sD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Vs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,aD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,za=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Uy{constructor(r){this._reflect=r||xn.Reflect}factory(r){return(...s)=>new r(...s)}_zipTypesAndAnnotations(r,s){let m;m=sa(typeof r>"u"?s.length:r.length);for(let D=0;D"u"?[]:r[D]&&r[D]!=Object?[r[D]]:[],s&&null!=s[D]&&(m[D]=m[D].concat(s[D]));return m}_ownParameters(r,s){if(function lD(t){return sD.test(t)||za.test(t)||Vs.test(t)&&!aD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==s.parameters)return r.parameters;const D=r.ctorParameters;if(D&&D!==s.ctorParameters){const ie="function"==typeof D?D():D,pe=ie.map(tt=>tt&&tt.type),Ve=ie.map(tt=>tt&&Jg(tt.decorators));return this._zipTypesAndAnnotations(pe,Ve)}const L=r.hasOwnProperty(lc)&&r[lc],$=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return $||L?this._zipTypesAndAnnotations($,L):sa(r.length)}parameters(r){if(!dc(r))return[];const s=ih(r);let m=this._ownParameters(r,s);return!m&&s!==Object&&(m=this.parameters(s)),m||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let m=r.annotations;return"function"==typeof m&&m.annotations&&(m=m.annotations),m}return r.decorators&&r.decorators!==s.decorators?Jg(r.decorators):r.hasOwnProperty(Si)?r[Si]:null}annotations(r){if(!dc(r))return[];const s=ih(r),m=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(m)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let m=r.propMetadata;return"function"==typeof m&&m.propMetadata&&(m=m.propMetadata),m}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const m=r.propDecorators,D={};return Object.keys(m).forEach(L=>{D[L]=Jg(m[L])}),D}return r.hasOwnProperty(Ls)?r[Ls]:null}propMetadata(r){if(!dc(r))return{};const s=ih(r),m={};if(s!==Object){const L=this.propMetadata(s);Object.keys(L).forEach($=>{m[$]=L[$]})}const D=this._ownPropMetadata(r,s);return D&&Object.keys(D).forEach(L=>{const $=[];m.hasOwnProperty(L)&&$.push(...m[L]),$.push(...D[L]),m[L]=$}),m}ownPropMetadata(r){return dc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,s){return r instanceof rh&&s in r.prototype}}function Jg(t){return t?t.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function ih(t){const r=t.prototype?Object.getPrototypeOf(t.prototype):null;return(r?r.constructor:null)||Object}class Hy{constructor(r,s,m){this.previousValue=r,this.currentValue=s,this.firstChange=m}isFirstChange(){return this.firstChange}}function Vy(t,r,s,m){null!==r?r.applyValueToInputSignal(r,m):t[s]=m}function qg(){return Yy}function Yy(t){return t.type.prototype.ngOnChanges&&(t.setInput=hc),cD}function cD(){const t=zy(this),r=t?.current;if(r){const s=t.previous;if(s===pr)t.previous=r;else for(let m in r)s[m]=r[m];t.current=null,this.ngOnChanges(r)}}function hc(t,r,s,m,D){const L=this.declaredInputs[m],$=zy(t)||function $y(t,r){return t[Wy]=r}(t,{previous:pr,current:null}),ie=$.current||($.current={}),pe=$.previous,Ve=pe[L];ie[L]=new Hy(Ve&&Ve.currentValue,s,pe===pr),Vy(t,r,D,s)}qg.ngInherit=!0;const Wy="__ngSimpleChanges__";function zy(t){return t[Wy]||null}const pa=function(t,r,s){};function oh(t,r){for(let s=r.directiveStart,m=r.directiveEnd;s=m)break}else r[pe]<0&&(t[qi]+=65536),(ie>14>16&&(3&t[$n])===r&&(t[$n]+=16384,tm(ie,L)):tm(ie,L)}const vl=-1;class xu{constructor(r,s,m){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=m}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function nm(t){return t!==vl}function Ou(t){return 32767&t}function Lu(t,r){let s=function qs(t){return t>>16}(t),m=r;for(;s>0;)m=m[go],s--;return m}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Zy=255,uh=5;let mD=0;const Ys={};function gc(t,r){const s=Xy(t,r);if(-1!==s)return s;const m=r[wn];m.firstCreatePass&&(t.injectorIndex=r.length,im(m.data,t),im(r,null),im(m.blueprint,null));const D=dh(t,r),L=t.injectorIndex;if(nm(D)){const $=Ou(D),ie=Lu(D,r),pe=ie[wn].data;for(let Ve=0;Ve<8;Ve++)r[L+Ve]=ie[$+Ve]|pe[$+Ve]}return r[L+8]=D,L}function im(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Xy(t,r){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===r[t.injectorIndex+8]?-1:t.injectorIndex}function dh(t,r){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let s=0,m=null,D=r;for(;null!==D;){if(m=sb(D),null===m)return vl;if(s++,D=D[go],-1!==m.injectorIndex)return m.injectorIndex|s<<16}return vl}function om(t,r,s){!function pD(t,r,s){let m;"string"==typeof s?m=s.charCodeAt(0)||0:s.hasOwnProperty(ui)&&(m=s[ui]),null==m&&(m=s[ui]=mD++);const D=m&Zy;r.data[t+(D>>uh)]|=1<=0?r&Zy:ib:r}(s);if("function"==typeof L){if(!Cr(r,t,m))return m&vt.Host?Jy(D,0,m):qy(r,s,m,D);try{let $;if($=L(m),null!=$||m&vt.Optional)return $;bu()}finally{Vo()}}else if("number"==typeof L){let $=null,ie=Xy(t,r),pe=vl,Ve=m&vt.Host?r[Jr][ai]:null;for((-1===ie||m&vt.SkipSelf)&&(pe=-1===ie?dh(t,r):r[ie+8],pe!==vl&&rb(m,!1)?($=r[wn],ie=Ou(pe),r=Lu(pe,r)):ie=-1);-1!==ie;){const tt=r[wn];if(nb(L,ie,tt.data)){const pt=vD(ie,r,s,$,m,Ve);if(pt!==Ys)return pt}pe=r[ie+8],pe!==vl&&rb(m,r[wn].data[ie+8]===Ve)&&nb(L,ie,r)?($=tt,ie=Ou(pe),r=Lu(pe,r)):ie=-1}}return D}function vD(t,r,s,m,D,L){const $=r[wn],ie=$.data[t+8],tt=hh(ie,$,s,null==m?Oi(ie)&&lh:m!=$&&0!=(3&ie.type),D&vt.Host&&L===ie);return null!==tt?Ta(r,$,tt,ie):Ys}function hh(t,r,s,m,D){const L=t.providerIndexes,$=r.data,ie=1048575&L,pe=t.directiveStart,tt=L>>20,Ft=D?ie+tt:t.directiveEnd;for(let zt=m?ie:ie+tt;zt=pe&&hn.type===s)return zt}if(D){const zt=$[pe];if(zt&&Li(zt)&&zt.type===s)return pe}return null}function Ta(t,r,s,m){let D=t[s];const L=r.data;if(function Qy(t){return t instanceof xu}(D)){const $=D;$.resolving&&function Bd(t,r){throw r&&r.join(" > "),new Qe(-200,t)}(Bi(L[s]));const ie=ch($.canSeeViewProviders);$.resolving=!0;const Ve=$.injectImpl?zo($.injectImpl):null;Cr(t,m,vt.Default);try{D=t[s]=$.factory(void 0,L,t,m),r.firstCreatePass&&s>=m.directiveStart&&function dD(t,r,s){const{ngOnChanges:m,ngOnInit:D,ngDoCheck:L}=r.type.prototype;if(m){const $=Yy(r);(s.preOrderHooks??=[]).push(t,$),(s.preOrderCheckHooks??=[]).push(t,$)}D&&(s.preOrderHooks??=[]).push(0-t,D),L&&((s.preOrderHooks??=[]).push(t,L),(s.preOrderCheckHooks??=[]).push(t,L))}(s,L[s],r)}finally{null!==Ve&&zo(Ve),ch(ie),$.resolving=!1,Vo()}}return D}function nb(t,r,s){return!!(s[r+(t>>uh)]&1<{const r=t.prototype.constructor,s=r[or]||sm(r),m=Object.prototype;let D=Object.getPrototypeOf(t.prototype).constructor;for(;D&&D!==m;){const L=D[or]||sm(D);if(L&&L!==s)return L;D=Object.getPrototypeOf(D)}return L=>new L})}function sm(t){return Ha(t)?()=>{const r=sm(Dr(t));return r&&r()}:gl(t)}function sb(t){const r=t[wn],s=r.type;return 2===s?r.declTNode:1===s?t[ai]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const s=t.attrs;if(s){const m=s.length;let D=0;for(;D({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let ab=null;function lm(){return ab=ab||new Uy}function gh(t){return lb(lm().parameters(t))}function lb(t){return t.map(r=>function cb(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let s=0;sfunction CD(t,r){let s=null,m=null;t.hasOwnProperty(be)||Object.defineProperty(t,be,{get:()=>(null===s&&(s=qo().compileInjectable(By,`ng:///${t.name}/\u0275prov.js`,function SD(t,r){const s=r||{providedIn:null},m={name:t.name,type:t,typeArgumentCount:0,providedIn:s.providedIn};return(cm(s)||hb(s))&&void 0!==s.deps&&(m.deps=lb(s.deps)),cm(s)?m.useClass=s.useClass:function db(t){return ub in t}(s)?m.useValue=s.useValue:hb(s)?m.useFactory=s.useFactory:function fb(t){return void 0!==t.useExisting}(s)&&(m.useExisting=s.useExisting),m}(t,r))),s)}),t.hasOwnProperty(or)||Object.defineProperty(t,or,{get:()=>{if(null===m){const D=qo();m=D.compileFactory(By,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Injectable})}return m},configurable:!0})}(t,r));function mh(t,r=null,s=null,m){const D=mb(t,r,s,m);return D.resolveInjectorInitializers(),D}function mb(t,r=null,s=null,m,D=new Set){const L=[s||Xn,ds(t)];return m=m||("object"==typeof t?void 0:Bt(t)),new cc(L,r||Aa(),m||null,D)}let Rs=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=ul;static#t=this.NULL=new Zd;static create(s,m){if(Array.isArray(s))return mh({name:""},m,s,"");{const D=s.name??"";return mh({name:D},s.parent,s.providers,D)}}static#n=this.\u0275prov=ni({token:t,providedIn:"any",factory:()=>xe(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Fs{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r);this._console.error("ERROR",r),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&ph(r);for(;s&&ph(s);)s=ph(s);return s||null}}const _b=new st("",{providedIn:"root",factory:()=>lt(Fs).handleError.bind(void 0)}),_c=new st(""),um=new st("",{providedIn:"root",factory:()=>!1});let Ru,vh;function _h(){if(void 0===Ru&&(Ru=null,xn.trustedTypes))try{Ru=xn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}function yl(t){return _h()?.createHTML(t)||t}function dm(){if(void 0===vh&&(vh=null,xn.trustedTypes))try{vh=xn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function yb(t){return dm()?.createHTML(t)||t}function bb(t){return dm()?.createScript(t)||t}function Cb(t){return dm()?.createScriptURL(t)||t}class bl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bt})`}}class hm extends bl{getTypeName(){return"HTML"}}class DD extends bl{getTypeName(){return"Style"}}class AD extends bl{getTypeName(){return"Script"}}class TD extends bl{getTypeName(){return"URL"}}class vc extends bl{getTypeName(){return"ResourceURL"}}function Ia(t){return t instanceof bl?t.changingThisBreaksApplicationSecurity:t}function Cl(t,r){const s=Sb(t);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see ${bt})`)}return s===r}function Sb(t){return t instanceof bl&&t.getTypeName()||null}function Mb(t){return new hm(t)}function ID(t){return new DD(t)}function PD(t){return new AD(t)}function kD(t){return new TD(t)}function fm(t){return new vc(t)}function Eb(t){const r=new xD(t);return function gm(){try{return!!(new window.DOMParser).parseFromString(yl(""),"text/html")}catch{return!1}}()?new wb(r):r}class wb{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(yl(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const s=this.inertDocument.createElement("template");return s.innerHTML=yl(r),s}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Pa(t){const r={};for(const s of t.split(","))r[s]=!0;return r}function yc(...t){const r={};for(const s of t)for(const m in s)s.hasOwnProperty(m)&&(r[m]=!0);return r}const Db=Pa("area,br,col,hr,img,wbr"),$a=Pa("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ab=Pa("rp,rt"),mm=yc(Db,yc($a,Pa("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")),yc(Ab,Pa("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")),yc(Ab,$a)),pm=Pa("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tb=yc(pm,Pa("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"),Pa("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")),RD=Pa("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let s=r.firstChild,m=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?m=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,m&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let D=this.checkClobberedElement(s,s.nextSibling);if(D){s=D;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(r){const s=r.nodeName.toLowerCase();if(!mm.hasOwnProperty(s))return this.sanitizedSomething=!0,!RD.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const m=r.attributes;for(let D=0;D"),!0}endElement(r){const s=r.nodeName.toLowerCase();mm.hasOwnProperty(s)&&!Db.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(Sl(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jD=/([^\#-~ |!])/g;function Sl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(jD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let ka;function Ib(t,r){let s=null;try{ka=ka||Eb(t);let m=r?String(r):"";s=ka.getInertBodyElement(m);let D=5,L=m;do{if(0===D)throw new Error("Failed to sanitize html because the input is unstable");D--,m=L,L=s.innerHTML,s=ka.getInertBodyElement(m)}while(m!==L);return yl((new FD).sanitizeChildren(bh(s)||s))}finally{if(s){const m=bh(s)||s;for(;m.firstChild;)m.removeChild(m.firstChild)}}}function bh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ml=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ml||{});function _m(t){const r=Fu();return r?yb(r.sanitize(Ml.HTML,t)||""):Cl(t,"HTML")?yb(Ia(t)):Ib(No(),Vr(t))}function vm(t){const r=Fu();return r?r.sanitize(Ml.STYLE,t)||"":Cl(t,"Style")?Ia(t):Vr(t)}function ym(t){const r=Fu();return r?r.sanitize(Ml.URL,t)||"":Cl(t,"URL")?Ia(t):yh(Vr(t))}function Ch(t){const r=Fu();if(r)return Cb(r.sanitize(Ml.RESOURCE_URL,t)||"");if(Cl(t,"ResourceURL"))return Cb(Ia(t));throw new Qe(904,!1)}function bm(t){const r=Fu();if(r)return bb(r.sanitize(Ml.SCRIPT,t)||"");if(Cl(t,"Script"))return bb(Ia(t));throw new Qe(905,!1)}function Pb(t){return yl(t[0])}function Cm(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function xa(t,r,s){return function UD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:ym}(r,s)(t)}function Fu(){const t=vn();return t&&t[Vi].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Mh=new Map;let GD=0;function Mm(t){return Mh.get(t)||null}class Eh{get lView(){return Mm(this.lViewId)}constructor(r,s,m){this.lViewId=r,this.nodeIndex=s,this.native=m}}function Ms(t){let r=El(t);if(r){if(Ni(r)){const s=r;let m,D,L;if(wl(t)){if(m=function Em(t,r){const s=t[wn].components;if(s)for(let m=0;m=0){const ie=Ur(L[$]),pe=Nu(L,$,ie);_s(ie,pe),r=pe;break}}}}return r||null}function Nu(t,r,s){return new Eh(t[Rr],r,s)}const ju="__ngContext__";function _s(t,r){Ni(r)?(t[ju]=r[Rr],function QD(t){Mh.set(t[Rr],t)}(r)):t[ju]=r}function El(t){const r=t[ju];return"number"==typeof r?Mm(r):r||null}function wl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Rb(t,r){const s=t[wn];for(let m=ar;mr.replace(kb,VD))}(r))}function Ih(t,r,s){return t.createElement(r,s)}function $b(t,r){Lh(t,r,r[hr],2,null,null)}function Rm(t,r){const s=t[po],m=s.indexOf(r);s.splice(m,1)}function Bu(t,r){if(t.length<=Wr)return;const s=Wr+r,m=t[s];if(m){const D=m[Wi];null!==D&&D!==t&&Rm(D,m),r>0&&(t[s-1][Ir]=m[Ir]);const L=Sa(t,Wr+r);!function iA(t,r){$b(t,r),r[_r]=null,r[ai]=null}(m[wn],m);const $=L[ro];null!==$&&$.detachView(L[wn]),m[si]=null,m[Ir]=null,m[$n]&=-129}return m}function Ph(t,r){if(!(256&r[$n])){const s=r[hr];s.destroyNode&&Lh(t,r,s,3,null,null),function sA(t){let r=t[Yi];if(!r)return Fm(t[wn],t);for(;r;){let s=null;if(Ni(r))s=r[Yi];else{const m=r[Wr];m&&(s=m)}if(!s){for(;r&&!r[Ir]&&r!==t;)Ni(r)&&Fm(r[wn],r),r=r[si];null===r&&(r=t),Ni(r)&&Fm(r[wn],r),s=r&&r[Ir]}r=s}}(r)}}function Fm(t,r){if(!(256&r[$n])){r[$n]&=-129,r[$n]|=256,r[qr]&&O(r[qr]),function cA(t,r){let s;if(null!=t&&null!=(s=t.destroyHooks))for(let m=0;m=0?m[$]():m[-$].unsubscribe(),L+=2}else s[L].call(m[s[L+1]]);null!==m&&(r[ti]=null);const D=r[_i];if(null!==D){r[_i]=null;for(let L=0;L-1){const{encapsulation:L}=t.data[m.directiveStart+D];if(L===br.None||L===br.Emulated)return null}return Xi(m,s)}}function Al(t,r,s,m,D){t.insertBefore(r,s,m,D)}function Qb(t,r,s){t.appendChild(r,s)}function Nm(t,r,s,m,D){null!==m?Al(t,r,s,m,D):Qb(t,r,s)}function kh(t,r){return t.parentNode(r)}function Xb(t,r,s){return Jb(t,r,s)}function jm(t,r,s){return 40&t.type?Xi(t,s):null}let Bm,Jb=jm;function qb(t,r){Jb=t,Bm=r}function xh(t,r,s,m){const D=Uu(t,m,r),L=r[hr],ie=Xb(m.parent||r[ai],m,r);if(null!=D)if(Array.isArray(s))for(let pe=0;pear&&s0(t,r,ar,!1),pa($?2:0,D),s(m,D)}finally{Yo(L),pa($?3:1,D)}}function Rh(t,r,s){if(Lo(r)){const m=u(null);try{const L=r.directiveEnd;for(let $=r.directiveStart;$null;function bA(t){Jl(t)?Hm(t):function Xw(t){const r=No(),s=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(L){const $=function Zw(t){return t.textContent?.replace(/\s/gm,"")}(L);return"ngetn"===$||"ngtns"===$?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let m;const D=[];for(;m=s.nextNode();)D.push(m);for(const L of D)"ngetn"===L.textContent?L.replaceWith(r.createTextNode("")):L.remove()}(t)}function Nh(t,r,s,m,D){for(let L in r){if(!r.hasOwnProperty(L))continue;const $=r[L];if(void 0===$)continue;m??={};let ie,pe=ct.None;Array.isArray($)?(ie=$[0],pe=$[1]):ie=$;let Ve=L;if(null!==D){if(!D.hasOwnProperty(L))continue;Ve=D[L]}0===t?h0(m,s,Ve,ie,pe):h0(m,s,Ve,ie)}return m}function h0(t,r,s,m,D){let L;t.hasOwnProperty(s)?(L=t[s]).push(r,m):L=t[s]=[r,m],void 0!==D&&L.push(D)}function Es(t,r,s,m,D,L,$,ie){const pe=Xi(r,s);let tt,Ve=r.inputs;!ie&&null!=Ve&&(tt=Ve[m])?(Zm(t,s,tt,m,D),Oi(r)&&function EA(t,r){const s=Di(r,t);16&s[$n]||(s[$n]|=64)}(s,r.index)):3&r.type&&(m=function MA(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(m),D=null!=$?$(D,r.value||"",m):D,L.setProperty(pe,m,D))}function $m(t,r,s,m){if(tr()){const D=null===m?null:{"":-1},L=function Vu(t,r){const s=t.directiveRegistry;let m=null,D=null;if(s)for(let L=0;L0;){const s=t[--r];if("number"==typeof s&&s<0)return s}return 0})($)!=ie&&$.push(ie),$.push(s,m,L)}}(t,r,m,Hu(t,s,D.hostVars,ri),D)}function va(t,r,s,m,D,L){const $=Xi(t,r);wc(r[hr],$,L,t.value,s,m,D)}function wc(t,r,s,m,D,L,$){if(null==L)t.removeAttribute(r,D,s);else{const ie=null==$?Vr(L):$(L,m||"",D);t.setAttribute(r,D,ie,s)}}function kA(t,r,s,m,D,L){const $=L[r];if(null!==$)for(let ie=0;ie<$.length;)l0(m,s,$[ie++],$[ie++],$[ie++],$[ie++])}function xA(t,r,s){let m=null,D=0;for(;D0&&(s[D-1][Ir]=r),m{nt(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}};function $u(t){return D0(t[Yi])}function w0(t){return D0(t[Ir])}function D0(t){for(;null!==t&&!Gr(t);)t=t[Ir];return t}function Ac(t,r=!0,s=0){const m=t[Vi],D=m.rendererFactory;D.begin?.();try{!function NA(t,r){ip(t,r);let s=0;for(;me(t);){if(100===s)throw new Qe(103,!1);s++,ip(t,1)}}(t,s)}catch($){throw r&&Vh(t,$),$}finally{D.end?.(),m.inlineEffectRunner?.flush()}}function BA(t,r,s,m){const D=r[$n];if(256==(256&D))return;r[Vi].inlineEffectRunner?.flush(),Qr(r);let $=null,ie=null;(function np(t){return 2!==t.type})(t)&&(ie=function Yh(t){return t[qr]??function LA(t){const r=tp.pop()??Object.create(RA);return r.lView=t,r}(t)}(r),$=M(ie));try{fs(r),rn(t.bindingStartIndex),null!==s&&c0(t,r,s,2,m);const pe=3==(3&D);if(pe){const pt=t.preOrderCheckHooks;null!==pt&&sh(r,pt,null)}else{const pt=t.preOrderHooks;null!==pt&&fc(r,pt,0,null),ku(r,0)}if(function I0(t){for(let r=$u(t);null!==r;r=w0(r)){if(!(r[$n]&bo.HasTransplantedViews))continue;const s=r[po];for(let m=0;m-1&&(Bu(r,m),Sa(s,m))}this._attachedToViewContainer=!1}Ph(this._lView[wn],this._lView)}onDestroy(r){yt(this._lView,r)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[$n]&=-129}reattach(){Be(this._lView),this._lView[$n]|=128}detectChanges(){this._lView[$n]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,$b(this._lView[wn],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new Qe(902,!1);this._appRef=r,Be(this._lView)}}let Ku=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=VA}return t})();const Wh=Ku,HA=class extends Wh{constructor(r,s,m){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=m}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,s){return this.createEmbeddedViewImpl(r,s)}createEmbeddedViewImpl(r,s,m){const D=Yu(this._declarationLView,this._declarationTContainer,r,{injector:s,dehydratedView:m});return new Tl(D)}};function VA(){return zh(ei(),vn())}function zh(t,r){return 4&t.type?new HA(r,t,Jo(t,r)):null}const $h="<-- AT THIS LOCATION";function $A(t){const m=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function Gh(t){const r=" ";let s="";const m=t;return m.previousSibling&&(s+=" \u2026\n",s+=r+Tc(m.previousSibling)+"\n"),s+=r+Tc(m)+` ${$h}\n`,t.nextSibling&&(s+=" \u2026\n"),t.parentNode&&(s=Tc(m.parentNode,"\n"+s)),s}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new Qe(-503,m)}const KA=new Set(["ngh","ng-version","ng-server-context"]);function op(t,r="\u2026"){switch(t.type){case 1:return"#text"+(t.value?`(${t.value})`:"");case 2:const m=function GA(t){const r=[];if(t.attrs)for(let s=0;s${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function YA(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(t.type)})`}}function Tc(t,r="\u2026"){const s=t;switch(s.nodeType){case Node.ELEMENT_NODE:const m=s.tagName.toLowerCase(),D=function O0(t){const r=[];for(let s=0;s${r}`;case Node.TEXT_NODE:const L=s.textContent?Ic(s.textContent):"";return"#text"+(L?`(${L})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Ic(s.textContent??"")} --\x3e`;default:return`#node(${s.nodeType})`}}function Ic(t,r=50){return t?(t=function QA(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function R0(t){const r=t[wi]??[],m=t[si][hr];for(const D of r)ZA(D,m);t[wi]=Xn}function ZA(t,r){let s=0,m=t.firstChild;if(m){const D=t.data[oc];for(;s0&&s[D-1]===m?s[D]=(s[D]||1)+1:s.push(m,"")}return s.join("")}(s,m)}function j0(t,r){let m,D,L,s=t.parent;for(;null!==s&&Xu(s,r);)s=s.parent;null!==s&&3&s.type?(m=s.index,D=Ur(r[m]),L=Vr(m-ar)):(m=L=Og,D=r[Jr][_r]);let $=Ur(r[t.index]);if(12&t.type){const pe=Mc(r,t);pe&&($=pe)}let ie=N0(D,$,L);if(null===ie&&D!==$&&(ie=N0(D.ownerDocument.body,$,Lg),null===ie))throw function zA(t,r){const m=`${function sp(t,r,s){const m=" ";let D="";r.prev?(D+=" \u2026\n",D+=m+op(r.prev)+"\n"):r.type&&12&r.type&&(D+=" \u2026\n"),s?(D+=m+op(r)+"\n",D+=m+`\x3c!-- container --\x3e ${$h}\n`):D+=m+op(r)+` ${$h}\n`,D+=" \u2026\n";const L=r.type?Uu(t[wn],r,t):null;return L&&(D=Tc(L,"\n"+D)),D}(t,r,!1)}\n\n`,D=function Qu(t){return`To fix this problem:\n * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new Qe(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+m+D)}(r,t);return ie}let up=()=>null;function r1(t,r){const s=t[wi];return r&&null!==s&&0!==s.length?s[0].data[hl]===r?s.shift():(R0(t),null):null}function Il(t,r){return up(t,r)}class hp{}class Xh{}class Ju{}class o1{resolveComponentFactory(r){throw function i1(t){const r=Error(`No component factory found for ${Bt(t)}.`);return r.ngComponent=t,r}(r)}}let qu=(()=>{class t{static#e=this.NULL=new o1}return t})();class B0{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function s1(){const t=vn(),s=Di(ei().index,t);return(Ni(s)?s:t)[hr]}()}return t})(),gp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>null})}return t})();const ed={};function mp(t){return"function"==typeof t&&void 0!==t[e]}const U0=new Set;function Ws(t){U0.has(t)||(U0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function a1(t,r){Ws("NgSignals");const s=N(t);return r?.equal&&(s[e].equal=r.equal),s}function l1(t){return null}function Io(t,r){Ws("NgSignals");const s=function X(t){const r=Object.create(_e);r.value=t;const s=()=>(C(r),r.value);return s[e]=r,s}(t),m=s[e];return r?.equal&&(m.equal=r.equal),s.set=D=>q(m,D),s.update=D=>function he(t,r){y()||K(),q(t,r(t.value))}(m,D),s.asReadonly=c1.bind(s),s}function c1(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Jh(t){return mp(t)&&"function"==typeof t.set}function u1(t){const r=u(null);try{return t()}finally{u(r)}}function qh(t){return!!td(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function td(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new W0(r)}}const h1=(t,r)=>r;class W0{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||h1}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,m=this._removalsHead,D=0,L=null;for(;s||m;){const $=!m||s&&s.currentIndex{$=this._trackByFn(D,ie),null!==s&&Object.is(s.trackById,$)?(m&&(s=this._verifyReinsertion(s,ie,$,D)),Object.is(s.item,ie)||this._addIdentityChange(s,ie)):(s=this._mismatch(s,ie,$,D),m=!0),s=s._next,D++}),this.length=D;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,m,D){let L;return null===r?L=this._itTail:(L=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,L,D)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(m,D))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,L,D)):r=this._addAfter(new _p(s,m),L,D),r}_verifyReinsertion(r,s,m,D){let L=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null);return null!==L?r=this._reinsertAfter(L,r._prev,D):r.currentIndex!=D&&(r.currentIndex=D,this._addToMoves(r,D)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}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(r,s,m){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const D=r._prevRemoved,L=r._nextRemoved;return null===D?this._removalsHead=L:D._nextRemoved=L,null===L?this._removalsTail=D:L._prevRemoved=D,this._insertAfter(r,s,m),this._addToMoves(r,m),r}_moveAfter(r,s,m){return this._unlink(r),this._insertAfter(r,s,m),this._addToMoves(r,m),r}_addAfter(r,s,m){return this._insertAfter(r,s,m),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,m){const D=null===s?this._itHead:s._next;return r._next=D,r._prev=s,null===D?this._itTail=r:D._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=m,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,m=r._next;return null===s?this._itHead=m:s._next=m,null===m?this._itTail=s:m._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vp),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,s){this.item=r,this.trackById=s,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class f1{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let m;for(m=this._head;null!==m;m=m._nextDup)if((null===s||s<=m.currentIndex)&&Object.is(m.trackById,r))return m;return null}remove(r){const s=r._prevDup,m=r._nextDup;return null===s?this._head=m:s._nextDup=m,null===m?this._tail=s:m._prevDup=s,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const s=r.trackById;let m=this.map.get(s);m||(m=new f1,this.map.set(s,m)),m.add(r)}get(r,s){const D=this.map.get(r);return D?D.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function z0(t,r,s){const m=t.previousIndex;if(null===m)return m;let D=0;return s&&m{if(s&&s.key===D)this._maybeAddToChanges(s,m),this._appendAfter=s,s=s._next;else{const L=this._getOrCreateRecordForKey(D,m);s=this._insertBeforeOrAppend(s,L)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let m=s;null!==m;m=m._nextRemoved)m===this._mapHead&&(this._mapHead=null),this._records.delete(m.key),m._nextRemoved=m._next,m.previousValue=m.currentValue,m.currentValue=null,m._prev=null,m._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const m=r._prev;return s._next=r,s._prev=m,r._prev=s,m&&(m._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const D=this._records.get(r);this._maybeAddToChanges(D,s);const L=D._prev,$=D._next;return L&&(L._next=$),$&&($._prev=L),D._next=null,D._prev=null,D}const m=new g1(r);return this._records.set(r,m),m.currentValue=s,this._addToAdditions(m),m}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(m=>s(r[m],m))}}class g1{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yp(){return new bp([new pp])}let bp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:yp});constructor(s){this.factories=s}static create(s,m){if(null!=m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||yp()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(null!=m)return m;throw new Qe(901,!1)}}return t})();function K0(){return new nd([new $0])}let nd=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:K0});constructor(s){this.factories=s}static create(s,m){if(m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||K0()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(m)return m;throw new Qe(901,!1)}}return t})();function Q0(t,r){const s=qh(t),m=qh(r);return s&&m?function d1(t,r,s){const m=t[Symbol.iterator](),D=r[Symbol.iterator]();for(;;){const L=m.next(),$=D.next();if(L.done&&$.done)return!0;if(L.done||$.done||!s(L.value,$.value))return!1}}(t,r,Q0):!(s||!t||"object"!=typeof t&&"function"!=typeof t||m||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=kc}return t})();function kc(t){return function p1(t,r,s){if(Oi(t)&&!s){const m=Di(t.index,r);return new Tl(m,m)}return 47&t.type?new Tl(r[Jr],r):null}(ei(),vn(),16==(16&t))}const Z0=[new $0],ks=new bp([new pp]),v1=new nd(Z0);let xc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=X0;static#t=this.__NG_ENV_ID__=s=>s}return t})();class y1 extends xc{constructor(r){super(),this._lView=r}onDestroy(r){return yt(this._lView,r),()=>Pt(this._lView,r)}}function X0(){return new y1(vn())}function b1(t,r){if(null!==function l(){return d}())throw new Qe(-602,!1)}const J0=new st("",{providedIn:"root",factory:()=>lt(q0)});let q0=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new eC})}return t})();class eC{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){this.enqueue(r),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(r){const s=r.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const m=this.queues.get(s);m.has(r)||(this.queuedEffectCount++,m.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,s]of this.queues)null===r?this.flushQueue(s):r.run(()=>this.flushQueue(s))}flushQueue(r){for(const s of r)r.delete(s),this.queuedEffectCount--,s.run()}}class C1{constructor(r,s,m,D,L,$){this.scheduler=r,this.effectFn=s,this.creationZone=m,this.injector=L,this.watcher=function Re(t,r,s){const m=Object.create(ge);s&&(m.consumerAllowSignalWrites=!0),m.fn=t,m.schedule=r;const D=pe=>{m.cleanupFn=pe};return m.ref={notify:()=>S(m),run:()=>{if(null===m.fn)return;if(function g(){return a}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(m.dirty=!1,m.hasRun&&!A(m))return;m.hasRun=!0;const pe=M(m);try{m.cleanupFn(),m.cleanupFn=Ae,m.fn(D)}finally{w(m,pe)}},cleanup:()=>m.cleanupFn(),destroy:()=>function $(pe){(function L(pe){return null===pe.fn&&null===pe.schedule})(pe)||(O(pe),pe.cleanupFn(),pe.fn=null,pe.schedule=null,pe.cleanupFn=Ae)}(m),[e]:m},m.ref}(ie=>this.runEffect(ie),()=>this.schedule(),$),this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(s){this.injector.get(Fs,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Sp(t,r){Ws("NgSignals"),!r?.injector&&pl();const s=r?.injector??lt(Rs),m=!0!==r?.manualCleanup?s.get(xc):null,D=new C1(s.get(J0),t,typeof Zone>"u"?null:Zone.current,m,s,r?.allowSignalWrites??!1),L=s.get(Cp,null,{optional:!0});return L&&8&L._lView[$n]?(L._lView[xi]??=[]).push(D.watcher.notify):D.watcher.notify(),D}function tC(...t){}class Oo{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:m=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new Qe(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!m&&s,D.shouldCoalesceRunChangeDetection=m,D.lastRequestAnimationFrameId=-1,D.nativeRequestAnimationFrame=function ef(){const t="function"==typeof xn.requestAnimationFrame;let r=xn[t?"requestAnimationFrame":"setTimeout"],s=xn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&s){const m=r[Zone.__symbol__("OriginalDelegate")];m&&(r=m);const D=s[Zone.__symbol__("OriginalDelegate")];D&&(s=D)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function ba(t){const r=()=>{!function M1(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(xn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Mp(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Mp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,m,D,L,$,ie)=>{if(function E1(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(ie))return s.invokeTask(D,L,$,ie);try{return rd(t),s.invokeTask(D,L,$,ie)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===L.type||t.shouldCoalesceRunChangeDetection)&&r(),nC(t)}},onInvoke:(s,m,D,L,$,ie,pe)=>{try{return rd(t),s.invoke(D,L,$,ie,pe)}finally{t.shouldCoalesceRunChangeDetection&&r(),nC(t)}},onHasTask:(s,m,D,L)=>{s.hasTask(D,L),m===D&&("microTask"==L.change?(t._hasPendingMicrotasks=L.microTask,Mp(t),tf(t)):"macroTask"==L.change&&(t.hasPendingMacrotasks=L.macroTask))},onHandleError:(s,m,D,L)=>(s.handleError(D,L),t.runOutsideAngular(()=>t.onError.emit(L)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Oo.isInAngularZone())throw new Qe(909,!1)}static assertNotInAngularZone(){if(Oo.isInAngularZone())throw new Qe(909,!1)}run(r,s,m){return this._inner.run(r,s,m)}runTask(r,s,m,D){const L=this._inner,$=L.scheduleEventTask("NgZoneEvent: "+D,r,S1,tC,tC);try{return L.runTask($,s,m)}finally{L.cancelTask($)}}runGuarded(r,s,m){return this._inner.runGuarded(r,s,m)}runOutsideAngular(r){return this._outer.run(r)}}const S1={};function tf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Mp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nC(t){t._nesting--,tf(t)}class Ep{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(r,s,m){return r.apply(s,m)}runGuarded(r,s,m){return r.apply(s,m)}runOutsideAngular(r){return r()}runTask(r,s,m,D){return r.apply(s,m)}}var Ka=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ka||{});const nf={destroy(){}};function rf(t,r){const s=r?.injector??lt(Rs);(r?.runOnServer||Ga(s))&&s.get(Pl).internalCallbacks.push(t)}function wp(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;Ws("NgAfterRender");const m=s.get(Pl),D=m.handler??=new oC,L=r?.phase??Ka.MixedReadWrite,$=()=>{D.unregister(pe),ie()},ie=s.get(xc).onDestroy($),pe=new id(s,L,t);return D.register(pe),{destroy:$}}function iC(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;Ws("NgAfterNextRender");const m=s.get(Pl),D=m.handler??=new oC,L=r?.phase??Ka.MixedReadWrite,$=()=>{D.unregister(pe),ie()},ie=s.get(xc).onDestroy($),pe=new id(s,L,()=>{$(),t()});return D.register(pe),{destroy:$}}class id{constructor(r,s,m){this.phase=s,this.callbackFn=m,this.zone=r.get(Oo),this.errorHandler=r.get(Fs,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class oC{constructor(){this.executingCallbacks=!1,this.buckets={[Ka.EarlyRead]:new Set,[Ka.Write]:new Set,[Ka.MixedReadWrite]:new Set,[Ka.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const s of r)s.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let Pl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const m of s)m()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function Qa(t){return!!cr(t)}function of(t){return!!Ln(t)}function sC(t){return!!Yt(t)}function od(t){return!!ln(t)}function D1(t,r){if(Ha(t)&&!(t=Dr(t)))throw new Error(`Expected forwardRef function, imported from "${Bi(r)}", to return a standalone entity or NgModule but got "${Bi(t)||t}".`);if(null==cr(t)){const s=ln(t)||Yt(t)||Ln(t);if(null==s)throw Dp(t)?new Error(`A module with providers was imported from "${Bi(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bi(t)}" type, imported from "${Bi(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone)throw new Error(`The "${Bi(t)}" ${function w1(t){return ln(t)?"component":Yt(t)?"directive":Ln(t)?"pipe":"type"}(t)}, imported from "${Bi(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class aC{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const s=cr(r);if(s?.declarations)for(const m of Ns(s.declarations))od(m)&&this.ownerNgModule.set(m,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,s){this.resolveNgModulesDecls();const m=ln(r);if(null===m)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(m.standalone){const D=this.getStandaloneComponentScope(r,s);return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes,...D.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const D=this.getNgModuleScope(this.ownerNgModule.get(r));return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes]}}}registerNgModule(r,s){if(!Qa(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const s=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,s),s}computeNgModuleScope(r){const s=cr(r,!0),m={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const D of Ns(s.imports))if(Qa(D)){const L=this.getNgModuleScope(D);na(L.exported.directives,m.compilation.directives),na(L.exported.pipes,m.compilation.pipes)}else{if(!lr(D)){m.compilation.isPoisoned=!0;break}if(sC(D)||od(D))m.compilation.directives.add(D);else{if(!of(D))throw new Qe(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");m.compilation.pipes.add(D)}}if(!m.compilation.isPoisoned)for(const D of Ns(s.declarations)){if(Qa(D)||lr(D)){m.compilation.isPoisoned=!0;break}of(D)?m.compilation.pipes.add(D):m.compilation.directives.add(D)}for(const D of Ns(s.exports))if(Qa(D)){const L=this.getNgModuleScope(D);na(L.exported.directives,m.exported.directives),na(L.exported.pipes,m.exported.pipes),na(L.exported.directives,m.compilation.directives),na(L.exported.pipes,m.compilation.pipes)}else of(D)?m.exported.pipes.add(D):m.exported.directives.add(D);return m}getStandaloneComponentScope(r,s){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const m=this.computeStandaloneComponentScope(r,s);return this.standaloneComponentsScopeCache.set(r,m),m}computeStandaloneComponentScope(r,s){const m={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const D of ls(s??[])){const L=Dr(D);try{D1(L,r)}catch{return m.compilation.isPoisoned=!0,m}if(Qa(L)){m.compilation.ngModules.add(L);const $=this.getNgModuleScope(L);if($.exported.isPoisoned)return m.compilation.isPoisoned=!0,m;na($.exported.directives,m.compilation.directives),na($.exported.pipes,m.compilation.pipes)}else if(of(L))m.compilation.pipes.add(L);else{if(!sC(L)&&!od(L))return m.compilation.isPoisoned=!0,m;m.compilation.directives.add(L)}}return m}isOrphanComponent(r){const s=ln(r);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function na(t,r){for(const s of t)r.add(s)}const Oc=new aC;function sf(t,r,s){let m=s?t.styles:null,D=s?t.classes:null,L=0;if(null!==r)for(let $=0;$0&&n0(t,s,L.join(" "))}}(Ft,Fi,hn,m),void 0!==s&&function fC(t,r,s){const m=t.projection=[];for(let D=0;D{class t{static#e=this.__NG_ELEMENT_ID__=k1}return t})();function k1(){return vC(ei(),vn())}const mC=lf,pC=class extends mC{constructor(r,s,m){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=m}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new es(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(nm(r)){const s=Lu(r,this._hostLView),m=Ou(r);return new es(s[wn].data[m+8],s)}return new es(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=_C(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-Wr}createEmbeddedView(r,s,m){let D,L;"number"==typeof m?D=m:null!=m&&(D=m.index,L=m.injector);const $=Il(this._lContainer,r.ssrId),ie=r.createEmbeddedViewImpl(s||{},L,$);return this.insertImpl(ie,D,Dc(this._hostTNode,$)),ie}createComponent(r,s,m,D,L){const $=r&&!dc(r);let ie;if($)ie=s;else{const hn=s||{};ie=hn.index,m=hn.injector,D=hn.projectableNodes,L=hn.environmentInjector||hn.ngModuleRef}const pe=$?r:new Lc(ln(r)),Ve=m||this.parentInjector;if(!L&&null==pe.ngModule){const An=($?Ve:this.parentInjector).get(Js,null);An&&(L=An)}const tt=ln(pe.componentType??{}),pt=Il(this._lContainer,tt?.id??null),zt=pe.create(Ve,D,pt?.firstChild??null,L);return this.insertImpl(zt.hostView,ie,Dc(this._hostTNode,pt)),zt}insert(r,s){return this.insertImpl(r,s,!0)}insertImpl(r,s,m){const D=r._lView;if(function os(t){return Gr(t[si])}(D)){const ie=this.indexOf(r);if(-1!==ie)this.detach(ie);else{const pe=D[si],Ve=new pC(pe,pe[ai],pe[si]);Ve.detach(Ve.indexOf(r))}}const L=this._adjustIndex(s),$=this._lContainer;return Wu($,D,L,m),r.attachToViewContainerRef(),nl(ad($),L,r),r}move(r,s){return this.insert(r,s)}indexOf(r){const s=_C(this._lContainer);return null!==s?s.indexOf(r):-1}remove(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);m&&(Sa(ad(this._lContainer),s),Ph(m[wn],m))}detach(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);return m&&null!=Sa(ad(this._lContainer),s)?new Tl(m):null}_adjustIndex(r,s=0){return r??this.length+s}};function _C(t){return t[8]}function ad(t){return t[8]||(t[8]=[])}function vC(t,r){let s;const m=r[t.index];return Gr(m)?s=m:(s=p0(m,r,null,t),r[t.index]=s,Hh(r,s)),yC(s,r,t,m),new pC(s,t,r)}let yC=Tp,cf=()=>!1;function bC(t,r,s){return cf(t,r,s)}function Tp(t,r,s,m){if(t[yi])return;let D;D=8&s.type?Ur(m):function x1(t,r){const s=t[hr],m=s.createComment(""),D=Xi(r,t);return Al(s,kh(s,D),m,function dA(t,r){return t.nextSibling(r)}(s,D),!1),m}(r,s),t[yi]=D}function O1(t,r,s){if(t[yi]&&t[wi])return!0;const m=s[On],D=r.index-ar;if(!m||$i(r)||zd(m,D))return!1;const $=Hg(m,D),ie=m.data[ma]?.[D],[pe,Ve]=function n1(t,r){const s=[];for(const m of r)for(let D=0;D<(m[dl]??1);D++){const L={data:m,firstChild:null};m[oc]>0&&(L.firstChild=t,t=Qh(m[oc],t)),s.push(L)}return[t,s]}($,ie);return t[yi]=pe,t[wi]=Ve,!0}function CC(t,r,s,m){cf(t,s,r)||Tp(t,r,s,m)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ip{constructor(r=[]){this.queries=r}createEmbeddedView(r){const s=r.queries;if(null!==s){const m=null!==r.contentQueries?r.contentQueries[0]:s.length,D=[];for(let L=0;Lr.trim())}(r):r}}class ld{constructor(r=[]){this.queries=r}elementStart(r,s){for(let m=0;m0)m.push($[ie/2]);else{const Ve=L[ie+1],tt=r[-pe];for(let pt=Wr;pt{s._dirtyCounter();const D=function xC(t,r){const s=t._lView,m=t._queryIndex;if(void 0===s||void 0===m||4&s[$n])return r?void 0:Xn;const D=Op(s,m),L=cd(s,m);return D.reset(L,Kl),r?D.first:D._changesDetected||void 0===t._flatValue?t._flatValue=D.toArray():t._flatValue}(s,t);if(r&&void 0===D)throw new Qe(-951,!1);return D});return s=m[e],s._dirtyCounter=Io(0),s._flatValue=void 0,m}function Fp(){return Rp(!0,!1)}function PC(){return Rp(!0,!0)}function Rc(){return Rp(!1,!1)}function kC(t,r){const s=t[e];s._lView=vn(),s._queryIndex=r,s._queryList=Op(s._lView,r),s._queryList.onDirty(()=>s._dirtyCounter.update(m=>m+1))}function OC(t,r){return Fp()}const LC=(OC.required=function N1(t,r){return PC()},OC);function j1(t,r){return Rc()}function Np(t,r){return Fp()}const U1=(Np.required=function B1(t,r){return PC()},Np);function RC(t,r){return Rc()}function FC(t){const r=[],s=Object.create(un);function m(){return C(s),jp(s.value),s.value}return s.value=t,m[e]=s,m.asReadonly=()=>m(),m.set=L=>{s.equal(s.value,L)||(q(s,L),function D(L){for(let $=0;${jp(s.value),m.set(L(s.value))},m.subscribe=L=>(r.push(L),()=>{const $=r.indexOf(L);$>-1&&r.splice($,1)}),m}function jp(t){if(t===sn)throw new Qe(-952,!1)}function NC(t){return FC(t)}const jC=(NC.required=function H1(){return FC(sn)},NC);class Fc{}const V1=Va("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Fc),Y1=Va("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Fc),W1=Va("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Fc),z1=Va("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Fc);function UC(t){const r=[],s=new Map;function m(D){let L=s.get(D);if(!L){const $=t(D);s.set(D,L=$.then(K1))}return L}return Nc.forEach((D,L)=>{const $=[];D.templateUrl&&$.push(m(D.templateUrl).then(Ve=>{D.template=Ve}));const ie="string"==typeof D.styles?[D.styles]:D.styles||[];if(D.styles=ie,D.styleUrl&&D.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(D.styleUrls?.length){const Ve=D.styles.length,tt=D.styleUrls;D.styleUrls.forEach((pt,Ft)=>{ie.push(""),$.push(m(pt).then(zt=>{ie[Ve+Ft]=zt,tt.splice(tt.indexOf(pt),1),0==tt.length&&(D.styleUrls=void 0)}))})}else D.styleUrl&&$.push(m(D.styleUrl).then(Ve=>{ie.push(Ve),D.styleUrl=void 0}));const pe=Promise.all($).then(()=>function WC(t){jc.delete(t)}(L));r.push(pe)}),Bp(),Promise.all(r).then(()=>{})}let Nc=new Map;const jc=new Set;function HC(t){return jc.has(t)}function VC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Nc;return Nc=new Map,t}function G1(t){jc.clear(),t.forEach((r,s)=>jc.add(s)),Nc=t}function K1(t){return"string"==typeof t?t:t.text()}const hf=new Map;let Up=!0;function ff(t,r){(function Q1(t,r,s){if(r&&r!==s&&Up)throw new Error(`Duplicate module registered for ${t} - ${Bt(r)} vs ${Bt(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function Z1(t){Up=!t}function ud(t,r,s){const m=vn(),D=hi(),L=Xi(D,m);if(2===D.type&&"iframe"===r.toLowerCase()){const $=L;throw $.src="",$.srcdoc=yl(""),Oh(m[hr],$),new Qe(-910,!1)}return t}function zC(t){return Object.getPrototypeOf(t.prototype).constructor}function gf(t){let r=zC(t.type),s=!0;const m=[t];for(;r;){let D;if(Li(t))D=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new Qe(903,!1);D=r.\u0275dir}if(D){if(s){m.push(D);const $=t;$.inputs=mf(t.inputs),$.inputTransforms=mf(t.inputTransforms),$.declaredInputs=mf(t.declaredInputs),$.outputs=mf(t.outputs);const ie=D.hostBindings;ie&&GC(t,ie);const pe=D.viewQuery,Ve=D.contentQueries;if(pe&&J1(t,pe),Ve&&q1(t,Ve),X1(t,D),Or(t.outputs,D.outputs),Li(D)&&D.data.animation){const tt=t.data;tt.animation=(tt.animation||[]).concat(D.data.animation)}}const L=D.features;if(L)for(let $=0;$=0;m--){const D=t[m];D.hostVars=r+=D.hostVars,D.hostAttrs=Cn(D.hostAttrs,s=Cn(s,D.hostAttrs))}}(m)}function X1(t,r){for(const s in r.inputs){if(!r.inputs.hasOwnProperty(s)||t.inputs.hasOwnProperty(s))continue;const m=r.inputs[s];if(void 0!==m&&(t.inputs[s]=m,t.declaredInputs[s]=r.declaredInputs[s],null!==r.inputTransforms)){const D=Array.isArray(m)?m[0]:m;if(!r.inputTransforms.hasOwnProperty(D))continue;t.inputTransforms??={},t.inputTransforms[D]=r.inputTransforms[D]}}}function mf(t){return t===pr?{}:t===Xn?[]:t}function J1(t,r){const s=t.viewQuery;t.viewQuery=s?(m,D)=>{r(m,D),s(m,D)}:r}function q1(t,r){const s=t.contentQueries;t.contentQueries=s?(m,D,L)=>{r(m,D,L),s(m,D,L)}:r}function GC(t,r){const s=t.hostBindings;t.hostBindings=s?(m,D)=>{r(m,D),s(m,D)}:r}const eT=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KC(t){let s,r=zC(t.type);s=Li(t)?r.\u0275cmp:r.\u0275dir;const m=t;for(const D of eT)m[D]=s[D];if(Li(s))for(const D of Vp)m[D]=s[D]}function dd(t){const r=s=>{const m=(Array.isArray(t)?t:t()).map(D=>"function"==typeof D?{directive:Dr(D),inputs:pr,outputs:pr}:{directive:Dr(D.directive),inputs:Yp(D.inputs),outputs:Yp(D.outputs)});null===s.hostDirectives?(s.findHostDirectiveDefs=QC,s.hostDirectives=m):s.hostDirectives.unshift(...m)};return r.ngInherit=!0,r}function QC(t,r,s){if(null!==t.hostDirectives)for(const m of t.hostDirectives){const D=Yt(m.directive);tT(D.declaredInputs,m.inputs),QC(D,r,s),s.set(D,m),r.push(D)}}function Yp(t){if(void 0===t||0===t.length)return pr;const r={};for(let s=0;ss()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends JC{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tS extends kl{constructor(r){super(),this.componentFactoryResolver=new lC(this),this.instance=null;const s=new cc([...r.providers,{provide:kl,useValue:this},{provide:qu,useValue:this.componentFactoryResolver}],r.parent||Aa(),r.debugName,new Set(["environment"]));this.injector=s,r.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function Wp(t,r,s=null){return new tS({providers:t,parent:r,debugName:s,runEnvironmentInitializers:!0}).injector}let nS=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(s,m,D,L){if(!this.cachedInjectors.has(s)){const $=D.length>0?Wp(D,m,L):null;this.cachedInjectors.set(s,$)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iT(t){return t[vf]??null}function hd(t,r,s){const m=t;return m[vf]=()=>Promise.all(r()).then(D=>(s(...D),m[vf]=null,D)),m[vf]}function rS(t,r,s,m){return Jn(()=>{const D=t;null!==r&&(D.hasOwnProperty("decorators")&&void 0!==D.decorators?D.decorators.push(...r):D.decorators=r),null!==s&&(D.ctorParameters=s),null!==m&&(D.propDecorators=D.hasOwnProperty("propDecorators")&&void 0!==D.propDecorators?{...D.propDecorators,...m}:m)})}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new et.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vs(t,r,s){return t[r]=s}function gd(t,r){return t[r]}function jo(t,r,s){return!Object.is(t[r],s)&&(t[r]=s,!0)}function Za(t,r,s,m){const D=jo(t,r,s);return jo(t,r+1,m)||D}function yf(t,r,s,m,D){const L=Za(t,r,s,m);return jo(t,r+2,D)||L}function zs(t,r,s,m,D,L){const $=Za(t,r,s,m);return Za(t,r+2,D,L)||$}function Bc(t,r,s,m,D,L,$,ie){const pe=vn(),Ve=wr(),tt=t+ar,pt=Ve.firstCreatePass?function oS(t,r,s,m,D,L,$,ie,pe){const Ve=r.consts,tt=Oa(r,t,4,$||null,io(Ve,ie));$m(r,s,tt,io(Ve,pe)),oh(r,tt);const pt=tt.tView=Fh(2,tt,m,D,L,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ve,null);return null!==r.queries&&(r.queries.template(r,tt),pt.queries=r.queries.embeddedTView(tt)),tt}(tt,Ve,pe,r,s,m,D,L,$):Ve.data[tt];at(pt,!1);const Ft=zp(Ve,pe,pt,t);Qs()&&xh(Ve,pe,Ft,pt),_s(Ft,pe);const zt=p0(Ft,pe,Ft,pt);return pe[tt]=zt,Hh(pe,zt),bC(zt,pt,pe),Zi(pt)&&Ym(Ve,pe,pt),null!=$&&Wm(pe,pt,ie),Bc}let zp=sS;function sS(t,r,s,m){return Os(!0),r[hr].createComment("")}function oT(t,r,s,m){const D=r[On],L=!D||vr()||zd(D,m);if(Os(L),L)return sS(0,r);const $=D.data[Fg]?.[m]??null;null!==$&&null!==s.tView&&null===s.tView.ssrId&&(s.tView.ssrId=$);const ie=ta(D,t,r,s);return Yd(D,m,ie),Qh(Wd(D,m),ie)}var Bo=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Bo||{});const bf=0,sT=1;var Po=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Po||{}),md=function(t){return t[t.Initial=-1]="Initial",t}(md||{});const xl=0,Cf=1,Uc=2,Sf=3,aS=4,lS=5;var Mf=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Mf||{});function Ef(t,r,s){const m=1===t?lS:aS;null===r[m]&&(r[m]=[]),r[m].push(s)}function Gp(t,r){const s=1===t?lS:aS,m=r[s];if(null!==m){for(const D of m)D();r[s]=null}}function cS(t){Gp(1,t),Gp(0,t)}function pd(t){return t+1}function Xa(t,r){return t[pd(r.index)]}function js(t,r){const s=pd(r.index);return t.data[s]}function Kp(t,r){return r===Po.Placeholder?t.placeholderBlockConfig?.[bf]??null:r===Po.Loading?t.loadingBlockConfig?.[bf]??null:null}function Qp(t){return t.loadingBlockConfig?.[sT]??null}function dS(t,r){if(!t||0===t.length)return r;const s=new Set(t);for(const m of r)s.add(m);return t.length===s.size?t:Array.from(s)}function hS(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Zp=new WeakMap,Hc=new WeakMap,fS=["click","keydown"],Xp=["mouseenter","focusin"];let Vc=null,Af=0;class Jp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function gS(t,r){let s=Zp.get(t);if(!s){s=new Jp,Zp.set(t,s);for(const m of fS)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){Zp.delete(t);for(const L of fS)t.removeEventListener(L,D,wf)}}}function qp(t,r){let s=Df.get(t);if(!s){s=new Jp,Df.set(t,s);for(const m of Xp)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){for(const L of Xp)t.removeEventListener(L,D,wf);Df.delete(t)}}}function mS(t,r,s){const m=s.get(Oo);let D=Hc.get(t);return Vc=Vc||m.runOutsideAngular(()=>new IntersectionObserver(L=>{for(const $ of L)$.isIntersecting&&Hc.has($.target)&&m.run(Hc.get($.target).listener)})),D||(D=new Jp,m.runOutsideAngular(()=>Vc.observe(t)),Hc.set(t,D),Af++),D.callbacks.add(r),()=>{Hc.has(t)&&(D.callbacks.delete(r),0===D.callbacks.size&&(Vc?.unobserve(t),Hc.delete(t),Af--),0===Af&&(Vc?.disconnect(),Vc=null))}}function Ol(t,r,s,m,D,L,$){const ie=t[Xr];rf(function pe(){if(Ro(t))return;const Ve=Xa(t,r),tt=Ve[Cf];if(tt!==md.Initial&&tt!==Po.Placeholder)return;const pt=function cT(t,r,s){return null==s?t:s>=0?ne(s,t):t[r.index][Wr]??null}(t,r,m);if(!pt)return void rf(pe,{injector:ie});if(Ro(pt))return;const Ft=function uT(t,r){return is(ar+r,t)}(pt,s),zt=D(Ft,()=>{t!==pt&&Pt(pt,zt),L()},ie);t!==pt&&yt(pt,zt),Ef($,Ve,zt)},{injector:ie})}function pS(t,r){const m=r[Xr].get(vS);return m.add(t),()=>m.remove(t)}let vS=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=lt(Oo),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:m,deferred:D}=this;m.delete(s),D.delete(s),0===m.size&&0===D.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const m of this.current)m();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const m of this.deferred)this.current.add(m);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function yS(t){return(r,s)=>bS(t,r,s)}function bS(t,r,s){const D=s[Xr].get(hT);return D.add(t,r),()=>D.remove(r)}let hT=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(s,m){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,m),this.scheduleTimer()}remove(s){const{current:m,deferred:D}=this;-1===this.removeFromQueue(m,s)&&this.removeFromQueue(D,s),0===m.length&&0===D.length&&this.clearTimeout()}addToQueue(s,m,D){let L=s.length;for(let $=0;$m){L=$;break}Ql(s,L,m,D)}removeFromQueue(s,m){let D=-1;for(let L=0;L-1&&aa(s,D,2),D}scheduleTimer(){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const D=[...this.current],L=Date.now();for(let ie=0;ie=0&&aa(this.current,0,$+1),this.executingCallbacks=!1,this.deferred.length>0){for(let ie=0;ie0){const D=Date.now(),L=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-L>16){this.clearTimeout();const $=Math.max(L-D,16);this.invokeTimerAt=L,this.timeoutId=setTimeout(s,$)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();const fT=new st("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CS=new st("");function Tf(t){return t.get(CS,null,{optional:!0})?.behavior!==Mf.Manual&&Ga(t)}let e_=null;function t_(t,r,s,m){const D=t.consts;null!=s&&(r.placeholderBlockConfig=io(D,s)),null!=m&&(r.loadingBlockConfig=io(D,m)),null===e_&&(e_=gT)}function SS(t,r,s,m,D,L,$,ie,pe){const Ve=vn(),tt=wr(),pt=t+ar;if(Bc(t,null,0,0),tt.firstCreatePass){Ws("NgDefer");const jn={primaryTmplIndex:r,loadingTmplIndex:m??null,placeholderTmplIndex:D??null,errorTmplIndex:L??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Bo.NOT_STARTED,loadingPromise:null,providers:null};pe?.(tt,jn,ie,$),function lT(t,r,s){const m=pd(r);t.data[m]=s}(tt,pt,jn)}const Ft=ei();bC(Ve[pt],Ft,Ve);const hn=[null,md.Initial,null,null,null,null];!function aT(t,r,s){t[pd(r)]=s}(Ve,pt,hn);const An=()=>cS(hn);Ef(0,hn,()=>Pt(Ve,An)),yt(Ve,An)}function n_(t){const r=vn();if(jo(r,J(),t)){const m=u(null);try{const D=!!t,L=hi(),ie=Xa(r,L)[Cf];!1===D&&ie===md.Initial?Ll(r,L):!0===D&&(ie===md.Initial||ie===Po.Placeholder)&&Wc(r,L)}finally{u(m)}}}function MS(t){const r=vn();if(jo(r,J(),t)){const m=u(null);try{const D=!!t,L=r[wn],$=hi(),ie=js(L,$);!0===D&&ie.loadingState===Bo.NOT_STARTED&&Yc(ie,r,$)}finally{u(m)}}}function ES(){s_(pS)}function r_(){kS(pS)}function wS(){const t=vn(),r=ei(),m=t[Xr],D=js(t[wn],r);(!Tf(m)||null===D.loadingTmplIndex)&&Ll(t,r),Wc(t,r)}function If(){const t=vn(),r=ei(),m=js(t[wn],r);m.loadingState===Bo.NOT_STARTED&&kf(m,t,r)}function DS(t){s_(yS(t))}function i_(t){kS(yS(t))}function AS(t,r){const s=vn(),m=ei();Ll(s,m),Ol(s,m,t,r,qp,()=>Wc(s,m),0)}function o_(t,r){const s=vn(),m=ei(),L=js(s[wn],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,qp,()=>Yc(L,s,m),1)}function TS(t,r){const s=vn(),m=ei();Ll(s,m),Ol(s,m,t,r,gS,()=>Wc(s,m),0)}function IS(t,r){const s=vn(),m=ei(),L=js(s[wn],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,gS,()=>Yc(L,s,m),1)}function Pf(t,r){const s=vn(),m=ei();Ll(s,m),Ol(s,m,t,r,mS,()=>Wc(s,m),0)}function PS(t,r){const s=vn(),m=ei(),L=js(s[wn],m);L.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,mS,()=>Yc(L,s,m),1)}function s_(t){const r=vn(),s=ei();Ll(r,s);const m=t(()=>Wc(r,s),r);Ef(0,Xa(r,s),m)}function kS(t){const r=vn(),s=ei(),D=js(r[wn],s);D.loadingState===Bo.NOT_STARTED&&Ef(1,Xa(r,s),t(()=>Yc(D,r,s),r))}function Ra(t,r,s,m=!1){const D=s[si],L=D[wn];if(Ro(D))return;const $=Xa(D,r);if(OS($[Cf],t)&&OS($[xl]??-1,t)){const pe=js(L,r),tt=m||null===Qp(pe)&&null===Kp(pe,Po.Loading)&&!Kp(pe,Po.Placeholder)?xS:e_;try{tt(t,$,s,r,D)}catch(pt){Vh(D,pt)}}}function xS(t,r,s,m,D){const L=function uS(t,r,s){const D=js(r[wn],s);switch(t){case Po.Complete:return D.primaryTmplIndex;case Po.Loading:return D.loadingTmplIndex;case Po.Error:return D.errorTmplIndex;case Po.Placeholder:return D.placeholderTmplIndex;default:return null}}(t,D,m);if(null!==L){r[Cf]=t;const $=D[wn],pe=xo($,L+ar),Ve=0;let tt;if(qm(s,Ve),t===Po.Complete){const zt=js($,m),hn=zt.providers;if(hn&&hn.length>0){const jn=D[Xr].get(Js);tt=jn.get(nS).getOrCreateInjector(zt,jn,hn,"")}}const pt=Il(s,pe.tView.ssrId),Ft=Yu(D,pe,null,{dehydratedView:pt,injector:tt});Wu(s,Ft,Ve,Dc(pe,pt)),Gu(Ft)}}function gT(t,r,s,m,D){const L=Date.now(),ie=js(D[wn],m);if(null===r[Uc]||r[Uc]<=L){r[Uc]=null;const pe=Qp(ie),Ve=null!==r[Sf];if(t!==Po.Loading||null===pe||Ve){t>Po.Loading&&Ve&&(r[Sf](),r[Sf]=null,r[xl]=null),xS(t,r,s,m,D);const tt=Kp(ie,t);null!==tt&&(r[Uc]=L+tt,a_(tt,r,m,s,D))}else{r[xl]=t;const tt=a_(pe,r,m,s,D);r[Sf]=tt}}else r[xl]=t}function a_(t,r,s,m,D){return bS(t,()=>{const $=r[xl];r[Uc]=null,r[xl]=null,null!==$&&Ra($,s,m)},D)}function OS(t,r){return t{let pt=!1;const Ft=[],zt=[];for(const hn of tt){if("fulfilled"!==hn.status){pt=!0;break}{const An=hn.value,jn=ln(An)||Yt(An);if(jn)Ft.push(jn);else{const dr=Ln(An);dr&&zt.push(dr)}}}if(t.loadingPromise=null,pe.remove(Ve),pt){if(t.loadingState=Bo.FAILED,null===t.errorTmplIndex){Im(r);const An=new Qe(750,!1);Vh(r,An)}}else{t.loadingState=Bo.COMPLETE;const hn=$.tView;if(Ft.length>0){hn.directiveRegistry=dS(hn.directiveRegistry,Ft);const jn=Wg(!1,...Ft.map(dr=>dr.type));t.providers=jn}zt.length>0&&(hn.pipeRegistry=dS(hn.pipeRegistry,zt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Bo.COMPLETE,pe.remove(Ve)})}function Ll(t,r){Ra(Po.Placeholder,r,t[r.index])}function LS(t,r,s){t.loadingPromise.then(()=>{t.loadingState===Bo.COMPLETE?Ra(Po.Complete,r,s):t.loadingState===Bo.FAILED&&Ra(Po.Error,r,s)})}function Wc(t,r){const s=t[wn],m=t[r.index];if(!Tf(t[Xr]))return;const L=Xa(t,r),$=js(s,r);switch(cS(L),$.loadingState){case Bo.NOT_STARTED:Ra(Po.Loading,r,m),kf($,t,r),$.loadingState===Bo.IN_PROGRESS&&LS($,r,m);break;case Bo.IN_PROGRESS:Ra(Po.Loading,r,m),LS($,r,m);break;case Bo.COMPLETE:Ra(Po.Complete,r,m);break;case Bo.FAILED:Ra(Po.Error,r,m)}}function l_(t,r,s,m){const D=vn();return jo(D,J(),r)&&(wr(),va(hi(),D,t,r,s,m)),l_}function Rl(t,r){let s=!1,m=xt();for(let L=1;L>17&32767}function Ff(t){return 2|t}function Bl(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function m_(t){return 1|t}function NS(t,r,s,m){const D=t[s+1],L=null===r;let $=m?Ja(D):Bl(D),ie=!1;for(;0!==$&&(!1===ie||L);){const Ve=t[$+1];jS(t[$],r)&&(ie=!0,t[$+1]=m?m_(Ve):Ff(Ve)),$=m?Ja(Ve):Bl(Ve)}ie&&(t[s+1]=m?Ff(D):m_(D))}function jS(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&ca(t,r)>=0}const ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ts.key,ts.keyEnd)}function vT(t){return t.substring(ts.value,ts.valueEnd)}function BS(t,r){const s=ts.textEnd;return s===r?-1:(r=ts.keyEnd=function VS(t,r,s){for(;r32;)r++;return r}(t,ts.key=r,s),Qc(t,r,s))}function HS(t,r){const s=ts.textEnd;let m=ts.key=Qc(t,r,s);return s===m?-1:(m=ts.keyEnd=function yT(t,r,s){let m;for(;r=65&&(-33&m)<=90||m>=48&&m<=57);)r++;return r}(t,m,s),m=y_(t,m,s),m=ts.value=Qc(t,m,s),m=ts.valueEnd=function bT(t,r,s){let m=-1,D=-1,L=-1,$=r,ie=$;for(;$32&&(ie=$),L=D,D=m,m=-33&pe}return ie}(t,m,s),y_(t,m,s))}function v_(t){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=t.length}function Qc(t,r,s){for(;r=0;s=HS(r,s))w_(t,p_(r),vT(r))}function M_(t){ra(DT,Ca,t,!0)}function Ca(t,r){for(let s=function __(t){return v_(t),BS(t,Qc(t,0,ts.textEnd))}(r);s>=0;s=BS(r,s))Wo(t,p_(r),!0)}function $s(t,r,s,m){const D=vn(),L=wr(),$=We(2);L.firstUpdatePass&&WS(L,t,$,m),r!==ri&&jo(D,$,r)&&KS(L,L.data[so()],D,D[hr],t,D[$+1]=function QS(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=Bt(Ia(t)))),t}(r,s),m,$)}function ra(t,r,s,m){const D=wr(),L=We(2);D.firstUpdatePass&&WS(D,null,L,m);const $=vn();if(s!==ri&&jo($,L,s)){const ie=D.data[so()];if(ZS(ie,m)&&!Bf(D,L)){let pe=m?ie.classesWithoutHost:ie.stylesWithoutHost;null!==pe&&(s=Zt(pe,s||"")),C_(D,ie,$,s,m)}else!function GS(t,r,s,m,D,L,$,ie){D===ri&&(D=Xn);let pe=0,Ve=0,tt=0=t.expandoStartIndex}function WS(t,r,s,m){const D=t.data;if(null===D[s+1]){const L=D[so()],$=Bf(t,s);ZS(L,m)&&null===r&&!$&&(r=!1),r=function MT(t,r,s,m){const D=Dn(t);let L=m?r.residualClasses:r.residualStyles;if(null===D)0===(m?r.classBindings:r.styleBindings)&&(s=Zc(s=E_(null,t,r,s,m),r.attrs,m),L=null);else{const $=r.directiveStylingLast;if(-1===$||t[$]!==D)if(s=E_(D,t,r,s,m),null===L){let pe=function zS(t,r,s){const m=s?r.classBindings:r.styleBindings;if(0!==Bl(m))return t[Ja(m)]}(t,r,m);void 0!==pe&&Array.isArray(pe)&&(pe=E_(null,t,r,pe[1],m),pe=Zc(pe,r.attrs,m),function ET(t,r,s,m){t[Ja(s?r.classBindings:r.styleBindings)]=m}(t,r,m,pe))}else L=function $S(t,r,s){let m;const D=r.directiveEnd;for(let L=1+r.directiveStylingLast;L0)&&(Ve=!0)):tt=s,D)if(0!==pe){const Ft=Ja(t[ie+1]);t[m+1]=Rf(Ft,ie),0!==Ft&&(t[Ft+1]=Nf(t[Ft+1],m)),t[ie+1]=function mT(t,r){return 131071&t|r<<17}(t[ie+1],m)}else t[m+1]=Rf(ie,0),0!==ie&&(t[ie+1]=Nf(t[ie+1],m)),ie=m;else t[m+1]=Rf(pe,0),0===ie?ie=m:t[pe+1]=Nf(t[pe+1],m),pe=m;Ve&&(t[m+1]=Ff(t[m+1])),NS(t,tt,m,!0),NS(t,tt,m,!1),function FS(t,r,s,m,D){const L=D?t.residualClasses:t.residualStyles;null!=L&&"string"==typeof r&&ca(L,r)>=0&&(s[m+1]=m_(s[m+1]))}(r,tt,t,m,L),$=Rf(ie,pe),L?r.classBindings=$:r.styleBindings=$}(D,L,r,s,$,m)}}function E_(t,r,s,m,D){let L=null;const $=s.directiveEnd;let ie=s.directiveStylingLast;for(-1===ie?ie=s.directiveStart:ie++;ie<$&&(L=r[ie],m=Zc(m,L.hostAttrs,D),L!==t);)ie++;return null!==t&&(s.directiveStylingLast=ie),m}function Zc(t,r,s){const m=s?1:2;let D=-1;if(null!==r)for(let L=0;L0;){const pe=t[D],Ve=Array.isArray(pe),tt=Ve?pe[1]:pe,pt=null===tt;let Ft=s[D+1];Ft===ri&&(Ft=pt?Xn:void 0);let zt=pt?la(Ft,m):tt===m?Ft:void 0;if(Ve&&!Uf(zt)&&(zt=la(pe,m)),Uf(zt)&&(ie=zt,$))return ie;const hn=t[D+1];D=$?Ja(hn):Bl(hn)}if(null!==r){let pe=L?r.residualClasses:r.residualStyles;null!=pe&&(ie=la(pe,m))}return ie}function Uf(t){return void 0!==t}function ZS(t,r){return 0!=(t.flags&(r?8:16))}function A_(t,r,s){ra(Wo,Ca,zc(vn(),t,r,s),!0)}function XS(t,r,s,m,D){ra(Wo,Ca,Fa(vn(),t,r,s,m,D),!0)}function Hf(t,r,s,m,D,L,$){ra(Wo,Ca,Fl(vn(),t,r,s,m,D,L,$),!0)}function JS(t,r,s,m,D,L,$,ie,pe){ra(Wo,Ca,$c(vn(),t,r,s,m,D,L,$,ie,pe),!0)}function T_(t,r,s,m,D,L,$,ie,pe,Ve,tt){ra(Wo,Ca,Nl(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt),!0)}function qS(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft){ra(Wo,Ca,Gc(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft),!0)}function eM(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn){ra(Wo,Ca,jl(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn),!0)}function Ul(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn){ra(Wo,Ca,Kc(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn),!0)}function tM(t){ra(Wo,Ca,Rl(vn(),t),!0)}function nM(){return vn()[Jr][Zr]}class AT{destroy(r){}updateValue(r,s){}swap(r,s){const m=Math.min(r,s),D=Math.max(r,s),L=this.detach(D);if(D-m>1){const $=this.detach(m);this.attach(m,L),this.attach(D,$)}else this.attach(m,L)}move(r,s){this.attach(s,this.detach(r))}}function I_(t,r,s,m,D){return t===s&&Object.is(r,m)?1:Object.is(D(t,r),D(s,m))?-1:0}function k_(t,r,s,m){return!(void 0===r||!r.has(m)||(t.attach(s,r.get(m)),r.delete(m),0))}function Vf(t,r,s,m,D){if(k_(t,r,m,s(m,D)))t.updateValue(m,D);else{const L=t.create(m,D);t.attach(m,L)}}function rM(t,r,s,m){const D=new Set;for(let L=r;L<=s;L++)D.add(m(L,t.at(L)));return D}class Yf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const s=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(r,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,s){if(this.kvMap.has(r)){let m=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const D=this._vMap;for(;D.has(m);)m=D.get(m);D.set(m,s)}else this.kvMap.set(r,s)}forEach(r){for(let[s,m]of this.kvMap)if(r(m,s),void 0!==this._vMap){const D=this._vMap;for(;D.has(m);)m=D.get(m),r(m,s)}}}function iM(t,r,s){Ws("NgControlFlow");const m=vn(),D=J(),L=L_(m,ar+t);if(jo(m,D,r)){const ie=u(null);try{if(qm(L,0),-1!==r){const pe=R_(m[wn],ar+r),Ve=Il(L,pe.tView.ssrId);Wu(L,Yu(m,pe,s,{dehydratedView:Ve}),0,Dc(pe,Ve))}}finally{u(ie)}}else{const ie=S0(L,0);void 0!==ie&&(ie[Zr]=s)}}class oM{constructor(r,s,m){this.lContainer=r,this.$implicit=s,this.$index=m}get $count(){return this.lContainer.length-Wr}}function sM(t){return t}function x_(t,r){return r}class TT{constructor(r,s,m){this.hasEmptyBlock=r,this.trackByFn=s,this.liveCollection=m}}function O_(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft){Ws("NgControlFlow");const zt=void 0!==pe,hn=vn(),An=ie?$.bind(hn[Jr][Zr]):$,jn=new TT(zt,An);hn[ar+t]=jn,Bc(t+1,r,s,m,D,L),zt&&Bc(t+2,pe,Ve,tt,pt,Ft)}class IT extends AT{constructor(r,s,m){super(),this.lContainer=r,this.hostLView=s,this.templateTNode=m,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Wr}at(r){return this.getLView(r)[Zr].$implicit}attach(r,s){const m=s[On];this.needsIndexUpdate||=r!==this.length,Wu(this.lContainer,s,r,Dc(this.templateTNode,m))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function PT(t,r){return Bu(t,r)}(this.lContainer,r)}create(r,s){const m=Il(this.lContainer,this.templateTNode.tView.ssrId);return Yu(this.hostLView,this.templateTNode,new oM(this.lContainer,s,r),{dehydratedView:m})}destroy(r){Ph(r[wn],r)}updateValue(r,s){this.getLView(r)[Zr].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(ie)})}($,t,L.trackByFn),$.updateIndexes(),L.hasEmptyBlock){const ie=J(),pe=0===$.length;if(jo(m,ie,pe)){const Ve=s+2,tt=L_(m,Ve);if(pe){const pt=R_(D,Ve),Ft=Il(tt,pt.tView.ssrId);Wu(tt,Yu(m,pt,void 0,{dehydratedView:Ft}),0,Dc(pt,Ft))}else qm(tt,0)}}}finally{u(r)}}function L_(t,r){return t[r]}function R_(t,r){return xo(t,r)}function zf(t,r,s,m){const D=vn(),L=wr(),$=ar+t,ie=D[hr],pe=L.firstCreatePass?function xT(t,r,s,m,D,L){const $=r.consts,pe=Oa(r,t,2,m,io($,D));return $m(r,s,pe,io($,L)),null!==pe.attrs&&sf(pe,pe.attrs,!1),null!==pe.mergedAttrs&&sf(pe,pe.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,pe),pe}($,L,D,r,s,m):L.data[$],Ve=Xc(L,D,pe,ie,r,t);D[$]=Ve;const tt=Zi(pe);return at(pe,!0),r0(ie,Ve,pe),32!=(32&pe.flags)&&Qs()&&xh(L,D,Ve,pe),0===function Gn(){return Vt.lFrame.elementDepthCount}()&&_s(Ve,D),function zr(){Vt.lFrame.elementDepthCount++}(),tt&&(Ym(L,D,pe),Rh(L,pe,D)),null!==m&&Wm(D,pe),zf}function vd(){let t=ei();R()?ee():(t=t.parent,at(t,!1));const r=t;(function mi(t){return Vt.skipHydrationRootTNode===t})(r)&&function Ji(){Vt.skipHydrationRootTNode=null}(),function fr(){Vt.lFrame.elementDepthCount--}();const s=wr();return s.firstCreatePass&&(oh(s,t),Lo(t)&&s.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(s,r,vn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function gD(t){return 0!=(16&t.flags)}(r)&&C_(s,r,vn(),r.stylesWithoutHost,!1),vd}function F_(t,r,s,m){return zf(t,r,s,m),vd(),F_}let Xc=(t,r,s,m,D,L)=>(Os(!0),Ih(m,D,el()));function OT(t,r,s,m,D,L){const $=r[On],ie=!$||vr()||zd($,L);if(Os(ie),ie)return Ih(m,D,el());const pe=ta($,t,r,s);return Ry($,L)&&Yd($,L,pe.nextSibling),$&&(Xl(s)||Jl(pe))&&Oi(s)&&(function ji(t){Vt.skipHydrationRootTNode=t}(s),Hm(pe)),pe}function Jc(t,r,s){const m=vn(),D=wr(),L=t+ar,$=D.firstCreatePass?function LT(t,r,s,m,D){const L=r.consts,$=io(L,m),ie=Oa(r,t,8,"ng-container",$);return null!==$&&sf(ie,$,!0),$m(r,s,ie,io(L,D)),null!==r.queries&&r.queries.elementStart(r,ie),ie}(L,D,m,r,s):D.data[L];at($,!0);const ie=lM(D,m,$,t);return m[L]=ie,Qs()&&xh(D,m,ie,$),_s(ie,m),Zi($)&&(Ym(D,m,$),Rh(D,$,m)),null!=s&&Wm(m,$),Jc}function $f(){let t=ei();const r=wr();return R()?ee():(t=t.parent,at(t,!1)),r.firstCreatePass&&(oh(r,t),Lo(t)&&r.queries.elementEnd(t)),$f}function Gf(t,r,s){return Jc(t,r,s),$f(),Gf}let lM=(t,r,s,m)=>(Os(!0),Lm(r[hr],""));function cM(t,r,s,m){let D;const L=r[On],$=!L||vr();if(Os($),$)return Lm(r[hr],"");const ie=ta(L,t,r,s),pe=function qw(t,r){const s=t.data;let m=s[Rg]?.[r]??null;return null===m&&s[ma]?.[r]&&(m=Wd(t,r)),m}(L,m);return Yd(L,m,ie),D=Qh(pe,ie),D}function uM(){return vn()}function N_(t,r,s){const m=vn();return jo(m,J(),r)&&Es(wr(),hi(),m,t,r,m[hr],s,!0),N_}function Kf(t,r,s){const m=vn();if(jo(m,J(),r)){const L=wr(),$=hi();Es(L,$,m,t,r,b0(Dn(L.data),$,m),s,!0)}return Kf}const Hl=void 0;var NT=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["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"]],Hl,[["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"]],Hl,[["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}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FT(t){const s=Math.floor(Math.abs(t)),m=t.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===m?1:5}];let Vl={};function jT(t,r,s){"string"!=typeof r&&(s=r,r=t[qc.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Vl[r]=t,s&&(Vl[r][qc.ExtraData]=s)}function Qf(t){const r=function UT(t){return t.toLowerCase().replace(/_/g,"-")}(t);let s=dM(r);if(s)return s;const m=r.split("-")[0];if(s=dM(m),s)return s;if("en"===m)return NT;throw new Qe(701,!1)}function BT(t){return Qf(t)[qc.CurrencyCode]||null}function Zf(t){return Qf(t)[qc.PluralCase]}function dM(t){return t in Vl||(Vl[t]=xn.ng&&xn.ng.common&&xn.ng.common.locales&&xn.ng.common.locales[t]),Vl[t]}function hM(){Vl={}}var qc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(qc||{});const HT=["zero","one","two","few","many"],qa="en-US",yd={marker:"element"},Xf={marker:"ICU"};var ws=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(ws||{});let fM=qa;function j_(t){"string"==typeof t&&(fM=t.toLowerCase().replace(/_/g,"-"))}function Jf(t,r,s){const m=r.insertBeforeIndex,D=Array.isArray(m)?m[0]:m;return null===D?jm(t,0,s):Ur(s[D])}function gM(t,r,s,m,D){const L=r.insertBeforeIndex;if(Array.isArray(L)){let $=m,ie=null;if(3&r.type||(ie=$,$=D),null!==$&&-1===r.componentOffset)for(let pe=1;pe1)for(let s=t.length-2;s>=0;s--){const m=t[s];B_(m)||zT(m,r)&&null===$T(m)&>(m,r.index)}}function B_(t){return!(64&t.type)}function zT(t,r){return B_(r)||t.index>r.index}function $T(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GT(t,r){const s=t.insertBeforeIndex;Array.isArray(s)?s[0]=r:(qb(Jf,gM),t.insertBeforeIndex=r)}function bd(t,r){const s=t.data[r];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function U_(t,r,s){const m=ea(t,s,64,null,null);return mM(r,m),m}function eu(t,r){const s=r[t.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function pM(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Cd=0,tu=0;function yM(t,r,s,m){const D=s[hr];let $,L=null;for(let ie=0;ie>>1,s),null,null,zt,hn,null)}else switch(pe){case Xf:const Ve=r[++ie],tt=r[++ie];null===s[tt]&&_s(s[tt]=Lm(D,Ve),s);break;case yd:const pt=r[++ie],Ft=r[++ie];null===s[Ft]&&_s(s[Ft]=Ih(D,pt,null),s)}}}function Y_(t,r,s,m,D){for(let L=0;L>>2;switch(3&tt){case 1:const Ft=s[++Ve],zt=s[++Ve],hn=t.data[pt];"string"==typeof hn?wc(r[hr],r[pt],null,hn,Ft,pe,zt):Es(t,hn,r,Ft,pe,r[hr],zt,!1);break;case 0:const An=r[pt];null!==An&&zb(r[hr],An,pe);break;case 2:JT(t,bd(t,pt),r,pe);break;case 3:bM(t,bd(t,pt),m,r)}}}}else{const pe=s[L+1];if(pe>0&&3==(3&pe)){const tt=bd(t,pe>>>2);r[tt.currentCaseLViewIndex]<0&&bM(t,tt,m,r)}}L+=ie}}function bM(t,r,s,m){let D=m[r.currentCaseLViewIndex];if(null!==D){let L=Cd;D<0&&(D=m[r.currentCaseLViewIndex]=~D,L=-1),Y_(t,m,r.update[D],s,L)}}function JT(t,r,s,m){const D=function nu(t,r){let s=t.cases.indexOf(r);if(-1===s)switch(t.type){case 1:{const m=function VT(t,r){const s=Zf(r)(parseInt(t,10)),m=HT[s];return void 0!==m?m:"other"}(r,function WT(){return fM}());s=t.cases.indexOf(m),-1===s&&"other"!==m&&(s=t.cases.indexOf("other"));break}case 0:s=t.cases.indexOf("other")}return-1===s?null:s}(r,m);if(eu(r,s)!==D&&(CM(t,r,s),s[r.currentCaseLViewIndex]=null===D?null:~D,null!==D)){const $=s[r.anchorIdx];$&&yM(t,r.create[D],s,$)}}function CM(t,r,s){let m=eu(r,s);if(null!==m){const D=r.remove[m];for(let L=0;L0){const ie=is($,s);null!==ie&&Oh(s[hr],ie)}else CM(t,bd(t,~$),s)}}}function qT(){const t=[];let s,m,r=-1;function L(ie,pe){r=0;const Ve=eu(ie,pe);m=null!==Ve?ie.remove[Ve]:Xn}function $(){if(r0?s[ie]:(t.push(r,m),L(s[wn].data[~ie],s),$())}return 0===t.length?null:(m=t.pop(),r=t.pop(),$())}return function D(ie,pe){for(s=pe;t.length;)t.pop();return L(ie.value,pe),$}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eI=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,MM=/\ufffd(\d+)\ufffd/,EM=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ru="\ufffd",tI=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nI=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rI=/\uE500/g;function qf(t,r,s,m,D,L,$){const ie=Hu(t,m,1,null);let pe=ie<s.length&&s.push(pe)}return{type:m,mainBinding:D,cases:r,values:s}}function Md(t){if(!t)return[];let r=0;const s=[],m=[],D=/[{}]/g;let L;for(D.lastIndex=0;L=D.exec(t);){const ie=L.index;if("}"==L[0]){if(s.pop(),0==s.length){const pe=t.substring(r,ie);EM.test(pe)?m.push(lI(pe)):m.push(pe),r=ie+1}}else{if(0==s.length){const pe=t.substring(r,ie);m.push(pe),r=ie+1}s.push("{")}}const $=t.substring(r);return m.push($),m}function cI(t,r,s,m,D,L,$,ie){const pe=[],Ve=[],tt=[];r.cases.push(L),r.create.push(pe),r.remove.push(Ve),r.update.push(tt);const Ft=Eb(No()).getInertBodyElement($),zt=bh(Ft)||Ft;return zt?Q_(t,r,s,m,pe,Ve,tt,zt,D,ie,0):0}function Q_(t,r,s,m,D,L,$,ie,pe,Ve,tt){let pt=0,Ft=ie.firstChild;for(;Ft;){const zt=Hu(t,s,1,null);switch(Ft.nodeType){case Node.ELEMENT_NODE:const hn=Ft,An=hn.tagName.toLowerCase();if(mm.hasOwnProperty(An)){Z_(D,yd,An,pe,zt),t.data[zt]=An;const ci=hn.attributes;for(let ki=0;ki>>ws.SHIFT;let pt=t[tt];null===pt&&(pt=t[tt]=($&ws.COMMENT)===ws.COMMENT?D.createComment(ie):Th(D,ie)),Ve&&null!==s&&Al(D,s,pt,m,!1)}})(D,pe.create,tt,ie&&8&ie.type?D[ie.index]:null),Ue(!0)}function ev(){Ue(!1)}function tv(t,r,s){q_(t,r,s),ev()}function OM(t,r){const s=wr(),m=io(s.consts,r);!function $_(t,r,s){const D=ei().index,L=[];if(t.firstCreatePass&&null===t.data[r]){for(let $=0;$0){const m=t.data[s];Y_(t,r,Array.isArray(m)?m:m.update,xt()-tu-1,Cd)}Cd=0,tu=0}(wr(),vn(),t+ar)}function RM(t,r={}){return function mI(t,r={}){let s=t;if(J_.test(t)){const m={},D=[IM];s=s.replace(hI,(L,$,ie)=>{const pe=$||ie,Ve=m[pe]||[];if(Ve.length||(pe.split("|").forEach(An=>{const jn=An.match(xM),dr=jn?parseInt(jn[1],10):IM,Pn=gI.test(An);Ve.push([dr,Pn,An])}),m[pe]=Ve),!Ve.length)throw new Error(`i18n postprocess: unmatched placeholder - ${pe}`);const tt=D[D.length-1];let pt=0;for(let An=0;Anr.hasOwnProperty(L)?`${D}${r[L]}${pe}`:m),s=s.replace(fI,(m,D)=>r.hasOwnProperty(D)?r[D]:m),s=s.replace(kM,(m,D)=>{if(r.hasOwnProperty(D)){const L=r[D];if(!L.length)throw new Error(`i18n postprocess: unmatched ICU - ${m} with key: ${D}`);return L.shift()}return m})),s}(t,r)}function nv(t,r,s,m){const D=vn(),L=wr(),$=ei();return rv(L,D,D[hr],$,t,r,m),nv}function Ed(t,r){const s=ei(),m=vn(),D=wr();return rv(D,m,b0(Dn(D.data),s,m),s,t,r),Ed}function rv(t,r,s,m,D,L,$){const ie=Zi(m),Ve=t.firstCreatePass&&y0(t),tt=r[Zr],pt=v0(r);let Ft=!0;if(3&m.type||$){const An=Xi(m,r),jn=$?$(An):An,dr=pt.length,Pn=$?ki=>$(Ur(ki[m.index])):m.index;let ci=null;if(!$&&ie&&(ci=function pI(t,r,s,m){const D=t.cleanup;if(null!=D)for(let L=0;Lpe?ie[pe]:null}"string"==typeof $&&(L+=2)}return null}(t,r,D,m.index)),null!==ci)(ci.__ngLastListenerFn__||ci).__ngNextListenerFn__=L,ci.__ngLastListenerFn__=L,Ft=!1;else{L=NM(m,r,tt,L,!1);const ki=s.listen(jn,D,L);pt.push(L,ki),Ve&&Ve.push(D,Pn,dr,dr+1)}}else L=NM(m,r,tt,L,!1);const zt=m.outputs;let hn;if(Ft&&null!==zt&&(hn=zt[D])){const An=hn.length;if(An)for(let jn=0;jn-1?Di(t.index,r):r);let pe=FM(r,s,m,$),Ve=L.__ngNextListenerFn__;for(;Ve;)pe=FM(r,s,Ve,$)&&pe,Ve=Ve.__ngNextListenerFn__;return D&&!1===pe&&$.preventDefault(),pe}}function jM(t=1){return function fo(t){return(Vt.lFrame.contextLView=ne(t,Vt.lFrame.contextLView))[Zr]}(t)}function vI(t,r){let s=null;const m=function U(t){const r=t.attrs;if(null!=r){const s=r.indexOf(5);if(!(1&s))return r[s+1]}return null}(t);for(let D=0;D=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),r[s]=m}function fv(t){return _o(function B(){return Vt.lFrame.contextLView}(),ar+t)}function $M(t,r,s){xs(zc(vn(),t,r,s))}function gv(t,r,s,m,D){xs(Fa(vn(),t,r,s,m,D))}function GM(t,r,s,m,D,L,$){xs(Fl(vn(),t,r,s,m,D,L,$))}function mv(t,r,s,m,D,L,$,ie,pe){xs($c(vn(),t,r,s,m,D,L,$,ie,pe))}function KM(t,r,s,m,D,L,$,ie,pe,Ve,tt){xs(Nl(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt))}function pv(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft){xs(Gc(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft))}function QM(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn){xs(jl(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn))}function ZM(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn){xs(Kc(vn(),t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn))}function _v(t){xs(Rl(vn(),t))}function vv(t,r,s,m,D){return $s(t,zc(vn(),r,s,m),D,!1),vv}function ig(t,r,s,m,D,L,$){return $s(t,Fa(vn(),r,s,m,D,L),$,!1),ig}function yv(t,r,s,m,D,L,$,ie,pe){return $s(t,Fl(vn(),r,s,m,D,L,$,ie),pe,!1),yv}function bv(t,r,s,m,D,L,$,ie,pe,Ve,tt){return $s(t,$c(vn(),r,s,m,D,L,$,ie,pe,Ve),tt,!1),bv}function Cv(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft){return $s(t,Nl(vn(),r,s,m,D,L,$,ie,pe,Ve,tt,pt),Ft,!1),Cv}function ou(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn){return $s(t,Gc(vn(),r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt),hn,!1),ou}function Sv(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn){return $s(t,jl(vn(),r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An),jn,!1),Sv}function og(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn,dr,Pn){return $s(t,Kc(vn(),r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn,dr),Pn,!1),og}function Mv(t,r,s){return $s(t,Rl(vn(),r),s,!1),Mv}function Ev(t,r=""){const s=vn(),m=wr(),D=t+ar,L=m.firstCreatePass?Oa(m,D,1,r,null):m.data[D],$=XM(m,s,L,r,t);s[D]=$,Qs()&&xh(m,s,$,L),at(L,!1)}let XM=(t,r,s,m,D)=>(Os(!0),Th(r[hr],m));function yI(t,r,s,m,D){const L=r[On],$=!L||vr()||zd(L,D);return Os($),$?Th(r[hr],m):ta(L,t,r,s)}function sg(t){return ag("",t,""),sg}function ag(t,r,s){const m=vn(),D=zc(m,t,r,s);return D!==ri&&La(m,so(),D),ag}function su(t,r,s,m,D){const L=vn(),$=Fa(L,t,r,s,m,D);return $!==ri&&La(L,so(),$),su}function wv(t,r,s,m,D,L,$){const ie=vn(),pe=Fl(ie,t,r,s,m,D,L,$);return pe!==ri&&La(ie,so(),pe),wv}function Dv(t,r,s,m,D,L,$,ie,pe){const Ve=vn(),tt=$c(Ve,t,r,s,m,D,L,$,ie,pe);return tt!==ri&&La(Ve,so(),tt),Dv}function Av(t,r,s,m,D,L,$,ie,pe,Ve,tt){const pt=vn(),Ft=Nl(pt,t,r,s,m,D,L,$,ie,pe,Ve,tt);return Ft!==ri&&La(pt,so(),Ft),Av}function Tv(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft){const zt=vn(),hn=Gc(zt,t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft);return hn!==ri&&La(zt,so(),hn),Tv}function Iv(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn){const An=vn(),jn=jl(An,t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn);return jn!==ri&&La(An,so(),jn),Iv}function lg(t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn){const dr=vn(),Pn=Kc(dr,t,r,s,m,D,L,$,ie,pe,Ve,tt,pt,Ft,zt,hn,An,jn);return Pn!==ri&&La(dr,so(),Pn),lg}function Pv(t){const r=vn(),s=Rl(r,t);return s!==ri&&La(r,so(),s),Pv}function cg(t,r,s){Jh(r)&&(r=r());const m=vn();return jo(m,J(),r)&&Es(wr(),hi(),m,t,r,m[hr],s,!1),cg}function JM(t,r){const s=Jh(t);return s&&t.set(r),s}function ug(t,r){const s=vn(),m=wr(),D=ei();return rv(m,s,s[hr],D,t,r),ug}function kv(t,r,s,m,D){if(t=Dr(t),Array.isArray(t))for(let L=0;L>20;if(ml(t)||!t.multi){const zt=new xu(Ve,D,Ec),hn=Ov(pe,r,D?tt:tt+Ft,pt);-1===hn?(om(gc(ie,$),L,pe),xv(L,t,r.length),r.push(pe),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(zt),$.push(zt)):(s[hn]=zt,$[hn]=zt)}else{const zt=Ov(pe,r,tt+Ft,pt),hn=Ov(pe,r,tt,tt+Ft),jn=hn>=0&&s[hn];if(D&&!jn||!D&&!(zt>=0&&s[zt])){om(gc(ie,$),L,pe);const dr=function MI(t,r,s,m,D){const L=new xu(t,s,Ec);return L.multi=[],L.index=r,L.componentProviders=0,qM(L,D,m&&!s),L}(D?SI:eE,s.length,D,m,Ve);!D&&jn&&(s[hn].providerFactory=dr),xv(L,t,r.length,0),r.push(pe),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(dr),$.push(dr)}else xv(L,t,zt>-1?zt:hn,qM(s[D?hn:zt],Ve,!D&&m));!D&&m&&jn&&s[hn].componentProviders++}}}function xv(t,r,s,m){const D=ml(r),L=function eD(t){return!!t.useClass}(r);if(D||L){const pe=(L?Dr(r.useClass):r).prototype.ngOnDestroy;if(pe){const Ve=t.destroyHooks||(t.destroyHooks=[]);if(!D&&r.multi){const tt=Ve.indexOf(s);-1===tt?Ve.push(s,[m,pe]):Ve[tt+1].push(m,pe)}else Ve.push(s,pe)}}}function qM(t,r,s){return s&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,s,m){for(let D=s;D{s.providersResolver=(m,D)=>function CI(t,r,s){const m=wr();if(m.firstCreatePass){const D=Li(t);kv(s,m.data,m.blueprint,D,!0),kv(r,m.data,m.blueprint,D,!1)}}(m,D?D(t):t,r)}}let EI=(()=>{class t{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const m=Wg(0,s.type),D=m.length>0?Wp([m],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,D)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t(xe(Js))})}return t})();function Fv(t){Ws("NgStandalone"),t.getStandaloneInjector=r=>r.get(EI).getOrCreateStandaloneInjector(t)}function tE(t,r,s){const m=t.\u0275cmp;m.directiveDefs=ut(r,!1),m.pipeDefs=ut(s,!0)}function Nv(t,r){return Jn(()=>{const s=cr(t,!0);s.declarations=dg(r.declarations||Xn),s.imports=dg(r.imports||Xn),s.exports=dg(r.exports||Xn),r.bootstrap&&(s.bootstrap=dg(r.bootstrap)),Oc.registerNgModule(t,r)})}function dg(t){if("function"==typeof t)return t;const r=ls(t);return r.some(Ha)?()=>r.map(Dr).map(nE):r.map(nE)}function nE(t){return Dp(t)?t.ngModule:t}function jv(t){const r=Ms(t);if(null===r)return null;if(void 0===r.component){const s=r.lView;if(null===s)return null;r.component=function XD(t,r){const s=r[wn].data[t],{directiveStart:m,componentOffset:D}=s;return D>-1?r[m+D]:null}(r.nodeIndex,s)}return r.component}function oE(t){if(t instanceof Text)return[];const r=Ms(t),s=r?r.lView:null;if(null===s)return[];const m=s[wn],D=r.nodeIndex;return m?.data[D]?(void 0===r.directives&&(r.directives=wm(D,s)),null===r.directives?[]:[...r.directives]):[]}function Dd(t){return Ms(t).native}function TI(t,r){return t.name==r.name?0:t.name=0;s--){const m=r[s];if(t===m.name)return m}}(r,s.pipeRegistry),s.data[D]=m,m.onDestroy&&(s.destroyHooks??=[]).push(D,m.onDestroy)):m=s.data[D];const L=m.factory||(m.factory=gl(m.type)),ie=zo(Ec);try{const pe=ch(!1),Ve=L();return ch(pe),zM(s,vn(),D,Ve),Ve}finally{zo(ie)}}function yE(t,r,s){const m=t+ar,D=vn(),L=_o(D,m);return lu(D,m)?gE(D,ft(),r,L.transform,s,L):L.transform(s)}function Kv(t,r,s,m){const D=t+ar,L=vn(),$=_o(L,D);return lu(L,D)?$v(L,ft(),r,$.transform,s,m,$):$.transform(s,m)}function bE(t,r,s,m,D){const L=t+ar,$=vn(),ie=_o($,L);return lu($,L)?mE($,ft(),r,ie.transform,s,m,D,ie):ie.transform(s,m,D)}function Qv(t,r,s,m,D,L){const $=t+ar,ie=vn(),pe=_o(ie,$);return lu(ie,$)?Gv(ie,ft(),r,pe.transform,s,m,D,L,pe):pe.transform(s,m,D,L)}function CE(t,r,s){const m=t+ar,D=vn(),L=_o(D,m);return lu(D,m)?pE(D,ft(),r,L.transform,s,L):L.transform.apply(L,s)}function lu(t,r){return t[wn].data[r].pure}function SE(t,r){return zh(t,r)}function Zv(t,r){return()=>{try{return Oc.getComponentDependencies(t,r).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,s),s}}}function ME(t,r){const s=ln(t);null!==s&&(s.debugInfo=r)}const ys={\u0275\u0275attribute:l_,\u0275\u0275attributeInterpolate1:c_,\u0275\u0275attributeInterpolate2:xf,\u0275\u0275attributeInterpolate3:u_,\u0275\u0275attributeInterpolate4:d_,\u0275\u0275attributeInterpolate5:Of,\u0275\u0275attributeInterpolate6:h_,\u0275\u0275attributeInterpolate7:f_,\u0275\u0275attributeInterpolate8:Lf,\u0275\u0275attributeInterpolateV:g_,\u0275\u0275defineComponent:ht,\u0275\u0275defineDirective:fn,\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275defineNgModule:Kt,\u0275\u0275definePipe:mn,\u0275\u0275directiveInject:Ec,\u0275\u0275getInheritedFactory:ob,\u0275\u0275inject:xe,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:a0,\u0275\u0275invalidFactoryDep:$e,\u0275\u0275templateRefExtractor:SE,\u0275\u0275resetView:Ii,\u0275\u0275HostDirectivesFeature:dd,\u0275\u0275NgOnChangesFeature:qg,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:KC,\u0275\u0275InheritDefinitionFeature:gf,\u0275\u0275InputTransformsFeature:XC,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:jM,\u0275\u0275namespaceHTML:Ks,\u0275\u0275namespaceMathML:$l,\u0275\u0275namespaceSVG:ss,\u0275\u0275enableBindings:Ai,\u0275\u0275disableBindings:Ti,\u0275\u0275elementStart:zf,\u0275\u0275elementEnd:vd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:Jc,\u0275\u0275elementContainerEnd:$f,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cE,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uE,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dE,\u0275\u0275pureFunction6:Wv,\u0275\u0275pureFunction7:hE,\u0275\u0275pureFunction8:zv,\u0275\u0275pureFunctionV:fE,\u0275\u0275getCurrentView:uM,\u0275\u0275restoreView:Qi,\u0275\u0275listener:nv,\u0275\u0275projection:UM,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:Ed,\u0275\u0275pipeBind1:yE,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:bE,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CE,\u0275\u0275projectionDef:BM,\u0275\u0275hostProperty:N_,\u0275\u0275property:b_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:wd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tg,\u0275\u0275propertyInterpolate4:sv,\u0275\u0275propertyInterpolate5:ng,\u0275\u0275propertyInterpolate6:av,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rg,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_E,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HM,\u0275\u0275viewQuerySignal:WM,\u0275\u0275loadQuery:VM,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YM,\u0275\u0275reference:fv,\u0275\u0275classMap:M_,\u0275\u0275classMapInterpolate1:A_,\u0275\u0275classMapInterpolate2:XS,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:JS,\u0275\u0275classMapInterpolate5:T_,\u0275\u0275classMapInterpolate6:qS,\u0275\u0275classMapInterpolate7:eM,\u0275\u0275classMapInterpolate8:Ul,\u0275\u0275classMapInterpolateV:tM,\u0275\u0275styleMap:xs,\u0275\u0275styleMapInterpolate1:$M,\u0275\u0275styleMapInterpolate2:gv,\u0275\u0275styleMapInterpolate3:GM,\u0275\u0275styleMapInterpolate4:mv,\u0275\u0275styleMapInterpolate5:KM,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QM,\u0275\u0275styleMapInterpolate8:ZM,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:jf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:ig,\u0275\u0275stylePropInterpolate3:yv,\u0275\u0275stylePropInterpolate4:bv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:ou,\u0275\u0275stylePropInterpolate7:Sv,\u0275\u0275stylePropInterpolate8:og,\u0275\u0275stylePropInterpolateV:Mv,\u0275\u0275classProp:S_,\u0275\u0275advance:o0,\u0275\u0275template:Bc,\u0275\u0275conditional:iM,\u0275\u0275defer:SS,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:ES,\u0275\u0275deferOnImmediate:wS,\u0275\u0275deferOnTimer:DS,\u0275\u0275deferOnHover:AS,\u0275\u0275deferOnInteraction:TS,\u0275\u0275deferOnViewport:Pf,\u0275\u0275deferPrefetchWhen:MS,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:If,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:IS,\u0275\u0275deferPrefetchOnViewport:PS,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:Wf,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:sM,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nM,\u0275\u0275text:Ev,\u0275\u0275textInterpolate:sg,\u0275\u0275textInterpolate1:ag,\u0275\u0275textInterpolate2:su,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Av,\u0275\u0275textInterpolate6:Tv,\u0275\u0275textInterpolate7:Iv,\u0275\u0275textInterpolate8:lg,\u0275\u0275textInterpolateV:Pv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OM,\u0275\u0275i18nExp:eg,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LM,\u0275\u0275i18nPostprocess:RM,\u0275\u0275resolveWindow:Vb,\u0275\u0275resolveDocument:Pm,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tE,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Zv,\u0275setClassDebugInfo:ME,\u0275\u0275sanitizeHtml:_m,\u0275\u0275sanitizeStyle:vm,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:bm,\u0275\u0275sanitizeUrl:ym,\u0275\u0275sanitizeUrlOrResourceUrl:xa,\u0275\u0275trustConstantHtml:Pb,\u0275\u0275trustConstantResourceUrl:Cm,\u0275\u0275validateIframeAttribute:ud,forwardRef:to,resolveForwardRef:Dr,\u0275\u0275twoWayProperty:cg,\u0275\u0275twoWayBindingSet:JM,\u0275\u0275twoWayListener:ug,\u0275\u0275InputFlags:ct};let cu=null;function wE(){cu=null}const uu=[];let fg=!1;function DE(){if(!fg){fg=!0;try{for(let t=uu.length-1;t>=0;t--){const{moduleType:r,ngModule:s}=uu[t];s.declarations&&s.declarations.every(Xv)&&(uu.splice(t,1),kE(r,s))}}finally{fg=!1}}}function Xv(t){return Array.isArray(t)?t.every(Xv):!!Dr(t)}function AE(t,r={}){Jv(t,r),void 0!==r.id&&ff(t,r.id),function PI(t,r){uu.push({moduleType:t,ngModule:r})}(t,r)}function Jv(t,r,s=!1){const m=ls(r.declarations||Xn);let D=null;Object.defineProperty(t,Kn,{configurable:!0,get:()=>(null===D&&(D=qo().compileNgModule(ys,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ls(r.bootstrap||Xn).map(Dr),declarations:m.map(Dr),imports:ls(r.imports||Xn).map(Dr).map(OE),exports:ls(r.exports||Xn).map(Dr).map(OE),schemas:r.schemas?ls(r.schemas):null,id:r.id||null}),D.schemas||(D.schemas=[])),D)});let L=null;Object.defineProperty(t,or,{get:()=>{if(null===L){const ie=qo();L=ie.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:gh(t),target:ie.FactoryTarget.NgModule,typeArgumentCount:0})}return L},configurable:!1});let $=null;Object.defineProperty(t,ue,{get:()=>{if(null===$){const ie={name:t.name,type:t,providers:r.providers||Xn,imports:[(r.imports||Xn).map(Dr),(r.exports||Xn).map(Dr)]};$=qo().compileInjector(ys,`ng:///${t.name}/\u0275inj.js`,ie)}return $},configurable:!1})}function TE(t,r){return`Unexpected "${Bi(t)}" found in the "declarations" array of the ${r}, "${Bi(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let mg=new WeakMap,pg=new WeakMap;function kI(){mg=new WeakMap,pg=new WeakMap,uu.length=0,lo.clear()}function kE(t,r){const s=ls(r.declarations||Xn),m=Yl(t);s.forEach(D=>{(D=Dr(D)).hasOwnProperty(pi)?ey(ln(D),m):!D.hasOwnProperty(Qt)&&!D.hasOwnProperty(Rn)&&(D.ngSelectorScope=t)})}function ey(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(s=>s.hasOwnProperty(pi)?ln(s):Yt(s)).filter(s=>!!s),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(s=>Ln(s)),t.schemas=r.schemas,t.tView=null}function Yl(t){if(Qa(t)){if(sd){const r=Oc.getNgModuleScope(t);return{schemas:cr(t,!0).schemas||null,...r}}return function xE(t){const r=cr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const s={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ns(r.imports).forEach(m=>{const D=Yl(m);D.exported.directives.forEach(L=>s.compilation.directives.add(L)),D.exported.pipes.forEach(L=>s.compilation.pipes.add(L))}),Ns(r.declarations).forEach(m=>{Ln(m)?s.compilation.pipes.add(m):s.compilation.directives.add(m)}),Ns(r.exports).forEach(m=>{const D=m;if(Qa(D)){const L=Yl(D);L.exported.directives.forEach($=>{s.compilation.directives.add($),s.exported.directives.add($)}),L.exported.pipes.forEach($=>{s.compilation.pipes.add($),s.exported.pipes.add($)})}else Ln(D)?s.exported.pipes.add(D):s.exported.directives.add(D)}),r.transitiveCompileScopes=s,s}(t)}if(lr(t)){if(null!==(ln(t)||Yt(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Ln(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function OE(t){return Dp(t)?t.ngModule:t}let ty=0;function LE(t,r){let s=null;(function $1(t,r){VC(r)&&(Nc.set(t,r),jc.add(t))})(t,r),NE(t,r),Object.defineProperty(t,pi,{get:()=>{if(null===s){const m=qo();if(VC(r)){const Ve=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&Ve.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ve.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ve.push(` - styleUrl: ${r.styleUrl}`),Ve.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ve.join("\n"))}const D=function II(){return cu}();let L=r.preserveWhitespaces;void 0===L&&(L=null!==D&&void 0!==D.preserveWhitespaces&&D.preserveWhitespaces);let $=r.encapsulation;void 0===$&&($=null!==D&&void 0!==D.defaultEncapsulation?D.defaultEncapsulation:br.Emulated);const ie=r.templateUrl||`ng:///${t.name}/template.html`,pe={...jE(t,r),typeSourceSpan:m.createParseSourceSpan("Component",t.name,ie),template:r.template||"",preserveWhitespaces:L,styles:"string"==typeof r.styles?[r.styles]:r.styles||Xn,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:$,interpolation:r.interpolation,viewProviders:r.viewProviders||null};ty++;try{if(pe.usesInheritance&&Ad(t),s=m.compileComponent(ys,ie,pe),r.standalone){const Ve=ls(r.imports||Xn),{directiveDefs:tt,pipeDefs:pt}=function xI(t,r){let s=null,m=null;return{directiveDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.directives].map(ie=>ln(ie)||Yt(ie)).filter(ie=>null!==ie):[];if(null===s){s=[ln(t)];const $=new Set([t]);for(const ie of r){const pe=Dr(ie);if(!$.has(pe))if($.add(pe),cr(pe)){const Ve=Yl(pe);for(const tt of Ve.exported.directives){const pt=ln(tt)||Yt(tt);pt&&!$.has(tt)&&($.add(tt),s.push(pt))}}else{const Ve=ln(pe)||Yt(pe);Ve&&s.push(Ve)}}}return s},pipeDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.pipes].map(ie=>Ln(ie)).filter(ie=>null!==ie):[];if(null===m){m=[];const $=new Set;for(const ie of r){const pe=Dr(ie);if(!$.has(pe))if($.add(pe),cr(pe)){const Ve=Yl(pe);for(const tt of Ve.exported.pipes){const pt=Ln(tt);pt&&!$.has(tt)&&($.add(tt),m.push(pt))}}else{const Ve=Ln(pe);Ve&&m.push(Ve)}}}return m}}}(t,Ve);s.directiveDefs=tt,s.pipeDefs=pt,s.dependencies=()=>Ve.map(Dr)}}finally{ty--}if(0===ty&&DE(),function RE(t){return void 0!==t.ngSelectorScope}(t)){const Ve=Yl(t.ngSelectorScope);ey(s,Ve)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${Bi(t)} but is only valid on a component that is standalone.`);s.schemas=r.schemas}else r.standalone&&(s.schemas=[])}return s},configurable:!1})}function ny(t,r){let s=null;NE(t,r||{}),Object.defineProperty(t,Qt,{get:()=>{if(null===s){const m=FE(t,r||{});s=qo().compileDirective(ys,m.sourceMapUrl,m.metadata)}return s},configurable:!1})}function FE(t,r){const s=t&&t.name,m=`ng:///${s}/\u0275dir.js`,D=qo(),L=jE(t,r);return L.typeSourceSpan=D.createParseSourceSpan("Directive",s,m),L.usesInheritance&&Ad(t),{metadata:L,sourceMapUrl:m}}function NE(t,r){let s=null;Object.defineProperty(t,or,{get:()=>{if(null===s){const m=FE(t,r),D=qo();s=D.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:m.metadata.name,type:m.metadata.type,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Directive})}return s},configurable:!1})}function qP(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function jE(t,r){const s=lm(),m=s.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||pr,propMetadata:m,inputs:r.inputs||Xn,outputs:r.outputs||Xn,queries:BE(t,m,UE),lifecycle:{usesOnChanges:s.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qP(t),exportAs:RI(r.exportAs),providers:r.providers||null,viewQueries:BE(t,m,HE),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(D=>"function"==typeof D?{directive:D}:D)||null}}function Ad(t){const r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;)!Yt(s)&&!ln(s)&&YE(s)&&ny(s,null),s=Object.getPrototypeOf(s)}function OI(t){return"string"==typeof t?VE(t):Dr(t)}function LI(t,r){return{propertyName:t,predicate:OI(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function BE(t,r,s){const m=[];for(const D in r)if(r.hasOwnProperty(D)){const L=r[D];L.forEach($=>{if(s($)){if(!$.selector)throw new Error(`Can't construct a query for the property "${D}" of "${Bi(t)}" since the query selector wasn't defined.`);if(L.some(Td))throw new Error("Cannot combine @Input decorators with query decorators");m.push(LI(D,$))}})}return m}function RI(t){return void 0===t?null:VE(t)}function UE(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HE(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Td(t){return"Input"===t.ngMetadataName}function VE(t){return t.split(",").map(r=>r.trim())}const FI=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YE(t){const r=lm();if(FI.some(m=>r.hasLifecycleHook(t,m)))return!0;const s=r.propMetadata(t);for(const m in s){const D=s[m];for(let L=0;L{if(null===m){const D=ry(t,r),L=qo();m=L.compileFactory(ys,`ng:///${D.name}/\u0275fac.js`,{name:D.name,type:D.type,typeArgumentCount:0,deps:gh(t),target:L.FactoryTarget.Pipe})}return m},configurable:!1}),Object.defineProperty(t,Rn,{get:()=>{if(null===s){const D=ry(t,r);s=qo().compilePipe(ys,`ng:///${D.name}/\u0275pipe.js`,D)}return s},configurable:!1})}function ry(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const zE=Au("Directive",(t={})=>t,void 0,void 0,(t,r)=>ny(t,r)),NI=Au("Component",(t={})=>({changeDetection:Mr.Default,...t}),zE,void 0,(t,r)=>LE(t,r)),$E=Au("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>WE(t,r)),jI=Va("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),du=Va("Output",t=>({alias:t})),BI=Va("HostBinding",t=>({hostPropertyName:t})),iy=Va("HostListener",(t,r)=>({eventName:t,args:r})),UI=Au("NgModule",t=>t,void 0,void 0,(t,r)=>AE(t,r));class GE{constructor(r){this.full=r;const s=r.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}const KE=new GE("17.2.3");let QE=(()=>{class t{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const ay=new st(""),dw=new st("");let cy,eP=(()=>{class t{constructor(s,m,D){this._ngZone=s,this.registry=m,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cy||(ly(D),D.addToWindow(m)),this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(s)||(clearTimeout(m.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,m,D){let L=-1;m&&m>0&&(L=setTimeout(()=>{this._callbacks=this._callbacks.filter($=>$.timeoutId!==L),s()},m)),this._callbacks.push({doneCb:s,timeoutId:L,updateCb:D})}whenStable(s,m,D){if(D&&!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(s,m,D),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,m,D){return[]}static#e=this.\u0275fac=function(m){return new(m||t)(xe(Oo),xe(hw),xe(dw))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(s,m){this._applications.set(s,m)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,m=!0){return cy?.findTestabilityInTree(this,s,m)??null}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function ly(t){cy=t}function uy(t){return!!t&&"function"==typeof t.then}function dy(t){return!!t&&"function"==typeof t.subscribe}const fw=new st("");let _g=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,m)=>{this.resolve=s,this.reject=m}),this.appInits=lt(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const D of this.appInits){const L=D();if(uy(L))s.push(L);else if(dy(L)){const $=new Promise((ie,pe)=>{L.subscribe({complete:ie,error:pe})});s.push($)}}const m=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{m()}).catch(D=>{this.reject(D)}),0===s.length&&m(),this.initialized=!0}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hy=new st("");function gw(){!function Z(t){se=t}(()=>{throw new Qe(600,!1)})}function Na(t){return t.isBoundToModule}class tP{constructor(r,s){this.name=r,this.token=s}}function fy(t,r,s){try{const m=s();return uy(m)?m.catch(D=>{throw r.runOutsideAngular(()=>t.handleError(D)),D}):m}catch(m){throw r.runOutsideAngular(()=>t.handleError(m)),m}}function mw(t,r){return Array.isArray(r)?r.reduce(mw,t):{...t,...r}}let kd,ja=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=lt(_b),this.afterRenderEffectManager=lt(Pl),this.componentTypes=[],this.components=[],this.isStable=lt(fd).hasPendingTasks.pipe((0,De.k)(s=>!s)),this._injector=lt(Js)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,m){const D=s instanceof Ju;if(!this._injector.get(_g).done)throw!D&&lr(s),new Qe(405,!1);let $;$=D?s:this._injector.get(qu).resolveComponentFactory(s),this.componentTypes.push($.componentType);const ie=Na($)?void 0:this._injector.get(kl),Ve=$.create(Rs.NULL,[],m||$.selector,ie),tt=Ve.location.nativeElement,pt=Ve.injector.get(ay,null);return pt?.registerApplication(tt),Ve.onDestroy(()=>{this.detachView(Ve.hostView),vg(this.components,Ve),pt?.unregisterApplication(tt)}),this._loadComponent(Ve),Ve}tick(){if(this._runningTick)throw new Qe(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let s=0;const m=this.afterRenderEffectManager;for(;;){if(100===s)throw new Qe(103,!1);const D=0===s;for(let{_lView:L,notifyErrorHandler:$}of this._views)!D&&!yg(L)||this.detectChangesInView(L,$,D);if(s++,m.executeInternalCallbacks(),!this._views.some(({_lView:L})=>yg(L))&&(m.execute(),!this._views.some(({_lView:L})=>yg(L))))break}}detectChangesInView(s,m,D){let L;D?(L=0,s[$n]|=1024):L=64&s[$n]?0:1,Ac(s,m,L)}attachView(s){const m=s;this._views.push(m),m.attachToAppRef(this)}detachView(s){const m=s;vg(this._views,m),m.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const m=this._injector.get(hy,[]);[...this._bootstrapListeners,...m].forEach(D=>D(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vg(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new Qe(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vg(t,r){const s=t.indexOf(r);s>-1&&t.splice(s,1)}function pw(t){kd??=new WeakMap;const r=kd.get(t);if(r)return r;const s=t.isStable.pipe((0,je.K)(m=>m)).toPromise().then(()=>{});return kd.set(t,s),t.onDestroy(()=>kd?.delete(t)),s}function yg(t){return me(t)}class _w{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let vw=(()=>{class t{compileModuleSync(s){return new _f(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const m=this.compileModuleSync(s),L=Ns(cr(s).declarations).reduce(($,ie)=>{const pe=ln(ie);return pe&&$.push(new Lc(pe)),$},[]);return new _w(m,L)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yw=new st("");class bw{}function Cw(t,r,s){const m=new _f(s);return Promise.resolve(m)}let Mw=(()=>{class t{constructor(){this.zone=lt(Oo),this.applicationRef=lt(ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gy(t){return[{provide:Oo,useFactory:t},{provide:Ps,multi:!0,useFactory:()=>{const r=lt(Mw,{optional:!0});return()=>r.initialize()}},{provide:Ps,multi:!0,useFactory:()=>{const r=lt(rP);return()=>{r.initialize()}}},{provide:_b,useFactory:nP}]}function nP(){const t=lt(Oo),r=lt(Fs);return s=>t.runOutsideAngular(()=>r.handleError(s))}function Ew(t){return Iu([[],gy(()=>new Oo(xd(t)))])}function xd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rP=(()=>{class t{constructor(){this.subscription=new qe.wH,this.initialized=!1,this.zone=lt(Oo),this.pendingTasks=lt(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oo.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bg=new st("",{providedIn:"root",factory:()=>lt(bg,vt.Optional|vt.SkipSelf)||function my(){return typeof $localize<"u"&&$localize.locale||qa}()}),ww=new st("",{providedIn:"root",factory:()=>"USD"}),iP=new st(""),Dw=new st("");var Aw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Aw||{});const Cg=new st("");let py=(()=>{class t{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,m){const D=function rC(t="zone.js",r){return"noop"===t?new Ep:"zone.js"===t?new Oo(r):t}(m?.ngZone,xd({eventCoalescing:m?.ngZoneEventCoalescing,runCoalescing:m?.ngZoneRunCoalescing}));return D.run(()=>{const L=function rT(t,r,s){return new pf(t,r,s)}(s.moduleType,this.injector,gy(()=>D)),$=L.injector.get(Fs,null);return D.runOutsideAngular(()=>{const ie=D.onError.subscribe({next:pe=>{$.handleError(pe)}});L.onDestroy(()=>{vg(this._modules,L),ie.unsubscribe()})}),fy($,D,()=>{const ie=L.injector.get(_g);return ie.runInitializers(),ie.donePromise.then(()=>(j_(L.injector.get(bg,qa)||qa),this._moduleDoBootstrap(L),L))})})}bootstrapModule(s,m=[]){const D=mw({},m);return Cw(0,0,s).then(L=>this.bootstrapModuleFactory(L,D))}_moduleDoBootstrap(s){const m=s.injector.get(ja);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(D=>m.bootstrap(D));else{if(!s.instance.ngDoBootstrap)throw new Qe(-403,!1);s.instance.ngDoBootstrap(m)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,!1);this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const s=this._injector.get(Cg,null);s&&(s.forEach(m=>m()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(m){return new(m||t)(xe(Rs))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ba=null;const _y=new st("");function vy(t){if(Ba&&!Ba.get(_y,!1))throw new Qe(400,!1);gw(),Ba=t;const r=t.get(py);return kw(t),r}function Tw(t,r,s=[]){const m=`Platform: ${r}`,D=new st(m);return(L=[])=>{let $=Od();if(!$||$.injector.get(_y,!1)){const ie=[...s,...L,{provide:D,useValue:!0}];t?t(ie):vy(yy(ie,m))}return Iw()}}function yy(t=[],r){return Rs.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Ba=null])},...t]})}function Iw(t){const r=Od();if(!r)throw new Qe(401,!1);return r}function Od(){return Ba?.get(py)??null}function oP(){Od()?.destroy()}function kw(t){t.get(nn,null)?.forEach(s=>s())}function xw(){return!1}function sP(){}function Ow(t){const r=Hp(t);if(!r)throw Sg(t);return new _f(r)}function aP(t){const r=Hp(t);if(!r)throw Sg(t);return r}function Sg(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,s){this.name=r,this.callback=s}}function lP(t){return t.map(r=>r.nativeElement)}class Mg{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Ld(r):null}get injector(){return function iE(t){const r=Ms(t),s=r?r.lView:null;return null===s?Rs.NULL:new es(s[wn].data[r.nodeIndex],s)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(jv(r)||function rE(t){const r=Ms(t);let m,s=r?r.lView:null;if(null===s)return null;for(;2===s[wn].type&&(m=Nt(s));)s=m;return 512&s[$n]?null:s[Zr]}(r))}get context(){return jv(this.nativeNode)||function Bv(t){!function aE(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Ms(t),s=r?r.lView:null;return null===s?null:s[Zr]}(this.nativeNode)}get listeners(){return function sE(t){const r=Ms(t),s=null===r?null:r.lView;if(null===s)return[];const D=s[ti],L=s[wn].cleanup,$=[];if(L&&D)for(let ie=0;ie=0?"dom":"output"})}}return $.sort(TI),$}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function AI(t){const r=Ms(t);if(null===r)return{};if(void 0===r.localRefs){const s=r.lView;if(null===s)return{};r.localRefs=function JD(t,r){const s=t[wn].data[r];if(s&&s.localNames){const m={};let D=s.index+1;for(let L=0;L1){let tt=pe[1];for(let pt=1;ptr[L]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,s=[];for(let m=0;m{if(L.name===r){const $=L.callback;$.call(m,s),D.push($)}}),"function"==typeof m.eventListeners&&m.eventListeners(r).forEach(L=>{if(-1!==L.toString().indexOf("__ngUnwrap__")){const $=L("__ngUnwrap__");return-1===D.indexOf($)&&$.call(m,s)}})}}function cP(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function by(t,r,s,m){const D=Ms(t.nativeNode),L=D?D.lView:null;null!==L?zl(L[wn].data[D.nodeIndex],L,r,s,m,t.nativeNode):Eg(t.nativeNode,r,s,m)}function zl(t,r,s,m,D,L){const $=function Xo(t,r){const s=null===t?-1:t.index;return-1!==s?Ur(r[s]):null}(t,r);if(11&t.type){if(Sy($,s,m,D,L),Oi(t)){const pe=Di(t.index,r);pe&&pe[wn].firstChild&&zl(pe[wn].firstChild,pe,s,m,D,L)}else t.child&&zl(t.child,r,s,m,D,L),$&&Eg($,s,m,D);const ie=r[t.index];Gr(ie)&&Cy(ie,s,m,D,L)}else if(4&t.type){const ie=r[t.index];Sy(ie[yi],s,m,D,L),Cy(ie,s,m,D,L)}else if(16&t.type){const ie=r[Jr],Ve=ie[ai].projection[t.projection];if(Array.isArray(Ve))for(let tt of Ve)Sy(tt,s,m,D,L);else if(Ve){const tt=ie[si];zl(tt[wn].data[Ve.index],tt,s,m,D,L)}}else t.child&&zl(t.child,r,s,m,D,L);if(L!==$){const ie=2&t.flags?t.projectionNext:t.next;ie&&zl(ie,r,s,m,D,L)}}function Cy(t,r,s,m,D){for(let L=Wr;L{class t{constructor(s){}static#e=this.\u0275fac=function(m){return new(m||t)(xe(ja))};static#t=this.\u0275mod=Kt({type:t});static#n=this.\u0275inj=Us({})}return t})();function gi(t){}function jr(t,r){!r&&pl();const s=r?.injector??lt(Rs),m=s.get(ja);let D=!1;const L=()=>{D||m.destroyed||(D=!0,t())};rf(L,{injector:s,runOnServer:!0}),queueMicrotask(()=>{L()})}function Ho(t){try{const{rootComponent:r,appProviders:s,platformProviders:m}=t,D=function Pw(t=[]){if(Ba)return Ba;const r=yy(t);return Ba=r,gw(),kw(r),r}(m),L=[Ew(),...s||[]],ie=new tS({providers:L,parent:D,debugName:"",runEnvironmentInitializers:!1}).injector,pe=ie.get(Oo);return pe.run(()=>{ie.resolveInjectorInitializers();const Ve=ie.get(Fs,null);let tt;pe.runOutsideAngular(()=>{tt=pe.onError.subscribe({next:zt=>{Ve.handleError(zt)}})});const pt=()=>ie.destroy(),Ft=D.get(Cg);return Ft.add(pt),ie.onDestroy(()=>{tt.unsubscribe(),Ft.delete(pt)}),fy(Ve,pe,()=>{const zt=ie.get(_g);return zt.runInitializers(),zt.donePromise.then(()=>{j_(ie.get(bg,qa)||qa);const An=ie.get(ja);return void 0!==r&&An.bootstrap(r),An})})})}catch(r){return Promise.reject(r)}}let ia=(()=>{class t{constructor(){this.appRef=lt(ja),this.taskService=lt(fd),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var s=this;return(0,n.c)(function*(){const m=new Promise(L=>setTimeout(L)),D="function"==typeof xn.requestAnimationFrame?new Promise(L=>requestAnimationFrame(()=>L())):null;yield Promise.race([m,D]),s.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ua(){return Iu([{provide:hp,useExisting:ia},{provide:Oo,useClass:Ep}])}function Ag(t,r){const s=t[wn];for(let m=ar;m0&&Ve===m){const tt=s[s.length-1];tt[dl]??=1,tt[dl]++}else m=Ve,s.push(pe)}return s}function zw(t,r,s){const m=r.index-ar;t[Ng]??={},t[Ng][m]=j0(r,s)}function hk(t,r){const s=r.index-ar;t[Vd]??=[],t[Vd].includes(s)||t[Vd].push(s)}function fk(t,r){const s={},m=t[wn];for(let D=ar;D{let t=!0;return Ga()&&(t=!!lt(Mu,{optional:!0})?.get(jg,null)),t&&Ws("NgHydration"),t}},{provide:Ps,useValue:()=>{Ga()&<(_c)&&(function Ak(){const t=No();let r;for(const s of t.body.childNodes)if(s.nodeType===Node.COMMENT_NODE&&s.textContent?.trim()===wu){r=s;break}if(!r)throw new Qe(-507,!1)}(),function Ek(){gk||(gk=!0,function Qw(){ky=Kw}(),function aM(){Xc=OT}(),function bI(){XM=yI}(),function RT(){lM=cM}(),function $p(){zp=oT}(),function L1(){yC=CC,cf=O1}(),function dp(){up=r1}(),function CA(){zm=bA}())}())},multi:!0},{provide:um,useFactory:()=>Ga()&<(_c)},{provide:hy,useFactory:()=>{if(Ga()&<(_c)){const t=lt(ja);return lt(Rs),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{Oo.assertInAngularZone(),function XA(t){const r=t._views;for(const s of r){const m=xy(s);null!==m&&null!==m[_r]&&(Ni(m)?Zu(m):(Zu(m[_r]),F0(m)))}}(t)})}}return()=>{}},multi:!0}])}function Tk(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Ik(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Pk(t){return qo().compileDirectiveDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rS(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return qo().compileComponentDeclaration(ys,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return qo(function Lk(t){switch(t){case _l.Directive:return"directive";case _l.Component:return"component";case _l.Injectable:return"injectable";case _l.Pipe:return"pipe";case _l.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return qo().compileInjectableDeclaration(ys,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return qo().compileInjectorDeclaration(ys,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return qo().compileNgModuleDeclaration(ys,`ng:///${t.type.name}/\u0275mod.js`,t)}function jk(t){return qo().compilePipeDeclaration(ys,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const s=ln(t),m=r.elementInjector||Aa();return new Lc(s).create(m,r.projectableNodes,r.hostElement,r.environmentInjector)}function Uk(t){const r=ln(t);if(!r)return null;const s=new Lc(r);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,s)=>Object.assign(r,s,{providers:[...r.providers,...s.providers]}),{providers:[]})}},44716:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{AbstractControl:()=>Br,AbstractControlDirective:()=>bt,AbstractFormGroupDirective:()=>ot,COMPOSITION_BUFFER_MODE:()=>A,CheckboxControlValueAccessor:()=>S,CheckboxRequiredValidator:()=>Lo,ControlContainer:()=>Qe,DefaultValueAccessor:()=>O,EmailValidator:()=>Zi,FormArray:()=>Ki,FormArrayName:()=>Xr,FormBuilder:()=>co,FormControl:()=>Ie,FormControlDirective:()=>si,FormControlName:()=>Yi,FormGroup:()=>sr,FormGroupDirective:()=>ai,FormGroupName:()=>ti,FormRecord:()=>xn,FormsModule:()=>hs,MaxLengthValidator:()=>Co,MaxValidator:()=>Eo,MinLengthValidator:()=>Gi,MinValidator:()=>Wr,NG_ASYNC_VALIDATORS:()=>I,NG_VALIDATORS:()=>T,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>Ut,NgControlStatus:()=>bn,NgControlStatusGroup:()=>kt,NgForm:()=>z,NgModel:()=>Yt,NgModelGroup:()=>fn,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>Fo,NumberValueAccessor:()=>cr,PatternValidator:()=>wo,RadioControlValueAccessor:()=>lo,RangeValueAccessor:()=>_r,ReactiveFormsModule:()=>Qo,RequiredValidator:()=>Gr,SelectControlValueAccessor:()=>Wi,SelectMultipleControlValueAccessor:()=>xi,UntypedFormArray:()=>uo,UntypedFormBuilder:()=>Do,UntypedFormControl:()=>fe,UntypedFormGroup:()=>br,VERSION:()=>Ko,Validators:()=>N,isFormArray:()=>So,isFormControl:()=>Te,isFormGroup:()=>Jn,isFormRecord:()=>oi,\u0275InternalFormsSharedModule:()=>rs,\u0275NgNoValidate:()=>Ln,\u0275NgSelectMultipleOption:()=>qr});var n=o(54496),i=o(91368),d=o(74496),a=o(53252),c=o(64300),e=o(50560),u=o(59472),l=o(87773),g=o(74187),v=o(67904),C=o(54704);let b=(()=>{class ze{constructor(ke,dt){this._renderer=ke,this._elementRef=dt,this.onChange=wt=>{},this.onTouched=()=>{}}setProperty(ke,dt){this._renderer.setProperty(this._elementRef.nativeElement,ke,dt)}registerOnTouched(ke){this.onTouched=ke}registerOnChange(ke){this.onChange=ke}setDisabledState(ke){this.setProperty("disabled",ke)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze})}return ze})(),_=(()=>{class ze extends b{static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const f=new n.InjectionToken(""),y={provide:f,useExisting:(0,n.forwardRef)(()=>S),multi:!0};let S=(()=>{class ze extends _{writeValue(ke){this.setProperty("checked",ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target.checked)})("blur",function(){return wt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([y]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const M={provide:f,useExisting:(0,n.forwardRef)(()=>O),multi:!0},A=new n.InjectionToken("");let O=(()=>{class ze extends b{constructor(ke,dt,wt){super(ke,dt),this._compositionMode=wt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function w(){const ze=(0,i.\u0275getDOM)()?(0,i.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(ze.toLowerCase())}())}writeValue(ke){this.setProperty("value",ke??"")}_handleInput(ke){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ke)}_compositionStart(){this._composing=!0}_compositionEnd(ke){this._composing=!1,this._compositionMode&&this.onChange(ke)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,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(dt,wt){1&dt&&n.\u0275\u0275listener("input",function(Bn){return wt._handleInput(Bn.target.value)})("blur",function(){return wt.onTouched()})("compositionstart",function(){return wt._compositionStart()})("compositionend",function(Bn){return wt._compositionEnd(Bn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([M]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();function F(ze){return null==ze||("string"==typeof ze||Array.isArray(ze))&&0===ze.length}function j(ze){return null!=ze&&"number"==typeof ze.length}const T=new n.InjectionToken(""),I=new n.InjectionToken(""),k=/^(?=.{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 N{static min(Xe){return x(Xe)}static max(Xe){return H(Xe)}static required(Xe){return G(Xe)}static requiredTrue(Xe){return te(Xe)}static email(Xe){return ce(Xe)}static minLength(Xe){return se(Xe)}static maxLength(Xe){return K(Xe)}static pattern(Xe){return Z(Xe)}static nullValidator(Xe){return null}static compose(Xe){return Oe(Xe)}static composeAsync(Xe){return Ae(Xe)}}function x(ze){return Xe=>{if(F(Xe.value)||F(ze))return null;const ke=parseFloat(Xe.value);return!isNaN(ke)&&ke{if(F(Xe.value)||F(ze))return null;const ke=parseFloat(Xe.value);return!isNaN(ke)&&ke>ze?{max:{max:ze,actual:Xe.value}}:null}}function G(ze){return F(ze.value)?{required:!0}:null}function te(ze){return!0===ze.value?null:{required:!0}}function ce(ze){return F(ze.value)||k.test(ze.value)?null:{email:!0}}function se(ze){return Xe=>F(Xe.value)||!j(Xe.value)?null:Xe.value.lengthj(Xe.value)&&Xe.value.length>ze?{maxlength:{requiredLength:ze,actualLength:Xe.value.length}}:null}function Z(ze){if(!ze)return re;let Xe,ke;return"string"==typeof ze?(ke="","^"!==ze.charAt(0)&&(ke+="^"),ke+=ze,"$"!==ze.charAt(ze.length-1)&&(ke+="$"),Xe=new RegExp(ke)):(ke=ze.toString(),Xe=ze),dt=>{if(F(dt.value))return null;const wt=dt.value;return Xe.test(wt)?null:{pattern:{requiredPattern:ke,actualValue:wt}}}}function re(ze){return null}function X(ze){return null!=ze}function W(ze){return(0,n.\u0275isPromise)(ze)?(0,d.Q)(ze):ze}function Y(ze){let Xe={};return ze.forEach(ke=>{Xe=null!=ke?{...Xe,...ke}:Xe}),0===Object.keys(Xe).length?null:Xe}function q(ze,Xe){return Xe.map(ke=>ke(ze))}function _e(ze){return ze.map(Xe=>function he(ze){return!ze.validate}(Xe)?Xe:ke=>Xe.validate(ke))}function Oe(ze){if(!ze)return null;const Xe=ze.filter(X);return 0==Xe.length?null:function(ke){return Y(q(ke,Xe))}}function Re(ze){return null!=ze?Oe(_e(ze)):null}function Ae(ze){if(!ze)return null;const Xe=ze.filter(X);return 0==Xe.length?null:function(ke){return function p(...ze){const Xe=(0,u.yu)(ze),{args:ke,keys:dt}=(0,c.Q)(ze),wt=new a._(Wn=>{const{length:Bn}=ke;if(!Bn)return void Wn.complete();const zi=new Array(Bn);let Mo=Bn,Ao=Bn;for(let ho=0;ho{Ur||(Ur=!0,Ao--),zi[ho]=Zo},()=>Mo--,void 0,()=>{(!Mo||!Ur)&&(Ao||Wn.next(dt?(0,v.q)(dt,zi):zi),Wn.complete())}))}});return Xe?wt.pipe((0,g.j)(Xe)):wt}(q(ke,Xe).map(W)).pipe((0,C.k)(Y))}}function ge(ze){return null!=ze?Ae(_e(ze)):null}function Ne(ze,Xe){return null===ze?[Xe]:Array.isArray(ze)?[...ze,Xe]:[ze,Xe]}function it(ze){return ze._rawValidators}function qe(ze){return ze._rawAsyncValidators}function et(ze){return ze?Array.isArray(ze)?ze:[ze]:[]}function De(ze,Xe){return Array.isArray(ze)?ze.includes(Xe):ze===Xe}function je(ze,Xe){const ke=et(Xe);return et(ze).forEach(wt=>{De(ke,wt)||ke.push(wt)}),ke}function Pe(ze,Xe){return et(Xe).filter(ke=>!De(ze,ke))}class bt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(Xe){this._rawValidators=Xe||[],this._composedValidatorFn=Re(this._rawValidators)}_setAsyncValidators(Xe){this._rawAsyncValidators=Xe||[],this._composedAsyncValidatorFn=ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Xe){this._onDestroyCallbacks.push(Xe)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Xe=>Xe()),this._onDestroyCallbacks=[]}reset(Xe=void 0){this.control&&this.control.reset(Xe)}hasError(Xe,ke){return!!this.control&&this.control.hasError(Xe,ke)}getError(Xe,ke){return this.control?this.control.getError(Xe,ke):null}}class Qe extends bt{get formDirective(){return null}get path(){return null}}class Ut extends bt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sn{constructor(Xe){this._cd=Xe}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let bn=(()=>{class ze extends sn{constructor(ke){super(ke)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Ut,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275classProp("ng-untouched",wt.isUntouched)("ng-touched",wt.isTouched)("ng-pristine",wt.isPristine)("ng-dirty",wt.isDirty)("ng-valid",wt.isValid)("ng-invalid",wt.isInvalid)("ng-pending",wt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),kt=(()=>{class ze extends sn{constructor(ke){super(ke)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Qe,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275classProp("ng-untouched",wt.isUntouched)("ng-touched",wt.isTouched)("ng-pristine",wt.isPristine)("ng-dirty",wt.isDirty)("ng-valid",wt.isValid)("ng-invalid",wt.isInvalid)("ng-pending",wt.isPending)("ng-submitted",wt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const kn="VALID",Mt="INVALID",Gt="PENDING",mt="DISABLED";function Et(ze){return(qt(ze)?ze.validators:ze)||null}function _n(ze,Xe){return(qt(Xe)?Xe.asyncValidators:ze)||null}function qt(ze){return null!=ze&&!Array.isArray(ze)&&"object"==typeof ze}function nr(ze,Xe,ke){const dt=ze.controls;if(!(Xe?Object.keys(dt):dt).length)throw new n.\u0275RuntimeError(1e3,"");if(!dt[ke])throw new n.\u0275RuntimeError(1001,"")}function kr(ze,Xe,ke){ze._forEachChild((dt,wt)=>{if(void 0===ke[wt])throw new n.\u0275RuntimeError(1002,"")})}class Br{constructor(Xe,ke){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Xe),this._assignAsyncValidators(ke)}get validator(){return this._composedValidatorFn}set validator(Xe){this._rawValidators=this._composedValidatorFn=Xe}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Xe){this._rawAsyncValidators=this._composedAsyncValidatorFn=Xe}get parent(){return this._parent}get valid(){return this.status===kn}get invalid(){return this.status===Mt}get pending(){return this.status==Gt}get disabled(){return this.status===mt}get enabled(){return this.status!==mt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Xe){this._assignValidators(Xe)}setAsyncValidators(Xe){this._assignAsyncValidators(Xe)}addValidators(Xe){this.setValidators(je(Xe,this._rawValidators))}addAsyncValidators(Xe){this.setAsyncValidators(je(Xe,this._rawAsyncValidators))}removeValidators(Xe){this.setValidators(Pe(Xe,this._rawValidators))}removeAsyncValidators(Xe){this.setAsyncValidators(Pe(Xe,this._rawAsyncValidators))}hasValidator(Xe){return De(this._rawValidators,Xe)}hasAsyncValidator(Xe){return De(this._rawAsyncValidators,Xe)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Xe={}){this.touched=!0,this._parent&&!Xe.onlySelf&&this._parent.markAsTouched(Xe)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Xe=>Xe.markAllAsTouched())}markAsUntouched(Xe={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ke=>{ke.markAsUntouched({onlySelf:!0})}),this._parent&&!Xe.onlySelf&&this._parent._updateTouched(Xe)}markAsDirty(Xe={}){this.pristine=!1,this._parent&&!Xe.onlySelf&&this._parent.markAsDirty(Xe)}markAsPristine(Xe={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ke=>{ke.markAsPristine({onlySelf:!0})}),this._parent&&!Xe.onlySelf&&this._parent._updatePristine(Xe)}markAsPending(Xe={}){this.status=Gt,!1!==Xe.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Xe.onlySelf&&this._parent.markAsPending(Xe)}disable(Xe={}){const ke=this._parentMarkedDirty(Xe.onlySelf);this.status=mt,this.errors=null,this._forEachChild(dt=>{dt.disable({...Xe,onlySelf:!0})}),this._updateValue(),!1!==Xe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Xe,skipPristineCheck:ke}),this._onDisabledChange.forEach(dt=>dt(!0))}enable(Xe={}){const ke=this._parentMarkedDirty(Xe.onlySelf);this.status=kn,this._forEachChild(dt=>{dt.enable({...Xe,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Xe.emitEvent}),this._updateAncestors({...Xe,skipPristineCheck:ke}),this._onDisabledChange.forEach(dt=>dt(!1))}_updateAncestors(Xe){this._parent&&!Xe.onlySelf&&(this._parent.updateValueAndValidity(Xe),Xe.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Xe){this._parent=Xe}getRawValue(){return this.value}updateValueAndValidity(Xe={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kn||this.status===Gt)&&this._runAsyncValidator(Xe.emitEvent)),!1!==Xe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Xe.onlySelf&&this._parent.updateValueAndValidity(Xe)}_updateTreeValidity(Xe={emitEvent:!0}){this._forEachChild(ke=>ke._updateTreeValidity(Xe)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Xe.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?mt:kn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Xe){if(this.asyncValidator){this.status=Gt,this._hasOwnPendingAsyncValidator=!0;const ke=W(this.asyncValidator(this));this._asyncValidationSubscription=ke.subscribe(dt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(dt,{emitEvent:Xe})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Xe,ke={}){this.errors=Xe,this._updateControlsErrors(!1!==ke.emitEvent)}get(Xe){let ke=Xe;return null==ke||(Array.isArray(ke)||(ke=ke.split(".")),0===ke.length)?null:ke.reduce((dt,wt)=>dt&&dt._find(wt),this)}getError(Xe,ke){const dt=ke?this.get(ke):this;return dt&&dt.errors?dt.errors[Xe]:null}hasError(Xe,ke){return!!this.getError(Xe,ke)}get root(){let Xe=this;for(;Xe._parent;)Xe=Xe._parent;return Xe}_updateControlsErrors(Xe){this.status=this._calculateStatus(),Xe&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Xe)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?mt:this.errors?Mt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gt)?Gt:this._anyControlsHaveStatus(Mt)?Mt:kn}_anyControlsHaveStatus(Xe){return this._anyControls(ke=>ke.status===Xe)}_anyControlsDirty(){return this._anyControls(Xe=>Xe.dirty)}_anyControlsTouched(){return this._anyControls(Xe=>Xe.touched)}_updatePristine(Xe={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Xe.onlySelf&&this._parent._updatePristine(Xe)}_updateTouched(Xe={}){this.touched=this._anyControlsTouched(),this._parent&&!Xe.onlySelf&&this._parent._updateTouched(Xe)}_registerOnCollectionChange(Xe){this._onCollectionChange=Xe}_setUpdateStrategy(Xe){qt(Xe)&&null!=Xe.updateOn&&(this._updateOn=Xe.updateOn)}_parentMarkedDirty(Xe){return!Xe&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Xe){return null}_assignValidators(Xe){this._rawValidators=Array.isArray(Xe)?Xe.slice():Xe,this._composedValidatorFn=function Xt(ze){return Array.isArray(ze)?Re(ze):ze||null}(this._rawValidators)}_assignAsyncValidators(Xe){this._rawAsyncValidators=Array.isArray(Xe)?Xe.slice():Xe,this._composedAsyncValidatorFn=function En(ze){return Array.isArray(ze)?ge(ze):ze||null}(this._rawAsyncValidators)}}class sr extends Br{constructor(Xe,ke,dt){super(Et(ke),_n(dt,ke)),this.controls=Xe,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Xe,ke){return this.controls[Xe]?this.controls[Xe]:(this.controls[Xe]=ke,ke.setParent(this),ke._registerOnCollectionChange(this._onCollectionChange),ke)}addControl(Xe,ke,dt={}){this.registerControl(Xe,ke),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}removeControl(Xe,ke={}){this.controls[Xe]&&this.controls[Xe]._registerOnCollectionChange(()=>{}),delete this.controls[Xe],this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}setControl(Xe,ke,dt={}){this.controls[Xe]&&this.controls[Xe]._registerOnCollectionChange(()=>{}),delete this.controls[Xe],ke&&this.registerControl(Xe,ke),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}contains(Xe){return this.controls.hasOwnProperty(Xe)&&this.controls[Xe].enabled}setValue(Xe,ke={}){kr(this,0,Xe),Object.keys(Xe).forEach(dt=>{nr(this,!0,dt),this.controls[dt].setValue(Xe[dt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Xe,ke={}){null!=Xe&&(Object.keys(Xe).forEach(dt=>{const wt=this.controls[dt];wt&&wt.patchValue(Xe[dt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Xe={},ke={}){this._forEachChild((dt,wt)=>{dt.reset(Xe?Xe[wt]:null,{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this._reduceChildren({},(Xe,ke,dt)=>(Xe[dt]=ke.getRawValue(),Xe))}_syncPendingControls(){let Xe=this._reduceChildren(!1,(ke,dt)=>!!dt._syncPendingControls()||ke);return Xe&&this.updateValueAndValidity({onlySelf:!0}),Xe}_forEachChild(Xe){Object.keys(this.controls).forEach(ke=>{const dt=this.controls[ke];dt&&Xe(dt,ke)})}_setUpControls(){this._forEachChild(Xe=>{Xe.setParent(this),Xe._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Xe){for(const[ke,dt]of Object.entries(this.controls))if(this.contains(ke)&&Xe(dt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ke,dt,wt)=>((dt.enabled||this.disabled)&&(ke[wt]=dt.value),ke))}_reduceChildren(Xe,ke){let dt=Xe;return this._forEachChild((wt,Wn)=>{dt=ke(dt,wt,Wn)}),dt}_allControlsDisabled(){for(const Xe of Object.keys(this.controls))if(this.controls[Xe].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Xe){return this.controls.hasOwnProperty(Xe)?this.controls[Xe]:null}}const br=sr,Jn=ze=>ze instanceof sr;class xn extends sr{}const oi=ze=>ze instanceof xn,Sr=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>pr}),pr="always";function Xn(ze,Xe){return[...Xe.path,ze]}function qn(ze,Xe,ke=pr){Rn(ze,Xe),Xe.valueAccessor.writeValue(ze.value),(ze.disabled||"always"===ke)&&Xe.valueAccessor.setDisabledState?.(ze.disabled),function or(ze,Xe){Xe.valueAccessor.registerOnChange(ke=>{ze._pendingValue=ke,ze._pendingChange=!0,ze._pendingDirty=!0,"change"===ze.updateOn&&Pr(ze,Xe)})}(ze,Xe),function ct(ze,Xe){const ke=(dt,wt)=>{Xe.valueAccessor.writeValue(dt),wt&&Xe.viewToModelUpdate(dt)};ze.registerOnChange(ke),Xe._registerOnDestroy(()=>{ze._unregisterOnChange(ke)})}(ze,Xe),function ui(ze,Xe){Xe.valueAccessor.registerOnTouched(()=>{ze._pendingTouched=!0,"blur"===ze.updateOn&&ze._pendingChange&&Pr(ze,Xe),"submit"!==ze.updateOn&&ze.markAsTouched()})}(ze,Xe),function Qt(ze,Xe){if(Xe.valueAccessor.setDisabledState){const ke=dt=>{Xe.valueAccessor.setDisabledState(dt)};ze.registerOnDisabledChange(ke),Xe._registerOnDestroy(()=>{ze._unregisterOnDisabledChange(ke)})}}(ze,Xe)}function Or(ze,Xe,ke=!0){const dt=()=>{};Xe.valueAccessor&&(Xe.valueAccessor.registerOnChange(dt),Xe.valueAccessor.registerOnTouched(dt)),Kn(ze,Xe),ze&&(Xe._invokeOnDestroyCallbacks(),ze._registerOnCollectionChange(()=>{}))}function pi(ze,Xe){ze.forEach(ke=>{ke.registerOnValidatorChange&&ke.registerOnValidatorChange(Xe)})}function Rn(ze,Xe){const ke=it(ze);null!==Xe.validator?ze.setValidators(Ne(ke,Xe.validator)):"function"==typeof ke&&ze.setValidators([ke]);const dt=qe(ze);null!==Xe.asyncValidator?ze.setAsyncValidators(Ne(dt,Xe.asyncValidator)):"function"==typeof dt&&ze.setAsyncValidators([dt]);const wt=()=>ze.updateValueAndValidity();pi(Xe._rawValidators,wt),pi(Xe._rawAsyncValidators,wt)}function Kn(ze,Xe){let ke=!1;if(null!==ze){if(null!==Xe.validator){const wt=it(ze);if(Array.isArray(wt)&&wt.length>0){const Wn=wt.filter(Bn=>Bn!==Xe.validator);Wn.length!==wt.length&&(ke=!0,ze.setValidators(Wn))}}if(null!==Xe.asyncValidator){const wt=qe(ze);if(Array.isArray(wt)&&wt.length>0){const Wn=wt.filter(Bn=>Bn!==Xe.asyncValidator);Wn.length!==wt.length&&(ke=!0,ze.setAsyncValidators(Wn))}}}const dt=()=>{};return pi(Xe._rawValidators,dt),pi(Xe._rawAsyncValidators,dt),ke}function Pr(ze,Xe){ze._pendingDirty&&ze.markAsDirty(),ze.setValue(ze._pendingValue,{emitModelToViewChange:!1}),Xe.viewToModelUpdate(ze._pendingValue),ze._pendingChange=!1}function Tt(ze,Xe){Rn(ze,Xe)}function Un(ze,Xe){if(!ze.hasOwnProperty("model"))return!1;const ke=ze.model;return!!ke.isFirstChange()||!Object.is(Xe,ke.currentValue)}function Er(ze,Xe){ze._syncPendingControls(),Xe.forEach(ke=>{const dt=ke.control;"submit"===dt.updateOn&&dt._pendingChange&&(ke.viewToModelUpdate(dt._pendingValue),dt._pendingChange=!1)})}function Hn(ze,Xe){if(!Xe)return null;let ke,dt,wt;return Array.isArray(Xe),Xe.forEach(Wn=>{Wn.constructor===O?ke=Wn:function Tr(ze){return Object.getPrototypeOf(ze.constructor)===_}(Wn)?dt=Wn:wt=Wn}),wt||dt||ke||null}const on={provide:Qe,useExisting:(0,n.forwardRef)(()=>z)},U=Promise.resolve();let z=(()=>{class ze extends Qe{constructor(ke,dt,wt){super(),this.callSetDisabledState=wt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new sr({},Re(ke),ge(dt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ke){U.then(()=>{const dt=this._findContainer(ke.path);ke.control=dt.registerControl(ke.name,ke.control),qn(ke.control,ke,this.callSetDisabledState),ke.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ke)})}getControl(ke){return this.form.get(ke.path)}removeControl(ke){U.then(()=>{const dt=this._findContainer(ke.path);dt&&dt.removeControl(ke.name),this._directives.delete(ke)})}addFormGroup(ke){U.then(()=>{const dt=this._findContainer(ke.path),wt=new sr({});Tt(wt,ke),dt.registerControl(ke.name,wt),wt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ke){U.then(()=>{const dt=this._findContainer(ke.path);dt&&dt.removeControl(ke.name)})}getFormGroup(ke){return this.form.get(ke.path)}updateModel(ke,dt){U.then(()=>{this.form.get(ke.path).setValue(dt)})}setValue(ke){this.control.setValue(ke)}onSubmit(ke){return this.submitted=!0,Er(this.form,this._directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ke){return ke.pop(),ke.length?this.form.get(ke):this.form}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("submit",function(Bn){return wt.onSubmit(Bn)})("reset",function(){return wt.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([on]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();function ae(ze,Xe){const ke=ze.indexOf(Xe);ke>-1&&ze.splice(ke,1)}function He(ze){return"object"==typeof ze&&null!==ze&&2===Object.keys(ze).length&&"value"in ze&&"disabled"in ze}const Ie=class extends Br{constructor(Xe=null,ke,dt){super(Et(ke),_n(dt,ke)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Xe),this._setUpdateStrategy(ke),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qt(ke)&&(ke.nonNullable||ke.initialValueIsDefault)&&(this.defaultValue=He(Xe)?Xe.value:Xe)}setValue(Xe,ke={}){this.value=this._pendingValue=Xe,this._onChange.length&&!1!==ke.emitModelToViewChange&&this._onChange.forEach(dt=>dt(this.value,!1!==ke.emitViewToModelChange)),this.updateValueAndValidity(ke)}patchValue(Xe,ke={}){this.setValue(Xe,ke)}reset(Xe=this.defaultValue,ke={}){this._applyFormState(Xe),this.markAsPristine(ke),this.markAsUntouched(ke),this.setValue(this.value,ke),this._pendingChange=!1}_updateValue(){}_anyControls(Xe){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Xe){this._onChange.push(Xe)}_unregisterOnChange(Xe){ae(this._onChange,Xe)}registerOnDisabledChange(Xe){this._onDisabledChange.push(Xe)}_unregisterOnDisabledChange(Xe){ae(this._onDisabledChange,Xe)}_forEachChild(Xe){}_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(Xe){He(Xe)?(this.value=this._pendingValue=Xe.value,Xe.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Xe}},fe=Ie,Te=ze=>ze instanceof Ie;let ot=(()=>{class ze extends Qe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,features:[n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const dn={provide:Qe,useExisting:(0,n.forwardRef)(()=>fn)};let fn=(()=>{class ze extends ot{constructor(ke,dt,wt){super(),this.name="",this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt)}_checkParentType(){}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Qe,5),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([dn]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const mn={provide:Ut,useExisting:(0,n.forwardRef)(()=>Yt)},ln=Promise.resolve();let Yt=(()=>{class ze extends Ut{constructor(ke,dt,wt,Wn,Bn,zi){super(),this._changeDetectorRef=Bn,this.callSetDisabledState=zi,this.control=new Ie,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt),this.valueAccessor=Hn(0,Wn)}ngOnChanges(ke){if(this._checkForErrors(),!this._registered||"name"in ke){if(this._registered&&(this._checkName(),this.formDirective)){const dt=ke.name.previousValue;this.formDirective.removeControl({name:dt,path:this._getPath(dt)})}this._setUpControl()}"isDisabled"in ke&&this._updateDisabled(ke),Un(ke,this.viewModel)&&(this._updateValue(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(ke){this.viewModel=ke,this.update.emit(ke)}_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(){qn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ke){ln.then(()=>{this.control.setValue(ke,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ke){const dt=ke.isDisabled.currentValue,wt=0!==dt&&(0,n.booleanAttribute)(dt);ln.then(()=>{wt&&!this.control.disabled?this.control.disable():!wt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ke){return this._parent?Xn(ke,this._parent):[ke]}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Qe,9),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"],options:[n.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([mn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})(),Ln=(()=>{class ze{static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ze})();const lr={provide:f,useExisting:(0,n.forwardRef)(()=>cr),multi:!0};let cr=(()=>{class ze extends _{writeValue(ke){this.setProperty("value",ke??"")}registerOnChange(ke){this.onChange=dt=>{ke(""==dt?null:parseFloat(dt))}}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("input",function(Bn){return wt.onChange(Bn.target.value)})("blur",function(){return wt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Nr={provide:f,useExisting:(0,n.forwardRef)(()=>lo),multi:!0};let ut=(()=>{class ze{constructor(){this._accessors=[]}add(ke,dt){this._accessors.push([ke,dt])}remove(ke){for(let dt=this._accessors.length-1;dt>=0;--dt)if(this._accessors[dt][1]===ke)return void this._accessors.splice(dt,1)}select(ke){this._accessors.forEach(dt=>{this._isSameGroup(dt,ke)&&dt[1]!==ke&&dt[1].fireUncheck(ke.value)})}_isSameGroup(ke,dt){return!!ke[0].control&&ke[0]._parent===dt._control._parent&&ke[1].name===dt.name}static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),lo=(()=>{class ze extends _{constructor(ke,dt,wt,Wn){super(ke,dt),this._registry=wt,this._injector=Wn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Sr,{optional:!0})??pr}ngOnInit(){this._control=this._injector.get(Ut),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ke){this._state=ke===this.value,this.setProperty("checked",this._state)}registerOnChange(ke){this._fn=ke,this.onChange=()=>{ke(this.value),this._registry.select(this)}}setDisabledState(ke){(this.setDisabledStateFired||ke||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ke),this.setDisabledStateFired=!0}fireUncheck(ke){this.writeValue(ke)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ut),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(){return wt.onChange()})("blur",function(){return wt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const vi={provide:f,useExisting:(0,n.forwardRef)(()=>_r),multi:!0};let _r=(()=>{class ze extends _{writeValue(ke){this.setProperty("value",parseFloat(ke))}registerOnChange(ke){this.onChange=dt=>{ke(""==dt?null:parseFloat(dt))}}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target.value)})("input",function(Bn){return wt.onChange(Bn.target.value)})("blur",function(){return wt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const wn=new n.InjectionToken(""),$n={provide:Ut,useExisting:(0,n.forwardRef)(()=>si)};let si=(()=>{class ze extends Ut{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,dt,wt,Wn,Bn){super(),this._ngModelWarningConfig=Wn,this.callSetDisabledState=Bn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ke),this._setAsyncValidators(dt),this.valueAccessor=Hn(0,wt)}ngOnChanges(ke){if(this._isControlChanged(ke)){const dt=ke.form.previousValue;dt&&Or(dt,this,!1),qn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Un(ke,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Or(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}_isControlChanged(ke){return ke.hasOwnProperty("form")}static#t=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(wn,8),n.\u0275\u0275directiveInject(Sr,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formControl",""]],inputs:{form:[n.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([$n]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})();const Ir={provide:Qe,useExisting:(0,n.forwardRef)(()=>ai)};let ai=(()=>{class ze extends Qe{constructor(ke,dt,wt){super(),this.callSetDisabledState=wt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ke),this._setAsyncValidators(dt)}ngOnChanges(ke){this._checkFormPresent(),ke.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Kn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ke){const dt=this.form.get(ke.path);return qn(dt,ke,this.callSetDisabledState),dt.updateValueAndValidity({emitEvent:!1}),this.directives.push(ke),dt}getControl(ke){return this.form.get(ke.path)}removeControl(ke){Or(ke.control||null,ke,!1),function ur(ze,Xe){const ke=ze.indexOf(Xe);ke>-1&&ze.splice(ke,1)}(this.directives,ke)}addFormGroup(ke){this._setUpFormContainer(ke)}removeFormGroup(ke){this._cleanUpFormContainer(ke)}getFormGroup(ke){return this.form.get(ke.path)}addFormArray(ke){this._setUpFormContainer(ke)}removeFormArray(ke){this._cleanUpFormContainer(ke)}getFormArray(ke){return this.form.get(ke.path)}updateModel(ke,dt){this.form.get(ke.path).setValue(dt)}onSubmit(ke){return this.submitted=!0,Er(this.form,this.directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_updateDomValue(){this.directives.forEach(ke=>{const dt=ke.control,wt=this.form.get(ke.path);dt!==wt&&(Or(dt||null,ke),Te(wt)&&(qn(wt,ke,this.callSetDisabledState),ke.control=wt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ke){const dt=this.form.get(ke.path);Tt(dt,ke),dt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ke){if(this.form){const dt=this.form.get(ke.path);dt&&function St(ze,Xe){return Kn(ze,Xe)}(dt,ke)&&dt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rn(this.form,this),this._oldForm&&Kn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formGroup",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("submit",function(Bn){return wt.onSubmit(Bn)})("reset",function(){return wt.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Ir]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})();const On={provide:Qe,useExisting:(0,n.forwardRef)(()=>ti)};let ti=(()=>{class ze extends ot{constructor(ke,dt,wt){super(),this.name=null,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Qe,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([On]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Zr={provide:Qe,useExisting:(0,n.forwardRef)(()=>Xr)};let Xr=(()=>{class ze extends Qe{constructor(ke,dt,wt){super(),this.name=null,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Xn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Qe,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zr]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();function Vi(ze){return!(ze instanceof ti||ze instanceof ai||ze instanceof Xr)}const hr={provide:Ut,useExisting:(0,n.forwardRef)(()=>Yi)};let Yi=(()=>{class ze extends Ut{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,dt,wt,Wn,Bn){super(),this._ngModelWarningConfig=Bn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt),this.valueAccessor=Hn(0,Wn)}ngOnChanges(ke){this._added||this._setUpControl(),Un(ke,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}get path(){return Xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(Qe,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(I,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(wn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","formControlName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ze})();const ko={provide:f,useExisting:(0,n.forwardRef)(()=>Wi),multi:!0};function go(ze,Xe){return null==ze?`${Xe}`:(Xe&&"object"==typeof Xe&&(Xe="Object"),`${ze}: ${Xe}`.slice(0,50))}let Wi=(()=>{class ze extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){this.value=ke;const wt=go(this._getOptionId(ke),ke);this.setProperty("value",wt)}registerOnChange(ke){this.onChange=dt=>{this.value=this._getOptionValue(dt),ke(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ke){for(const dt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(dt),ke))return dt;return null}_getOptionValue(ke){const dt=function Jr(ze){return ze.split(":")[0]}(ke);return this._optionMap.has(dt)?this._optionMap.get(dt):ke}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target.value)})("blur",function(){return wt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ko]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),qi=(()=>{class ze{constructor(ke,dt,wt){this._element=ke,this._renderer=dt,this._select=wt,this._select&&(this.id=this._select._registerOption())}set ngValue(ke){null!=this._select&&(this._select._optionMap.set(this.id,ke),this._setElementValue(go(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._setElementValue(ke),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Wi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ze})();const ro={provide:f,useExisting:(0,n.forwardRef)(()=>xi),multi:!0};function Rr(ze,Xe){return null==ze?`${Xe}`:("string"==typeof Xe&&(Xe=`'${Xe}'`),Xe&&"object"==typeof Xe&&(Xe="Object"),`${ze}: ${Xe}`.slice(0,50))}let xi=(()=>{class ze extends _{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){let dt;if(this.value=ke,Array.isArray(ke)){const wt=ke.map(Wn=>this._getOptionId(Wn));dt=(Wn,Bn)=>{Wn._setSelected(wt.indexOf(Bn.toString())>-1)}}else dt=(wt,Wn)=>{wt._setSelected(!1)};this._optionMap.forEach(dt)}registerOnChange(ke){this.onChange=dt=>{const wt=[],Wn=dt.selectedOptions;if(void 0!==Wn){const Bn=Wn;for(let zi=0;zi{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target)})("blur",function(){return wt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ro]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),qr=(()=>{class ze{constructor(ke,dt,wt){this._element=ke,this._renderer=dt,this._select=wt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ke){null!=this._select&&(this._value=ke,this._setElementValue(Rr(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._select?(this._value=ke,this._setElementValue(Rr(this.id,ke)),this._select.writeValue(this._select.value)):this._setElementValue(ke)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}_setSelected(ke){this._renderer.setProperty(this._element.nativeElement,"selected",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(dt){return new(dt||ze)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(xi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ze})();function ar(ze){return"number"==typeof ze?ze:parseInt(ze,10)}function yo(ze){return"number"==typeof ze?ze:parseFloat(ze)}let wi=(()=>{class ze{constructor(){this._validator=re}ngOnChanges(ke){if(this.inputName in ke){const dt=this.normalizeInput(ke[this.inputName].currentValue);this._enabled=this.enabled(dt),this._validator=this._enabled?this.createValidator(dt):re,this._onChange&&this._onChange()}}validate(ke){return this._validator(ke)}registerOnValidatorChange(ke){this._onChange=ke}enabled(ke){return null!=ke}static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,features:[n.\u0275\u0275NgOnChangesFeature]})}return ze})();const yi={provide:T,useExisting:(0,n.forwardRef)(()=>Eo),multi:!0};let Eo=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ke=>yo(ke),this.createValidator=ke=>H(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("max",wt._enabled?wt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const po={provide:T,useExisting:(0,n.forwardRef)(()=>Wr),multi:!0};let Wr=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ke=>yo(ke),this.createValidator=ke=>x(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("min",wt._enabled?wt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([po]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const bo={provide:T,useExisting:(0,n.forwardRef)(()=>Gr),multi:!0},Ni={provide:T,useExisting:(0,n.forwardRef)(()=>Lo),multi:!0};let Gr=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>G}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("required",wt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bo]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),Lo=(()=>{class ze extends Gr{constructor(){super(...arguments),this.createValidator=ke=>te}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("required",wt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Oi={provide:T,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};let Zi=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>ce}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Oi]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Li={provide:T,useExisting:(0,n.forwardRef)(()=>Gi),multi:!0};let Gi=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ke=>ar(ke),this.createValidator=ke=>se(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("minlength",wt._enabled?wt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Li]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const $o={provide:T,useExisting:(0,n.forwardRef)(()=>Co),multi:!0};let Co=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ke=>ar(ke),this.createValidator=ke=>K(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("maxlength",wt._enabled?wt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$o]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})();const Ro={provide:T,useExisting:(0,n.forwardRef)(()=>wo),multi:!0};let wo=(()=>{class ze extends wi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ke=>ke,this.createValidator=ke=>Z(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ze,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("pattern",wt._enabled?wt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ro]),n.\u0275\u0275InheritDefinitionFeature]})}return ze})(),rs=(()=>{class ze{static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return ze})();class Ki extends Br{constructor(Xe,ke,dt){super(Et(ke),_n(dt,ke)),this.controls=Xe,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Xe){return this.controls[this._adjustIndex(Xe)]}push(Xe,ke={}){this.controls.push(Xe),this._registerControl(Xe),this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}insert(Xe,ke,dt={}){this.controls.splice(Xe,0,ke),this._registerControl(ke),this.updateValueAndValidity({emitEvent:dt.emitEvent})}removeAt(Xe,ke={}){let dt=this._adjustIndex(Xe);dt<0&&(dt=0),this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),this.controls.splice(dt,1),this.updateValueAndValidity({emitEvent:ke.emitEvent})}setControl(Xe,ke,dt={}){let wt=this._adjustIndex(Xe);wt<0&&(wt=0),this.controls[wt]&&this.controls[wt]._registerOnCollectionChange(()=>{}),this.controls.splice(wt,1),ke&&(this.controls.splice(wt,0,ke),this._registerControl(ke)),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Xe,ke={}){kr(this,0,Xe),Xe.forEach((dt,wt)=>{nr(this,!1,wt),this.at(wt).setValue(dt,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Xe,ke={}){null!=Xe&&(Xe.forEach((dt,wt)=>{this.at(wt)&&this.at(wt).patchValue(dt,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Xe=[],ke={}){this._forEachChild((dt,wt)=>{dt.reset(Xe[wt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this.controls.map(Xe=>Xe.getRawValue())}clear(Xe={}){this.controls.length<1||(this._forEachChild(ke=>ke._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Xe.emitEvent}))}_adjustIndex(Xe){return Xe<0?Xe+this.length:Xe}_syncPendingControls(){let Xe=this.controls.reduce((ke,dt)=>!!dt._syncPendingControls()||ke,!1);return Xe&&this.updateValueAndValidity({onlySelf:!0}),Xe}_forEachChild(Xe){this.controls.forEach((ke,dt)=>{Xe(ke,dt)})}_updateValue(){this.value=this.controls.filter(Xe=>Xe.enabled||this.disabled).map(Xe=>Xe.value)}_anyControls(Xe){return this.controls.some(ke=>ke.enabled&&Xe(ke))}_setUpControls(){this._forEachChild(Xe=>this._registerControl(Xe))}_allControlsDisabled(){for(const Xe of this.controls)if(Xe.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Xe){Xe.setParent(this),Xe._registerOnCollectionChange(this._onCollectionChange)}_find(Xe){return this.at(Xe)??null}}const uo=Ki,So=ze=>ze instanceof Ki;function cs(ze){return!!ze&&(void 0!==ze.asyncValidators||void 0!==ze.validators||void 0!==ze.updateOn)}let co=(()=>{class ze{constructor(){this.useNonNullable=!1}get nonNullable(){const ke=new ze;return ke.useNonNullable=!0,ke}group(ke,dt=null){const wt=this._reduceControls(ke);let Wn={};return cs(dt)?Wn=dt:null!==dt&&(Wn.validators=dt.validator,Wn.asyncValidators=dt.asyncValidator),new sr(wt,Wn)}record(ke,dt=null){const wt=this._reduceControls(ke);return new xn(wt,dt)}control(ke,dt,wt){let Wn={};return this.useNonNullable?(cs(dt)?Wn=dt:(Wn.validators=dt,Wn.asyncValidators=wt),new Ie(ke,{...Wn,nonNullable:!0})):new Ie(ke,dt,wt)}array(ke,dt,wt){const Wn=ke.map(Bn=>this._createControl(Bn));return new Ki(Wn,dt,wt)}_reduceControls(ke){const dt={};return Object.keys(ke).forEach(wt=>{dt[wt]=this._createControl(ke[wt])}),dt}_createControl(ke){return ke instanceof Ie||ke instanceof Br?ke:Array.isArray(ke)?this.control(ke[0],ke.length>1?ke[1]:null,ke.length>2?ke[2]:null):this.control(ke)}static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})(),Fo=(()=>{class ze{static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:()=>(0,n.inject)(co).nonNullable,providedIn:"root"})}return ze})(),Do=(()=>{class ze extends co{group(ke,dt=null){return super.group(ke,dt)}control(ke,dt,wt){return super.control(ke,dt,wt)}array(ke,dt,wt){return super.array(ke,dt,wt)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(ze)))(wt||ze)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ze,factory:ze.\u0275fac,providedIn:"root"})}return ze})();const Ko=new n.Version("17.2.3");let hs=(()=>{class ze{static withConfig(ke){return{ngModule:ze,providers:[{provide:Sr,useValue:ke.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return ze})(),Qo=(()=>{class ze{static withConfig(ke){return{ngModule:ze,providers:[{provide:wn,useValue:ke.warnOnNgModelWithFormControl??"always"},{provide:Sr,useValue:ke.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(dt){return new(dt||ze)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ze});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return ze})()},44556:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cs,NoopAnimationsModule:()=>io,provideAnimations:()=>os,provideNoopAnimations:()=>fs,\u0275InjectableAnimationEngine:()=>Xi});var n=o(54496),i=o(14476),d=function(rt){return rt[rt.State=0]="State",rt[rt.Transition=1]="Transition",rt[rt.Sequence=2]="Sequence",rt[rt.Group=3]="Group",rt[rt.Animate=4]="Animate",rt[rt.Keyframes=5]="Keyframes",rt[rt.Style=6]="Style",rt[rt.Trigger=7]="Trigger",rt[rt.Reference=8]="Reference",rt[rt.AnimateChild=9]="AnimateChild",rt[rt.AnimateRef=10]="AnimateRef",rt[rt.Query=11]="Query",rt[rt.Stagger=12]="Stagger",rt}(d||{});const a="*";function g(rt){return{type:d.Style,styles:rt,offset:null}}class k{constructor(ne=0,me=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ne+me}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ne=>ne()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ne){this._position=this.totalTime?ne*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ne){const me="start"==ne?this._onStartFns:this._onDoneFns;me.forEach(Be=>Be()),me.length=0}}class N{constructor(ne){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ne;let me=0,Be=0,nt=0;const yt=this.players.length;0==yt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Pt=>{Pt.onDone(()=>{++me==yt&&this._onFinish()}),Pt.onDestroy(()=>{++Be==yt&&this._onDestroy()}),Pt.onStart(()=>{++nt==yt&&this._onStart()})}),this.totalTime=this.players.reduce((Pt,Nt)=>Math.max(Pt,Nt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this.players.forEach(ne=>ne.init())}onStart(ne){this._onStartFns.push(ne)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ne=>ne()),this._onStartFns=[])}onDone(ne){this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ne=>ne.play())}pause(){this.players.forEach(ne=>ne.pause())}restart(){this.players.forEach(ne=>ne.restart())}finish(){this._onFinish(),this.players.forEach(ne=>ne.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ne=>ne.destroy()),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this.players.forEach(ne=>ne.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ne){const me=ne*this.totalTime;this.players.forEach(Be=>{const nt=Be.totalTime?Math.min(1,me/Be.totalTime):1;Be.setPosition(nt)})}getPosition(){const ne=this.players.reduce((me,Be)=>null===me||Be.totalTime>me.totalTime?Be:me,null);return null!=ne?ne.getPosition():0}beforeDestroy(){this.players.forEach(ne=>{ne.beforeDestroy&&ne.beforeDestroy()})}triggerCallback(ne){const me="start"==ne?this._onStartFns:this._onDoneFns;me.forEach(Be=>Be()),me.length=0}}function G(rt){return new n.\u0275RuntimeError(3e3,!1)}function Ge(rt){switch(rt.length){case 0:return new k;case 1:return rt[0];default:return new N(rt)}}function Je(rt,ne,me=new Map,Be=new Map){const nt=[],yt=[];let Pt=-1,Nt=null;if(ne.forEach(Vt=>{const gn=Vt.get("offset"),zn=gn==Pt,Gn=zn&&Nt||new Map;Vt.forEach((zr,fr)=>{let tr=fr,vr=zr;if("offset"!==fr)switch(tr=rt.normalizePropertyName(tr,nt),vr){case"!":vr=me.get(fr);break;case a:vr=Be.get(fr);break;default:vr=rt.normalizeStyleValue(fr,tr,vr,nt)}Gn.set(tr,vr)}),zn||yt.push(Gn),Nt=Gn,Pt=gn}),nt.length)throw function bt(rt){return new n.\u0275RuntimeError(3502,!1)}();return yt}function vt(rt,ne,me,Be){switch(ne){case"start":rt.onStart(()=>Be(me&&Bt(me,"start",rt)));break;case"done":rt.onDone(()=>Be(me&&Bt(me,"done",rt)));break;case"destroy":rt.onDestroy(()=>Be(me&&Bt(me,"destroy",rt)))}}function Bt(rt,ne,me){const yt=Zt(rt.element,rt.triggerName,rt.fromState,rt.toState,ne||rt.phaseName,me.totalTime??rt.totalTime,!!me.disabled),Pt=rt._data;return null!=Pt&&(yt._data=Pt),yt}function Zt(rt,ne,me,Be,nt="",yt=0,Pt){return{element:rt,triggerName:ne,fromState:me,toState:Be,phaseName:nt,totalTime:yt,disabled:!!Pt}}function Rt(rt,ne,me){let Be=rt.get(ne);return Be||rt.set(ne,Be=me),Be}function Dt(rt){const ne=rt.indexOf(":");return[rt.substring(1,ne),rt.slice(ne+1)]}const Ot=typeof document>"u"?null:document.documentElement;function pn(rt){const ne=rt.parentNode||rt.host||null;return ne===Ot?null:ne}let Yn=null,er=!1;function mt(rt,ne){for(;ne;){if(ne===rt)return!0;ne=pn(ne)}return!1}function Et(rt,ne,me){if(me)return Array.from(rt.querySelectorAll(ne));const Be=rt.querySelector(ne);return Be?[Be]:[]}let _n=(()=>{class rt{validateStyleProperty(me){return function kn(rt){Yn||(Yn=function Gt(){return typeof document<"u"?document.body:null}()||{},er=!!Yn.style&&"WebkitAppearance"in Yn.style);let ne=!0;return Yn.style&&!function Vn(rt){return"ebkit"==rt.substring(1,6)}(rt)&&(ne=rt in Yn.style,!ne&&er&&(ne="Webkit"+rt.charAt(0).toUpperCase()+rt.slice(1)in Yn.style)),ne}(me)}matchesElement(me,Be){return!1}containsElement(me,Be){return mt(me,Be)}getParentElement(me){return pn(me)}query(me,Be,nt){return Et(me,Be,nt)}computeStyle(me,Be,nt){return nt||""}animate(me,Be,nt,yt,Pt,Nt=[],Vt){return new k(nt,yt)}static#e=this.\u0275fac=function(Be){return new(Be||rt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();class En{static#e=this.NOOP=new _n}class qt{}const kr=1e3,Mr="ng-enter",br="ng-leave",Jn="ng-trigger",xn=".ng-trigger",oi="ng-animating",Sr=".ng-animating";function pr(rt){if("number"==typeof rt)return rt;const ne=rt.match(/^(-?[\.\d]+)(m?s)/);return!ne||ne.length<2?0:Xn(parseFloat(ne[1]),ne[2])}function Xn(rt,ne){return"s"===ne?rt*kr:rt}function qn(rt,ne,me){return rt.hasOwnProperty("duration")?rt:function Or(rt,ne,me){let nt,yt=0,Pt="";if("string"==typeof rt){const Nt=rt.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Nt)return ne.push(G()),{duration:0,delay:0,easing:""};nt=Xn(parseFloat(Nt[1]),Nt[2]);const Vt=Nt[3];null!=Vt&&(yt=Xn(parseFloat(Vt),Nt[4]));const gn=Nt[5];gn&&(Pt=gn)}else nt=rt;if(!me){let Nt=!1,Vt=ne.length;nt<0&&(ne.push(function te(){return new n.\u0275RuntimeError(3100,!1)}()),Nt=!0),yt<0&&(ne.push(function ce(){return new n.\u0275RuntimeError(3101,!1)}()),Nt=!0),Nt&&ne.splice(Vt,0,G())}return{duration:nt,delay:yt,easing:Pt}}(rt,ne,me)}function Rn(rt,ne,me){ne.forEach((Be,nt)=>{const yt=Jt(nt);me&&!me.has(nt)&&me.set(nt,rt.style[yt]),rt.style[yt]=Be})}function Kn(rt,ne){ne.forEach((me,Be)=>{const nt=Jt(Be);rt.style[nt]=""})}function or(rt){return Array.isArray(rt)?1==rt.length?rt[0]:function l(rt,ne=null){return{type:d.Sequence,steps:rt,options:ne}}(rt):rt}const Pr=new RegExp("{{\\s*(.+?)\\s*}}","g");function ct(rt){let ne=[];if("string"==typeof rt){let me;for(;me=Pr.exec(rt);)ne.push(me[1]);Pr.lastIndex=0}return ne}function Tt(rt,ne,me){const Be=`${rt}`,nt=Be.replace(Pr,(yt,Pt)=>{let Nt=ne[Pt];return null==Nt&&(me.push(function K(rt){return new n.\u0275RuntimeError(3003,!1)}()),Nt=""),Nt.toString()});return nt==Be?rt:nt}const St=/-+([a-z0-9])/g;function Jt(rt){return rt.replace(St,(...ne)=>ne[1].toUpperCase())}function Qn(rt,ne,me){switch(ne.type){case d.Trigger:return rt.visitTrigger(ne,me);case d.State:return rt.visitState(ne,me);case d.Transition:return rt.visitTransition(ne,me);case d.Sequence:return rt.visitSequence(ne,me);case d.Group:return rt.visitGroup(ne,me);case d.Animate:return rt.visitAnimate(ne,me);case d.Keyframes:return rt.visitKeyframes(ne,me);case d.Style:return rt.visitStyle(ne,me);case d.Reference:return rt.visitReference(ne,me);case d.AnimateChild:return rt.visitAnimateChild(ne,me);case d.AnimateRef:return rt.visitAnimateRef(ne,me);case d.Query:return rt.visitQuery(ne,me);case d.Stagger:return rt.visitStagger(ne,me);default:throw function Z(rt){return new n.\u0275RuntimeError(3004,!1)}()}}function Un(rt,ne){return window.getComputedStyle(rt)[ne]}const Tr=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 Er extends qt{normalizePropertyName(ne,me){return Jt(ne)}normalizeStyleValue(ne,me,Be,nt){let yt="";const Pt=Be.toString().trim();if(Tr.has(me)&&0!==Be&&"0"!==Be)if("number"==typeof Be)yt="px";else{const Nt=Be.match(/^[+-]?[\d\.]+([a-z]*)$/);Nt&&0==Nt[1].length&&nt.push(function re(rt,ne){return new n.\u0275RuntimeError(3005,!1)}())}return Pt+yt}}const ae="*";const Te=new Set(["true","1"]),ot=new Set(["false","0"]);function ht(rt,ne){const me=Te.has(rt)||ot.has(rt),Be=Te.has(ne)||ot.has(ne);return(nt,yt)=>{let Pt=rt==ae||rt==nt,Nt=ne==ae||ne==yt;return!Pt&&me&&"boolean"==typeof nt&&(Pt=nt?Te.has(rt):ot.has(rt)),!Nt&&Be&&"boolean"==typeof yt&&(Nt=yt?Te.has(ne):ot.has(ne)),Pt&&Nt}}const Lt=new RegExp("s*:selfs*,?","g");function Kt(rt,ne,me,Be){return new fn(rt).build(ne,me,Be)}class fn{constructor(ne){this._driver=ne}build(ne,me,Be){const nt=new Yt(me);return this._resetContextStyleTimingState(nt),Qn(this,or(ne),nt)}_resetContextStyleTimingState(ne){ne.currentQuerySelector="",ne.collectedStyles=new Map,ne.collectedStyles.set("",new Map),ne.currentTime=0}visitTrigger(ne,me){let Be=me.queryCount=0,nt=me.depCount=0;const yt=[],Pt=[];return"@"==ne.name.charAt(0)&&me.errors.push(function X(){return new n.\u0275RuntimeError(3006,!1)}()),ne.definitions.forEach(Nt=>{if(this._resetContextStyleTimingState(me),Nt.type==d.State){const Vt=Nt,gn=Vt.name;gn.toString().split(/\s*,\s*/).forEach(zn=>{Vt.name=zn,yt.push(this.visitState(Vt,me))}),Vt.name=gn}else if(Nt.type==d.Transition){const Vt=this.visitTransition(Nt,me);Be+=Vt.queryCount,nt+=Vt.depCount,Pt.push(Vt)}else me.errors.push(function W(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:d.Trigger,name:ne.name,states:yt,transitions:Pt,queryCount:Be,depCount:nt,options:null}}visitState(ne,me){const Be=this.visitStyle(ne.styles,me),nt=ne.options&&ne.options.params||null;if(Be.containsDynamicStyles){const yt=new Set,Pt=nt||{};Be.styles.forEach(Nt=>{Nt instanceof Map&&Nt.forEach(Vt=>{ct(Vt).forEach(gn=>{Pt.hasOwnProperty(gn)||yt.add(gn)})})}),yt.size&&me.errors.push(function Y(rt,ne){return new n.\u0275RuntimeError(3008,!1)}(0,yt.values()))}return{type:d.State,name:ne.name,style:Be,options:nt?{params:nt}:null}}visitTransition(ne,me){me.queryCount=0,me.depCount=0;const Be=Qn(this,or(ne.animation),me),nt=function He(rt,ne){const me=[];return"string"==typeof rt?rt.split(/\s*,\s*/).forEach(Be=>function Ie(rt,ne,me){if(":"==rt[0]){const Vt=function fe(rt,ne){switch(rt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(me,Be)=>parseFloat(Be)>parseFloat(me);case":decrement":return(me,Be)=>parseFloat(Be) *"}}(rt,me);if("function"==typeof Vt)return void ne.push(Vt);rt=Vt}const Be=rt.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Be||Be.length<4)return me.push(function qe(rt){return new n.\u0275RuntimeError(3015,!1)}()),ne;const nt=Be[1],yt=Be[2],Pt=Be[3];ne.push(ht(nt,Pt)),"<"==yt[0]&&(nt!=ae||Pt!=ae)&&ne.push(ht(Pt,nt))}(Be,me,ne)):me.push(rt),me}(ne.expr,me.errors);return{type:d.Transition,matchers:nt,animation:Be,queryCount:me.queryCount,depCount:me.depCount,options:cr(ne.options)}}visitSequence(ne,me){return{type:d.Sequence,steps:ne.steps.map(Be=>Qn(this,Be,me)),options:cr(ne.options)}}visitGroup(ne,me){const Be=me.currentTime;let nt=0;const yt=ne.steps.map(Pt=>{me.currentTime=Be;const Nt=Qn(this,Pt,me);return nt=Math.max(nt,me.currentTime),Nt});return me.currentTime=nt,{type:d.Group,steps:yt,options:cr(ne.options)}}visitAnimate(ne,me){const Be=function lr(rt,ne){if(rt.hasOwnProperty("duration"))return rt;if("number"==typeof rt)return Nr(qn(rt,ne).duration,0,"");const me=rt;if(me.split(/\s+/).some(yt=>"{"==yt.charAt(0)&&"{"==yt.charAt(1))){const yt=Nr(0,0,"");return yt.dynamic=!0,yt.strValue=me,yt}const nt=qn(me,ne);return Nr(nt.duration,nt.delay,nt.easing)}(ne.timings,me.errors);me.currentAnimateTimings=Be;let nt,yt=ne.styles?ne.styles:g({});if(yt.type==d.Keyframes)nt=this.visitKeyframes(yt,me);else{let Pt=ne.styles,Nt=!1;if(!Pt){Nt=!0;const gn={};Be.easing&&(gn.easing=Be.easing),Pt=g(gn)}me.currentTime+=Be.duration+Be.delay;const Vt=this.visitStyle(Pt,me);Vt.isEmptyStep=Nt,nt=Vt}return me.currentAnimateTimings=null,{type:d.Animate,timings:Be,style:nt,options:null}}visitStyle(ne,me){const Be=this._makeStyleAst(ne,me);return this._validateStyleAst(Be,me),Be}_makeStyleAst(ne,me){const Be=[],nt=Array.isArray(ne.styles)?ne.styles:[ne.styles];for(let Nt of nt)"string"==typeof Nt?Nt===a?Be.push(Nt):me.errors.push(new n.\u0275RuntimeError(3002,!1)):Be.push(new Map(Object.entries(Nt)));let yt=!1,Pt=null;return Be.forEach(Nt=>{if(Nt instanceof Map&&(Nt.has("easing")&&(Pt=Nt.get("easing"),Nt.delete("easing")),!yt))for(let Vt of Nt.values())if(Vt.toString().indexOf("{{")>=0){yt=!0;break}}),{type:d.Style,styles:Be,easing:Pt,offset:ne.offset,containsDynamicStyles:yt,options:null}}_validateStyleAst(ne,me){const Be=me.currentAnimateTimings;let nt=me.currentTime,yt=me.currentTime;Be&&yt>0&&(yt-=Be.duration+Be.delay),ne.styles.forEach(Pt=>{"string"!=typeof Pt&&Pt.forEach((Nt,Vt)=>{const gn=me.collectedStyles.get(me.currentQuerySelector),zn=gn.get(Vt);let Gn=!0;zn&&(yt!=nt&&yt>=zn.startTime&&nt<=zn.endTime&&(me.errors.push(function _e(rt,ne,me,Be,nt){return new n.\u0275RuntimeError(3010,!1)}()),Gn=!1),yt=zn.startTime),Gn&&gn.set(Vt,{startTime:yt,endTime:nt}),me.options&&function ui(rt,ne,me){const Be=ne.params||{},nt=ct(rt);nt.length&&nt.forEach(yt=>{Be.hasOwnProperty(yt)||me.push(function se(rt){return new n.\u0275RuntimeError(3001,!1)}())})}(Nt,me.options,me.errors)})})}visitKeyframes(ne,me){const Be={type:d.Keyframes,styles:[],options:null};if(!me.currentAnimateTimings)return me.errors.push(function Oe(){return new n.\u0275RuntimeError(3011,!1)}()),Be;let yt=0;const Pt=[];let Nt=!1,Vt=!1,gn=0;const zn=ne.steps.map(Ai=>{const ji=this._makeStyleAst(Ai,me);let Ti=null!=ji.offset?ji.offset:function Ln(rt){if("string"==typeof rt)return null;let ne=null;if(Array.isArray(rt))rt.forEach(me=>{if(me instanceof Map&&me.has("offset")){const Be=me;ne=parseFloat(Be.get("offset")),Be.delete("offset")}});else if(rt instanceof Map&&rt.has("offset")){const me=rt;ne=parseFloat(me.get("offset")),me.delete("offset")}return ne}(ji.styles),Ji=0;return null!=Ti&&(yt++,Ji=ji.offset=Ti),Vt=Vt||Ji<0||Ji>1,Nt=Nt||Ji0&&yt{const Ti=zr>0?ji==fr?1:zr*ji:Pt[ji],Ji=Ti*mi;me.currentTime=tr+vr.delay+Ji,vr.duration=Ji,this._validateStyleAst(Ai,me),Ai.offset=Ti,Be.styles.push(Ai)}),Be}visitReference(ne,me){return{type:d.Reference,animation:Qn(this,or(ne.animation),me),options:cr(ne.options)}}visitAnimateChild(ne,me){return me.depCount++,{type:d.AnimateChild,options:cr(ne.options)}}visitAnimateRef(ne,me){return{type:d.AnimateRef,animation:this.visitReference(ne.animation,me),options:cr(ne.options)}}visitQuery(ne,me){const Be=me.currentQuerySelector,nt=ne.options||{};me.queryCount++,me.currentQuery=ne;const[yt,Pt]=function mn(rt){const ne=!!rt.split(/\s*,\s*/).find(me=>":self"==me);return ne&&(rt=rt.replace(Lt,"")),rt=rt.replace(/@\*/g,xn).replace(/@\w+/g,me=>xn+"-"+me.slice(1)).replace(/:animating/g,Sr),[rt,ne]}(ne.selector);me.currentQuerySelector=Be.length?Be+" "+yt:yt,Rt(me.collectedStyles,me.currentQuerySelector,new Map);const Nt=Qn(this,or(ne.animation),me);return me.currentQuery=null,me.currentQuerySelector=Be,{type:d.Query,selector:yt,limit:nt.limit||0,optional:!!nt.optional,includeSelf:Pt,animation:Nt,originalSelector:ne.selector,options:cr(ne.options)}}visitStagger(ne,me){me.currentQuery||me.errors.push(function Ne(){return new n.\u0275RuntimeError(3013,!1)}());const Be="full"===ne.timings?{duration:0,delay:0,easing:"full"}:qn(ne.timings,me.errors,!0);return{type:d.Stagger,animation:Qn(this,or(ne.animation),me),timings:Be,options:null}}}class Yt{constructor(ne){this.errors=ne,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function cr(rt){return rt?(rt={...rt}).params&&(rt.params=function ln(rt){return rt?{...rt}:null}(rt.params)):rt={},rt}function Nr(rt,ne,me){return{duration:rt,delay:ne,easing:me}}function Lr(rt,ne,me,Be,nt,yt,Pt=null,Nt=!1){return{type:1,element:rt,keyframes:ne,preStyleProps:me,postStyleProps:Be,duration:nt,delay:yt,totalTime:nt+yt,easing:Pt,subTimeline:Nt}}class ut{constructor(){this._map=new Map}get(ne){return this._map.get(ne)||[]}append(ne,me){let Be=this._map.get(ne);Be||this._map.set(ne,Be=[]),Be.push(...me)}has(ne){return this._map.has(ne)}clear(){this._map.clear()}}const _r=new RegExp(":enter","g"),$n=new RegExp(":leave","g");function si(rt,ne,me,Be,nt,yt=new Map,Pt=new Map,Nt,Vt,gn=[]){return(new Ir).buildKeyframes(rt,ne,me,Be,nt,yt,Pt,Nt,Vt,gn)}class Ir{buildKeyframes(ne,me,Be,nt,yt,Pt,Nt,Vt,gn,zn=[]){gn=gn||new ut;const Gn=new On(ne,me,gn,nt,yt,zn,[]);Gn.options=Vt;const zr=Vt.delay?pr(Vt.delay):0;Gn.currentTimeline.delayNextStep(zr),Gn.currentTimeline.setStyles([Pt],null,Gn.errors,Vt),Qn(this,Be,Gn);const fr=Gn.timelines.filter(tr=>tr.containsAnimation());if(fr.length&&Nt.size){let tr;for(let vr=fr.length-1;vr>=0;vr--){const mi=fr[vr];if(mi.element===me){tr=mi;break}}tr&&!tr.allowOnlyTimelineStyles()&&tr.setStyles([Nt],null,Gn.errors,Vt)}return fr.length?fr.map(tr=>tr.buildKeyframes()):[Lr(me,[],[],[],0,zr,"",!1)]}visitTrigger(ne,me){}visitState(ne,me){}visitTransition(ne,me){}visitAnimateChild(ne,me){const Be=me.subInstructions.get(me.element);if(Be){const nt=me.createSubContext(ne.options),yt=me.currentTimeline.currentTime,Pt=this._visitSubInstructions(Be,nt,nt.options);yt!=Pt&&me.transformIntoNewTimeline(Pt)}me.previousNode=ne}visitAnimateRef(ne,me){const Be=me.createSubContext(ne.options);Be.transformIntoNewTimeline(),this._applyAnimationRefDelays([ne.options,ne.animation.options],me,Be),this.visitReference(ne.animation,Be),me.transformIntoNewTimeline(Be.currentTimeline.currentTime),me.previousNode=ne}_applyAnimationRefDelays(ne,me,Be){for(const nt of ne){const yt=nt?.delay;if(yt){const Pt="number"==typeof yt?yt:pr(Tt(yt,nt?.params??{},me.errors));Be.delayNextStep(Pt)}}}_visitSubInstructions(ne,me,Be){let yt=me.currentTimeline.currentTime;const Pt=null!=Be.duration?pr(Be.duration):null,Nt=null!=Be.delay?pr(Be.delay):null;return 0!==Pt&&ne.forEach(Vt=>{const gn=me.appendInstructionToTimeline(Vt,Pt,Nt);yt=Math.max(yt,gn.duration+gn.delay)}),yt}visitReference(ne,me){me.updateOptions(ne.options,!0),Qn(this,ne.animation,me),me.previousNode=ne}visitSequence(ne,me){const Be=me.subContextCount;let nt=me;const yt=ne.options;if(yt&&(yt.params||yt.delay)&&(nt=me.createSubContext(yt),nt.transformIntoNewTimeline(),null!=yt.delay)){nt.previousNode.type==d.Style&&(nt.currentTimeline.snapshotCurrentStyles(),nt.previousNode=ai);const Pt=pr(yt.delay);nt.delayNextStep(Pt)}ne.steps.length&&(ne.steps.forEach(Pt=>Qn(this,Pt,nt)),nt.currentTimeline.applyStylesToKeyframe(),nt.subContextCount>Be&&nt.transformIntoNewTimeline()),me.previousNode=ne}visitGroup(ne,me){const Be=[];let nt=me.currentTimeline.currentTime;const yt=ne.options&&ne.options.delay?pr(ne.options.delay):0;ne.steps.forEach(Pt=>{const Nt=me.createSubContext(ne.options);yt&&Nt.delayNextStep(yt),Qn(this,Pt,Nt),nt=Math.max(nt,Nt.currentTimeline.currentTime),Be.push(Nt.currentTimeline)}),Be.forEach(Pt=>me.currentTimeline.mergeTimelineCollectedStyles(Pt)),me.transformIntoNewTimeline(nt),me.previousNode=ne}_visitTiming(ne,me){if(ne.dynamic){const Be=ne.strValue;return qn(me.params?Tt(Be,me.params,me.errors):Be,me.errors)}return{duration:ne.duration,delay:ne.delay,easing:ne.easing}}visitAnimate(ne,me){const Be=me.currentAnimateTimings=this._visitTiming(ne.timings,me),nt=me.currentTimeline;Be.delay&&(me.incrementTime(Be.delay),nt.snapshotCurrentStyles());const yt=ne.style;yt.type==d.Keyframes?this.visitKeyframes(yt,me):(me.incrementTime(Be.duration),this.visitStyle(yt,me),nt.applyStylesToKeyframe()),me.currentAnimateTimings=null,me.previousNode=ne}visitStyle(ne,me){const Be=me.currentTimeline,nt=me.currentAnimateTimings;!nt&&Be.hasCurrentStyleProperties()&&Be.forwardFrame();const yt=nt&&nt.easing||ne.easing;ne.isEmptyStep?Be.applyEmptyStep(yt):Be.setStyles(ne.styles,yt,me.errors,me.options),me.previousNode=ne}visitKeyframes(ne,me){const Be=me.currentAnimateTimings,nt=me.currentTimeline.duration,yt=Be.duration,Nt=me.createSubContext().currentTimeline;Nt.easing=Be.easing,ne.styles.forEach(Vt=>{Nt.forwardTime((Vt.offset||0)*yt),Nt.setStyles(Vt.styles,Vt.easing,me.errors,me.options),Nt.applyStylesToKeyframe()}),me.currentTimeline.mergeTimelineCollectedStyles(Nt),me.transformIntoNewTimeline(nt+yt),me.previousNode=ne}visitQuery(ne,me){const Be=me.currentTimeline.currentTime,nt=ne.options||{},yt=nt.delay?pr(nt.delay):0;yt&&(me.previousNode.type===d.Style||0==Be&&me.currentTimeline.hasCurrentStyleProperties())&&(me.currentTimeline.snapshotCurrentStyles(),me.previousNode=ai);let Pt=Be;const Nt=me.invokeQuery(ne.selector,ne.originalSelector,ne.limit,ne.includeSelf,!!nt.optional,me.errors);me.currentQueryTotal=Nt.length;let Vt=null;Nt.forEach((gn,zn)=>{me.currentQueryIndex=zn;const Gn=me.createSubContext(ne.options,gn);yt&&Gn.delayNextStep(yt),gn===me.element&&(Vt=Gn.currentTimeline),Qn(this,ne.animation,Gn),Gn.currentTimeline.applyStylesToKeyframe(),Pt=Math.max(Pt,Gn.currentTimeline.currentTime)}),me.currentQueryIndex=0,me.currentQueryTotal=0,me.transformIntoNewTimeline(Pt),Vt&&(me.currentTimeline.mergeTimelineCollectedStyles(Vt),me.currentTimeline.snapshotCurrentStyles()),me.previousNode=ne}visitStagger(ne,me){const Be=me.parentContext,nt=me.currentTimeline,yt=ne.timings,Pt=Math.abs(yt.duration),Nt=Pt*(me.currentQueryTotal-1);let Vt=Pt*me.currentQueryIndex;switch(yt.duration<0?"reverse":yt.easing){case"reverse":Vt=Nt-Vt;break;case"full":Vt=Be.currentStaggerTime}const zn=me.currentTimeline;Vt&&zn.delayNextStep(Vt);const Gn=zn.currentTime;Qn(this,ne.animation,me),me.previousNode=ne,Be.currentStaggerTime=nt.currentTime-Gn+(nt.startTime-Be.currentTimeline.startTime)}}const ai={};class On{constructor(ne,me,Be,nt,yt,Pt,Nt,Vt){this._driver=ne,this.element=me,this.subInstructions=Be,this._enterClassName=nt,this._leaveClassName=yt,this.errors=Pt,this.timelines=Nt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ai,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Vt||new ti(this._driver,me,0),Nt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(ne,me){if(!ne)return;const Be=ne;let nt=this.options;null!=Be.duration&&(nt.duration=pr(Be.duration)),null!=Be.delay&&(nt.delay=pr(Be.delay));const yt=Be.params;if(yt){let Pt=nt.params;Pt||(Pt=this.options.params={}),Object.keys(yt).forEach(Nt=>{(!me||!Pt.hasOwnProperty(Nt))&&(Pt[Nt]=Tt(yt[Nt],Pt,this.errors))})}}_copyOptions(){const ne={};if(this.options){const me=this.options.params;if(me){const Be=ne.params={};Object.keys(me).forEach(nt=>{Be[nt]=me[nt]})}}return ne}createSubContext(ne=null,me,Be){const nt=me||this.element,yt=new On(this._driver,nt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(nt,Be||0));return yt.previousNode=this.previousNode,yt.currentAnimateTimings=this.currentAnimateTimings,yt.options=this._copyOptions(),yt.updateOptions(ne),yt.currentQueryIndex=this.currentQueryIndex,yt.currentQueryTotal=this.currentQueryTotal,yt.parentContext=this,this.subContextCount++,yt}transformIntoNewTimeline(ne){return this.previousNode=ai,this.currentTimeline=this.currentTimeline.fork(this.element,ne),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(ne,me,Be){const nt={duration:me??ne.duration,delay:this.currentTimeline.currentTime+(Be??0)+ne.delay,easing:""},yt=new Zr(this._driver,ne.element,ne.keyframes,ne.preStyleProps,ne.postStyleProps,nt,ne.stretchStartingKeyframe);return this.timelines.push(yt),nt}incrementTime(ne){this.currentTimeline.forwardTime(this.currentTimeline.duration+ne)}delayNextStep(ne){ne>0&&this.currentTimeline.delayNextStep(ne)}invokeQuery(ne,me,Be,nt,yt,Pt){let Nt=[];if(nt&&Nt.push(this.element),ne.length>0){ne=(ne=ne.replace(_r,"."+this._enterClassName)).replace($n,"."+this._leaveClassName);let gn=this._driver.query(this.element,ne,1!=Be);0!==Be&&(gn=Be<0?gn.slice(gn.length+Be,gn.length):gn.slice(0,Be)),Nt.push(...gn)}return!yt&&0==Nt.length&&Pt.push(function it(rt){return new n.\u0275RuntimeError(3014,!1)}()),Nt}}class ti{constructor(ne,me,Be,nt){this._driver=ne,this.element=me,this.startTime=Be,this._elementTimelineStylesLookup=nt,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(me),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(me,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(ne){const me=1===this._keyframes.size&&this._pendingStyles.size;this.duration||me?(this.forwardTime(this.currentTime+ne),me&&this.snapshotCurrentStyles()):this.startTime+=ne}fork(ne,me){return this.applyStylesToKeyframe(),new ti(this._driver,ne,me||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(ne){this.applyStylesToKeyframe(),this.duration=ne,this._loadKeyframe()}_updateStyle(ne,me){this._localTimelineStyles.set(ne,me),this._globalTimelineStyles.set(ne,me),this._styleSummary.set(ne,{time:this.currentTime,value:me})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(ne){ne&&this._previousKeyframe.set("easing",ne);for(let[me,Be]of this._globalTimelineStyles)this._backFill.set(me,Be||a),this._currentKeyframe.set(me,a);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(ne,me,Be,nt){me&&this._previousKeyframe.set("easing",me);const yt=nt&&nt.params||{},Pt=function Vi(rt,ne){const me=new Map;let Be;return rt.forEach(nt=>{if("*"===nt){Be??=ne.keys();for(let yt of Be)me.set(yt,a)}else for(let[yt,Pt]of nt)me.set(yt,Pt)}),me}(ne,this._globalTimelineStyles);for(let[Nt,Vt]of Pt){const gn=Tt(Vt,yt,Be);this._pendingStyles.set(Nt,gn),this._localTimelineStyles.has(Nt)||this._backFill.set(Nt,this._globalTimelineStyles.get(Nt)??a),this._updateStyle(Nt,gn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((ne,me)=>{this._currentKeyframe.set(me,ne)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((ne,me)=>{this._currentKeyframe.has(me)||this._currentKeyframe.set(me,ne)}))}snapshotCurrentStyles(){for(let[ne,me]of this._localTimelineStyles)this._pendingStyles.set(ne,me),this._updateStyle(ne,me)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const ne=[];for(let me in this._currentKeyframe)ne.push(me);return ne}mergeTimelineCollectedStyles(ne){ne._styleSummary.forEach((me,Be)=>{const nt=this._styleSummary.get(Be);(!nt||me.time>nt.time)&&this._updateStyle(Be,me.value)})}buildKeyframes(){this.applyStylesToKeyframe();const ne=new Set,me=new Set,Be=1===this._keyframes.size&&0===this.duration;let nt=[];this._keyframes.forEach((Nt,Vt)=>{const gn=new Map([...this._backFill,...Nt]);gn.forEach((zn,Gn)=>{"!"===zn?ne.add(Gn):zn===a&&me.add(Gn)}),Be||gn.set("offset",Vt/this.duration),nt.push(gn)});const yt=[...ne.values()],Pt=[...me.values()];if(Be){const Nt=nt[0],Vt=new Map(Nt);Nt.set("offset",0),Vt.set("offset",1),nt=[Nt,Vt]}return Lr(this.element,nt,yt,Pt,this.duration,this.startTime,this.easing,!1)}}class Zr extends ti{constructor(ne,me,Be,nt,yt,Pt,Nt=!1){super(ne,me,Pt.delay),this.keyframes=Be,this.preStyleProps=nt,this.postStyleProps=yt,this._stretchStartingKeyframe=Nt,this.timings={duration:Pt.duration,delay:Pt.delay,easing:Pt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let ne=this.keyframes,{delay:me,duration:Be,easing:nt}=this.timings;if(this._stretchStartingKeyframe&&me){const yt=[],Pt=Be+me,Nt=me/Pt,Vt=new Map(ne[0]);Vt.set("offset",0),yt.push(Vt);const gn=new Map(ne[0]);gn.set("offset",Xr(Nt)),yt.push(gn);const zn=ne.length-1;for(let Gn=1;Gn<=zn;Gn++){let zr=new Map(ne[Gn]);const fr=zr.get("offset");zr.set("offset",Xr((me+fr*Be)/Pt)),yt.push(zr)}Be=Pt,me=0,nt="",ne=yt}return Lr(this.element,ne,this.preStyleProps,this.postStyleProps,Be,me,nt,!0)}}function Xr(rt,ne=3){const me=Math.pow(10,ne-1);return Math.round(rt*me)/me}function hr(rt,ne,me,Be,nt,yt,Pt,Nt,Vt,gn,zn,Gn,zr){return{type:0,element:rt,triggerName:ne,isRemovalTransition:nt,fromState:me,fromStyles:yt,toState:Be,toStyles:Pt,timelines:Nt,queriedElements:Vt,preStyleProps:gn,postStyleProps:zn,totalTime:Gn,errors:zr}}const Yi={};class ko{constructor(ne,me,Be){this._triggerName=ne,this.ast=me,this._stateStyles=Be}match(ne,me,Be,nt){return function Jr(rt,ne,me,Be,nt){return rt.some(yt=>yt(ne,me,Be,nt))}(this.ast.matchers,ne,me,Be,nt)}buildStyles(ne,me,Be){let nt=this._stateStyles.get("*");return void 0!==ne&&(nt=this._stateStyles.get(ne?.toString())||nt),nt?nt.buildStyles(me,Be):new Map}build(ne,me,Be,nt,yt,Pt,Nt,Vt,gn,zn){const Gn=[],zr=this.ast.options&&this.ast.options.params||Yi,tr=this.buildStyles(Be,Nt&&Nt.params||Yi,Gn),vr=Vt&&Vt.params||Yi,mi=this.buildStyles(nt,vr,Gn),Ai=new Set,ji=new Map,Ti=new Map,Ji="void"===nt,vn={params:Wi(vr,zr),delay:this.ast.options?.delay},wr=zn?[]:si(ne,me,this.ast.animation,yt,Pt,tr,mi,vn,gn,Gn);let Qi=0;return wr.forEach(Ii=>{Qi=Math.max(Ii.duration+Ii.delay,Qi)}),Gn.length?hr(me,this._triggerName,Be,nt,Ji,tr,mi,[],[],ji,Ti,Qi,Gn):(wr.forEach(Ii=>{const ei=Ii.element,oo=Rt(ji,ei,new Set);Ii.preStyleProps.forEach(at=>oo.add(at));const Ye=Rt(Ti,ei,new Set);Ii.postStyleProps.forEach(at=>Ye.add(at)),ei!==me&&Ai.add(ei)}),hr(me,this._triggerName,Be,nt,Ji,tr,mi,wr,[...Ai.values()],ji,Ti,Qi))}}function Wi(rt,ne){const me={...ne};return Object.entries(rt).forEach(([Be,nt])=>{null!=nt&&(me[Be]=nt)}),me}class qi{constructor(ne,me,Be){this.styles=ne,this.defaultParams=me,this.normalizer=Be}buildStyles(ne,me){const Be=new Map,nt=Wi(ne,this.defaultParams);return this.styles.styles.forEach(yt=>{"string"!=typeof yt&&yt.forEach((Pt,Nt)=>{Pt&&(Pt=Tt(Pt,nt,me));const Vt=this.normalizer.normalizePropertyName(Nt,me);Pt=this.normalizer.normalizeStyleValue(Nt,Vt,Pt,me),Be.set(Nt,Pt)})}),Be}}class Rr{constructor(ne,me,Be){this.name=ne,this.ast=me,this._normalizer=Be,this.transitionFactories=[],this.states=new Map,me.states.forEach(nt=>{this.states.set(nt.name,new qi(nt.style,nt.options&&nt.options.params||{},Be))}),_i(this.states,"true","1"),_i(this.states,"false","0"),me.transitions.forEach(nt=>{this.transitionFactories.push(new ko(ne,nt,this.states))}),this.fallbackTransition=function mo(rt,ne,me){return new ko(rt,{type:d.Transition,animation:{type:d.Sequence,steps:[],options:null},matchers:[(Pt,Nt)=>!0],options:null,queryCount:0,depCount:0},ne)}(ne,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(ne,me,Be,nt){return this.transitionFactories.find(Pt=>Pt.match(ne,me,Be,nt))||null}matchStyles(ne,me,Be){return this.fallbackTransition.buildStyles(ne,me,Be)}}function _i(rt,ne,me){rt.has(ne)?rt.has(me)||rt.set(me,rt.get(ne)):rt.has(me)&&rt.set(ne,rt.get(me))}const xi=new ut;class qr{constructor(ne,me,Be){this.bodyNode=ne,this._driver=me,this._normalizer=Be,this._animations=new Map,this._playersById=new Map,this.players=[]}register(ne,me){const Be=[],yt=Kt(this._driver,me,Be,[]);if(Be.length)throw function Qe(rt){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(ne,yt)}_buildPlayer(ne,me,Be){const nt=ne.element,yt=Je(this._normalizer,ne.keyframes,me,Be);return this._driver.animate(nt,yt,ne.duration,ne.delay,ne.easing,[],!0)}create(ne,me,Be={}){const nt=[],yt=this._animations.get(ne);let Pt;const Nt=new Map;if(yt?(Pt=si(this._driver,me,yt,Mr,br,new Map,new Map,Be,xi,nt),Pt.forEach(zn=>{const Gn=Rt(Nt,zn.element,new Map);zn.postStyleProps.forEach(zr=>Gn.set(zr,null))})):(nt.push(function Ut(){return new n.\u0275RuntimeError(3300,!1)}()),Pt=[]),nt.length)throw function sn(rt){return new n.\u0275RuntimeError(3504,!1)}();Nt.forEach((zn,Gn)=>{zn.forEach((zr,fr)=>{zn.set(fr,this._driver.computeStyle(Gn,fr,a))})});const gn=Ge(Pt.map(zn=>{const Gn=Nt.get(zn.element);return this._buildPlayer(zn,new Map,Gn)}));return this._playersById.set(ne,gn),gn.onDestroy(()=>this.destroy(ne)),this.players.push(gn),gn}destroy(ne){const me=this._getPlayer(ne);me.destroy(),this._playersById.delete(ne);const Be=this.players.indexOf(me);Be>=0&&this.players.splice(Be,1)}_getPlayer(ne){const me=this._playersById.get(ne);if(!me)throw function un(rt){return new n.\u0275RuntimeError(3301,!1)}();return me}listen(ne,me,Be,nt){const yt=Zt(me,"","","");return vt(this._getPlayer(ne),Be,yt,nt),()=>{}}command(ne,me,Be,nt){if("register"==Be)return void this.register(ne,nt[0]);if("create"==Be)return void this.create(ne,me,nt[0]||{});const yt=this._getPlayer(ne);switch(Be){case"play":yt.play();break;case"pause":yt.pause();break;case"reset":yt.reset();break;case"restart":yt.restart();break;case"finish":yt.finish();break;case"init":yt.init();break;case"setPosition":yt.setPosition(parseFloat(nt[0]));break;case"destroy":this.destroy(ne)}}}const ar="ng-animate-queued",wi="ng-animate-disabled",Wr=[],bo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ni={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gr="__ng_removed";class Lo{get params(){return this.options.params}constructor(ne,me=""){this.namespaceId=me;const Be=ne&&ne.hasOwnProperty("value");if(this.value=function Ro(rt){return rt??null}(Be?ne.value:ne),Be){const{value:yt,...Pt}=ne;this.options=Pt}else this.options={};this.options.params||(this.options.params={})}absorbOptions(ne){const me=ne.params;if(me){const Be=this.options.params;Object.keys(me).forEach(nt=>{null==Be[nt]&&(Be[nt]=me[nt])})}}}const Oi="void",Zi=new Lo(Oi);class Li{constructor(ne,me,Be){this.id=ne,this.hostElement=me,this._engine=Be,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ne,Ki(me,this._hostClassName)}listen(ne,me,Be,nt){if(!this._triggers.has(me))throw function Sn(rt,ne){return new n.\u0275RuntimeError(3302,!1)}();if(null==Be||0==Be.length)throw function bn(rt){return new n.\u0275RuntimeError(3303,!1)}();if(!function bs(rt){return"start"==rt||"done"==rt}(Be))throw function kt(rt,ne){return new n.\u0275RuntimeError(3400,!1)}();const yt=Rt(this._elementListeners,ne,[]),Pt={name:me,phase:Be,callback:nt};yt.push(Pt);const Nt=Rt(this._engine.statesByElement,ne,new Map);return Nt.has(me)||(Ki(ne,Jn),Ki(ne,Jn+"-"+me),Nt.set(me,Zi)),()=>{this._engine.afterFlush(()=>{const Vt=yt.indexOf(Pt);Vt>=0&&yt.splice(Vt,1),this._triggers.has(me)||Nt.delete(me)})}}register(ne,me){return!this._triggers.has(ne)&&(this._triggers.set(ne,me),!0)}_getTrigger(ne){const me=this._triggers.get(ne);if(!me)throw function jt(rt){return new n.\u0275RuntimeError(3401,!1)}();return me}trigger(ne,me,Be,nt=!0){const yt=this._getTrigger(me),Pt=new $o(this.id,me,ne);let Nt=this._engine.statesByElement.get(ne);Nt||(Ki(ne,Jn),Ki(ne,Jn+"-"+me),this._engine.statesByElement.set(ne,Nt=new Map));let Vt=Nt.get(me);const gn=new Lo(Be,this.id);if(!(Be&&Be.hasOwnProperty("value"))&&Vt&&gn.absorbOptions(Vt.options),Nt.set(me,gn),Vt||(Vt=Zi),gn.value!==Oi&&Vt.value===gn.value){if(!function Fo(rt,ne){const me=Object.keys(rt),Be=Object.keys(ne);if(me.length!=Be.length)return!1;for(let nt=0;nt{Kn(ne,mi),Rn(ne,Ai)})}return}const zr=Rt(this._engine.playersByElement,ne,[]);zr.forEach(vr=>{vr.namespaceId==this.id&&vr.triggerName==me&&vr.queued&&vr.destroy()});let fr=yt.matchTransition(Vt.value,gn.value,ne,gn.params),tr=!1;if(!fr){if(!nt)return;fr=yt.fallbackTransition,tr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:me,transition:fr,fromState:Vt,toState:gn,player:Pt,isFallbackTransition:tr}),tr||(Ki(ne,ar),Pt.onStart(()=>{uo(ne,ar)})),Pt.onDone(()=>{let vr=this.players.indexOf(Pt);vr>=0&&this.players.splice(vr,1);const mi=this._engine.playersByElement.get(ne);if(mi){let Ai=mi.indexOf(Pt);Ai>=0&&mi.splice(Ai,1)}}),this.players.push(Pt),zr.push(Pt),Pt}deregister(ne){this._triggers.delete(ne),this._engine.statesByElement.forEach(me=>me.delete(ne)),this._elementListeners.forEach((me,Be)=>{this._elementListeners.set(Be,me.filter(nt=>nt.name!=ne))})}clearElementCache(ne){this._engine.statesByElement.delete(ne),this._elementListeners.delete(ne);const me=this._engine.playersByElement.get(ne);me&&(me.forEach(Be=>Be.destroy()),this._engine.playersByElement.delete(ne))}_signalRemovalForInnerTriggers(ne,me){const Be=this._engine.driver.query(ne,xn,!0);Be.forEach(nt=>{if(nt[Gr])return;const yt=this._engine.fetchNamespacesByElement(nt);yt.size?yt.forEach(Pt=>Pt.triggerLeaveAnimation(nt,me,!1,!0)):this.clearElementCache(nt)}),this._engine.afterFlushAnimationsDone(()=>Be.forEach(nt=>this.clearElementCache(nt)))}triggerLeaveAnimation(ne,me,Be,nt){const yt=this._engine.statesByElement.get(ne),Pt=new Map;if(yt){const Nt=[];if(yt.forEach((Vt,gn)=>{if(Pt.set(gn,Vt.value),this._triggers.has(gn)){const zn=this.trigger(ne,gn,Oi,nt);zn&&Nt.push(zn)}}),Nt.length)return this._engine.markElementAsRemoved(this.id,ne,!0,me,Pt),Be&&Ge(Nt).onDone(()=>this._engine.processLeaveNode(ne)),!0}return!1}prepareLeaveAnimationListeners(ne){const me=this._elementListeners.get(ne),Be=this._engine.statesByElement.get(ne);if(me&&Be){const nt=new Set;me.forEach(yt=>{const Pt=yt.name;if(nt.has(Pt))return;nt.add(Pt);const Vt=this._triggers.get(Pt).fallbackTransition,gn=Be.get(Pt)||Zi,zn=new Lo(Oi),Gn=new $o(this.id,Pt,ne);this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:Pt,transition:Vt,fromState:gn,toState:zn,player:Gn,isFallbackTransition:!0})})}}removeNode(ne,me){const Be=this._engine;if(ne.childElementCount&&this._signalRemovalForInnerTriggers(ne,me),this.triggerLeaveAnimation(ne,me,!0))return;let nt=!1;if(Be.totalAnimations){const yt=Be.players.length?Be.playersByQueriedElement.get(ne):[];if(yt&&yt.length)nt=!0;else{let Pt=ne;for(;Pt=Pt.parentNode;)if(Be.statesByElement.get(Pt)){nt=!0;break}}}if(this.prepareLeaveAnimationListeners(ne),nt)Be.markElementAsRemoved(this.id,ne,!1,me);else{const yt=ne[Gr];(!yt||yt===bo)&&(Be.afterFlush(()=>this.clearElementCache(ne)),Be.destroyInnerAnimations(ne),Be._onRemovalComplete(ne,me))}}insertNode(ne,me){Ki(ne,this._hostClassName)}drainQueuedTransitions(ne){const me=[];return this._queue.forEach(Be=>{const nt=Be.player;if(nt.destroyed)return;const yt=Be.element,Pt=this._elementListeners.get(yt);Pt&&Pt.forEach(Nt=>{if(Nt.name==Be.triggerName){const Vt=Zt(yt,Be.triggerName,Be.fromState.value,Be.toState.value);Vt._data=ne,vt(Be.player,Nt.phase,Vt,Nt.callback)}}),nt.markedForDestroy?this._engine.afterFlush(()=>{nt.destroy()}):me.push(Be)}),this._queue=[],me.sort((Be,nt)=>{const yt=Be.transition.ast.depCount,Pt=nt.transition.ast.depCount;return 0==yt||0==Pt?yt-Pt:this._engine.driver.containsElement(Be.element,nt.element)?1:-1})}destroy(ne){this.players.forEach(me=>me.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,ne)}}class Gi{_onRemovalComplete(ne,me){this.onRemovalComplete(ne,me)}constructor(ne,me,Be,nt){this.bodyNode=ne,this.driver=me,this._normalizer=Be,this.scheduler=nt,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(yt,Pt)=>{}}get queuedPlayers(){const ne=[];return this._namespaceList.forEach(me=>{me.players.forEach(Be=>{Be.queued&&ne.push(Be)})}),ne}createNamespace(ne,me){const Be=new Li(ne,me,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,me)?this._balanceNamespaceList(Be,me):(this.newHostElements.set(me,Be),this.collectEnterElement(me)),this._namespaceLookup[ne]=Be}_balanceNamespaceList(ne,me){const Be=this._namespaceList,nt=this.namespacesByHostElement;if(Be.length-1>=0){let Pt=!1,Nt=this.driver.getParentElement(me);for(;Nt;){const Vt=nt.get(Nt);if(Vt){const gn=Be.indexOf(Vt);Be.splice(gn+1,0,ne),Pt=!0;break}Nt=this.driver.getParentElement(Nt)}Pt||Be.unshift(ne)}else Be.push(ne);return nt.set(me,ne),ne}register(ne,me){let Be=this._namespaceLookup[ne];return Be||(Be=this.createNamespace(ne,me)),Be}registerTrigger(ne,me,Be){let nt=this._namespaceLookup[ne];nt&&nt.register(me,Be)&&this.totalAnimations++}destroy(ne,me){ne&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Be=this._fetchNamespace(ne);this.namespacesByHostElement.delete(Be.hostElement);const nt=this._namespaceList.indexOf(Be);nt>=0&&this._namespaceList.splice(nt,1),Be.destroy(me),delete this._namespaceLookup[ne]}))}_fetchNamespace(ne){return this._namespaceLookup[ne]}fetchNamespacesByElement(ne){const me=new Set,Be=this.statesByElement.get(ne);if(Be)for(let nt of Be.values())if(nt.namespaceId){const yt=this._fetchNamespace(nt.namespaceId);yt&&me.add(yt)}return me}trigger(ne,me,Be,nt){if(wo(me)){const yt=this._fetchNamespace(ne);if(yt)return yt.trigger(me,Be,nt),!0}return!1}insertNode(ne,me,Be,nt){if(!wo(me))return;const yt=me[Gr];if(yt&&yt.setForRemoval){yt.setForRemoval=!1,yt.setForMove=!0;const Pt=this.collectedLeaveElements.indexOf(me);Pt>=0&&this.collectedLeaveElements.splice(Pt,1)}if(ne){const Pt=this._fetchNamespace(ne);Pt&&Pt.insertNode(me,Be)}nt&&this.collectEnterElement(me)}collectEnterElement(ne){this.collectedEnterElements.push(ne)}markElementAsDisabled(ne,me){me?this.disabledNodes.has(ne)||(this.disabledNodes.add(ne),Ki(ne,wi)):this.disabledNodes.has(ne)&&(this.disabledNodes.delete(ne),uo(ne,wi))}removeNode(ne,me,Be){if(wo(me)){this.scheduler?.notify();const nt=ne?this._fetchNamespace(ne):null;nt?nt.removeNode(me,Be):this.markElementAsRemoved(ne,me,!1,Be);const yt=this.namespacesByHostElement.get(me);yt&&yt.id!==ne&&yt.removeNode(me,Be)}else this._onRemovalComplete(me,Be)}markElementAsRemoved(ne,me,Be,nt,yt){this.collectedLeaveElements.push(me),me[Gr]={namespaceId:ne,setForRemoval:nt,hasAnimation:Be,removedBeforeQueried:!1,previousTriggersValues:yt}}listen(ne,me,Be,nt,yt){return wo(me)?this._fetchNamespace(ne).listen(me,Be,nt,yt):()=>{}}_buildInstruction(ne,me,Be,nt,yt){return ne.transition.build(this.driver,ne.element,ne.fromState.value,ne.toState.value,Be,nt,ne.fromState.options,ne.toState.options,me,yt)}destroyInnerAnimations(ne){let me=this.driver.query(ne,xn,!0);me.forEach(Be=>this.destroyActiveAnimationsForElement(Be)),0!=this.playersByQueriedElement.size&&(me=this.driver.query(ne,Sr,!0),me.forEach(Be=>this.finishActiveQueriedAnimationOnElement(Be)))}destroyActiveAnimationsForElement(ne){const me=this.playersByElement.get(ne);me&&me.forEach(Be=>{Be.queued?Be.markedForDestroy=!0:Be.destroy()})}finishActiveQueriedAnimationOnElement(ne){const me=this.playersByQueriedElement.get(ne);me&&me.forEach(Be=>Be.finish())}whenRenderingDone(){return new Promise(ne=>{if(this.players.length)return Ge(this.players).onDone(()=>ne());ne()})}processLeaveNode(ne){const me=ne[Gr];if(me&&me.setForRemoval){if(ne[Gr]=bo,me.namespaceId){this.destroyInnerAnimations(ne);const Be=this._fetchNamespace(me.namespaceId);Be&&Be.clearElementCache(ne)}this._onRemovalComplete(ne,me.setForRemoval)}ne.classList?.contains(wi)&&this.markElementAsDisabled(ne,!1),this.driver.query(ne,".ng-animate-disabled",!0).forEach(Be=>{this.markElementAsDisabled(Be,!1)})}flush(ne=-1){let me=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Be,nt)=>this._balanceNamespaceList(Be,nt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Be=0;BeBe()),this._flushFns=[],this._whenQuietFns.length){const Be=this._whenQuietFns;this._whenQuietFns=[],me.length?Ge(me).onDone(()=>{Be.forEach(nt=>nt())}):Be.forEach(nt=>nt())}}reportError(ne){throw function Fe(rt){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(ne,me){const Be=new ut,nt=[],yt=new Map,Pt=[],Nt=new Map,Vt=new Map,gn=new Map,zn=new Set;this.disabledNodes.forEach(le=>{zn.add(le);const Le=this.driver.query(le,".ng-animate-queued",!0);for(let ft=0;ft{const ft=Mr+vr++;tr.set(Le,ft),le.forEach(xt=>Ki(xt,ft))});const mi=[],Ai=new Set,ji=new Set;for(let le=0;leAi.add(xt)):ji.add(Le))}const Ti=new Map,Ji=rs(zr,Array.from(Ai));Ji.forEach((le,Le)=>{const ft=br+vr++;Ti.set(Le,ft),le.forEach(xt=>Ki(xt,ft))}),ne.push(()=>{fr.forEach((le,Le)=>{const ft=tr.get(Le);le.forEach(xt=>uo(xt,ft))}),Ji.forEach((le,Le)=>{const ft=Ti.get(Le);le.forEach(xt=>uo(xt,ft))}),mi.forEach(le=>{this.processLeaveNode(le)})});const vn=[],wr=[];for(let le=this._namespaceList.length-1;le>=0;le--)this._namespaceList[le].drainQueuedTransitions(me).forEach(ft=>{const xt=ft.player,rn=ft.element;if(vn.push(xt),this.collectedEnterElements.length){const tn=rn[Gr];if(tn&&tn.setForMove){if(tn.previousTriggersValues&&tn.previousTriggersValues.has(ft.triggerName)){const Dn=tn.previousTriggersValues.get(ft.triggerName),gr=this.statesByElement.get(ft.element);if(gr&&gr.has(ft.triggerName)){const yr=gr.get(ft.triggerName);yr.value=Dn,gr.set(ft.triggerName,yr)}}return void xt.destroy()}}const J=!Gn||!this.driver.containsElement(Gn,rn),We=Ti.get(rn),Se=tr.get(rn),Ue=this._buildInstruction(ft,Be,Se,We,J);if(Ue.errors&&Ue.errors.length)return void wr.push(Ue);if(J)return xt.onStart(()=>Kn(rn,Ue.fromStyles)),xt.onDestroy(()=>Rn(rn,Ue.toStyles)),void nt.push(xt);if(ft.isFallbackTransition)return xt.onStart(()=>Kn(rn,Ue.fromStyles)),xt.onDestroy(()=>Rn(rn,Ue.toStyles)),void nt.push(xt);const _t=[];Ue.timelines.forEach(tn=>{tn.stretchStartingKeyframe=!0,this.disabledNodes.has(tn.element)||_t.push(tn)}),Ue.timelines=_t,Be.append(rn,Ue.timelines),Pt.push({instruction:Ue,player:xt,element:rn}),Ue.queriedElements.forEach(tn=>Rt(Nt,tn,[]).push(xt)),Ue.preStyleProps.forEach((tn,Dn)=>{if(tn.size){let gr=Vt.get(Dn);gr||Vt.set(Dn,gr=new Set),tn.forEach((yr,$r)=>gr.add($r))}}),Ue.postStyleProps.forEach((tn,Dn)=>{let gr=gn.get(Dn);gr||gn.set(Dn,gr=new Set),tn.forEach((yr,$r)=>gr.add($r))})});if(wr.length){const le=[];wr.forEach(Le=>{le.push(function ye(rt,ne){return new n.\u0275RuntimeError(3505,!1)}())}),vn.forEach(Le=>Le.destroy()),this.reportError(le)}const Qi=new Map,Ii=new Map;Pt.forEach(le=>{const Le=le.element;Be.has(Le)&&(Ii.set(Le,Le),this._beforeAnimationBuild(le.player.namespaceId,le.instruction,Qi))}),nt.forEach(le=>{const Le=le.element;this._getPreviousPlayers(Le,!1,le.namespaceId,le.triggerName,null).forEach(xt=>{Rt(Qi,Le,[]).push(xt),xt.destroy()})});const ei=mi.filter(le=>Do(le,Vt,gn)),oo=new Map;ns(oo,this.driver,ji,gn,a).forEach(le=>{Do(le,Vt,gn)&&ei.push(le)});const at=new Map;fr.forEach((le,Le)=>{ns(at,this.driver,new Set(le),Vt,"!")}),ei.forEach(le=>{const Le=oo.get(le),ft=at.get(le);oo.set(le,new Map([...Le?.entries()??[],...ft?.entries()??[]]))});const R=[],ee=[],B={};Pt.forEach(le=>{const{element:Le,player:ft,instruction:xt}=le;if(Be.has(Le)){if(zn.has(Le))return ft.onDestroy(()=>Rn(Le,xt.toStyles)),ft.disabled=!0,ft.overrideTotalTime(xt.totalTime),void nt.push(ft);let rn=B;if(Ii.size>1){let We=Le;const Se=[];for(;We=We.parentNode;){const Ue=Ii.get(We);if(Ue){rn=Ue;break}Se.push(We)}Se.forEach(Ue=>Ii.set(Ue,rn))}const J=this._buildAnimation(ft.namespaceId,xt,Qi,yt,at,oo);if(ft.setRealPlayer(J),rn===B)R.push(ft);else{const We=this.playersByElement.get(rn);We&&We.length&&(ft.parentPlayer=Ge(We)),nt.push(ft)}}else Kn(Le,xt.fromStyles),ft.onDestroy(()=>Rn(Le,xt.toStyles)),ee.push(ft),zn.has(Le)&&nt.push(ft)}),ee.forEach(le=>{const Le=yt.get(le.element);if(Le&&Le.length){const ft=Ge(Le);le.setRealPlayer(ft)}}),nt.forEach(le=>{le.parentPlayer?le.syncPlayerEvents(le.parentPlayer):le.destroy()});for(let le=0;le!J.destroyed);rn.length?So(this,Le,rn):this.processLeaveNode(Le)}return mi.length=0,R.forEach(le=>{this.players.push(le),le.onDone(()=>{le.destroy();const Le=this.players.indexOf(le);this.players.splice(Le,1)}),le.play()}),R}afterFlush(ne){this._flushFns.push(ne)}afterFlushAnimationsDone(ne){this._whenQuietFns.push(ne)}_getPreviousPlayers(ne,me,Be,nt,yt){let Pt=[];if(me){const Nt=this.playersByQueriedElement.get(ne);Nt&&(Pt=Nt)}else{const Nt=this.playersByElement.get(ne);if(Nt){const Vt=!yt||yt==Oi;Nt.forEach(gn=>{gn.queued||!Vt&&gn.triggerName!=nt||Pt.push(gn)})}}return(Be||nt)&&(Pt=Pt.filter(Nt=>!(Be&&Be!=Nt.namespaceId||nt&&nt!=Nt.triggerName))),Pt}_beforeAnimationBuild(ne,me,Be){const yt=me.element,Pt=me.isRemovalTransition?void 0:ne,Nt=me.isRemovalTransition?void 0:me.triggerName;for(const Vt of me.timelines){const gn=Vt.element,zn=gn!==yt,Gn=Rt(Be,gn,[]);this._getPreviousPlayers(gn,zn,Pt,Nt,me.toState).forEach(fr=>{const tr=fr.getRealPlayer();tr.beforeDestroy&&tr.beforeDestroy(),fr.destroy(),Gn.push(fr)})}Kn(yt,me.fromStyles)}_buildAnimation(ne,me,Be,nt,yt,Pt){const Nt=me.triggerName,Vt=me.element,gn=[],zn=new Set,Gn=new Set,zr=me.timelines.map(tr=>{const vr=tr.element;zn.add(vr);const mi=vr[Gr];if(mi&&mi.removedBeforeQueried)return new k(tr.duration,tr.delay);const Ai=vr!==Vt,ji=function cs(rt){const ne=[];return co(rt,ne),ne}((Be.get(vr)||Wr).map(Qi=>Qi.getRealPlayer())).filter(Qi=>!!Qi.element&&Qi.element===vr),Ti=yt.get(vr),Ji=Pt.get(vr),vn=Je(this._normalizer,tr.keyframes,Ti,Ji),wr=this._buildPlayer(tr,vn,ji);if(tr.subTimeline&&nt&&Gn.add(vr),Ai){const Qi=new $o(ne,Nt,vr);Qi.setRealPlayer(wr),gn.push(Qi)}return wr});gn.forEach(tr=>{Rt(this.playersByQueriedElement,tr.element,[]).push(tr),tr.onDone(()=>function Co(rt,ne,me){let Be=rt.get(ne);if(Be){if(Be.length){const nt=Be.indexOf(me);Be.splice(nt,1)}0==Be.length&&rt.delete(ne)}return Be}(this.playersByQueriedElement,tr.element,tr))}),zn.forEach(tr=>Ki(tr,oi));const fr=Ge(zr);return fr.onDestroy(()=>{zn.forEach(tr=>uo(tr,oi)),Rn(Vt,me.toStyles)}),Gn.forEach(tr=>{Rt(nt,tr,[]).push(fr)}),fr}_buildPlayer(ne,me,Be){return me.length>0?this.driver.animate(ne.element,me,ne.duration,ne.delay,ne.easing,Be):new k(ne.duration,ne.delay)}}class $o{constructor(ne,me,Be){this.namespaceId=ne,this.triggerName=me,this.element=Be,this._player=new k,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(ne){this._containsRealPlayer||(this._player=ne,this._queuedCallbacks.forEach((me,Be)=>{me.forEach(nt=>vt(ne,Be,void 0,nt))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(ne.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(ne){this.totalTime=ne}syncPlayerEvents(ne){const me=this._player;me.triggerCallback&&ne.onStart(()=>me.triggerCallback("start")),ne.onDone(()=>this.finish()),ne.onDestroy(()=>this.destroy())}_queueEvent(ne,me){Rt(this._queuedCallbacks,ne,[]).push(me)}onDone(ne){this.queued&&this._queueEvent("done",ne),this._player.onDone(ne)}onStart(ne){this.queued&&this._queueEvent("start",ne),this._player.onStart(ne)}onDestroy(ne){this.queued&&this._queueEvent("destroy",ne),this._player.onDestroy(ne)}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(ne){this.queued||this._player.setPosition(ne)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(ne){const me=this._player;me.triggerCallback&&me.triggerCallback(ne)}}function wo(rt){return rt&&1===rt.nodeType}function Go(rt,ne){const me=rt.style.display;return rt.style.display=ne??"none",me}function ns(rt,ne,me,Be,nt){const yt=[];me.forEach(Vt=>yt.push(Go(Vt)));const Pt=[];Be.forEach((Vt,gn)=>{const zn=new Map;Vt.forEach(Gn=>{const zr=ne.computeStyle(gn,Gn,nt);zn.set(Gn,zr),(!zr||0==zr.length)&&(gn[Gr]=Ni,Pt.push(gn))}),rt.set(gn,zn)});let Nt=0;return me.forEach(Vt=>Go(Vt,yt[Nt++])),Pt}function rs(rt,ne){const me=new Map;if(rt.forEach(Nt=>me.set(Nt,[])),0==ne.length)return me;const nt=new Set(ne),yt=new Map;function Pt(Nt){if(!Nt)return 1;let Vt=yt.get(Nt);if(Vt)return Vt;const gn=Nt.parentNode;return Vt=me.has(gn)?gn:nt.has(gn)?1:Pt(gn),yt.set(Nt,Vt),Vt}return ne.forEach(Nt=>{const Vt=Pt(Nt);1!==Vt&&me.get(Vt).push(Nt)}),me}function Ki(rt,ne){rt.classList?.add(ne)}function uo(rt,ne){rt.classList?.remove(ne)}function So(rt,ne,me){Ge(me).onDone(()=>rt.processLeaveNode(ne))}function co(rt,ne){for(let me=0;ment.add(yt)):ne.set(rt,Be),me.delete(rt),!0}class Ko{constructor(ne,me,Be,nt){this._driver=me,this._normalizer=Be,this._triggerCache={},this.onRemovalComplete=(yt,Pt)=>{},this._transitionEngine=new Gi(ne.body,me,Be,nt),this._timelineEngine=new qr(ne.body,me,Be),this._transitionEngine.onRemovalComplete=(yt,Pt)=>this.onRemovalComplete(yt,Pt)}registerTrigger(ne,me,Be,nt,yt){const Pt=ne+"-"+nt;let Nt=this._triggerCache[Pt];if(!Nt){const Vt=[],zn=Kt(this._driver,yt,Vt,[]);if(Vt.length)throw function Pe(rt,ne){return new n.\u0275RuntimeError(3404,!1)}();Nt=function ro(rt,ne,me){return new Rr(rt,ne,me)}(nt,zn,this._normalizer),this._triggerCache[Pt]=Nt}this._transitionEngine.registerTrigger(me,nt,Nt)}register(ne,me){this._transitionEngine.register(ne,me)}destroy(ne,me){this._transitionEngine.destroy(ne,me)}onInsert(ne,me,Be,nt){this._transitionEngine.insertNode(ne,me,Be,nt)}onRemove(ne,me,Be){this._transitionEngine.removeNode(ne,me,Be)}disableAnimations(ne,me){this._transitionEngine.markElementAsDisabled(ne,me)}process(ne,me,Be,nt){if("@"==Be.charAt(0)){const[yt,Pt]=Dt(Be);this._timelineEngine.command(yt,me,Pt,nt)}else this._transitionEngine.trigger(ne,me,Be,nt)}listen(ne,me,Be,nt,yt){if("@"==Be.charAt(0)){const[Pt,Nt]=Dt(Be);return this._timelineEngine.listen(Pt,me,Nt,yt)}return this._transitionEngine.listen(ne,me,Be,nt,yt)}flush(ne=-1){this._transitionEngine.flush(ne)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(ne){this._transitionEngine.afterFlushAnimationsDone(ne)}}class Qo{static#e=this.initialStylesByElement=new WeakMap;constructor(ne,me,Be){this._element=ne,this._startStyles=me,this._endStyles=Be,this._state=0;let nt=Qo.initialStylesByElement.get(ne);nt||Qo.initialStylesByElement.set(ne,nt=new Map),this._initialStyles=nt}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qo.initialStylesByElement.delete(this._element),this._startStyles&&(Kn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Kn(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}function ze(rt){let ne=null;return rt.forEach((me,Be)=>{(function Xe(rt){return"display"===rt||"position"===rt})(Be)&&(ne=ne||new Map,ne.set(Be,me))}),ne}class ke{constructor(ne,me,Be,nt){this.element=ne,this.keyframes=me,this.options=Be,this._specialStyles=nt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=Be.duration,this._delay=Be.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const ne=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ne,this.options),this._finalKeyframe=ne.length?ne[ne.length-1]:new Map;const me=()=>this._onFinish();this.domPlayer.addEventListener("finish",me),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",me)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(ne){const me=[];return ne.forEach(Be=>{me.push(Object.fromEntries(Be))}),me}_triggerWebAnimation(ne,me,Be){return ne.animate(this._convertKeyframesToObject(me),Be)}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(ne=>ne()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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(ne=>ne()),this._onDestroyFns=[])}setPosition(ne){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=ne*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const ne=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Be,nt)=>{"offset"!==nt&&ne.set(nt,this._finished?Be:Un(this.element,nt))}),this.currentSnapshot=ne}triggerCallback(ne){const me="start"===ne?this._onStartFns:this._onDoneFns;me.forEach(Be=>Be()),me.length=0}}class dt{validateStyleProperty(ne){return!0}validateAnimatableStyleProperty(ne){return!0}matchesElement(ne,me){return!1}containsElement(ne,me){return mt(ne,me)}getParentElement(ne){return pn(ne)}query(ne,me,Be){return Et(ne,me,Be)}computeStyle(ne,me,Be){return Un(ne,me)}animate(ne,me,Be,nt,yt,Pt=[]){const Vt={duration:Be,delay:nt,fill:0==nt?"both":"forwards"};yt&&(Vt.easing=yt);const gn=new Map,zn=Pt.filter(fr=>fr instanceof ke);(function Cn(rt,ne){return 0===rt||0===ne})(Be,nt)&&zn.forEach(fr=>{fr.currentSnapshot.forEach((tr,vr)=>gn.set(vr,tr))});let Gn=function pi(rt){return rt.length?rt[0]instanceof Map?rt:rt.map(ne=>new Map(Object.entries(ne))):[]}(me).map(fr=>new Map(fr));Gn=function yn(rt,ne,me){if(me.size&&ne.length){let Be=ne[0],nt=[];if(me.forEach((yt,Pt)=>{Be.has(Pt)||nt.push(Pt),Be.set(Pt,yt)}),nt.length)for(let yt=1;ytPt.set(Nt,Un(rt,Nt)))}}return ne}(ne,Gn,gn);const zr=function hs(rt,ne){let me=null,Be=null;return Array.isArray(ne)&&ne.length?(me=ze(ne[0]),ne.length>1&&(Be=ze(ne[ne.length-1]))):ne instanceof Map&&(me=ze(ne)),me||Be?new Qo(rt,me,Be):null}(ne,Gn);return new ke(ne,Gn,Vt,zr)}}const zi="@.disabled";class Mo{constructor(ne,me,Be,nt){this.namespaceId=ne,this.delegate=me,this.engine=Be,this._onDestroy=nt,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(ne){this.delegate.destroyNode?.(ne)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(ne,me){return this.delegate.createElement(ne,me)}createComment(ne){return this.delegate.createComment(ne)}createText(ne){return this.delegate.createText(ne)}appendChild(ne,me){this.delegate.appendChild(ne,me),this.engine.onInsert(this.namespaceId,me,ne,!1)}insertBefore(ne,me,Be,nt=!0){this.delegate.insertBefore(ne,me,Be),this.engine.onInsert(this.namespaceId,me,ne,nt)}removeChild(ne,me,Be){this.engine.onRemove(this.namespaceId,me,this.delegate)}selectRootElement(ne,me){return this.delegate.selectRootElement(ne,me)}parentNode(ne){return this.delegate.parentNode(ne)}nextSibling(ne){return this.delegate.nextSibling(ne)}setAttribute(ne,me,Be,nt){this.delegate.setAttribute(ne,me,Be,nt)}removeAttribute(ne,me,Be){this.delegate.removeAttribute(ne,me,Be)}addClass(ne,me){this.delegate.addClass(ne,me)}removeClass(ne,me){this.delegate.removeClass(ne,me)}setStyle(ne,me,Be,nt){this.delegate.setStyle(ne,me,Be,nt)}removeStyle(ne,me,Be){this.delegate.removeStyle(ne,me,Be)}setProperty(ne,me,Be){"@"==me.charAt(0)&&me==zi?this.disableAnimations(ne,!!Be):this.delegate.setProperty(ne,me,Be)}setValue(ne,me){this.delegate.setValue(ne,me)}listen(ne,me,Be){return this.delegate.listen(ne,me,Be)}disableAnimations(ne,me){this.engine.disableAnimations(ne,me)}}class Ao extends Mo{constructor(ne,me,Be,nt,yt){super(me,Be,nt,yt),this.factory=ne,this.namespaceId=me}setProperty(ne,me,Be){"@"==me.charAt(0)?"."==me.charAt(1)&&me==zi?this.disableAnimations(ne,Be=void 0===Be||!!Be):this.engine.process(this.namespaceId,ne,me.slice(1),Be):this.delegate.setProperty(ne,me,Be)}listen(ne,me,Be){if("@"==me.charAt(0)){const nt=function ho(rt){switch(rt){case"body":return document.body;case"document":return document;case"window":return window;default:return rt}}(ne);let yt=me.slice(1),Pt="";return"@"!=yt.charAt(0)&&([yt,Pt]=function Ur(rt){const ne=rt.indexOf(".");return[rt.substring(0,ne),rt.slice(ne+1)]}(yt)),this.engine.listen(this.namespaceId,nt,yt,Pt,Nt=>{this.factory.scheduleListenerCallback(Nt._data||-1,Be,Nt)})}return this.delegate.listen(ne,me,Be)}}class Zo{constructor(ne,me,Be){this.delegate=ne,this.engine=me,this._zone=Be,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,me.onRemovalComplete=(nt,yt)=>{const Pt=yt?.parentNode(nt);Pt&&yt.removeChild(Pt,nt)}}createRenderer(ne,me){const nt=this.delegate.createRenderer(ne,me);if(!ne||!me?.data?.animation){const gn=this._rendererCache;let zn=gn.get(nt);return zn||(zn=new Mo("",nt,this.engine,()=>gn.delete(nt)),gn.set(nt,zn)),zn}const yt=me.id,Pt=me.id+"-"+this._currentId;this._currentId++,this.engine.register(Pt,ne);const Nt=gn=>{Array.isArray(gn)?gn.forEach(Nt):this.engine.registerTrigger(yt,Pt,ne,gn.name,gn)};return me.data.animation.forEach(Nt),new Ao(this,Pt,nt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(ne,me,Be){if(ne>=0&&neme(Be));const nt=this._animationCallbacksBuffer;0==nt.length&&queueMicrotask(()=>{this._zone.run(()=>{nt.forEach(yt=>{const[Pt,Nt]=yt;Pt(Nt)}),this._animationCallbacksBuffer=[]})}),nt.push([me,Be])}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()}}var is=o(91368);let Xi=(()=>{class rt extends Ko{constructor(me,Be,nt){super(me,Be,nt,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Be){return new(Be||rt)(n.\u0275\u0275inject(is.DOCUMENT),n.\u0275\u0275inject(En),n.\u0275\u0275inject(qt))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();const _o=[{provide:qt,useFactory:function Xo(){return new Er}},{provide:Ko,useClass:Xi},{provide:n.RendererFactory2,useFactory:function xo(rt,ne,me){return new Zo(rt,ne,me)},deps:[i.\u0275DomRendererFactory2,Ko,n.NgZone]}],Di=[{provide:En,useFactory:()=>new dt},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},..._o],To=[{provide:En,useClass:_n},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},..._o];let Cs=(()=>{class rt{static withConfig(me){return{ngModule:rt,providers:me.disableAnimations?To:Di}}static#e=this.\u0275fac=function(Be){return new(Be||rt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Di,imports:[i.BrowserModule]})}return rt})();function os(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...Di]}let io=(()=>{class rt{static#e=this.\u0275fac=function(Be){return new(Be||rt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:To,imports:[i.BrowserModule]})}return rt})();function fs(){return[...To]}},14476:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{BrowserModule:()=>De,By:()=>kt,DomSanitizer:()=>vt,EVENT_MANAGER_PLUGINS:()=>p,EventManager:()=>C,EventManagerPlugin:()=>b,HAMMER_GESTURE_CONFIG:()=>Ee,HAMMER_LOADER:()=>ye,HammerGestureConfig:()=>Ce,HammerModule:()=>Je,HydrationFeatureKind:()=>Zt,Meta:()=>je,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>F,Title:()=>bt,TransferState:()=>kn,VERSION:()=>Yn,bootstrapApplication:()=>Y,createApplication:()=>q,disableDebugTools:()=>bn,enableDebugTools:()=>Sn,makeStateKey:()=>er,platformBrowser:()=>Ne,provideClientHydration:()=>Vn,provideProtractorTestingSupport:()=>_e,withHttpTransferCacheOptions:()=>Ot,withNoHttpTransferCache:()=>Dt,\u0275BrowserDomAdapter:()=>c,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>K,\u0275DomRendererFactory2:()=>k,\u0275DomSanitizerImpl:()=>Bt,\u0275HammerGesturesPlugin:()=>Ge,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>ge,\u0275KeyEventsPlugin:()=>W,\u0275SharedStylesHost:()=>f,\u0275getDOM:()=>i.\u0275getDOM,\u0275initDomAdapter:()=>Oe});var n=o(54496),i=o(91368),d=o(97048);class a extends i.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class c extends a{static makeCurrent(){(0,i.\u0275setRootDomAdapter)(new c)}onAndCancel(Gt,mt,Et){return Gt.addEventListener(mt,Et),()=>{Gt.removeEventListener(mt,Et)}}dispatchEvent(Gt,mt){Gt.dispatchEvent(mt)}remove(Gt){Gt.parentNode&&Gt.parentNode.removeChild(Gt)}createElement(Gt,mt){return(mt=mt||this.getDefaultDocument()).createElement(Gt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Gt){return Gt.nodeType===Node.ELEMENT_NODE}isShadowRoot(Gt){return Gt instanceof DocumentFragment}getGlobalEventTarget(Gt,mt){return"window"===mt?window:"document"===mt?Gt:"body"===mt?Gt.body:null}getBaseHref(Gt){const mt=function u(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==mt?null:function l(Mt){return new URL(Mt,document.baseURI).pathname}(mt)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(Gt){return(0,i.\u0275parseCookieValue)(document.cookie,Gt)}}let e=null;class g{addToWindow(Gt){n.\u0275global.getAngularTestability=(Et,Xt=!0)=>{const _n=Gt.findTestabilityInTree(Et,Xt);if(null==_n)throw new n.\u0275RuntimeError(5103,!1);return _n},n.\u0275global.getAllAngularTestabilities=()=>Gt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>Gt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(Et=>{const Xt=n.\u0275global.getAllAngularTestabilities();let _n=Xt.length;const En=function(){_n--,0==_n&&Et()};Xt.forEach(qt=>{qt.whenStable(En)})})}findTestabilityInTree(Gt,mt,Et){return null==mt?null:Gt.getTestability(mt)??(Et?(0,i.\u0275getDOM)().isShadowRoot(mt)?this.findTestabilityInTree(Gt,mt.host,!0):this.findTestabilityInTree(Gt,mt.parentElement,!0):null)}}let v=(()=>{class Mt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();const p=new n.InjectionToken("");let C=(()=>{class Mt{constructor(mt,Et){this._zone=Et,this._eventNameToPlugin=new Map,mt.forEach(Xt=>{Xt.manager=this}),this._plugins=mt.slice().reverse()}addEventListener(mt,Et,Xt){return this._findPluginFor(Et).addEventListener(mt,Et,Xt)}getZone(){return this._zone}_findPluginFor(mt){let Et=this._eventNameToPlugin.get(mt);if(Et)return Et;if(Et=this._plugins.find(_n=>_n.supports(mt)),!Et)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(mt,Et),Et}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();class b{constructor(Gt){this._doc=Gt}}const _="ng-app-id";let f=(()=>{class Mt{constructor(mt,Et,Xt,_n={}){this.doc=mt,this.appId=Et,this.nonce=Xt,this.platformId=_n,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,i.isPlatformServer)(_n),this.resetHostNodes()}addStyles(mt){for(const Et of mt)1===this.changeUsageCount(Et,1)&&this.onStyleAdded(Et)}removeStyles(mt){for(const Et of mt)this.changeUsageCount(Et,-1)<=0&&this.onStyleRemoved(Et)}ngOnDestroy(){const mt=this.styleNodesInDOM;mt&&(mt.forEach(Et=>Et.remove()),mt.clear());for(const Et of this.getAllStyles())this.onStyleRemoved(Et);this.resetHostNodes()}addHost(mt){this.hostNodes.add(mt);for(const Et of this.getAllStyles())this.addStyleToHost(mt,Et)}removeHost(mt){this.hostNodes.delete(mt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(mt){for(const Et of this.hostNodes)this.addStyleToHost(Et,mt)}onStyleRemoved(mt){const Et=this.styleRef;Et.get(mt)?.elements?.forEach(Xt=>Xt.remove()),Et.delete(mt)}collectServerRenderedStyles(){const mt=this.doc.head?.querySelectorAll(`style[${_}="${this.appId}"]`);if(mt?.length){const Et=new Map;return mt.forEach(Xt=>{null!=Xt.textContent&&Et.set(Xt.textContent,Xt)}),Et}return null}changeUsageCount(mt,Et){const Xt=this.styleRef;if(Xt.has(mt)){const _n=Xt.get(mt);return _n.usage+=Et,_n.usage}return Xt.set(mt,{usage:Et,elements:[]}),Et}getStyleElement(mt,Et){const Xt=this.styleNodesInDOM,_n=Xt?.get(Et);if(_n?.parentNode===mt)return Xt.delete(Et),_n.removeAttribute(_),_n;{const En=this.doc.createElement("style");return this.nonce&&En.setAttribute("nonce",this.nonce),En.textContent=Et,this.platformIsServer&&En.setAttribute(_,this.appId),mt.appendChild(En),En}}addStyleToHost(mt,Et){const Xt=this.getStyleElement(mt,Et),_n=this.styleRef,En=_n.get(Et)?.elements;En?En.push(Xt):_n.set(Et,{elements:[Xt],usage:1})}resetHostNodes(){const mt=this.hostNodes;mt.clear(),mt.add(this.doc.head)}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();const y={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/MathML/"},S=/%COMP%/g,M="%COMP%",w=`_nghost-${M}`,A=`_ngcontent-${M}`,F=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function I(Mt,Gt){return Gt.map(mt=>mt.replace(S,Mt))}let k=(()=>{class Mt{constructor(mt,Et,Xt,_n,En,qt,nr,kr=null){this.eventManager=mt,this.sharedStylesHost=Et,this.appId=Xt,this.removeStylesOnCompDestroy=_n,this.doc=En,this.platformId=qt,this.ngZone=nr,this.nonce=kr,this.rendererByCompId=new Map,this.platformIsServer=(0,i.isPlatformServer)(qt),this.defaultRenderer=new N(mt,En,nr,this.platformIsServer)}createRenderer(mt,Et){if(!mt||!Et)return this.defaultRenderer;this.platformIsServer&&Et.encapsulation===n.ViewEncapsulation.ShadowDom&&(Et={...Et,encapsulation:n.ViewEncapsulation.Emulated});const Xt=this.getOrCreateRenderer(mt,Et);return Xt instanceof se?Xt.applyToHost(mt):Xt instanceof ce&&Xt.applyStyles(),Xt}getOrCreateRenderer(mt,Et){const Xt=this.rendererByCompId;let _n=Xt.get(Et.id);if(!_n){const En=this.doc,qt=this.ngZone,nr=this.eventManager,kr=this.sharedStylesHost,Br=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(Et.encapsulation){case n.ViewEncapsulation.Emulated:_n=new se(nr,kr,Et,this.appId,Br,En,qt,sr);break;case n.ViewEncapsulation.ShadowDom:return new te(nr,kr,mt,Et,En,qt,this.nonce,sr);default:_n=new ce(nr,kr,Et,Br,En,qt,sr)}Xt.set(Et.id,_n)}return _n}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(C),n.\u0275\u0275inject(f),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(F),n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();class N{constructor(Gt,mt,Et,Xt){this.eventManager=Gt,this.doc=mt,this.ngZone=Et,this.platformIsServer=Xt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Gt,mt){return mt?this.doc.createElementNS(y[mt]||mt,Gt):this.doc.createElement(Gt)}createComment(Gt){return this.doc.createComment(Gt)}createText(Gt){return this.doc.createTextNode(Gt)}appendChild(Gt,mt){(G(Gt)?Gt.content:Gt).appendChild(mt)}insertBefore(Gt,mt,Et){Gt&&(G(Gt)?Gt.content:Gt).insertBefore(mt,Et)}removeChild(Gt,mt){Gt&&Gt.removeChild(mt)}selectRootElement(Gt,mt){let Et="string"==typeof Gt?this.doc.querySelector(Gt):Gt;if(!Et)throw new n.\u0275RuntimeError(-5104,!1);return mt||(Et.textContent=""),Et}parentNode(Gt){return Gt.parentNode}nextSibling(Gt){return Gt.nextSibling}setAttribute(Gt,mt,Et,Xt){if(Xt){mt=Xt+":"+mt;const _n=y[Xt];_n?Gt.setAttributeNS(_n,mt,Et):Gt.setAttribute(mt,Et)}else Gt.setAttribute(mt,Et)}removeAttribute(Gt,mt,Et){if(Et){const Xt=y[Et];Xt?Gt.removeAttributeNS(Xt,mt):Gt.removeAttribute(`${Et}:${mt}`)}else Gt.removeAttribute(mt)}addClass(Gt,mt){Gt.classList.add(mt)}removeClass(Gt,mt){Gt.classList.remove(mt)}setStyle(Gt,mt,Et,Xt){Xt&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?Gt.style.setProperty(mt,Et,Xt&n.RendererStyleFlags2.Important?"important":""):Gt.style[mt]=Et}removeStyle(Gt,mt,Et){Et&n.RendererStyleFlags2.DashCase?Gt.style.removeProperty(mt):Gt.style[mt]=""}setProperty(Gt,mt,Et){null!=Gt&&(Gt[mt]=Et)}setValue(Gt,mt){Gt.nodeValue=mt}listen(Gt,mt,Et){if("string"==typeof Gt&&!(Gt=(0,i.\u0275getDOM)().getGlobalEventTarget(this.doc,Gt)))throw new Error(`Unsupported event target ${Gt} for event ${mt}`);return this.eventManager.addEventListener(Gt,mt,this.decoratePreventDefault(Et))}decoratePreventDefault(Gt){return mt=>{if("__ngUnwrap__"===mt)return Gt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Gt(mt)):Gt(mt))&&mt.preventDefault()}}}function G(Mt){return"TEMPLATE"===Mt.tagName&&void 0!==Mt.content}class te extends N{constructor(Gt,mt,Et,Xt,_n,En,qt,nr){super(Gt,_n,En,nr),this.sharedStylesHost=mt,this.hostEl=Et,this.shadowRoot=Et.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kr=I(Xt.id,Xt.styles);for(const Br of kr){const sr=document.createElement("style");qt&&sr.setAttribute("nonce",qt),sr.textContent=Br,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot(Gt){return Gt===this.hostEl?this.shadowRoot:Gt}appendChild(Gt,mt){return super.appendChild(this.nodeOrShadowRoot(Gt),mt)}insertBefore(Gt,mt,Et){return super.insertBefore(this.nodeOrShadowRoot(Gt),mt,Et)}removeChild(Gt,mt){return super.removeChild(this.nodeOrShadowRoot(Gt),mt)}parentNode(Gt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Gt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ce extends N{constructor(Gt,mt,Et,Xt,_n,En,qt,nr){super(Gt,_n,En,qt),this.sharedStylesHost=mt,this.removeStylesOnCompDestroy=Xt,this.styles=nr?I(nr,Et.styles):Et.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class se extends ce{constructor(Gt,mt,Et,Xt,_n,En,qt,nr){const kr=Xt+"-"+Et.id;super(Gt,mt,Et,_n,En,qt,nr,kr),this.contentAttr=function j(Mt){return A.replace(S,Mt)}(kr),this.hostAttr=function T(Mt){return w.replace(S,Mt)}(kr)}applyToHost(Gt){this.applyStyles(),this.setAttribute(Gt,this.hostAttr,"")}createElement(Gt,mt){const Et=super.createElement(Gt,mt);return super.setAttribute(Et,this.contentAttr,""),Et}}let K=(()=>{class Mt extends b{constructor(mt){super(mt)}supports(mt){return!0}addEventListener(mt,Et,Xt){return mt.addEventListener(Et,Xt,!1),()=>this.removeEventListener(mt,Et,Xt)}removeEventListener(mt,Et,Xt){return mt.removeEventListener(Et,Xt)}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();const Z=["alt","control","meta","shift"],re={"\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"},X={alt:Mt=>Mt.altKey,control:Mt=>Mt.ctrlKey,meta:Mt=>Mt.metaKey,shift:Mt=>Mt.shiftKey};let W=(()=>{class Mt extends b{constructor(mt){super(mt)}supports(mt){return null!=Mt.parseEventName(mt)}addEventListener(mt,Et,Xt){const _n=Mt.parseEventName(Et),En=Mt.eventCallback(_n.fullKey,Xt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,i.\u0275getDOM)().onAndCancel(mt,_n.domEventName,En))}static parseEventName(mt){const Et=mt.toLowerCase().split("."),Xt=Et.shift();if(0===Et.length||"keydown"!==Xt&&"keyup"!==Xt)return null;const _n=Mt._normalizeKey(Et.pop());let En="",qt=Et.indexOf("code");if(qt>-1&&(Et.splice(qt,1),En="code."),Z.forEach(kr=>{const Br=Et.indexOf(kr);Br>-1&&(Et.splice(Br,1),En+=kr+".")}),En+=_n,0!=Et.length||0===_n.length)return null;const nr={};return nr.domEventName=Xt,nr.fullKey=En,nr}static matchEventFullKeyCode(mt,Et){let Xt=re[mt.key]||mt.key,_n="";return Et.indexOf("code.")>-1&&(Xt=mt.code,_n="code."),!(null==Xt||!Xt)&&(Xt=Xt.toLowerCase()," "===Xt?Xt="space":"."===Xt&&(Xt="dot"),Z.forEach(En=>{En!==Xt&&(0,X[En])(mt)&&(_n+=En+".")}),_n+=Xt,_n===Et)}static eventCallback(mt,Et,Xt){return _n=>{Mt.matchEventFullKeyCode(_n,mt)&&Xt.runGuarded(()=>Et(_n))}}static _normalizeKey(mt){return"esc"===mt?"escape":mt}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();function Y(Mt,Gt){return(0,n.\u0275internalCreateApplication)({rootComponent:Mt,...he(Gt)})}function q(Mt){return(0,n.\u0275internalCreateApplication)(he(Mt))}function he(Mt){return{appProviders:[...et,...Mt?.providers??[]],platformProviders:ge}}function _e(){return[...qe]}function Oe(){c.makeCurrent()}const ge=[{provide:n.PLATFORM_ID,useValue:i.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Oe,multi:!0},{provide:i.DOCUMENT,useFactory:function Ae(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Ne=(0,n.createPlatformFactory)(n.platformCore,"browser",ge),it=new n.InjectionToken(""),qe=[{provide:n.\u0275TESTABILITY_GETTER,useClass:g,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],et=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Re(){return new n.ErrorHandler},deps:[]},{provide:p,useClass:K,multi:!0,deps:[i.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:p,useClass:W,multi:!0,deps:[i.DOCUMENT]},k,f,C,{provide:n.RendererFactory2,useExisting:k},{provide:i.XhrFactory,useClass:v,deps:[]},[]];let De=(()=>{class Mt{constructor(mt){}static withServerTransition(mt){return{ngModule:Mt,providers:[{provide:n.APP_ID,useValue:mt.appId}]}}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(it,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Mt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...et,...qe],imports:[i.CommonModule,n.ApplicationModule]})}return Mt})(),je=(()=>{class Mt{constructor(mt){this._doc=mt,this._dom=(0,i.\u0275getDOM)()}addTag(mt,Et=!1){return mt?this._getOrCreateElement(mt,Et):null}addTags(mt,Et=!1){return mt?mt.reduce((Xt,_n)=>(_n&&Xt.push(this._getOrCreateElement(_n,Et)),Xt),[]):[]}getTag(mt){return mt&&this._doc.querySelector(`meta[${mt}]`)||null}getTags(mt){if(!mt)return[];const Et=this._doc.querySelectorAll(`meta[${mt}]`);return Et?[].slice.call(Et):[]}updateTag(mt,Et){if(!mt)return null;Et=Et||this._parseSelector(mt);const Xt=this.getTag(Et);return Xt?this._setMetaElementAttributes(mt,Xt):this._getOrCreateElement(mt,!0)}removeTag(mt){this.removeTagElement(this.getTag(mt))}removeTagElement(mt){mt&&this._dom.remove(mt)}_getOrCreateElement(mt,Et=!1){if(!Et){const En=this._parseSelector(mt),qt=this.getTags(En).filter(nr=>this._containsAttributes(mt,nr))[0];if(void 0!==qt)return qt}const Xt=this._dom.createElement("meta");return this._setMetaElementAttributes(mt,Xt),this._doc.getElementsByTagName("head")[0].appendChild(Xt),Xt}_setMetaElementAttributes(mt,Et){return Object.keys(mt).forEach(Xt=>Et.setAttribute(this._getMetaKeyMap(Xt),mt[Xt])),Et}_parseSelector(mt){const Et=mt.name?"name":"property";return`${Et}="${mt[Et]}"`}_containsAttributes(mt,Et){return Object.keys(mt).every(Xt=>Et.getAttribute(this._getMetaKeyMap(Xt))===mt[Xt])}_getMetaKeyMap(mt){return Pe[mt]||mt}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})();const Pe={httpEquiv:"http-equiv"};let bt=(()=>{class Mt{constructor(mt){this._doc=mt}getTitle(){return this._doc.title}setTitle(mt){this._doc.title=mt||""}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})();function Qe(Mt,Gt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[Mt]=Gt)}class Ut{constructor(Gt,mt){this.msPerTick=Gt,this.numTicks=mt}}class sn{constructor(Gt){this.appRef=Gt.injector.get(n.ApplicationRef)}timeChangeDetection(Gt){const mt=Gt&&Gt.record,Et="Change Detection";mt&&"profile"in console&&"function"==typeof console.profile&&console.profile(Et);const Xt=performance.now();let _n=0;for(;_n<5||performance.now()-Xt<500;)this.appRef.tick(),_n++;const En=performance.now();mt&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Et);const qt=(En-Xt)/_n;return console.log(`ran ${_n} change detection cycles`),console.log(`${qt.toFixed(2)} ms per check`),new Ut(qt,_n)}}const un="profiler";function Sn(Mt){return Qe(un,new sn(Mt)),Mt}function bn(){Qe(un,null)}class kt{static all(){return()=>!0}static css(Gt){return mt=>null!=mt.nativeElement&&function jt(Mt,Gt){return!!(0,i.\u0275getDOM)().isElementNode(Mt)&&(Mt.matches&&Mt.matches(Gt)||Mt.msMatchesSelector&&Mt.msMatchesSelector(Gt)||Mt.webkitMatchesSelector&&Mt.webkitMatchesSelector(Gt))}(mt.nativeElement,Gt)}static directive(Gt){return mt=>-1!==mt.providerTokens.indexOf(Gt)}}const Fe={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ee=new n.InjectionToken("HammerGestureConfig"),ye=new n.InjectionToken("HammerLoader");let Ce=(()=>{class Mt{constructor(){this.events=[],this.overrides={}}buildHammer(mt){const Et=new Hammer(mt,this.options);Et.get("pinch").set({enable:!0}),Et.get("rotate").set({enable:!0});for(const Xt in this.overrides)Et.get(Xt).set(this.overrides[Xt]);return Et}static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})(),Ge=(()=>{class Mt extends b{constructor(mt,Et,Xt,_n){super(mt),this._config=Et,this.console=Xt,this.loader=_n,this._loaderPromise=null}supports(mt){return!(!Fe.hasOwnProperty(mt.toLowerCase())&&!this.isCustomEvent(mt)||!window.Hammer&&!this.loader)}addEventListener(mt,Et,Xt){const _n=this.manager.getZone();if(Et=Et.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||_n.runOutsideAngular(()=>this.loader());let En=!1,qt=()=>{En=!0};return _n.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?En||(qt=this.addEventListener(mt,Et,Xt)):qt=()=>{}}).catch(()=>{qt=()=>{}})),()=>{qt()}}return _n.runOutsideAngular(()=>{const En=this._config.buildHammer(mt),qt=function(nr){_n.runGuarded(function(){Xt(nr)})};return En.on(Et,qt),()=>{En.off(Et,qt),"function"==typeof En.destroy&&En.destroy()}})}isCustomEvent(mt){return this._config.events.indexOf(mt)>-1}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(Ee),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(ye,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})(),Je=(()=>{class Mt{static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Mt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:p,useClass:Ge,multi:!0,deps:[i.DOCUMENT,Ee,n.\u0275Console,[new n.Optional,ye]]},{provide:Ee,useClass:Ce,deps:[]}]})}return Mt})(),vt=(()=>{class Mt{static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:function(Et){let Xt=null;return Xt=Et?new(Et||Mt):n.\u0275\u0275inject(Bt),Xt},providedIn:"root"})}return Mt})(),Bt=(()=>{class Mt extends vt{constructor(mt){super(),this._doc=mt}sanitize(mt,Et){if(null==Et)return null;switch(mt){case n.SecurityContext.NONE:return Et;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(Et,"HTML")?(0,n.\u0275unwrapSafeValue)(Et):(0,n.\u0275_sanitizeHtml)(this._doc,String(Et)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(Et,"Style")?(0,n.\u0275unwrapSafeValue)(Et):Et;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(Et,"Script"))return(0,n.\u0275unwrapSafeValue)(Et);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(Et,"URL")?(0,n.\u0275unwrapSafeValue)(Et):(0,n.\u0275_sanitizeUrl)(String(Et));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(Et,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(Et);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(mt){return(0,n.\u0275bypassSanitizationTrustHtml)(mt)}bypassSecurityTrustStyle(mt){return(0,n.\u0275bypassSanitizationTrustStyle)(mt)}bypassSecurityTrustScript(mt){return(0,n.\u0275bypassSanitizationTrustScript)(mt)}bypassSecurityTrustUrl(mt){return(0,n.\u0275bypassSanitizationTrustUrl)(mt)}bypassSecurityTrustResourceUrl(mt){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(mt)}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(i.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})();var Zt=function(Mt){return Mt[Mt.NoHttpTransferCache=0]="NoHttpTransferCache",Mt[Mt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Mt}(Zt||{});function Rt(Mt,Gt=[],mt={}){return{\u0275kind:Mt,\u0275providers:Gt}}function Dt(){return Rt(Zt.NoHttpTransferCache)}function Ot(Mt){return Rt(Zt.HttpTransferCacheOptions,(0,d.\u0275withHttpTransferCache)(Mt))}function Vn(...Mt){const Gt=[],mt=new Set,Et=mt.has(Zt.HttpTransferCacheOptions);for(const{\u0275providers:Xt,\u0275kind:_n}of Mt)mt.add(_n),Xt.length&&Gt.push(Xt);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),mt.has(Zt.NoHttpTransferCache)||Et?[]:(0,d.\u0275withHttpTransferCache)({}),Gt])}const Yn=new n.Version("17.2.3"),er=n.makeStateKey,kn=n.TransferState},56568:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{ActivatedRoute:()=>ai,ActivatedRouteSnapshot:()=>ti,ActivationEnd:()=>ln,ActivationStart:()=>mn,BaseRouteReuseStrategy:()=>yr,ChildActivationEnd:()=>fn,ChildActivationStart:()=>dn,ChildrenOutletContexts:()=>Lr,DefaultTitleStrategy:()=>ee,DefaultUrlSerializer:()=>Dt,EventType:()=>Hn,GuardsCheckEnd:()=>ot,GuardsCheckStart:()=>Te,NavigationCancel:()=>ae,NavigationCancellationCode:()=>U,NavigationEnd:()=>on,NavigationError:()=>Ie,NavigationSkipped:()=>He,NavigationSkippedCode:()=>z,NavigationStart:()=>Ei,NoPreloading:()=>el,OutletContext:()=>Nr,PRIMARY_OUTLET:()=>ge,PreloadAllModules:()=>Gl,PreloadingStrategy:()=>Ks,ROUTER_CONFIGURATION:()=>B,ROUTER_INITIALIZER:()=>No,ROUTES:()=>le,ResolveEnd:()=>Ct,ResolveStart:()=>ht,RouteConfigLoadEnd:()=>Kt,RouteConfigLoadStart:()=>Lt,RouteReuseStrategy:()=>gr,Router:()=>fo,RouterEvent:()=>ur,RouterLink:()=>hi,RouterLinkActive:()=>ss,RouterLinkWithHref:()=>hi,RouterModule:()=>Xl,RouterOutlet:()=>go,RouterPreloader:()=>tl,RouterState:()=>$n,RouterStateSnapshot:()=>Zr,RoutesRecognized:()=>fe,Scroll:()=>Yt,TitleStrategy:()=>R,UrlHandlingStrategy:()=>J,UrlSegment:()=>Je,UrlSegmentGroup:()=>Ge,UrlSerializer:()=>Rt,UrlTree:()=>Ce,VERSION:()=>ms,convertToParamMap:()=>qe,createUrlTreeFromSnapshot:()=>Xn,defaultUrlMatcher:()=>et,mapToCanActivate:()=>Us,mapToCanActivateChild:()=>Ea,mapToCanDeactivate:()=>Nn,mapToCanMatch:()=>ql,mapToResolve:()=>ec,provideRouter:()=>fu,provideRoutes:()=>ls,withComponentInputBinding:()=>rl,withDebugTracing:()=>Ql,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>aa,withHashLocation:()=>ca,withInMemoryScrolling:()=>oa,withNavigationErrorHandler:()=>jd,withPreloading:()=>Wo,withRouterConfig:()=>la,withViewTransitions:()=>Zl,\u0275EmptyOutletComponent:()=>yi,\u0275ROUTER_PROVIDERS:()=>ol,\u0275afterNextNavigation:()=>Ri,\u0275loadChildren:()=>ft});var n=o(54496),i=o(53252),d=o(38880),c=o(74496),e=o(82700),u=o(46700),l=o(56040),g=o(37696),v=o(7400),p=o(528);function C(oe=1/0){return(0,v.O)(p.Z,oe)}var _=o(59472);function f(...oe){return function b(){return C(1)}()((0,c.Q)(oe,(0,_.e_)(oe)))}var y=o(41424),S=o(83928);function M(oe,be){const ue=(0,d.m)(oe)?oe:()=>oe,Me=Ke=>Ke.error(ue());return new i._(be?Ke=>be.schedule(Me,0,Ke):Me)}var w=o(28960),A=o(46928),O=o(95448),F=o(87773);function j(){return(0,O.i)((oe,be)=>{let ue=null;oe._refCount++;const Me=(0,F.e)(be,void 0,void 0,void 0,()=>{if(!oe||oe._refCount<=0||0<--oe._refCount)return void(ue=null);const Ke=oe._connection,st=ue;ue=null,Ke&&(!st||Ke===st)&&Ke.unsubscribe(),be.unsubscribe()});oe.subscribe(Me),Me.closed||(ue=oe.connect())})}class T extends i._{constructor(be,ue){super(),this.source=be,this.subjectFactory=ue,this._subject=null,this._refCount=0,this._connection=null,(0,O.e)(be)&&(this.lift=be.lift)}_subscribe(be){return this.getSubject().subscribe(be)}getSubject(){const be=this._subject;return(!be||be.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:be}=this;this._subject=this._connection=null,be?.unsubscribe()}connect(){let be=this._connection;if(!be){be=this._connection=new A.wH;const ue=this.getSubject();be.add(this.source.subscribe((0,F.e)(ue,void 0,()=>{this._teardown(),ue.complete()},Me=>{this._teardown(),ue.error(Me)},()=>this._teardown()))),be.closed&&(this._connection=null,be=A.wH.EMPTY)}return be}refCount(){return j()(this)}}var I=o(95657),k=o(91368),N=o(54704),x=o(17368),H=o(3992),te=o(66684),ce=o(75084),se=o(26020),K=o(19212),Z=o(39144);var W=o(22156);function Y(oe){return oe<=0?()=>w.k:(0,O.i)((be,ue)=>{let Me=[];be.subscribe((0,F.e)(ue,Ke=>{Me.push(Ke),oe{for(const Ke of Me)ue.next(Ke);ue.complete()},void 0,()=>{Me=null}))})}var q=o(98124),_e=o(32700),Oe=o(68824),Re=o(53616),Ae=o(14476);const ge="primary",Ne=Symbol("RouteTitle");class it{constructor(be){this.params=be||{}}has(be){return Object.prototype.hasOwnProperty.call(this.params,be)}get(be){if(this.has(be)){const ue=this.params[be];return Array.isArray(ue)?ue[0]:ue}return null}getAll(be){if(this.has(be)){const ue=this.params[be];return Array.isArray(ue)?ue:[ue]}return[]}get keys(){return Object.keys(this.params)}}function qe(oe){return new it(oe)}function et(oe,be,ue){const Me=ue.path.split("/");if(Me.length>oe.length||"full"===ue.pathMatch&&(be.hasChildren()||Me.lengthMe[st]===Ke)}return oe===be}function Qe(oe){return oe.length>0?oe[oe.length-1]:null}function Ut(oe){return function a(oe){return!!oe&&(oe instanceof i._||(0,d.m)(oe.lift)&&(0,d.m)(oe.subscribe))}(oe)?oe:(0,n.\u0275isPromise)(oe)?(0,c.Q)(Promise.resolve(oe)):(0,e.of)(oe)}const sn={exact:function kt(oe,be,ue){if(!Bt(oe.segments,be.segments)||!ye(oe.segments,be.segments,ue)||oe.numberOfChildren!==be.numberOfChildren)return!1;for(const Me in be.children)if(!oe.children[Me]||!kt(oe.children[Me],be.children[Me],ue))return!1;return!0},subset:Fe},un={exact:function bn(oe,be){return je(oe,be)},subset:function jt(oe,be){return Object.keys(be).length<=Object.keys(oe).length&&Object.keys(be).every(ue=>bt(oe[ue],be[ue]))},ignored:()=>!0};function Sn(oe,be,ue){return sn[ue.paths](oe.root,be.root,ue.matrixParams)&&un[ue.queryParams](oe.queryParams,be.queryParams)&&!("exact"===ue.fragment&&oe.fragment!==be.fragment)}function Fe(oe,be,ue){return Ee(oe,be,be.segments,ue)}function Ee(oe,be,ue,Me){if(oe.segments.length>ue.length){const Ke=oe.segments.slice(0,ue.length);return!(!Bt(Ke,ue)||be.hasChildren()||!ye(Ke,ue,Me))}if(oe.segments.length===ue.length){if(!Bt(oe.segments,ue)||!ye(oe.segments,ue,Me))return!1;for(const Ke in be.children)if(!oe.children[Ke]||!Fe(oe.children[Ke],be.children[Ke],Me))return!1;return!0}{const Ke=ue.slice(0,oe.segments.length),st=ue.slice(oe.segments.length);return!!(Bt(oe.segments,Ke)&&ye(oe.segments,Ke,Me)&&oe.children[ge])&&Ee(oe.children[ge],be,st,Me)}}function ye(oe,be,ue){return be.every((Me,Ke)=>un[ue](oe[Ke].parameters,Me.parameters))}class Ce{constructor(be=new Ge([],{}),ue={},Me=null){this.root=be,this.queryParams=ue,this.fragment=Me}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return Ot.serialize(this)}}class Ge{constructor(be,ue){this.segments=be,this.children=ue,this.parent=null,Object.values(ue).forEach(Me=>Me.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pn(this)}}class Je{constructor(be,ue){this.path=be,this.parameters=ue}get parameterMap(){return this._parameterMap??=qe(this.parameters),this._parameterMap}toString(){return Et(this)}}function Bt(oe,be){return oe.length===be.length&&oe.every((ue,Me)=>ue.path===be[Me].path)}let Rt=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>new Dt,providedIn:"root"})}return oe})();class Dt{parse(be){const ue=new Jn(be);return new Ce(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(be){const ue=`/${Vn(be.root,!0)}`,Me=function _n(oe){const be=Object.entries(oe).map(([ue,Me])=>Array.isArray(Me)?Me.map(Ke=>`${er(ue)}=${er(Ke)}`).join("&"):`${er(ue)}=${er(Me)}`).filter(ue=>ue);return be.length?`?${be.join("&")}`:""}(be.queryParams);return`${ue}${Me}${"string"==typeof be.fragment?`#${function kn(oe){return encodeURI(oe)}(be.fragment)}`:""}`}}const Ot=new Dt;function pn(oe){return oe.segments.map(be=>Et(be)).join("/")}function Vn(oe,be){if(!oe.hasChildren())return pn(oe);if(be){const ue=oe.children[ge]?Vn(oe.children[ge],!1):"",Me=[];return Object.entries(oe.children).forEach(([Ke,st])=>{Ke!==ge&&Me.push(`${Ke}:${Vn(st,!1)}`)}),Me.length>0?`${ue}(${Me.join("//")})`:ue}{const ue=function Zt(oe,be){let ue=[];return Object.entries(oe.children).forEach(([Me,Ke])=>{Me===ge&&(ue=ue.concat(be(Ke,Me)))}),Object.entries(oe.children).forEach(([Me,Ke])=>{Me!==ge&&(ue=ue.concat(be(Ke,Me)))}),ue}(oe,(Me,Ke)=>Ke===ge?[Vn(oe.children[ge],!1)]:[`${Ke}:${Vn(Me,!1)}`]);return 1===Object.keys(oe.children).length&&null!=oe.children[ge]?`${pn(oe)}/${ue[0]}`:`${pn(oe)}/(${ue.join("//")})`}}function Yn(oe){return encodeURIComponent(oe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function er(oe){return Yn(oe).replace(/%3B/gi,";")}function Mt(oe){return Yn(oe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gt(oe){return decodeURIComponent(oe)}function mt(oe){return Gt(oe.replace(/\+/g,"%20"))}function Et(oe){return`${Mt(oe.path)}${function Xt(oe){return Object.entries(oe).map(([be,ue])=>`;${Mt(be)}=${Mt(ue)}`).join("")}(oe.parameters)}`}const En=/^[^\/()?;#]+/;function qt(oe){const be=oe.match(En);return be?be[0]:""}const nr=/^[^\/()?;=#]+/,Br=/^[^=?&#]+/,Mr=/^[^&#]+/;class Jn{constructor(be){this.url=be,this.remaining=be}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())}parseQueryParams(){const be={};if(this.consumeOptional("?"))do{this.parseQueryParam(be)}while(this.consumeOptional("&"));return be}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const be=[];for(this.peekStartsWith("(")||be.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),be.push(this.parseSegment());let ue={};this.peekStartsWith("/(")&&(this.capture("/"),ue=this.parseParens(!0));let Me={};return this.peekStartsWith("(")&&(Me=this.parseParens(!1)),(be.length>0||Object.keys(ue).length>0)&&(Me[ge]=new Ge(be,ue)),Me}parseSegment(){const be=qt(this.remaining);if(""===be&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(be),new Je(Gt(be),this.parseMatrixParams())}parseMatrixParams(){const be={};for(;this.consumeOptional(";");)this.parseParam(be);return be}parseParam(be){const ue=function kr(oe){const be=oe.match(nr);return be?be[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Me="";if(this.consumeOptional("=")){const Ke=qt(this.remaining);Ke&&(Me=Ke,this.capture(Me))}be[Gt(ue)]=Gt(Me)}parseQueryParam(be){const ue=function sr(oe){const be=oe.match(Br);return be?be[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Me="";if(this.consumeOptional("=")){const At=function br(oe){const be=oe.match(Mr);return be?be[0]:""}(this.remaining);At&&(Me=At,this.capture(Me))}const Ke=mt(ue),st=mt(Me);if(be.hasOwnProperty(Ke)){let At=be[Ke];Array.isArray(At)||(At=[At],be[Ke]=At),At.push(st)}else be[Ke]=st}parseParens(be){const ue={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Me=qt(this.remaining),Ke=this.remaining[Me.length];if("/"!==Ke&&")"!==Ke&&";"!==Ke)throw new n.\u0275RuntimeError(4010,!1);let st;Me.indexOf(":")>-1?(st=Me.slice(0,Me.indexOf(":")),this.capture(st),this.capture(":")):be&&(st=ge);const At=this.parseChildren();ue[st]=1===Object.keys(At).length?At[ge]:new Ge([],At),this.consumeOptional("//")}return ue}peekStartsWith(be){return this.remaining.startsWith(be)}consumeOptional(be){return!!this.peekStartsWith(be)&&(this.remaining=this.remaining.substring(be.length),!0)}capture(be){if(!this.consumeOptional(be))throw new n.\u0275RuntimeError(4011,!1)}}function xn(oe){return oe.segments.length>0?new Ge([],{[ge]:oe}):oe}function oi(oe){const be={};for(const[Me,Ke]of Object.entries(oe.children)){const st=oi(Ke);if(Me===ge&&0===st.segments.length&&st.hasChildren())for(const[At,cn]of Object.entries(st.children))be[At]=cn;else(st.segments.length>0||st.hasChildren())&&(be[Me]=st)}return function Sr(oe){if(1===oe.numberOfChildren&&oe.children[ge]){const be=oe.children[ge];return new Ge(oe.segments.concat(be.segments),be.children)}return oe}(new Ge(oe.segments,be))}function pr(oe){return oe instanceof Ce}function Xn(oe,be,ue=null,Me=null){return Or(qn(oe),be,ue,Me)}function qn(oe){let be;const Ke=xn(function ue(st){const At={};for(const nn of st.children){const Zn=ue(nn);At[nn.outlet]=Zn}const cn=new Ge(st.url,At);return st===oe&&(be=cn),cn}(oe.root));return be??Ke}function Or(oe,be,ue,Me){let Ke=oe;for(;Ke.parent;)Ke=Ke.parent;if(0===be.length)return Rn(Ke,Ke,Ke,ue,Me);const st=function ui(oe){if("string"==typeof oe[0]&&1===oe.length&&"/"===oe[0])return new or(!0,0,oe);let be=0,ue=!1;const Me=oe.reduce((Ke,st,At)=>{if("object"==typeof st&&null!=st){if(st.outlets){const cn={};return Object.entries(st.outlets).forEach(([nn,Zn])=>{cn[nn]="string"==typeof Zn?Zn.split("/"):Zn}),[...Ke,{outlets:cn}]}if(st.segmentPath)return[...Ke,st.segmentPath]}return"string"!=typeof st?[...Ke,st]:0===At?(st.split("/").forEach((cn,nn)=>{0==nn&&"."===cn||(0==nn&&""===cn?ue=!0:".."===cn?be++:""!=cn&&Ke.push(cn))}),Ke):[...Ke,st]},[]);return new or(ue,be,Me)}(be);if(st.toRoot())return Rn(Ke,Ke,new Ge([],{}),ue,Me);const At=function ct(oe,be,ue){if(oe.isAbsolute)return new Pr(be,!0,0);if(!ue)return new Pr(be,!1,NaN);if(null===ue.parent)return new Pr(ue,!0,0);const Me=pi(oe.commands[0])?0:1;return function Tt(oe,be,ue){let Me=oe,Ke=be,st=ue;for(;st>Ke;){if(st-=Ke,Me=Me.parent,!Me)throw new n.\u0275RuntimeError(4005,!1);Ke=Me.segments.length}return new Pr(Me,!1,Ke-st)}(ue,ue.segments.length-1+Me,oe.numberOfDoubleDots)}(st,Ke,oe),cn=At.processChildren?an(At.segmentGroup,At.index,st.commands):Jt(At.segmentGroup,At.index,st.commands);return Rn(Ke,At.segmentGroup,cn,ue,Me)}function pi(oe){return"object"==typeof oe&&null!=oe&&!oe.outlets&&!oe.segmentPath}function Qt(oe){return"object"==typeof oe&&null!=oe&&oe.outlets}function Rn(oe,be,ue,Me,Ke){let At,st={};Me&&Object.entries(Me).forEach(([nn,Zn])=>{st[nn]=Array.isArray(Zn)?Zn.map(xr=>`${xr}`):`${Zn}`}),At=oe===be?ue:Kn(oe,be,ue);const cn=xn(oi(At));return new Ce(cn,st,Ke)}function Kn(oe,be,ue){const Me={};return Object.entries(oe.children).forEach(([Ke,st])=>{Me[Ke]=st===be?ue:Kn(st,be,ue)}),new Ge(oe.segments,Me)}class or{constructor(be,ue,Me){if(this.isAbsolute=be,this.numberOfDoubleDots=ue,this.commands=Me,be&&Me.length>0&&pi(Me[0]))throw new n.\u0275RuntimeError(4003,!1);const Ke=Me.find(Qt);if(Ke&&Ke!==Qe(Me))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Pr{constructor(be,ue,Me){this.segmentGroup=be,this.processChildren=ue,this.index=Me}}function Jt(oe,be,ue){if(oe??=new Ge([],{}),0===oe.segments.length&&oe.hasChildren())return an(oe,be,ue);const Me=function Cn(oe,be,ue){let Me=0,Ke=be;const st={match:!1,pathIndex:0,commandIndex:0};for(;Ke=ue.length)return st;const At=oe.segments[Ke],cn=ue[Me];if(Qt(cn))break;const nn=`${cn}`,Zn=Me0&&void 0===nn)break;if(nn&&Zn&&"object"==typeof Zn&&void 0===Zn.outlets){if(!Tr(nn,Zn,At))return st;Me+=2}else{if(!Tr(nn,{},At))return st;Me++}Ke++}return{match:!0,pathIndex:Ke,commandIndex:Me}}(oe,be,ue),Ke=ue.slice(Me.commandIndex);if(Me.match&&Me.pathIndexst!==ge)&&oe.children[ge]&&1===oe.numberOfChildren&&0===oe.children[ge].segments.length){const st=an(oe.children[ge],be,ue);return new Ge(oe.segments,st.children)}return Object.entries(Me).forEach(([st,At])=>{"string"==typeof At&&(At=[At]),null!==At&&(Ke[st]=Jt(oe.children[st],be,At))}),Object.entries(oe.children).forEach(([st,At])=>{void 0===Me[st]&&(Ke[st]=At)}),new Ge(oe.segments,Ke)}}function yn(oe,be,ue){const Me=oe.segments.slice(0,be);let Ke=0;for(;Ke{"string"==typeof Me&&(Me=[Me]),null!==Me&&(be[ue]=yn(new Ge([],{}),0,Me))}),be}function Un(oe){const be={};return Object.entries(oe).forEach(([ue,Me])=>be[ue]=`${Me}`),be}function Tr(oe,be,ue){return oe==ue.path&&je(be,ue.parameters)}const Er="imperative";var Hn=function(oe){return oe[oe.NavigationStart=0]="NavigationStart",oe[oe.NavigationEnd=1]="NavigationEnd",oe[oe.NavigationCancel=2]="NavigationCancel",oe[oe.NavigationError=3]="NavigationError",oe[oe.RoutesRecognized=4]="RoutesRecognized",oe[oe.ResolveStart=5]="ResolveStart",oe[oe.ResolveEnd=6]="ResolveEnd",oe[oe.GuardsCheckStart=7]="GuardsCheckStart",oe[oe.GuardsCheckEnd=8]="GuardsCheckEnd",oe[oe.RouteConfigLoadStart=9]="RouteConfigLoadStart",oe[oe.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",oe[oe.ChildActivationStart=11]="ChildActivationStart",oe[oe.ChildActivationEnd=12]="ChildActivationEnd",oe[oe.ActivationStart=13]="ActivationStart",oe[oe.ActivationEnd=14]="ActivationEnd",oe[oe.Scroll=15]="Scroll",oe[oe.NavigationSkipped=16]="NavigationSkipped",oe}(Hn||{});class ur{constructor(be,ue){this.id=be,this.url=ue}}class Ei extends ur{constructor(be,ue,Me="imperative",Ke=null){super(be,ue),this.type=Hn.NavigationStart,this.navigationTrigger=Me,this.restoredState=Ke}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class on extends ur{constructor(be,ue,Me){super(be,ue),this.urlAfterRedirects=Me,this.type=Hn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var U=function(oe){return oe[oe.Redirect=0]="Redirect",oe[oe.SupersededByNewNavigation=1]="SupersededByNewNavigation",oe[oe.NoDataFromResolver=2]="NoDataFromResolver",oe[oe.GuardRejected=3]="GuardRejected",oe}(U||{}),z=function(oe){return oe[oe.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",oe[oe.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",oe}(z||{});class ae extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.reason=Me,this.code=Ke,this.type=Hn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class He extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.reason=Me,this.code=Ke,this.type=Hn.NavigationSkipped}}class Ie extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.error=Me,this.target=Ke,this.type=Hn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fe extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends ur{constructor(be,ue,Me,Ke,st){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.shouldActivate=st,this.type=Hn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ht extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lt{constructor(be){this.route=be,this.type=Hn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Kt{constructor(be){this.route=be,this.type=Hn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dn{constructor(be){this.snapshot=be,this.type=Hn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(be){this.snapshot=be,this.type=Hn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mn{constructor(be){this.snapshot=be,this.type=Hn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ln{constructor(be){this.snapshot=be,this.type=Hn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yt{constructor(be,ue,Me){this.routerEvent=be,this.position=ue,this.anchor=Me,this.type=Hn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ln{}class lr{constructor(be){this.url=be}}class Nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Lr,this.attachRef=null}}let Lr=(()=>{class oe{constructor(){this.contexts=new Map}onChildOutletCreated(ue,Me){const Ke=this.getOrCreateContext(ue);Ke.outlet=Me,this.contexts.set(ue,Ke)}onChildOutletDestroyed(ue){const Me=this.getContext(ue);Me&&(Me.outlet=null,Me.attachRef=null)}onOutletDeactivated(){const ue=this.contexts;return this.contexts=new Map,ue}onOutletReAttached(ue){this.contexts=ue}getOrCreateContext(ue){let Me=this.getContext(ue);return Me||(Me=new Nr,this.contexts.set(ue,Me)),Me}getContext(ue){return this.contexts.get(ue)||null}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();class ut{constructor(be){this._root=be}get root(){return this._root.value}parent(be){const ue=this.pathFromRoot(be);return ue.length>1?ue[ue.length-2]:null}children(be){const ue=lo(be,this._root);return ue?ue.children.map(Me=>Me.value):[]}firstChild(be){const ue=lo(be,this._root);return ue&&ue.children.length>0?ue.children[0].value:null}siblings(be){const ue=vi(be,this._root);return ue.length<2?[]:ue[ue.length-2].children.map(Ke=>Ke.value).filter(Ke=>Ke!==be)}pathFromRoot(be){return vi(be,this._root).map(ue=>ue.value)}}function lo(oe,be){if(oe===be.value)return be;for(const ue of be.children){const Me=lo(oe,ue);if(Me)return Me}return null}function vi(oe,be){if(oe===be.value)return[be];for(const ue of be.children){const Me=vi(oe,ue);if(Me.length)return Me.unshift(be),Me}return[]}class _r{constructor(be,ue){this.value=be,this.children=ue}toString(){return`TreeNode(${this.value})`}}function wn(oe){const be={};return oe&&oe.children.forEach(ue=>be[ue.value.outlet]=ue),be}class $n extends ut{constructor(be,ue){super(be),this.snapshot=ue,Xr(this,be)}toString(){return this.snapshot.toString()}}function si(oe){const be=function Ir(oe){const st=new ti([],{},{},"",{},ge,oe,null,{});return new Zr("",new _r(st,[]))}(oe),ue=new u.g([new Je("",{})]),Me=new u.g({}),Ke=new u.g({}),st=new u.g({}),At=new u.g(""),cn=new ai(ue,Me,st,At,Ke,ge,oe,be.root);return cn.snapshot=be.root,new $n(new _r(cn,[]),be)}class ai{constructor(be,ue,Me,Ke,st,At,cn,nn){this.urlSubject=be,this.paramsSubject=ue,this.queryParamsSubject=Me,this.fragmentSubject=Ke,this.dataSubject=st,this.outlet=At,this.component=cn,this._futureSnapshot=nn,this.title=this.dataSubject?.pipe((0,N.k)(Zn=>Zn[Ne]))??(0,e.of)(void 0),this.url=be,this.params=ue,this.queryParams=Me,this.fragment=Ke,this.data=st}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,N.k)(be=>qe(be))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,N.k)(be=>qe(be))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function On(oe,be,ue="emptyOnly"){let Me;const{routeConfig:Ke}=oe;return Me=null===be||"always"!==ue&&""!==Ke?.path&&(be.component||be.routeConfig?.loadComponent)?{params:{...oe.params},data:{...oe.data},resolve:{...oe.data,...oe._resolvedData??{}}}:{params:{...be.params,...oe.params},data:{...be.data,...oe.data},resolve:{...oe.data,...be.data,...Ke?.data,...oe._resolvedData}},Ke&&ko(Ke)&&(Me.resolve[Ne]=Ke.title),Me}class ti{get title(){return this.data?.[Ne]}constructor(be,ue,Me,Ke,st,At,cn,nn,Zn){this.url=be,this.params=ue,this.queryParams=Me,this.fragment=Ke,this.data=st,this.outlet=At,this.component=cn,this.routeConfig=nn,this._resolve=Zn}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??=qe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Me=>Me.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zr extends ut{constructor(be,ue){super(ue),this.url=be,Xr(this,ue)}toString(){return Vi(this._root)}}function Xr(oe,be){be.value._routerState=oe,be.children.forEach(ue=>Xr(oe,ue))}function Vi(oe){const be=oe.children.length>0?` { ${oe.children.map(Vi).join(", ")} } `:"";return`${oe.value}${be}`}function hr(oe){if(oe.snapshot){const be=oe.snapshot,ue=oe._futureSnapshot;oe.snapshot=ue,je(be.queryParams,ue.queryParams)||oe.queryParamsSubject.next(ue.queryParams),be.fragment!==ue.fragment&&oe.fragmentSubject.next(ue.fragment),je(be.params,ue.params)||oe.paramsSubject.next(ue.params),function De(oe,be){if(oe.length!==be.length)return!1;for(let ue=0;ueje(ue.parameters,be[Me].parameters))}(oe.url,be.url);return ue&&!(!oe.parent!=!be.parent)&&(!oe.parent||Yi(oe.parent,be.parent))}function ko(oe){return"string"==typeof oe.title||null===oe.title}let go=(()=>{class oe{constructor(){this.activated=null,this._activatedRoute=null,this.name=ge,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Wi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ue){if(ue.name){const{firstChange:Me,previousValue:Ke}=ue.name;if(Me)return;this.isTrackedInParentContexts(Ke)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ke)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ue){return this.parentContexts.getContext(ue)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ue=this.parentContexts.getContext(this.name);ue?.route&&(ue.attachRef?this.attach(ue.attachRef,ue.route):this.activateWith(ue.route,ue.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const ue=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ue.instance),ue}attach(ue,Me){this.activated=ue,this._activatedRoute=Me,this.location.insert(ue.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ue.instance)}deactivate(){if(this.activated){const ue=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ue)}}activateWith(ue,Me){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=ue;const Ke=this.location,At=ue.snapshot.component,cn=this.parentContexts.getOrCreateContext(this.name).children,nn=new Jr(ue,cn,Ke.injector);this.activated=Ke.createComponent(At,{index:Ke.length,injector:nn,environmentInjector:Me??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Jr{constructor(be,ue,Me){this.route=be,this.childContexts=ue,this.parent=Me}get(be,ue){return be===ai?this.route:be===Lr?this.childContexts:this.parent.get(be,ue)}}const Wi=new n.InjectionToken("");let qi=(()=>{class oe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ue){this.unsubscribeFromRouteData(ue),this.subscribeToRouteData(ue)}unsubscribeFromRouteData(ue){this.outletDataSubscriptions.get(ue)?.unsubscribe(),this.outletDataSubscriptions.delete(ue)}subscribeToRouteData(ue){const{activatedRoute:Me}=ue,Ke=(0,l.E)([Me.queryParams,Me.params,Me.data]).pipe((0,x.G)(([st,At,cn],nn)=>(cn={...st,...At,...cn},0===nn?(0,e.of)(cn):Promise.resolve(cn)))).subscribe(st=>{if(!ue.isActivated||!ue.activatedComponentRef||ue.activatedRoute!==Me||null===Me.component)return void this.unsubscribeFromRouteData(ue);const At=(0,n.reflectComponentType)(Me.component);if(At)for(const{templateName:cn}of At.inputs)ue.activatedComponentRef.setInput(cn,st[cn]);else this.unsubscribeFromRouteData(ue)});this.outletDataSubscriptions.set(ue,Ke)}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function Rr(oe,be,ue){if(ue&&oe.shouldReuseRoute(be.value,ue.value.snapshot)){const Me=ue.value;Me._futureSnapshot=be.value;const Ke=function mo(oe,be,ue){return be.children.map(Me=>{for(const Ke of ue.children)if(oe.shouldReuseRoute(Me.value,Ke.value.snapshot))return Rr(oe,Me,Ke);return Rr(oe,Me)})}(oe,be,ue);return new _r(Me,Ke)}{if(oe.shouldAttach(be.value)){const st=oe.retrieve(be.value);if(null!==st){const At=st.route;return At.value._futureSnapshot=be.value,At.children=be.children.map(cn=>Rr(oe,cn)),At}}const Me=function _i(oe){return new ai(new u.g(oe.url),new u.g(oe.params),new u.g(oe.queryParams),new u.g(oe.fragment),new u.g(oe.data),oe.outlet,oe.component,oe)}(be.value),Ke=be.children.map(st=>Rr(oe,st));return new _r(Me,Ke)}}const xi="ngNavigationCancelingError";function qr(oe,be){const{redirectTo:ue,navigationBehaviorOptions:Me}=pr(be)?{redirectTo:be,navigationBehaviorOptions:void 0}:be,Ke=ar(!1,U.Redirect);return Ke.url=ue,Ke.navigationBehaviorOptions=Me,Ke}function ar(oe,be){const ue=new Error(`NavigationCancelingError: ${oe||""}`);return ue[xi]=!0,ue.cancellationCode=be,ue}function wi(oe){return!!oe&&oe[xi]}let yi=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(Me,Ke){1&Me&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[go],encapsulation:2})}return oe})();function Li(oe){const be=oe.children&&oe.children.map(Li),ue=be?{...oe,children:be}:{...oe};return!ue.component&&!ue.loadComponent&&(be||ue.loadChildren)&&ue.outlet&&ue.outlet!==ge&&(ue.component=yi),ue}function Gi(oe){return oe.outlet||ge}function Co(oe){if(!oe)return null;if(oe.routeConfig?._injector)return oe.routeConfig._injector;for(let be=oe.parent;be;be=be.parent){const ue=be.routeConfig;if(ue?._loadedInjector)return ue._loadedInjector;if(ue?._injector)return ue._injector}return null}class bs{constructor(be,ue,Me,Ke,st){this.routeReuseStrategy=be,this.futureState=ue,this.currState=Me,this.forwardEvent=Ke,this.inputBindingEnabled=st}activate(be){const ue=this.futureState._root,Me=this.currState?this.currState._root:null;this.deactivateChildRoutes(ue,Me,be),hr(this.futureState.root),this.activateChildRoutes(ue,Me,be)}deactivateChildRoutes(be,ue,Me){const Ke=wn(ue);be.children.forEach(st=>{const At=st.value.outlet;this.deactivateRoutes(st,Ke[At],Me),delete Ke[At]}),Object.values(Ke).forEach(st=>{this.deactivateRouteAndItsChildren(st,Me)})}deactivateRoutes(be,ue,Me){const Ke=be.value,st=ue?ue.value:null;if(Ke===st)if(Ke.component){const At=Me.getContext(Ke.outlet);At&&this.deactivateChildRoutes(be,ue,At.children)}else this.deactivateChildRoutes(be,ue,Me);else st&&this.deactivateRouteAndItsChildren(ue,Me)}deactivateRouteAndItsChildren(be,ue){be.value.component&&this.routeReuseStrategy.shouldDetach(be.value.snapshot)?this.detachAndStoreRouteSubtree(be,ue):this.deactivateRouteAndOutlet(be,ue)}detachAndStoreRouteSubtree(be,ue){const Me=ue.getContext(be.value.outlet),Ke=Me&&be.value.component?Me.children:ue,st=wn(be);for(const At of Object.values(st))this.deactivateRouteAndItsChildren(At,Ke);if(Me&&Me.outlet){const At=Me.outlet.detach(),cn=Me.children.onOutletDeactivated();this.routeReuseStrategy.store(be.value.snapshot,{componentRef:At,route:be,contexts:cn})}}deactivateRouteAndOutlet(be,ue){const Me=ue.getContext(be.value.outlet),Ke=Me&&be.value.component?Me.children:ue,st=wn(be);for(const At of Object.values(st))this.deactivateRouteAndItsChildren(At,Ke);Me&&(Me.outlet&&(Me.outlet.deactivate(),Me.children.onOutletDeactivated()),Me.attachRef=null,Me.route=null)}activateChildRoutes(be,ue,Me){const Ke=wn(ue);be.children.forEach(st=>{this.activateRoutes(st,Ke[st.value.outlet],Me),this.forwardEvent(new ln(st.value.snapshot))}),be.children.length&&this.forwardEvent(new fn(be.value.snapshot))}activateRoutes(be,ue,Me){const Ke=be.value,st=ue?ue.value:null;if(hr(Ke),Ke===st)if(Ke.component){const At=Me.getOrCreateContext(Ke.outlet);this.activateChildRoutes(be,ue,At.children)}else this.activateChildRoutes(be,ue,Me);else if(Ke.component){const At=Me.getOrCreateContext(Ke.outlet);if(this.routeReuseStrategy.shouldAttach(Ke.snapshot)){const cn=this.routeReuseStrategy.retrieve(Ke.snapshot);this.routeReuseStrategy.store(Ke.snapshot,null),At.children.onOutletReAttached(cn.contexts),At.attachRef=cn.componentRef,At.route=cn.route.value,At.outlet&&At.outlet.attach(cn.componentRef,cn.route.value),hr(cn.route.value),this.activateChildRoutes(be,null,At.children)}else{const cn=Co(Ke.snapshot);At.attachRef=null,At.route=Ke,At.injector=cn,At.outlet&&At.outlet.activateWith(Ke,At.injector),this.activateChildRoutes(be,null,At.children)}}else this.activateChildRoutes(be,null,Me)}}class Go{constructor(be){this.path=be,this.route=this.path[this.path.length-1]}}class ns{constructor(be,ue){this.component=be,this.route=ue}}function rs(oe,be,ue){const Me=oe._root;return So(Me,be?be._root:null,ue,[Me.value])}function uo(oe,be){const ue=Symbol(),Me=be.get(oe,ue);return Me===ue?"function"!=typeof oe||(0,n.\u0275isInjectable)(oe)?be.get(oe):oe:Me}function So(oe,be,ue,Me,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const st=wn(be);return oe.children.forEach(At=>{(function cs(oe,be,ue,Me,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const st=oe.value,At=be?be.value:null,cn=ue?ue.getContext(oe.value.outlet):null;if(At&&st.routeConfig===At.routeConfig){const nn=function co(oe,be,ue){if("function"==typeof ue)return ue(oe,be);switch(ue){case"pathParamsChange":return!Bt(oe.url,be.url);case"pathParamsOrQueryParamsChange":return!Bt(oe.url,be.url)||!je(oe.queryParams,be.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yi(oe,be)||!je(oe.queryParams,be.queryParams);default:return!Yi(oe,be)}}(At,st,st.routeConfig.runGuardsAndResolvers);nn?Ke.canActivateChecks.push(new Go(Me)):(st.data=At.data,st._resolvedData=At._resolvedData),So(oe,be,st.component?cn?cn.children:null:ue,Me,Ke),nn&&cn&&cn.outlet&&cn.outlet.isActivated&&Ke.canDeactivateChecks.push(new ns(cn.outlet.component,At))}else At&&Fo(be,cn,Ke),Ke.canActivateChecks.push(new Go(Me)),So(oe,null,st.component?cn?cn.children:null:ue,Me,Ke)})(At,st[At.value.outlet],ue,Me.concat([At.value]),Ke),delete st[At.value.outlet]}),Object.entries(st).forEach(([At,cn])=>Fo(cn,ue.getContext(At),Ke)),Ke}function Fo(oe,be,ue){const Me=wn(oe),Ke=oe.value;Object.entries(Me).forEach(([st,At])=>{Fo(At,Ke.component?be?be.children.getContext(st):null:be,ue)}),ue.canDeactivateChecks.push(new ns(Ke.component&&be&&be.outlet&&be.outlet.isActivated?be.outlet.component:null,Ke))}function Do(oe){return"function"==typeof oe}function dt(oe){return oe instanceof g.G||"EmptyError"===oe?.name}const wt=Symbol("INITIAL_VALUE");function Wn(){return(0,x.G)(oe=>(0,l.E)(oe.map(be=>be.pipe((0,H.U)(1),function G(...oe){const be=(0,_.e_)(oe);return(0,O.i)((ue,Me)=>{(be?f(oe,ue,be):f(oe,ue)).subscribe(Me)})}(wt)))).pipe((0,N.k)(be=>{for(const ue of be)if(!0!==ue){if(ue===wt)return wt;if(!1===ue||ue instanceof Ce)return ue}return!0}),(0,te.I)(be=>be!==wt),(0,H.U)(1)))}function Xo(oe){return(0,S.W)((0,K.y)(be=>{if(pr(be))throw qr(0,be)}),(0,N.k)(be=>!0===be))}class _o{constructor(be){this.segmentGroup=be||null}}class Di extends Error{constructor(be){super(),this.urlTree=be}}function To(oe){return M(new _o(oe))}class fs{constructor(be,ue){this.urlSerializer=be,this.urlTree=ue}lineralizeSegments(be,ue){let Me=[],Ke=ue.root;for(;;){if(Me=Me.concat(Ke.segments),0===Ke.numberOfChildren)return(0,e.of)(Me);if(Ke.numberOfChildren>1||!Ke.children[ge])return M(new n.\u0275RuntimeError(4e3,!1));Ke=Ke.children[ge]}}applyRedirectCommands(be,ue,Me){const Ke=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),be,Me);if(ue.startsWith("/"))throw new Di(Ke);return Ke}applyRedirectCreateUrlTree(be,ue,Me,Ke){const st=this.createSegmentGroup(be,ue.root,Me,Ke);return new Ce(st,this.createQueryParams(ue.queryParams,this.urlTree.queryParams),ue.fragment)}createQueryParams(be,ue){const Me={};return Object.entries(be).forEach(([Ke,st])=>{if("string"==typeof st&&st.startsWith(":")){const cn=st.substring(1);Me[Ke]=ue[cn]}else Me[Ke]=st}),Me}createSegmentGroup(be,ue,Me,Ke){const st=this.createSegments(be,ue.segments,Me,Ke);let At={};return Object.entries(ue.children).forEach(([cn,nn])=>{At[cn]=this.createSegmentGroup(be,nn,Me,Ke)}),new Ge(st,At)}createSegments(be,ue,Me,Ke){return ue.map(st=>st.path.startsWith(":")?this.findPosParam(be,st,Ke):this.findOrReturn(st,Me))}findPosParam(be,ue,Me){const Ke=Me[ue.path.substring(1)];if(!Ke)throw new n.\u0275RuntimeError(4001,!1);return Ke}findOrReturn(be,ue){let Me=0;for(const Ke of ue){if(Ke.path===be.path)return ue.splice(Me),Ke;Me++}return be}}const rt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ne(oe,be,ue,Me,Ke){const st=me(oe,be,ue);return st.matched?(Me=function Eo(oe,be){return oe.providers&&!oe._injector&&(oe._injector=(0,n.createEnvironmentInjector)(oe.providers,be,`Route: ${oe.path}`)),oe._injector??be}(be,Me),function xo(oe,be,ue,Me){const Ke=be.canMatch;if(!Ke||0===Ke.length)return(0,e.of)(!0);const st=Ke.map(At=>{const cn=uo(At,oe);return Ut(function ke(oe){return oe&&Do(oe.canMatch)}(cn)?cn.canMatch(be,ue):(0,n.runInInjectionContext)(oe,()=>cn(be,ue)))});return(0,e.of)(st).pipe(Wn(),Xo())}(Me,be,ue).pipe((0,N.k)(At=>!0===At?st:{...rt}))):(0,e.of)(st)}function me(oe,be,ue){if("**"===be.path)return function Be(oe){return{matched:!0,parameters:oe.length>0?Qe(oe).parameters:{},consumedSegments:oe,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===be.path)return"full"===be.pathMatch&&(oe.hasChildren()||ue.length>0)?{...rt}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const Ke=(be.matcher||et)(ue,oe,be);if(!Ke)return{...rt};const st={};Object.entries(Ke.posParams??{}).forEach(([cn,nn])=>{st[cn]=nn.path});const At=Ke.consumed.length>0?{...st,...Ke.consumed[Ke.consumed.length-1].parameters}:st;return{matched:!0,consumedSegments:Ke.consumed,remainingSegments:ue.slice(Ke.consumed.length),parameters:At,positionalParamSegments:Ke.posParams??{}}}function nt(oe,be,ue,Me){return ue.length>0&&function Nt(oe,be,ue){return ue.some(Me=>gn(oe,be,Me)&&Gi(Me)!==ge)}(oe,ue,Me)?{segmentGroup:new Ge(be,Pt(Me,new Ge(ue,oe.children))),slicedSegments:[]}:0===ue.length&&function Vt(oe,be,ue){return ue.some(Me=>gn(oe,be,Me))}(oe,ue,Me)?{segmentGroup:new Ge(oe.segments,yt(oe,ue,Me,oe.children)),slicedSegments:ue}:{segmentGroup:new Ge(oe.segments,oe.children),slicedSegments:ue}}function yt(oe,be,ue,Me){const Ke={};for(const st of ue)if(gn(oe,be,st)&&!Me[Gi(st)]){const At=new Ge([],{});Ke[Gi(st)]=At}return{...Me,...Ke}}function Pt(oe,be){const ue={};ue[ge]=be;for(const Me of oe)if(""===Me.path&&Gi(Me)!==ge){const Ke=new Ge([],{});ue[Gi(Me)]=Ke}return ue}function gn(oe,be,ue){return(!(oe.hasChildren()||be.length>0)||"full"!==ue.pathMatch)&&""===ue.path}class zr{}class vr{constructor(be,ue,Me,Ke,st,At,cn){this.injector=be,this.configLoader=ue,this.rootComponentType=Me,this.config=Ke,this.urlTree=st,this.paramsInheritanceStrategy=At,this.urlSerializer=cn,this.applyRedirects=new fs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(be){return new n.\u0275RuntimeError(4002,`'${be.segmentGroup}'`)}recognize(){const be=nt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(be).pipe((0,N.k)(ue=>{const Me=new ti([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ge,this.rootComponentType,null,{}),Ke=new _r(Me,ue),st=new Zr("",Ke),At=Xn(Me,[],this.urlTree.queryParams,this.urlTree.fragment);return At.queryParams=this.urlTree.queryParams,st.url=this.urlSerializer.serialize(At),this.inheritParamsAndData(st._root,null),{state:st,tree:At}}))}match(be){return this.processSegmentGroup(this.injector,this.config,be,ge).pipe((0,Z.a)(Me=>{if(Me instanceof Di)return this.urlTree=Me.urlTree,this.match(Me.urlTree.root);throw Me instanceof _o?this.noMatchError(Me):Me}))}inheritParamsAndData(be,ue){const Me=be.value,Ke=On(Me,ue,this.paramsInheritanceStrategy);Me.params=Object.freeze(Ke.params),Me.data=Object.freeze(Ke.data),be.children.forEach(st=>this.inheritParamsAndData(st,Me))}processSegmentGroup(be,ue,Me,Ke){return 0===Me.segments.length&&Me.hasChildren()?this.processChildren(be,ue,Me):this.processSegment(be,ue,Me,Me.segments,Ke,!0).pipe((0,N.k)(st=>st instanceof _r?[st]:[]))}processChildren(be,ue,Me){const Ke=[];for(const st of Object.keys(Me.children))"primary"===st?Ke.unshift(st):Ke.push(st);return(0,c.Q)(Ke).pipe((0,se.m)(st=>{const At=Me.children[st],cn=function $o(oe,be){const ue=oe.filter(Me=>Gi(Me)===be);return ue.push(...oe.filter(Me=>Gi(Me)!==be)),ue}(ue,st);return this.processSegmentGroup(be,cn,At,st)}),function X(oe,be){return(0,O.i)(function re(oe,be,ue,Me,Ke){return(st,At)=>{let cn=ue,nn=be,Zn=0;st.subscribe((0,F.e)(At,xr=>{const di=Zn++;nn=cn?oe(nn,xr,di):(cn=!0,xr),Me&&At.next(nn)},Ke&&(()=>{cn&&At.next(nn),At.complete()})))}}(oe,be,arguments.length>=2,!0))}((st,At)=>(st.push(...At),st)),(0,W.G)(null),function he(oe,be){const ue=arguments.length>=2;return Me=>Me.pipe(oe?(0,te.I)((Ke,st)=>oe(Ke,st,Me)):p.Z,Y(1),ue?(0,W.G)(be):(0,q._)(()=>new g.G))}(),(0,v.O)(st=>{if(null===st)return To(Me);const At=ji(st);return function mi(oe){oe.sort((be,ue)=>be.value.outlet===ge?-1:ue.value.outlet===ge?1:be.value.outlet.localeCompare(ue.value.outlet))}(At),(0,e.of)(At)}))}processSegment(be,ue,Me,Ke,st,At){return(0,c.Q)(ue).pipe((0,se.m)(cn=>this.processSegmentAgainstRoute(cn._injector??be,ue,cn,Me,Ke,st,At).pipe((0,Z.a)(nn=>{if(nn instanceof _o)return(0,e.of)(null);throw nn}))),(0,ce.K)(cn=>!!cn),(0,Z.a)(cn=>{if(dt(cn))return function Gn(oe,be,ue){return 0===be.length&&!oe.children[ue]}(Me,Ke,st)?(0,e.of)(new zr):To(Me);throw cn}))}processSegmentAgainstRoute(be,ue,Me,Ke,st,At,cn){return function zn(oe,be,ue,Me){return!!(Gi(oe)===Me||Me!==ge&&gn(be,ue,oe))&&me(be,oe,ue).matched}(Me,Ke,st,At)?void 0===Me.redirectTo?this.matchSegmentAgainstRoute(be,Ke,Me,st,At):this.allowRedirects&&cn?this.expandSegmentAgainstRouteUsingRedirect(be,Ke,ue,Me,st,At):To(Ke):To(Ke)}expandSegmentAgainstRouteUsingRedirect(be,ue,Me,Ke,st,At){const{matched:cn,consumedSegments:nn,positionalParamSegments:Zn,remainingSegments:xr}=me(ue,Ke,st);if(!cn)return To(ue);Ke.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const di=this.applyRedirects.applyRedirectCommands(nn,Ke.redirectTo,Zn);return this.applyRedirects.lineralizeSegments(Ke,di).pipe((0,v.O)(vo=>this.processSegment(be,Me,ue,vo.concat(xr),At,!1)))}matchSegmentAgainstRoute(be,ue,Me,Ke,st){const At=ne(ue,Me,Ke,be);return"**"===Me.path&&(ue.children={}),At.pipe((0,x.G)(cn=>cn.matched?this.getChildConfig(be=Me._injector??be,Me,Ke).pipe((0,x.G)(({routes:nn})=>{const Zn=Me._loadedInjector??be,{consumedSegments:xr,remainingSegments:di,parameters:vo}=cn,da=new ti(xr,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ji(oe){return oe.data||{}}(Me),Gi(Me),Me.component??Me._loadedComponent??null,Me,function vn(oe){return oe.resolve||{}}(Me)),{segmentGroup:Hs,slicedSegments:ha}=nt(ue,xr,di,nn);if(0===ha.length&&Hs.hasChildren())return this.processChildren(Zn,nn,Hs).pipe((0,N.k)(Dr=>null===Dr?null:new _r(da,Dr)));if(0===nn.length&&0===ha.length)return(0,e.of)(new _r(da,[]));const to=Gi(Me)===st;return this.processSegment(Zn,nn,Hs,ha,to?ge:st,!0).pipe((0,N.k)(Dr=>new _r(da,Dr instanceof _r?[Dr]:[])))})):To(ue)))}getChildConfig(be,ue,Me){return ue.children?(0,e.of)({routes:ue.children,injector:be}):ue.loadChildren?void 0!==ue._loadedRoutes?(0,e.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector}):function Xi(oe,be,ue,Me){const Ke=be.canLoad;if(void 0===Ke||0===Ke.length)return(0,e.of)(!0);const st=Ke.map(At=>{const cn=uo(At,oe);return Ut(function hs(oe){return oe&&Do(oe.canLoad)}(cn)?cn.canLoad(be,ue):(0,n.runInInjectionContext)(oe,()=>cn(be,ue)))});return(0,e.of)(st).pipe(Wn(),Xo())}(be,ue,Me).pipe((0,v.O)(Ke=>Ke?this.configLoader.loadChildren(be,ue).pipe((0,K.y)(st=>{ue._loadedRoutes=st.routes,ue._loadedInjector=st.injector})):function io(oe){return M(ar(!1,U.GuardRejected))}())):(0,e.of)({routes:[],injector:be})}}function Ai(oe){const be=oe.value.routeConfig;return be&&""===be.path}function ji(oe){const be=[],ue=new Set;for(const Me of oe){if(!Ai(Me)){be.push(Me);continue}const Ke=be.find(st=>Me.value.routeConfig===st.value.routeConfig);void 0!==Ke?(Ke.children.push(...Me.children),ue.add(Ke)):be.push(Me)}for(const Me of ue){const Ke=ji(Me.children);be.push(new _r(Me.value,Ke))}return be.filter(Me=>!ue.has(Me))}function Ii(oe){const be=oe.children.map(ue=>Ii(ue)).flat();return[oe,...be]}function at(oe){return(0,x.G)(be=>{const ue=oe(be);return ue?(0,c.Q)(ue).pipe((0,N.k)(()=>be)):(0,e.of)(be)})}let R=(()=>{class oe{buildTitle(ue){let Me,Ke=ue.root;for(;void 0!==Ke;)Me=this.getResolvedTitleForRoute(Ke)??Me,Ke=Ke.children.find(st=>st.outlet===ge);return Me}getResolvedTitleForRoute(ue){return ue.data[Ne]}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(ee),providedIn:"root"})}return oe})(),ee=(()=>{class oe extends R{constructor(ue){super(),this.title=ue}updateTitle(ue){const Me=this.buildTitle(ue);void 0!==Me&&this.title.setTitle(Me)}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275inject(Ae.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const B=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),le=new n.InjectionToken("");let Le=(()=>{class oe{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(ue){if(this.componentLoaders.get(ue))return this.componentLoaders.get(ue);if(ue._loadedComponent)return(0,e.of)(ue._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ue);const Me=Ut(ue.loadComponent()).pipe((0,N.k)(rn),(0,K.y)(st=>{this.onLoadEndListener&&this.onLoadEndListener(ue),ue._loadedComponent=st}),(0,Oe.U)(()=>{this.componentLoaders.delete(ue)})),Ke=new T(Me,()=>new I.E).pipe(j());return this.componentLoaders.set(ue,Ke),Ke}loadChildren(ue,Me){if(this.childrenLoaders.get(Me))return this.childrenLoaders.get(Me);if(Me._loadedRoutes)return(0,e.of)({routes:Me._loadedRoutes,injector:Me._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Me);const st=ft(Me,this.compiler,ue,this.onLoadEndListener).pipe((0,Oe.U)(()=>{this.childrenLoaders.delete(Me)})),At=new T(st,()=>new I.E).pipe(j());return this.childrenLoaders.set(Me,At),At}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function ft(oe,be,ue,Me){return Ut(oe.loadChildren()).pipe((0,N.k)(rn),(0,v.O)(Ke=>Ke instanceof n.NgModuleFactory||Array.isArray(Ke)?(0,e.of)(Ke):(0,c.Q)(be.compileModuleAsync(Ke))),(0,N.k)(Ke=>{Me&&Me(oe);let st,At;return Array.isArray(Ke)?At=Ke:(st=Ke.create(ue).injector,At=st.get(le,[],{optional:!0,self:!0}).flat()),{routes:At.map(Li),injector:st}}))}function rn(oe){return function xt(oe){return oe&&"object"==typeof oe&&"default"in oe}(oe)?oe.default:oe}let J=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(We),providedIn:"root"})}return oe})(),We=(()=>{class oe{shouldProcessUrl(ue){return!0}extract(ue){return ue}merge(ue,Me){return ue}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Se=new n.InjectionToken(""),Ue=new n.InjectionToken("");function _t(oe,be,ue){const Me=oe.get(Ue),Ke=oe.get(k.DOCUMENT);return oe.get(n.NgZone).runOutsideAngular(()=>{if(!Ke.startViewTransition||Me.skipNextTransition)return Me.skipNextTransition=!1,Promise.resolve();let st;const At=new Promise(Zn=>{st=Zn}),cn=Ke.startViewTransition(()=>(st(),function $t(oe){return new Promise(be=>{(0,n.afterNextRender)(be,{injector:oe})})}(oe))),{onViewTransitionCreated:nn}=Me;return nn&&(0,n.runInInjectionContext)(oe,()=>nn({transition:cn,from:be,to:ue})),At})}let tn=(()=>{class oe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new I.E,this.transitionAbortSubject=new I.E,this.configLoader=(0,n.inject)(Le),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(Rt),this.rootContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(k.Location),this.inputBindingEnabled=null!==(0,n.inject)(Wi,{optional:!0}),this.titleStrategy=(0,n.inject)(R),this.options=(0,n.inject)(B,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(J),this.createViewTransition=(0,n.inject)(Se,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ke=>this.events.next(new Kt(Ke)),this.configLoader.onLoadStartListener=Ke=>this.events.next(new Lt(Ke))}complete(){this.transitions?.complete()}handleNavigationRequest(ue){const Me=++this.navigationId;this.transitions?.next({...this.transitions.value,...ue,id:Me})}setupNavigations(ue,Me,Ke){return this.transitions=new u.g({id:0,currentUrlTree:Me,currentRawUrl:Me,extractedUrl:this.urlHandlingStrategy.extract(Me),urlAfterRedirects:this.urlHandlingStrategy.extract(Me),rawUrl:Me,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:Ke.snapshot,targetSnapshot:null,currentRouterState:Ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,te.I)(st=>0!==st.id),(0,N.k)(st=>({...st,extractedUrl:this.urlHandlingStrategy.extract(st.rawUrl)})),(0,x.G)(st=>{this.currentTransition=st;let At=!1,cn=!1;return(0,e.of)(st).pipe((0,K.y)(nn=>{this.currentNavigation={id:nn.id,initialUrl:nn.rawUrl,extractedUrl:nn.extractedUrl,trigger:nn.source,extras:nn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,x.G)(nn=>{const Zn=!ue.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Zn&&"reload"!==(nn.extras.onSameUrlNavigation??ue.onSameUrlNavigation)){const di="";return this.events.next(new He(nn.id,this.urlSerializer.serialize(nn.rawUrl),di,z.IgnoredSameUrlNavigation)),nn.resolve(null),w.k}if(this.urlHandlingStrategy.shouldProcessUrl(nn.rawUrl))return(0,e.of)(nn).pipe((0,x.G)(di=>{const vo=this.transitions?.getValue();return this.events.next(new Ei(di.id,this.urlSerializer.serialize(di.extractedUrl),di.source,di.restoredState)),vo!==this.transitions?.getValue()?w.k:Promise.resolve(di)}),function wr(oe,be,ue,Me,Ke,st){return(0,v.O)(At=>function fr(oe,be,ue,Me,Ke,st,At="emptyOnly"){return new vr(oe,be,ue,Me,Ke,At,st).recognize()}(oe,be,ue,Me,At.extractedUrl,Ke,st).pipe((0,N.k)(({state:cn,tree:nn})=>({...At,targetSnapshot:cn,urlAfterRedirects:nn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ue.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,K.y)(di=>{st.targetSnapshot=di.targetSnapshot,st.urlAfterRedirects=di.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:di.urlAfterRedirects};const vo=new fe(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(vo)}));if(Zn&&this.urlHandlingStrategy.shouldProcessUrl(nn.currentRawUrl)){const{id:di,extractedUrl:vo,source:da,restoredState:Hs,extras:ha}=nn,to=new Ei(di,this.urlSerializer.serialize(vo),da,Hs);this.events.next(to);const Dr=si(this.rootComponentType).snapshot;return this.currentTransition=st={...nn,targetSnapshot:Dr,urlAfterRedirects:vo,extras:{...ha,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vo,(0,e.of)(st)}{const di="";return this.events.next(new He(nn.id,this.urlSerializer.serialize(nn.extractedUrl),di,z.IgnoredByUrlHandlingStrategy)),nn.resolve(null),w.k}}),(0,K.y)(nn=>{const Zn=new Te(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects),nn.targetSnapshot);this.events.next(Zn)}),(0,N.k)(nn=>(this.currentTransition=st={...nn,guards:rs(nn.targetSnapshot,nn.currentSnapshot,this.rootContexts)},st)),function Bn(oe,be){return(0,v.O)(ue=>{const{targetSnapshot:Me,currentSnapshot:Ke,guards:{canActivateChecks:st,canDeactivateChecks:At}}=ue;return 0===At.length&&0===st.length?(0,e.of)({...ue,guardsResult:!0}):function zi(oe,be,ue,Me){return(0,c.Q)(oe).pipe((0,v.O)(Ke=>function is(oe,be,ue,Me,Ke){const st=be&&be.routeConfig?be.routeConfig.canDeactivate:null;if(!st||0===st.length)return(0,e.of)(!0);const At=st.map(cn=>{const nn=Co(be)??Ke,Zn=uo(cn,nn);return Ut(function Xe(oe){return oe&&Do(oe.canDeactivate)}(Zn)?Zn.canDeactivate(oe,be,ue,Me):(0,n.runInInjectionContext)(nn,()=>Zn(oe,be,ue,Me))).pipe((0,ce.K)())});return(0,e.of)(At).pipe(Wn())}(Ke.component,Ke.route,ue,be,Me)),(0,ce.K)(Ke=>!0!==Ke,!0))}(At,Me,Ke,oe).pipe((0,v.O)(cn=>cn&&function Ko(oe){return"boolean"==typeof oe}(cn)?function Mo(oe,be,ue,Me){return(0,c.Q)(be).pipe((0,se.m)(Ke=>f(function ho(oe,be){return null!==oe&&be&&be(new dn(oe)),(0,e.of)(!0)}(Ke.route.parent,Me),function Ao(oe,be){return null!==oe&&be&&be(new mn(oe)),(0,e.of)(!0)}(Ke.route,Me),function Zo(oe,be,ue){const Me=be[be.length-1],st=be.slice(0,be.length-1).reverse().map(At=>function Ki(oe){const be=oe.routeConfig?oe.routeConfig.canActivateChild:null;return be&&0!==be.length?{node:oe,guards:be}:null}(At)).filter(At=>null!==At).map(At=>(0,y.Q)(()=>{const cn=At.guards.map(nn=>{const Zn=Co(At.node)??ue,xr=uo(nn,Zn);return Ut(function ze(oe){return oe&&Do(oe.canActivateChild)}(xr)?xr.canActivateChild(Me,oe):(0,n.runInInjectionContext)(Zn,()=>xr(Me,oe))).pipe((0,ce.K)())});return(0,e.of)(cn).pipe(Wn())}));return(0,e.of)(st).pipe(Wn())}(oe,Ke.path,ue),function Ur(oe,be,ue){const Me=be.routeConfig?be.routeConfig.canActivate:null;if(!Me||0===Me.length)return(0,e.of)(!0);const Ke=Me.map(st=>(0,y.Q)(()=>{const At=Co(be)??ue,cn=uo(st,At);return Ut(function Qo(oe){return oe&&Do(oe.canActivate)}(cn)?cn.canActivate(be,oe):(0,n.runInInjectionContext)(At,()=>cn(be,oe))).pipe((0,ce.K)())}));return(0,e.of)(Ke).pipe(Wn())}(oe,Ke.route,ue))),(0,ce.K)(Ke=>!0!==Ke,!0))}(Me,st,oe,be):(0,e.of)(cn)),(0,N.k)(cn=>({...ue,guardsResult:cn})))})}(this.environmentInjector,nn=>this.events.next(nn)),(0,K.y)(nn=>{if(st.guardsResult=nn.guardsResult,pr(nn.guardsResult))throw qr(0,nn.guardsResult);const Zn=new ot(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects),nn.targetSnapshot,!!nn.guardsResult);this.events.next(Zn)}),(0,te.I)(nn=>!!nn.guardsResult||(this.cancelNavigationTransition(nn,"",U.GuardRejected),!1)),at(nn=>{if(nn.guards.canActivateChecks.length)return(0,e.of)(nn).pipe((0,K.y)(Zn=>{const xr=new ht(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(xr)}),(0,x.G)(Zn=>{let xr=!1;return(0,e.of)(Zn).pipe(function Qi(oe,be){return(0,v.O)(ue=>{const{targetSnapshot:Me,guards:{canActivateChecks:Ke}}=ue;if(!Ke.length)return(0,e.of)(ue);const st=new Set(Ke.map(nn=>nn.route)),At=new Set;for(const nn of st)if(!At.has(nn))for(const Zn of Ii(nn))At.add(Zn);let cn=0;return(0,c.Q)(At).pipe((0,se.m)(nn=>st.has(nn)?function ei(oe,be,ue,Me){const Ke=oe.routeConfig,st=oe._resolve;return void 0!==Ke?.title&&!ko(Ke)&&(st[Ne]=Ke.title),function oo(oe,be,ue,Me){const Ke=Pe(oe);if(0===Ke.length)return(0,e.of)({});const st={};return(0,c.Q)(Ke).pipe((0,v.O)(At=>function Ye(oe,be,ue,Me){const Ke=Co(be)??Me,st=uo(oe,Ke);return Ut(st.resolve?st.resolve(be,ue):(0,n.runInInjectionContext)(Ke,()=>st(be,ue)))}(oe[At],be,ue,Me).pipe((0,ce.K)(),(0,K.y)(cn=>{st[At]=cn}))),Y(1),(0,_e.e)(st),(0,Z.a)(At=>dt(At)?w.k:M(At)))}(st,oe,be,Me).pipe((0,N.k)(At=>(oe._resolvedData=At,oe.data=On(oe,oe.parent,ue).resolve,null)))}(nn,Me,oe,be):(nn.data=On(nn,nn.parent,oe).resolve,(0,e.of)(void 0))),(0,K.y)(()=>cn++),Y(1),(0,v.O)(nn=>cn===At.size?(0,e.of)(ue):w.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,K.y)({next:()=>xr=!0,complete:()=>{xr||this.cancelNavigationTransition(Zn,"",U.NoDataFromResolver)}}))}),(0,K.y)(Zn=>{const xr=new Ct(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(xr)}))}),at(nn=>{const Zn=xr=>{const di=[];xr.routeConfig?.loadComponent&&!xr.routeConfig._loadedComponent&&di.push(this.configLoader.loadComponent(xr.routeConfig).pipe((0,K.y)(vo=>{xr.component=vo}),(0,N.k)(()=>{})));for(const vo of xr.children)di.push(...Zn(vo));return di};return(0,l.E)(Zn(nn.targetSnapshot.root)).pipe((0,W.G)(null),(0,H.U)(1))}),at(()=>this.afterPreactivation()),(0,x.G)(()=>{const{currentSnapshot:nn,targetSnapshot:Zn}=st,xr=this.createViewTransition?.(this.environmentInjector,nn.root,Zn.root);return xr?(0,c.Q)(xr).pipe((0,N.k)(()=>st)):(0,e.of)(st)}),(0,N.k)(nn=>{const Zn=function ro(oe,be,ue){const Me=Rr(oe,be._root,ue?ue._root:void 0);return new $n(Me,be)}(ue.routeReuseStrategy,nn.targetSnapshot,nn.currentRouterState);return this.currentTransition=st={...nn,targetRouterState:Zn},this.currentNavigation.targetRouterState=Zn,st}),(0,K.y)(()=>{this.events.next(new Ln)}),((oe,be,ue,Me)=>(0,N.k)(Ke=>(new bs(be,Ke.targetRouterState,Ke.currentRouterState,ue,Me).activate(oe),Ke)))(this.rootContexts,ue.routeReuseStrategy,nn=>this.events.next(nn),this.inputBindingEnabled),(0,H.U)(1),(0,K.y)({next:nn=>{At=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new on(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects))),this.titleStrategy?.updateTitle(nn.targetRouterState.snapshot),nn.resolve(!0)},complete:()=>{At=!0}}),(0,Re.a)(this.transitionAbortSubject.pipe((0,K.y)(nn=>{throw nn}))),(0,Oe.U)(()=>{!At&&!cn&&this.cancelNavigationTransition(st,"",U.SupersededByNewNavigation),this.currentTransition?.id===st.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Z.a)(nn=>{if(cn=!0,wi(nn))this.events.next(new ae(st.id,this.urlSerializer.serialize(st.extractedUrl),nn.message,nn.cancellationCode)),function yo(oe){return wi(oe)&&pr(oe.url)}(nn)?this.events.next(new lr(nn.url)):st.resolve(!1);else{this.events.next(new Ie(st.id,this.urlSerializer.serialize(st.extractedUrl),nn,st.targetSnapshot??void 0));try{st.resolve(ue.errorHandler(nn))}catch(Zn){this.options.resolveNavigationPromiseOnError?st.resolve(!1):st.reject(Zn)}}return w.k}))}))}cancelNavigationTransition(ue,Me,Ke){const st=new ae(ue.id,this.urlSerializer.serialize(ue.extractedUrl),Me,Ke);this.events.next(st),ue.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function Dn(oe){return oe!==Er}let gr=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)($r),providedIn:"root"})}return oe})();class yr{shouldDetach(be){return!1}store(be,ue){}shouldAttach(be){return!1}retrieve(be){return null}shouldReuseRoute(be,ue){return be.routeConfig===ue.routeConfig}}let $r=(()=>{class oe extends yr{static#e=this.\u0275fac=(()=>{let ue;return function(Ke){return(ue||(ue=n.\u0275\u0275getInheritedFactory(oe)))(Ke||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),Cr=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Qr),providedIn:"root"})}return oe})(),Qr=(()=>{class oe extends Cr{constructor(){super(...arguments),this.location=(0,n.inject)(k.Location),this.urlSerializer=(0,n.inject)(Rt),this.options=(0,n.inject)(B,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(J),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ce,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=si(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(ue){return this.location.subscribe(Me=>{"popstate"===Me.type&&ue(Me.url,Me.state)})}handleRouterEvent(ue,Me){if(ue instanceof Ei)this.stateMemento=this.createStateMemento();else if(ue instanceof He)this.rawUrlTree=Me.initialUrl;else if(ue instanceof fe){if("eager"===this.urlUpdateStrategy&&!Me.extras.skipLocationChange){const Ke=this.urlHandlingStrategy.merge(Me.finalUrl,Me.initialUrl);this.setBrowserUrl(Ke,Me)}}else ue instanceof Ln?(this.currentUrlTree=Me.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Me.finalUrl,Me.initialUrl),this.routerState=Me.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Me.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Me))):ue instanceof ae&&(ue.code===U.GuardRejected||ue.code===U.NoDataFromResolver)?this.restoreHistory(Me):ue instanceof Ie?this.restoreHistory(Me,!0):ue instanceof on&&(this.lastSuccessfulId=ue.id,this.currentPageId=this.browserPageId)}setBrowserUrl(ue,Me){const Ke=this.urlSerializer.serialize(ue);if(this.location.isCurrentPathEqualTo(Ke)||Me.extras.replaceUrl){const At={...Me.extras.state,...this.generateNgRouterState(Me.id,this.browserPageId)};this.location.replaceState(Ke,"",At)}else{const st={...Me.extras.state,...this.generateNgRouterState(Me.id,this.browserPageId+1)};this.location.go(Ke,"",st)}}restoreHistory(ue,Me=!1){if("computed"===this.canceledNavigationResolution){const st=this.currentPageId-this.browserPageId;0!==st?this.location.historyGo(st):this.currentUrlTree===ue.finalUrl&&0===st&&(this.resetState(ue),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Me&&this.resetState(ue),this.resetUrlToCurrentUrlTree())}resetState(ue){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ue.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ue,Me){return"computed"===this.canceledNavigationResolution?{navigationId:ue,\u0275routerPageId:Me}:{navigationId:ue}}static#e=this.\u0275fac=(()=>{let ue;return function(Ke){return(ue||(ue=n.\u0275\u0275getInheritedFactory(oe)))(Ke||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();var Hr=function(oe){return oe[oe.COMPLETE=0]="COMPLETE",oe[oe.FAILED=1]="FAILED",oe[oe.REDIRECTING=2]="REDIRECTING",oe}(Hr||{});function Ri(oe,be){oe.events.pipe((0,te.I)(ue=>ue instanceof on||ue instanceof ae||ue instanceof Ie||ue instanceof He),(0,N.k)(ue=>ue instanceof on||ue instanceof He?Hr.COMPLETE:ue instanceof ae&&(ue.code===U.Redirect||ue.code===U.SupersededByNewNavigation)?Hr.REDIRECTING:Hr.FAILED),(0,te.I)(ue=>ue!==Hr.REDIRECTING),(0,H.U)(1)).subscribe(()=>{be()})}function eo(oe){throw oe}const Vo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fo=(()=>{class oe{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(Cr),this.options=(0,n.inject)(B,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(tn),this.urlSerializer=(0,n.inject)(Rt),this.location=(0,n.inject)(k.Location),this.urlHandlingStrategy=(0,n.inject)(J),this._events=new I.E,this.errorHandler=this.options.errorHandler||eo,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(gr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(le,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(Wi,{optional:!0}),this.eventsSubscription=new A.wH,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ue=>{this.console.warn(ue)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ue=this.navigationTransitions.events.subscribe(Me=>{try{const Ke=this.navigationTransitions.currentTransition,st=this.navigationTransitions.currentNavigation;if(null!==Ke&&null!==st)if(this.stateManager.handleRouterEvent(Me,st),Me instanceof ae&&Me.code!==U.Redirect&&Me.code!==U.SupersededByNewNavigation)this.navigated=!0;else if(Me instanceof on)this.navigated=!0;else if(Me instanceof lr){const At=this.urlHandlingStrategy.merge(Me.url,Ke.currentRawUrl),cn={info:Ke.extras.info,skipLocationChange:Ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Dn(Ke.source)};this.scheduleNavigation(At,Er,null,cn,{resolve:Ke.resolve,reject:Ke.reject,promise:Ke.promise})}(function Yo(oe){return!(oe instanceof Ln||oe instanceof lr)})(Me)&&this._events.next(Me)}catch(Ke){this.navigationTransitions.transitionAbortSubject.next(Ke)}});this.eventsSubscription.add(ue)}resetRootComponentType(ue){this.routerState.root.component=ue,this.navigationTransitions.rootComponentType=ue}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Er,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((ue,Me)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(ue,"popstate",Me)},0)})}navigateToSyncWithBrowser(ue,Me,Ke){const st={replaceUrl:!0},At=Ke?.navigationId?Ke:null;if(Ke){const nn={...Ke};delete nn.navigationId,delete nn.\u0275routerPageId,0!==Object.keys(nn).length&&(st.state=nn)}const cn=this.parseUrl(ue);this.scheduleNavigation(cn,Me,At,st)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ue){this.config=ue.map(Li),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ue,Me={}){const{relativeTo:Ke,queryParams:st,fragment:At,queryParamsHandling:cn,preserveFragment:nn}=Me,Zn=nn?this.currentUrlTree.fragment:At;let di,xr=null;switch(cn){case"merge":xr={...this.currentUrlTree.queryParams,...st};break;case"preserve":xr=this.currentUrlTree.queryParams;break;default:xr=st||null}null!==xr&&(xr=this.removeEmptyProps(xr));try{di=qn(Ke?Ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ue[0]||!ue[0].startsWith("/"))&&(ue=[]),di=this.currentUrlTree.root}return Or(di,ue,xr,Zn??null)}navigateByUrl(ue,Me={skipLocationChange:!1}){const Ke=pr(ue)?ue:this.parseUrl(ue),st=this.urlHandlingStrategy.merge(Ke,this.rawUrlTree);return this.scheduleNavigation(st,Er,null,Me)}navigate(ue,Me={skipLocationChange:!1}){return function so(oe){for(let be=0;be(null!=st&&(Me[Ke]=st),Me),{})}scheduleNavigation(ue,Me,Ke,st,At){if(this.disposed)return Promise.resolve(!1);let cn,nn,Zn;At?(cn=At.resolve,nn=At.reject,Zn=At.promise):Zn=new Promise((di,vo)=>{cn=di,nn=vo});const xr=this.pendingTasks.add();return Ri(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xr))}),this.navigationTransitions.handleNavigationRequest({source:Me,restoredState:Ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ue,extras:st,resolve:cn,reject:nn,promise:Zn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zn.catch(di=>Promise.reject(di))}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),hi=(()=>{class oe{constructor(ue,Me,Ke,st,At,cn){this.router=ue,this.route=Me,this.tabIndexAttribute=Ke,this.renderer=st,this.el=At,this.locationStrategy=cn,this.href=null,this.commands=null,this.onChanges=new I.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const nn=At.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===nn||"area"===nn,this.isAnchorElement?this.subscription=ue.events.subscribe(Zn=>{Zn instanceof on&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ue){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ue)}ngOnChanges(ue){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ue){null!=ue?(this.commands=Array.isArray(ue)?ue:[ue],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ue,Me,Ke,st,At){const cn=this.urlTree;return!!(null===cn||this.isAnchorElement&&(0!==ue||Me||Ke||st||At||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(cn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const ue=this.urlTree;this.href=null!==ue&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ue)):null;const Me=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Me)}applyAttributeValue(ue,Me){const Ke=this.renderer,st=this.el.nativeElement;null!==Me?Ke.setAttribute(st,ue,Me):Ke.removeAttribute(st,ue)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(ai),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(k.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Me,Ke){1&Me&&n.\u0275\u0275listener("click",function(At){return Ke.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&Me&&n.\u0275\u0275attribute("target",Ke.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return oe})(),ss=(()=>{class oe{get isActive(){return this._isActive}constructor(ue,Me,Ke,st,At){this.router=ue,this.element=Me,this.renderer=Ke,this.cdr=st,this.link=At,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=ue.events.subscribe(cn=>{cn instanceof on&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(C()).subscribe(ue=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ue=[...this.links.toArray(),this.link].filter(Me=>!!Me).map(Me=>Me.onChanges);this.linkInputChangesSubscription=(0,c.Q)(ue).pipe(C()).subscribe(Me=>{this._isActive!==this.isLinkActive(this.router)(Me)&&this.update()})}set routerLinkActive(ue){const Me=Array.isArray(ue)?ue:ue.split(" ");this.classes=Me.filter(Ke=>!!Ke)}ngOnChanges(ue){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ue=this.hasActiveLinks();this._isActive!==ue&&(this._isActive=ue,this.cdr.markForCheck(),this.classes.forEach(Me=>{ue?this.renderer.addClass(this.element.nativeElement,Me):this.renderer.removeClass(this.element.nativeElement,Me)}),ue&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ue))})}isLinkActive(ue){const Me=function $l(oe){return!!oe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ke=>{const st=Ke.urlTree;return!!st&&ue.isActive(st,Me)}}hasActiveLinks(){const ue=this.isLinkActive(this.router);return this.link&&ue(this.link)||this.links.some(ue)}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLinkActive",""]],contentQueries:function(Me,Ke,st){if(1&Me&&n.\u0275\u0275contentQuery(st,hi,5),2&Me){let At;n.\u0275\u0275queryRefresh(At=n.\u0275\u0275loadQuery())&&(Ke.links=At)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Ks{}let Gl=(()=>{class oe{preload(ue,Me){return Me().pipe((0,Z.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),el=(()=>{class oe{preload(ue,Me){return(0,e.of)(null)}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),tl=(()=>{class oe{constructor(ue,Me,Ke,st,At){this.router=ue,this.injector=Ke,this.preloadingStrategy=st,this.loader=At}setUpPreloading(){this.subscription=this.router.events.pipe((0,te.I)(ue=>ue instanceof on),(0,se.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ue,Me){const Ke=[];for(const st of Me){st.providers&&!st._injector&&(st._injector=(0,n.createEnvironmentInjector)(st.providers,ue,`Route: ${st.path}`));const At=st._injector??ue,cn=st._loadedInjector??At;(st.loadChildren&&!st._loadedRoutes&&void 0===st.canLoad||st.loadComponent&&!st._loadedComponent)&&Ke.push(this.preloadConfig(At,st)),(st.children||st._loadedRoutes)&&Ke.push(this.processRoutes(cn,st.children??st._loadedRoutes))}return(0,c.Q)(Ke).pipe(C())}preloadConfig(ue,Me){return this.preloadingStrategy.preload(Me,()=>{let Ke;Ke=Me.loadChildren&&void 0===Me.canLoad?this.loader.loadChildren(ue,Me):(0,e.of)(null);const st=Ke.pipe((0,v.O)(At=>null===At?(0,e.of)(void 0):(Me._loadedRoutes=At.routes,Me._loadedInjector=At.injector,this.processRoutes(At.injector??ue,At.routes))));if(Me.loadComponent&&!Me._loadedComponent){const At=this.loader.loadComponent(Me);return(0,c.Q)([st,At]).pipe(C())}return st})}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275inject(fo),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ks),n.\u0275\u0275inject(Le))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Qs=new n.InjectionToken("");let Os=(()=>{class oe{constructor(ue,Me,Ke,st,At={}){this.urlSerializer=ue,this.transitions=Me,this.viewportScroller=Ke,this.zone=st,this.options=At,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},At.scrollPositionRestoration||="disabled",At.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(ue=>{ue instanceof Ei?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ue.navigationTrigger,this.restoredId=ue.restoredState?ue.restoredState.navigationId:0):ue instanceof on?(this.lastId=ue.id,this.scheduleScrollEvent(ue,this.urlSerializer.parse(ue.urlAfterRedirects).fragment)):ue instanceof He&&ue.code===z.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ue,this.urlSerializer.parse(ue.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ue=>{ue instanceof Yt&&(ue.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ue.position):ue.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ue.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ue,Me){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Yt(ue,"popstate"===this.lastSource?this.store[this.restoredId]:null,Me))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Me){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function fu(oe,...be){return(0,n.makeEnvironmentProviders)([{provide:le,multi:!0,useValue:oe},[],{provide:ai,useFactory:Jo,deps:[fo]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:nl},be.map(ue=>ue.\u0275providers)])}function Jo(oe){return oe.routerState.root}function as(oe,be){return{\u0275kind:oe,\u0275providers:be}}function ls(oe){return[{provide:le,multi:!0,useValue:oe},[]]}function oa(oe={}){return as(4,[{provide:Qs,useFactory:()=>{const ue=(0,n.inject)(k.ViewportScroller),Me=(0,n.inject)(n.NgZone),Ke=(0,n.inject)(tn),st=(0,n.inject)(Rt);return new Os(st,Ke,ue,Me,oe)}}])}function nl(){const oe=(0,n.inject)(n.Injector);return be=>{const ue=oe.get(n.ApplicationRef);if(be!==ue.components[0])return;const Me=oe.get(fo),Ke=oe.get(Sa);1===oe.get(sa)&&Me.initialNavigation(),oe.get(mu,null,n.InjectFlags.Optional)?.setUpPreloading(),oe.get(Qs,null,n.InjectFlags.Optional)?.init(),Me.resetRootComponentType(ue.componentTypes[0]),Ke.closed||(Ke.next(),Ke.complete(),Ke.unsubscribe())}}const Sa=new n.InjectionToken("",{factory:()=>new I.E}),sa=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function aa(){return as(2,[{provide:sa,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:be=>{const ue=be.get(k.LOCATION_INITIALIZED,Promise.resolve());return()=>ue.then(()=>new Promise(Me=>{const Ke=be.get(fo),st=be.get(Sa);Ri(Ke,()=>{Me(!0)}),be.get(tn).afterPreactivation=()=>(Me(!0),st.closed?(0,e.of)(void 0):st),Ke.initialNavigation()}))}}])}function gu(){return as(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const be=(0,n.inject)(fo);return()=>{be.setUpLocationChangeListener()}}},{provide:sa,useValue:2}])}function Ql(){let oe=[];return oe=[],as(1,oe)}const mu=new n.InjectionToken("");function Wo(oe){return as(0,[{provide:mu,useExisting:tl},{provide:Ks,useExisting:oe}])}function la(oe){return as(5,[{provide:B,useValue:oe}])}function ca(){return as(6,[{provide:k.LocationStrategy,useClass:k.HashLocationStrategy}])}function jd(oe){return as(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const ue=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(fo).events.subscribe(Me=>{Me instanceof Ie&&(0,n.runInInjectionContext)(ue,()=>oe(Me))})}}])}function rl(){return as(8,[qi,{provide:Wi,useExisting:qi}])}function Zl(oe){return as(9,[{provide:Se,useValue:_t},{provide:Ue,useValue:{skipNextTransition:!!oe?.skipInitialTransition,...oe}}])}const ua=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ol=[k.Location,{provide:Rt,useClass:Dt},fo,Lr,{provide:ai,useFactory:Jo,deps:[fo]},Le,[]];let Xl=(()=>{class oe{constructor(ue){}static forRoot(ue,Me){return{ngModule:oe,providers:[ol,[],{provide:le,multi:!0,useValue:ue},{provide:ua,useFactory:sl,deps:[[fo,new n.Optional,new n.SkipSelf]]},{provide:B,useValue:Me||{}},Me?.useHash?{provide:k.LocationStrategy,useClass:k.HashLocationStrategy}:{provide:k.LocationStrategy,useClass:k.PathLocationStrategy},{provide:Qs,useFactory:()=>{const oe=(0,n.inject)(k.ViewportScroller),be=(0,n.inject)(n.NgZone),ue=(0,n.inject)(B),Me=(0,n.inject)(tn),Ke=(0,n.inject)(Rt);return ue.scrollOffset&&oe.setOffset(ue.scrollOffset),new Os(Ke,Me,oe,be,ue)}},Me?.preloadingStrategy?Wo(Me.preloadingStrategy).\u0275providers:[],Me?.initialNavigation?pu(Me):[],Me?.bindToComponentInputs?rl().\u0275providers:[],Me?.enableViewTransitions?Zl().\u0275providers:[],[{provide:No,useFactory:nl},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:No}]]}}static forChild(ue){return{ngModule:oe,providers:[{provide:le,multi:!0,useValue:ue}]}}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275inject(ua,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:oe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return oe})();function sl(oe){return"guarded"}function pu(oe){return["disabled"===oe.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===oe.initialNavigation?aa().\u0275providers:[]]}const No=new n.InjectionToken("");function ql(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canMatch(...ue))}function Us(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canActivate(...ue))}function Ea(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canActivateChild(...ue))}function Nn(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canDeactivate(...ue))}function ec(oe){return(...be)=>(0,n.inject)(oe).resolve(...be)}const ms=new n.Version("17.2.3")},9028:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{MSAL_BROADCAST_CONFIG:()=>H,MSAL_GUARD_CONFIG:()=>N,MSAL_INSTANCE:()=>k,MSAL_INTERCEPTOR_CONFIG:()=>x,MsalBroadcastService:()=>te,MsalCustomNavigationClient:()=>re,MsalGuard:()=>ce,MsalInterceptor:()=>se,MsalModule:()=>Z,MsalRedirectComponent:()=>K,MsalService:()=>G,version:()=>I});var n=o(1528),i=o(54496),d=o(26956),a=o(88904),c=o(72592),e=o(67648),u=o(84644),l=o(7828),g=o(64952),v=o(74496),p=o(22540),C=o(95657),b=o(46700),_=o(82700),f=o(28960),y=o(91368),S=o(54704),M=o(26020),w=o(39144),A=o(17368),O=o(3992),F=o(66684),j=o(56568);const T="@azure/msal-angular",I="3.0.13",k=new i.InjectionToken("MSAL_INSTANCE"),N=new i.InjectionToken("MSAL_GUARD_CONFIG"),x=new i.InjectionToken("MSAL_INTERCEPTOR_CONFIG"),H=new i.InjectionToken("MSAL_BROADCAST_CONFIG");let G=(()=>{class X{constructor(Y,q){this.instance=Y,this.location=q;const he=this.location.path(!0).split("#").pop();he&&(this.redirectHash=`#${he}`),this.instance.initializeWrapperLibrary(d.Lm.Angular,I)}initialize(){return(0,v.Q)(this.instance.initialize())}acquireTokenPopup(Y){return(0,v.Q)(this.instance.acquireTokenPopup(Y))}acquireTokenRedirect(Y){return(0,v.Q)(this.instance.acquireTokenRedirect(Y))}acquireTokenSilent(Y){return(0,v.Q)(this.instance.acquireTokenSilent(Y))}handleRedirectObservable(Y){return(0,v.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(Y||this.redirectHash)))}loginPopup(Y){return(0,v.Q)(this.instance.loginPopup(Y))}loginRedirect(Y){return(0,v.Q)(this.instance.loginRedirect(Y))}logout(Y){return(0,v.Q)(this.instance.logout(Y))}logoutRedirect(Y){return(0,v.Q)(this.instance.logoutRedirect(Y))}logoutPopup(Y){return(0,v.Q)(this.instance.logoutPopup(Y))}ssoSilent(Y){return(0,v.Q)(this.instance.ssoSilent(Y))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(T,I)),this.logger}setLogger(Y){this.logger=Y.clone(T,I),this.instance.setLogger(Y)}}return X.\u0275fac=function(Y){return new(Y||X)(i.\u0275\u0275inject(k),i.\u0275\u0275inject(y.Location))},X.\u0275prov=i.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),te=(()=>{class X{constructor(Y,q,he){this.msalInstance=Y,this.authService=q,this.msalBroadcastConfig=he,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay} events`),this._msalSubject=new p.o(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new C.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new b.g(d.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(_e=>{this._msalSubject.next(_e);const Oe=a.M.getInteractionStatusFromEvent(_e,this._inProgress.value);null!==Oe&&(this.authService.getLogger().verbose(`BroadcastService - ${_e.eventType} results in setting inProgress from ${this._inProgress.value} to ${Oe}`),this._inProgress.next(Oe))})}}return X.\u0275fac=function(Y){return new(Y||X)(i.\u0275\u0275inject(k),i.\u0275\u0275inject(G),i.\u0275\u0275inject(H,8))},X.\u0275prov=i.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),ce=(()=>{class X{constructor(Y,q,he,_e,Oe){this.msalGuardConfig=Y,this.msalBroadcastService=q,this.authService=he,this.location=_e,this.router=Oe,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(Y){return this.router.parseUrl(Y)}getDestinationUrl(Y){this.authService.getLogger().verbose("Guard - getting destination url");const q=document.getElementsByTagName("base"),he=this.location.normalize(q.length?q[0].href:window.location.origin),_e=this.location.prepareExternalUrl(Y);return _e.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${he}/${_e}`):`${he}${Y}`}loginInteractively(Y){const q="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,Y):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(q).pipe((0,S.k)(_e=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(_e.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const he=this.getDestinationUrl(Y.url);return this.authService.loginRedirect({redirectStartPage:he,...q}).pipe((0,S.k)(()=>!1))}activateHelper(Y){if(this.msalGuardConfig.interactionType!==d.wV.Popup&&this.msalGuardConfig.interactionType!==d.wV.Redirect)throw new c.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),!(typeof window<"u"))return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),(0,_.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&u.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),(0,_.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const q=this.location.path(!0);return this.authService.initialize().pipe((0,M.m)(()=>this.authService.handleRedirectObservable()),(0,M.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return Y?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(Y)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,_.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),Y){const he=this.includesCode(Y.url),_e=!!Y.root&&!!Y.root.fragment&&this.includesCode(`#${Y.root.fragment}`),Oe=0===this.location.prepareExternalUrl(Y.url).indexOf("#");if(he&&(_e||Oe))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),q.indexOf("#")>-1?(0,_.of)(this.parseUrl(this.location.path())):(0,_.of)(this.parseUrl(""))}return(0,_.of)(!0)}),(0,w.a)(he=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${he.message}`),this.loginFailedRoute&&Y?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,_.of)(this.loginFailedRoute)):(0,_.of)(!1))))}includesCode(Y){return Y.lastIndexOf("/code")>-1&&Y.lastIndexOf("/code")===Y.length-5||Y.indexOf("#code=")>-1||Y.indexOf("&code=")>-1}canActivate(Y,q){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(q)}canActivateChild(Y,q){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(q)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return X.\u0275fac=function(Y){return new(Y||X)(i.\u0275\u0275inject(N),i.\u0275\u0275inject(te),i.\u0275\u0275inject(G),i.\u0275\u0275inject(y.Location),i.\u0275\u0275inject(j.Router))},X.\u0275prov=i.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),se=(()=>{class X{constructor(Y,q,he,_e,Oe){this.msalInterceptorConfig=Y,this.authService=q,this.location=he,this.msalBroadcastService=_e,this._document=Oe}intercept(Y,q){if(this.msalInterceptorConfig.interactionType!==d.wV.Popup&&this.msalInterceptorConfig.interactionType!==d.wV.Redirect)throw new c.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const he=this.getScopesForEndpoint(Y.url,Y.method);if(!he||0===he.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),q.handle(Y);let _e;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),_e=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),_e=this.authService.instance.getAllAccounts()[0]);const Oe="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,Y,{account:_e}):{...this.msalInterceptorConfig.authRequest,account:_e};return this.authService.getLogger().info(`Interceptor - ${he.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${he}] scopes found for ${Y.url}`),this.acquireToken(Oe,he,_e).pipe((0,A.G)(Re=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const Ae=Y.headers.set("Authorization",`Bearer ${Re.accessToken}`),ge=Y.clone({headers:Ae});return q.handle(ge)}))}acquireToken(Y,q,he){return this.authService.acquireTokenSilent({...Y,scopes:q,account:he}).pipe((0,w.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,O.U)(1),(0,A.G)(_e=>_e===d.Yz.None?this.acquireTokenInteractively(Y,q):this.msalBroadcastService.inProgress$.pipe((0,F.I)(Oe=>Oe===d.Yz.None),(0,O.U)(1),(0,A.G)(()=>this.acquireToken(Y,q,he))))))),(0,A.G)(_e=>_e.accessToken?(0,_.of)(_e):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,F.I)(Oe=>Oe===d.Yz.None),(0,O.U)(1),(0,A.G)(()=>this.acquireTokenInteractively(Y,q))))))}acquireTokenInteractively(Y,q){if(this.msalInterceptorConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...Y,scopes:q});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const he=window.location.href;return this.authService.acquireTokenRedirect({...Y,scopes:q,redirectStartPage:he}),f.k}getScopesForEndpoint(Y,q){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const he=this.location.normalize(Y),_e=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),Oe=this.matchResourcesToEndpoint(_e,he);return Oe.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Oe.absoluteResources,q):Oe.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Oe.relativeResources,q):null}matchResourcesToEndpoint(Y,q){const he={absoluteResources:[],relativeResources:[]};return Y.forEach(_e=>{const Oe=this.location.normalize(_e);l.e.matchPattern(Oe,q)&&he.absoluteResources.push(_e);const Re=this.getAbsoluteUrl(_e),Ae=new e._(Re).getUrlComponents(),ge=this.getAbsoluteUrl(q),Ne=new e._(ge).getUrlComponents(),it=Ae.QueryString?`${Ae.AbsolutePath}?${Ae.QueryString}`:this.location.normalize(Ae.AbsolutePath);Ae.HostNameAndPort===Ne.HostNameAndPort&&l.e.matchPattern(it,ge)&&""!==it&&"/*"!==it&&he.relativeResources.push(_e)}),he}getAbsoluteUrl(Y){const q=this._document.createElement("a");return q.href=Y,q.href}matchScopesToEndpoint(Y,q,he){const _e=[];return q.forEach(Oe=>{const Re=[],Ae=Y.get(Oe);null!==Ae?(Ae.forEach(ge=>{if("string"==typeof ge)Re.push(ge);else{const Ne=he.toLowerCase();ge.httpMethod.toLowerCase()===Ne&&(null===ge.scopes?_e.push(null):ge.scopes.forEach(qe=>{Re.push(qe)}))}}),Re.length>0&&_e.push(Re)):_e.push(null)}),_e.length>0?(_e.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),_e[0]):null}}return X.\u0275fac=function(Y){return new(Y||X)(i.\u0275\u0275inject(x),i.\u0275\u0275inject(G),i.\u0275\u0275inject(y.Location),i.\u0275\u0275inject(te),i.\u0275\u0275inject(y.DOCUMENT))},X.\u0275prov=i.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),K=(()=>{class X{constructor(Y){this.authService=Y}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return X.\u0275fac=function(Y){return new(Y||X)(i.\u0275\u0275directiveInject(G))},X.\u0275cmp=i.\u0275\u0275defineComponent({type:X,selectors:[["app-redirect"]],decls:0,vars:0,template:function(Y,q){},encapsulation:2}),X})(),Z=(()=>{class X{static forRoot(Y,q,he){return{ngModule:X,providers:[{provide:k,useValue:Y},{provide:N,useValue:q},{provide:x,useValue:he},G]}}}return X.\u0275fac=function(Y){return new(Y||X)},X.\u0275mod=i.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=i.\u0275\u0275defineInjector({providers:[ce,te],imports:[y.CommonModule]}),X})(),re=(()=>{class X extends g.m{constructor(Y,q,he){super(),this.authService=Y,this.router=q,this.location=he}navigateInternal(Y,q){var he=()=>super.navigateInternal,_e=this;return(0,n.c)(function*(){if(_e.authService.getLogger().trace("MsalCustomNavigationClient called"),_e.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),_e.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${Y}`),q.noHistory)return he().call(_e,Y,q);{const Oe=new e._(Y).getUrlComponents(),Re=Oe.QueryString?`${Oe.AbsolutePath}?${Oe.QueryString}`:_e.location.normalize(Oe.AbsolutePath);yield _e.router.navigateByUrl(Re,{replaceUrl:q.noHistory})}return Promise.resolve(q.noHistory)})()}}return X.\u0275fac=function(Y){return new(Y||X)(i.\u0275\u0275inject(G),i.\u0275\u0275inject(j.Router),i.\u0275\u0275inject(y.Location))},X.\u0275prov=i.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})()},69812:(ve,h,o)=>{"use strict";o.d(h,{S:()=>T,Y:()=>j});var n=o(1528),i=o(6536),d=o(34739),a=o(72584),c=o(98416),e=o(28876),u=o(71408),l=o(85348),g=o(7828),v=o(86144),p=o(16256),C=o(6400),b=o(9488),_=o(65172),f=o(4792),y=o(26956),S=o(71720),M=o(61744),w=o(99632),A=o(55084),O=o(37988),F=o(32828);class j extends i.B{constructor(k,N,x,H,G){super(k,x,H,G),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=N,this.logger=H,this.internalStorage=new M.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),N.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(k){switch(k){case y.Ir.LocalStorage:case y.Ir.SessionStorage:try{return new S.K(k)}catch(N){this.logger.verbose(N);break}}return this.cacheConfig.cacheLocation=y.Ir.MemoryStorage,new M.W}setupTemporaryCacheStorage(k,N){switch(N){case y.Ir.LocalStorage:case y.Ir.SessionStorage:try{return new S.K(k||y.Ir.SessionStorage)}catch(x){return this.logger.verbose(x),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const N=`${d.Mv.CACHE_PREFIX}.${d.IH.CLIENT_INFO}`,x=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR}`,H=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR_DESC}`,K=[this.browserStorage.getItem(`${d.Mv.CACHE_PREFIX}.${d.IH.ID_TOKEN}`),this.browserStorage.getItem(N),this.browserStorage.getItem(x),this.browserStorage.getItem(H)];[d.IH.ID_TOKEN,d.IH.CLIENT_INFO,d.IH.ERROR,d.IH.ERROR_DESC].forEach((re,X)=>this.migrateCacheEntry(re,K[X]))}migrateCacheEntry(k,N){N&&this.setTemporaryCache(k,N,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const k=this.getItem(y.UZ.ACCOUNT_KEYS),N=this.getItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`);k&&N?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(H=>{if(this.isCredentialKey(H)){const G=this.getItem(H);if(G){const te=this.validateAndParseJson(G);if(te&&te.hasOwnProperty("credentialType"))switch(te.credentialType){case d.yu.ID_TOKEN:if(a.LS(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed idToken validation on key: ${H}`);break;case d.yu.ACCESS_TOKEN:case d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(a.Ul(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ${H}`);break;case d.yu.REFRESH_TOKEN:if(a.U5(te)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${H} found, saving key to token key map`);const se=this.updateCredentialCacheKey(H,te);return void this.addTokenKey(se,d.yu.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ${H}`)}}}if(this.isAccountKey(H)){const G=this.getItem(H);if(G){const te=this.validateAndParseJson(G);te&&c.M.isAccountEntity(te)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${H} found, saving key to account key map`),this.addAccountKeyToMap(H))}}})}validateAndParseJson(k){try{const N=JSON.parse(k);return N&&"object"==typeof N?N:null}catch{return null}}getItem(k){return this.browserStorage.getItem(k)}setItem(k,N){this.browserStorage.setItem(k,N)}getAccount(k,N){this.logger.trace("BrowserCacheManager.getAccount called");const x=this.getCachedAccountEntity(k);return this.updateOutdatedCachedAccount(k,x,N)}getCachedAccountEntity(k){const N=this.getItem(k);if(!N)return this.removeAccountKeyFromMap(k),null;const x=this.validateAndParseJson(N);return x&&c.M.isAccountEntity(x)?i.B.toObject(new c.M,x):(this.removeAccountKeyFromMap(k),null)}setAccount(k){this.logger.trace("BrowserCacheManager.setAccount called");const N=k.generateAccountKey();this.setItem(N,JSON.stringify(k)),this.addAccountKeyToMap(N)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const k=this.getItem(y.UZ.ACCOUNT_KEYS);return k?JSON.parse(k):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(k){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${k}`);const N=this.getAccountKeys();-1===N.indexOf(k)?(N.push(k),this.setItem(y.UZ.ACCOUNT_KEYS,JSON.stringify(N)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(k){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${k}`);const N=this.getAccountKeys(),x=N.indexOf(k);x>-1?(N.splice(x,1),this.setItem(y.UZ.ACCOUNT_KEYS,JSON.stringify(N)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(k){var N=()=>super.removeAccount,x=this;return(0,n.c)(function*(){N().call(x,k),x.removeAccountKeyFromMap(k)})()}removeOutdatedAccount(k){this.removeItem(k),this.removeAccountKeyFromMap(k)}removeIdToken(k){super.removeIdToken(k),this.removeTokenKey(k,d.yu.ID_TOKEN)}removeAccessToken(k){var N=()=>super.removeAccessToken,x=this;return(0,n.c)(function*(){N().call(x,k),x.removeTokenKey(k,d.yu.ACCESS_TOKEN)})()}removeRefreshToken(k){super.removeRefreshToken(k),this.removeTokenKey(k,d.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const k=this.getItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`);if(k){const N=this.validateAndParseJson(k);if(N&&N.hasOwnProperty("idToken")&&N.hasOwnProperty("accessToken")&&N.hasOwnProperty("refreshToken"))return N;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(k,N){this.logger.trace("BrowserCacheManager addTokenKey called");const x=this.getTokenKeys();switch(N){case d.yu.ID_TOKEN:-1===x.idToken.indexOf(k)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),x.idToken.push(k));break;case d.yu.ACCESS_TOKEN:-1===x.accessToken.indexOf(k)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),x.accessToken.push(k));break;case d.yu.REFRESH_TOKEN:-1===x.refreshToken.indexOf(k)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),x.refreshToken.push(k));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${N}`),(0,e.mQ)(u.unexpectedCredentialType)}this.setItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(x))}removeTokenKey(k,N){this.logger.trace("BrowserCacheManager removeTokenKey called");const x=this.getTokenKeys();switch(N){case d.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${k} from map`);const H=x.idToken.indexOf(k);H>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),x.idToken.splice(H,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${k} from map`);const G=x.accessToken.indexOf(k);G>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),x.accessToken.splice(G,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${k} from map`);const te=x.refreshToken.indexOf(k);te>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),x.refreshToken.splice(te,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${N}`),(0,e.mQ)(u.unexpectedCredentialType)}this.setItem(`${y.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(x))}getIdTokenCredential(k){const N=this.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(k,d.yu.ID_TOKEN),null;const x=this.validateAndParseJson(N);return x&&a.LS(x)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),x):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(k,d.yu.ID_TOKEN),null)}setIdTokenCredential(k){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const N=a.AZ(k);this.setItem(N,JSON.stringify(k)),this.addTokenKey(N,d.yu.ID_TOKEN)}getAccessTokenCredential(k){const N=this.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(k,d.yu.ACCESS_TOKEN),null;const x=this.validateAndParseJson(N);return x&&a.Ul(x)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),x):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(k,d.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(k){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const N=a.AZ(k);this.setItem(N,JSON.stringify(k)),this.addTokenKey(N,d.yu.ACCESS_TOKEN)}getRefreshTokenCredential(k){const N=this.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(k,d.yu.REFRESH_TOKEN),null;const x=this.validateAndParseJson(N);return x&&a.U5(x)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),x):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(k,d.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(k){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const N=a.AZ(k);this.setItem(N,JSON.stringify(k)),this.addTokenKey(N,d.yu.REFRESH_TOKEN)}getAppMetadata(k){const N=this.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const x=this.validateAndParseJson(N);return x&&a.q6(k,x)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),x):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(k){this.logger.trace("BrowserCacheManager.setAppMetadata called");const N=a.S(k);this.setItem(N,JSON.stringify(k))}getServerTelemetry(k){const N=this.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const x=this.validateAndParseJson(N);return x&&a.sX(k,x)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),x):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(k,N){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(k,JSON.stringify(N))}getAuthorityMetadata(k){const N=this.internalStorage.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const x=this.validateAndParseJson(N);return x&&a.aA(k,x)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),x):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(N=>this.isAuthorityMetadata(N))}setWrapperMetadata(k,N){this.internalStorage.setItem(y.CM.WRAPPER_SKU,k),this.internalStorage.setItem(y.CM.WRAPPER_VER,N)}getWrapperMetadata(){return[this.internalStorage.getItem(y.CM.WRAPPER_SKU)||d.Mv.EMPTY_STRING,this.internalStorage.getItem(y.CM.WRAPPER_VER)||d.Mv.EMPTY_STRING]}setAuthorityMetadata(k,N){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(k,JSON.stringify(N))}getActiveAccount(){const k=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),N=this.getItem(k);if(!N){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const H=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT),G=this.getItem(H);if(!G)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const te=this.getAccountInfoFilteredBy({localAccountId:G});return te?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(te),te):null}const x=this.validateAndParseJson(N);return x?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:x.homeAccountId,localAccountId:x.localAccountId,tenantId:x.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(k){const N=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),x=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT);k?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(N,JSON.stringify({homeAccountId:k.homeAccountId,localAccountId:k.localAccountId,tenantId:k.tenantId})),this.browserStorage.setItem(x,k.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(N),this.browserStorage.removeItem(x))}getThrottlingCache(k){const N=this.getItem(k);if(!N)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const x=this.validateAndParseJson(N);return x&&a.s7(k,x)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),x):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(k,N){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(k,JSON.stringify(N))}getTemporaryCache(k,N){const x=N?this.generateCacheKey(k):k;if(this.cacheConfig.storeAuthStateInCookie){const G=this.getItemCookie(x);if(G)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),G}const H=this.temporaryCacheStorage.getItem(x);if(!H){if(this.cacheConfig.cacheLocation===y.Ir.LocalStorage){const G=this.browserStorage.getItem(x);if(G)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),G}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),H}setTemporaryCache(k,N,x){const H=x?this.generateCacheKey(k):k;this.temporaryCacheStorage.setItem(H,N),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(H,N))}removeItem(k){this.browserStorage.removeItem(k),this.temporaryCacheStorage.removeItem(k),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(k))}containsKey(k){return this.browserStorage.containsKey(k)||this.temporaryCacheStorage.containsKey(k)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var k=this;return(0,n.c)(function*(){yield k.removeAllAccounts(),k.removeAppMetadata(),k.getKeys().forEach(N=>{(k.browserStorage.containsKey(N)||k.temporaryCacheStorage.containsKey(N))&&(-1!==N.indexOf(d.Mv.CACHE_PREFIX)||-1!==N.indexOf(k.clientId))&&k.removeItem(N)}),k.internalStorage.clear()})()}clearTokensAndKeysWithClaims(k){var N=this;return(0,n.c)(function*(){k.addQueueMeasurement(l.Xv.ClearTokensAndKeysWithClaims);const x=N.getTokenKeys(),H=[];x.accessToken.forEach(G=>{const te=N.getAccessTokenCredential(G);te?.requestedClaimsHash&&G.includes(te.requestedClaimsHash.toLowerCase())&&H.push(N.removeAccessToken(G))}),yield Promise.all(H),H.length>0&&N.logger.warning(`${H.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(k,N,x){let H=`${encodeURIComponent(k)}=${encodeURIComponent(N)};path=/;SameSite=Lax;`;x&&(H+=`expires=${this.getCookieExpirationTime(x)};`),this.cacheConfig.secureCookies&&(H+="Secure;"),document.cookie=H}getItemCookie(k){const N=`${encodeURIComponent(k)}=`,x=document.cookie.split(";");for(let H=0;H{for(;" "===x.charAt(0);)x=x.substring(1);if(0===x.indexOf(k)){const H=x.split("=")[0];this.clearItemCookie(H)}})}clearItemCookie(k){this.setItemCookie(k,d.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(k){return new Date((new Date).getTime()+k*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(k){return this.validateAndParseJson(k)?JSON.stringify(k):g.e.startsWith(k,d.Mv.CACHE_PREFIX)||g.e.startsWith(k,d.IH.ADAL_ID_TOKEN)?k:`${d.Mv.CACHE_PREFIX}.${this.clientId}.${k}`}generateAuthorityKey(k){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,k);return this.generateCacheKey(`${y.zH.AUTHORITY}.${N}`)}generateNonceKey(k){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,k);return this.generateCacheKey(`${y.zH.NONCE_IDTOKEN}.${N}`)}generateStateKey(k){const{libraryState:{id:N}}=v.c.parseRequestState(this.cryptoImpl,k);return this.generateCacheKey(`${y.zH.REQUEST_STATE}.${N}`)}getCachedAuthority(k){const N=this.generateStateKey(k),x=this.getTemporaryCache(N);if(!x)return null;const H=this.generateAuthorityKey(x);return this.getTemporaryCache(H)}updateCacheEntries(k,N,x,H,G){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const te=this.generateStateKey(k);this.setTemporaryCache(te,k,!1);const ce=this.generateNonceKey(k);this.setTemporaryCache(ce,N,!1);const se=this.generateAuthorityKey(k);this.setTemporaryCache(se,x,!1),G?this.setTemporaryCache(y.zH.CCS_CREDENTIAL,JSON.stringify({credential:G.homeAccountId,type:p.s.HOME_ACCOUNT_ID}),!0):H&&this.setTemporaryCache(y.zH.CCS_CREDENTIAL,JSON.stringify({credential:H,type:p.s.UPN}),!0)}resetRequestCache(k){this.logger.trace("BrowserCacheManager.resetRequestCache called"),k&&(this.getKeys().forEach(N=>{-1!==N.indexOf(k)&&this.removeItem(N)}),this.removeItem(this.generateStateKey(k)),this.removeItem(this.generateNonceKey(k)),this.removeItem(this.generateAuthorityKey(k))),this.removeItem(this.generateCacheKey(y.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(y.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(y.zH.URL_HASH)),this.removeItem(this.generateCacheKey(y.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(y.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(y.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(k){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),k){const N=this.generateStateKey(k),x=this.temporaryCacheStorage.getItem(N);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${x}`),this.resetRequestCache(x||d.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(k){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(N=>{if(-1===N.indexOf(y.zH.REQUEST_STATE))return;const x=this.temporaryCacheStorage.getItem(N);if(!x)return;const H=(0,w.Q)(this.cryptoImpl,x);H&&H.interactionType===k&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${x}`),this.resetRequestCache(x))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(k){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const N=(0,O.c9)(JSON.stringify(k));this.setTemporaryCache(y.zH.REQUEST_PARAMS,N,!0)}getCachedRequest(k){this.logger.trace("BrowserCacheManager.getCachedRequest called");const N=this.getTemporaryCache(y.zH.REQUEST_PARAMS,!0);if(!N)throw(0,f.Wq)(F.noTokenRequestCacheError);let x;try{x=JSON.parse((0,A.W)(N))}catch(H){throw this.logger.errorPii(`Attempted to parse: ${N}`),this.logger.error(`Parsing cached token request threw with error: ${H}`),(0,f.Wq)(F.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(y.zH.REQUEST_PARAMS)),!x.authority){const H=this.generateAuthorityKey(k),G=this.getTemporaryCache(H);if(!G)throw(0,f.Wq)(F.noCachedAuthorityError);x.authority=G}return x}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const k=this.getTemporaryCache(y.zH.NATIVE_REQUEST,!0);return k?this.validateAndParseJson(k)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(k){const N=this.getInteractionInProgress();return k?N===this.clientId:!!N}getInteractionInProgress(){return this.getTemporaryCache(`${d.Mv.CACHE_PREFIX}.${y.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(k){const N=`${d.Mv.CACHE_PREFIX}.${y.zH.INTERACTION_STATUS_KEY}`;if(k){if(this.getInteractionInProgress())throw(0,f.Wq)(F.interactionInProgress);this.setTemporaryCache(N,this.clientId,!1)}else!k&&this.getInteractionInProgress()===this.clientId&&this.removeItem(N)}getLegacyLoginHint(){const k=this.getTemporaryCache(d.IH.ADAL_ID_TOKEN);k&&(this.browserStorage.removeItem(d.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const N=this.getTemporaryCache(d.IH.ID_TOKEN,!0);N&&(this.removeItem(this.generateCacheKey(d.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const x=N||k;if(x){const H=C.aw(x,A.W);if(H.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),H.preferred_username;if(H.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),H.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(k,N){const x=a.AZ(N);if(k!==x){const H=this.getItem(k);if(H)return this.removeItem(k),this.setItem(x,H),this.logger.verbose(`Updated an outdated ${N.credentialType} cache key`),x;this.logger.error(`Attempted to update an outdated ${N.credentialType} cache key but no item matching the outdated key was found in storage`)}return k}getRedirectRequestContext(){return this.getTemporaryCache(y.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(k){this.setTemporaryCache(y.zH.REDIRECT_CONTEXT,k,!0)}hydrateCache(k,N){var x=this;return(0,n.c)(function*(){const H=a.YF(k.account?.homeAccountId,k.account?.environment,k.idToken,x.clientId,k.tenantId);let G;N.claims&&(G=yield x.cryptoImpl.hashString(N.claims));const te=a.MJ(k.account?.homeAccountId,k.account.environment,k.accessToken,x.clientId,k.tenantId,k.scopes.join(" "),k.expiresOn?.getTime()||0,k.extExpiresOn?.getTime()||0,A.W,void 0,k.tokenType,void 0,N.sshKid,N.claims,G),ce=new b.O(void 0,H,te);return x.saveCacheRecord(ce)})()}}const T=(I,k)=>new j(I,{cacheLocation:y.Ir.MemoryStorage,temporaryCacheLocation:y.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},_.K,k)},71720:(ve,h,o)=>{"use strict";o.d(h,{K:()=>a});var n=o(72592),i=o(26956),d=o(85288);class a{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==i.Ir.LocalStorage&&e!==i.Ir.SessionStorage||!window[e])throw(0,n.cf)(d.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,u){this.windowStorage.setItem(e,u)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(ve,h,o)=>{"use strict";o.d(h,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(d){return this.cache.get(d)||null}setItem(d,a){this.cache.set(d,a)}removeItem(d){this.cache.delete(d)}getKeys(){const d=[];return this.cache.forEach((a,c)=>{d.push(c)}),d}containsKey(d){return this.cache.has(d)}clear(){this.cache.clear()}}},48124:(ve,h,o)=>{"use strict";o.d(h,{Ks:()=>w,k5:()=>F});var n=o(34739),i=o(65072),d=o(67952),a=o(73364),c=o(80660),e=o(28876),u=o(71408);const l={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(u.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(u.methodNotImplemented))};var g=o(35128),v=o(59684),p=o(32336),C=o(26956),b=o(64952),_=o(1528),f=o(4792),y=o(32828);class S{sendGetRequestAsync(T,I){var k=this;return(0,_.c)(function*(){let N;try{N=yield fetch(T,{method:C.yI.GET,headers:k.getFetchHeaders(I)})}catch{throw window.navigator.onLine?(0,f.Wq)(y.getRequestFailed):(0,f.Wq)(y.noNetworkConnectivity)}try{return{headers:k.getHeaderDict(N.headers),body:yield N.json(),status:N.status}}catch{throw(0,f.Wq)(y.failedToParseResponse)}})()}sendPostRequestAsync(T,I){var k=this;return(0,_.c)(function*(){const N=I&&I.body||n.Mv.EMPTY_STRING;let x;try{x=yield fetch(T,{method:C.yI.POST,headers:k.getFetchHeaders(I),body:N})}catch{throw window.navigator.onLine?(0,f.Wq)(y.postRequestFailed):(0,f.Wq)(y.noNetworkConnectivity)}try{return{headers:k.getHeaderDict(x.headers),body:yield x.json(),status:x.status}}catch{throw(0,f.Wq)(y.failedToParseResponse)}})()}getFetchHeaders(T){const I=new Headers;if(!T||!T.headers)return I;const k=T.headers;return Object.keys(k).forEach(N=>{I.append(N,k[N])}),I}getHeaderDict(T){const I={};return T.forEach((k,N)=>{I[N]=k}),I}}const M=6e4,w=1e4,A=3e4,O=2e3;function F({auth:j,cache:T,system:I,telemetry:k},N){const x={clientId:n.Mv.EMPTY_STRING,authority:`${n.Mv.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:n.Mv.EMPTY_STRING,authorityMetadata:n.Mv.EMPTY_STRING,redirectUri:n.Mv.EMPTY_STRING,postLogoutRedirectUri:n.Mv.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:i.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:d.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},H={cacheLocation:C.Ir.SessionStorage,temporaryCacheLocation:C.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!T||T.cacheLocation!==C.Ir.LocalStorage),claimsBasedCachingEnabled:!1},G={loggerCallback:()=>{},logLevel:a.G.Info,piiLoggingEnabled:!1},ce={...{...c.k5,loggerOptions:G,networkClient:N?new S:l,navigationClient:new b.m,loadFrameTimeout:0,windowHashTimeout:I?.loadFrameTimeout||M,iframeHashTimeout:I?.loadFrameTimeout||w,navigateFrameWait:0,redirectNavigationTimeout:A,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:I?.nativeBrokerHandshakeTimeout||O,pollIntervalMilliseconds:C.ig.DEFAULT_POLL_INTERVAL_MS},...I,loggerOptions:I?.loggerOptions||G},se={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new g._};if(j?.protocolMode!==i.g.OIDC&&j?.OIDCOptions&&new a.Y(ce.loggerOptions).warning(JSON.stringify((0,v.QN)(p.cannotSetOIDCOptions))),j?.protocolMode&&j.protocolMode!==i.g.AAD&&ce?.allowNativeBroker)throw(0,v.QN)(p.cannotAllowNativeBroker);return{auth:{...x,...j,OIDCOptions:{...x.OIDCOptions,...j?.OIDCOptions}},cache:{...H,...T},system:ce,telemetry:{...se,...k}}}},65304:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{StandardController:()=>ur});var n=o(1528),i=o(7184),d=o(65172),a=o(25988),e=o(67648),u=o(28876),l=o(34739),g=o(74968),v=o(59684),p=o(65072),C=o(67952),f=o(85348),y=o(14035);let S=(()=>{class on{constructor(z,ae,He,Ie){this.networkInterface=z,this.logger=ae,this.performanceClient=He,this.correlationId=Ie}detectRegion(z,ae){var He=this;return(0,n.c)(function*(){He.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryDetectRegion,He.correlationId);let Ie=z;if(Ie)ae.region_source=l.Q$.ENVIRONMENT_VARIABLE;else{const fe=on.IMDS_OPTIONS;try{const Te=yield(0,y.C)(He.getRegionFromIMDS.bind(He),f.Xv.RegionDiscoveryGetRegionFromIMDS,He.logger,He.performanceClient,He.correlationId)(l.Mv.IMDS_VERSION,fe);if(Te.status===l.sL.httpSuccess&&(Ie=Te.body,ae.region_source=l.Q$.IMDS),Te.status===l.sL.httpBadRequest){const ot=yield(0,y.C)(He.getCurrentVersion.bind(He),f.Xv.RegionDiscoveryGetCurrentVersion,He.logger,He.performanceClient,He.correlationId)(fe);if(!ot)return ae.region_source=l.Q$.FAILED_AUTO_DETECTION,null;const ht=yield(0,y.C)(He.getRegionFromIMDS.bind(He),f.Xv.RegionDiscoveryGetRegionFromIMDS,He.logger,He.performanceClient,He.correlationId)(ot,fe);ht.status===l.sL.httpSuccess&&(Ie=ht.body,ae.region_source=l.Q$.IMDS)}}catch{return ae.region_source=l.Q$.FAILED_AUTO_DETECTION,null}}return Ie||(ae.region_source=l.Q$.FAILED_AUTO_DETECTION),Ie||null})()}getRegionFromIMDS(z,ae){var He=this;return(0,n.c)(function*(){return He.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetRegionFromIMDS,He.correlationId),He.networkInterface.sendGetRequestAsync(`${l.Mv.IMDS_ENDPOINT}?api-version=${z}&format=text`,ae,l.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetCurrentVersion,ae.correlationId);try{const He=yield ae.networkInterface.sendGetRequestAsync(`${l.Mv.IMDS_ENDPOINT}?format=json`,z);return He.status===l.sL.httpBadRequest&&He.body&&He.body["newest-versions"]&&He.body["newest-versions"].length>0?He.body["newest-versions"][0]:null}catch{return null}})()}}return on.IMDS_OPTIONS={headers:{Metadata:"true"}},on})();var M=o(66936),w=o(72584),A=o(71408),O=o(32336);class F{constructor(U,z,ae,He,Ie,fe,Te){this.canonicalAuthority=U,this._canonicalAuthority.validateAsUri(),this.networkInterface=z,this.cacheManager=ae,this.authorityOptions=He,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=Ie,this.performanceClient=Te,this.correlationId=fe,this.regionDiscovery=new S(z,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(U){if(U.HostNameAndPort.endsWith(l.Mv.CIAM_AUTH_URL))return a.O.Ciam;const z=U.PathSegments;if(z.length)switch(z[0].toLowerCase()){case l.Mv.ADFS:return a.O.Adfs;case l.Mv.DSTS:return a.O.Dsts}return a.O.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(U){this._canonicalAuthority=new e._(U),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw(0,u.mQ)(A.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,u.mQ)(A.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,u.mQ)(A.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,u.mQ)(A.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,u.mQ)(A.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,u.mQ)(A.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,u.mQ)(A.endpointResolutionError)}canReplaceTenant(U){return 1===U.PathSegments.length&&!F.reservedTenantDomains.has(U.PathSegments[0])&&this.getAuthorityType(U)===a.O.Default&&this.protocolMode===p.g.AAD}replaceTenant(U){return U.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(U){let z=U;const He=new e._(this.metadata.canonical_authority).getUrlComponents(),Ie=He.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((Te,ot)=>{let ht=Ie[ot];if(0===ot&&this.canReplaceTenant(He)){const Ct=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];ht!==Ct&&(this.logger.verbose(`Replacing tenant domain name ${ht} with id ${Ct}`),ht=Ct)}Te!==ht&&(z=z.replace(`/${ht}/`,`/${Te}/`))}),this.replaceTenant(z)}get defaultOpenIdConfigurationEndpoint(){const U=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===a.O.Adfs||this.protocolMode!==p.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(U)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityResolveEndpointsAsync,U.correlationId);const z=U.getCurrentMetadataEntity(),ae=yield(0,y.C)(U.updateCloudDiscoveryMetadata.bind(U),f.Xv.AuthorityUpdateCloudDiscoveryMetadata,U.logger,U.performanceClient,U.correlationId)(z);U.canonicalAuthority=U.canonicalAuthority.replace(U.hostnameAndPort,z.preferred_network);const He=yield(0,y.C)(U.updateEndpointMetadata.bind(U),f.Xv.AuthorityUpdateEndpointMetadata,U.logger,U.performanceClient,U.correlationId)(z);U.updateCachedMetadata(z,ae,{source:He}),U.performanceClient?.addFields({cloudDiscoverySource:ae,authorityEndpointSource:He},U.correlationId)})()}getCurrentMetadataEntity(){let U=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return U||(U={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:(0,w.gv)(),jwks_uri:""}),U}updateCachedMetadata(U,z,ae){z!==l.cv.CACHE&&ae?.source!==l.cv.CACHE&&(U.expiresAt=(0,w.gv)(),U.canonical_authority=this.canonicalAuthority);const He=this.cacheManager.generateAuthorityMetadataCacheKey(U.preferred_cache);this.cacheManager.setAuthorityMetadata(He,U),this.metadata=U}updateEndpointMetadata(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateEndpointMetadata,z.correlationId);const ae=z.updateEndpointMetadataFromLocalSources(U);if(ae){if(ae.source===l.cv.HARDCODED_VALUES&&z.authorityOptions.azureRegionConfiguration?.azureRegion&&ae.metadata){const Ie=yield(0,y.C)(z.updateMetadataWithRegionalInformation.bind(z),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(ae.metadata);(0,w.sH)(U,Ie,!1),U.canonical_authority=z.canonicalAuthority}return ae.source}let He=yield(0,y.C)(z.getEndpointMetadataFromNetwork.bind(z),f.Xv.AuthorityGetEndpointMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(He)return z.authorityOptions.azureRegionConfiguration?.azureRegion&&(He=yield(0,y.C)(z.updateMetadataWithRegionalInformation.bind(z),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.logger,z.performanceClient,z.correlationId)(He)),(0,w.sH)(U,He,!0),l.cv.NETWORK;throw(0,u.mQ)(A.openIdConfigError,z.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(U){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const z=this.getEndpointMetadataFromConfig();if(z)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,w.sH)(U,z,!1),{source:l.cv.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const He=this.getEndpointMetadataFromHardcodedValues();if(He)return(0,w.sH)(U,He,!1),{source:l.cv.HARDCODED_VALUES,metadata:He};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const ae=(0,w.mk)(U);return this.isAuthoritySameType(U)&&U.endpointsFromNetwork&&!ae?(this.logger.verbose("Found endpoint metadata in the cache."),{source:l.cv.CACHE}):(ae&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(U){return new e._(U.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,v.QN)(O.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetEndpointMetadataFromNetwork,U.correlationId);const z={},ae=U.defaultOpenIdConfigurationEndpoint;U.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${ae}`);try{const He=yield U.networkInterface.sendGetRequestAsync(ae,z);return function c(on){return on.hasOwnProperty("authorization_endpoint")&&on.hasOwnProperty("token_endpoint")&&on.hasOwnProperty("issuer")&&on.hasOwnProperty("jwks_uri")}(He.body)?He.body:(U.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(He){return U.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${He}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in g.gB?g.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateMetadataWithRegionalInformation,z.correlationId);const ae=z.authorityOptions.azureRegionConfiguration?.azureRegion;if(ae){if(ae!==l.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return z.regionDiscoveryMetadata.region_outcome=l.wR.CONFIGURED_NO_AUTO_DETECTION,z.regionDiscoveryMetadata.region_used=ae,F.replaceWithRegionalInformation(U,ae);const He=yield(0,y.C)(z.regionDiscovery.detectRegion.bind(z.regionDiscovery),f.Xv.RegionDiscoveryDetectRegion,z.logger,z.performanceClient,z.correlationId)(z.authorityOptions.azureRegionConfiguration?.environmentRegion,z.regionDiscoveryMetadata);if(He)return z.regionDiscoveryMetadata.region_outcome=l.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,z.regionDiscoveryMetadata.region_used=He,F.replaceWithRegionalInformation(U,He);z.regionDiscoveryMetadata.region_outcome=l.wR.AUTO_DETECTION_REQUESTED_FAILED}return U})()}updateCloudDiscoveryMetadata(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateCloudDiscoveryMetadata,z.correlationId);const ae=z.updateCloudDiscoveryMetadataFromLocalSources(U);if(ae)return ae;const He=yield(0,y.C)(z.getCloudDiscoveryMetadataFromNetwork.bind(z),f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,z.logger,z.performanceClient,z.correlationId)();if(He)return(0,w.cb)(U,He,!0),l.cv.NETWORK;throw(0,v.QN)(O.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(U){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||l.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||l.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${U.canonical_authority||l.Mv.NOT_APPLICABLE}`);const z=this.getCloudDiscoveryMetadataFromConfig();if(z)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,w.cb)(U,z,!1),l.cv.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const He=(0,g.UD)(this.hostnameAndPort);if(He)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,w.cb)(U,He,!1),l.cv.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}const ae=(0,w.mk)(U);return this.isAuthoritySameType(U)&&U.aliasesFromNetwork&&!ae?(this.logger.verbose("Found cloud discovery metadata in the cache."),l.cv.CACHE):(ae&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===a.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),F.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const U=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),z=(0,g._8)(U.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),z)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),z;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),(0,v.QN)(O.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),F.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var U=this;return(0,n.c)(function*(){U.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,U.correlationId);const z=`${l.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${U.canonicalAuthority}oauth2/v2.0/authorize`,ae={};let He=null;try{const Ie=yield U.networkInterface.sendGetRequestAsync(z,ae);let fe,Te;if(function b(on){return on.hasOwnProperty("tenant_discovery_endpoint")&&on.hasOwnProperty("metadata")}(Ie.body))fe=Ie.body,Te=fe.metadata,U.logger.verbosePii(`tenant_discovery_endpoint is: ${fe.tenant_discovery_endpoint}`);else{if(!function _(on){return on.hasOwnProperty("error")&&on.hasOwnProperty("error_description")}(Ie.body))return U.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(U.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${Ie.status}`),fe=Ie.body,fe.error===l.Mv.INVALID_INSTANCE)return U.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;U.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${fe.error}`),U.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${fe.error_description}`),U.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),Te=[]}U.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),He=(0,g._8)(Te,U.hostnameAndPort)}catch(Ie){return U.logger.error(Ie instanceof M.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${Ie.errorCode}\nError Description: ${Ie.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${Ie.name}\nError Description: ${Ie.message}`),null}return He||(U.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),U.logger.verbose("Creating custom Authority for custom domain scenario."),He=F.createCloudDiscoveryMetadataFromHost(U.hostnameAndPort)),He})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(z=>z&&e._.getDomainFromUrl(z).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(U,z){let ae;return z&&z.azureCloudInstance!==C.C.None&&(ae=`${z.azureCloudInstance}/${z.tenant?z.tenant:l.Mv.DEFAULT_COMMON_TENANT}/`),ae||U}static createCloudDiscoveryMetadataFromHost(U){return{preferred_network:U,preferred_cache:U,aliases:[U]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,u.mQ)(A.endpointResolutionError)}isAlias(U){return this.metadata.aliases.indexOf(U)>-1}isAliasOfKnownMicrosoftAuthority(U){return g.IP.has(U)}static isPublicCloudAuthority(U){return l.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(U)>=0}static buildRegionalAuthorityString(U,z,ae){const He=new e._(U);He.validateAsUri();const Ie=He.getUrlComponents();let fe=`${z}.${Ie.HostNameAndPort}`;this.isPublicCloudAuthority(Ie.HostNameAndPort)&&(fe=`${z}.${l.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const Te=e._.constructAuthorityUriFromObject({...He.getUrlComponents(),HostNameAndPort:fe}).urlString;return ae?`${Te}?${ae}`:Te}static replaceWithRegionalInformation(U,z){const ae={...U};return ae.authorization_endpoint=F.buildRegionalAuthorityString(ae.authorization_endpoint,z),ae.token_endpoint=F.buildRegionalAuthorityString(ae.token_endpoint,z),ae.end_session_endpoint&&(ae.end_session_endpoint=F.buildRegionalAuthorityString(ae.end_session_endpoint,z)),ae}static transformCIAMAuthority(U){let z=U;const He=new e._(U).getUrlComponents();return 0===He.PathSegments.length&&He.HostNameAndPort.endsWith(l.Mv.CIAM_AUTH_URL)&&(z=`${z}${He.HostNameAndPort.split(".")[0]}${l.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),z}}function T(on){return on.endsWith(l.Mv.FORWARD_SLASH)?on:`${on}${l.Mv.FORWARD_SLASH}`}F.reservedTenantDomains=new Set(["{tenant}","{tenantid}",l.sN.COMMON,l.sN.CONSUMERS,l.sN.ORGANIZATIONS]);var k=o(53408),N=o(98416),x=o(72896),H=o(69812),G=o(26956),te=o(84644),ce=o(28612),se=o(72592),K=o(85968),Z=o(76944);class re{static generateThrottlingStorageKey(U){return`${l.gr.THROTTLING_PREFIX}.${JSON.stringify(U)}`}static preProcess(U,z){const ae=re.generateThrottlingStorageKey(z),He=U.getThrottlingCache(ae);if(He){if(He.throttleTime=500&&U.status<600}static checkResponseForRetryAfter(U){return!!U.headers&&U.headers.hasOwnProperty(l.MF.RETRY_AFTER)&&(U.status<200||U.status>=300)}static calculateThrottleTime(U){const z=U<=0?0:U,ae=Date.now()/1e3;return Math.floor(1e3*Math.min(ae+(z||l.gr.DEFAULT_THROTTLE_TIME_SECONDS),ae+l.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(U,z,ae,He){const fe=this.generateThrottlingStorageKey({clientId:z,authority:ae.authority,scopes:ae.scopes,homeAccountIdentifier:He,claims:ae.claims,authenticationScheme:ae.authenticationScheme,resourceRequestMethod:ae.resourceRequestMethod,resourceRequestUri:ae.resourceRequestUri,shrClaims:ae.shrClaims,sshKid:ae.sshKid});U.removeItem(fe)}}var X=o(86144),W=o(80660);class Y{constructor(U,z){this.networkClient=U,this.cacheManager=z}sendPostRequest(U,z,ae){var He=this;return(0,n.c)(function*(){let Ie;re.preProcess(He.cacheManager,U);try{Ie=yield He.networkClient.sendPostRequestAsync(z,ae)}catch(fe){throw fe instanceof M.WM?fe:(0,u.mQ)(A.networkError)}return re.postProcess(He.cacheManager,U,Ie),Ie})()}}var q=o(73364),he=o(75205),_e=o(16256),Oe=o(22045),Re=o(33363);function Ae(on,U,z,ae,He,Ie,fe){return ge.apply(this,arguments)}function ge(){return(ge=(0,n.c)(function*(on,U,z,ae,He,Ie,fe){fe?.addQueueMeasurement(f.Xv.AuthorityFactoryCreateDiscoveredInstance,Ie);const Te=F.transformCIAMAuthority(T(on)),ot=new F(Te,U,z,ae,He,Ie,fe);try{return yield(0,y.C)(ot.resolveEndpointsAsync.bind(ot),f.Xv.AuthorityResolveEndpointsAsync,He,fe,Ie)(),ot}catch{throw(0,u.mQ)(A.endpointResolutionError)}})).apply(this,arguments)}class Ne{constructor(U,z){this.config=(0,W.cJ)(U),this.logger=new q.Y(this.config.loggerOptions,he.N,he.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Y(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=z}createTokenRequestHeaders(U){const z={};if(z[l.MF.CONTENT_TYPE]=l.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&U)switch(U.type){case _e.s.HOME_ACCOUNT_ID:try{const ae=(0,Oe.k)(U.credential);z[l.MF.CCS_HEADER]=`Oid:${ae.uid}@${ae.utid}`}catch(ae){this.logger.verbose("Could not parse home account ID for CCS Header: "+ae)}break;case _e.s.UPN:z[l.MF.CCS_HEADER]=`UPN: ${U.credential}`}return z}executePostToTokenEndpoint(U,z,ae,He,Ie,fe){var Te=this;return(0,n.c)(function*(){fe&&Te.performanceClient?.addQueueMeasurement(fe,Ie);const ot=yield Te.networkManager.sendPostRequest(He,U,{body:z,headers:ae});return Te.performanceClient?.addFields({refreshTokenSize:ot.body.refresh_token?.length||0,httpVerToken:ot.headers?.[l.MF.X_MS_HTTP_VERSION]||""},Ie),Te.config.serverTelemetryManager&&ot.status<500&&429!==ot.status&&Te.config.serverTelemetryManager.clearTelemetryCache(),ot})()}updateAuthority(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.UpdateTokenEndpointAuthority,z);const He=`https://${U}/${ae.authority.tenant}/`,Ie=yield Ae(He,ae.networkClient,ae.cacheManager,ae.authority.options,ae.logger,z,ae.performanceClient);ae.authority=Ie})()}createTokenQueryParameters(U){const z=new Re.I;return U.tokenQueryParameters&&z.addExtraQueryParameters(U.tokenQueryParameters),z.createQueryString()}}var it=o(91076),qe=o(95248),et=o(9488),De=o(46392);class je{constructor(U,z){this.cache=U,this.hasChanged=z}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var Pe=o(6400),bt=o(79032),Qe=o(60928);class Ut{constructor(U,z,ae,He,Ie,fe,Te){this.clientId=U,this.cacheStorage=z,this.cryptoObj=ae,this.logger=He,this.serializableCache=Ie,this.persistencePlugin=fe,this.performanceClient=Te}validateServerAuthorizationCodeResponse(U,z){if(!U.state||!z)throw(0,u.mQ)(A.stateNotFound,U.state?"Cached State":"Server State");let ae,He;try{ae=decodeURIComponent(U.state)}catch{throw(0,u.mQ)(A.invalidState,U.state)}try{He=decodeURIComponent(z)}catch{throw(0,u.mQ)(A.invalidState,U.state)}if(ae!==He)throw(0,u.mQ)(A.stateMismatch);if(U.error||U.error_description||U.suberror)throw(0,k.aq)(U.error,U.error_description,U.suberror)?new k.uw(U.error||"",U.error_description,U.suberror,U.timestamp||"",U.trace_id||"",U.correlation_id||"",U.claims||""):new Z.s(U.error||"",U.error_description,U.suberror)}validateTokenResponse(U,z){if(U.error||U.error_description||U.suberror){const He=new Z.s(U.error,`${U.error_codes} - [${U.timestamp}]: ${U.error_description} - Correlation ID: ${U.correlation_id} - Trace ID: ${U.trace_id}`,U.suberror);if(z&&U.status&&U.status>=l.Q3.SERVER_ERROR_RANGE_START&&U.status<=l.Q3.SERVER_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n${He}`);if(z&&U.status&&U.status>=l.Q3.CLIENT_ERROR_RANGE_START&&U.status<=l.Q3.CLIENT_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n${He}`);throw(0,k.aq)(U.error,U.error_description,U.suberror)?new k.uw(U.error,U.error_description,U.suberror,U.timestamp||l.Mv.EMPTY_STRING,U.trace_id||l.Mv.EMPTY_STRING,U.correlation_id||l.Mv.EMPTY_STRING,U.claims||l.Mv.EMPTY_STRING):He}}handleServerTokenResponse(U,z,ae,He,Ie,fe,Te,ot,ht){var Ct=this;return(0,n.c)(function*(){let Lt,Kt;if(Ct.performanceClient?.addQueueMeasurement(f.Xv.HandleServerTokenResponse,U.correlation_id),U.id_token){if(Lt=(0,Pe.aw)(U.id_token||l.Mv.EMPTY_STRING,Ct.cryptoObj.base64Decode),Ie&&Ie.nonce&&Lt.nonce!==Ie.nonce)throw(0,u.mQ)(A.nonceMismatch);if(He.maxAge||0===He.maxAge){const mn=Lt.auth_time;if(!mn)throw(0,u.mQ)(A.authTimeNotFound);(0,Pe.UH)(mn,He.maxAge)}}Ct.homeAccountIdentifier=N.M.generateHomeAccountId(U.client_info||l.Mv.EMPTY_STRING,z.authorityType,Ct.logger,Ct.cryptoObj,Lt),Ie&&Ie.state&&(Kt=X.c.parseRequestState(Ct.cryptoObj,Ie.state)),U.key_id=U.key_id||He.sshKid||void 0;const dn=Ct.generateCacheRecord(U,z,ae,He,Lt,fe,Ie);let fn;try{if(Ct.persistencePlugin&&Ct.serializableCache&&(Ct.logger.verbose("Persistence enabled, calling beforeCacheAccess"),fn=new je(Ct.serializableCache,!0),yield Ct.persistencePlugin.beforeCacheAccess(fn)),Te&&!ot&&dn.account){const mn=dn.account.generateAccountKey();if(!Ct.cacheStorage.getAccount(mn,Ct.logger))return Ct.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Ut.generateAuthenticationResult(Ct.cryptoObj,z,dn,!1,He,Lt,Kt,void 0,ht)}yield Ct.cacheStorage.saveCacheRecord(dn,He.storeInCache)}finally{Ct.persistencePlugin&&Ct.serializableCache&&fn&&(Ct.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield Ct.persistencePlugin.afterCacheAccess(fn))}return Ut.generateAuthenticationResult(Ct.cryptoObj,z,dn,!1,He,Lt,Kt,U,ht)})()}generateCacheRecord(U,z,ae,He,Ie,fe,Te){const ot=z.getPreferredCache();if(!ot)throw(0,u.mQ)(A.invalidCacheEnvironment);const ht=(0,bt.c)(Ie);let Ct,Lt;U.id_token&&Ie&&(Ct=(0,w.YF)(this.homeAccountIdentifier,ot,U.id_token,this.clientId,ht||""),Lt=sn(this.cacheStorage,z,this.homeAccountIdentifier,Ie,this.cryptoObj.base64Decode,U.client_info,ot,ht,Te,void 0,this.logger));let Kt=null;if(U.access_token){const mn=U.scope?qe.k.fromString(U.scope):new qe.k(He.scopes||[]),ln=("string"==typeof U.expires_in?parseInt(U.expires_in,10):U.expires_in)||0,Yt=("string"==typeof U.ext_expires_in?parseInt(U.ext_expires_in,10):U.ext_expires_in)||0,Ln=("string"==typeof U.refresh_in?parseInt(U.refresh_in,10):U.refresh_in)||void 0,lr=ae+ln,cr=lr+Yt,Nr=Ln&&Ln>0?ae+Ln:void 0;Kt=(0,w.MJ)(this.homeAccountIdentifier,ot,U.access_token,this.clientId,ht||z.tenant||"",mn.printScopes(),lr,cr,this.cryptoObj.base64Decode,Nr,U.token_type,fe,U.key_id,He.claims,He.requestedClaimsHash)}let dn=null;if(U.refresh_token){let mn;U.refresh_token_expires_in&&(mn=ae+("string"==typeof U.refresh_token_expires_in?parseInt(U.refresh_token_expires_in,10):U.refresh_token_expires_in)),dn=(0,w._c)(this.homeAccountIdentifier,ot,U.refresh_token,this.clientId,U.foci,fe,mn)}let fn=null;return U.foci&&(fn={clientId:this.clientId,environment:ot,familyId:U.foci}),new et.O(Lt,Ct,Kt,dn,fn)}static generateAuthenticationResult(U,z,ae,He,Ie,fe,Te,ot,ht){return(0,n.c)(function*(){let dn,fn,Ct=l.Mv.EMPTY_STRING,Lt=[],Kt=null,mn=l.Mv.EMPTY_STRING;if(ae.accessToken){if(ae.accessToken.tokenType===l.me.POP){const lr=new De.w(U),{secret:cr,keyId:Nr}=ae.accessToken;if(!Nr)throw(0,u.mQ)(A.keyIdMissing);Ct=yield lr.signPopToken(cr,Nr,Ie)}else Ct=ae.accessToken.secret;Lt=qe.k.fromString(ae.accessToken.target).asArray(),Kt=new Date(1e3*Number(ae.accessToken.expiresOn)),dn=new Date(1e3*Number(ae.accessToken.extendedExpiresOn)),ae.accessToken.refreshOn&&(fn=new Date(1e3*Number(ae.accessToken.refreshOn)))}ae.appMetadata&&(mn=ae.appMetadata.familyId===l.wj?l.wj:"");const ln=fe?.oid||fe?.sub||"",Yt=fe?.tid||"";ot?.spa_accountid&&ae.account&&(ae.account.nativeAccountId=ot?.spa_accountid);const Ln=ae.account?(0,Qe.Ho)(ae.account.getAccountInfo(),void 0,fe,ae.idToken?.secret):null;return{authority:z.canonicalAuthority,uniqueId:ln,tenantId:Yt,scopes:Lt,account:Ln,idToken:ae?.idToken?.secret||"",idTokenClaims:fe||{},accessToken:Ct,fromCache:He,expiresOn:Kt,extExpiresOn:dn,refreshOn:fn,correlationId:Ie.correlationId,requestId:ht||l.Mv.EMPTY_STRING,familyId:mn,tokenType:ae.accessToken?.tokenType||l.Mv.EMPTY_STRING,state:Te?Te.userRequestState:l.Mv.EMPTY_STRING,cloudGraphHostName:ae.account?.cloudGraphHostName||l.Mv.EMPTY_STRING,msGraphHost:ae.account?.msGraphHost||l.Mv.EMPTY_STRING,code:ot?.spa_code,fromNativeBroker:!1}})()}}function sn(on,U,z,ae,He,Ie,fe,Te,ot,ht,Ct){Ct?.verbose("setCachedAccount called");const Kt=on.getAccountKeys().find(ln=>ln.startsWith(z));let dn=null;Kt&&(dn=on.getAccount(Kt,Ct));const fn=dn||N.M.createAccount({homeAccountId:z,idTokenClaims:ae,clientInfo:Ie,environment:fe,cloudGraphHostName:ot?.cloud_graph_host_name,msGraphHost:ot?.msgraph_host,nativeAccountId:ht},U,He),mn=fn.tenantProfiles||[];if(Te&&!mn.find(ln=>ln.tenantId===Te)){const ln=(0,Qe.EJ)(z,ae);mn.push(ln)}return fn.tenantProfiles=mn,fn}var un=o(7828),Sn=o(50160),bn=o(77768);class kt extends Ne{constructor(U,z){super(U,z),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.GetAuthCodeUrl,U.correlationId);const ae=yield(0,y.C)(z.createAuthCodeUrlQueryString.bind(z),f.Xv.AuthClientCreateQueryString,z.logger,z.performanceClient,U.correlationId)(U);return e._.appendQueryString(z.authority.authorizationEndpoint,ae)})()}acquireToken(U,z){var ae=this;return(0,n.c)(function*(){if(ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientAcquireToken,U.correlationId),!U.code)throw(0,u.mQ)(A.requestCannotBeMade);const He=(0,Sn.GO)(),Ie=yield(0,y.C)(ae.executeTokenRequest.bind(ae),f.Xv.AuthClientExecuteTokenRequest,ae.logger,ae.performanceClient,U.correlationId)(ae.authority,U),fe=Ie.headers?.[l.MF.X_MS_REQUEST_ID],Te=new Ut(ae.config.authOptions.clientId,ae.cacheManager,ae.cryptoUtils,ae.logger,ae.config.serializableCache,ae.config.persistencePlugin,ae.performanceClient);return Te.validateTokenResponse(Ie.body),(0,y.C)(Te.handleServerTokenResponse.bind(Te),f.Xv.HandleServerTokenResponse,ae.logger,ae.performanceClient,U.correlationId)(Ie.body,ae.authority,He,U,z,void 0,void 0,void 0,fe)})()}handleFragmentResponse(U,z){if(new Ut(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(U,z),!U.code)throw(0,u.mQ)(A.authorizationCodeMissingFromServerResponse);return U}getLogoutUri(U){if(!U)throw(0,v.QN)(O.logoutRequestEmpty);const z=this.createLogoutUrlQueryString(U);return e._.appendQueryString(this.authority.endSessionEndpoint,z)}executeTokenRequest(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientExecuteTokenRequest,z.correlationId);const He=ae.createTokenQueryParameters(z),Ie=e._.appendQueryString(U.tokenEndpoint,He),fe=yield(0,y.C)(ae.createTokenRequestBody.bind(ae),f.Xv.AuthClientCreateTokenRequestBody,ae.logger,ae.performanceClient,z.correlationId)(z);let Te;if(z.clientInfo)try{const Ct=(0,Oe.G)(z.clientInfo,ae.cryptoUtils.base64Decode);Te={credential:`${Ct.uid}${l.Mj.CLIENT_INFO_SEPARATOR}${Ct.utid}`,type:_e.s.HOME_ACCOUNT_ID}}catch(Ct){ae.logger.verbose("Could not parse client info for CCS Header: "+Ct)}const ot=ae.createTokenRequestHeaders(Te||z.ccsCredential),ht={clientId:z.tokenBodyParameters?.clientId||ae.config.authOptions.clientId,authority:U.canonicalAuthority,scopes:z.scopes,claims:z.claims,authenticationScheme:z.authenticationScheme,resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,sshKid:z.sshKid};return(0,y.C)(ae.executePostToTokenEndpoint.bind(ae),f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,ae.logger,ae.performanceClient,z.correlationId)(Ie,fe,ot,ht,z.correlationId,f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateTokenRequestBody,U.correlationId);const ae=new Re.I;if(ae.addClientId(U.tokenBodyParameters?.[it._k]||z.config.authOptions.clientId),z.includeRedirectUri?ae.addRedirectUri(U.redirectUri):bn.e.validateRedirectUri(U.redirectUri),ae.addScopes(U.scopes,!0,z.oidcDefaultScopes),ae.addAuthorizationCode(U.code),ae.addLibraryInfo(z.config.libraryInfo),ae.addApplicationTelemetry(z.config.telemetry.application),ae.addThrottling(),z.serverTelemetryManager&&!(0,W.qW)(z.config)&&ae.addServerTelemetry(z.serverTelemetryManager),U.codeVerifier&&ae.addCodeVerifier(U.codeVerifier),z.config.clientCredentials.clientSecret&&ae.addClientSecret(z.config.clientCredentials.clientSecret),z.config.clientCredentials.clientAssertion){const fe=z.config.clientCredentials.clientAssertion;ae.addClientAssertion(fe.assertion),ae.addClientAssertionType(fe.assertionType)}if(ae.addGrantType(l.Ku.AUTHORIZATION_CODE_GRANT),ae.addClientInfo(),U.authenticationScheme===l.me.POP){const fe=new De.w(z.cryptoUtils,z.performanceClient),Te=yield(0,y.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,U.correlationId)(U,z.logger);ae.addPopToken(Te.reqCnfString)}else if(U.authenticationScheme===l.me.SSH){if(!U.sshJwk)throw(0,v.QN)(O.missingSshJwk);ae.addSshJwk(U.sshJwk)}const He=U.correlationId||z.config.cryptoInterface.createNewGuid();let Ie;if(ae.addCorrelationId(He),(!un.e.isEmptyObj(U.claims)||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(U.claims,z.config.authOptions.clientCapabilities),U.clientInfo)try{const fe=(0,Oe.G)(U.clientInfo,z.cryptoUtils.base64Decode);Ie={credential:`${fe.uid}${l.Mj.CLIENT_INFO_SEPARATOR}${fe.utid}`,type:_e.s.HOME_ACCOUNT_ID}}catch(fe){z.logger.verbose("Could not parse client info for CCS Header: "+fe)}else Ie=U.ccsCredential;if(z.config.systemOptions.preventCorsPreflight&&Ie)switch(Ie.type){case _e.s.HOME_ACCOUNT_ID:try{const fe=(0,Oe.k)(Ie.credential);ae.addCcsOid(fe)}catch(fe){z.logger.verbose("Could not parse home account ID for CCS Header: "+fe)}break;case _e.s.UPN:ae.addCcsUpn(Ie.credential)}return U.tokenBodyParameters&&ae.addExtraQueryParameters(U.tokenBodyParameters),U.enableSpaAuthorizationCode&&(!U.tokenBodyParameters||!U.tokenBodyParameters[it.SS])&&ae.addExtraQueryParameters({[it.SS]:"1"}),ae.createQueryString()})()}createAuthCodeUrlQueryString(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateQueryString,U.correlationId);const ae=new Re.I;ae.addClientId(U.extraQueryParameters?.[it._k]||z.config.authOptions.clientId);const He=[...U.scopes||[],...U.extraScopesToConsent||[]];ae.addScopes(He,!0,z.oidcDefaultScopes),ae.addRedirectUri(U.redirectUri);const Ie=U.correlationId||z.config.cryptoInterface.createNewGuid();if(ae.addCorrelationId(Ie),ae.addResponseMode(U.responseMode),ae.addResponseTypeCode(),ae.addLibraryInfo(z.config.libraryInfo),(0,W.qW)(z.config)||ae.addApplicationTelemetry(z.config.telemetry.application),ae.addClientInfo(),U.codeChallenge&&U.codeChallengeMethod&&ae.addCodeChallengeParams(U.codeChallenge,U.codeChallengeMethod),U.prompt&&ae.addPrompt(U.prompt),U.domainHint&&ae.addDomainHint(U.domainHint),U.prompt!==l.GI.SELECT_ACCOUNT)if(U.sid&&U.prompt===l.GI.NONE)z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),ae.addSid(U.sid);else if(U.account){const fe=z.extractAccountSid(U.account),Te=z.extractLoginHint(U.account);if(Te){z.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),ae.addLoginHint(Te);try{const ot=(0,Oe.k)(U.account.homeAccountId);ae.addCcsOid(ot)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(fe&&U.prompt===l.GI.NONE){z.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),ae.addSid(fe);try{const ot=(0,Oe.k)(U.account.homeAccountId);ae.addCcsOid(ot)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(U.loginHint)z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),ae.addLoginHint(U.loginHint),ae.addCcsUpn(U.loginHint);else if(U.account.username){z.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),ae.addLoginHint(U.account.username);try{const ot=(0,Oe.k)(U.account.homeAccountId);ae.addCcsOid(ot)}catch{z.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else U.loginHint&&(z.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),ae.addLoginHint(U.loginHint),ae.addCcsUpn(U.loginHint));else z.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(U.nonce&&ae.addNonce(U.nonce),U.state&&ae.addState(U.state),(U.claims||z.config.authOptions.clientCapabilities&&z.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(U.claims,z.config.authOptions.clientCapabilities),U.extraQueryParameters&&ae.addExtraQueryParameters(U.extraQueryParameters),U.nativeBroker&&(ae.addNativeBroker(),U.authenticationScheme===l.me.POP)){const fe=new De.w(z.cryptoUtils),Te=yield(0,y.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,U.correlationId)(U,z.logger);ae.addPopToken(Te.reqCnfHash)}return ae.createQueryString()})()}createLogoutUrlQueryString(U){const z=new Re.I;return U.postLogoutRedirectUri&&z.addPostLogoutRedirectUri(U.postLogoutRedirectUri),U.correlationId&&z.addCorrelationId(U.correlationId),U.idTokenHint&&z.addIdTokenHint(U.idTokenHint),U.state&&z.addState(U.state),U.logoutHint&&z.addLogoutHint(U.logoutHint),U.extraQueryParameters&&z.addExtraQueryParameters(U.extraQueryParameters),z.createQueryString()}extractAccountSid(U){return U.idTokenClaims?.sid||null}extractLoginHint(U){return U.idTokenClaims?.login_hint||null}}class jt{constructor(U,z){this.cacheOutcome=l.Mf.NOT_APPLICABLE,this.cacheManager=z,this.apiId=U.apiId,this.correlationId=U.correlationId,this.wrapperSKU=U.wrapperSKU||l.Mv.EMPTY_STRING,this.wrapperVer=U.wrapperVer||l.Mv.EMPTY_STRING,this.telemetryCacheKey=l.ic.CACHE_KEY+l.Mj.CACHE_KEY_SEPARATOR+U.clientId}generateCurrentRequestHeaderValue(){const U=`${this.apiId}${l.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,z=[this.wrapperSKU,this.wrapperVer].join(l.ic.VALUE_SEPARATOR),He=[U,this.getRegionDiscoveryFields()].join(l.ic.VALUE_SEPARATOR);return[l.ic.SCHEMA_VERSION,He,z].join(l.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const U=this.getLastRequests(),z=jt.maxErrorsToSend(U),ae=U.failedRequests.slice(0,2*z).join(l.ic.VALUE_SEPARATOR),He=U.errors.slice(0,z).join(l.ic.VALUE_SEPARATOR),Ie=U.errors.length,Te=[Ie,z=l.ic.MAX_CACHED_ERRORS&&(z.failedRequests.shift(),z.failedRequests.shift(),z.errors.shift()),z.failedRequests.push(this.apiId,this.correlationId),U instanceof Error&&U&&U.toString()?z.errors.push(U instanceof M.WM?U.subError?U.subError:U.errorCode?U.errorCode:U.toString():U.toString()):z.errors.push(l.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,z)}incrementCacheHits(){const U=this.getLastRequests();return U.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,U),U.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const U=this.getLastRequests(),z=jt.maxErrorsToSend(U);if(z===U.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const He={failedRequests:U.failedRequests.slice(2*z),errors:U.errors.slice(z),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,He)}}static maxErrorsToSend(U){let z,ae=0,He=0;const Ie=U.errors.length;for(z=0;z0)&&He.addClaims(U.claims,z.config.authOptions.clientCapabilities),z.config.systemOptions.preventCorsPreflight&&U.ccsCredential)switch(U.ccsCredential.type){case _e.s.HOME_ACCOUNT_ID:try{const Ie=(0,Oe.k)(U.ccsCredential.credential);He.addCcsOid(Ie)}catch(Ie){z.logger.verbose("Could not parse home account ID for CCS Header: "+Ie)}break;case _e.s.UPN:He.addCcsUpn(U.ccsCredential.credential)}return U.tokenBodyParameters&&He.addExtraQueryParameters(U.tokenBodyParameters),He.createQueryString()})()}}class Mr extends Ne{constructor(U,z){super(U,z)}acquireToken(U){var z=this;return(0,n.c)(function*(){try{const[ae,He]=yield z.acquireCachedToken(U);return He===l.Mf.PROACTIVELY_REFRESHED&&(z.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(U).catch(()=>{})),ae}catch(ae){if(ae instanceof u.oJ&&ae.errorCode===A.tokenRefreshRequired)return new sr(z.config,z.performanceClient).acquireTokenByRefreshToken(U);throw ae}})()}acquireCachedToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientAcquireCachedToken,U.correlationId);let ae=l.Mf.NOT_APPLICABLE;if(U.forceRefresh||!z.config.cacheOptions.claimsBasedCachingEnabled&&!un.e.isEmptyObj(U.claims))throw z.setCacheOutcome(l.Mf.FORCE_REFRESH_OR_CLAIMS,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);if(!U.account)throw(0,u.mQ)(A.noAccountInSilentRequest);const He=U.account.tenantId||function j(on){const ae=new e._(on).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(ae){case l.sN.COMMON:case l.sN.ORGANIZATIONS:case l.sN.CONSUMERS:return;default:return ae}}(U.authority),Ie=z.cacheManager.getTokenKeys(),fe=z.cacheManager.getAccessToken(U.account,U,Ie,He,z.performanceClient,U.correlationId);if(!fe)throw z.setCacheOutcome(l.Mf.NO_CACHED_ACCESS_TOKEN,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);if((0,Sn.G4)(fe.cachedAt)||(0,Sn.WY)(fe.expiresOn,z.config.systemOptions.tokenRenewalOffsetSeconds))throw z.setCacheOutcome(l.Mf.CACHED_ACCESS_TOKEN_EXPIRED,U.correlationId),(0,u.mQ)(A.tokenRefreshRequired);fe.refreshOn&&(0,Sn.WY)(fe.refreshOn,0)&&(ae=l.Mf.PROACTIVELY_REFRESHED);const Te=U.authority||z.authority.getPreferredCache(),ot={account:z.cacheManager.readAccountFromCache(U.account),accessToken:fe,idToken:z.cacheManager.getIdToken(U.account,Ie,He,z.performanceClient,U.correlationId),refreshToken:null,appMetadata:z.cacheManager.readAppMetadataFromCache(Te)};return z.setCacheOutcome(ae,U.correlationId),z.config.serverTelemetryManager&&z.config.serverTelemetryManager.incrementCacheHits(),[yield(0,y.C)(z.generateResultFromCacheRecord.bind(z),f.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.logger,z.performanceClient,U.correlationId)(ot,U),ae]})()}setCacheOutcome(U,z){this.serverTelemetryManager?.setCacheOutcome(U),this.performanceClient?.addFields({cacheOutcome:U},z),U!==l.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${U}`)}generateResultFromCacheRecord(U,z){var ae=this;return(0,n.c)(function*(){let He;if(ae.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientGenerateResultFromCacheRecord,z.correlationId),U.idToken&&(He=(0,Pe.aw)(U.idToken.secret,ae.config.cryptoInterface.base64Decode)),z.maxAge||0===z.maxAge){const Ie=He?.auth_time;if(!Ie)throw(0,u.mQ)(A.authTimeNotFound);(0,Pe.UH)(Ie,z.maxAge)}return Ut.generateAuthenticationResult(ae.cryptoUtils,ae.authority,U,!0,z,He)})()}}class br extends pn{acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentCacheClientAcquireToken,U.correlationId);const ae=z.initializeServerTelemetryManager(G.Ed.acquireTokenSilent_silentFlow),He=yield z.createSilentFlowClient(ae,U.authority,U.azureCloudOptions,U.account);z.logger.verbose("Silent auth client created");try{const fe=(yield(0,y.C)(He.acquireCachedToken.bind(He),f.Xv.SilentFlowClientAcquireCachedToken,z.logger,z.performanceClient,U.correlationId)(U))[0];return z.performanceClient.addFields({fromCache:!0},U.correlationId),fe}catch(Ie){throw Ie instanceof Ce.G&&Ie.errorCode===Je.cryptoKeyNotFound&&z.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),Ie}})()}logout(U){this.logger.verbose("logoutRedirect called");const z=this.initializeLogoutRequest(U);return this.clearCacheOnLogout(z?.account)}createSilentFlowClient(U,z,ae,He){var Ie=this;return(0,n.c)(function*(){const fe=yield(0,y.C)(Ie.getClientConfiguration.bind(Ie),f.Xv.StandardInteractionClientGetClientConfiguration,Ie.logger,Ie.performanceClient,Ie.correlationId)(U,z,ae,He);return new Mr(fe,Ie.performanceClient)})()}initializeSilentRequest(U,z){var ae=this;return(0,n.c)(function*(){ae.performanceClient.addQueueMeasurement(f.Xv.InitializeSilentRequest,ae.correlationId);const He=yield(0,y.C)(ae.initializeBaseRequest.bind(ae),f.Xv.InitializeBaseRequest,ae.logger,ae.performanceClient,ae.correlationId)(U);return{...U,...He,account:z,forceRefresh:U.forceRefresh||!1}})()}}var Jn=o(55084);class oi extends ye{constructor(U,z,ae,He,Ie,fe,Te,ot,ht,Ct,Lt,Kt){super(U,z,ae,He,Ie,fe,ot,ht,Kt),this.apiId=Te,this.accountId=Ct,this.nativeMessageHandler=ht,this.nativeStorageManager=Lt,this.silentCacheClient=new br(U,this.nativeStorageManager,ae,He,Ie,fe,ot,ht,Kt)}acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.NativeInteractionClientAcquireToken,U.correlationId),z.logger.trace("NativeInteractionClient - acquireToken called.");const ae=z.performanceClient.startMeasurement(f.Xv.NativeInteractionClientAcquireToken,U.correlationId),He=Sn.GO(),Ie=yield z.initializeNativeRequest(U);try{const ht=yield z.acquireTokensFromCache(z.accountId,Ie);return ae.end({success:!0,isNativeBroker:!1,fromCache:!0}),ht}catch{z.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const fe={method:G.Ce.GetToken,request:Ie},Te=yield z.nativeMessageHandler.sendMessage(fe),ot=z.validateNativeResponse(Te);return z.handleNativeResponse(ot,Ie,He).then(ht=>(ae.end({success:!0,isNativeBroker:!0,requestId:ht.requestId}),ht)).catch(ht=>{throw ae.end({success:!1,errorCode:ht.errorCode,subErrorCode:ht.subError,isNativeBroker:!0}),ht})})()}createSilentCacheRequest(U,z){return{authority:U.authority,correlationId:this.correlationId,scopes:qe.k.fromString(U.scope).asArray(),account:z,forceRefresh:!1}}acquireTokensFromCache(U,z){var ae=this;return(0,n.c)(function*(){if(!U)throw ae.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,u.mQ)(A.noAccountFound);const He=ae.browserStorage.getBaseAccountInfo({nativeAccountId:U});if(!He)throw(0,u.mQ)(A.noAccountFound);try{const Ie=ae.createSilentCacheRequest(z,He),fe=yield ae.silentCacheClient.acquireToken(Ie),Te={...He,idTokenClaims:fe?.idTokenClaims,idToken:fe?.idToken};return{...fe,account:Te}}catch(Ie){throw Ie}})()}acquireTokenRedirect(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const ae=yield z.initializeNativeRequest(U),He={method:G.Ce.GetToken,request:ae};try{const Te=yield z.nativeMessageHandler.sendMessage(He);z.validateNativeResponse(Te)}catch(Te){if(Te instanceof qt&&nr(Te))throw Te}z.browserStorage.setTemporaryCache(G.zH.NATIVE_REQUEST,JSON.stringify(ae),!0);const Ie={apiId:G.Ed.acquireTokenRedirect,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},fe=z.config.auth.navigateToLoginRequestUrl?window.location.href:z.getRedirectUri(U.redirectUri);yield z.navigationClient.navigateExternal(fe,Ie)})()}handleRedirectPromise(U,z){var ae=this;return(0,n.c)(function*(){if(ae.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!ae.browserStorage.isInteractionInProgress(!0))return ae.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const He=ae.browserStorage.getCachedNativeRequest();if(!He)return ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),U&&z&&U?.addFields({errorCode:"no_cached_request"},z),null;const{prompt:Ie,...fe}=He;Ie&&ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),ae.browserStorage.removeItem(ae.browserStorage.generateCacheKey(G.zH.NATIVE_REQUEST));const Te={method:G.Ce.GetToken,request:fe},ot=Sn.GO();try{ae.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const ht=yield ae.nativeMessageHandler.sendMessage(Te);ae.validateNativeResponse(ht);const Ct=ae.handleNativeResponse(ht,fe,ot);return ae.browserStorage.setInteractionInProgress(!1),yield Ct}catch(ht){throw ae.browserStorage.setInteractionInProgress(!1),ht}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(U,z,ae){var He=this;return(0,n.c)(function*(){He.logger.trace("NativeInteractionClient - handleNativeResponse called.");const Ie=Pe.aw(U.id_token,Jn.W),fe=He.createHomeAccountIdentifier(U,Ie),Te=He.browserStorage.getAccountInfoFilteredBy({nativeAccountId:z.accountId})?.homeAccountId;if(fe!==Te&&U.account.id!==z.accountId)throw kr(er);const ot=yield He.getDiscoveredAuthority(z.authority),ht=sn(He.browserStorage,ot,fe,Ie,Jn.W,U.client_info,void 0,Ie.tid,void 0,U.account.id,He.logger),Ct=yield He.generateAuthenticationResult(U,z,Ie,ht,ot.canonicalAuthority,ae);return He.cacheAccount(ht),He.cacheNativeTokens(U,z,fe,Ie,Ct.accessToken,Ct.tenantId,ae),Ct})()}createHomeAccountIdentifier(U,z){return N.M.generateHomeAccountId(U.client_info||l.Mv.EMPTY_STRING,a.O.Default,this.logger,this.browserCrypto,z)}generateScopes(U,z){return qe.k.fromString(U.scope?U.scope:z.scope)}generatePopAccessToken(U,z){var ae=this;return(0,n.c)(function*(){if(z.tokenType===l.me.POP){if(U.shr)return ae.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),U.shr;const He=new De.w(ae.browserCrypto),Ie={resourceRequestMethod:z.resourceRequestMethod,resourceRequestUri:z.resourceRequestUri,shrClaims:z.shrClaims,shrNonce:z.shrNonce};if(!z.keyId)throw(0,u.mQ)(A.keyIdMissing);return He.signPopToken(U.access_token,z.keyId,Ie)}return U.access_token})()}generateAuthenticationResult(U,z,ae,He,Ie,fe){var Te=this;return(0,n.c)(function*(){const ot=Te.addTelemetryFromNativeResponse(U),ht=qe.k.fromString(U.scope?U.scope:z.scope),Ct=U.account.properties||{},Lt=Ct.UID||ae.oid||ae.sub||l.Mv.EMPTY_STRING,Kt=Ct.TenantId||ae.tid||l.Mv.EMPTY_STRING,dn=(0,Qe.Ho)(He.getAccountInfo(),void 0,ae,U.id_token);dn.nativeAccountId!==U.account.id&&(dn.nativeAccountId=U.account.id);const fn=yield Te.generatePopAccessToken(U,z),mn=z.tokenType===l.me.POP?l.me.POP:l.me.BEARER;return{authority:Ie,uniqueId:Lt,tenantId:Kt,scopes:ht.asArray(),account:dn,idToken:U.id_token,idTokenClaims:ae,accessToken:fn,fromCache:!!ot&&Te.isResponseFromCache(ot),expiresOn:new Date(1e3*Number(fe+U.expires_in)),tokenType:mn,correlationId:Te.correlationId,state:U.state,fromNativeBroker:!0}})()}cacheAccount(U){this.browserStorage.setAccount(U),this.browserStorage.removeAccountContext(U).catch(z=>{this.logger.error(`Error occurred while removing account context from browser storage. ${z}`)})}cacheNativeTokens(U,z,ae,He,Ie,fe,Te){const ot=w.YF(ae,z.authority,U.id_token||"",z.clientId,He.tid||""),Ct=Te+(z.tokenType===l.me.POP?l.Mv.SHR_NONCE_VALIDITY:("string"==typeof U.expires_in?parseInt(U.expires_in,10):U.expires_in)||0),Lt=this.generateScopes(U,z),Kt=w.MJ(ae,z.authority,Ie,z.clientId,He.tid||fe,Lt.printScopes(),Ct,0,Jn.W),dn=new et.O(void 0,ot,Kt);this.nativeStorageManager.saveCacheRecord(dn,z.storeInCache)}addTelemetryFromNativeResponse(U){const z=this.getMATSFromResponse(U);return z?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:z.broker_version,matsAccountJoinOnStart:z.account_join_on_start,matsAccountJoinOnEnd:z.account_join_on_end,matsDeviceJoin:z.device_join,matsPromptBehavior:z.prompt_behavior,matsApiErrorCode:z.api_error_code,matsUiVisible:z.ui_visible,matsSilentCode:z.silent_code,matsSilentBiSubCode:z.silent_bi_sub_code,matsSilentMessage:z.silent_message,matsSilentStatus:z.silent_status,matsHttpStatus:z.http_status,matsHttpEventCount:z.http_event_count},this.correlationId),z):null}validateNativeResponse(U){if(U.hasOwnProperty("access_token")&&U.hasOwnProperty("id_token")&&U.hasOwnProperty("client_info")&&U.hasOwnProperty("account")&&U.hasOwnProperty("scope")&&U.hasOwnProperty("expires_in"))return U;throw(0,M.Ub)(Vn.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(U){if(U.properties.MATS)try{return JSON.parse(U.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(U){return typeof U.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!U.is_cached}initializeNativeRequest(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeInteractionClient - initializeNativeRequest called");const ae=U.authority||z.config.auth.authority;U.account&&(yield z.getDiscoveredAuthority(ae,U.azureCloudOptions,U.account));const He=new e._(ae);He.validateAsUri();const{scopes:Ie,...fe}=U,Te=new qe.k(Ie||[]);Te.appendScopes(l.ac);const ht={...fe,accountId:z.accountId,clientId:z.config.auth.clientId,authority:He.urlString,scope:Te.printScopes(),redirectUri:z.getRedirectUri(U.redirectUri),prompt:(()=>{switch(z.apiId){case G.Ed.ssoSilent:case G.Ed.acquireTokenSilent_silentFlow:return z.logger.trace("initializeNativeRequest: silent request sets prompt to none"),l.GI.NONE}if(U.prompt)switch(U.prompt){case l.GI.NONE:case l.GI.CONSENT:case l.GI.LOGIN:return z.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),U.prompt;default:throw z.logger.trace(`initializeNativeRequest: prompt = ${U.prompt} is not compatible with native flow`),(0,Ce.Wq)(Je.nativePromptNotSupported)}else z.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:z.correlationId,tokenType:U.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...U.extraQueryParameters,...U.tokenQueryParameters},extendedExpiryToken:!1};if(z.handleExtraBrokerParams(ht),ht.extraParameters=ht.extraParameters||{},ht.extraParameters.telemetry=G.sJ.MATS_TELEMETRY,U.authenticationScheme===l.me.POP){const Ct={resourceRequestUri:U.resourceRequestUri,resourceRequestMethod:U.resourceRequestMethod,shrClaims:U.shrClaims,shrNonce:U.shrNonce},Lt=new De.w(z.browserCrypto),Kt=yield(0,y.C)(Lt.generateCnf.bind(Lt),f.Xv.PopTokenGenerateCnf,z.logger,z.performanceClient,z.correlationId)(Ct,z.logger);ht.reqCnf=Kt.reqCnfHash,ht.keyId=Kt.kid}return ht})()}handleExtraBrokerParams(U){if(U.extraParameters&&U.extraParameters.hasOwnProperty("brk_client_id")&&U.extraParameters.hasOwnProperty("brk_redirect_uri")&&U.extraParameters.hasOwnProperty(it._k)){const He=U.extraParameters.brk_redirect_uri;U.extraParameters={child_client_id:U.extraParameters[it._k],child_redirect_uri:U.redirectUri},U.redirectUri=He}}}class Sr{constructor(U,z,ae,He){this.logger=U,this.handshakeTimeoutMs=z,this.extensionId=He,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=ae,this.handshakeEvent=ae.startMeasurement(f.Xv.NativeMessageHandlerHandshake)}sendMessage(U){var z=this;return(0,n.c)(function*(){z.logger.trace("NativeMessageHandler - sendMessage called.");const ae={channel:G.sJ.CHANNEL_ID,extensionId:z.extensionId,responseId:(0,Ee.E5)(),body:U};return z.logger.trace("NativeMessageHandler - Sending request to browser extension"),z.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(ae)}`),z.messageChannel.port1.postMessage(ae),new Promise((He,Ie)=>{z.resolvers.set(ae.responseId,{resolve:He,reject:Ie})})})()}static createProvider(U,z,ae){return(0,n.c)(function*(){U.trace("NativeMessageHandler - createProvider called.");try{const He=new Sr(U,z,ae,G.sJ.PREFERRED_EXTENSION_ID);return yield He.sendHandshakeRequest(),He}catch{const Ie=new Sr(U,z,ae);return yield Ie.sendHandshakeRequest(),Ie}})()}sendHandshakeRequest(){var U=this;return(0,n.c)(function*(){U.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",U.windowListener,!1);const z={channel:G.sJ.CHANNEL_ID,extensionId:U.extensionId,responseId:(0,Ee.E5)(),body:{method:G.Ce.HandshakeRequest}};return U.handshakeEvent.add({extensionId:U.extensionId,extensionHandshakeTimeoutMs:U.handshakeTimeoutMs}),U.messageChannel.port1.onmessage=ae=>{U.onChannelMessage(ae)},window.postMessage(z,window.origin,[U.messageChannel.port2]),new Promise((ae,He)=>{U.handshakeResolvers.set(z.responseId,{resolve:ae,reject:He}),U.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",U.windowListener,!1),U.messageChannel.port1.close(),U.messageChannel.port2.close(),U.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),He((0,Ce.Wq)(Je.nativeHandshakeTimeout)),U.handshakeResolvers.delete(z.responseId)},U.handshakeTimeoutMs)})})()}onWindowMessage(U){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),U.source!==window)return;const z=U.data;if(z.channel&&z.channel===G.sJ.CHANNEL_ID&&(!z.extensionId||z.extensionId===this.extensionId)&&z.body.method===G.Ce.HandshakeRequest){const ae=this.handshakeResolvers.get(z.responseId);if(!ae)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${z.responseId}`);this.logger.verbose(z.extensionId?`Extension with id: ${z.extensionId} not installed`:"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),ae.reject((0,Ce.Wq)(Je.nativeExtensionNotInstalled))}}onChannelMessage(U){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const z=U.data,ae=this.resolvers.get(z.responseId),He=this.handshakeResolvers.get(z.responseId);try{const Ie=z.body.method;if(Ie===G.Ce.Response){if(!ae)return;const fe=z.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(fe)}`),"Success"!==fe.status)ae.reject(kr(fe.code,fe.description,fe.ext));else{if(!fe.result)throw(0,M.Ub)(Vn.unexpectedError,"Event does not contain result.");fe.result.code&&fe.result.description?ae.reject(kr(fe.result.code,fe.result.description,fe.result.ext)):ae.resolve(fe.result)}this.resolvers.delete(z.responseId)}else if(Ie===G.Ce.HandshakeResponse){if(!He)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${z.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=z.extensionId,this.extensionVersion=z.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),He.resolve(),this.handshakeResolvers.delete(z.responseId)}}catch(Ie){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${Ie}`),this.logger.errorPii(`Unable to parse ${U}`),ae?ae.reject(Ie):He&&He.reject(Ie)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(U,z,ae,He){if(z.trace("isNativeAvailable called"),!U.system.allowNativeBroker)return z.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!ae)return z.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(He)switch(He){case l.me.BEARER:case l.me.POP:return z.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return z.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class pr{constructor(U,z,ae,He,Ie){this.authModule=U,this.browserStorage=z,this.authCodeRequest=ae,this.logger=He,this.performanceClient=Ie}handleCodeResponse(U,z){var ae=this;return(0,n.c)(function*(){let He;ae.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponse,z.correlationId);try{He=ae.authModule.handleFragmentResponse(U,z.state)}catch(Ie){throw Ie instanceof Z.s&&Ie.subError===Je.userCancelled?(0,Ce.Wq)(Je.userCancelled):Ie}return(0,y.C)(ae.handleCodeResponseFromServer.bind(ae),f.Xv.HandleCodeResponseFromServer,ae.logger,ae.performanceClient,z.correlationId)(He,z)})()}handleCodeResponseFromServer(U,z,ae=!0){var He=this;return(0,n.c)(function*(){if(He.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponseFromServer,z.correlationId),He.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),He.authCodeRequest.code=U.code,U.cloud_instance_host_name&&(yield(0,y.C)(He.authModule.updateAuthority.bind(He.authModule),f.Xv.UpdateTokenEndpointAuthority,He.logger,He.performanceClient,z.correlationId)(U.cloud_instance_host_name,z.correlationId)),ae&&(U.nonce=z.nonce||void 0),U.state=z.state,U.client_info)He.authCodeRequest.clientInfo=U.client_info;else{const fe=He.createCcsCredentials(z);fe&&(He.authCodeRequest.ccsCredential=fe)}return yield(0,y.C)(He.authModule.acquireToken.bind(He.authModule),f.Xv.AuthClientAcquireToken,He.logger,He.performanceClient,z.correlationId)(He.authCodeRequest,U)})()}createCcsCredentials(U){return U.account?{credential:U.account.homeAccountId,type:_e.s.HOME_ACCOUNT_ID}:U.loginHint?{credential:U.loginHint,type:_e.s.UPN}:null}}var Xn=o(33680),qn=o(99632);function Or(on,U,z){const ae=Xn.u(on);if(!ae)throw Xn.w(on)?(z.error(`A ${U} is present in the iframe but it does not contain known properties. It's likely that the ${U} has been replaced by code running on the redirectUri page.`),z.errorPii(`The ${U} detected is: ${on}`),(0,Ce.Wq)(Je.hashDoesNotContainKnownProperties)):(z.error(`The request has returned to the redirectUri but a ${U} is not present. It's likely that the ${U} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,Ce.Wq)(Je.hashEmptyError));return ae}class Qt extends pn{constructor(U,z,ae,He,Ie,fe,Te,ot,ht,Ct){super(U,z,ae,He,Ie,fe,Te,ht,Ct),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=ot}acquireToken(U){try{const z=this.generatePopupName(U.scopes||l.ac,U.authority||this.config.auth.authority),ae=U.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(U,z,ae);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const He=this.openSizedPopup("about:blank",z,ae);return this.acquireTokenPopupAsync(U,z,ae,He)}}catch(z){return Promise.reject(z)}}logout(U){try{this.logger.verbose("logoutPopup called");const z=this.initializeLogoutRequest(U),ae=this.generateLogoutPopupName(z),He=U&&U.authority,Ie=U&&U.mainWindowRedirectUri,fe=U?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(z,ae,fe,He,void 0,Ie);{this.logger.verbose("asyncPopup set to false, opening popup");const Te=this.openSizedPopup("about:blank",ae,fe);return this.logoutPopupAsync(z,ae,fe,He,Te,Ie)}}catch(z){return Promise.reject(z)}}acquireTokenPopupAsync(U,z,ae,He){var Ie=this;return(0,n.c)(function*(){Ie.logger.verbose("acquireTokenPopupAsync called");const fe=Ie.initializeServerTelemetryManager(G.Ed.acquireTokenPopup),Te=yield(0,y.C)(Ie.initializeAuthorizationRequest.bind(Ie),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,Ie.logger,Ie.performanceClient,Ie.correlationId)(U,G.wV.Popup);(0,te.preconnect)(Te.authority);try{const ot=yield(0,y.C)(Ie.initializeAuthorizationCodeRequest.bind(Ie),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Ie.logger,Ie.performanceClient,Ie.correlationId)(Te),ht=yield(0,y.C)(Ie.createAuthCodeClient.bind(Ie),f.Xv.StandardInteractionClientCreateAuthCodeClient,Ie.logger,Ie.performanceClient,Ie.correlationId)(fe,Te.authority,Te.azureCloudOptions,Te.account),Ct=Sr.isNativeAvailable(Ie.config,Ie.logger,Ie.nativeMessageHandler,U.authenticationScheme);let Lt;Ct&&(Lt=Ie.performanceClient.startMeasurement(f.Xv.FetchAccountIdWithNativeBroker,U.correlationId));const Kt=yield ht.getAuthCodeUrl({...Te,nativeBroker:Ct}),dn=new pr(ht,Ie.browserStorage,ot,Ie.logger,Ie.performanceClient),mn=Ie.initiateAuthRequest(Kt,{popup:He,popupName:z,popupWindowAttributes:ae});Ie.eventHandler.emitEvent(ce.W.POPUP_OPENED,G.wV.Popup,{popupWindow:mn},null);const ln=yield Ie.monitorPopupForHash(mn),Yt=(0,y.q)(Or,f.Xv.DeserializeResponse,Ie.logger,Ie.performanceClient,Ie.correlationId)(ln,Ie.config.auth.OIDCOptions.serverResponseType,Ie.logger);if(re.removeThrottle(Ie.browserStorage,Ie.config.auth.clientId,ot),Yt.accountId){if(Ie.logger.verbose("Account id found in hash, calling WAM for token"),Lt&&Lt.end({success:!0,isNativeBroker:!0}),!Ie.nativeMessageHandler)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);const lr=new oi(Ie.config,Ie.browserStorage,Ie.browserCrypto,Ie.logger,Ie.eventHandler,Ie.navigationClient,G.Ed.acquireTokenPopup,Ie.performanceClient,Ie.nativeMessageHandler,Yt.accountId,Ie.nativeStorage,Te.correlationId),{userRequestState:cr}=X.c.parseRequestState(Ie.browserCrypto,Te.state);return yield lr.acquireToken({...Te,state:cr,prompt:void 0})}return yield dn.handleCodeResponse(Yt,Te)}catch(ot){throw He&&He.close(),ot instanceof M.WM&&(ot.setCorrelationId(Ie.correlationId),fe.cacheFailedRequest(ot)),ot}})()}logoutPopupAsync(U,z,ae,He,Ie,fe){var Te=this;return(0,n.c)(function*(){Te.logger.verbose("logoutPopupAsync called"),Te.eventHandler.emitEvent(ce.W.LOGOUT_START,G.wV.Popup,U);const ot=Te.initializeServerTelemetryManager(G.Ed.logoutPopup);try{yield Te.clearCacheOnLogout(U.account);const Ct=(yield(0,y.C)(Te.createAuthCodeClient.bind(Te),f.Xv.StandardInteractionClientCreateAuthCodeClient,Te.logger,Te.performanceClient,Te.correlationId)(ot,He,void 0,U.account||void 0)).getLogoutUri(U);Te.eventHandler.emitEvent(ce.W.LOGOUT_SUCCESS,G.wV.Popup,U);const Lt=Te.openPopup(Ct,{popupName:z,popupWindowAttributes:ae,popup:Ie});if(Te.eventHandler.emitEvent(ce.W.POPUP_OPENED,G.wV.Popup,{popupWindow:Lt},null),yield Te.monitorPopupForHash(Lt).catch(()=>{}),fe){const Kt={apiId:G.Ed.logoutPopup,timeout:Te.config.system.redirectNavigationTimeout,noHistory:!1},dn=e._.getAbsoluteUrl(fe,(0,te.getCurrentUri)());Te.logger.verbose("Redirecting main window to url specified in the request"),Te.logger.verbosePii(`Redirecting main window to: ${dn}`),yield Te.navigationClient.navigateInternal(dn,Kt)}else Te.logger.verbose("No main window navigation requested")}catch(ht){throw Ie&&Ie.close(),ht instanceof M.WM&&(ht.setCorrelationId(Te.correlationId),ot.cacheFailedRequest(ht)),Te.browserStorage.setInteractionInProgress(!1),Te.eventHandler.emitEvent(ce.W.LOGOUT_FAILURE,G.wV.Popup,null,ht),Te.eventHandler.emitEvent(ce.W.LOGOUT_END,G.wV.Popup),ht}Te.eventHandler.emitEvent(ce.W.LOGOUT_END,G.wV.Popup)})()}initiateAuthRequest(U,z){if(U)return this.logger.infoPii(`Navigate to: ${U}`),this.openPopup(U,z);throw this.logger.error("Navigate url is empty"),(0,Ce.Wq)(Je.emptyNavigateUri)}monitorPopupForHash(U){return new Promise((z,ae)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const He=setInterval(()=>{if(U.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(He),void ae((0,Ce.Wq)(Je.userCancelled));let Ie="";try{Ie=U.location.href}catch{}if(!Ie||"about:blank"===Ie)return;clearInterval(He);let fe="";U&&(fe=this.config.auth.OIDCOptions.serverResponseType===l.eE.QUERY?U.location.search:U.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),z(fe)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(U)})}openPopup(U,z){try{let ae;if(z.popup?(ae=z.popup,this.logger.verbosePii(`Navigating popup window to: ${U}`),ae.location.assign(U)):typeof z.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${U}`),ae=this.openSizedPopup(U,z.popupName,z.popupWindowAttributes)),!ae)throw(0,Ce.Wq)(Je.emptyWindowError);return ae.focus&&ae.focus(),this.currentWindow=ae,window.addEventListener("beforeunload",this.unloadWindow),ae}catch(ae){throw this.logger.error("error opening popup "+ae.message),this.browserStorage.setInteractionInProgress(!1),(0,Ce.Wq)(Je.popupWindowError)}}openSizedPopup(U,z,ae){const He=window.screenLeft?window.screenLeft:window.screenX,Ie=window.screenTop?window.screenTop:window.screenY,fe=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Te=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let ot=ae.popupSize?.width,ht=ae.popupSize?.height,Ct=ae.popupPosition?.top,Lt=ae.popupPosition?.left;return(!ot||ot<0||ot>fe)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),ot=G.ig.POPUP_WIDTH),(!ht||ht<0||ht>Te)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),ht=G.ig.POPUP_HEIGHT),(!Ct||Ct<0||Ct>Te)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),Ct=Math.max(0,Te/2-G.ig.POPUP_HEIGHT/2+Ie)),(!Lt||Lt<0||Lt>fe)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Lt=Math.max(0,fe/2-G.ig.POPUP_WIDTH/2+He)),window.open(U,z,`width=${ot}, height=${ht}, top=${Ct}, left=${Lt}, scrollbars=yes`)}unloadWindow(U){this.browserStorage.cleanRequestByInteractionType(G.wV.Popup),this.currentWindow&&this.currentWindow.close(),U.preventDefault()}cleanPopup(U){U&&U.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(U,z){return`${G.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${U.join("-")}.${z}.${this.correlationId}`}generateLogoutPopupName(U){return`${G.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${U.account&&U.account.homeAccountId}.${this.correlationId}`}}class Rn{constructor(U,z,ae,He,Ie){this.authModule=U,this.browserStorage=z,this.authCodeRequest=ae,this.logger=He,this.performanceClient=Ie}initiateAuthRequest(U,z){var ae=this;return(0,n.c)(function*(){if(ae.logger.verbose("RedirectHandler.initiateAuthRequest called"),U){z.redirectStartPage&&(ae.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),ae.browserStorage.setTemporaryCache(G.zH.ORIGIN_URI,z.redirectStartPage,!0)),ae.browserStorage.setTemporaryCache(G.zH.CORRELATION_ID,ae.authCodeRequest.correlationId,!0),ae.browserStorage.cacheCodeRequest(ae.authCodeRequest),ae.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${U}`);const He={apiId:G.Ed.acquireTokenRedirect,timeout:z.redirectTimeout,noHistory:!1};return"function"==typeof z.onRedirectNavigate?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==z.onRedirectNavigate(U)?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield z.navigationClient.navigateExternal(U,He))):void ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield z.navigationClient.navigateExternal(U,He)))}throw ae.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,Ce.Wq)(Je.emptyNavigateUri)})()}handleCodeResponse(U,z){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("RedirectHandler.handleCodeResponse called"),ae.browserStorage.setInteractionInProgress(!1);const He=ae.browserStorage.generateStateKey(z),Ie=ae.browserStorage.getTemporaryCache(He);if(!Ie)throw(0,u.mQ)(A.stateNotFound,"Cached State");let fe;try{fe=ae.authModule.handleFragmentResponse(U,Ie)}catch(Ct){throw Ct instanceof Z.s&&Ct.subError===Je.userCancelled?(0,Ce.Wq)(Je.userCancelled):Ct}const Te=ae.browserStorage.generateNonceKey(Ie),ot=ae.browserStorage.getTemporaryCache(Te);if(ae.authCodeRequest.code=fe.code,fe.cloud_instance_host_name&&(yield(0,y.C)(ae.authModule.updateAuthority.bind(ae.authModule),f.Xv.UpdateTokenEndpointAuthority,ae.logger,ae.performanceClient,ae.authCodeRequest.correlationId)(fe.cloud_instance_host_name,ae.authCodeRequest.correlationId)),fe.nonce=ot||void 0,fe.state=Ie,fe.client_info)ae.authCodeRequest.clientInfo=fe.client_info;else{const Ct=ae.checkCcsCredentials();Ct&&(ae.authCodeRequest.ccsCredential=Ct)}const ht=yield ae.authModule.acquireToken(ae.authCodeRequest,fe);return ae.browserStorage.cleanRequestByState(z),ht})()}checkCcsCredentials(){const U=this.browserStorage.getTemporaryCache(G.zH.CCS_CREDENTIAL,!0);if(U)try{return JSON.parse(U)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${U}`)}return null}}class Kn extends pn{constructor(U,z,ae,He,Ie,fe,Te,ot,ht,Ct){super(U,z,ae,He,Ie,fe,Te,ht,Ct),this.nativeStorage=ot}acquireToken(U){var z=this;return(0,n.c)(function*(){const ae=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,z.correlationId)(U,G.wV.Redirect);z.browserStorage.updateCacheEntries(ae.state,ae.nonce,ae.authority,ae.loginHint||"",ae.account||null);const He=z.initializeServerTelemetryManager(G.Ed.acquireTokenRedirect),Ie=fe=>{fe.persisted&&(z.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),z.browserStorage.cleanRequestByState(ae.state),z.eventHandler.emitEvent(ce.W.RESTORE_FROM_BFCACHE,G.wV.Redirect))};try{const fe=yield(0,y.C)(z.initializeAuthorizationCodeRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,z.logger,z.performanceClient,z.correlationId)(ae),Te=yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(He,ae.authority,ae.azureCloudOptions,ae.account),ot=new Rn(Te,z.browserStorage,fe,z.logger,z.performanceClient),ht=yield Te.getAuthCodeUrl({...ae,nativeBroker:Sr.isNativeAvailable(z.config,z.logger,z.nativeMessageHandler,U.authenticationScheme)}),Ct=z.getRedirectStartPage(U.redirectStartPage);return z.logger.verbosePii(`Redirect start page: ${Ct}`),window.addEventListener("pageshow",Ie),yield ot.initiateAuthRequest(ht,{navigationClient:z.navigationClient,redirectTimeout:z.config.system.redirectNavigationTimeout,redirectStartPage:Ct,onRedirectNavigate:U.onRedirectNavigate})}catch(fe){throw fe instanceof M.WM&&(fe.setCorrelationId(z.correlationId),He.cacheFailedRequest(fe)),window.removeEventListener("pageshow",Ie),z.browserStorage.cleanRequestByState(ae.state),fe}})()}handleRedirectPromise(U,z,ae){var He=this;return(0,n.c)(function*(){const Ie=He.initializeServerTelemetryManager(G.Ed.handleRedirectPromise);try{if(!He.browserStorage.isInteractionInProgress(!0))return He.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[fe,Te]=He.getRedirectResponse(U||"");if(!fe)return He.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),He.browserStorage.cleanRequestByInteractionType(G.wV.Redirect),z&&ae&&z?.addFields({errorCode:"no_server_response"},ae),null;const ot=He.browserStorage.getTemporaryCache(G.zH.ORIGIN_URI,!0)||l.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(ot)===e._.removeHashFromUrl(window.location.href)&&He.config.auth.navigateToLoginRequestUrl)return He.logger.verbose("Current page is loginRequestUrl, handling response"),ot.indexOf("#")>-1&&(0,te.replaceHash)(ot),yield He.handleResponse(fe,Ie);if(!He.config.auth.navigateToLoginRequestUrl)return He.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield He.handleResponse(fe,Ie);if(!(0,te.isInIframe)()||He.config.system.allowRedirectInIframe){He.browserStorage.setTemporaryCache(G.zH.URL_HASH,Te,!0);const Lt={apiId:G.Ed.handleRedirectPromise,timeout:He.config.system.redirectNavigationTimeout,noHistory:!0};let Kt=!0;if(ot&&"null"!==ot)He.logger.verbose(`Navigating to loginRequestUrl: ${ot}`),Kt=yield He.navigationClient.navigateInternal(ot,Lt);else{const dn=(0,te.getHomepage)();He.browserStorage.setTemporaryCache(G.zH.ORIGIN_URI,dn,!0),He.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),Kt=yield He.navigationClient.navigateInternal(dn,Lt)}if(!Kt)return yield He.handleResponse(fe,Ie)}return null}catch(fe){throw fe instanceof M.WM&&(fe.setCorrelationId(He.correlationId),Ie.cacheFailedRequest(fe)),He.browserStorage.cleanRequestByInteractionType(G.wV.Redirect),fe}})()}getRedirectResponse(U){this.logger.verbose("getRedirectResponseHash called");let z=U;z||(z=this.config.auth.OIDCOptions.serverResponseType===l.eE.QUERY?window.location.search:window.location.hash);let ae=Xn.u(z);if(ae){try{!function pi(on,U,z){if(!on.state)throw(0,Ce.Wq)(Je.noStateInHash);const ae=(0,qn.Q)(U,on.state);if(!ae)throw(0,Ce.Wq)(Je.unableToParseState);if(ae.interactionType!==z)throw(0,Ce.Wq)(Je.stateInteractionTypeMismatch)}(ae,this.browserCrypto,G.wV.Redirect)}catch(Ie){return Ie instanceof M.WM&&this.logger.error(`Interaction type validation failed due to ${Ie.errorCode}: ${Ie.errorMessage}`),[null,""]}return(0,te.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[ae,z]}const He=this.browserStorage.getTemporaryCache(G.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(G.zH.URL_HASH)),He&&(ae=Xn.u(He),ae)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[ae,He]):[null,""]}handleResponse(U,z){var ae=this;return(0,n.c)(function*(){const He=U.state;if(!He)throw(0,Ce.Wq)(Je.noStateInHash);const Ie=ae.browserStorage.getCachedRequest(He);if(ae.logger.verbose("handleResponse called, retrieved cached request"),U.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);const ht=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,G.Ed.acquireTokenPopup,ae.performanceClient,ae.nativeMessageHandler,U.accountId,ae.nativeStorage,Ie.correlationId),{userRequestState:Ct}=X.c.parseRequestState(ae.browserCrypto,He);return ht.acquireToken({...Ie,state:Ct,prompt:void 0}).finally(()=>{ae.browserStorage.cleanRequestByState(He)})}const fe=ae.browserStorage.getCachedAuthority(He);if(!fe)throw(0,Ce.Wq)(Je.noCachedAuthorityError);const Te=yield(0,y.C)(ae.createAuthCodeClient.bind(ae),f.Xv.StandardInteractionClientCreateAuthCodeClient,ae.logger,ae.performanceClient,ae.correlationId)(z,fe);return re.removeThrottle(ae.browserStorage,ae.config.auth.clientId,Ie),new Rn(Te,ae.browserStorage,Ie,ae.logger,ae.performanceClient).handleCodeResponse(U,He)})()}logout(U){var z=this;return(0,n.c)(function*(){z.logger.verbose("logoutRedirect called");const ae=z.initializeLogoutRequest(U),He=z.initializeServerTelemetryManager(G.Ed.logout);try{z.eventHandler.emitEvent(ce.W.LOGOUT_START,G.wV.Redirect,U),yield z.clearCacheOnLogout(ae.account);const Ie={apiId:G.Ed.logout,timeout:z.config.system.redirectNavigationTimeout,noHistory:!1},Te=(yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,z.correlationId)(He,U&&U.authority,void 0,U&&U.account||void 0)).getLogoutUri(ae);if(z.eventHandler.emitEvent(ce.W.LOGOUT_SUCCESS,G.wV.Redirect,ae),!U||"function"!=typeof U.onRedirectNavigate)return z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(Te,Ie));if(!1!==U.onRedirectNavigate(Te))return z.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),z.browserStorage.getInteractionInProgress()||z.browserStorage.setInteractionInProgress(!0),void(yield z.navigationClient.navigateExternal(Te,Ie));z.browserStorage.setInteractionInProgress(!1),z.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(Ie){throw Ie instanceof M.WM&&(Ie.setCorrelationId(z.correlationId),He.cacheFailedRequest(Ie)),z.eventHandler.emitEvent(ce.W.LOGOUT_FAILURE,G.wV.Redirect,null,Ie),z.eventHandler.emitEvent(ce.W.LOGOUT_END,G.wV.Redirect),Ie}z.eventHandler.emitEvent(ce.W.LOGOUT_END,G.wV.Redirect)})()}getRedirectStartPage(U){const z=U||window.location.href;return e._.getAbsoluteUrl(z,(0,te.getCurrentUri)())}}var or=o(48124);function ui(on,U,z,ae,He){return Pr.apply(this,arguments)}function Pr(){return(Pr=(0,n.c)(function*(on,U,z,ae,He){if(U.addQueueMeasurement(f.Xv.SilentHandlerInitiateAuthRequest,ae),!on)throw z.info("Navigate url is empty"),(0,Ce.Wq)(Je.emptyNavigateUri);return He?(0,y.C)(St,f.Xv.SilentHandlerLoadFrame,z,U,ae)(on,He,U,ae):(0,y.q)(Jt,f.Xv.SilentHandlerLoadFrameSync,z,U,ae)(on)})).apply(this,arguments)}function ct(on,U,z,ae,He,Ie,fe){return Tt.apply(this,arguments)}function Tt(){return(Tt=(0,n.c)(function*(on,U,z,ae,He,Ie,fe){return ae.addQueueMeasurement(f.Xv.SilentHandlerMonitorIframeForHash,Ie),new Promise((Te,ot)=>{U{window.clearInterval(Ct),ot((0,Ce.Wq)(Je.monitorWindowTimeout))},U),Ct=window.setInterval(()=>{let Lt="";const Kt=on.contentWindow;try{Lt=Kt?Kt.location.href:""}catch{}if(!Lt||"about:blank"===Lt)return;let dn="";Kt&&(dn=fe===l.eE.QUERY?Kt.location.search:Kt.location.hash),window.clearTimeout(ht),window.clearInterval(Ct),Te(dn)},z)}).finally(()=>{(0,y.q)(Cn,f.Xv.RemoveHiddenIframe,He,ae,Ie)(on)})})).apply(this,arguments)}function St(on,U,z,ae){return z.addQueueMeasurement(f.Xv.SilentHandlerLoadFrame,ae),new Promise((He,Ie)=>{const fe=an();window.setTimeout(()=>{fe?(fe.src=on,He(fe)):Ie("Unable to load iframe")},U)})}function Jt(on){const U=an();return U.src=on,U}function an(){const on=document.createElement("iframe");return on.style.visibility="hidden",on.style.position="absolute",on.style.width=on.style.height="0",on.style.border="0",on.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(on),on}function Cn(on){document.body===on.parentNode&&document.body.removeChild(on)}class yn extends pn{constructor(U,z,ae,He,Ie,fe,Te,ot,ht,Ct,Lt){super(U,z,ae,He,Ie,fe,ot,Ct,Lt),this.apiId=Te,this.nativeStorage=ht}acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientAcquireToken,U.correlationId),!U.loginHint&&!U.sid&&(!U.account||!U.account.username)&&z.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const ae={...U};ae.prompt?ae.prompt!==l.GI.NONE&&ae.prompt!==l.GI.NO_SESSION&&(z.logger.warning(`SilentIframeClient. Replacing invalid prompt ${ae.prompt} with ${l.GI.NONE}`),ae.prompt=l.GI.NONE):ae.prompt=l.GI.NONE;const He=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,U.correlationId)(ae,G.wV.Silent);(0,te.preconnect)(He.authority);const Ie=z.initializeServerTelemetryManager(z.apiId);try{const fe=yield(0,y.C)(z.createAuthCodeClient.bind(z),f.Xv.StandardInteractionClientCreateAuthCodeClient,z.logger,z.performanceClient,U.correlationId)(Ie,He.authority,He.azureCloudOptions,He.account);return yield(0,y.C)(z.silentTokenHelper.bind(z),f.Xv.SilentIframeClientTokenHelper,z.logger,z.performanceClient,U.correlationId)(fe,He)}catch(fe){throw fe instanceof M.WM&&(fe.setCorrelationId(z.correlationId),Ie.cacheFailedRequest(fe)),fe}})()}logout(){return Promise.reject((0,Ce.Wq)(Je.silentLogoutUnsupported))}silentTokenHelper(U,z){var ae=this;return(0,n.c)(function*(){const He=z.correlationId;ae.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientTokenHelper,He);const Ie=yield(0,y.C)(ae.initializeAuthorizationCodeRequest.bind(ae),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,ae.logger,ae.performanceClient,He)(z),fe=yield(0,y.C)(U.getAuthCodeUrl.bind(U),f.Xv.GetAuthCodeUrl,ae.logger,ae.performanceClient,He)({...z,nativeBroker:Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeMessageHandler,z.authenticationScheme)}),Te=new pr(U,ae.browserStorage,Ie,ae.logger,ae.performanceClient),ot=yield(0,y.C)(ui,f.Xv.SilentHandlerInitiateAuthRequest,ae.logger,ae.performanceClient,He)(fe,ae.performanceClient,ae.logger,He,ae.config.system.navigateFrameWait),ht=ae.config.auth.OIDCOptions.serverResponseType,Ct=yield(0,y.C)(ct,f.Xv.SilentHandlerMonitorIframeForHash,ae.logger,ae.performanceClient,He)(ot,ae.config.system.iframeHashTimeout,ae.config.system.pollIntervalMilliseconds,ae.performanceClient,ae.logger,He,ht),Lt=(0,y.q)(Or,f.Xv.DeserializeResponse,ae.logger,ae.performanceClient,ae.correlationId)(Ct,ht,ae.logger);if(Lt.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);const Kt=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,ae.apiId,ae.performanceClient,ae.nativeMessageHandler,Lt.accountId,ae.browserStorage,He),{userRequestState:dn}=X.c.parseRequestState(ae.browserCrypto,z.state);return(0,y.C)(Kt.acquireToken.bind(Kt),f.Xv.NativeInteractionClientAcquireToken,ae.logger,ae.performanceClient,He)({...z,state:dn,prompt:z.prompt||l.GI.NONE})}return(0,y.C)(Te.handleCodeResponse.bind(Te),f.Xv.HandleCodeResponse,ae.logger,ae.performanceClient,He)(Lt,z)})()}}class Qn extends pn{acquireToken(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.SilentRefreshClientAcquireToken,U.correlationId);const ae=yield(0,y.C)(z.initializeBaseRequest.bind(z),f.Xv.InitializeBaseRequest,z.logger,z.performanceClient,U.correlationId)(U),He={...U,...ae};U.redirectUri&&(He.redirectUri=z.getRedirectUri(U.redirectUri));const Ie=z.initializeServerTelemetryManager(G.Ed.acquireTokenSilent_silentFlow),fe=yield z.createRefreshTokenClient(Ie,He.authority,He.azureCloudOptions,He.account);return(0,y.C)(fe.acquireTokenByRefreshToken.bind(fe),f.Xv.RefreshTokenClientAcquireTokenByRefreshToken,z.logger,z.performanceClient,U.correlationId)(He).catch(Te=>{throw Te.setCorrelationId(z.correlationId),Ie.cacheFailedRequest(Te),Te})})()}logout(){return Promise.reject((0,Ce.Wq)(Je.silentLogoutUnsupported))}createRefreshTokenClient(U,z,ae,He){var Ie=this;return(0,n.c)(function*(){const fe=yield(0,y.C)(Ie.getClientConfiguration.bind(Ie),f.Xv.StandardInteractionClientGetClientConfiguration,Ie.logger,Ie.performanceClient,Ie.correlationId)(U,z,ae,He);return new sr(fe,Ie.performanceClient)})()}}class Un{constructor(U,z,ae,He){this.isBrowserEnvironment=typeof window<"u",this.config=U,this.storage=z,this.logger=ae,this.cryptoObj=He}loadExternalTokens(U,z,ae){if(this.logger.info("TokenCache - loadExternalTokens called"),!z.id_token)throw(0,Ce.Wq)(Je.unableToLoadToken);const He=Pe.aw(z.id_token,Jn.W);let Ie,fe,Te;if(U.account)Te=N.M.createFromAccountInfo(U.account),Ie=new et.O(Te,this.loadIdToken(z.id_token,Te.homeAccountId,U.account.environment,U.account.tenantId),this.loadAccessToken(U,z,Te.homeAccountId,U.account.environment,U.account.tenantId,ae),this.loadRefreshToken(U,z,Te.homeAccountId,U.account.environment));else{if(!U.authority)throw(0,Ce.Wq)(Je.unableToLoadToken);{const ot=F.generateAuthority(U.authority,U.azureCloudOptions);if(fe=new F(ot,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},this.logger,U.correlationId||(0,Ee.E5)()),ae.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),Te=this.loadAccount(He,fe,ae.clientInfo),Ie=new et.O(Te,this.loadIdToken(z.id_token,Te.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(U,z,Te.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(U,z,Te.homeAccountId,fe.hostnameAndPort));else{if(!z.client_info)throw(0,Ce.Wq)(Je.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),Te=this.loadAccount(He,fe,z.client_info),Ie=new et.O(Te,this.loadIdToken(z.id_token,Te.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(U,z,Te.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(U,z,Te.homeAccountId,fe.hostnameAndPort))}}}return this.generateAuthenticationResult(U,He,Ie,Te,fe)}loadAccount(U,z,ae,He){if(this.isBrowserEnvironment){let Ie;if(this.logger.verbose("TokenCache - loading account"),He?Ie=He:void 0!==z.authorityType&&ae&&(Ie=N.M.generateHomeAccountId(ae,z.authorityType,this.logger,this.cryptoObj,U)),!Ie)throw(0,Ce.Wq)(Je.unableToLoadToken);const Te=sn(this.storage,z,Ie,U,Jn.W,ae,z.hostnameAndPort,U.tid,void 0,void 0,this.logger);return this.storage.setAccount(Te),Te}throw(0,Ce.Wq)(Je.unableToLoadToken)}loadIdToken(U,z,ae,He){const Ie=w.YF(z,ae,U,this.config.auth.clientId,He);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(Ie),Ie;throw(0,Ce.Wq)(Je.unableToLoadToken)}loadAccessToken(U,z,ae,He,Ie,fe){if(!z.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!z.expires_in||!fe.extendedExpiresOn)throw(0,Ce.Wq)(Je.unableToLoadToken);const Te=new qe.k(U.scopes).printScopes(),ot=fe.expiresOn||z.expires_in+(new Date).getTime()/1e3,Ct=w.MJ(ae,He,z.access_token,this.config.auth.clientId,Ie,Te,ot,fe.extendedExpiresOn,Jn.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(Ct),Ct;throw(0,Ce.Wq)(Je.unableToLoadToken)}loadRefreshToken(U,z,ae,He){if(!z.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const Ie=w._c(ae,He,z.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(Ie),Ie;throw(0,Ce.Wq)(Je.unableToLoadToken)}generateAuthenticationResult(U,z,ae,He,Ie){let ht,fe=l.Mv.EMPTY_STRING,Te=[],ot=null;return ae?.accessToken&&(fe=ae.accessToken.secret,Te=qe.k.fromString(ae.accessToken.target).asArray(),ot=new Date(1e3*Number(ae.accessToken.expiresOn)),ht=new Date(1e3*Number(ae.accessToken.extendedExpiresOn))),{authority:Ie?Ie.canonicalAuthority:l.Mv.EMPTY_STRING,uniqueId:z.oid||z.sub||l.Mv.EMPTY_STRING,tenantId:z.tid||l.Mv.EMPTY_STRING,scopes:Te,account:He.getAccountInfo(),idToken:ae.idToken?.secret||"",idTokenClaims:z||{},accessToken:fe,fromCache:!0,expiresOn:ot,correlationId:U.correlationId||l.Mv.EMPTY_STRING,requestId:l.Mv.EMPTY_STRING,extExpiresOn:ht,familyId:l.Mv.EMPTY_STRING,tokenType:ae?.accessToken?.tokenType||l.Mv.EMPTY_STRING,state:l.Mv.EMPTY_STRING,cloudGraphHostName:He.cloudGraphHostName||l.Mv.EMPTY_STRING,msGraphHost:He.msGraphHost||l.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class Tr extends kt{constructor(U){super(U),this.includeRedirectUri=!1}}class Er extends pn{constructor(U,z,ae,He,Ie,fe,Te,ot,ht,Ct){super(U,z,ae,He,Ie,fe,ot,ht,Ct),this.apiId=Te}acquireToken(U){var z=this;return(0,n.c)(function*(){if(!U.code)throw(0,Ce.Wq)(Je.authCodeRequired);const ae=yield(0,y.C)(z.initializeAuthorizationRequest.bind(z),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,z.logger,z.performanceClient,U.correlationId)(U,G.wV.Silent),He=z.initializeServerTelemetryManager(z.apiId);try{const Ie={...ae,code:U.code},fe=yield(0,y.C)(z.getClientConfiguration.bind(z),f.Xv.StandardInteractionClientGetClientConfiguration,z.logger,z.performanceClient,U.correlationId)(He,ae.authority,ae.azureCloudOptions,ae.account),Te=new Tr(fe);z.logger.verbose("Auth code client created");const ot=new pr(Te,z.browserStorage,Ie,z.logger,z.performanceClient);return yield(0,y.C)(ot.handleCodeResponseFromServer.bind(ot),f.Xv.HandleCodeResponseFromServer,z.logger,z.performanceClient,U.correlationId)({code:U.code,msgraph_host:U.msGraphHost,cloud_graph_host_name:U.cloudGraphHostName,cloud_instance_host_name:U.cloudInstanceHostName},ae,!1)}catch(Ie){throw Ie instanceof M.WM&&(Ie.setCorrelationId(z.correlationId),He.cacheFailedRequest(Ie)),Ie}})()}logout(){return Promise.reject((0,Ce.Wq)(Je.silentLogoutUnsupported))}}var Hn=o(85288);class ur{constructor(U){this.atsAsyncMeasurement=void 0,this.operatingContext=U,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=U.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new i.A(this.logger,this.performanceClient):d.K,this.eventHandler=new K.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new H.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function I(on){const U=on.cloudDiscoveryMetadata;let z;if(U)try{z=JSON.parse(U)}catch{throw(0,v.QN)(O.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:on.authority?T(on.authority):void 0,knownAuthorities:on.knownAuthorities,cloudDiscoveryMetadata:z}}(this.config.auth)):(0,H.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new H.Y(this.config.auth.clientId,{cacheLocation:G.Ir.MemoryStorage,temporaryCacheLocation:G.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Un(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}static createController(U){return(0,n.c)(function*(){const z=new ur(U);return yield z.initialize(),z})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var U=this;return(0,n.c)(function*(){if(U.logger.trace("initialize called"),U.initialized)return void U.logger.info("initialize has already been called, exiting early.");const z=U.config.system.allowNativeBroker,ae=U.performanceClient.startMeasurement(f.Xv.InitializeClientApplication);if(U.eventHandler.emitEvent(ce.W.INITIALIZE_START),z)try{U.nativeExtensionProvider=yield Sr.createProvider(U.logger,U.config.system.nativeBrokerHandshakeTimeout,U.performanceClient)}catch(He){U.logger.verbose(He)}U.config.cache.claimsBasedCachingEnabled||(U.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,y.C)(U.browserStorage.clearTokensAndKeysWithClaims.bind(U.browserStorage),f.Xv.ClearTokensAndKeysWithClaims,U.logger,U.performanceClient)(U.performanceClient)),U.initialized=!0,U.eventHandler.emitEvent(ce.W.INITIALIZE_END),ae.end({allowNativeBroker:z,success:!0})})()}handleRedirectPromise(U){var z=this;return(0,n.c)(function*(){z.logger.verbose("handleRedirectPromise called"),(0,te.blockAPICallsBeforeInitialize)(z.initialized);const ae=z.getAllAccounts();if(z.isBrowserEnvironment){const He=U||"";let Ie=z.redirectResponse.get(He);if(typeof Ie>"u"){const fe=z.browserStorage.getCachedNativeRequest(),Te=fe&&Sr.isNativeAvailable(z.config,z.logger,z.nativeExtensionProvider)&&z.nativeExtensionProvider&&!U,ot=Te?fe?.correlationId:z.browserStorage.getTemporaryCache(G.zH.CORRELATION_ID,!0)||"",ht=z.performanceClient.startMeasurement("acquireTokenRedirect",ot);let Ct;if(z.eventHandler.emitEvent(ce.W.HANDLE_REDIRECT_START,G.wV.Redirect),z.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),Te&&z.nativeExtensionProvider){z.logger.trace("handleRedirectPromise - acquiring token from native platform");const Lt=new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,G.Ed.handleRedirectPromise,z.performanceClient,z.nativeExtensionProvider,fe.accountId,z.nativeInternalStorage,fe.correlationId);Ct=(0,y.C)(Lt.handleRedirectPromise.bind(Lt),f.Xv.HandleNativeRedirectPromiseMeasurement,z.logger,z.performanceClient,ht.event.correlationId)(z.performanceClient,ht.event.correlationId)}else{z.logger.trace("handleRedirectPromise - acquiring token from web flow");const Lt=z.createRedirectClient(ot);Ct=(0,y.C)(Lt.handleRedirectPromise.bind(Lt),f.Xv.HandleRedirectPromiseMeasurement,z.logger,z.performanceClient,ht.event.correlationId)(U,z.performanceClient,ht.event.correlationId)}Ie=Ct.then(Lt=>(Lt&&(ae.length{const Kt=Lt;throw z.eventHandler.emitEvent(ae.length>0?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,G.wV.Redirect,null,Kt),z.eventHandler.emitEvent(ce.W.HANDLE_REDIRECT_END,G.wV.Redirect),ht.end(Kt instanceof M.WM?{success:!1,errorCode:Kt.errorCode,subErrorCode:Kt.subError}:{success:!1}),Lt}),z.redirectResponse.set(He,Ie)}else z.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return Ie}return z.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);z.logger.verbose("acquireTokenRedirect called",ae),z.preflightBrowserEnvironmentCheck(G.wV.Redirect);const He=z.getAllAccounts().length>0;let Ie;return z.eventHandler.emitEvent(He?ce.W.ACQUIRE_TOKEN_START:ce.W.LOGIN_START,G.wV.Redirect,U),Ie=z.nativeExtensionProvider&&z.canUseNative(U)?new oi(z.config,z.browserStorage,z.browserCrypto,z.logger,z.eventHandler,z.navigationClient,G.Ed.acquireTokenRedirect,z.performanceClient,z.nativeExtensionProvider,z.getNativeAccountId(U),z.nativeInternalStorage,ae).acquireTokenRedirect(U).catch(Te=>{if(Te instanceof qt&&nr(Te))return z.nativeExtensionProvider=void 0,z.createRedirectClient(ae).acquireToken(U);if(Te instanceof k.uw)return z.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),z.createRedirectClient(ae).acquireToken(U);throw z.getBrowserStorage().setInteractionInProgress(!1),Te}):z.createRedirectClient(ae).acquireToken(U),Ie.catch(fe=>{throw z.eventHandler.emitEvent(He?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,G.wV.Redirect,null,fe),fe})})()}acquireTokenPopup(U){const z=this.getRequestCorrelationId(U),ae=this.performanceClient.startMeasurement(f.Xv.AcquireTokenPopup,z);try{this.logger.verbose("acquireTokenPopup called",z),this.preflightBrowserEnvironmentCheck(G.wV.Popup)}catch(fe){return Promise.reject(fe)}const He=this.getAllAccounts();let Ie;return this.eventHandler.emitEvent(He.length>0?ce.W.ACQUIRE_TOKEN_START:ce.W.LOGIN_START,G.wV.Popup,U),Ie=this.canUseNative(U)?this.acquireTokenNative({...U,correlationId:z},G.Ed.acquireTokenPopup).then(fe=>(this.getBrowserStorage().setInteractionInProgress(!1),ae.end({success:!0,isNativeBroker:!0,requestId:fe.requestId}),fe)).catch(fe=>{if(fe instanceof qt&&nr(fe))return this.nativeExtensionProvider=void 0,this.createPopupClient(z).acquireToken(U);if(fe instanceof k.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(z).acquireToken(U);throw this.getBrowserStorage().setInteractionInProgress(!1),fe}):this.createPopupClient(z).acquireToken(U),Ie.then(fe=>(He.length(this.eventHandler.emitEvent(He.length>0?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,G.wV.Popup,null,fe),ae.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),Promise.reject(fe)))}trackPageVisibilityWithMeasurement(){const U=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;U&&(this.logger.info("Perf: Visibility change detected in ",U.event.name),U.increment({visibilityChangeCount:1}))}ssoSilent(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U),He={...U,prompt:U.prompt,correlationId:ae};let Ie;return z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.ssoSilentMeasurement=z.performanceClient.startMeasurement(f.Xv.SsoSilent,ae),z.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),z.logger.verbose("ssoSilent called",ae),z.eventHandler.emitEvent(ce.W.SSO_SILENT_START,G.wV.Silent,He),Ie=z.canUseNative(He)?z.acquireTokenNative(He,G.Ed.ssoSilent).catch(fe=>{if(fe instanceof qt&&nr(fe))return z.nativeExtensionProvider=void 0,z.createSilentIframeClient(He.correlationId).acquireToken(He);throw fe}):z.createSilentIframeClient(He.correlationId).acquireToken(He),Ie.then(fe=>(z.eventHandler.emitEvent(ce.W.SSO_SILENT_SUCCESS,G.wV.Silent,fe),z.ssoSilentMeasurement?.add({accessTokenSize:fe.accessToken.length,idTokenSize:fe.idToken.length}),z.ssoSilentMeasurement?.end({success:!0,isNativeBroker:fe.fromNativeBroker,requestId:fe.requestId}),fe)).catch(fe=>{throw z.eventHandler.emitEvent(ce.W.SSO_SILENT_FAILURE,G.wV.Silent,null,fe),z.ssoSilentMeasurement?.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),fe}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.logger.trace("acquireTokenByCode called",ae),z.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_START,G.wV.Silent,U);const He=z.performanceClient.startMeasurement(f.Xv.AcquireTokenByCode,ae);try{if(U.code&&U.nativeAccountId)throw(0,Ce.Wq)(Je.spaCodeAndNativeAccountIdPresent);if(U.code){const Ie=U.code;let fe=z.hybridAuthCodeResponses.get(Ie);return fe?(z.logger.verbose("Existing acquireTokenByCode request found",ae),He.discard()):(z.logger.verbose("Initiating new acquireTokenByCode request",ae),fe=z.acquireTokenByCodeAsync({...U,correlationId:ae}).then(Te=>(z.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,G.wV.Silent,Te),z.hybridAuthCodeResponses.delete(Ie),He.add({accessTokenSize:Te.accessToken.length,idTokenSize:Te.idToken.length}),He.end({success:!0,isNativeBroker:Te.fromNativeBroker,requestId:Te.requestId}),Te)).catch(Te=>{throw z.hybridAuthCodeResponses.delete(Ie),z.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,G.wV.Silent,null,Te),He.end({errorCode:Te.errorCode,subErrorCode:Te.subError,success:!1}),Te}),z.hybridAuthCodeResponses.set(Ie,fe)),yield fe}if(U.nativeAccountId){if(z.canUseNative(U,U.nativeAccountId))return yield z.acquireTokenNative({...U,correlationId:ae},G.Ed.acquireTokenByCode,U.nativeAccountId).catch(Ie=>{throw Ie instanceof qt&&nr(Ie)&&(z.nativeExtensionProvider=void 0),Ie});throw(0,Ce.Wq)(Je.unableToAcquireTokenFromNativePlatform)}throw(0,Ce.Wq)(Je.authCodeOrNativeAccountIdRequired)}catch(Ie){throw z.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,G.wV.Silent,null,Ie),He.end({errorCode:Ie instanceof M.WM&&Ie.errorCode||void 0,subErrorCode:Ie instanceof M.WM&&Ie.subError||void 0,success:!1}),Ie}})()}acquireTokenByCodeAsync(U){var z=this;return(0,n.c)(function*(){return z.logger.trace("acquireTokenByCodeAsync called",U.correlationId),z.acquireTokenByCodeAsyncMeasurement=z.performanceClient.startMeasurement(f.Xv.AcquireTokenByCodeAsync,U.correlationId),z.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement),yield z.createSilentAuthCodeClient(U.correlationId).acquireToken(U).then(Ie=>(z.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:Ie.fromCache,isNativeBroker:Ie.fromNativeBroker,requestId:Ie.requestId}),Ie)).catch(Ie=>{throw z.acquireTokenByCodeAsyncMeasurement?.end({errorCode:Ie.errorCode,subErrorCode:Ie.subError,success:!1}),Ie}).finally(()=>{document.removeEventListener("visibilitychange",z.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(U,z,ae){var He=this;return(0,n.c)(function*(){switch(He.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenFromCache,z.correlationId),ae){case G.wd.Default:case G.wd.AccessToken:case G.wd.AccessTokenAndRefreshToken:return(0,y.C)(U.acquireToken.bind(U),f.Xv.SilentCacheClientAcquireToken,He.logger,He.performanceClient,z.correlationId)(z);default:throw(0,u.mQ)(A.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(U,z){var ae=this;return(0,n.c)(function*(){switch(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenByRefreshToken,U.correlationId),z){case G.wd.Default:case G.wd.AccessTokenAndRefreshToken:case G.wd.RefreshToken:case G.wd.RefreshTokenAndNetwork:const He=ae.createSilentRefreshClient(U.correlationId);return(0,y.C)(He.acquireToken.bind(He),f.Xv.SilentRefreshClientAcquireToken,ae.logger,ae.performanceClient,U.correlationId)(U);default:throw(0,u.mQ)(A.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(U){var z=this;return(0,n.c)(function*(){z.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenBySilentIframe,U.correlationId);const ae=z.createSilentIframeClient(U.correlationId);return(0,y.C)(ae.acquireToken.bind(ae),f.Xv.SilentIframeClientAcquireToken,z.logger,z.performanceClient,U.correlationId)(U)})()}logout(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",ae),z.logoutRedirect({correlationId:ae,...U})})()}logoutRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.preflightBrowserEnvironmentCheck(G.wV.Redirect),z.createRedirectClient(ae).logout(U)})()}logoutPopup(U){try{const z=this.getRequestCorrelationId(U);return this.preflightBrowserEnvironmentCheck(G.wV.Popup),this.createPopupClient(z).logout(U)}catch(z){return Promise.reject(z)}}clearCache(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.createSilentCacheClient(ae).logout(U)})()}getAllAccounts(U){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(U):[]}getAccount(U){if(this.logger.trace("getAccount called"),0===Object.keys(U).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy(U);return z?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),z):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(U){if(this.logger.trace("getAccountByUsername called"),!U)return this.logger.warning("getAccountByUsername: No username provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({username:U});return z?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${U}`),z):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(U){if(this.logger.trace("getAccountByHomeId called"),!U)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:U});return z?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${U}`),z):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(U){if(this.logger.trace("getAccountByLocalId called"),!U)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const z=this.browserStorage.getAccountInfoFilteredBy({localAccountId:U});return z?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${U}`),z):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(U){this.browserStorage.setActiveAccount(U)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(U,z){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("hydrateCache called");const He=N.M.createFromAccountInfo(U.account,U.cloudGraphHostName,U.msGraphHost);return ae.browserStorage.setAccount(He),U.fromNativeBroker?(ae.logger.verbose("Response was from native broker, storing in-memory"),ae.nativeInternalStorage.hydrateCache(U,z)):ae.browserStorage.hydrateCache(U,z)})()}preflightBrowserEnvironmentCheck(U,z=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,te.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,te.blockRedirectInIframe)(U,this.config.system.allowRedirectInIframe),(0,te.blockReloadInHiddenIframes)(),(0,te.blockAcquireTokenInPopups)(),(0,te.blockAPICallsBeforeInitialize)(this.initialized),U===G.wV.Redirect&&this.config.cache.cacheLocation===G.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,se.cf)(Hn.inMemRedirectUnavailable);(U===G.wV.Redirect||U===G.wV.Popup)&&this.preflightInteractiveRequest(!z)}preflightInteractiveRequest(U){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,te.blockReloadInHiddenIframes)(),U&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(U,z,ae){var He=this;return(0,n.c)(function*(){if(He.logger.trace("acquireTokenNative called"),!He.nativeExtensionProvider)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);return new oi(He.config,He.browserStorage,He.browserCrypto,He.logger,He.eventHandler,He.navigationClient,z,He.performanceClient,He.nativeExtensionProvider,ae||He.getNativeAccountId(U),He.nativeInternalStorage,U.correlationId).acquireToken(U)})()}canUseNative(U,z){if(this.logger.trace("canUseNative called"),!Sr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,U.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(U.prompt)switch(U.prompt){case l.GI.NONE:case l.GI.CONSENT:case l.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${U.prompt} is not compatible with native flow, returning false`),!1}return!(!z&&!this.getNativeAccountId(U)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(U){const z=U.account||this.getAccount({loginHint:U.loginHint,sid:U.sid})||this.getActiveAccount();return z&&z.nativeAccountId||""}createPopupClient(U){return new Qt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createRedirectClient(U){return new Kn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createSilentIframeClient(U){return new yn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,G.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,U)}createSilentCacheClient(U){return new br(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,U)}createSilentRefreshClient(U){return new Qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,U)}createSilentAuthCodeClient(U){return new Er(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,G.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,U)}addEventCallback(U){return this.eventHandler.addEventCallback(U)}removeEventCallback(U){this.eventHandler.removeEventCallback(U)}addPerformanceCallback(U){return this.performanceClient.addPerformanceCallback(U)}removePerformanceCallback(U){return this.performanceClient.removePerformanceCallback(U)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(U){this.logger=U}initializeWrapperLibrary(U,z){this.browserStorage.setWrapperMetadata(U,z)}setNavigationClient(U){this.navigationClient=U}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(U){return U?.correlationId?U.correlationId:this.isBrowserEnvironment?(0,Ee.E5)():l.Mv.EMPTY_STRING}loginRedirect(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U);return z.logger.verbose("loginRedirect called",ae),z.acquireTokenRedirect({correlationId:ae,...U||G.wv})})()}loginPopup(U){const z=this.getRequestCorrelationId(U);return this.logger.verbose("loginPopup called",z),this.acquireTokenPopup({correlationId:z,...U||G.wv})}acquireTokenSilent(U){var z=this;return(0,n.c)(function*(){const ae=z.getRequestCorrelationId(U),He=z.performanceClient.startMeasurement(f.Xv.AcquireTokenSilent,ae);He.add({cacheLookupPolicy:U.cacheLookupPolicy}),z.preflightBrowserEnvironmentCheck(G.wV.Silent),z.logger.verbose("acquireTokenSilent called",ae);const Ie=U.account||z.getActiveAccount();if(!Ie)throw(0,Ce.Wq)(Je.noAccountError);const Te=JSON.stringify({clientId:z.config.auth.clientId,authority:U.authority||l.Mv.EMPTY_STRING,scopes:U.scopes,homeAccountIdentifier:Ie.homeAccountId,claims:U.claims,authenticationScheme:U.authenticationScheme,resourceRequestMethod:U.resourceRequestMethod,resourceRequestUri:U.resourceRequestUri,shrClaims:U.shrClaims,sshKid:U.sshKid,shrOptions:U.shrOptions}),ot=z.activeSilentTokenRequests.get(Te);if(typeof ot>"u"){z.logger.verbose("acquireTokenSilent called for the first time, storing active request",ae);const ht=(0,y.C)(z.acquireTokenSilentAsync.bind(z),f.Xv.AcquireTokenSilentAsync,z.logger,z.performanceClient,ae)({...U,correlationId:ae},Ie).then(Ct=>(z.activeSilentTokenRequests.delete(Te),He.add({accessTokenSize:Ct.accessToken.length,idTokenSize:Ct.idToken.length}),He.end({success:!0,fromCache:Ct.fromCache,isNativeBroker:Ct.fromNativeBroker,cacheLookupPolicy:U.cacheLookupPolicy,requestId:Ct.requestId}),Ct)).catch(Ct=>{throw z.activeSilentTokenRequests.delete(Te),He.end({errorCode:Ct.errorCode,subErrorCode:Ct.subError,success:!1}),Ct});return z.activeSilentTokenRequests.set(Te,ht),{...yield ht,state:U.state}}return z.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",ae),He.discard(),{...yield ot,state:U.state}})()}acquireTokenSilentAsync(U,z){var ae=this;return(0,n.c)(function*(){let He;if(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenSilentAsync,U.correlationId),ae.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_START,G.wV.Silent,U),ae.atsAsyncMeasurement=ae.performanceClient.startMeasurement(f.Xv.AcquireTokenSilentAsync,U.correlationId),ae.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",ae.trackPageVisibility),Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeExtensionProvider,U.authenticationScheme)&&z.nativeAccountId){ae.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const Ie={...U,account:z};He=ae.acquireTokenNative(Ie,G.Ed.acquireTokenSilent_silentFlow).catch(function(){var fe=(0,n.c)(function*(Te){if(Te instanceof qt&&nr(Te))return ae.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),ae.nativeExtensionProvider=void 0,ae.createSilentIframeClient(U.correlationId).acquireToken(U);throw Te});return function(Te){return fe.apply(this,arguments)}}())}else{ae.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const Ie=ae.createSilentCacheClient(U.correlationId),fe=yield(0,y.C)(Ie.initializeSilentRequest.bind(Ie),f.Xv.InitializeSilentRequest,ae.logger,ae.performanceClient,U.correlationId)(U,z),Te=U.cacheLookupPolicy||G.wd.Default;He=(0,y.C)(ae.acquireTokenFromCache.bind(ae),f.Xv.AcquireTokenFromCache,ae.logger,ae.performanceClient,fe.correlationId)(Ie,fe,Te).catch(ot=>{if(U.cacheLookupPolicy===G.wd.AccessToken)throw ot;return(0,te.blockReloadInHiddenIframes)(),ae.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_NETWORK_START,G.wV.Silent,fe),(0,y.C)(ae.acquireTokenByRefreshToken.bind(ae),f.Xv.AcquireTokenByRefreshToken,ae.logger,ae.performanceClient,fe.correlationId)(fe,Te).catch(ht=>{if(function Ei(on,U,z){const Ie=!(on instanceof k.uw&&on.subError!==x.badToken)&&(on.errorCode===G.ig.INVALID_GRANT_ERROR||on.errorCode===A.tokenRefreshRequired)||on.errorCode===x.noTokensFound||on.errorCode===x.refreshTokenExpired,fe=G.a.includes(z);return Ie&&fe}(ht,0,Te))return ae.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",fe.correlationId),(0,y.C)(ae.acquireTokenBySilentIframe.bind(ae),f.Xv.AcquireTokenBySilentIframe,ae.logger,ae.performanceClient,fe.correlationId)(fe);throw ht})})}return He.then(Ie=>(ae.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_SUCCESS,G.wV.Silent,Ie),ae.atsAsyncMeasurement?.end({success:!0,fromCache:Ie.fromCache,isNativeBroker:Ie.fromNativeBroker,requestId:Ie.requestId}),Ie)).catch(Ie=>{throw ae.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_FAILURE,G.wV.Silent,null,Ie),ae.atsAsyncMeasurement?.end({errorCode:Ie.errorCode,subErrorCode:Ie.subError,success:!1}),Ie}).finally(()=>{document.removeEventListener("visibilitychange",ae.trackPageVisibility)})})()}}},27880:(ve,h,o)=>{"use strict";o.d(h,{E5:()=>M,G0:()=>w,IT:()=>y,YD:()=>_,_k:()=>j,eY:()=>b,em:()=>O,kq:()=>I});var n=o(1528),i=o(4792),d=o(85348),a=o(26956),c=o(32828);const u="SHA-256",g=new Uint8Array([1,0,1]),v="0123456789abcdef",p=new Uint32Array(1),C={name:"RSASSA-PKCS1-v1_5",hash:u,modulusLength:2048,publicExponent:g};function b(N){if(!("crypto"in window))throw N.error("BrowserCrypto: crypto interface is unavailable"),(0,i.Wq)(c.cryptoNonExistent);N.verbose("BrowserCrypto: modern crypto interface available")}function _(N,x,H){return f.apply(this,arguments)}function f(){return(f=(0,n.c)(function*(N,x,H){x?.addQueueMeasurement(d.Xv.Sha256Digest,H);const te=(new TextEncoder).encode(N);return window.crypto.subtle.digest(u,te)})).apply(this,arguments)}function y(N){return window.crypto.getRandomValues(N)}function S(){return window.crypto.getRandomValues(p),p[0]}function M(){const N=Date.now(),x=1024*S()+(1023&S()),H=new Uint8Array(16),G=Math.trunc(x/2**30),te=x&2**30-1,ce=S();H[0]=N/2**40,H[1]=N/2**32,H[2]=N/2**24,H[3]=N/65536,H[4]=N/256,H[5]=N,H[6]=112|G>>>8,H[7]=G,H[8]=128|te>>>24,H[9]=te>>>16,H[10]=te>>>8,H[11]=te,H[12]=ce>>>24,H[13]=ce>>>16,H[14]=ce>>>8,H[15]=ce;let se="";for(let K=0;K>>4),se+=v.charAt(15&H[K]),(3===K||5===K||7===K||9===K)&&(se+="-");return se}function w(N,x){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(N,x){return window.crypto.subtle.generateKey(C,N,x)})).apply(this,arguments)}function O(N){return F.apply(this,arguments)}function F(){return(F=(0,n.c)(function*(N){return window.crypto.subtle.exportKey(a.eG,N)})).apply(this,arguments)}function j(N,x,H){return T.apply(this,arguments)}function T(){return(T=(0,n.c)(function*(N,x,H){return window.crypto.subtle.importKey(a.eG,N,C,x,H)})).apply(this,arguments)}function I(N,x){return k.apply(this,arguments)}function k(){return(k=(0,n.c)(function*(N,x){return window.crypto.subtle.sign(C,N,x)})).apply(this,arguments)}},7184:(ve,h,o)=>{"use strict";o.d(h,{A:()=>F});var n=o(1528),i=o(85348),d=o(66936);const a="missing_kid_error",c="missing_alg_error",e={[a]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[c]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class u extends d.WM{constructor(I,k){super(I,k),this.name="JoseHeaderError",Object.setPrototypeOf(this,u.prototype)}}function l(T){return new u(T,e[T])}var g=o(34739);class v{constructor(I){this.typ=I.typ,this.alg=I.alg,this.kid=I.kid}static getShrHeaderString(I){if(!I.kid)throw l(a);if(!I.alg)throw l(c);const k=new v({typ:I.typ||g.Gu.Pop,kid:I.kid,alg:I.alg});return JSON.stringify(k)}}var p=o(37988),C=o(55084),b=o(27880),_=o(4792),f=o(26956),y=o(32828);class S{constructor(){this.dbName=f.f6,this.version=f.gV,this.tableName=f.eQ,this.dbOpen=!1}open(){var I=this;return(0,n.c)(function*(){return new Promise((k,N)=>{const x=window.indexedDB.open(I.dbName,I.version);x.addEventListener("upgradeneeded",H=>{H.target.result.createObjectStore(I.tableName)}),x.addEventListener("success",H=>{I.db=H.target.result,I.dbOpen=!0,k()}),x.addEventListener("error",()=>N((0,_.Wq)(y.databaseUnavailable)))})})()}closeConnection(){const I=this.db;I&&this.dbOpen&&(I.close(),this.dbOpen=!1)}validateDbIsOpen(){var I=this;return(0,n.c)(function*(){if(!I.dbOpen)return I.open()})()}getItem(I){var k=this;return(0,n.c)(function*(){return yield k.validateDbIsOpen(),new Promise((N,x)=>{if(!k.db)return x((0,_.Wq)(y.databaseNotOpen));const te=k.db.transaction([k.tableName],"readonly").objectStore(k.tableName).get(I);te.addEventListener("success",ce=>{const se=ce;k.closeConnection(),N(se.target.result)}),te.addEventListener("error",ce=>{k.closeConnection(),x(ce)})})})()}setItem(I,k){var N=this;return(0,n.c)(function*(){return yield N.validateDbIsOpen(),new Promise((x,H)=>{if(!N.db)return H((0,_.Wq)(y.databaseNotOpen));const ce=N.db.transaction([N.tableName],"readwrite").objectStore(N.tableName).put(k,I);ce.addEventListener("success",()=>{N.closeConnection(),x()}),ce.addEventListener("error",se=>{N.closeConnection(),H(se)})})})()}removeItem(I){var k=this;return(0,n.c)(function*(){return yield k.validateDbIsOpen(),new Promise((N,x)=>{if(!k.db)return x((0,_.Wq)(y.databaseNotOpen));const te=k.db.transaction([k.tableName],"readwrite").objectStore(k.tableName).delete(I);te.addEventListener("success",()=>{k.closeConnection(),N()}),te.addEventListener("error",ce=>{k.closeConnection(),x(ce)})})})()}getKeys(){var I=this;return(0,n.c)(function*(){return yield I.validateDbIsOpen(),new Promise((k,N)=>{if(!I.db)return N((0,_.Wq)(y.databaseNotOpen));const G=I.db.transaction([I.tableName],"readonly").objectStore(I.tableName).getAllKeys();G.addEventListener("success",te=>{const ce=te;I.closeConnection(),k(ce.target.result)}),G.addEventListener("error",te=>{I.closeConnection(),N(te)})})})()}containsKey(I){var k=this;return(0,n.c)(function*(){return yield k.validateDbIsOpen(),new Promise((N,x)=>{if(!k.db)return x((0,_.Wq)(y.databaseNotOpen));const te=k.db.transaction([k.tableName],"readonly").objectStore(k.tableName).count(I);te.addEventListener("success",ce=>{const se=ce;k.closeConnection(),N(1===se.target.result)}),te.addEventListener("error",ce=>{k.closeConnection(),x(ce)})})})()}deleteDatabase(){var I=this;return(0,n.c)(function*(){return I.db&&I.dbOpen&&I.closeConnection(),new Promise((k,N)=>{const x=window.indexedDB.deleteDatabase(f.f6);x.addEventListener("success",()=>k(!0)),x.addEventListener("blocked",()=>k(!0)),x.addEventListener("error",()=>N(!1))})})()}}var M=o(61744);class w{constructor(I,k){this.inMemoryCache=new M.W,this.indexedDBCache=new S,this.logger=I,this.storeName=k}handleDatabaseAccessError(I){if(!(I instanceof _.G&&I.errorCode===y.databaseUnavailable))throw I;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}getItem(I){var k=this;return(0,n.c)(function*(){const N=k.inMemoryCache.getItem(I);if(!N)try{return k.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield k.indexedDBCache.getItem(I)}catch(x){k.handleDatabaseAccessError(x)}return N})()}setItem(I,k){var N=this;return(0,n.c)(function*(){N.inMemoryCache.setItem(I,k);try{yield N.indexedDBCache.setItem(I,k)}catch(x){N.handleDatabaseAccessError(x)}})()}removeItem(I){var k=this;return(0,n.c)(function*(){k.inMemoryCache.removeItem(I);try{yield k.indexedDBCache.removeItem(I)}catch(N){k.handleDatabaseAccessError(N)}})()}getKeys(){var I=this;return(0,n.c)(function*(){const k=I.inMemoryCache.getKeys();if(0===k.length)try{return I.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield I.indexedDBCache.getKeys()}catch(N){I.handleDatabaseAccessError(N)}return k})()}containsKey(I){var k=this;return(0,n.c)(function*(){const N=k.inMemoryCache.containsKey(I);if(!N)try{return k.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield k.indexedDBCache.containsKey(I)}catch(x){k.handleDatabaseAccessError(x)}return N})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var I=this;return(0,n.c)(function*(){try{I.logger.verbose("Deleting persistent keystore");const k=yield I.indexedDBCache.deleteDatabase();return k&&I.logger.verbose("Persistent keystore deleted"),k}catch(k){return I.handleDatabaseAccessError(k),!1}})()}}class O{constructor(I){this.logger=I,this.asymmetricKeys=new w(this.logger,"asymmetricKeys"),this.symmetricKeys=new w(this.logger,"symmetricKeys")}clear(){var I=this;return(0,n.c)(function*(){I.asymmetricKeys.clearInMemory(),I.symmetricKeys.clearInMemory();try{return yield I.asymmetricKeys.clearPersistent(),!0}catch(k){return k instanceof Error?I.logger.error(`Clearing keystore failed with error: ${k.message}`):I.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let F=(()=>{class T{constructor(k,N){this.logger=k,(0,b.eY)(k),this.cache=new O(this.logger),this.performanceClient=N}createNewGuid(){return(0,b.E5)()}base64Encode(k){return(0,p.c9)(k)}base64Decode(k){return(0,C.W)(k)}getPublicKeyThumbprint(k){var N=this;return(0,n.c)(function*(){const x=N.performanceClient?.startMeasurement(i.Xv.CryptoOptsGetPublicKeyThumbprint,k.correlationId),H=yield(0,b.G0)(T.EXTRACTABLE,T.POP_KEY_USAGES),G=yield(0,b.em)(H.publicKey),ce=j({e:G.e,kty:G.kty,n:G.n}),se=yield N.hashString(ce),K=yield(0,b.em)(H.privateKey),Z=yield(0,b._k)(K,!1,["sign"]);return yield N.cache.asymmetricKeys.setItem(se,{privateKey:Z,publicKey:H.publicKey,requestMethod:k.resourceRequestMethod,requestUri:k.resourceRequestUri}),x&&x.end({success:!0}),se})()}removeTokenBindingKey(k){var N=this;return(0,n.c)(function*(){return yield N.cache.asymmetricKeys.removeItem(k),!(yield N.cache.asymmetricKeys.containsKey(k))})()}clearKeystore(){var k=this;return(0,n.c)(function*(){return k.cache.clear()})()}signJwt(k,N,x,H){var G=this;return(0,n.c)(function*(){const te=G.performanceClient?.startMeasurement(i.Xv.CryptoOptsSignJwt,H),ce=yield G.cache.asymmetricKeys.getItem(N);if(!ce)throw(0,_.Wq)(y.cryptoKeyNotFound);const se=yield(0,b.em)(ce.publicKey),K=j(se),Z=(0,p.OW)(JSON.stringify({kid:N})),re=v.getShrHeaderString({...x?.header,alg:se.alg,kid:Z}),X=(0,p.OW)(re);k.cnf={jwk:JSON.parse(K)};const Y=`${X}.${(0,p.OW)(JSON.stringify(k))}`,he=(new TextEncoder).encode(Y),_e=yield(0,b.kq)(ce.privateKey,he),Re=`${Y}.${(0,p.gV)(new Uint8Array(_e))}`;return te&&te.end({success:!0}),Re})()}hashString(k){return(0,n.c)(function*(){const N=yield(0,b.YD)(k),x=new Uint8Array(N);return(0,p.gV)(x)})()}}return T.POP_KEY_USAGES=["sign","verify"],T.EXTRACTABLE=!0,T})();function j(T){return JSON.stringify(T,Object.keys(T).sort())}},55084:(ve,h,o)=>{"use strict";o.d(h,{W:()=>d});var n=o(4792),i=o(32828);function d(c){return(new TextDecoder).decode(function a(c){let e=c.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(i.invalidBase64String)}const u=atob(e);return Uint8Array.from(u,l=>l.codePointAt(0)||0)}(c))}},37988:(ve,h,o)=>{"use strict";function n(c){return encodeURIComponent(d(c).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function i(c){return a(c).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(c){return a((new TextEncoder).encode(c))}function a(c){const e=Array.from(c,u=>String.fromCodePoint(u)).join("");return btoa(e)}o.d(h,{OW:()=>n,c9:()=>d,gV:()=>i})},4792:(ve,h,o)=>{"use strict";o.d(h,{G:()=>e,Wq:()=>u,aC:()=>c});var n=o(66936),i=o(32828);const d="For more visit: aka.ms/msaljs/browser-errors",a={[i.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[i.cryptoNonExistent]:"The crypto object or function is not available.",[i.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[i.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${d}`,[i.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[i.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${d}`,[i.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[i.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[i.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${d}`,[i.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[i.emptyWindowError]:"window.open returned null or undefined window object.",[i.userCancelled]:"User cancelled the flow.",[i.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${d}`,[i.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${d}`,[i.redirectInIframe]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[i.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${d}`,[i.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[i.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[i.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[i.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[i.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[i.noTokenRequestCacheError]:"No token request found in cache.",[i.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[i.noCachedAuthorityError]:"No cached authority found.",[i.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[i.invalidCacheType]:"Invalid cache type",[i.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[i.databaseNotOpen]:"Database is not open!",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.postRequestFailed]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[i.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[i.failedToParseResponse]:"Failed to parse network response. Check network trace.",[i.unableToLoadToken]:"Error loading token to cache.",[i.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[i.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[i.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[i.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[i.databaseUnavailable]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[i.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${d}`,[i.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[i.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[i.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${d}`,[i.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${d}`,[i.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[i.invalidBase64String]:"Invalid base64 encoded string."},c={pkceNotGenerated:{code:i.pkceNotCreated,desc:a[i.pkceNotCreated]},cryptoDoesNotExist:{code:i.cryptoNonExistent,desc:a[i.cryptoNonExistent]},emptyNavigateUriError:{code:i.emptyNavigateUri,desc:a[i.emptyNavigateUri]},hashEmptyError:{code:i.hashEmptyError,desc:a[i.hashEmptyError]},hashDoesNotContainStateError:{code:i.noStateInHash,desc:a[i.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:i.hashDoesNotContainKnownProperties,desc:a[i.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:i.unableToParseState,desc:a[i.unableToParseState]},stateInteractionTypeMismatchError:{code:i.stateInteractionTypeMismatch,desc:a[i.stateInteractionTypeMismatch]},interactionInProgress:{code:i.interactionInProgress,desc:a[i.interactionInProgress]},popupWindowError:{code:i.popupWindowError,desc:a[i.popupWindowError]},emptyWindowError:{code:i.emptyWindowError,desc:a[i.emptyWindowError]},userCancelledError:{code:i.userCancelled,desc:a[i.userCancelled]},monitorPopupTimeoutError:{code:i.monitorPopupTimeout,desc:a[i.monitorPopupTimeout]},monitorIframeTimeoutError:{code:i.monitorWindowTimeout,desc:a[i.monitorWindowTimeout]},redirectInIframeError:{code:i.redirectInIframe,desc:a[i.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:i.blockIframeReload,desc:a[i.blockIframeReload]},blockAcquireTokenInPopupsError:{code:i.blockNestedPopups,desc:a[i.blockNestedPopups]},iframeClosedPrematurelyError:{code:i.iframeClosedPrematurely,desc:a[i.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:i.silentLogoutUnsupported,desc:a[i.silentLogoutUnsupported]},noAccountError:{code:i.noAccountError,desc:a[i.noAccountError]},silentPromptValueError:{code:i.silentPromptValueError,desc:a[i.silentPromptValueError]},noTokenRequestCacheError:{code:i.noTokenRequestCacheError,desc:a[i.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:i.unableToParseTokenRequestCacheError,desc:a[i.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:i.noCachedAuthorityError,desc:a[i.noCachedAuthorityError]},authRequestNotSet:{code:i.authRequestNotSetError,desc:a[i.authRequestNotSetError]},invalidCacheType:{code:i.invalidCacheType,desc:a[i.invalidCacheType]},notInBrowserEnvironment:{code:i.nonBrowserEnvironment,desc:a[i.nonBrowserEnvironment]},databaseNotOpen:{code:i.databaseNotOpen,desc:a[i.databaseNotOpen]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:a[i.noNetworkConnectivity]},postRequestFailed:{code:i.postRequestFailed,desc:a[i.postRequestFailed]},getRequestFailed:{code:i.getRequestFailed,desc:a[i.getRequestFailed]},failedToParseNetworkResponse:{code:i.failedToParseResponse,desc:a[i.failedToParseResponse]},unableToLoadTokenError:{code:i.unableToLoadToken,desc:a[i.unableToLoadToken]},signingKeyNotFoundInStorage:{code:i.cryptoKeyNotFound,desc:a[i.cryptoKeyNotFound]},authCodeRequired:{code:i.authCodeRequired,desc:a[i.authCodeRequired]},authCodeOrNativeAccountRequired:{code:i.authCodeOrNativeAccountIdRequired,desc:a[i.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:i.spaCodeAndNativeAccountIdPresent,desc:a[i.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:i.databaseUnavailable,desc:a[i.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:i.unableToAcquireTokenFromNativePlatform,desc:a[i.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:i.nativeHandshakeTimeout,desc:a[i.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:i.nativeExtensionNotInstalled,desc:a[i.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:i.nativeConnectionNotEstablished,desc:a[i.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:i.uninitializedPublicClientApplication,desc:a[i.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:i.nativePromptNotSupported,desc:a[i.nativePromptNotSupported]},invalidBase64StringError:{code:i.invalidBase64String,desc:a[i.invalidBase64String]}};class e extends n.WM{constructor(g){super(g,a[g]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function u(l){return new e(l)}},32828:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{authCodeOrNativeAccountIdRequired:()=>re,authCodeRequired:()=>Z,authRequestNotSetError:()=>I,blockIframeReload:()=>y,blockNestedPopups:()=>S,cryptoKeyNotFound:()=>K,cryptoNonExistent:()=>i,databaseNotOpen:()=>x,databaseUnavailable:()=>W,emptyNavigateUri:()=>d,emptyWindowError:()=>p,failedToParseResponse:()=>ce,getRequestFailed:()=>te,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>a,iframeClosedPrematurely:()=>M,interactionInProgress:()=>g,invalidBase64String:()=>Ae,invalidCacheType:()=>k,monitorPopupTimeout:()=>b,monitorWindowTimeout:()=>_,nativeConnectionNotEstablished:()=>_e,nativeExtensionNotInstalled:()=>he,nativeHandshakeTimeout:()=>q,nativePromptNotSupported:()=>Re,noAccountError:()=>A,noCachedAuthorityError:()=>T,noNetworkConnectivity:()=>H,noStateInHash:()=>c,noTokenRequestCacheError:()=>F,nonBrowserEnvironment:()=>N,pkceNotCreated:()=>n,popupWindowError:()=>v,postRequestFailed:()=>G,redirectInIframe:()=>f,silentLogoutUnsupported:()=>w,silentPromptValueError:()=>O,spaCodeAndNativeAccountIdPresent:()=>X,stateInteractionTypeMismatch:()=>l,unableToAcquireTokenFromNativePlatform:()=>Y,unableToLoadToken:()=>se,unableToParseState:()=>u,unableToParseTokenRequestCacheError:()=>j,uninitializedPublicClientApplication:()=>Oe,userCancelled:()=>C});const n="pkce_not_created",i="crypto_nonexistent",d="empty_navigate_uri",a="hash_empty_error",c="no_state_in_hash",e="hash_does_not_contain_known_properties",u="unable_to_parse_state",l="state_interaction_type_mismatch",g="interaction_in_progress",v="popup_window_error",p="empty_window_error",C="user_cancelled",b="monitor_popup_timeout",_="monitor_window_timeout",f="redirect_in_iframe",y="block_iframe_reload",S="block_nested_popups",M="iframe_closed_prematurely",w="silent_logout_unsupported",A="no_account_error",O="silent_prompt_value_error",F="no_token_request_cache_error",j="unable_to_parse_token_request_cache_error",T="no_cached_authority_error",I="auth_request_not_set_error",k="invalid_cache_type",N="non_browser_environment",x="database_not_open",H="no_network_connectivity",G="post_request_failed",te="get_request_failed",ce="failed_to_parse_response",se="unable_to_load_token",K="crypto_key_not_found",Z="auth_code_required",re="auth_code_or_nativeAccountId_required",X="spa_code_and_nativeAccountId_present",W="database_unavailable",Y="unable_to_acquire_token_from_native_platform",q="native_handshake_timeout",he="native_extension_not_installed",_e="native_connection_not_established",Oe="uninitialized_public_client_application",Re="native_prompt_not_supported",Ae="invalid_base64_string"},72592:(ve,h,o)=>{"use strict";o.d(h,{aO:()=>c,c9:()=>a,cf:()=>e});var n=o(66936),i=o(85288);const d={[i.storageNotSupported]:"Given storage configuration option was not supported.",[i.stubbedPublicClientApplicationCalled]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[i.inMemRedirectUnavailable]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},a={storageNotSupportedError:{code:i.storageNotSupported,desc:d[i.storageNotSupported]},stubPcaInstanceCalled:{code:i.stubbedPublicClientApplicationCalled,desc:d[i.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:i.inMemRedirectUnavailable,desc:d[i.inMemRedirectUnavailable]}};class c extends n.WM{constructor(l,g){super(l,g),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,c.prototype)}}function e(u){return new c(u,d[u])}},85288:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{inMemRedirectUnavailable:()=>d,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>i});const n="storage_not_supported",i="stubbed_public_client_application_called",d="in_mem_redirect_unavailable"},85968:(ve,h,o)=>{"use strict";o.d(h,{c:()=>e});var n=o(34739),i=o(98416),d=o(6536),a=o(28612),c=o(27880);class e{constructor(l,g){this.eventCallbacks=new Map,this.logger=l,this.browserCrypto=g,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(l){if(typeof window<"u"){const g=(0,c.E5)();return this.eventCallbacks.set(g,l),this.logger.verbose(`Event callback registered with id: ${g}`),g}return null}removeEventCallback(l){this.eventCallbacks.delete(l),this.logger.verbose(`Event callback ${l} removed.`)}enableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}emitEvent(l,g,v,p){if(typeof window<"u"){const C={eventType:l,interactionType:g||null,payload:v||null,error:p||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${l}`),this.eventCallbacks.forEach((b,_)=>{this.logger.verbose(`Emitting event to callback ${_}: ${l}`),b.apply(null,[C])})}}handleAccountCacheChange(l){try{l.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(a.W.ACTIVE_ACCOUNT_CHANGED);const g=l.newValue||l.oldValue;if(!g)return;const v=JSON.parse(g);if("object"!=typeof v||!i.M.isAccountEntity(v))return;const C=d.B.toObject(new i.M,v).getAccountInfo();!l.oldValue&&l.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(a.W.ACCOUNT_ADDED,void 0,C)):!l.newValue&&l.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(a.W.ACCOUNT_REMOVED,void 0,C))}catch{return}}}},88904:(ve,h,o)=>{"use strict";o.d(h,{M:()=>d});var n=o(28612),i=o(26956);class d{static getInteractionStatusFromEvent(c,e){switch(c.eventType){case n.W.LOGIN_START:return i.Yz.Login;case n.W.SSO_SILENT_START:return i.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(c.interactionType===i.wV.Redirect||c.interactionType===i.wV.Popup)return i.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return i.Yz.HandleRedirect;case n.W.LOGOUT_START:return i.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==i.Yz.SsoSilent)break;return i.Yz.None;case n.W.LOGOUT_END:if(e&&e!==i.Yz.Logout)break;return i.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==i.Yz.HandleRedirect)break;return i.Yz.None;case n.W.LOGIN_SUCCESS:case n.W.LOGIN_FAILURE:case n.W.ACQUIRE_TOKEN_SUCCESS:case n.W.ACQUIRE_TOKEN_FAILURE:case n.W.RESTORE_FROM_BFCACHE:if(c.interactionType===i.wV.Redirect||c.interactionType===i.wV.Popup){if(e&&e!==i.Yz.Login&&e!==i.Yz.AcquireToken)break;return i.Yz.None}}return null}}},28612:(ve,h,o)=>{"use strict";o.d(h,{W:()=>n});const n={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},21112:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{AccountEntity:()=>qe.M,ApiId:()=>e.Ed,AuthError:()=>et.WM,AuthErrorCodes:()=>De,AuthErrorMessage:()=>et.GM,AuthenticationHeaderParser:()=>it,AuthenticationScheme:()=>Y.me,AzureCloudInstance:()=>je.C,BrowserAuthError:()=>I.G,BrowserAuthErrorCodes:()=>kt,BrowserAuthErrorMessage:()=>I.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>k.aO,BrowserConfigurationAuthErrorCodes:()=>N,BrowserConfigurationAuthErrorMessage:()=>k.c9,BrowserPerformanceClient:()=>Re,BrowserPerformanceMeasurement:()=>Ae.BrowserPerformanceMeasurement,BrowserStorage:()=>te.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>Pe.oJ,ClientAuthErrorCodes:()=>bt,ClientAuthErrorMessage:()=>Pe.m6,ClientConfigurationError:()=>ge.Ou,ClientConfigurationErrorCodes:()=>Ne,ClientConfigurationErrorMessage:()=>ge.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>a.Ks,EventMessageUtils:()=>ce.M,EventType:()=>se.W,InteractionRequiredAuthError:()=>Qe.uw,InteractionRequiredAuthErrorCodes:()=>Ut,InteractionRequiredAuthErrorMessage:()=>Qe.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>Y.Gu,LogLevel:()=>d.G,Logger:()=>d.Y,MemoryStorage:()=>G.W,NavigationClient:()=>H.m,OIDC_DEFAULT_SCOPES:()=>Y.ac,PerformanceEvents:()=>re.Xv,PromptValue:()=>Y.GI,ProtocolMode:()=>sn.g,PublicClientApplication:()=>S,PublicClientNext:()=>T,ServerError:()=>un.s,ServerResponseType:()=>Y.eE,SignedHttpRequest:()=>Z,StringUtils:()=>Sn.e,UrlString:()=>bn._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>x,version:()=>c.W});var n=o(84644),i=o(1528),d=o(73364),a=o(48124),c=o(69096),e=o(26956);class u{static loggerCallback(Fe,Ee){switch(Fe){case d.G.Error:return void console.error(Ee);case d.G.Info:return void console.info(Ee);case d.G.Verbose:return void console.debug(Ee);case d.G.Warning:return void console.warn(Ee);default:return void console.log(Ee)}}constructor(Fe){let Ee;this.browserEnvironment=typeof window<"u",this.config=(0,a.k5)(Fe,this.browserEnvironment);try{Ee=window[e.Ir.SessionStorage]}catch{}const ye=Ee?.getItem(e.Ip),Ce=Ee?.getItem(e.k9)?.toLowerCase(),Ge="true"===Ce||"false"!==Ce&&void 0,Je={...this.config.system.loggerOptions},vt=ye&&Object.keys(d.G).includes(ye)?d.G[ye]:void 0;vt&&(Je.loggerCallback=u.loggerCallback,Je.logLevel=vt),void 0!==Ge&&(Je.piiLoggingEnabled=Ge),this.logger=new d.Y(Je,c.N,c.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var l=o(59048);let g=(()=>{class jt{static initializeNestedAppAuthBridge(){return(0,i.c)(function*(){if(void 0===window)throw new Error("window is undefined");if(void 0===window.nestedAppAuthBridge)throw new Error("window.nestedAppAuthBridge is undefined");if(void 0===window.crypto)throw new Error("window.crypto is undefined");try{jt.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",ye=>{const Ge=JSON.parse("string"==typeof ye?ye:ye.data),Je=jt.bridgeRequests.find(vt=>vt.requestId===Ge.requestId);void 0!==Je&&(jt.bridgeRequests.splice(jt.bridgeRequests.indexOf(Je),1),Ge.success?Je.resolve(Ge):Je.reject(Ge.error))});const Ee=yield new Promise((ye,Ce)=>{const Ge={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:jt.getRandomId()};jt.bridgeRequests.push({requestId:Ge.requestId,method:Ge.method,resolve:ye,reject:Ce}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Ge))});return jt.validateBridgeResultOrThrow(Ee.initContext)}catch(Ee){throw window.console.log(Ee),Ee}})()}static getRandomId(){return jt.crypto.randomUUID()}getTokenInteractive(Ee){return this.getToken("GetTokenPopup",Ee)}getTokenSilent(Ee){return this.getToken("GetToken",Ee)}getToken(Ee,ye){var Ce=this;return(0,i.c)(function*(){const Ge=yield Ce.sendRequest(Ee,{tokenParams:ye});return{token:jt.validateBridgeResultOrThrow(Ge.token),account:jt.validateBridgeResultOrThrow(Ge.account)}})()}getActiveAccount(){var Ee=this;return(0,i.c)(function*(){const ye=yield Ee.sendRequest("GetActiveAccount");return jt.validateBridgeResultOrThrow(ye.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Ee,ye){const Ce={messageType:"NestedAppAuthRequest",method:Ee,requestId:jt.getRandomId(),...ye};return new Promise((Je,vt)=>{jt.bridgeRequests.push({requestId:Ce.requestId,method:Ce.method,resolve:Je,reject:vt}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Ce))})}static validateBridgeResultOrThrow(Ee){if(void 0===Ee)throw{status:l.I.NestedAppAuthUnavailable};return Ee}constructor(Ee,ye,Ce){this.sdkName=Ee,this.sdkVersion=ye,this.capabilities=Ce}static create(){return(0,i.c)(function*(){const Ee=yield jt.initializeNestedAppAuthBridge();return new jt(Ee.sdkName,Ee.sdkVersion,Ee.capabilities)})()}}return jt.bridgeRequests=[],jt})(),v=(()=>{class jt extends u{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return jt.MODULE_NAME}getId(){return jt.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Ee){this.activeAccount=Ee}initialize(){var Ee=this;return(0,i.c)(function*(){try{if(typeof window<"u"){const ye=yield g.create();try{ye.getHostCapabilities()?.queryAccount&&(Ee.activeAccount=yield ye.getActiveAccount())}catch{Ee.activeAccount=void 0}Ee.bridgeProxy=ye,Ee.available=void 0!==ye}else Ee.available=!1}catch{Ee.available=!1}finally{return Ee.available}})()}}return jt.MODULE_NAME="",jt.ID="TeamsAppOperatingContext",jt})(),p=(()=>{class jt extends u{getModuleName(){return jt.MODULE_NAME}getId(){return jt.ID}initialize(){var Ee=this;return(0,i.c)(function*(){return Ee.available=typeof window<"u",Ee.available})()}}return jt.MODULE_NAME="",jt.ID="StandardOperatingContext",jt})();function b(){return(b=(0,i.c)(function*(jt){const Fe=new p(jt);return yield Fe.initialize(),(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(Fe)})).apply(this,arguments)}function _(jt){return f.apply(this,arguments)}function f(){return(f=(0,i.c)(function*(jt){const Fe=new p(jt),Ee=new v(jt),ye=[Fe.initialize(),Ee.initialize()];return yield Promise.all(ye),Ee.isAvailable()&&Ee.getConfig().auth.supportsNestedAppAuth?(yield o.e(1620).then(o.bind(o,61620))).NestedAppAuthController.createController(Ee):Fe.isAvailable()?(yield Promise.resolve().then(o.bind(o,65304))).StandardController.createController(Fe):null})).apply(this,arguments)}var y=o(65304);class S{static createPublicClientApplication(Fe){return(0,i.c)(function*(){const Ee=yield function C(jt){return b.apply(this,arguments)}(Fe);return new S(Fe,Ee)})()}constructor(Fe,Ee){if(Ee)this.controller=Ee;else{const ye=new p(Fe);this.controller=new y.StandardController(ye)}}initialize(){var Fe=this;return(0,i.c)(function*(){return Fe.controller.initialize()})()}acquireTokenPopup(Fe){var Ee=this;return(0,i.c)(function*(){return Ee.controller.acquireTokenPopup(Fe)})()}acquireTokenRedirect(Fe){return this.controller.acquireTokenRedirect(Fe)}acquireTokenSilent(Fe){return this.controller.acquireTokenSilent(Fe)}acquireTokenByCode(Fe){return this.controller.acquireTokenByCode(Fe)}addEventCallback(Fe){return this.controller.addEventCallback(Fe)}removeEventCallback(Fe){return this.controller.removeEventCallback(Fe)}addPerformanceCallback(Fe){return this.controller.addPerformanceCallback(Fe)}removePerformanceCallback(Fe){return this.controller.removePerformanceCallback(Fe)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(Fe){return this.controller.getAccount(Fe)}getAccountByHomeId(Fe){return this.controller.getAccountByHomeId(Fe)}getAccountByLocalId(Fe){return this.controller.getAccountByLocalId(Fe)}getAccountByUsername(Fe){return this.controller.getAccountByUsername(Fe)}getAllAccounts(Fe){return this.controller.getAllAccounts(Fe)}handleRedirectPromise(Fe){return this.controller.handleRedirectPromise(Fe)}loginPopup(Fe){return this.controller.loginPopup(Fe)}loginRedirect(Fe){return this.controller.loginRedirect(Fe)}logout(Fe){return this.controller.logout(Fe)}logoutRedirect(Fe){return this.controller.logoutRedirect(Fe)}logoutPopup(Fe){return this.controller.logoutPopup(Fe)}ssoSilent(Fe){return this.controller.ssoSilent(Fe)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(Fe){this.controller.setLogger(Fe)}setActiveAccount(Fe){this.controller.setActiveAccount(Fe)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(Fe,Ee){return this.controller.initializeWrapperLibrary(Fe,Ee)}setNavigationClient(Fe){this.controller.setNavigationClient(Fe)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(Fe,Ee){var ye=this;return(0,i.c)(function*(){return ye.controller.hydrateCache(Fe,Ee)})()}clearCache(Fe){return this.controller.clearCache(Fe)}}var M=o(65172),w=o(69812),A=o(7184),O=o(85968);class F{constructor(Fe){this.initialized=!1,this.operatingContext=Fe,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=Fe.getConfig(),this.logger=Fe.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new A.A(this.logger,this.performanceClient):M.K,this.browserStorage=this.isBrowserEnvironment?new w.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,w.S)(this.config.auth.clientId,this.logger),this.eventHandler=new O.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(Fe){return null}getAccountByHomeId(Fe){return null}getAccountByLocalId(Fe){return null}getAccountByUsername(Fe){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(Fe,Ee,ye){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(Fe,Ee){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(Fe){return this.eventHandler.addEventCallback(Fe)}removeEventCallback(Fe){this.eventHandler.removeEventCallback(Fe)}addPerformanceCallback(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}enableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}disableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}handleRedirectPromise(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getTokenCache(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getLogger(){return this.logger}setLogger(Fe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(Fe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(Fe,Ee){this.browserStorage.setWrapperMetadata(Fe,Ee)}setNavigationClient(Fe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getConfiguration(){return this.config}isBrowserEnv(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}getBrowserCrypto(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getPerformanceClient(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getRedirectResponse(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}preflightBrowserEnvironmentCheck(Fe,Ee){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(Fe){var Ee=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ee.initialized),(0,n.blockNonBrowserEnvironment)(Ee.isBrowserEnvironment)})()}hydrateCache(Fe,Ee){var ye=this;return(0,i.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(ye.initialized),(0,n.blockNonBrowserEnvironment)(ye.isBrowserEnvironment)})()}}let j=(()=>{class jt extends u{getModuleName(){return jt.MODULE_NAME}getId(){return jt.ID}initialize(){return(0,i.c)(function*(){return!0})()}}return jt.MODULE_NAME="",jt.ID="UnknownOperatingContext",jt})();class T{static createPublicClientApplication(Fe){return(0,i.c)(function*(){const Ee=yield _(Fe);let ye;return ye=null!==Ee?new T(Fe,Ee):new T(Fe),ye})()}constructor(Fe,Ee){if(this.configuration=Fe,Ee)this.controller=Ee;else{const ye=new j(Fe);this.controller=new F(ye)}}initialize(){var Fe=this;return(0,i.c)(function*(){if(Fe.controller instanceof F){const Ee=yield _(Fe.configuration);return null!==Ee&&(Fe.controller=Ee),Fe.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(Fe){var Ee=this;return(0,i.c)(function*(){return Ee.controller.acquireTokenPopup(Fe)})()}acquireTokenRedirect(Fe){return this.controller.acquireTokenRedirect(Fe)}acquireTokenSilent(Fe){return this.controller.acquireTokenSilent(Fe)}acquireTokenByCode(Fe){return this.controller.acquireTokenByCode(Fe)}addEventCallback(Fe){return this.controller.addEventCallback(Fe)}removeEventCallback(Fe){return this.controller.removeEventCallback(Fe)}addPerformanceCallback(Fe){return this.controller.addPerformanceCallback(Fe)}removePerformanceCallback(Fe){return this.controller.removePerformanceCallback(Fe)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(Fe){return this.controller.getAccount(Fe)}getAccountByHomeId(Fe){return this.controller.getAccountByHomeId(Fe)}getAccountByLocalId(Fe){return this.controller.getAccountByLocalId(Fe)}getAccountByUsername(Fe){return this.controller.getAccountByUsername(Fe)}getAllAccounts(Fe){return this.controller.getAllAccounts(Fe)}handleRedirectPromise(Fe){return this.controller.handleRedirectPromise(Fe)}loginPopup(Fe){return this.controller.loginPopup(Fe)}loginRedirect(Fe){return this.controller.loginRedirect(Fe)}logout(Fe){return this.controller.logout(Fe)}logoutRedirect(Fe){return this.controller.logoutRedirect(Fe)}logoutPopup(Fe){return this.controller.logoutPopup(Fe)}ssoSilent(Fe){return this.controller.ssoSilent(Fe)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(Fe){this.controller.setLogger(Fe)}setActiveAccount(Fe){this.controller.setActiveAccount(Fe)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(Fe,Ee){return this.controller.initializeWrapperLibrary(Fe,Ee)}setNavigationClient(Fe){this.controller.setNavigationClient(Fe)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(Fe,Ee){var ye=this;return(0,i.c)(function*(){return ye.controller.hydrateCache(Fe,Ee)})()}clearCache(Fe){return this.controller.clearCache(Fe)}}var I=o(4792),k=o(72592),N=o(85288);const x={initialize:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,k.cf)(N.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,k.cf)(N.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,k.cf)(N.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,k.cf)(N.stubbedPublicClientApplicationCalled))};var H=o(64952),G=o(61744),te=o(71720),ce=o(88904),se=o(28612),K=o(46392);class Z{constructor(Fe,Ee){this.logger=new d.Y(Ee&&Ee.loggerOptions||{},c.N,c.W),this.cryptoOps=new A.A(this.logger),this.popTokenGenerator=new K.w(this.cryptoOps),this.shrParameters=Fe}generatePublicKeyThumbprint(){var Fe=this;return(0,i.c)(function*(){const{kid:Ee}=yield Fe.popTokenGenerator.generateKid(Fe.shrParameters);return Ee})()}signRequest(Fe,Ee,ye){var Ce=this;return(0,i.c)(function*(){return Ce.popTokenGenerator.signPayload(Fe,Ee,Ce.shrParameters,ye)})()}removeKeys(Fe){var Ee=this;return(0,i.c)(function*(){return Ee.cryptoOps.removeTokenBindingKey(Fe)})()}}var re=o(85348),X=o(35128);class W{constructor(Fe,Ee,ye,Ce,Ge,Je,vt){this.authority=Ee,this.libraryName=Ce,this.libraryVersion=Ge,this.applicationTelemetry=Je,this.clientId=Fe,this.logger=ye,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=vt||new Set;for(const Bt of re.ol)this.intFields.add(Bt)}startPerformanceMeasurement(Fe,Ee){return{}}getPreQueueTime(Fe,Ee){const ye=this.preQueueTimeByCorrelationId.get(Ee);if(ye){if(ye.name===Fe)return ye.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${Fe}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Ee}, unable to add queue measurement`)}calculateQueuedTime(Fe,Ee){return Fe<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${Fe}`),0):Ee<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Ee}`),0):Eethis.endMeasurement({...Ce,...Ge}),discard:()=>this.discardMeasurements(Ce.correlationId),add:Ge=>this.addFields(Ge,Ce.correlationId),increment:Ge=>this.incrementFields(Ge,Ce.correlationId),event:Ce,measurement:new X.W}}endMeasurement(Fe){const Ee=this.eventsByCorrelationId.get(Fe.correlationId);if(!Ee)return this.logger.trace(`PerformanceClient: Measurement not found for ${Fe.eventId}`,Fe.correlationId),null;const ye=Fe.eventId===Ee.eventId;let Ce={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};ye?(Ce=this.getQueueInfo(Fe.correlationId),this.discardCache(Ee.correlationId)):Ee.incompleteSubMeasurements?.delete(Fe.eventId);const Ge=Fe.durationMs||this.getDurationMs(Fe.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${Fe.name}: ${Ge} ms`,Fe.correlationId),!ye)return Ee[Fe.name+"DurationMs"]=Math.floor(Ge),{...Ee};let Je={...Ee,...Fe},vt=0;return Je.incompleteSubMeasurements?.forEach(Bt=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${Bt.name} found for ${Fe.name}`,Je.correlationId),vt++}),Je.incompleteSubMeasurements=void 0,Je={...Je,durationMs:Math.round(Ge),queuedTimeMs:Ce.totalQueueTime,queuedCount:Ce.totalQueueCount,queuedManuallyCompletedCount:Ce.manuallyCompletedCount,status:re.W8.Completed,incompleteSubsCount:vt},this.truncateIntegralFields(Je),this.emitEvents([Je],Fe.correlationId),Je}addFields(Fe,Ee){this.logger.trace("PerformanceClient: Updating static fields");const ye=this.eventsByCorrelationId.get(Ee);ye?this.eventsByCorrelationId.set(Ee,{...ye,...Fe}):this.logger.trace("PerformanceClient: Event not found for",Ee)}incrementFields(Fe,Ee){this.logger.trace("PerformanceClient: Updating counters");const ye=this.eventsByCorrelationId.get(Ee);if(ye)for(const Ce in Fe){if(ye.hasOwnProperty(Ce)){if(isNaN(Number(ye[Ce])))return}else ye[Ce]=0;ye[Ce]+=Fe[Ce]}else this.logger.trace("PerformanceClient: Event not found for",Ee)}cacheEventByCorrelationId(Fe){const Ee=this.eventsByCorrelationId.get(Fe.correlationId);Ee?(this.logger.trace(`PerformanceClient: Performance measurement for ${Fe.name} added/updated`,Fe.correlationId),Ee.incompleteSubMeasurements=Ee.incompleteSubMeasurements||new Map,Ee.incompleteSubMeasurements.set(Fe.eventId,{name:Fe.name,startTimeMs:Fe.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${Fe.name} started`,Fe.correlationId),this.eventsByCorrelationId.set(Fe.correlationId,{...Fe}))}getQueueInfo(Fe){const Ee=this.queueMeasurements.get(Fe);Ee||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${Fe}`);let ye=0,Ce=0,Ge=0;return Ee?.forEach(Je=>{ye+=Je.queueTime,Ce++,Ge+=Je.manuallyCompleted?1:0}),{totalQueueTime:ye,totalQueueCount:Ce,manuallyCompletedCount:Ge}}discardMeasurements(Fe){this.logger.trace("PerformanceClient: Performance measurements discarded",Fe),this.eventsByCorrelationId.delete(Fe)}discardCache(Fe){this.discardMeasurements(Fe),this.logger.trace("PerformanceClient: QueueMeasurements discarded",Fe),this.queueMeasurements.delete(Fe),this.logger.trace("PerformanceClient: Pre-queue times discarded",Fe),this.preQueueTimeByCorrelationId.delete(Fe)}addPerformanceCallback(Fe){const Ee=this.generateId();return this.callbacks.set(Ee,Fe),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Ee}`),Ee}removePerformanceCallback(Fe){const Ee=this.callbacks.delete(Fe);return this.logger.verbose(Ee?`PerformanceClient: Performance callback ${Fe} removed.`:`PerformanceClient: Performance callback ${Fe} not removed.`),Ee}emitEvents(Fe,Ee){this.logger.verbose("PerformanceClient: Emitting performance events",Ee),this.callbacks.forEach((ye,Ce)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${Ce}`,Ee),ye.apply(null,[Fe])})}truncateIntegralFields(Fe){this.intFields.forEach(Ee=>{Ee in Fe&&"number"==typeof Fe[Ee]&&(Fe[Ee]=Math.floor(Fe[Ee]))})}getDurationMs(Fe){const Ee=Date.now()-Fe;return Ee<0?Ee:0}}var Y=o(34739),q=o(27880);function he(){let jt;try{jt=window[e.Ir.SessionStorage];const Fe=jt?.getItem(e.OG);if(1===Number(Fe))return Promise.resolve().then(o.bind(o,18156))}catch{}}function _e(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function Oe(jt){if(jt&&_e())return Math.round(window.performance.now()-jt)}class Re extends W{constructor(Fe,Ee){super(Fe.auth.clientId,Fe.auth.authority||`${Y.Mv.DEFAULT_AUTHORITY}`,new d.Y(Fe.system?.loggerOptions||{},c.N,c.W),c.N,c.W,Fe.telemetry?.application||{appName:"",appVersion:""},Ee)}generateId(){return(0,q.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(Fe){he()?.then(Ee=>{const ye=this.eventsByCorrelationId.get(Fe.event.correlationId),Ge=[];ye&&ye.eventId===Fe.event.eventId&&ye?.incompleteSubMeasurements&&ye.incompleteSubMeasurements.forEach(Je=>{Ge.push({...Je})}),Ee.BrowserPerformanceMeasurement.flushMeasurements(Fe.event.correlationId,Ge)})}startMeasurement(Fe,Ee){const ye=this.getPageVisibility(),Ce=super.startMeasurement(Fe,Ee),Ge=_e()?window.performance.now():void 0,Je=he()?.then(vt=>new vt.BrowserPerformanceMeasurement(Fe,Ce.event.correlationId));return Je?.then(vt=>vt.startMeasurement()),{...Ce,end:vt=>{const Bt=Ce.end({...vt,startPageVisibility:ye,endPageVisibility:this.getPageVisibility(),durationMs:Oe(Ge)});return Je?.then(Zt=>Zt.endMeasurement()),this.deleteIncompleteSubMeasurements(Ce),Bt},discard:()=>{Ce.discard(),Je?.then(vt=>vt.flushMeasurement()),this.deleteIncompleteSubMeasurements(Ce)}}}setPreQueueTime(Fe,Ee){if(!_e())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${Fe}`);if(!Ee)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${Fe} not provided, unable to set telemetry queue time`);const ye=this.preQueueTimeByCorrelationId.get(Ee);ye&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${ye.name} found`,Ee),this.addQueueMeasurement(ye.name,Ee,void 0,!0)),this.preQueueTimeByCorrelationId.set(Ee,{name:Fe,time:window.performance.now()})}addQueueMeasurement(Fe,Ee,ye,Ce){if(!_e())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${Fe}`);if(!Ee)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${Fe} not provided, unable to add queue measurement`);const Ge=super.getPreQueueTime(Fe,Ee);if(!Ge)return;const Je=window.performance.now(),vt=ye||super.calculateQueuedTime(Ge,Je);return super.addQueueMeasurement(Fe,Ee,vt,Ce)}}var Ae=o(18156),ge=o(59684),Ne=o(32336);class it{constructor(Fe){this.headers=Fe}getShrNonce(){const Fe=this.headers[Y.MF.AuthenticationInfo];if(Fe){const ye=this.parseChallenges(Fe);if(ye.nextnonce)return ye.nextnonce;throw(0,ge.QN)(Ne.invalidAuthenticationHeader)}const Ee=this.headers[Y.MF.WWWAuthenticate];if(Ee){const ye=this.parseChallenges(Ee);if(ye.nonce)return ye.nonce;throw(0,ge.QN)(Ne.invalidAuthenticationHeader)}throw(0,ge.QN)(Ne.missingNonceAuthenticationHeader)}parseChallenges(Fe){const Ee=Fe.indexOf(" "),ye=Fe.substr(Ee+1).split(","),Ce={};return ye.forEach(Ge=>{const[Je,vt]=Ge.split("=");Ce[Je]=unescape(vt.replace(/['"]+/g,Y.Mv.EMPTY_STRING))}),Ce}}var qe=o(98416),et=o(66936),De=o(83228),je=o(67952),Pe=o(28876),bt=o(71408),Qe=o(53408),Ut=o(72896),sn=o(65072),un=o(76944),Sn=o(7828),bn=o(67648),kt=o(32828)},59048:(ve,h,o)=>{"use strict";o.d(h,{I:()=>n});const n={UserInteractionRequired:"USER_INTERACTION_REQUIRED",UserCancel:"USER_CANCEL",NoNetwork:"NO_NETWORK",TransientError:"TRANSIENT_ERROR",PersistentError:"PERSISTENT_ERROR",Disabled:"DISABLED",AccountUnavailable:"ACCOUNT_UNAVAILABLE",NestedAppAuthUnavailable:"NESTED_APP_AUTH_UNAVAILABLE"}},64952:(ve,h,o)=>{"use strict";o.d(h,{m:()=>n});class n{navigateInternal(d,a){return n.defaultNavigateWindow(d,a)}navigateExternal(d,a){return n.defaultNavigateWindow(d,a)}static defaultNavigateWindow(d,a){return a.noHistory?window.location.replace(d):window.location.assign(d),new Promise(c=>{setTimeout(()=>{c(!0)},a.timeout)})}}},69096:(ve,h,o)=>{"use strict";o.d(h,{N:()=>n,W:()=>i});const n="@azure/msal-browser",i="3.10.0"},18156:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{BrowserPerformanceMeasurement:()=>n});class n{constructor(d,a){this.correlationId=a,this.measureName=n.makeMeasureName(d,a),this.startMark=n.makeStartMark(d,a),this.endMark=n.makeEndMark(d,a)}static makeMeasureName(d,a){return`msal.measure.${d}.${a}`}static makeStartMark(d,a){return`msal.start.${d}.${a}`}static makeEndMark(d,a){return`msal.end.${d}.${a}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.measure&&"function"==typeof window.performance.clearMarks&&"function"==typeof window.performance.clearMeasures&&"function"==typeof window.performance.getEntriesByName}static flushMeasurements(d,a){if(n.supportsBrowserPerformance())try{a.forEach(c=>{const e=n.makeMeasureName(c.name,d);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,d)),window.performance.clearMarks(n.makeEndMark(e,d)))})}catch{}}startMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(n.supportsBrowserPerformance())try{const d=window.performance.getEntriesByName(this.measureName,"measure");if(d.length>0){const a=d[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),a}}catch{}return null}}},26956:(ve,h,o)=>{"use strict";o.d(h,{CM:()=>g,Ce:()=>a,Ed:()=>v,Ip:()=>O,Ir:()=>c,Lm:()=>f,OG:()=>j,UZ:()=>l,Yz:()=>C,a:()=>A,eG:()=>_,eQ:()=>M,f6:()=>y,gV:()=>S,ig:()=>i,k9:()=>F,sJ:()=>d,wV:()=>p,wd:()=>w,wv:()=>b,yI:()=>e,zH:()=>u});var n=o(34739);const i={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},d={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},a={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},c={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},u={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},l={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},g={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},v={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var p=function(T){return T.Redirect="redirect",T.Popup="popup",T.Silent="silent",T.None="none",T}(p||{});const C={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},b={scopes:n.ac},_="jwk",f={React:"@azure/msal-react",Angular:"@azure/msal-angular"},y="msal.db",S=1,M=`${y}.keys`,w={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},A=[w.Default,w.Skip,w.RefreshTokenAndNetwork],O="msal.browser.log.level",F="msal.browser.log.pii",j="msal.browser.performance.enabled"},99632:(ve,h,o)=>{"use strict";o.d(h,{Q:()=>a});var n=o(86144),i=o(28876),d=o(71408);function a(c,e){if(!e)return null;try{return n.c.parseRequestState(c,e).libraryState.meta}catch{throw(0,i.mQ)(d.invalidState)}}},84644:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{blockAPICallsBeforeInitialize:()=>y,blockAcquireTokenInPopups:()=>_,blockNonBrowserEnvironment:()=>f,blockRedirectInIframe:()=>b,blockReloadInHiddenIframes:()=>C,clearHash:()=>e,createGuid:()=>M,getCurrentUri:()=>v,getHomepage:()=>p,isInIframe:()=>l,isInPopup:()=>g,preconnect:()=>S,replaceHash:()=>u});var n=o(67648),i=o(4792),d=o(26956),a=o(27880),c=o(32828);function e(w){w.location.hash="","function"==typeof w.history.replaceState&&w.history.replaceState(null,"",`${w.location.origin}${w.location.pathname}${w.location.search}`)}function u(w){const A=w.split("#");A.shift(),window.location.hash=A.length>0?A.join("#"):""}function l(){return window.parent!==window}function g(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${d.ig.POPUP_NAME_PREFIX}.`)}function v(){return window.location.href.split("?")[0].split("#")[0]}function p(){const A=new n._(window.location.href).getUrlComponents();return`${A.Protocol}//${A.HostNameAndPort}/`}function C(){if(n._.hashContainsKnownProperties(window.location.hash)&&l())throw(0,i.Wq)(c.blockIframeReload)}function b(w,A){const O=l();if(w===d.wV.Redirect&&O&&!A)throw(0,i.Wq)(c.redirectInIframe)}function _(){if(g())throw(0,i.Wq)(c.blockNestedPopups)}function f(w){if(!w)throw(0,i.Wq)(c.nonBrowserEnvironment)}function y(w){if(!w)throw(0,i.Wq)(c.uninitializedPublicClientApplication)}function S(w){const A=document.createElement("link");A.rel="preconnect",A.href=new URL(w).origin,A.crossOrigin="anonymous",document.head.appendChild(A),window.setTimeout(()=>{try{document.head.removeChild(A)}catch{}},1e4)}function M(){return(0,a.E5)()}},60928:(ve,h,o)=>{"use strict";function n(a,c){return!!a&&!!c&&a===c.split(".")[1]}function i(a,c){const{oid:e,sub:u,tid:l,name:g,tfp:v,acr:p}=c,C=l||v||p||"";return{tenantId:C,localAccountId:e||u||"",name:g,isHomeTenant:n(C,a)}}function d(a,c,e,u){let l=a;if(c){const{isHomeTenant:g,...v}=c;l={...a,...v}}if(e){const{isHomeTenant:g,...v}=i(a.homeAccountId,e);return l={...l,...v,idTokenClaims:e,idToken:u},l}return l}o.d(h,{EJ:()=>i,Ho:()=>d,Wo:()=>n})},6400:(ve,h,o)=>{"use strict";o.d(h,{UH:()=>c,aw:()=>d});var n=o(28876),i=o(71408);function d(e,u){const l=function a(e){if(!e)throw(0,n.mQ)(i.nullOrEmptyToken);const l=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!l||l.length<4)throw(0,n.mQ)(i.tokenParsingError);return l[2]}(e);try{const g=u(l);return JSON.parse(g)}catch{throw(0,n.mQ)(i.tokenParsingError)}}function c(e,u){if(0===u||Date.now()-3e5>e+u)throw(0,n.mQ)(i.maxAgeTranspired)}},16256:(ve,h,o)=>{"use strict";o.d(h,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(ve,h,o)=>{"use strict";o.d(h,{G:()=>a,k:()=>c});var n=o(28876),i=o(34739),d=o(71408);function a(e,u){if(!e)throw(0,n.mQ)(d.clientInfoEmptyError);try{const l=u(e);return JSON.parse(l)}catch{throw(0,n.mQ)(d.clientInfoDecodingError)}}function c(e){if(!e)throw(0,n.mQ)(d.clientInfoDecodingError);const u=e.split(i.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:u[0],utid:u.length<2?i.Mv.EMPTY_STRING:u[1]}}},79032:(ve,h,o)=>{"use strict";function n(i){return i&&(i.tid||i.tfp||i.acr)||null}o.d(h,{c:()=>n})},74968:(ve,h,o)=>{"use strict";o.d(h,{ET:()=>u,IP:()=>e,UD:()=>g,_8:()=>v,gB:()=>a});var n=o(67648),i=o(34739);const a={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},c={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},e=new Set;function u(p,C){let b;const _=p.canonicalAuthority;if(_){const f=new n._(_).getUrlComponents().HostNameAndPort;b=l(f,p.cloudDiscoveryMetadata?.metadata,i.cv.CONFIG,C)||l(f,c.metadata,i.cv.HARDCODED_VALUES,C)||p.knownAuthorities}return b||[]}function l(p,C,b,_){if(_?.trace(`getAliasesFromMetadata called with source: ${b}`),p&&C){const f=v(C,p);if(f)return _?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${b}, returning aliases`),f.aliases;_?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${b}`)}return null}function g(p){return v(c.metadata,p)}function v(p,C){for(let b=0;b{p.aliases.forEach(C=>{e.add(C)})})},67952:(ve,h,o)=>{"use strict";o.d(h,{C:()=>n});const n={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"}},25988:(ve,h,o)=>{"use strict";o.d(h,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(ve,h,o)=>{"use strict";o.d(h,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(ve,h,o)=>{"use strict";o.d(h,{B:()=>C,K:()=>b});var n=o(1528),i=o(34739),d=o(72584),a=o(95248),c=o(98416),e=o(28876),u=o(60928),l=o(6400),g=o(75205),v=o(74968),p=o(71408);class C{constructor(f,y,S,M){this.clientId=f,this.cryptoImpl=y,this.commonLogger=S.clone(g.N,g.W),this.staticAuthorityOptions=M}getAllAccounts(f){return this.buildTenantProfiles(this.getAccountsFilteredBy(f||{}),f)}getAccountInfoFilteredBy(f){const y=this.getAllAccounts(f);return y.length>1?y.sort(M=>M.idTokenClaims?-1:1)[0]:1===y.length?y[0]:null}getBaseAccountInfo(f){const y=this.getAccountsFilteredBy(f);return y.length>0?y[0].getAccountInfo():null}buildTenantProfiles(f,y){return f.flatMap(S=>this.getAccountInfoForTenantProfiles(S,y))}getAccountInfoForTenantProfiles(f,y){return this.getTenantProfilesFromAccountEntity(f,y?.tenantId,y)}getTenantedAccountInfoByFilter(f,y,S,M){let A,w=null;if(M&&!this.tenantProfileMatchesFilter(S,M))return null;const O=this.getIdToken(f,y,S.tenantId);return O&&(A=(0,l.aw)(O.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(A,M))?null:(w=(0,u.Ho)(f,S,A,O?.secret),w)}getTenantProfilesFromAccountEntity(f,y,S){const M=f.getAccountInfo();let w=M.tenantProfiles||new Map;const A=this.getTokenKeys();if(y){const F=w.get(y);if(!F)return[];w=new Map([[y,F]])}const O=[];return w.forEach(F=>{const j=this.getTenantedAccountInfoByFilter(M,A,F,S);j&&O.push(j)}),O}tenantProfileMatchesFilter(f,y){return!(y.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(f,y.localAccountId)||y.name&&f.name!==y.name||void 0!==y.isHomeTenant&&f.isHomeTenant!==y.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(f,y){return!(y&&(y.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(f,y.localAccountId)||y.loginHint&&!this.matchLoginHintFromTokenClaims(f,y.loginHint)||y.username&&!this.matchUsername(f.preferred_username,y.username)||y.name&&!this.matchName(f,y.name)||y.sid&&!this.matchSid(f,y.sid)))}saveCacheRecord(f,y){var S=this;return(0,n.c)(function*(){if(!f)throw(0,e.mQ)(p.invalidCacheRecord);f.account&&S.setAccount(f.account),f.idToken&&!1!==y?.idToken&&S.setIdTokenCredential(f.idToken),f.accessToken&&!1!==y?.accessToken&&(yield S.saveAccessToken(f.accessToken)),f.refreshToken&&!1!==y?.refreshToken&&S.setRefreshTokenCredential(f.refreshToken),f.appMetadata&&S.setAppMetadata(f.appMetadata)})()}saveAccessToken(f){var y=this;return(0,n.c)(function*(){const S={clientId:f.clientId,credentialType:f.credentialType,environment:f.environment,homeAccountId:f.homeAccountId,realm:f.realm,tokenType:f.tokenType,requestedClaimsHash:f.requestedClaimsHash},M=y.getTokenKeys(),w=a.k.fromString(f.target),A=[];M.accessToken.forEach(O=>{if(!y.accessTokenKeyMatchesFilter(O,S,!1))return;const F=y.getAccessTokenCredential(O);F&&y.credentialMatchesFilter(F,S)&&a.k.fromString(F.target).intersectingScopeSets(w)&&A.push(y.removeAccessToken(O))}),yield Promise.all(A),y.setAccessTokenCredential(f)})()}getAccountsFilteredBy(f){const y=this.getAccountKeys(),S=[];return y.forEach(M=>{if(!this.isAccountKey(M,f.homeAccountId))return;const w=this.getAccount(M,this.commonLogger);if(!w||f.homeAccountId&&!this.matchHomeAccountId(w,f.homeAccountId)||f.username&&!this.matchUsername(w.username,f.username)||f.environment&&!this.matchEnvironment(w,f.environment)||f.realm&&!this.matchRealm(w,f.realm)||f.nativeAccountId&&!this.matchNativeAccountId(w,f.nativeAccountId)||f.authorityType&&!this.matchAuthorityType(w,f.authorityType))return;const A={localAccountId:f?.localAccountId,name:f?.name},O=w.tenantProfiles?.filter(F=>this.tenantProfileMatchesFilter(F,A));O&&0===O.length||S.push(w)}),S}isAccountKey(f,y,S){return!(f.split(i.Mj.CACHE_KEY_SEPARATOR).length<3||y&&!f.toLowerCase().includes(y.toLowerCase())||S&&!f.toLowerCase().includes(S.toLowerCase()))}isCredentialKey(f){if(f.split(i.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const y=f.toLowerCase();if(-1===y.indexOf(i.yu.ID_TOKEN.toLowerCase())&&-1===y.indexOf(i.yu.ACCESS_TOKEN.toLowerCase())&&-1===y.indexOf(i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===y.indexOf(i.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(y.indexOf(i.yu.REFRESH_TOKEN.toLowerCase())>-1){const M=`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${i.wj}${i.Mj.CACHE_KEY_SEPARATOR}`;if(-1===y.indexOf(`${i.yu.REFRESH_TOKEN}${i.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${i.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===y.indexOf(M.toLowerCase()))return!1}else if(-1===y.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(f,y){return!(y.clientId&&!this.matchClientId(f,y.clientId)||y.userAssertionHash&&!this.matchUserAssertionHash(f,y.userAssertionHash)||"string"==typeof y.homeAccountId&&!this.matchHomeAccountId(f,y.homeAccountId)||y.environment&&!this.matchEnvironment(f,y.environment)||y.realm&&!this.matchRealm(f,y.realm)||y.credentialType&&!this.matchCredentialType(f,y.credentialType)||y.familyId&&!this.matchFamilyId(f,y.familyId)||y.target&&!this.matchTarget(f,y.target)||(y.requestedClaimsHash||f.requestedClaimsHash)&&f.requestedClaimsHash!==y.requestedClaimsHash||f.credentialType===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(y.tokenType&&!this.matchTokenType(f,y.tokenType)||y.tokenType===i.me.SSH&&y.keyId&&!this.matchKeyId(f,y.keyId)))}getAppMetadataFilteredBy(f){return this.getAppMetadataFilteredByInternal(f.environment,f.clientId)}getAppMetadataFilteredByInternal(f,y){const S=this.getKeys(),M={};return S.forEach(w=>{if(!this.isAppMetadata(w))return;const A=this.getAppMetadata(w);A&&(f&&!this.matchEnvironment(A,f)||y&&!this.matchClientId(A,y)||(M[w]=A))}),M}getAuthorityMetadataByAlias(f){const y=this.getAuthorityMetadataKeys();let S=null;return y.forEach(M=>{if(!this.isAuthorityMetadata(M)||-1===M.indexOf(this.clientId))return;const w=this.getAuthorityMetadata(M);w&&-1!==w.aliases.indexOf(f)&&(S=w)}),S}removeAllAccounts(){var f=this;return(0,n.c)(function*(){const y=f.getAccountKeys(),S=[];y.forEach(M=>{S.push(f.removeAccount(M))}),yield Promise.all(S)})()}removeAccount(f){var y=this;return(0,n.c)(function*(){const S=y.getAccount(f,y.commonLogger);S&&(yield y.removeAccountContext(S),y.removeItem(f))})()}removeAccountContext(f){var y=this;return(0,n.c)(function*(){const S=y.getTokenKeys(),M=f.generateAccountId(),w=[];S.idToken.forEach(A=>{0===A.indexOf(M)&&y.removeIdToken(A)}),S.accessToken.forEach(A=>{0===A.indexOf(M)&&w.push(y.removeAccessToken(A))}),S.refreshToken.forEach(A=>{0===A.indexOf(M)&&y.removeRefreshToken(A)}),yield Promise.all(w)})()}updateOutdatedCachedAccount(f,y,S){if(y&&y.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const M=this.getAccountKeys().filter(j=>j.startsWith(y.homeAccountId)),w=[];M.forEach(j=>{const T=this.getCachedAccountEntity(j);T&&w.push(T)});const A=w.find(j=>(0,u.Wo)(j.realm,j.homeAccountId))||w[0];A.tenantProfiles=w.map(j=>({tenantId:j.realm,localAccountId:j.localAccountId,name:j.name,isHomeTenant:(0,u.Wo)(j.realm,j.homeAccountId)}));const O=C.toObject(new c.M,{...A}),F=O.generateAccountKey();return M.forEach(j=>{j!==F&&this.removeOutdatedAccount(f)}),this.setAccount(O),S?.verbose("Updated an outdated account entity in the cache"),O}return y}removeAccessToken(f){var y=this;return(0,n.c)(function*(){const S=y.getAccessTokenCredential(f);if(S){if(S.credentialType.toLowerCase()===i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&S.tokenType===i.me.POP){const w=S.keyId;if(w)try{yield y.cryptoImpl.removeTokenBindingKey(w)}catch{throw(0,e.mQ)(p.bindingKeyNotRemoved)}}return y.removeItem(f)}})()}removeAppMetadata(){return this.getKeys().forEach(y=>{this.isAppMetadata(y)&&this.removeItem(y)}),!0}readAccountFromCache(f){const y=c.M.generateAccountCacheKey(f);return this.getAccount(y,this.commonLogger)}getIdToken(f,y,S,M,w){this.commonLogger.trace("CacheManager - getIdToken called");const O=this.getIdTokensByFilter({homeAccountId:f.homeAccountId,environment:f.environment,credentialType:i.yu.ID_TOKEN,clientId:this.clientId,realm:S},y),F=O.size;if(F<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(F>1){let j=O;if(!S){const T=new Map;O.forEach((k,N)=>{k.realm===f.tenantId&&T.set(N,k)});const I=T.size;if(I<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),O.values().next().value;if(1===I)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),T.values().next().value;j=T}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),j.forEach((T,I)=>{this.removeIdToken(I)}),M&&w&&M.addFields({multiMatchedID:O.size},w),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),O.values().next().value}getIdTokensByFilter(f,y){const S=y&&y.idToken||this.getTokenKeys().idToken,M=new Map;return S.forEach(w=>{if(!this.idTokenKeyMatchesFilter(w,{clientId:this.clientId,...f}))return;const A=this.getIdTokenCredential(w);A&&this.credentialMatchesFilter(A,f)&&M.set(w,A)}),M}idTokenKeyMatchesFilter(f,y){const S=f.toLowerCase();return!(y.clientId&&-1===S.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===S.indexOf(y.homeAccountId.toLowerCase()))}removeIdToken(f){this.removeItem(f)}removeRefreshToken(f){this.removeItem(f)}getAccessToken(f,y,S,M,w,A){this.commonLogger.trace("CacheManager - getAccessToken called");const O=a.k.createSearchScopes(y.scopes),F=y.authenticationScheme||i.me.BEARER,j=F&&F.toLowerCase()!==i.me.BEARER.toLowerCase()?i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:i.yu.ACCESS_TOKEN,T={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:j,clientId:this.clientId,realm:M||f.tenantId,target:O,tokenType:F,keyId:y.sshKid,requestedClaimsHash:y.requestedClaimsHash},I=S&&S.accessToken||this.getTokenKeys().accessToken,k=[];I.forEach(x=>{if(this.accessTokenKeyMatchesFilter(x,T,!0)){const H=this.getAccessTokenCredential(x);H&&this.credentialMatchesFilter(H,T)&&k.push(H)}});const N=k.length;return N<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):N>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),k.forEach(x=>{this.removeAccessToken((0,d.AZ)(x))}),w&&A&&w.addFields({multiMatchedAT:k.length},A),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),k[0])}accessTokenKeyMatchesFilter(f,y,S){const M=f.toLowerCase();if(y.clientId&&-1===M.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===M.indexOf(y.homeAccountId.toLowerCase())||y.realm&&-1===M.indexOf(y.realm.toLowerCase())||y.requestedClaimsHash&&-1===M.indexOf(y.requestedClaimsHash.toLowerCase()))return!1;if(y.target){const w=y.target.asArray();for(let A=0;A{if(!this.accessTokenKeyMatchesFilter(M,f,!0))return;const w=this.getAccessTokenCredential(M);w&&this.credentialMatchesFilter(w,f)&&S.push(w)}),S}getRefreshToken(f,y,S,M,w){this.commonLogger.trace("CacheManager - getRefreshToken called");const O={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:i.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:y?i.wj:void 0},F=S&&S.refreshToken||this.getTokenKeys().refreshToken,j=[];F.forEach(I=>{if(this.refreshTokenKeyMatchesFilter(I,O)){const k=this.getRefreshTokenCredential(I);k&&this.credentialMatchesFilter(k,O)&&j.push(k)}});const T=j.length;return T<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(T>1&&M&&w&&M.addFields({multiMatchedRT:T},w),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),j[0])}refreshTokenKeyMatchesFilter(f,y){const S=f.toLowerCase();return!(y.familyId&&-1===S.indexOf(y.familyId.toLowerCase())||!y.familyId&&y.clientId&&-1===S.indexOf(y.clientId.toLowerCase())||y.homeAccountId&&-1===S.indexOf(y.homeAccountId.toLowerCase()))}readAppMetadataFromCache(f){const S=this.getAppMetadataFilteredBy({environment:f,clientId:this.clientId}),M=Object.keys(S).map(A=>S[A]),w=M.length;if(w<1)return null;if(w>1)throw(0,e.mQ)(p.multipleMatchingAppMetadata);return M[0]}isAppMetadataFOCI(f){const y=this.readAppMetadataFromCache(f);return!(!y||y.familyId!==i.wj)}matchHomeAccountId(f,y){return"string"==typeof f.homeAccountId&&y===f.homeAccountId}matchLocalAccountIdFromTokenClaims(f,y){return y===(f.oid||f.sub)}matchLocalAccountIdFromTenantProfile(f,y){return f.localAccountId===y}matchName(f,y){return y.toLowerCase()===f.name?.toLowerCase()}matchUsername(f,y){return!(!f||"string"!=typeof f||y?.toLowerCase()!==f.toLowerCase())}matchUserAssertionHash(f,y){return!(!f.userAssertionHash||y!==f.userAssertionHash)}matchEnvironment(f,y){if(this.staticAuthorityOptions){const M=(0,v.ET)(this.staticAuthorityOptions,this.commonLogger);if(M.includes(y)&&M.includes(f.environment))return!0}const S=this.getAuthorityMetadataByAlias(y);return!!(S&&S.aliases.indexOf(f.environment)>-1)}matchCredentialType(f,y){return f.credentialType&&y.toLowerCase()===f.credentialType.toLowerCase()}matchClientId(f,y){return!(!f.clientId||y!==f.clientId)}matchFamilyId(f,y){return!(!f.familyId||y!==f.familyId)}matchRealm(f,y){return f.realm?.toLowerCase()===y.toLowerCase()}matchNativeAccountId(f,y){return!(!f.nativeAccountId||y!==f.nativeAccountId)}matchLoginHintFromTokenClaims(f,y){return f.login_hint===y||f.preferred_username===y||f.upn===y}matchSid(f,y){return f.sid===y}matchAuthorityType(f,y){return!(!f.authorityType||y.toLowerCase()!==f.authorityType.toLowerCase())}matchTarget(f,y){return!(f.credentialType!==i.yu.ACCESS_TOKEN&&f.credentialType!==i.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!f.target)&&a.k.fromString(f.target).containsScopeSet(y)}matchTokenType(f,y){return!(!f.tokenType||f.tokenType!==y)}matchKeyId(f,y){return!(!f.keyId||f.keyId!==y)}isAppMetadata(f){return-1!==f.indexOf(i.cz)}isAuthorityMetadata(f){return-1!==f.indexOf(i.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(f){return`${i.Ni.CACHE_KEY}-${this.clientId}-${f}`}static toObject(f,y){for(const S in y)f[S]=y[S];return f}}class b extends C{setAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getAccount(){throw(0,e.mQ)(p.methodNotImplemented)}getCachedAccountEntity(){throw(0,e.mQ)(p.methodNotImplemented)}setIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getIdTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getAccessTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}getRefreshTokenCredential(){throw(0,e.mQ)(p.methodNotImplemented)}setAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAppMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}setServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}getServerTelemetry(){throw(0,e.mQ)(p.methodNotImplemented)}setAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadata(){throw(0,e.mQ)(p.methodNotImplemented)}getAuthorityMetadataKeys(){throw(0,e.mQ)(p.methodNotImplemented)}setThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}getThrottlingCache(){throw(0,e.mQ)(p.methodNotImplemented)}removeItem(){throw(0,e.mQ)(p.methodNotImplemented)}containsKey(){throw(0,e.mQ)(p.methodNotImplemented)}getKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getAccountKeys(){throw(0,e.mQ)(p.methodNotImplemented)}getTokenKeys(){throw(0,e.mQ)(p.methodNotImplemented)}clear(){return(0,n.c)(function*(){throw(0,e.mQ)(p.methodNotImplemented)})()}updateCredentialCacheKey(){throw(0,e.mQ)(p.methodNotImplemented)}removeOutdatedAccount(){throw(0,e.mQ)(p.methodNotImplemented)}}},98416:(ve,h,o)=>{"use strict";o.d(h,{M:()=>g});var n=o(34739),i=o(22045),d=o(60928),a=o(28876),c=o(25988),e=o(79032),u=o(65072),l=o(71408);class g{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return g.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map(p=>[p.tenantId,p]))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(p){const C=p.homeAccountId.split(".")[1];return[p.homeAccountId,p.environment||"",C||p.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(p,C,b){const _=new g;let f;_.authorityType=C.authorityType===c.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:C.protocolMode===u.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,p.clientInfo&&b&&(f=(0,i.G)(p.clientInfo,b)),_.clientInfo=p.clientInfo,_.homeAccountId=p.homeAccountId,_.nativeAccountId=p.nativeAccountId;const y=p.environment||C&&C.getPreferredCache();if(!y)throw(0,a.mQ)(l.invalidCacheEnvironment);if(_.environment=y,_.realm=f?.utid||(0,e.c)(p.idTokenClaims)||"",_.localAccountId=f?.uid||p.idTokenClaims.oid||p.idTokenClaims.sub||"",_.username=p.idTokenClaims.preferred_username||p.idTokenClaims.upn||(p.idTokenClaims.emails?p.idTokenClaims.emails[0]:null)||"",_.name=p.idTokenClaims.name,_.cloudGraphHostName=p.cloudGraphHostName,_.msGraphHost=p.msGraphHost,p.tenantProfiles)_.tenantProfiles=p.tenantProfiles;else{const w=[];if(p.idTokenClaims){const A=(0,d.EJ)(p.homeAccountId,p.idTokenClaims);w.push(A)}_.tenantProfiles=w}return _}static createFromAccountInfo(p,C,b){const _=new g;return _.authorityType=p.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,_.homeAccountId=p.homeAccountId,_.localAccountId=p.localAccountId,_.nativeAccountId=p.nativeAccountId,_.realm=p.tenantId,_.environment=p.environment,_.username=p.username,_.name=p.name,_.cloudGraphHostName=C,_.msGraphHost=b,_.tenantProfiles=Array.from(p.tenantProfiles?.values()||[]),_}static generateHomeAccountId(p,C,b,_,f){if(C!==c.O.Adfs&&C!==c.O.Dsts){if(p)try{const y=(0,i.G)(p,_.base64Decode);if(y.uid&&y.utid)return`${y.uid}.${y.utid}`}catch{}b.warning("No client info in response")}return f?.sub||""}static isAccountEntity(p){return!!p&&p.hasOwnProperty("homeAccountId")&&p.hasOwnProperty("environment")&&p.hasOwnProperty("realm")&&p.hasOwnProperty("localAccountId")&&p.hasOwnProperty("username")&&p.hasOwnProperty("authorityType")}static accountInfoIsEqual(p,C,b){if(!p||!C)return!1;let _=!0;if(b){const f=p.idTokenClaims||{},y=C.idTokenClaims||{};_=f.iat===y.iat&&f.nonce===y.nonce}return p.homeAccountId===C.homeAccountId&&p.localAccountId===C.localAccountId&&p.username===C.username&&p.tenantId===C.tenantId&&p.environment===C.environment&&p.nativeAccountId===C.nativeAccountId&&_}}},9488:(ve,h,o)=>{"use strict";o.d(h,{O:()=>n});class n{constructor(d,a,c,e,u){this.account=d||null,this.idToken=a||null,this.accessToken=c||null,this.refreshToken=e||null,this.appMetadata=u||null}}},72584:(ve,h,o)=>{"use strict";o.d(h,{AZ:()=>e,LS:()=>C,MJ:()=>l,S:()=>O,U5:()=>b,Ul:()=>p,YF:()=>u,_c:()=>g,aA:()=>j,cb:()=>k,gv:()=>T,mk:()=>N,q6:()=>F,s7:()=>A,sH:()=>I,sX:()=>w});var n=o(6400),i=o(28876),d=o(34739),a=o(50160),c=o(71408);function e(x){return[_(x),f(x),y(x),S(x),M(x)].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function u(x,H,G,te,ce){return{credentialType:d.yu.ID_TOKEN,homeAccountId:x,environment:H,clientId:te,secret:G,realm:ce}}function l(x,H,G,te,ce,se,K,Z,re,X,W,Y,q,he,_e){const Oe={homeAccountId:x,credentialType:d.yu.ACCESS_TOKEN,secret:G,cachedAt:(0,a.GO)().toString(),expiresOn:K.toString(),extendedExpiresOn:Z.toString(),environment:H,clientId:te,realm:ce,target:se,tokenType:W||d.me.BEARER};if(Y&&(Oe.userAssertionHash=Y),X&&(Oe.refreshOn=X.toString()),he&&(Oe.requestedClaims=he,Oe.requestedClaimsHash=_e),Oe.tokenType?.toLowerCase()!==d.me.BEARER.toLowerCase())switch(Oe.credentialType=d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,Oe.tokenType){case d.me.POP:const Re=(0,n.aw)(G,re);if(!Re?.cnf?.kid)throw(0,i.mQ)(c.tokenClaimsCnfRequiredForSignedJwt);Oe.keyId=Re.cnf.kid;break;case d.me.SSH:Oe.keyId=q}return Oe}function g(x,H,G,te,ce,se,K){const Z={credentialType:d.yu.REFRESH_TOKEN,homeAccountId:x,environment:H,clientId:te,secret:G};return se&&(Z.userAssertionHash=se),ce&&(Z.familyId=ce),K&&(Z.expiresOn=K.toString()),Z}function v(x){return x.hasOwnProperty("homeAccountId")&&x.hasOwnProperty("environment")&&x.hasOwnProperty("credentialType")&&x.hasOwnProperty("clientId")&&x.hasOwnProperty("secret")}function p(x){return!!x&&v(x)&&x.hasOwnProperty("realm")&&x.hasOwnProperty("target")&&(x.credentialType===d.yu.ACCESS_TOKEN||x.credentialType===d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function C(x){return!!x&&v(x)&&x.hasOwnProperty("realm")&&x.credentialType===d.yu.ID_TOKEN}function b(x){return!!x&&v(x)&&x.credentialType===d.yu.REFRESH_TOKEN}function _(x){return[x.homeAccountId,x.environment].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function f(x){return[x.credentialType,x.credentialType===d.yu.REFRESH_TOKEN&&x.familyId||x.clientId,x.realm||""].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function y(x){return(x.target||"").toLowerCase()}function S(x){return(x.requestedClaimsHash||"").toLowerCase()}function M(x){return x.tokenType&&x.tokenType.toLowerCase()!==d.me.BEARER.toLowerCase()?x.tokenType.toLowerCase():""}function w(x,H){const G=0===x.indexOf(d.ic.CACHE_KEY);let te=!0;return H&&(te=H.hasOwnProperty("failedRequests")&&H.hasOwnProperty("errors")&&H.hasOwnProperty("cacheHits")),G&&te}function A(x,H){let G=!1;x&&(G=0===x.indexOf(d.gr.THROTTLING_PREFIX));let te=!0;return H&&(te=H.hasOwnProperty("throttleTime")),G&&te}function O({environment:x,clientId:H}){return[d.cz,x,H].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function F(x,H){return!!H&&0===x.indexOf(d.cz)&&H.hasOwnProperty("clientId")&&H.hasOwnProperty("environment")}function j(x,H){return!!H&&0===x.indexOf(d.Ni.CACHE_KEY)&&H.hasOwnProperty("aliases")&&H.hasOwnProperty("preferred_cache")&&H.hasOwnProperty("preferred_network")&&H.hasOwnProperty("canonical_authority")&&H.hasOwnProperty("authorization_endpoint")&&H.hasOwnProperty("token_endpoint")&&H.hasOwnProperty("issuer")&&H.hasOwnProperty("aliasesFromNetwork")&&H.hasOwnProperty("endpointsFromNetwork")&&H.hasOwnProperty("expiresAt")&&H.hasOwnProperty("jwks_uri")}function T(){return(0,a.GO)()+d.Ni.REFRESH_TIME_SECONDS}function I(x,H,G){x.authorization_endpoint=H.authorization_endpoint,x.token_endpoint=H.token_endpoint,x.end_session_endpoint=H.end_session_endpoint,x.issuer=H.issuer,x.endpointsFromNetwork=G,x.jwks_uri=H.jwks_uri}function k(x,H,G){x.aliases=H.aliases,x.preferred_cache=H.preferred_cache,x.preferred_network=H.preferred_network,x.aliasesFromNetwork=G}function N(x){return x.expiresAt<=(0,a.GO)()}},80660:(ve,h,o)=>{"use strict";o.d(h,{cJ:()=>A,k5:()=>C,qW:()=>F});var n=o(1528),i=o(65172),d=o(73364),a=o(34739),c=o(75205),e=o(67952),u=o(6536),l=o(65072),g=o(28876),v=o(71408);const C={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},b={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:d.G.Info,correlationId:a.Mv.EMPTY_STRING},_={claimsBasedCachingEnabled:!1},f={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(v.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(v.methodNotImplemented)})()},y={sku:a.Mv.SKU,version:c.W,cpu:a.Mv.EMPTY_STRING,os:a.Mv.EMPTY_STRING},S={clientSecret:a.Mv.EMPTY_STRING,clientAssertion:void 0},M={azureCloudInstance:e.C.None,tenant:`${a.Mv.DEFAULT_COMMON_TENANT}`},w={application:{appName:"",appVersion:""}};function A({authOptions:j,systemOptions:T,loggerOptions:I,cacheOptions:k,storageInterface:N,networkInterface:x,cryptoInterface:H,clientCredentials:G,libraryInfo:te,telemetry:ce,serverTelemetryManager:se,persistencePlugin:K,serializableCache:Z}){const re={...b,...I};return{authOptions:O(j),systemOptions:{...C,...T},loggerOptions:re,cacheOptions:{..._,...k},storageInterface:N||new u.K(j.clientId,i.K,new d.Y(re)),networkInterface:x||f,cryptoInterface:H||i.K,clientCredentials:G||S,libraryInfo:{...y,...te},telemetry:{...w,...ce},serverTelemetryManager:se||null,persistencePlugin:K||null,serializableCache:Z||null}}function O(j){return{clientCapabilities:[],azureCloudOptions:M,skipAuthorityMetadataCache:!1,...j}}function F(j){return j.authOptions.authority.options.protocolMode===l.g.OIDC}},91076:(ve,h,o)=>{"use strict";o.d(h,{Bz:()=>u,CS:()=>Z,E$:()=>S,Gs:()=>Oe,Ku:()=>a,MZ:()=>A,N2:()=>et,O0:()=>ce,Ok:()=>je,S1:()=>C,SS:()=>Ne,U3:()=>d,UJ:()=>F,WG:()=>O,WM:()=>De,YR:()=>X,Yc:()=>it,Yr:()=>k,_E:()=>te,_k:()=>n,aw:()=>K,cD:()=>c,cf:()=>he,cx:()=>N,e6:()=>I,e8:()=>e,eU:()=>T,eo:()=>re,gL:()=>Y,gt:()=>j,iK:()=>W,k1:()=>_e,kB:()=>i,kT:()=>q,n:()=>y,op:()=>se,qA:()=>G,sp:()=>qe,sx:()=>H,uQ:()=>x,y2:()=>f});const n="client_id",i="redirect_uri",d="response_type",a="response_mode",c="grant_type",e="claims",u="scope",C="refresh_token",f="state",y="nonce",S="prompt",A="code",O="code_challenge",F="code_challenge_method",j="code_verifier",T="client-request-id",I="x-client-SKU",k="x-client-VER",N="x-client-OS",x="x-client-CPU",H="x-client-current-telemetry",G="x-client-last-telemetry",te="x-ms-lib-capability",ce="x-app-name",se="x-app-ver",K="post_logout_redirect_uri",Z="id_token_hint",re="device_code",X="client_secret",W="client_assertion",Y="client_assertion_type",q="token_type",he="req_cnf",_e="assertion",Oe="requested_token_use",Ne="return_spa_code",it="nativebroker",qe="logout_hint",et="sid",De="login_hint",je="domain_hint"},65172:(ve,h,o)=>{"use strict";o.d(h,{K:()=>a});var n=o(1528),i=o(28876),d=o(71408);const a={createNewGuid:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Decode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},base64Encode:()=>{throw(0,i.mQ)(d.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,i.mQ)(d.methodNotImplemented)})()}},46392:(ve,h,o)=>{"use strict";o.d(h,{w:()=>u});var n=o(1528),i=o(50160),d=o(67648),a=o(85348),c=o(14035);class u{constructor(g,v){this.cryptoUtils=g,this.performanceClient=v}generateCnf(g,v){var p=this;return(0,n.c)(function*(){p.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateCnf,g.correlationId);const C=yield(0,c.C)(p.generateKid.bind(p),a.Xv.PopTokenGenerateCnf,v,p.performanceClient,g.correlationId)(g),b=p.cryptoUtils.base64Encode(JSON.stringify(C));return{kid:C.kid,reqCnfString:b,reqCnfHash:yield p.cryptoUtils.hashString(b)}})()}generateKid(g){var v=this;return(0,n.c)(function*(){return v.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateKid,g.correlationId),{kid:yield v.cryptoUtils.getPublicKeyThumbprint(g),xms_ksl:"sw"}})()}signPopToken(g,v,p){var C=this;return(0,n.c)(function*(){return C.signPayload(g,v,p)})()}signPayload(g,v,p,C){var b=this;return(0,n.c)(function*(){const{resourceRequestMethod:_,resourceRequestUri:f,shrClaims:y,shrNonce:S,shrOptions:M}=p,A=(f?new d._(f):void 0)?.getUrlComponents();return b.cryptoUtils.signJwt({at:g,ts:(0,i.GO)(),m:_?.toUpperCase(),u:A?.HostNameAndPort,nonce:S||b.cryptoUtils.createNewGuid(),p:A?.AbsolutePath,q:A?.QueryString?[[],A.QueryString]:void 0,client_claims:y||void 0,...C},v,M,p.correlationId)})()}}},66936:(ve,h,o)=>{"use strict";o.d(h,{GM:()=>a,Ub:()=>e,WM:()=>c});var n=o(34739),i=o(83228);const d={[i.unexpectedError]:"Unexpected error in authentication.",[i.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},a={unexpectedError:{code:i.unexpectedError,desc:d[i.unexpectedError]},postRequestFailed:{code:i.postRequestFailed,desc:d[i.postRequestFailed]}};class c extends Error{constructor(l,g,v){super(g?`${l}: ${g}`:l),Object.setPrototypeOf(this,c.prototype),this.errorCode=l||n.Mv.EMPTY_STRING,this.errorMessage=g||n.Mv.EMPTY_STRING,this.subError=v||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(l){this.correlationId=l}}function e(u,l){return new c(u,l?`${d[u]} ${l}`:d[u])}},83228:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{postRequestFailed:()=>i,unexpectedError:()=>n});const n="unexpected_error",i="post_request_failed"},28876:(ve,h,o)=>{"use strict";o.d(h,{m6:()=>a,mQ:()=>e,oJ:()=>c});var n=o(66936),i=o(71408);const d={[i.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[i.clientInfoEmptyError]:"The client info was empty",[i.tokenParsingError]:"Token cannot be parsed",[i.nullOrEmptyToken]:"The token is null or empty",[i.endpointResolutionError]:"Endpoints cannot be resolved",[i.networkError]:"Network request failed",[i.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[i.hashNotDeserialized]:"The hash parameters could not be deserialized",[i.invalidState]:"State was not the expected format",[i.stateMismatch]:"State mismatch error",[i.stateNotFound]:"State not found",[i.nonceMismatch]:"Nonce mismatch error",[i.authTimeNotFound]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[i.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[i.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[i.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[i.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[i.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[i.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[i.cannotAppendScopeSet]:"Cannot append ScopeSet",[i.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[i.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[i.deviceCodeExpired]:"Device code is expired.",[i.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[i.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[i.invalidCacheRecord]:"Cache record object was null or undefined.",[i.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[i.noAccountFound]:"No account found in cache for given key.",[i.noCryptoObject]:"No crypto object detected.",[i.unexpectedCredentialType]:"Unexpected credential type.",[i.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[i.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[i.tokenRefreshRequired]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[i.userTimeoutReached]:"User defined timeout for device code polling reached",[i.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[i.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[i.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[i.endSessionEndpointNotSupported]:"The provided authority does not support logout",[i.keyIdMissing]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[i.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[i.userCanceled]:"User cancelled the flow.",[i.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[i.methodNotImplemented]:"This method has not been implemented",[i.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},a={clientInfoDecodingError:{code:i.clientInfoDecodingError,desc:d[i.clientInfoDecodingError]},clientInfoEmptyError:{code:i.clientInfoEmptyError,desc:d[i.clientInfoEmptyError]},tokenParsingError:{code:i.tokenParsingError,desc:d[i.tokenParsingError]},nullOrEmptyToken:{code:i.nullOrEmptyToken,desc:d[i.nullOrEmptyToken]},endpointResolutionError:{code:i.endpointResolutionError,desc:d[i.endpointResolutionError]},networkError:{code:i.networkError,desc:d[i.networkError]},unableToGetOpenidConfigError:{code:i.openIdConfigError,desc:d[i.openIdConfigError]},hashNotDeserialized:{code:i.hashNotDeserialized,desc:d[i.hashNotDeserialized]},invalidStateError:{code:i.invalidState,desc:d[i.invalidState]},stateMismatchError:{code:i.stateMismatch,desc:d[i.stateMismatch]},stateNotFoundError:{code:i.stateNotFound,desc:d[i.stateNotFound]},nonceMismatchError:{code:i.nonceMismatch,desc:d[i.nonceMismatch]},authTimeNotFoundError:{code:i.authTimeNotFound,desc:d[i.authTimeNotFound]},maxAgeTranspired:{code:i.maxAgeTranspired,desc:d[i.maxAgeTranspired]},multipleMatchingTokens:{code:i.multipleMatchingTokens,desc:d[i.multipleMatchingTokens]},multipleMatchingAccounts:{code:i.multipleMatchingAccounts,desc:d[i.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:i.multipleMatchingAppMetadata,desc:d[i.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:i.requestCannotBeMade,desc:d[i.requestCannotBeMade]},removeEmptyScopeError:{code:i.cannotRemoveEmptyScope,desc:d[i.cannotRemoveEmptyScope]},appendScopeSetError:{code:i.cannotAppendScopeSet,desc:d[i.cannotAppendScopeSet]},emptyInputScopeSetError:{code:i.emptyInputScopeSet,desc:d[i.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:i.deviceCodePollingCancelled,desc:d[i.deviceCodePollingCancelled]},DeviceCodeExpired:{code:i.deviceCodeExpired,desc:d[i.deviceCodeExpired]},DeviceCodeUnknownError:{code:i.deviceCodeUnknownError,desc:d[i.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:i.noAccountInSilentRequest,desc:d[i.noAccountInSilentRequest]},invalidCacheRecord:{code:i.invalidCacheRecord,desc:d[i.invalidCacheRecord]},invalidCacheEnvironment:{code:i.invalidCacheEnvironment,desc:d[i.invalidCacheEnvironment]},noAccountFound:{code:i.noAccountFound,desc:d[i.noAccountFound]},noCryptoObj:{code:i.noCryptoObject,desc:d[i.noCryptoObject]},unexpectedCredentialType:{code:i.unexpectedCredentialType,desc:d[i.unexpectedCredentialType]},invalidAssertion:{code:i.invalidAssertion,desc:d[i.invalidAssertion]},invalidClientCredential:{code:i.invalidClientCredential,desc:d[i.invalidClientCredential]},tokenRefreshRequired:{code:i.tokenRefreshRequired,desc:d[i.tokenRefreshRequired]},userTimeoutReached:{code:i.userTimeoutReached,desc:d[i.userTimeoutReached]},tokenClaimsRequired:{code:i.tokenClaimsCnfRequiredForSignedJwt,desc:d[i.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:i.authorizationCodeMissingFromServerResponse,desc:d[i.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:i.bindingKeyNotRemoved,desc:d[i.bindingKeyNotRemoved]},logoutNotSupported:{code:i.endSessionEndpointNotSupported,desc:d[i.endSessionEndpointNotSupported]},keyIdMissing:{code:i.keyIdMissing,desc:d[i.keyIdMissing]},noNetworkConnectivity:{code:i.noNetworkConnectivity,desc:d[i.noNetworkConnectivity]},userCanceledError:{code:i.userCanceled,desc:d[i.userCanceled]},missingTenantIdError:{code:i.missingTenantIdError,desc:d[i.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:i.nestedAppAuthBridgeDisabled,desc:d[i.nestedAppAuthBridgeDisabled]}};class c extends n.WM{constructor(l,g){super(l,g?`${d[l]}: ${g}`:d[l]),this.name="ClientAuthError",Object.setPrototypeOf(this,c.prototype)}}function e(u,l){return new c(u,l)}},71408:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{authTimeNotFound:()=>b,authorizationCodeMissingFromServerResponse:()=>re,bindingKeyNotRemoved:()=>X,cannotAppendScopeSet:()=>A,cannotRemoveEmptyScope:()=>w,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>i,deviceCodeExpired:()=>j,deviceCodePollingCancelled:()=>F,deviceCodeUnknownError:()=>T,emptyInputScopeSet:()=>O,endSessionEndpointNotSupported:()=>W,endpointResolutionError:()=>c,hashNotDeserialized:()=>l,invalidAssertion:()=>te,invalidCacheEnvironment:()=>N,invalidCacheRecord:()=>k,invalidClientCredential:()=>ce,invalidState:()=>g,keyIdMissing:()=>Y,maxAgeTranspired:()=>_,methodNotImplemented:()=>Oe,missingTenantIdError:()=>_e,multipleMatchingAccounts:()=>y,multipleMatchingAppMetadata:()=>S,multipleMatchingTokens:()=>f,nestedAppAuthBridgeDisabled:()=>Re,networkError:()=>e,noAccountFound:()=>x,noAccountInSilentRequest:()=>I,noCryptoObject:()=>H,noNetworkConnectivity:()=>q,nonceMismatch:()=>C,nullOrEmptyToken:()=>a,openIdConfigError:()=>u,requestCannotBeMade:()=>M,stateMismatch:()=>v,stateNotFound:()=>p,tokenClaimsCnfRequiredForSignedJwt:()=>Z,tokenParsingError:()=>d,tokenRefreshRequired:()=>se,unexpectedCredentialType:()=>G,userCanceled:()=>he,userTimeoutReached:()=>K});const n="client_info_decoding_error",i="client_info_empty_error",d="token_parsing_error",a="null_or_empty_token",c="endpoints_resolution_error",e="network_error",u="openid_config_error",l="hash_not_deserialized",g="invalid_state",v="state_mismatch",p="state_not_found",C="nonce_mismatch",b="auth_time_not_found",_="max_age_transpired",f="multiple_matching_tokens",y="multiple_matching_accounts",S="multiple_matching_appMetadata",M="request_cannot_be_made",w="cannot_remove_empty_scope",A="cannot_append_scopeset",O="empty_input_scopeset",F="device_code_polling_cancelled",j="device_code_expired",T="device_code_unknown_error",I="no_account_in_silent_request",k="invalid_cache_record",N="invalid_cache_environment",x="no_account_found",H="no_crypto_object",G="unexpected_credential_type",te="invalid_assertion",ce="invalid_client_credential",se="token_refresh_required",K="user_timeout_reached",Z="token_claims_cnf_required_for_signedjwt",re="authorization_code_missing_from_server_response",X="binding_key_not_removed",W="end_session_endpoint_not_supported",Y="key_id_missing",q="no_network_connectivity",he="user_canceled",_e="missing_tenant_id_error",Oe="method_not_implemented",Re="nested_app_auth_bridge_disabled"},59684:(ve,h,o)=>{"use strict";o.d(h,{OA:()=>a,Ou:()=>c,QN:()=>e});var n=o(66936),i=o(32336);const d={[i.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[i.claimsRequestParsingError]:"Could not parse the given claims request object.",[i.authorityUriInsecure]:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[i.urlParseError]:"URL could not be parsed into appropriate segments.",[i.urlEmptyError]:"URL was empty or null.",[i.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[i.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[i.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[i.tokenRequestEmpty]:"Token request was empty and not found in cache.",[i.logoutRequestEmpty]:"The logout request was null or undefined.",[i.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[i.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[i.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[i.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[i.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[i.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[i.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[i.missingNonceAuthenticationHeader]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[i.invalidAuthenticationHeader]:"Invalid authentication header provided",[i.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[i.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[i.authorityMismatch]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."},a={redirectUriNotSet:{code:i.redirectUriEmpty,desc:d[i.redirectUriEmpty]},claimsRequestParsingError:{code:i.claimsRequestParsingError,desc:d[i.claimsRequestParsingError]},authorityUriInsecure:{code:i.authorityUriInsecure,desc:d[i.authorityUriInsecure]},urlParseError:{code:i.urlParseError,desc:d[i.urlParseError]},urlEmptyError:{code:i.urlEmptyError,desc:d[i.urlEmptyError]},emptyScopesError:{code:i.emptyInputScopesError,desc:d[i.emptyInputScopesError]},invalidPrompt:{code:i.invalidPromptValue,desc:d[i.invalidPromptValue]},invalidClaimsRequest:{code:i.invalidClaims,desc:d[i.invalidClaims]},tokenRequestEmptyError:{code:i.tokenRequestEmpty,desc:d[i.tokenRequestEmpty]},logoutRequestEmptyError:{code:i.logoutRequestEmpty,desc:d[i.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:i.invalidCodeChallengeMethod,desc:d[i.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:i.pkceParamsMissing,desc:d[i.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:i.invalidCloudDiscoveryMetadata,desc:d[i.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:i.invalidAuthorityMetadata,desc:d[i.invalidAuthorityMetadata]},untrustedAuthority:{code:i.untrustedAuthority,desc:d[i.untrustedAuthority]},missingSshJwk:{code:i.missingSshJwk,desc:d[i.missingSshJwk]},missingSshKid:{code:i.missingSshKid,desc:d[i.missingSshKid]},missingNonceAuthenticationHeader:{code:i.missingNonceAuthenticationHeader,desc:d[i.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:i.invalidAuthenticationHeader,desc:d[i.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:i.cannotSetOIDCOptions,desc:d[i.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:i.cannotAllowNativeBroker,desc:d[i.cannotAllowNativeBroker]},authorityMismatch:{code:i.authorityMismatch,desc:d[i.authorityMismatch]}};class c extends n.WM{constructor(l){super(l,d[l]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,c.prototype)}}function e(u){return new c(u)}},32336:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{authorityMismatch:()=>F,authorityUriInsecure:()=>d,cannotAllowNativeBroker:()=>O,cannotSetOIDCOptions:()=>A,claimsRequestParsingError:()=>i,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>w,invalidAuthorityMetadata:()=>_,invalidClaims:()=>l,invalidCloudDiscoveryMetadata:()=>b,invalidCodeChallengeMethod:()=>p,invalidPromptValue:()=>u,logoutRequestEmpty:()=>v,missingNonceAuthenticationHeader:()=>M,missingSshJwk:()=>y,missingSshKid:()=>S,pkceParamsMissing:()=>C,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>g,untrustedAuthority:()=>f,urlEmptyError:()=>c,urlParseError:()=>a});const n="redirect_uri_empty",i="claims_request_parsing_error",d="authority_uri_insecure",a="url_parse_error",c="empty_url_error",e="empty_input_scopes_error",u="invalid_prompt_value",l="invalid_claims",g="token_request_empty",v="logout_request_empty",p="invalid_code_challenge_method",C="pkce_params_missing",b="invalid_cloud_discovery_metadata",_="invalid_authority_metadata",f="untrusted_authority",y="missing_ssh_jwk",S="missing_ssh_kid",M="missing_nonce_authentication_header",w="invalid_authentication_header",A="cannot_set_OIDCOptions",O="cannot_allow_native_broker",F="authority_mismatch"},53408:(ve,h,o)=>{"use strict";o.d(h,{A6:()=>v,aq:()=>g,gx:()=>u,uw:()=>l});var n=o(34739),i=o(66936),d=o(72896);const a=[d.interactionRequired,d.consentRequired,d.loginRequired,d.badToken],c=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[d.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[d.nativeAccountUnavailable]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[d.refreshTokenExpired]:"Refresh token has expired.",[d.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},u={noTokensFoundError:{code:d.noTokensFound,desc:e[d.noTokensFound]},native_account_unavailable:{code:d.nativeAccountUnavailable,desc:e[d.nativeAccountUnavailable]},bad_token:{code:d.badToken,desc:e[d.badToken]}};class l extends i.WM{constructor(C,b,_,f,y,S,M){super(C,b,_),Object.setPrototypeOf(this,l.prototype),this.timestamp=f||n.Mv.EMPTY_STRING,this.traceId=y||n.Mv.EMPTY_STRING,this.correlationId=S||n.Mv.EMPTY_STRING,this.claims=M||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function g(p,C,b){const _=!!p&&a.indexOf(p)>-1,f=!!b&&c.indexOf(b)>-1,y=!!C&&a.some(S=>C.indexOf(S)>-1);return _||y||f}function v(p){return new l(p,e[p])}},72896:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{badToken:()=>u,consentRequired:()=>c,interactionRequired:()=>a,loginRequired:()=>e,nativeAccountUnavailable:()=>i,noTokensFound:()=>n,refreshTokenExpired:()=>d});const n="no_tokens_found",i="native_account_unavailable",d="refresh_token_expired",a="interaction_required",c="consent_required",e="login_required",u="bad_token"},76944:(ve,h,o)=>{"use strict";o.d(h,{s:()=>i});var n=o(66936);class i extends n.WM{constructor(a,c,e){super(a,c,e),this.name="ServerError",Object.setPrototypeOf(this,i.prototype)}}},73364:(ve,h,o)=>{"use strict";o.d(h,{G:()=>i,Y:()=>d});var n=o(34739),i=function(a){return a[a.Error=0]="Error",a[a.Warning=1]="Warning",a[a.Info=2]="Info",a[a.Verbose=3]="Verbose",a[a.Trace=4]="Trace",a}(i||{});class d{constructor(c,e,u){this.level=i.Info;const g=c||d.createDefaultLoggerOptions();this.localCallback=g.loggerCallback||(()=>{}),this.piiLoggingEnabled=g.piiLoggingEnabled||!1,this.level="number"==typeof g.logLevel?g.logLevel:i.Info,this.correlationId=g.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=u||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:i.Info}}clone(c,e,u){return new d({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:u||this.correlationId},c,e)}logMessage(c,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const g=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${i[e.logLevel]} - ${c}`;this.executeCallback(e.logLevel,g,e.containsPii||!1)}executeCallback(c,e,u){this.localCallback&&this.localCallback(c,e,u)}error(c,e){this.logMessage(c,{logLevel:i.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(c,e){this.logMessage(c,{logLevel:i.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(c,e){this.logMessage(c,{logLevel:i.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(c,e){this.logMessage(c,{logLevel:i.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(c,e){this.logMessage(c,{logLevel:i.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(c,e){this.logMessage(c,{logLevel:i.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(c,e){this.logMessage(c,{logLevel:i.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(c,e){this.logMessage(c,{logLevel:i.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(c,e){this.logMessage(c,{logLevel:i.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(c,e){this.logMessage(c,{logLevel:i.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(ve,h,o)=>{"use strict";o.d(h,{N:()=>n,W:()=>i});const n="@azure/msal-common",i="14.7.1"},33363:(ve,h,o)=>{"use strict";o.d(h,{I:()=>u});var n=o(34739),i=o(91076),d=o(95248),a=o(59684),c=o(77768),e=o(32336);class u{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(i.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(i.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(g){this.parameters.set(i.Ku,encodeURIComponent(g||n.oh.QUERY))}addNativeBroker(){this.parameters.set(i.Yc,encodeURIComponent("1"))}addScopes(g,v=!0,p=n.ac){v&&!p.includes("openid")&&!g.includes("openid")&&p.push("openid");const C=v?[...g||[],...p]:g||[],b=new d.k(C);this.parameters.set(i.Bz,encodeURIComponent(b.printScopes()))}addClientId(g){this.parameters.set(i._k,encodeURIComponent(g))}addRedirectUri(g){c.e.validateRedirectUri(g),this.parameters.set(i.kB,encodeURIComponent(g))}addPostLogoutRedirectUri(g){c.e.validateRedirectUri(g),this.parameters.set(i.aw,encodeURIComponent(g))}addIdTokenHint(g){this.parameters.set(i.CS,encodeURIComponent(g))}addDomainHint(g){this.parameters.set(i.Ok,encodeURIComponent(g))}addLoginHint(g){this.parameters.set(i.WM,encodeURIComponent(g))}addCcsUpn(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${g}`))}addCcsOid(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${g.uid}@${g.utid}`))}addSid(g){this.parameters.set(i.N2,encodeURIComponent(g))}addClaims(g,v){const p=this.addClientCapabilitiesToClaims(g,v);c.e.validateClaims(p),this.parameters.set(i.e8,encodeURIComponent(p))}addCorrelationId(g){this.parameters.set(i.eU,encodeURIComponent(g))}addLibraryInfo(g){this.parameters.set(i.e6,g.sku),this.parameters.set(i.Yr,g.version),g.os&&this.parameters.set(i.cx,g.os),g.cpu&&this.parameters.set(i.uQ,g.cpu)}addApplicationTelemetry(g){g?.appName&&this.parameters.set(i.O0,g.appName),g?.appVersion&&this.parameters.set(i.op,g.appVersion)}addPrompt(g){c.e.validatePrompt(g),this.parameters.set(`${i.E$}`,encodeURIComponent(g))}addState(g){g&&this.parameters.set(i.y2,encodeURIComponent(g))}addNonce(g){this.parameters.set(i.n,encodeURIComponent(g))}addCodeChallengeParams(g,v){if(c.e.validateCodeChallengeParams(g,v),!g||!v)throw(0,a.QN)(e.pkceParamsMissing);this.parameters.set(i.WG,encodeURIComponent(g)),this.parameters.set(i.UJ,encodeURIComponent(v))}addAuthorizationCode(g){this.parameters.set(i.MZ,encodeURIComponent(g))}addDeviceCode(g){this.parameters.set(i.eo,encodeURIComponent(g))}addRefreshToken(g){this.parameters.set(i.S1,encodeURIComponent(g))}addCodeVerifier(g){this.parameters.set(i.gt,encodeURIComponent(g))}addClientSecret(g){this.parameters.set(i.YR,encodeURIComponent(g))}addClientAssertion(g){g&&this.parameters.set(i.iK,encodeURIComponent(g))}addClientAssertionType(g){g&&this.parameters.set(i.gL,encodeURIComponent(g))}addOboAssertion(g){this.parameters.set(i.k1,encodeURIComponent(g))}addRequestTokenUse(g){this.parameters.set(i.Gs,encodeURIComponent(g))}addGrantType(g){this.parameters.set(i.cD,encodeURIComponent(g))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(g){const v=c.e.sanitizeEQParams(g,this.parameters);Object.keys(v).forEach(p=>{this.parameters.set(p,g[p])})}addClientCapabilitiesToClaims(g,v){let p;if(g)try{p=JSON.parse(g)}catch{throw(0,a.QN)(e.invalidClaims)}else p={};return v&&v.length>0&&(p.hasOwnProperty(n.ai.ACCESS_TOKEN)||(p[n.ai.ACCESS_TOKEN]={}),p[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:v}),JSON.stringify(p)}addUsername(g){this.parameters.set(n.uU.username,encodeURIComponent(g))}addPassword(g){this.parameters.set(n.uU.password,encodeURIComponent(g))}addPopToken(g){g&&(this.parameters.set(i.kT,n.me.POP),this.parameters.set(i.cf,encodeURIComponent(g)))}addSshJwk(g){g&&(this.parameters.set(i.kT,n.me.SSH),this.parameters.set(i.cf,encodeURIComponent(g)))}addServerTelemetry(g){this.parameters.set(i.sx,g.generateCurrentRequestHeaderValue()),this.parameters.set(i.qA,g.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(i._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(g){this.parameters.set(i.sp,encodeURIComponent(g))}createQueryString(){const g=new Array;return this.parameters.forEach((v,p)=>{g.push(`${p}=${v}`)}),g.join("&")}}},77768:(ve,h,o)=>{"use strict";o.d(h,{e:()=>a});var n=o(59684),i=o(34739),d=o(32336);class a{static validateRedirectUri(e){if(!e)throw(0,n.QN)(d.redirectUriEmpty)}static validatePrompt(e){const u=[];for(const l in i.GI)u.push(i.GI[l]);if(u.indexOf(e)<0)throw(0,n.QN)(d.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(d.invalidClaims)}}static validateCodeChallengeParams(e,u){if(!e||!u)throw(0,n.QN)(d.pkceParamsMissing);this.validateCodeChallengeMethod(u)}static validateCodeChallengeMethod(e){if([i.a2.PLAIN,i.a2.S256].indexOf(e)<0)throw(0,n.QN)(d.invalidCodeChallengeMethod)}static sanitizeEQParams(e,u){return e?(u.forEach((l,g)=>{e[g]&&delete e[g]}),Object.fromEntries(Object.entries(e).filter(l=>""!==l[1]))):{}}}},95248:(ve,h,o)=>{"use strict";o.d(h,{k:()=>u});var n=o(59684),i=o(7828),d=o(28876),a=o(34739),c=o(32336),e=o(71408);class u{constructor(g){const v=g?i.e.trimArrayEntries([...g]):[],p=v?i.e.removeEmptyStringsFromArray(v):[];this.validateInputScopes(p),this.scopes=new Set,p.forEach(C=>this.scopes.add(C))}static fromString(g){const p=(g||a.Mv.EMPTY_STRING).split(" ");return new u(p)}static createSearchScopes(g){const v=new u(g);return v.containsOnlyOIDCScopes()?v.removeScope(a.Mv.OFFLINE_ACCESS_SCOPE):v.removeOIDCScopes(),v}validateInputScopes(g){if(!g||g.length<1)throw(0,n.QN)(c.emptyInputScopesError)}containsScope(g){const v=this.printScopesLowerCase().split(" "),p=new u(v);return!!g&&p.scopes.has(g.toLowerCase())}containsScopeSet(g){return!(!g||g.scopes.size<=0)&&this.scopes.size>=g.scopes.size&&g.asArray().every(v=>this.containsScope(v))}containsOnlyOIDCScopes(){let g=0;return a.sj.forEach(v=>{this.containsScope(v)&&(g+=1)}),this.scopes.size===g}appendScope(g){g&&this.scopes.add(g.trim())}appendScopes(g){try{g.forEach(v=>this.appendScope(v))}catch{throw(0,d.mQ)(e.cannotAppendScopeSet)}}removeScope(g){if(!g)throw(0,d.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(g.trim())}removeOIDCScopes(){a.sj.forEach(g=>{this.scopes.delete(g)})}unionScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);const v=new Set;return g.scopes.forEach(p=>v.add(p.toLowerCase())),this.scopes.forEach(p=>v.add(p.toLowerCase())),v}intersectingScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);g.containsOnlyOIDCScopes()||g.removeOIDCScopes();const v=this.unionScopeSets(g),p=g.getScopeCount(),C=this.getScopeCount();return v.sizeg.push(v)),g}printScopes(){return this.scopes?this.asArray().join(" "):a.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(ve,h,o)=>{"use strict";o.d(h,{W8:()=>i,Xv:()=>n,ol:()=>d});const n={AcquireTokenByCode:"acquireTokenByCode",AcquireTokenByRefreshToken:"acquireTokenByRefreshToken",AcquireTokenSilent:"acquireTokenSilent",AcquireTokenSilentAsync:"acquireTokenSilentAsync",AcquireTokenPopup:"acquireTokenPopup",AcquireTokenRedirect:"acquireTokenRedirect",CryptoOptsGetPublicKeyThumbprint:"cryptoOptsGetPublicKeyThumbprint",CryptoOptsSignJwt:"cryptoOptsSignJwt",SilentCacheClientAcquireToken:"silentCacheClientAcquireToken",SilentIframeClientAcquireToken:"silentIframeClientAcquireToken",SilentRefreshClientAcquireToken:"silentRefreshClientAcquireToken",SsoSilent:"ssoSilent",StandardInteractionClientGetDiscoveredAuthority:"standardInteractionClientGetDiscoveredAuthority",FetchAccountIdWithNativeBroker:"fetchAccountIdWithNativeBroker",NativeInteractionClientAcquireToken:"nativeInteractionClientAcquireToken",BaseClientCreateTokenRequestHeaders:"baseClientCreateTokenRequestHeaders",RefreshTokenClientExecutePostToTokenEndpoint:"refreshTokenClientExecutePostToTokenEndpoint",AuthorizationCodeClientExecutePostToTokenEndpoint:"authorizationCodeClientExecutePostToTokenEndpoint",BrokerHandhshake:"brokerHandshake",AcquireTokenByRefreshTokenInBroker:"acquireTokenByRefreshTokenInBroker",AcquireTokenByBroker:"acquireTokenByBroker",RefreshTokenClientExecuteTokenRequest:"refreshTokenClientExecuteTokenRequest",RefreshTokenClientAcquireToken:"refreshTokenClientAcquireToken",RefreshTokenClientAcquireTokenWithCachedRefreshToken:"refreshTokenClientAcquireTokenWithCachedRefreshToken",RefreshTokenClientAcquireTokenByRefreshToken:"refreshTokenClientAcquireTokenByRefreshToken",RefreshTokenClientCreateTokenRequestBody:"refreshTokenClientCreateTokenRequestBody",AcquireTokenFromCache:"acquireTokenFromCache",SilentFlowClientAcquireCachedToken:"silentFlowClientAcquireCachedToken",SilentFlowClientGenerateResultFromCacheRecord:"silentFlowClientGenerateResultFromCacheRecord",AcquireTokenBySilentIframe:"acquireTokenBySilentIframe",InitializeBaseRequest:"initializeBaseRequest",InitializeSilentRequest:"initializeSilentRequest",InitializeClientApplication:"initializeClientApplication",SilentIframeClientTokenHelper:"silentIframeClientTokenHelper",SilentHandlerInitiateAuthRequest:"silentHandlerInitiateAuthRequest",SilentHandlerMonitorIframeForHash:"silentHandlerMonitorIframeForHash",SilentHandlerLoadFrame:"silentHandlerLoadFrame",SilentHandlerLoadFrameSync:"silentHandlerLoadFrameSync",StandardInteractionClientCreateAuthCodeClient:"standardInteractionClientCreateAuthCodeClient",StandardInteractionClientGetClientConfiguration:"standardInteractionClientGetClientConfiguration",StandardInteractionClientInitializeAuthorizationRequest:"standardInteractionClientInitializeAuthorizationRequest",StandardInteractionClientInitializeAuthorizationCodeRequest:"standardInteractionClientInitializeAuthorizationCodeRequest",GetAuthCodeUrl:"getAuthCodeUrl",HandleCodeResponseFromServer:"handleCodeResponseFromServer",HandleCodeResponse:"handleCodeResponse",UpdateTokenEndpointAuthority:"updateTokenEndpointAuthority",AuthClientAcquireToken:"authClientAcquireToken",AuthClientExecuteTokenRequest:"authClientExecuteTokenRequest",AuthClientCreateTokenRequestBody:"authClientCreateTokenRequestBody",AuthClientCreateQueryString:"authClientCreateQueryString",PopTokenGenerateCnf:"popTokenGenerateCnf",PopTokenGenerateKid:"popTokenGenerateKid",HandleServerTokenResponse:"handleServerTokenResponse",DeserializeResponse:"deserializeResponse",AuthorityFactoryCreateDiscoveredInstance:"authorityFactoryCreateDiscoveredInstance",AuthorityResolveEndpointsAsync:"authorityResolveEndpointsAsync",AuthorityResolveEndpointsFromLocalSources:"authorityResolveEndpointsFromLocalSources",AuthorityGetCloudDiscoveryMetadataFromNetwork:"authorityGetCloudDiscoveryMetadataFromNetwork",AuthorityUpdateCloudDiscoveryMetadata:"authorityUpdateCloudDiscoveryMetadata",AuthorityGetEndpointMetadataFromNetwork:"authorityGetEndpointMetadataFromNetwork",AuthorityUpdateEndpointMetadata:"authorityUpdateEndpointMetadata",AuthorityUpdateMetadataWithRegionalInformation:"authorityUpdateMetadataWithRegionalInformation",RegionDiscoveryDetectRegion:"regionDiscoveryDetectRegion",RegionDiscoveryGetRegionFromIMDS:"regionDiscoveryGetRegionFromIMDS",RegionDiscoveryGetCurrentVersion:"regionDiscoveryGetCurrentVersion",AcquireTokenByCodeAsync:"acquireTokenByCodeAsync",GetEndpointMetadataFromNetwork:"getEndpointMetadataFromNetwork",GetCloudDiscoveryMetadataFromNetworkMeasurement:"getCloudDiscoveryMetadataFromNetworkMeasurement",HandleRedirectPromiseMeasurement:"handleRedirectPromise",HandleNativeRedirectPromiseMeasurement:"handleNativeRedirectPromise",UpdateCloudDiscoveryMetadataMeasurement:"updateCloudDiscoveryMetadataMeasurement",UsernamePasswordClientAcquireToken:"usernamePasswordClientAcquireToken",NativeMessageHandlerHandshake:"nativeMessageHandlerHandshake",NativeGenerateAuthResult:"nativeGenerateAuthResult",RemoveHiddenIframe:"removeHiddenIframe",ClearTokensAndKeysWithClaims:"clearTokensAndKeysWithClaims",CacheManagerGetRefreshToken:"cacheManagerGetRefreshToken",GeneratePkceCodes:"generatePkceCodes",GenerateCodeVerifier:"generateCodeVerifier",GenerateCodeChallengeFromVerifier:"generateCodeChallengeFromVerifier",Sha256Digest:"sha256Digest",GetRandomValues:"getRandomValues"},i={NotStarted:0,InProgress:1,Completed:2},d=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(ve,h,o)=>{"use strict";o.d(h,{W:()=>i,_:()=>d});var n=o(85348);class i{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class d{generateId(){return"callback-id"}startMeasurement(c,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:c,startTimeMs:Date.now(),correlationId:e||""},measurement:new i}}startPerformanceMeasurement(){return new i}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(ve,h,o)=>{"use strict";o.d(h,{_:()=>e});var n=o(59684),i=o(7828),d=o(34739),a=o(33680),c=o(32336);class e{get urlString(){return this._urlString}constructor(l){if(this._urlString=l,!this._urlString)throw(0,n.QN)(c.urlEmptyError);l.includes("#")||(this._urlString=e.canonicalizeUri(l))}static canonicalizeUri(l){if(l){let g=l.toLowerCase();return i.e.endsWith(g,"?")?g=g.slice(0,-1):i.e.endsWith(g,"?/")&&(g=g.slice(0,-2)),i.e.endsWith(g,"/")||(g+="/"),g}return l}validateAsUri(){let l;try{l=this.getUrlComponents()}catch{throw(0,n.QN)(c.urlParseError)}if(!l.HostNameAndPort||!l.PathSegments)throw(0,n.QN)(c.urlParseError);if(!l.Protocol||"https:"!==l.Protocol.toLowerCase())throw(0,n.QN)(c.authorityUriInsecure)}static appendQueryString(l,g){return g?l.indexOf("?")<0?`${l}?${g}`:`${l}&${g}`:l}static removeHashFromUrl(l){return e.canonicalizeUri(l.split("#")[0])}replaceTenantPath(l){const g=this.getUrlComponents(),v=g.PathSegments;return l&&0!==v.length&&(v[0]===d.sN.COMMON||v[0]===d.sN.ORGANIZATIONS)&&(v[0]=l),e.constructAuthorityUriFromObject(g)}getUrlComponents(){const l=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),g=this.urlString.match(l);if(!g)throw(0,n.QN)(c.urlParseError);const v={Protocol:g[1],HostNameAndPort:g[4],AbsolutePath:g[5],QueryString:g[7]};let p=v.AbsolutePath.split("/");return p=p.filter(C=>C&&C.length>0),v.PathSegments=p,v.QueryString&&v.QueryString.endsWith("/")&&(v.QueryString=v.QueryString.substring(0,v.QueryString.length-1)),v}static getDomainFromUrl(l){const g=RegExp("^([^:/?#]+://)?([^/?#]*)"),v=l.match(g);if(!v)throw(0,n.QN)(c.urlParseError);return v[2]}static getAbsoluteUrl(l,g){if(l[0]===d.Mv.FORWARD_SLASH){const p=new e(g).getUrlComponents();return p.Protocol+"//"+p.HostNameAndPort+l}return l}static constructAuthorityUriFromObject(l){return new e(l.Protocol+"//"+l.HostNameAndPort+"/"+l.PathSegments.join("/"))}static hashContainsKnownProperties(l){return!!(0,a.u)(l)}}},34739:(ve,h,o)=>{"use strict";o.d(h,{A9:()=>_,GI:()=>g,Gu:()=>ce,IH:()=>e,Ku:()=>b,MF:()=>c,Mf:()=>te,Mj:()=>f,Mv:()=>n,Ni:()=>O,Q$:()=>H,Q3:()=>i,Y$:()=>w,a2:()=>v,ac:()=>d,ai:()=>l,cv:()=>F,cz:()=>M,eE:()=>p,gr:()=>I,ic:()=>j,me:()=>T,oh:()=>C,rF:()=>k,sL:()=>x,sN:()=>u,sj:()=>a,uU:()=>N,wR:()=>G,wj:()=>A,yu:()=>y});const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},i={SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR_RANGE_START:400,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR_RANGE_START:500,SERVER_ERROR_RANGE_END:599},d=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],a=[...d,n.EMAIL_SCOPE],c={CONTENT_TYPE:"Content-Type",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},e={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},u={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},l={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},g={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},v={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},C={...p,FORM_POST:"form_post"},b={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},_={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},f={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},y={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},M="appmetadata",w="client_info",A="1",O={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},F={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},j={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},T={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},I={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},k={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},N={username:"username",password:"password"},x={httpSuccess:200,httpBadRequest:400},H={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},G={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},te={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},ce={Jwt:"JWT",Jwk:"JWK",Pop:"pop"}},14035:(ve,h,o)=>{"use strict";o.d(h,{C:()=>i,q:()=>n});const n=(d,a,c,e,u)=>(...l)=>{c.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,u);if(u){const v=a+"CallCount";e?.incrementFields({[v]:1},u)}try{const v=d(...l);return g?.end({success:!0}),c.trace(`Returning result from ${a}`),v}catch(v){c.trace(`Error occurred in ${a}`);try{c.trace(JSON.stringify(v))}catch{c.trace("Unable to print error message.")}throw g?.end({success:!1}),v}},i=(d,a,c,e,u)=>(...l)=>{c.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,u);if(u){const v=a+"CallCount";e?.incrementFields({[v]:1},u)}return e?.setPreQueueTime(a,u),d(...l).then(v=>(c.trace(`Returning result from ${a}`),g?.end({success:!0}),v)).catch(v=>{c.trace(`Error occurred in ${a}`);try{c.trace(JSON.stringify(v))}catch{c.trace("Unable to print error message.")}throw g?.end({success:!1}),v})}},86144:(ve,h,o)=>{"use strict";o.d(h,{c:()=>a});var n=o(34739),i=o(28876),d=o(71408);class a{static setRequestState(e,u,l){const g=a.generateLibraryState(e,l);return u?`${g}${n.Mv.RESOURCE_DELIM}${u}`:g}static generateLibraryState(e,u){if(!e)throw(0,i.mQ)(d.noCryptoObject);const l={id:e.createNewGuid()};u&&(l.meta=u);const g=JSON.stringify(l);return e.base64Encode(g)}static parseRequestState(e,u){if(!e)throw(0,i.mQ)(d.noCryptoObject);if(!u)throw(0,i.mQ)(d.invalidState);try{const l=u.split(n.Mv.RESOURCE_DELIM),g=l[0],v=l.length>1?l.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,p=e.base64Decode(g),C=JSON.parse(p);return{userRequestState:v||n.Mv.EMPTY_STRING,libraryState:C}}catch{throw(0,i.mQ)(d.invalidState)}}}},7828:(ve,h,o)=>{"use strict";o.d(h,{e:()=>n});class n{static isEmptyObj(d){if(d)try{const a=JSON.parse(d);return 0===Object.keys(a).length}catch{}return!0}static startsWith(d,a){return 0===d.indexOf(a)}static endsWith(d,a){return d.length>=a.length&&d.lastIndexOf(a)===d.length-a.length}static queryStringToObject(d){const a={},c=d.split("&"),e=u=>decodeURIComponent(u.replace(/\+/g," "));return c.forEach(u=>{if(u.trim()){const[l,g]=u.split(/=(.+)/g,2);l&&g&&(a[e(l)]=e(g))}}),a}static trimArrayEntries(d){return d.map(a=>a.trim())}static removeEmptyStringsFromArray(d){return d.filter(a=>!!a)}static jsonParseHelper(d){try{return JSON.parse(d)}catch{return null}}static matchPattern(d,a){return new RegExp(d.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(a)}}},50160:(ve,h,o)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function i(c,e){const u=Number(c)||0;return n()+e>u}function d(c){return Number(c)>n()}o.d(h,{G4:()=>d,GO:()=>n,WY:()=>i})},33680:(ve,h,o)=>{"use strict";o.d(h,{u:()=>a,w:()=>d});var n=o(28876),i=o(71408);function d(c){return c.startsWith("#/")?c.substring(2):c.startsWith("#")||c.startsWith("?")?c.substring(1):c}function a(c){if(!c||c.indexOf("=")<0)return null;try{const e=d(c),u=Object.fromEntries(new URLSearchParams(e));if(u.code||u.error||u.error_description||u.state)return u}catch{throw(0,n.mQ)(i.hashNotDeserialized)}return null}},57848:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>vn,FaIconComponent:()=>Ji,FaIconLibrary:()=>Ai,FaLayersComponent:()=>Qi,FaLayersCounterComponent:()=>Ii,FaLayersTextComponent:()=>ei,FaStackComponent:()=>Ti,FaStackItemSizeDirective:()=>ji,FontAwesomeModule:()=>oo});var n=o(54496);function i(Ye,at){var R=Object.keys(Ye);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(Ye);at&&(ee=ee.filter(function(B){return Object.getOwnPropertyDescriptor(Ye,B).enumerable})),R.push.apply(R,ee)}return R}function d(Ye){for(var at=1;atYe.length)&&(at=Ye.length);for(var R=0,ee=new Array(at);R0;)at+=_n[62*Math.random()|0];return at}function qt(Ye){for(var at=[],R=(Ye||[]).length>>>0;R--;)at[R]=Ye[R];return at}function nr(Ye){return Ye.classList?qt(Ye.classList):(Ye.getAttribute("class")||"").split(" ").filter(function(at){return at})}function kr(Ye){return"".concat(Ye).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sr(Ye){return Object.keys(Ye||{}).reduce(function(at,R){return at+"".concat(R,": ").concat(Ye[R].trim(),";")},"")}function Mr(Ye){return Ye.size!==Et.size||Ye.x!==Et.x||Ye.y!==Et.y||Ye.rotate!==Et.rotate||Ye.flipX||Ye.flipY}var xn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function oi(){var Ye=Re,at=Ae,R=kn.cssPrefix,ee=kn.replacementClass,B=xn;if(R!==Ye||ee!==at){var le=new RegExp("\\.".concat(Ye,"\\-"),"g"),Le=new RegExp("\\--".concat(Ye,"\\-"),"g"),ft=new RegExp("\\.".concat(at),"g");B=B.replace(le,".".concat(R,"-")).replace(Le,"--".concat(R,"-")).replace(ft,".".concat(ee))}return B}var Sr=!1;function pr(){kn.autoAddCss&&!Sr&&(function Xt(Ye){if(Ye&&Z){var at=te.createElement("style");at.setAttribute("type","text/css"),at.innerHTML=Ye;for(var R=te.head.childNodes,ee=null,B=R.length-1;B>-1;B--){var le=R[B],Le=(le.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Le)>-1&&(ee=le)}te.head.insertBefore(at,ee)}}(oi()),Sr=!0)}var Xn={mixout:function(){return{dom:{css:oi,insertCss:pr}}},hooks:function(){return{beforeDOMElementCreation:function(){pr()},beforeI2svg:function(){pr()}}}},qn=G||{};qn[_e]||(qn[_e]={}),qn[_e].styles||(qn[_e].styles={}),qn[_e].hooks||(qn[_e].hooks={}),qn[_e].shims||(qn[_e].shims=[]);var Or=qn[_e],pi=[],Rn=!1;function or(Ye){var at=Ye.tag,R=Ye.attributes,ee=void 0===R?{}:R,B=Ye.children,le=void 0===B?[]:B;return"string"==typeof Ye?kr(Ye):"<".concat(at," ").concat(function Br(Ye){return Object.keys(Ye||{}).reduce(function(at,R){return at+"".concat(R,'="').concat(kr(Ye[R]),'" ')},"").trim()}(ee),">").concat(le.map(or).join(""),"")}function ui(Ye,at,R){if(Ye&&Ye[at]&&Ye[at][R])return{prefix:at,iconName:R,icon:Ye[at][R]}}Z&&((Rn=(te.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(te.readyState))||te.addEventListener("DOMContentLoaded",function Ye(){te.removeEventListener("DOMContentLoaded",Ye),Rn=1,pi.map(function(at){return at()})}));var ct=function(at,R,ee,B){var xt,rn,J,le=Object.keys(at),Le=le.length,ft=void 0!==B?function(at,R){return function(ee,B,le,Le){return at.call(R,ee,B,le,Le)}}(R,B):R;for(void 0===ee?(xt=1,J=at[le[0]]):(xt=0,J=ee);xt=55296&&B<=56319&&R2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,B=void 0!==ee&&ee,le=an(at);"function"!=typeof Or.hooks.addPack||B?Or.styles[Ye]=d(d({},Or.styles[Ye]||{}),le):Or.hooks.addPack(Ye,an(at)),"fas"===Ye&&Cn("fa",at)}var Qn,Un,Tr,Er=Or.styles,Hn=Or.shims,ur=(g(Qn={},Qe,Object.values(kt[Qe])),g(Qn,Ut,Object.values(kt[Ut])),Qn),Ei=null,on={},U={},z={},ae={},He={},Ie=(g(Un={},Qe,Object.keys(Sn[Qe])),g(Un,Ut,Object.keys(Sn[Ut])),Un);var ot=function(){var at=function(le){return ct(Er,function(Le,ft,xt){return Le[xt]=ct(ft,le,{}),Le},{})};on=at(function(B,le,Le){return le[3]&&(B[le[3]]=Le),le[2]&&le[2].filter(function(xt){return"number"==typeof xt}).forEach(function(xt){B[xt.toString(16)]=Le}),B}),U=at(function(B,le,Le){return B[Le]=Le,le[2]&&le[2].filter(function(xt){return"string"==typeof xt}).forEach(function(xt){B[xt]=Le}),B}),He=at(function(B,le,Le){var ft=le[2];return B[Le]=Le,ft.forEach(function(xt){B[xt]=Le}),B});var R="far"in Er||kn.autoFetchSvg,ee=ct(Hn,function(B,le){var Le=le[0],ft=le[1],xt=le[2];return"far"===ft&&!R&&(ft="fas"),"string"==typeof Le&&(B.names[Le]={prefix:ft,iconName:xt}),"number"==typeof Le&&(B.unicodes[Le.toString(16)]={prefix:ft,iconName:xt}),B},{names:{},unicodes:{}});z=ee.names,ae=ee.unicodes,Ei=ln(kn.styleDefault,{family:kn.familyDefault})};function ht(Ye,at){return(on[Ye]||{})[at]}function Lt(Ye,at){return(He[Ye]||{})[at]}function Kt(Ye){return z[Ye]||{prefix:null,iconName:null}}function fn(){return Ei}(function Gt(Ye){Mt.push(Ye)})(function(Ye){Ei=ln(Ye.styleDefault,{family:kn.familyDefault})}),ot();var mn=function(){return{prefix:null,iconName:null,rest:[]}};function ln(Ye){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,ee=void 0===R?Qe:R;return bn[ee][Ye]||bn[ee][Sn[ee][Ye]]||(Ye in Or.styles?Ye:null)||null}var Yt=(g(Tr={},Qe,Object.keys(kt[Qe])),g(Tr,Ut,Object.keys(kt[Ut])),Tr);function Ln(Ye){var at,ee=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,B=void 0!==ee&&ee,le=(g(at={},Qe,"".concat(kn.cssPrefix,"-").concat(Qe)),g(at,Ut,"".concat(kn.cssPrefix,"-").concat(Ut)),at),Le=null,ft=Qe;(Ye.includes(le[Qe])||Ye.some(function(rn){return Yt[Qe].includes(rn)}))&&(ft=Qe),(Ye.includes(le[Ut])||Ye.some(function(rn){return Yt[Ut].includes(rn)}))&&(ft=Ut);var xt=Ye.reduce(function(rn,J){var We=function Te(Ye,at){var R=at.split("-"),ee=R[0],B=R.slice(1).join("-");return ee!==Ye||""===B||function fe(Ye){return~Rt.indexOf(Ye)}(B)?null:B}(kn.cssPrefix,J);if(Er[J]?(J=ur[ft].includes(J)?jt[ft][J]:J,Le=J,rn.prefix=J):Ie[ft].indexOf(J)>-1?(Le=J,rn.prefix=ln(J,{family:ft})):We?rn.iconName=We:J!==kn.replacementClass&&J!==le[Qe]&&J!==le[Ut]&&rn.rest.push(J),!B&&rn.prefix&&rn.iconName){var Se="fa"===Le?Kt(rn.iconName):{},Ue=Lt(rn.prefix,rn.iconName);Se.prefix&&(Le=null),rn.iconName=Se.iconName||Ue||rn.iconName,rn.prefix=Se.prefix||rn.prefix,"far"===rn.prefix&&!Er.far&&Er.fas&&!kn.autoFetchSvg&&(rn.prefix="fas")}return rn},mn());return(Ye.includes("fa-brands")||Ye.includes("fab"))&&(xt.prefix="fab"),(Ye.includes("fa-duotone")||Ye.includes("fad"))&&(xt.prefix="fad"),!xt.prefix&&ft===Ut&&(Er.fass||kn.autoFetchSvg)&&(xt.prefix="fass",xt.iconName=Lt(xt.prefix,xt.iconName)||xt.iconName),("fa"===xt.prefix||"fa"===Le)&&(xt.prefix=fn()||"fas"),xt}var lr=function(){function Ye(){(function e(Ye,at){if(!(Ye instanceof at))throw new TypeError("Cannot call a class as a function")})(this,Ye),this.definitions={}}return function l(Ye,at,R){at&&u(Ye.prototype,at),R&&u(Ye,R),Object.defineProperty(Ye,"prototype",{writable:!1})}(Ye,[{key:"add",value:function(){for(var R=this,ee=arguments.length,B=new Array(ee),le=0;le0&&J.forEach(function(We){"string"==typeof We&&(R[ft][We]=rn)}),R[ft][xt]=rn}),R}}]),Ye}(),cr=[],Nr={},Lr={},ut=Object.keys(Lr);function vi(Ye,at){for(var R=arguments.length,ee=new Array(R>2?R-2:0),B=2;B1?at-1:0),ee=1;ee0&&void 0!==arguments[0]?arguments[0]:{};return Z?(_r("beforeI2svg",at),wn("pseudoElements2svg",at),wn("i2svg",at)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},R=at.autoReplaceSvgRoot;!1===kn.autoReplaceSvg&&(kn.autoReplaceSvg=!0),kn.observeMutations=!0,function Kn(Ye){Z&&(Rn?setTimeout(Ye,0):pi.push(Ye))}(function(){Zr({autoReplaceSvgRoot:R}),_r("watch",at)})}},ti={noAuto:function(){kn.autoReplaceSvg=!1,kn.observeMutations=!1,_r("noAuto")},config:kn,dom:ai,parse:{icon:function(at){if(null===at)return null;if("object"===a(at)&&at.prefix&&at.iconName)return{prefix:at.prefix,iconName:Lt(at.prefix,at.iconName)||at.iconName};if(Array.isArray(at)&&2===at.length){var R=0===at[1].indexOf("fa-")?at[1].slice(3):at[1],ee=ln(at[0]);return{prefix:ee,iconName:Lt(ee,R)||R}}if("string"==typeof at&&(at.indexOf("".concat(kn.cssPrefix,"-"))>-1||at.match(Fe))){var B=Ln(at.split(" "),{skipLookups:!0});return{prefix:B.prefix||fn(),iconName:Lt(B.prefix,B.iconName)||B.iconName}}if("string"==typeof at){var le=fn();return{prefix:le,iconName:Lt(le,at)||at}}}},library:si,findIconDefinition:$n,toHtml:or},Zr=function(){var R=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,ee=void 0===R?te:R;(Object.keys(Or.styles).length>0||kn.autoFetchSvg)&&Z&&kn.autoReplaceSvg&&ti.dom.i2svg({node:ee})};function Xr(Ye,at){return Object.defineProperty(Ye,"abstract",{get:at}),Object.defineProperty(Ye,"html",{get:function(){return Ye.abstract.map(function(ee){return or(ee)})}}),Object.defineProperty(Ye,"node",{get:function(){if(Z){var ee=te.createElement("div");return ee.innerHTML=Ye.html,ee.children}}}),Ye}function Yi(Ye){var at=Ye.icons,R=at.main,ee=at.mask,B=Ye.prefix,le=Ye.iconName,Le=Ye.transform,ft=Ye.symbol,xt=Ye.title,rn=Ye.maskId,J=Ye.titleId,We=Ye.extra,Se=Ye.watchable,Ue=void 0!==Se&&Se,_t=ee.found?ee:R,$t=_t.width,tn=_t.height,Dn="fak"===B,gr=[kn.replacementClass,le?"".concat(kn.cssPrefix,"-").concat(le):""].filter(function(eo){return-1===We.classes.indexOf(eo)}).filter(function(eo){return""!==eo||!!eo}).concat(We.classes).join(" "),yr={children:[],attributes:d(d({},We.attributes),{},{"data-prefix":B,"data-icon":le,class:gr,role:We.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat($t," ").concat(tn)})},$r=Dn&&!~We.classes.indexOf("fa-fw")?{width:"".concat($t/tn*16*.0625,"em")}:{};Ue&&(yr.attributes[ge]=""),xt&&(yr.children.push({tag:"title",attributes:{id:yr.attributes["aria-labelledby"]||"title-".concat(J||En())},children:[xt]}),delete yr.attributes.title);var Cr=d(d({},yr),{},{prefix:B,iconName:le,main:R,mask:ee,maskId:rn,transform:Le,symbol:ft,styles:d(d({},$r),We.styles)}),Qr=ee.found&&R.found?wn("generateAbstractMask",Cr)||{children:[],attributes:{}}:wn("generateAbstractIcon",Cr)||{children:[],attributes:{}},Ri=Qr.attributes;return Cr.children=Qr.children,Cr.attributes=Ri,ft?function hr(Ye){var R=Ye.iconName,ee=Ye.children,B=Ye.attributes,le=Ye.symbol,Le=!0===le?"".concat(Ye.prefix,"-").concat(kn.cssPrefix,"-").concat(R):le;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},B),{},{id:Le}),children:ee}]}]}(Cr):function Vi(Ye){var at=Ye.children,R=Ye.main,ee=Ye.mask,B=Ye.attributes,le=Ye.styles,Le=Ye.transform;if(Mr(Le)&&R.found&&!ee.found){var rn={x:R.width/R.height/2,y:.5};B.style=sr(d(d({},le),{},{"transform-origin":"".concat(rn.x+Le.x/16,"em ").concat(rn.y+Le.y/16,"em")}))}return[{tag:"svg",attributes:B,children:at}]}(Cr)}function ko(Ye){var at=Ye.content,R=Ye.width,ee=Ye.height,B=Ye.transform,le=Ye.title,Le=Ye.extra,ft=Ye.watchable,xt=void 0!==ft&&ft,rn=d(d(d({},Le.attributes),le?{title:le}:{}),{},{class:Le.classes.join(" ")});xt&&(rn[ge]="");var J=d({},Le.styles);Mr(B)&&(J.transform=function Jn(Ye){var at=Ye.transform,R=Ye.width,B=Ye.height,le=void 0===B?16:B,Le=Ye.startCentered,ft=void 0!==Le&&Le,xt="";return xt+=ft&&re?"translate(".concat(at.x/16-(void 0===R?16:R)/2,"em, ").concat(at.y/16-le/2,"em) "):ft?"translate(calc(-50% + ".concat(at.x/16,"em), calc(-50% + ").concat(at.y/16,"em)) "):"translate(".concat(at.x/16,"em, ").concat(at.y/16,"em) "),(xt+="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "))+"rotate(".concat(at.rotate,"deg) ")}({transform:B,startCentered:!0,width:R,height:ee}),J["-webkit-transform"]=J.transform);var We=sr(J);We.length>0&&(rn.style=We);var Se=[];return Se.push({tag:"span",attributes:rn,children:[at]}),le&&Se.push({tag:"span",attributes:{class:"sr-only"},children:[le]}),Se}var Jr=Or.styles;function Wi(Ye){var at=Ye[0],R=Ye[1],le=C(Ye.slice(4),1)[0];return{found:!0,width:at,height:R,icon:Array.isArray(le)?{tag:"g",attributes:{class:"".concat(kn.cssPrefix,"-").concat(Bt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(kn.cssPrefix,"-").concat(Bt.SECONDARY),fill:"currentColor",d:le[0]}},{tag:"path",attributes:{class:"".concat(kn.cssPrefix,"-").concat(Bt.PRIMARY),fill:"currentColor",d:le[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:le}}}}var qi={found:!1,width:512,height:512};function Rr(Ye,at){var R=at;return"fa"===at&&null!==kn.styleDefault&&(at=fn()),new Promise(function(ee,B){if(wn("missingIconAbstract"),"fa"===R){var Le=Kt(Ye)||{};Ye=Le.iconName||Ye,at=Le.prefix||at}if(Ye&&at&&Jr[at]&&Jr[at][Ye])return ee(Wi(Jr[at][Ye]));(function ro(Ye,at){!bt&&!kn.showMissingIcons&&Ye&&console.error('Icon with name "'.concat(Ye,'" and prefix "').concat(at,'" is missing.'))})(Ye,at),ee(d(d({},qi),{},{icon:kn.showMissingIcons&&Ye&&wn("missingIconAbstract")||{}}))})}var mo=function(){},_i=kn.measurePerformance&&se&&se.mark&&se.measure?se:{mark:mo,measure:mo},xi='FA "6.5.1"',ar=function(at){_i.mark("".concat(xi," ").concat(at," ends")),_i.measure("".concat(xi," ").concat(at),"".concat(xi," ").concat(at," begins"),"".concat(xi," ").concat(at," ends"))},yo={begin:function(at){return _i.mark("".concat(xi," ").concat(at," begins")),function(){return ar(at)}},end:ar},wi=function(){};function yi(Ye){return"string"==typeof(Ye.getAttribute?Ye.getAttribute(ge):null)}function bo(Ye){return te.createElementNS("http://www.w3.org/2000/svg",Ye)}function Ni(Ye){return te.createElement(Ye)}function Gr(Ye){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,ee=void 0===R?"svg"===Ye.tag?bo:Ni:R;if("string"==typeof Ye)return te.createTextNode(Ye);var B=ee(Ye.tag);return Object.keys(Ye.attributes||[]).forEach(function(Le){B.setAttribute(Le,Ye.attributes[Le])}),(Ye.children||[]).forEach(function(Le){B.appendChild(Gr(Le,{ceFn:ee}))}),B}var Oi={replace:function(at){var R=at[0];if(R.parentNode)if(at[1].forEach(function(B){R.parentNode.insertBefore(Gr(B),R)}),null===R.getAttribute(ge)&&kn.keepOriginalSource){var ee=te.createComment(function Lo(Ye){var at=" ".concat(Ye.outerHTML," ");return"".concat(at,"Font Awesome fontawesome.com ")}(R));R.parentNode.replaceChild(ee,R)}else R.remove()},nest:function(at){var R=at[0],ee=at[1];if(~nr(R).indexOf(kn.replacementClass))return Oi.replace(at);var B=new RegExp("".concat(kn.cssPrefix,"-.*"));if(delete ee[0].attributes.id,ee[0].attributes.class){var le=ee[0].attributes.class.split(" ").reduce(function(ft,xt){return xt===kn.replacementClass||xt.match(B)?ft.toSvg.push(xt):ft.toNode.push(xt),ft},{toNode:[],toSvg:[]});ee[0].attributes.class=le.toSvg.join(" "),0===le.toNode.length?R.removeAttribute("class"):R.setAttribute("class",le.toNode.join(" "))}var Le=ee.map(function(ft){return or(ft)}).join("\n");R.setAttribute(ge,""),R.innerHTML=Le}};function Zi(Ye){Ye()}function Li(Ye,at){var R="function"==typeof at?at:wi;if(0===Ye.length)R();else{var ee=Zi;kn.mutateApproach===je&&(ee=G.requestAnimationFrame||Zi),ee(function(){var B=function Wr(){return!0===kn.autoReplaceSvg?Oi.replace:Oi[kn.autoReplaceSvg]||Oi.replace}(),le=yo.begin("mutate");Ye.map(B),le(),R()})}}var Gi=!1;function $o(){Gi=!0}function Co(){Gi=!1}var Ro=null;function wo(Ye){if(ce&&kn.observeMutations){var at=Ye.treeCallback,R=void 0===at?wi:at,ee=Ye.nodeCallback,B=void 0===ee?wi:ee,le=Ye.pseudoElementsCallback,Le=void 0===le?wi:le,ft=Ye.observeMutationsRoot,xt=void 0===ft?te:ft;Ro=new ce(function(rn){if(!Gi){var J=fn();qt(rn).forEach(function(We){if("childList"===We.type&&We.addedNodes.length>0&&!yi(We.addedNodes[0])&&(kn.searchPseudoElements&&Le(We.target),R(We.target)),"attributes"===We.type&&We.target.parentNode&&kn.searchPseudoElements&&Le(We.target.parentNode),"attributes"===We.type&&yi(We.target)&&~vt.indexOf(We.attributeName))if("class"===We.attributeName&&function Eo(Ye){var at=Ye.getAttribute?Ye.getAttribute(qe):null,R=Ye.getAttribute?Ye.getAttribute(et):null;return at&&R}(We.target)){var Se=Ln(nr(We.target)),_t=Se.iconName;We.target.setAttribute(qe,Se.prefix||J),_t&&We.target.setAttribute(et,_t)}else(function po(Ye){return Ye&&Ye.classList&&Ye.classList.contains&&Ye.classList.contains(kn.replacementClass)})(We.target)&&B(We.target)})}}),Z&&Ro.observe(xt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function uo(Ye){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},R=function ns(Ye){var at=Ye.getAttribute("data-prefix"),R=Ye.getAttribute("data-icon"),ee=void 0!==Ye.innerText?Ye.innerText.trim():"",B=Ln(nr(Ye));return B.prefix||(B.prefix=fn()),at&&R&&(B.prefix=at,B.iconName=R),B.iconName&&B.prefix||(B.prefix&&ee.length>0&&(B.iconName=function Ct(Ye,at){return(U[Ye]||{})[at]}(B.prefix,Ye.innerText)||ht(B.prefix,St(Ye.innerText))),!B.iconName&&kn.autoFetchSvg&&Ye.firstChild&&Ye.firstChild.nodeType===Node.TEXT_NODE&&(B.iconName=Ye.firstChild.data)),B}(Ye),ee=R.iconName,B=R.prefix,le=R.rest,Le=function rs(Ye){var at=qt(Ye.attributes).reduce(function(B,le){return"class"!==B.name&&"style"!==B.name&&(B[le.name]=le.value),B},{}),R=Ye.getAttribute("title"),ee=Ye.getAttribute("data-fa-title-id");return kn.autoA11y&&(R?at["aria-labelledby"]="".concat(kn.replacementClass,"-title-").concat(ee||En()):(at["aria-hidden"]="true",at.focusable="false")),at}(Ye),ft=vi("parseNodeAttributes",{},Ye),xt=at.styleParser?function Go(Ye){var at=Ye.getAttribute("style"),R=[];return at&&(R=at.split(";").reduce(function(ee,B){var le=B.split(":"),Le=le[0],ft=le.slice(1);return Le&&ft.length>0&&(ee[Le]=ft.join(":").trim()),ee},{})),R}(Ye):[];return d({iconName:ee,title:Ye.getAttribute("title"),titleId:Ye.getAttribute("data-fa-title-id"),prefix:B,transform:Et,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:le,styles:xt,attributes:Le}},ft)}var So=Or.styles;function cs(Ye){var at="nest"===kn.autoReplaceSvg?uo(Ye,{styleParser:!1}):uo(Ye);return~at.extra.classes.indexOf(Ee)?wn("generateLayersText",Ye,at):wn("generateSvgReplacementMutation",Ye,at)}var co=new Set;function Fo(Ye){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Z)return Promise.resolve();var R=te.documentElement.classList,ee=function(We){return R.add("".concat(De,"-").concat(We))},B=function(We){return R.remove("".concat(De,"-").concat(We))},le=kn.autoFetchSvg?co:sn.map(function(J){return"fa-".concat(J)}).concat(Object.keys(So));le.includes("fa")||le.push("fa");var Le=[".".concat(Ee,":not([").concat(ge,"])")].concat(le.map(function(J){return".".concat(J,":not([").concat(ge,"])")})).join(", ");if(0===Le.length)return Promise.resolve();var ft=[];try{ft=qt(Ye.querySelectorAll(Le))}catch{}if(!(ft.length>0))return Promise.resolve();ee("pending"),B("complete");var xt=yo.begin("onTree"),rn=ft.reduce(function(J,We){try{var Se=cs(We);Se&&J.push(Se)}catch(Ue){bt||"MissingIcon"===Ue.name&&console.error(Ue)}return J},[]);return new Promise(function(J,We){Promise.all(rn).then(function(Se){Li(Se,function(){ee("active"),ee("complete"),B("pending"),"function"==typeof at&&at(),xt(),J()})}).catch(function(Se){xt(),We(Se)})})}function Do(Ye){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;cs(Ye).then(function(R){R&&Li([R],at)})}sn.map(function(Ye){co.add("fa-".concat(Ye))}),Object.keys(Sn[Qe]).map(co.add.bind(co)),Object.keys(Sn[Ut]).map(co.add.bind(co)),co=b(co);var hs=function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ee=R.transform,B=void 0===ee?Et:ee,le=R.symbol,Le=void 0!==le&&le,ft=R.mask,xt=void 0===ft?null:ft,rn=R.maskId,J=void 0===rn?null:rn,We=R.title,Se=void 0===We?null:We,Ue=R.titleId,_t=void 0===Ue?null:Ue,$t=R.classes,tn=void 0===$t?[]:$t,Dn=R.attributes,gr=void 0===Dn?{}:Dn,yr=R.styles,$r=void 0===yr?{}:yr;if(at){var Cr=at.prefix,Qr=at.iconName,Hr=at.icon;return Xr(d({type:"icon"},at),function(){return _r("beforeDOMElementCreation",{iconDefinition:at,params:R}),kn.autoA11y&&(Se?gr["aria-labelledby"]="".concat(kn.replacementClass,"-title-").concat(_t||En()):(gr["aria-hidden"]="true",gr.focusable="false")),Yi({icons:{main:Wi(Hr),mask:xt?Wi(xt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cr,iconName:Qr,transform:d(d({},Et),B),symbol:Le,title:Se,maskId:J,titleId:_t,extra:{attributes:gr,styles:$r,classes:tn}})})}},Qo={mixout:function(){return{icon:(Ye=hs,function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},ee=(at||{}).icon?at:$n(at||{}),B=R.mask;return B&&(B=(B||{}).icon?B:$n(B||{})),Ye(ee,d(d({},R),{},{mask:B}))})};var Ye},hooks:function(){return{mutationObserverCallbacks:function(R){return R.treeCallback=Fo,R.nodeCallback=Do,R}}},provides:function(at){at.i2svg=function(R){var ee=R.node,le=R.callback;return Fo(void 0===ee?te:ee,void 0===le?function(){}:le)},at.generateSvgReplacementMutation=function(R,ee){var B=ee.iconName,le=ee.title,Le=ee.titleId,ft=ee.prefix,xt=ee.transform,rn=ee.symbol,J=ee.mask,We=ee.maskId,Se=ee.extra;return new Promise(function(Ue,_t){Promise.all([Rr(B,ft),J.iconName?Rr(J.iconName,J.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function($t){var tn=C($t,2);Ue([R,Yi({icons:{main:tn[0],mask:tn[1]},prefix:ft,iconName:B,transform:xt,symbol:rn,maskId:We,title:le,titleId:Le,extra:Se,watchable:!0})])}).catch(_t)})},at.generateAbstractIcon=function(R){var rn,ee=R.children,B=R.attributes,le=R.main,Le=R.transform,xt=sr(R.styles);return xt.length>0&&(B.style=xt),Mr(Le)&&(rn=wn("generateAbstractTransformGrouping",{main:le,transform:Le,containerWidth:le.width,iconWidth:le.width})),ee.push(rn||le.icon),{children:ee,attributes:B}}}},ze={mixout:function(){return{layer:function(R){var ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=ee.classes,le=void 0===B?[]:B;return Xr({type:"layer"},function(){_r("beforeDOMElementCreation",{assembler:R,params:ee});var Le=[];return R(function(ft){Array.isArray(ft)?ft.map(function(xt){Le=Le.concat(xt.abstract)}):Le=Le.concat(ft.abstract)}),[{tag:"span",attributes:{class:["".concat(kn.cssPrefix,"-layers")].concat(b(le)).join(" ")},children:Le}]})}}}},Xe={mixout:function(){return{counter:function(R){var ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=ee.title,le=void 0===B?null:B,Le=ee.classes,ft=void 0===Le?[]:Le,xt=ee.attributes,rn=void 0===xt?{}:xt,J=ee.styles,We=void 0===J?{}:J;return Xr({type:"counter",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:ee}),function go(Ye){var at=Ye.content,R=Ye.title,ee=Ye.extra,B=d(d(d({},ee.attributes),R?{title:R}:{}),{},{class:ee.classes.join(" ")}),le=sr(ee.styles);le.length>0&&(B.style=le);var Le=[];return Le.push({tag:"span",attributes:B,children:[at]}),R&&Le.push({tag:"span",attributes:{class:"sr-only"},children:[R]}),Le}({content:R.toString(),title:le,extra:{attributes:rn,styles:We,classes:["".concat(kn.cssPrefix,"-layers-counter")].concat(b(ft))}})})}}}},ke={mixout:function(){return{text:function(R){var ee=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},B=ee.transform,le=void 0===B?Et:B,Le=ee.title,ft=void 0===Le?null:Le,xt=ee.classes,rn=void 0===xt?[]:xt,J=ee.attributes,We=void 0===J?{}:J,Se=ee.styles,Ue=void 0===Se?{}:Se;return Xr({type:"text",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:ee}),ko({content:R,transform:d(d({},Et),le),title:ft,extra:{attributes:We,styles:Ue,classes:["".concat(kn.cssPrefix,"-layers-text")].concat(b(rn))}})})}}},provides:function(at){at.generateLayersText=function(R,ee){var B=ee.title,le=ee.transform,Le=ee.extra,ft=null,xt=null;if(re){var rn=parseInt(getComputedStyle(R).fontSize,10),J=R.getBoundingClientRect();ft=J.width/rn,xt=J.height/rn}return kn.autoA11y&&!B&&(Le.attributes["aria-hidden"]="true"),Promise.resolve([R,ko({content:R.innerHTML,width:ft,height:xt,transform:le,title:B,extra:Le,watchable:!0})])}}},dt=new RegExp('"',"ug"),wt=[1105920,1112319];function Bn(Ye,at){var R="".concat(it).concat(at.replace(":","-"));return new Promise(function(ee,B){if(null!==Ye.getAttribute(R))return ee();var Le=qt(Ye.children).filter(function(Hr){return Hr.getAttribute(Ne)===at})[0],ft=G.getComputedStyle(Ye,at),xt=ft.getPropertyValue("font-family").match(ye),rn=ft.getPropertyValue("font-weight"),J=ft.getPropertyValue("content");if(Le&&!xt)return Ye.removeChild(Le),ee();if(xt&&"none"!==J&&""!==J){var We=ft.getPropertyValue("content"),Se=~["Sharp"].indexOf(xt[2])?Ut:Qe,Ue=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(xt[2])?bn[Se][xt[2].toLowerCase()]:Ce[Se][rn],_t=function Wn(Ye){var at=Ye.replace(dt,""),R=function Jt(Ye,at){var B,R=Ye.length,ee=Ye.charCodeAt(at);return ee>=55296&&ee<=56319&&R>at+1&&(B=Ye.charCodeAt(at+1))>=56320&&B<=57343?1024*(ee-55296)+B-56320+65536:ee}(at,0),ee=R>=wt[0]&&R<=wt[1],B=2===at.length&&at[0]===at[1];return{value:St(B?at[0]:at),isSecondary:ee||B}}(We),$t=_t.value,tn=_t.isSecondary,Dn=xt[0].startsWith("FontAwesome"),gr=ht(Ue,$t),yr=gr;if(Dn){var $r=function dn(Ye){var at=ae[Ye],R=ht("fas",Ye);return at||(R?{prefix:"fas",iconName:R}:null)||{prefix:null,iconName:null}}($t);$r.iconName&&$r.prefix&&(gr=$r.iconName,Ue=$r.prefix)}if(!gr||tn||Le&&Le.getAttribute(qe)===Ue&&Le.getAttribute(et)===yr)ee();else{Ye.setAttribute(R,yr),Le&&Ye.removeChild(Le);var Cr=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Et,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Qr=Cr.extra;Qr.attributes[Ne]=at,Rr(gr,Ue).then(function(Hr){var Ri=Yi(d(d({},Cr),{},{icons:{main:Hr,mask:mn()},prefix:Ue,iconName:yr,extra:Qr,watchable:!0})),eo=te.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===at?Ye.insertBefore(eo,Ye.firstChild):Ye.appendChild(eo),eo.outerHTML=Ri.map(function(Vo){return or(Vo)}).join("\n"),Ye.removeAttribute(R),ee()}).catch(B)}}else ee()})}function zi(Ye){return Promise.all([Bn(Ye,"::before"),Bn(Ye,"::after")])}function Mo(Ye){return!(Ye.parentNode===document.head||~Pe.indexOf(Ye.tagName.toUpperCase())||Ye.getAttribute(Ne)||Ye.parentNode&&"svg"===Ye.parentNode.tagName)}function Ao(Ye){if(Z)return new Promise(function(at,R){var ee=qt(Ye.querySelectorAll("*")).filter(Mo).map(zi),B=yo.begin("searchPseudoElements");$o(),Promise.all(ee).then(function(){B(),Co(),at()}).catch(function(){B(),Co(),R()})})}var Ur=!1,is=function(at){return at.toLowerCase().split(" ").reduce(function(ee,B){var le=B.toLowerCase().split("-"),Le=le[0],ft=le.slice(1).join("-");if(Le&&"h"===ft)return ee.flipX=!0,ee;if(Le&&"v"===ft)return ee.flipY=!0,ee;if(ft=parseFloat(ft),isNaN(ft))return ee;switch(Le){case"grow":ee.size=ee.size+ft;break;case"shrink":ee.size=ee.size-ft;break;case"left":ee.x=ee.x-ft;break;case"right":ee.x=ee.x+ft;break;case"up":ee.y=ee.y-ft;break;case"down":ee.y=ee.y+ft;break;case"rotate":ee.rotate=ee.rotate+ft}return ee},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Xo={x:0,y:0,width:"100%",height:"100%"};function xo(Ye){return Ye.attributes&&(Ye.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Ye.attributes.fill="black"),Ye}!function lo(Ye,at){var R=at.mixoutsTo;cr=Ye,Nr={},Object.keys(Lr).forEach(function(ee){-1===ut.indexOf(ee)&&delete Lr[ee]}),cr.forEach(function(ee){var B=ee.mixout?ee.mixout():{};if(Object.keys(B).forEach(function(Le){"function"==typeof B[Le]&&(R[Le]=B[Le]),"object"===a(B[Le])&&Object.keys(B[Le]).forEach(function(ft){R[Le]||(R[Le]={}),R[Le][ft]=B[Le][ft]})}),ee.hooks){var le=ee.hooks();Object.keys(le).forEach(function(Le){Nr[Le]||(Nr[Le]=[]),Nr[Le].push(le[Le])})}ee.provides&&ee.provides(Lr)})}([Xn,Qo,ze,Xe,ke,{hooks:function(){return{mutationObserverCallbacks:function(R){return R.pseudoElementsCallback=Ao,R}}},provides:function(at){at.pseudoElements2svg=function(R){var ee=R.node;kn.searchPseudoElements&&Ao(void 0===ee?te:ee)}}},{mixout:function(){return{dom:{unwatch:function(){$o(),Ur=!0}}}},hooks:function(){return{bootstrap:function(){wo(vi("mutationObserverCallbacks",{}))},noAuto:function(){!function bs(){Ro&&Ro.disconnect()}()},watch:function(R){var ee=R.observeMutationsRoot;Ur?Co():wo(vi("mutationObserverCallbacks",{observeMutationsRoot:ee}))}}}},{mixout:function(){return{parse:{transform:function(R){return is(R)}}}},hooks:function(){return{parseNodeAttributes:function(R,ee){var B=ee.getAttribute("data-fa-transform");return B&&(R.transform=is(B)),R}}},provides:function(at){at.generateAbstractTransformGrouping=function(R){var ee=R.main,B=R.transform,Le=R.iconWidth,ft={transform:"translate(".concat(R.containerWidth/2," 256)")},xt="translate(".concat(32*B.x,", ").concat(32*B.y,") "),rn="scale(".concat(B.size/16*(B.flipX?-1:1),", ").concat(B.size/16*(B.flipY?-1:1),") "),J="rotate(".concat(B.rotate," 0 0)"),Ue={outer:ft,inner:{transform:"".concat(xt," ").concat(rn," ").concat(J)},path:{transform:"translate(".concat(Le/2*-1," -256)")}};return{tag:"g",attributes:d({},Ue.outer),children:[{tag:"g",attributes:d({},Ue.inner),children:[{tag:ee.icon.tag,children:ee.icon.children,attributes:d(d({},ee.icon.attributes),Ue.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(R,ee){var B=ee.getAttribute("data-fa-mask"),le=B?Ln(B.split(" ").map(function(Le){return Le.trim()})):mn();return le.prefix||(le.prefix=fn()),R.mask=le,R.maskId=ee.getAttribute("data-fa-mask-id"),R}}},provides:function(at){at.generateAbstractMask=function(R){var Ye,ee=R.children,B=R.attributes,le=R.main,Le=R.mask,ft=R.maskId,J=le.icon,Se=Le.icon,Ue=function br(Ye){var at=Ye.transform,ee=Ye.iconWidth,B={transform:"translate(".concat(Ye.containerWidth/2," 256)")},le="translate(".concat(32*at.x,", ").concat(32*at.y,") "),Le="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "),ft="rotate(".concat(at.rotate," 0 0)");return{outer:B,inner:{transform:"".concat(le," ").concat(Le," ").concat(ft)},path:{transform:"translate(".concat(ee/2*-1," -256)")}}}({transform:R.transform,containerWidth:Le.width,iconWidth:le.width}),_t={tag:"rect",attributes:d(d({},Xo),{},{fill:"white"})},$t=J.children?{children:J.children.map(xo)}:{},tn={tag:"g",attributes:d({},Ue.inner),children:[xo(d({tag:J.tag,attributes:d(d({},J.attributes),Ue.path)},$t))]},Dn={tag:"g",attributes:d({},Ue.outer),children:[tn]},gr="mask-".concat(ft||En()),yr="clip-".concat(ft||En()),$r={tag:"mask",attributes:d(d({},Xo),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[_t,Dn]},Cr={tag:"defs",children:[{tag:"clipPath",attributes:{id:yr},children:(Ye=Se,"g"===Ye.tag?Ye.children:[Ye])},$r]};return ee.push(Cr,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(yr,")"),mask:"url(#".concat(gr,")")},Xo)}),{children:ee,attributes:B}}}},{provides:function(at){var R=!1;G.matchMedia&&(R=G.matchMedia("(prefers-reduced-motion: reduce)").matches),at.missingIconAbstract=function(){var ee=[],B={fill:"currentColor"},le={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};ee.push({tag:"path",attributes:d(d({},B),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Le=d(d({},le),{},{attributeName:"opacity"}),ft={tag:"circle",attributes:d(d({},B),{},{cx:"256",cy:"364",r:"28"}),children:[]};return R||ft.children.push({tag:"animate",attributes:d(d({},le),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},Le),{},{values:"1;0;1;1;0;1;"})}),ee.push(ft),ee.push({tag:"path",attributes:d(d({},B),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:R?[]:[{tag:"animate",attributes:d(d({},Le),{},{values:"1;0;0;0;0;1;"})}]}),R||ee.push({tag:"path",attributes:d(d({},B),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},Le),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:ee}}}},{hooks:function(){return{parseNodeAttributes:function(R,ee){var B=ee.getAttribute("data-fa-symbol");return R.symbol=null!==B&&(""===B||B),R}}}}],{mixoutsTo:ti});var me=ti.parse,yt=ti.icon,Nt=ti.text,Vt=ti.counter,gn=o(14476);const zn=["*"],fr=Ye=>{const at={[`fa-${Ye.animation}`]:null!=Ye.animation&&!Ye.animation.startsWith("spin"),"fa-spin":"spin"===Ye.animation||"spin-reverse"===Ye.animation,"fa-spin-pulse":"spin-pulse"===Ye.animation||"spin-pulse-reverse"===Ye.animation,"fa-spin-reverse":"spin-reverse"===Ye.animation||"spin-pulse-reverse"===Ye.animation,"fa-pulse":"spin-pulse"===Ye.animation||"spin-pulse-reverse"===Ye.animation,"fa-fw":Ye.fixedWidth,"fa-border":Ye.border,"fa-inverse":Ye.inverse,"fa-layers-counter":Ye.counter,"fa-flip-horizontal":"horizontal"===Ye.flip||"both"===Ye.flip,"fa-flip-vertical":"vertical"===Ye.flip||"both"===Ye.flip,[`fa-${Ye.size}`]:null!==Ye.size,[`fa-rotate-${Ye.rotate}`]:null!==Ye.rotate,[`fa-pull-${Ye.pull}`]:null!==Ye.pull,[`fa-stack-${Ye.stackItemSize}`]:null!=Ye.stackItemSize};return Object.keys(at).map(R=>at[R]?R:null).filter(R=>R)};let mi=(()=>{class Ye{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(ee){return new(ee||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),Ai=(()=>{class Ye{constructor(){this.definitions={}}addIcons(...R){for(const ee of R){ee.prefix in this.definitions||(this.definitions[ee.prefix]={}),this.definitions[ee.prefix][ee.iconName]=ee;for(const B of ee.icon[2])"string"==typeof B&&(this.definitions[ee.prefix][B]=ee)}}addIconPacks(...R){for(const ee of R){const B=Object.keys(ee).map(le=>ee[le]);this.addIcons(...B)}}getIconDefinition(R,ee){return R in this.definitions&&ee in this.definitions[R]?this.definitions[R][ee]:null}static#e=this.\u0275fac=function(ee){return new(ee||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),ji=(()=>{class Ye{constructor(){this.stackItemSize="1x"}ngOnChanges(R){if("size"in R)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(ee){return new(ee||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Ye})(),Ti=(()=>{class Ye{constructor(R,ee){this.renderer=R,this.elementRef=ee}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(ee){return new(ee||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:zn,decls:1,vars:0,template:function(ee,B){1&ee&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Ye})(),Ji=(()=>{class Ye{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,ee,B,le,Le){this.sanitizer=R,this.config=ee,this.iconLibrary=B,this.stackItem=le,this.classes=[],null!=Le&&null==le&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(R){if(null!=this.icon||null!=this.config.fallbackIcon){if(R){const B=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=B){const le=this.buildParams();this.renderIcon(B,le)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(R){const ee=((Ye,at)=>(Ye=>void 0!==Ye.prefix&&void 0!==Ye.iconName)(Ye)?Ye:"string"==typeof Ye?{prefix:at,iconName:Ye}:{prefix:Ye[0],iconName:Ye[1]})(R,this.config.defaultPrefix);return"icon"in ee?ee:this.iconLibrary.getIconDefinition(ee.prefix,ee.iconName)??((Ye=>{throw new Error(`Could not find icon with iconName=${Ye.iconName} and prefix=${Ye.prefix} in the icon library.`)})(ee),null)}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},ee="string"==typeof this.transform?me.transform(this.transform):this.transform;return{title:this.title,transform:ee,classes:[...fr(R),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(R,ee){const B=yt(R,ee);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(B.html.join("\n"))}static#e=this.\u0275fac=function(ee){return new(ee||Ye)(n.\u0275\u0275directiveInject(gn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(Ai),n.\u0275\u0275directiveInject(ji,8),n.\u0275\u0275directiveInject(Ti,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(ee,B){2&ee&&(n.\u0275\u0275hostProperty("innerHTML",B.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",B.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(ee,B){},encapsulation:2})}return Ye})(),vn=(()=>{class Ye extends Ji{findIconDefinition(R){const ee=super.findIconDefinition(R);if(null!=ee&&!Array.isArray(ee.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: or use: instead.`);return ee}buildParams(){const R=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&R.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(R.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(R.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(R.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(R.styles["--fa-secondary-color"]=this.secondaryColor),R}static#e=this.\u0275fac=(()=>{let R;return function(B){return(R||(R=n.\u0275\u0275getInheritedFactory(Ye)))(B||Ye)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},standalone:!0,features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(ee,B){},encapsulation:2})}return Ye})();const wr=(Ye,at,R)=>{if(!Ye)throw new Error(`${R} should be used as child of ${at} only.`)};let Qi=(()=>{class Ye{constructor(R,ee,B){this.renderer=R,this.elementRef=ee,this.config=B}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(ee){return new(ee||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(ee,B){2&ee&&n.\u0275\u0275classProp("fa-fw",B.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:zn,decls:1,vars:0,template:function(ee,B){1&ee&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Ye})(),Ii=(()=>{class Ye{constructor(R,ee){this.parent=R,this.sanitizer=ee,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const ee=this.buildParams();this.updateContent(ee)}}buildParams(){const R=[];return null!=this.classes&&R.push(...this.classes),null!=this.position&&R.push(`fa-layers-${this.position}`),{title:this.title,classes:R,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Vt(this.content||"",R).html.join(""))}static#e=this.\u0275fac=function(ee){return new(ee||Ye)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(gn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(ee,B){2&ee&&n.\u0275\u0275hostProperty("innerHTML",B.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(ee,B){},encapsulation:2})}return Ye})(),ei=(()=>{class Ye{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,ee){this.parent=R,this.sanitizer=ee,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const ee=this.buildParams();this.updateContent(ee)}}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?me.transform(this.transform):this.transform,classes:[...fr(R),...this.classes],title:this.title,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Nt(this.content||"",R).html.join("\n"))}static#e=this.\u0275fac=function(ee){return new(ee||Ye)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(gn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(ee,B){2&ee&&n.\u0275\u0275hostProperty("innerHTML",B.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(ee,B){},encapsulation:2})}return Ye})(),oo=(()=>{class Ye{static#e=this.\u0275fac=function(ee){return new(ee||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Ye})()},10716:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{ActionSheetController:()=>Ai,AlertController:()=>vr,AngularDelegate:()=>vt,AnimationController:()=>mi,BooleanValueAccessor:()=>ut,Config:()=>ye,DomController:()=>Ut,GestureController:()=>ji,ION_MAX_VALIDATOR:()=>Gn,ION_MIN_VALIDATOR:()=>fr,IonAccordion:()=>ti,IonAccordionGroup:()=>Zr,IonActionSheet:()=>Xr,IonAlert:()=>Vi,IonApp:()=>hr,IonAvatar:()=>Yi,IonBackButton:()=>yt,IonBackButtonDelegate:()=>yt,IonBackdrop:()=>ko,IonBadge:()=>go,IonBreadcrumb:()=>Jr,IonBreadcrumbs:()=>Wi,IonButton:()=>qi,IonButtons:()=>ro,IonCard:()=>Rr,IonCardContent:()=>mo,IonCardHeader:()=>_i,IonCardSubtitle:()=>xi,IonCardTitle:()=>qr,IonCheckbox:()=>ar,IonChip:()=>yo,IonCol:()=>wi,IonContent:()=>yi,IonDatetime:()=>Eo,IonDatetimeButton:()=>po,IonFab:()=>Wr,IonFabButton:()=>bo,IonFabList:()=>Ni,IonFooter:()=>Gr,IonGrid:()=>Lo,IonHeader:()=>Oi,IonIcon:()=>Zi,IonImg:()=>Li,IonInfiniteScroll:()=>Gi,IonInfiniteScrollContent:()=>$o,IonInput:()=>Co,IonItem:()=>Ro,IonItemDivider:()=>wo,IonItemGroup:()=>bs,IonItemOption:()=>Go,IonItemOptions:()=>ns,IonItemSliding:()=>rs,IonLabel:()=>Ki,IonList:()=>uo,IonListHeader:()=>So,IonLoading:()=>cs,IonMaxValidator:()=>zr,IonMenu:()=>co,IonMenuButton:()=>Fo,IonMenuToggle:()=>Do,IonMinValidator:()=>tr,IonModal:()=>gn,IonNav:()=>Pt,IonNavLink:()=>Ko,IonNote:()=>hs,IonPicker:()=>Qo,IonPopover:()=>zn,IonProgressBar:()=>ze,IonRadio:()=>Xe,IonRadioGroup:()=>ke,IonRange:()=>dt,IonRefresher:()=>wt,IonRefresherContent:()=>Wn,IonReorder:()=>Bn,IonReorderGroup:()=>zi,IonRippleEffect:()=>Mo,IonRouterOutlet:()=>Be,IonRow:()=>Ao,IonSearchbar:()=>ho,IonSegment:()=>Ur,IonSegmentButton:()=>Zo,IonSelect:()=>is,IonSelectOption:()=>Xi,IonSkeletonText:()=>Xo,IonSpinner:()=>xo,IonSplitPane:()=>_o,IonTabBar:()=>Di,IonTabButton:()=>To,IonTabs:()=>nt,IonText:()=>Cs,IonTextarea:()=>os,IonThumbnail:()=>io,IonTitle:()=>fs,IonToast:()=>rt,IonToggle:()=>ne,IonToolbar:()=>me,IonicModule:()=>at,IonicRouteStrategy:()=>Er,IonicSafeString:()=>Ie.I,IonicSlides:()=>dn,LoadingController:()=>Ti,MenuController:()=>Ji,ModalController:()=>vn,NavController:()=>kt,NavParams:()=>Je,NumericValueAccessor:()=>lo,PickerController:()=>wr,Platform:()=>un,PopoverController:()=>Qi,RadioValueAccessor:()=>vi,RouterLinkDelegate:()=>Nt,RouterLinkWithHrefDelegate:()=>Vt,SelectValueAccessor:()=>_r,TextValueAccessor:()=>wn,ToastController:()=>Ii,createAnimation:()=>ur.c,createGesture:()=>ae.createGesture,getIonPageElement:()=>Ei.g,getPlatforms:()=>He.g,getTimeGivenProgression:()=>z.g,iosTransitionAnimation:()=>on.iosTransitionAnimation,isPlatform:()=>He.a,mdTransitionAnimation:()=>U.mdTransitionAnimation,openURL:()=>fe.o});var n=o(54496),i=o(44716),d=o(1528),a=o(56568),c=o(91368);class e{constructor(){this.m=new Map}reset(ee){this.m=new Map(Object.entries(ee))}get(ee,B){const le=this.m.get(ee);return void 0!==le?le:B}getBoolean(ee,B=!1){const le=this.m.get(ee);return void 0===le?B:"string"==typeof le?"true"===le:!!le}getNumber(ee,B){const le=parseFloat(this.m.get(ee));return isNaN(le)?void 0!==B?B:NaN:le}set(ee,B){this.m.set(ee,B)}}const u=new e,_=R=>y(R),y=(R=window)=>{if(typeof R>"u")return[];R.Ionic=R.Ionic||{};let ee=R.Ionic.platforms;return null==ee&&(ee=R.Ionic.platforms=S(R),ee.forEach(B=>R.document.documentElement.classList.add(`plt-${B}`))),ee},S=R=>{const ee=u.get("platform");return Object.keys(Z).filter(B=>{const le=ee?.[B];return"function"==typeof le?le(R):Z[B](R)})},w=R=>!!(se(R,/iPad/i)||se(R,/Macintosh/i)&&k(R)),F=R=>se(R,/android|sink/i),k=R=>K(R,"(any-pointer:coarse)"),x=R=>H(R)||G(R),H=R=>!!(R.cordova||R.phonegap||R.PhoneGap),G=R=>{const ee=R.Capacitor;return!!ee?.isNative},se=(R,ee)=>ee.test(R.navigator.userAgent),K=(R,ee)=>{var B;return null===(B=R.matchMedia)||void 0===B?void 0:B.call(R,ee).matches},Z={ipad:w,iphone:R=>se(R,/iPhone/i),ios:R=>se(R,/iPhone|iPod/i)||w(R),android:F,phablet:R=>{const ee=R.innerWidth,B=R.innerHeight,le=Math.min(ee,B),Le=Math.max(ee,B);return le>390&&le<520&&Le>620&&Le<800},tablet:R=>{const ee=R.innerWidth,B=R.innerHeight,le=Math.min(ee,B),Le=Math.max(ee,B);return w(R)||(R=>F(R)&&!se(R,/mobile/i))(R)||le>460&&le<820&&Le>780&&Le<1400},cordova:H,capacitor:G,electron:R=>se(R,/electron/i),pwa:R=>{var ee;return!!(null!==(ee=R.matchMedia)&&void 0!==ee&&ee.call(R,"(display-mode: standalone)").matches||R.navigator.standalone)},mobile:k,mobileweb:R=>k(R)&&!x(R),desktop:R=>!k(R),hybrid:x};var Y=o(51896),q=o(19248),he=o(95657),_e=o(70800),Oe=o(46700),Re=o(56040),Ae=o(82700),ge=o(81316),Ne=o(66684),it=o(17368),qe=o(528),et=o(95448),De=o(87773);function Pe(R,ee){return R===ee}const bt=["tabsInner"];class Qe{constructor(ee){this.menuController=ee}open(ee){return this.menuController.open(ee)}close(ee){return this.menuController.close(ee)}toggle(ee){return this.menuController.toggle(ee)}enable(ee,B){return this.menuController.enable(ee,B)}swipeGesture(ee,B){return this.menuController.swipeGesture(ee,B)}isOpen(ee){return this.menuController.isOpen(ee)}isEnabled(ee){return this.menuController.isEnabled(ee)}get(ee){return this.menuController.get(ee)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(ee,B){return this.menuController.registerAnimation(ee,B)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(ee,B){return this.menuController._createAnimation(ee,B)}_register(ee){return this.menuController._register(ee)}_unregister(ee){return this.menuController._unregister(ee)}_setOpen(ee,B,le){return this.menuController._setOpen(ee,B,le)}}let Ut=(()=>{class R{read(B){sn().read(B)}write(B){sn().write(B)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const sn=()=>{const R=typeof window<"u"?window:null;if(null!=R){const ee=R.Ionic;return ee?.queue?ee.queue:{read:B=>R.requestAnimationFrame(B),write:B=>R.requestAnimationFrame(B)}}return{read:ee=>ee(),write:ee=>ee()}};let un=(()=>{class R{constructor(B,le){this.doc=B,this.backButton=new he.E,this.keyboardDidShow=new he.E,this.keyboardDidHide=new he.E,this.pause=new he.E,this.resume=new he.E,this.resize=new he.E,le.run(()=>{let Le;this.win=B.defaultView,this.backButton.subscribeWithPriority=function(ft,xt){return this.subscribe(rn=>rn.register(ft,J=>le.run(()=>xt(J))))},bn(this.pause,B,"pause",le),bn(this.resume,B,"resume",le),bn(this.backButton,B,"ionBackButton",le),bn(this.resize,this.win,"resize",le),bn(this.keyboardDidShow,this.win,"ionKeyboardDidShow",le),bn(this.keyboardDidHide,this.win,"ionKeyboardDidHide",le),this._readyPromise=new Promise(ft=>{Le=ft}),this.win?.cordova?B.addEventListener("deviceready",()=>{Le("cordova")},{once:!0}):Le("dom")})}is(B){return((R,ee)=>("string"==typeof R&&(ee=R,R=void 0),_(R).includes(ee)))(this.win,B)}platforms(){return _(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(B){return Sn(this.win.location.href,B)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(B){const le=this.win.navigator;return!!(le?.userAgent&&le.userAgent.indexOf(B)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const Sn=(R,ee)=>{ee=ee.replace(/[[\]\\]/g,"\\$&");const le=new RegExp("[\\?&]"+ee+"=([^&#]*)").exec(R);return le?decodeURIComponent(le[1].replace(/\+/g," ")):null},bn=(R,ee,B,le)=>{ee&&ee.addEventListener(B,Le=>{le.run(()=>{const ft=Le?.detail;R.next(ft)})})};let kt=(()=>{class R{constructor(B,le,Le,ft){this.location=le,this.serializer=Le,this.router=ft,this.direction=Fe,this.animated=Ee,this.guessDirection="forward",this.lastNavId=-1,ft&&ft.events.subscribe(xt=>{if(xt instanceof a.NavigationStart){const rn=xt.restoredState?xt.restoredState.navigationId:xt.id;this.guessDirection=rn{this.pop(),xt()})}navigateForward(B,le={}){return this.setDirection("forward",le.animated,le.animationDirection,le.animation),this.navigate(B,le)}navigateBack(B,le={}){return this.setDirection("back",le.animated,le.animationDirection,le.animation),this.navigate(B,le)}navigateRoot(B,le={}){return this.setDirection("root",le.animated,le.animationDirection,le.animation),this.navigate(B,le)}back(B={animated:!0,animationDirection:"back"}){return this.setDirection("back",B.animated,B.animationDirection,B.animation),this.location.back()}pop(){var B=this;return(0,d.c)(function*(){let le=B.topOutlet;for(;le;){if(yield le.pop())return!0;le=le.parentOutlet}return!1})()}setDirection(B,le,Le,ft){this.direction=B,this.animated=jt(B,le,Le),this.animationBuilder=ft}setTopOutlet(B){this.topOutlet=B}consumeTransition(){let le,B="root";const Le=this.animationBuilder;return"auto"===this.direction?(B=this.guessDirection,le=this.guessAnimation):(le=this.animated,B=this.direction),this.direction=Fe,this.animated=Ee,this.animationBuilder=void 0,{direction:B,animation:le,animationBuilder:Le}}navigate(B,le){if(Array.isArray(B))return this.router.navigate(B,le);{const Le=this.serializer.parse(B.toString());return void 0!==le.queryParams&&(Le.queryParams={...le.queryParams}),void 0!==le.fragment&&(Le.fragment=le.fragment),this.router.navigateByUrl(Le,le)}}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(un),n.\u0275\u0275inject(c.Location),n.\u0275\u0275inject(a.UrlSerializer),n.\u0275\u0275inject(a.Router,8))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const jt=(R,ee,B)=>{if(!1!==ee){if(void 0!==B)return B;if("forward"===R||"back"===R)return R;if("root"===R&&!0===ee)return"forward"}},Fe="auto",Ee=void 0;let ye=(()=>{class R{get(B,le){const Le=Ge();return Le?Le.get(B,le):null}getBoolean(B,le){const Le=Ge();return!!Le&&Le.getBoolean(B,le)}getNumber(B,le){const Le=Ge();return Le?Le.getNumber(B,le):0}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const Ce=new n.InjectionToken("USERCONFIG"),Ge=()=>{if(typeof window<"u"){const R=window.Ionic;if(R?.config)return R.config}return null};class Je{constructor(ee={}){this.data=ee}get(ee){return this.data[ee]}}let vt=(()=>{class R{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(B,le,Le){return new Bt(B,le,this.applicationRef,this.zone,Le)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();class Bt{constructor(ee,B,le,Le,ft){this.environmentInjector=ee,this.injector=B,this.applicationRef=le,this.zone=Le,this.elementReferenceKey=ft,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(ee,B,le,Le){return this.zone.run(()=>new Promise(ft=>{const xt={...le};void 0!==this.elementReferenceKey&&(xt[this.elementReferenceKey]=ee),ft(Zt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,ee,B,xt,Le,this.elementReferenceKey))}))}removeViewFromDom(ee,B){return this.zone.run(()=>new Promise(le=>{const Le=this.elRefMap.get(B);if(Le){Le.destroy(),this.elRefMap.delete(B);const ft=this.elEventsMap.get(B);ft&&(ft(),this.elEventsMap.delete(B))}le()}))}}const Zt=(R,ee,B,le,Le,ft,xt,rn,J,We,Se)=>{const Ue=n.Injector.create({providers:pn(J),parent:B}),_t=(0,n.createComponent)(rn,{environmentInjector:ee,elementInjector:Ue}),$t=_t.instance,tn=_t.location.nativeElement;if(J&&(Se&&void 0!==$t[Se]&&console.error(`[Ionic Error]: ${Se} is a reserved property when using ${xt.tagName.toLowerCase()}. Rename or remove the "${Se}" property from ${rn.name}.`),Object.assign($t,J)),We)for(const gr of We)tn.classList.add(gr);const Dn=Dt(R,$t,tn);return xt.appendChild(tn),le.attachView(_t.hostView),Le.set(tn,_t),ft.set(tn,Dn),tn},Rt=[Y.L,Y.a,Y.b,Y.c,Y.d],Dt=(R,ee,B)=>R.run(()=>{const le=Rt.filter(Le=>"function"==typeof ee[Le]).map(Le=>{const ft=xt=>ee[Le](xt.detail);return B.addEventListener(Le,ft),()=>B.removeEventListener(Le,ft)});return()=>le.forEach(Le=>Le())}),Ot=new n.InjectionToken("NavParamsToken"),pn=R=>[{provide:Ot,useValue:R},{provide:Je,useFactory:Vn,deps:[Ot]}],Vn=R=>new Je(R),Yn=(R,ee)=>{const B=R.prototype;ee.forEach(le=>{Object.defineProperty(B,le,{get(){return this.el[le]},set(Le){this.z.runOutsideAngular(()=>this.el[le]=Le)}})})},er=(R,ee)=>{const B=R.prototype;ee.forEach(le=>{B[le]=function(){const Le=arguments;return this.z.runOutsideAngular(()=>this.el[le].apply(this.el,Le))}})},kn=(R,ee,B)=>{B.forEach(le=>R[le]=(0,_e.w)(ee,le))};function Mt(R){return function(B){const{defineCustomElementFn:le,inputs:Le,methods:ft}=R;return void 0!==le&&le(),Le&&Yn(B,Le),ft&&er(B,ft),B}}const Gt=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],mt=["present","dismiss","onDidDismiss","onWillDismiss"];let Et=(()=>{let R=class{constructor(B,le,Le){this.z=Le,this.isCmpOpen=!1,this.el=le.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),kn(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-popover"]],contentQueries:function(B,le,Le){if(1&B&&n.\u0275\u0275contentQuery(Le,n.TemplateRef,5),2&B){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(le.template=ft.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),R=(0,ge.__decorate)([Mt({inputs:Gt,methods:mt})],R),R})();const Xt=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],_n=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let En=(()=>{let R=class{constructor(B,le,Le){this.z=Le,this.isCmpOpen=!1,this.el=le.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),kn(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-modal"]],contentQueries:function(B,le,Le){if(1&B&&n.\u0275\u0275contentQuery(Le,n.TemplateRef,5),2&B){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(le.template=ft.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),R=(0,ge.__decorate)([Mt({inputs:Xt,methods:_n})],R),R})();const nr=(R,ee)=>((R=R.filter(B=>B.stackId!==ee.stackId)).push(ee),R),sr=(R,ee)=>{const B=R.createUrlTree(["."],{relativeTo:ee});return R.serializeUrl(B)},Mr=(R,ee)=>!ee||R.stackId!==ee.stackId,br=(R,ee)=>{if(!R)return;const B=Jn(ee);for(let le=0;le=R.length)return B[le];if(B[le]!==R[le])return}},Jn=R=>R.split("/").map(ee=>ee.trim()).filter(ee=>""!==ee),xn=R=>{R&&(R.ref.destroy(),R.unlistenEvents())};class oi{constructor(ee,B,le,Le,ft,xt){this.containerEl=B,this.router=le,this.navCtrl=Le,this.zone=ft,this.location=xt,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==ee?Jn(ee):void 0}createView(ee,B){const le=sr(this.router,B),Le=ee?.location?.nativeElement,ft=Dt(this.zone,ee.instance,Le);return{id:this.nextId++,stackId:br(this.tabsPrefix,le),unlistenEvents:ft,element:Le,ref:ee,url:le}}getExistingView(ee){const B=sr(this.router,ee),le=this.views.find(Le=>Le.url===B);return le&&le.ref.changeDetectorRef.reattach(),le}setActive(ee){const B=this.navCtrl.consumeTransition();let{direction:le,animation:Le,animationBuilder:ft}=B;const xt=this.activeView,rn=Mr(ee,xt);rn&&(le="back",Le=void 0);const J=this.views.slice();let We;const Se=this.router;Se.getCurrentNavigation?We=Se.getCurrentNavigation():Se.navigations?.value&&(We=Se.navigations.value),We?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Ue=this.views.includes(ee),_t=this.insertView(ee,le);Ue||ee.ref.changeDetectorRef.detectChanges();const $t=ee.animationBuilder;return void 0===ft&&"back"===le&&!rn&&void 0!==$t&&(ft=$t),xt&&(xt.animationBuilder=ft),this.zone.runOutsideAngular(()=>this.wait(()=>(xt&&xt.ref.changeDetectorRef.detach(),ee.ref.changeDetectorRef.reattach(),this.transition(ee,xt,Le,this.canGoBack(1),!1,ft).then(()=>Sr(ee,_t,J,this.location,this.zone)).then(()=>({enteringView:ee,direction:le,animation:Le,tabSwitch:rn})))))}canGoBack(ee,B=this.getActiveStackId()){return this.getStack(B).length>ee}pop(ee,B=this.getActiveStackId()){return this.zone.run(()=>{const le=this.getStack(B);if(le.length<=ee)return Promise.resolve(!1);const Le=le[le.length-ee-1];let ft=Le.url;const xt=Le.savedData;if(xt){const J=xt.get("primary");J?.route?._routerState?.snapshot.url&&(ft=J.route._routerState.snapshot.url)}const{animationBuilder:rn}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(ft,{...Le.savedExtras,animation:rn}).then(()=>!0)})}startBackTransition(){const ee=this.activeView;if(ee){const B=this.getStack(ee.stackId),le=B[B.length-2],Le=le.animationBuilder;return this.wait(()=>this.transition(le,ee,"back",this.canGoBack(2),!0,Le))}return Promise.resolve()}endBackTransition(ee){ee?(this.skipTransition=!0,this.pop(1)):this.activeView&&pr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(ee){const B=this.getStack(ee);return B.length>0?B[B.length-1]:void 0}getRootUrl(ee){const B=this.getStack(ee);return B.length>0?B[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(xn),this.activeView=void 0,this.views=[]}getStack(ee){return this.views.filter(B=>B.stackId===ee)}insertView(ee,B){return this.activeView=ee,this.views=((R,ee,B)=>"root"===B?nr(R,ee):"forward"===B?((R,ee)=>(R.indexOf(ee)>=0?R=R.filter(le=>le.stackId!==ee.stackId||le.id<=ee.id):R.push(ee),R))(R,ee):((R,ee)=>R.indexOf(ee)>=0?R.filter(le=>le.stackId!==ee.stackId||le.id<=ee.id):nr(R,ee))(R,ee))(this.views,ee,B),this.views.slice()}transition(ee,B,le,Le,ft,xt){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(B===ee)return Promise.resolve(!1);const rn=ee?ee.element:void 0,J=B?B.element:void 0,We=this.containerEl;return rn&&rn!==J&&(rn.classList.add("ion-page"),rn.classList.add("ion-page-invisible"),rn.parentElement!==We&&We.appendChild(rn),We.commit)?We.commit(rn,J,{duration:void 0===le?0:void 0,direction:le,showGoBack:Le,progressAnimation:ft,animationBuilder:xt}):Promise.resolve(!1)}wait(ee){var B=this;return(0,d.c)(function*(){void 0!==B.runningTask&&(yield B.runningTask,B.runningTask=void 0);const le=B.runningTask=ee();return le.finally(()=>B.runningTask=void 0),le})()}}const Sr=(R,ee,B,le,Le)=>"function"==typeof requestAnimationFrame?new Promise(ft=>{requestAnimationFrame(()=>{pr(R,ee,B,le,Le),ft()})}):Promise.resolve(),pr=(R,ee,B,le,Le)=>{Le.run(()=>B.filter(ft=>!ee.includes(ft)).forEach(xn)),ee.forEach(ft=>{const rn=le.path().split("?")[0].split("#")[0];if(ft!==R&&ft.url!==rn){const J=ft.element;J.setAttribute("aria-hidden","true"),J.classList.add("ion-page-hidden"),ft.ref.changeDetectorRef.detach()}})};let Xn=(()=>{class R{constructor(B,le,Le,ft,xt,rn,J,We){this.parentOutlet=We,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Oe.g(null),this.activated=null,this._activatedRoute=null,this.name=a.PRIMARY_OUTLET,this.stackWillChange=new n.EventEmitter,this.stackDidChange=new n.EventEmitter,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(a.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Or,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(ye),this.navCtrl=(0,n.inject)(kt),this.nativeEl=ft.nativeElement,this.name=B||a.PRIMARY_OUTLET,this.tabsPrefix="true"===le?sr(xt,J):void 0,this.stackCtrl=new oi(this.tabsPrefix,this.nativeEl,xt,this.navCtrl,rn,Le),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(B){this.nativeEl.animation=B}set animated(B){this.nativeEl.animated=B}set swipeGesture(B){this._swipeGesture=B,this.nativeEl.swipeHandler=B?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:le=>this.stackCtrl.endBackTransition(le)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const B=this.getContext();B?.route&&this.activateWith(B.route,B.injector)}new Promise(B=>(0,q.c)(this.nativeEl,B)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(B,le){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const le=this.getContext();this.activatedView.savedData=new Map(le.children.contexts);const Le=this.activatedView.savedData.get("primary");if(Le&&le.route&&(Le.route={...le.route}),this.activatedView.savedExtras={},le.route){const ft=le.route.snapshot;this.activatedView.savedExtras.queryParams=ft.queryParams,this.activatedView.savedExtras.fragment=ft.fragment}}const B=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(B)}}activateWith(B,le){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=B;let Le,ft=this.stackCtrl.getExistingView(B);if(ft){Le=this.activated=ft.ref;const rn=ft.savedData;rn&&(this.getContext().children.contexts=rn),this.updateActivatedRouteProxy(Le.instance,B)}else{const rn=B._futureSnapshot,J=this.parentContexts.getOrCreateContext(this.name).children,We=new Oe.g(null),Se=this.createActivatedRouteProxy(We,B),Ue=new qn(Se,J,this.location.injector);Le=this.activated=this.location.createComponent(rn.routeConfig.component??rn.component,{index:this.location.length,injector:Ue,environmentInjector:le??this.environmentInjector}),We.next(Le.instance),ft=this.stackCtrl.createView(this.activated,B),this.proxyMap.set(Le.instance,Se),this.currentActivatedRoute$.next({component:Le.instance,activatedRoute:B})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=ft,this.navCtrl.setTopOutlet(this);const xt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:ft,tabSwitch:Mr(ft,xt)}),this.stackCtrl.setActive(ft).then(rn=>{this.activateEvents.emit(Le.instance),this.stackDidChange.emit(rn)})}canGoBack(B=1,le){return this.stackCtrl.canGoBack(B,le)}pop(B=1,le){return this.stackCtrl.pop(B,le)}getLastUrl(B){const le=this.stackCtrl.getLastUrl(B);return le?le.url:void 0}getLastRouteView(B){return this.stackCtrl.getLastUrl(B)}getRootView(B){return this.stackCtrl.getRootUrl(B)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(B,le){const Le=new a.ActivatedRoute;return Le._futureSnapshot=le._futureSnapshot,Le._routerState=le._routerState,Le.snapshot=le.snapshot,Le.outlet=le.outlet,Le.component=le.component,Le._paramMap=this.proxyObservable(B,"paramMap"),Le._queryParamMap=this.proxyObservable(B,"queryParamMap"),Le.url=this.proxyObservable(B,"url"),Le.params=this.proxyObservable(B,"params"),Le.queryParams=this.proxyObservable(B,"queryParams"),Le.fragment=this.proxyObservable(B,"fragment"),Le.data=this.proxyObservable(B,"data"),Le}proxyObservable(B,le){return B.pipe((0,Ne.I)(Le=>!!Le),(0,it.G)(Le=>this.currentActivatedRoute$.pipe((0,Ne.I)(ft=>null!==ft&&ft.component===Le),(0,it.G)(ft=>ft&&ft.activatedRoute[le]),function je(R,ee=qe.Z){return R=R??Pe,(0,et.i)((B,le)=>{let Le,ft=!0;B.subscribe((0,De.e)(le,xt=>{const rn=ee(xt);(ft||!R(Le,rn))&&(ft=!1,Le=rn,le.next(xt))}))})}())))}updateActivatedRouteProxy(B,le){const Le=this.proxyMap.get(B);if(!Le)throw new Error("Could not find activated route proxy for view");Le._futureSnapshot=le._futureSnapshot,Le._routerState=le._routerState,Le.snapshot=le.snapshot,Le.outlet=le.outlet,Le.component=le.component,this.currentActivatedRoute$.next({component:B,activatedRoute:le})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(c.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),R})();class qn{constructor(ee,B,le){this.route=ee,this.childContexts=B,this.parent=le}get(ee,B){return ee===a.ActivatedRoute?this.route:ee===a.ChildrenOutletContexts?this.childContexts:this.parent.get(ee,B)}}const Or=new n.InjectionToken("");let pi=(()=>{class R{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(B){this.unsubscribeFromRouteData(B),this.subscribeToRouteData(B)}unsubscribeFromRouteData(B){this.outletDataSubscriptions.get(B)?.unsubscribe(),this.outletDataSubscriptions.delete(B)}subscribeToRouteData(B){const{activatedRoute:le}=B,Le=(0,Re.E)([le.queryParams,le.params,le.data]).pipe((0,it.G)(([ft,xt,rn],J)=>(rn={...ft,...xt,...rn},0===J?(0,Ae.of)(rn):Promise.resolve(rn)))).subscribe(ft=>{if(!B.isActivated||!B.activatedComponentRef||B.activatedRoute!==le||null===le.component)return void this.unsubscribeFromRouteData(B);const xt=(0,n.reflectComponentType)(le.component);if(xt)for(const{templateName:rn}of xt.inputs)B.activatedComponentRef.setInput(rn,ft[rn]);else this.unsubscribeFromRouteData(B)});this.outletDataSubscriptions.set(B,Le)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();function Rn(R){return R?.componentInputBindingEnabled?new pi:null}const Kn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let or=(()=>{let R=class{constructor(B,le,Le,ft,xt,rn){this.routerOutlet=B,this.navCtrl=le,this.config=Le,this.r=ft,this.z=xt,rn.detach(),this.el=this.r.nativeElement}onClick(B){const le=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),B.preventDefault()):null!=le&&(this.navCtrl.navigateBack(le,{animation:this.routerAnimation}),B.preventDefault())}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(Xn,8),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(ye),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("click",function(ft){return le.onClick(ft)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),R=(0,ge.__decorate)([Mt({inputs:Kn})],R),R})(),ui=(()=>{class R{constructor(B,le,Le,ft,xt){this.locationStrategy=B,this.navCtrl=le,this.elementRef=Le,this.router=ft,this.routerLink=xt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const B=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=B}}onClick(B){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),B.preventDefault()}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(c.LocationStrategy),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("click",function(ft){return le.onClick(ft)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})(),Pr=(()=>{class R{constructor(B,le,Le,ft,xt){this.locationStrategy=B,this.navCtrl=le,this.elementRef=Le,this.router=ft,this.routerLink=xt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const B=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=B}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(c.LocationStrategy),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("click",function(){return le.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})();const ct=["animated","animation","root","rootParams","swipeGesture"],Tt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let St=(()=>{let R=class{constructor(B,le,Le,ft,xt,rn){this.z=xt,rn.detach(),this.el=B.nativeElement,B.nativeElement.delegate=ft.create(le,Le),kn(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(vt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),R=(0,ge.__decorate)([Mt({inputs:ct,methods:Tt})],R),R})(),Jt=(()=>{class R{constructor(B){this.navCtrl=B,this.ionTabsWillChange=new n.EventEmitter,this.ionTabsDidChange=new n.EventEmitter,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:B,tabSwitch:le}){const Le=B.stackId;le&&void 0!==Le&&this.ionTabsWillChange.emit({tab:Le})}onStackDidChange({enteringView:B,tabSwitch:le}){const Le=B.stackId;le&&void 0!==Le&&(this.tabBar&&(this.tabBar.selectedTab=Le),this.ionTabsDidChange.emit({tab:Le}))}select(B){const le="string"==typeof B,Le=le?B:B.detail.tab,ft=this.outlet.getActiveStackId()===Le,xt=`${this.outlet.tabsPrefix}/${Le}`;if(le||B.stopPropagation(),ft){const rn=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(rn)?.url===xt)return;const We=this.outlet.getRootView(Le);return this.navCtrl.navigateRoot(xt,{...We&&xt===We.url&&We.savedExtras,animated:!0,animationDirection:"back"})}{const rn=this.outlet.getLastRouteView(Le),J=rn?.url||xt,We=rn?.savedExtras;return this.navCtrl.navigateRoot(J,{...We,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(B=>{const le=B.el.getAttribute("slot");le!==this.tabBarSlot&&(this.tabBarSlot=le,this.relocateTabBar())})}relocateTabBar(){const B=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(B):this.tabsInner.nativeElement.after(B)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(kt))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-tabs"]],viewQuery:function(B,le){if(1&B&&n.\u0275\u0275viewQuery(bt,7,n.ElementRef),2&B){let Le;n.\u0275\u0275queryRefresh(Le=n.\u0275\u0275loadQuery())&&(le.tabsInner=Le.first)}},hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionTabButtonClick",function(ft){return le.select(ft)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),R})();const an=R=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(R):"function"==typeof requestAnimationFrame?requestAnimationFrame(R):setTimeout(R);let Cn=(()=>{class R{constructor(B,le){this.injector=B,this.elementRef=le,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(B){this.elementRef.nativeElement.value=this.lastValue=B,yn(this.elementRef)}handleValueChange(B,le){B===this.elementRef.nativeElement&&(le!==this.lastValue&&(this.lastValue=le,this.onChange(le)),yn(this.elementRef))}_handleBlurEvent(B){B===this.elementRef.nativeElement&&(this.onTouched(),yn(this.elementRef))}registerOnChange(B){this.onChange=B}registerOnTouched(B){this.onTouched=B}setDisabledState(B){this.elementRef.nativeElement.disabled=B}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let B;try{B=this.injector.get(i.NgControl)}catch{}if(!B)return;B.statusChanges&&(this.statusChanges=B.statusChanges.subscribe(()=>yn(this.elementRef)));const le=B.control;le&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(ft=>{if(typeof le[ft]<"u"){const xt=le[ft].bind(le);le[ft]=(...rn)=>{xt(...rn),yn(this.elementRef)}}})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionBlur",function(ft){return le._handleBlurEvent(ft.target)})}}),R})();const yn=R=>{an(()=>{const ee=R.nativeElement,B=null!=ee.value&&ee.value.toString().length>0,le=Qn(ee);Un(ee,le);const Le=ee.closest("ion-item");Le&&Un(Le,B?[...le,"item-has-value"]:le)})},Qn=R=>{const ee=R.classList,B=[];for(let le=0;le{const B=R.classList;B.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),B.add(...ee)},Tr=(R,ee)=>R.substring(0,ee.length)===ee;class Er{shouldDetach(ee){return!1}shouldAttach(ee){return!1}store(ee,B){}retrieve(ee){return null}shouldReuseRoute(ee,B){if(ee.routeConfig!==B.routeConfig)return!1;const le=ee.params,Le=B.params,ft=Object.keys(le),xt=Object.keys(Le);if(ft.length!==xt.length)return!1;for(const rn of ft)if(Le[rn]!==le[rn])return!1;return!0}}class Hn{constructor(ee){this.ctrl=ee}create(ee){return this.ctrl.create(ee||{})}dismiss(ee,B,le){return this.ctrl.dismiss(ee,B,le)}getTop(){return this.ctrl.getTop()}}var ur=o(30388),Ei=o(76256),on=o(68512),U=o(96556),z=o(86944),ae=o(62528),He=o(88523),Ie=o(59637),fe=o(45256),Te=o(43452),ot=o(63816),Ct=(o(14829),o(62992));o(66560),o(72784);const dn=R=>{const{swiper:ee,extendParams:B}=R,le={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};ee.pagination&&(le.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),ee.scrollbar&&(le.scrollbar={hide:!0}),B(le)},mn=He.i,ln=function(){var R=(0,d.c)(function*(ee,B){if(!(typeof window>"u"))return yield mn(),(0,Ct.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),B)});return function(B,le){return R.apply(this,arguments)}}(),Yt=["*"],Ln=["outlet"],lr=[[["","slot","top"]],"*"],cr=["[slot=top]","*"];function Nr(R,ee){if(1&R&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&R){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",B.template)}}function Lr(R,ee){if(1&R&&n.\u0275\u0275elementContainer(0,1),2&R){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",B.template)}}let ut=(()=>{class R extends Cn{constructor(B,le){super(B,le)}writeValue(B){this.elementRef.nativeElement.checked=this.lastValue=B,yn(this.elementRef)}_handleIonChange(B){this.handleValueChange(B,B.checked)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionChange",function(ft){return le._handleIonChange(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),lo=(()=>{class R extends Cn{constructor(B,le){super(B,le)}handleInputEvent(B){this.handleValueChange(B,B.value)}registerOnChange(B){super.registerOnChange(le=>{B(""===le?null:parseFloat(le))})}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionInput",function(ft){return le.handleInputEvent(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vi=(()=>{class R extends Cn{constructor(B,le){super(B,le)}_handleIonSelect(B){this.handleValueChange(B,B.checked)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-radio"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionSelect",function(ft){return le._handleIonSelect(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),_r=(()=>{class R extends Cn{constructor(B,le){super(B,le)}_handleChangeEvent(B){this.handleValueChange(B,B.value)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionChange",function(ft){return le._handleChangeEvent(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),wn=(()=>{class R extends Cn{constructor(B,le){super(B,le)}_handleInputEvent(B){this.handleValueChange(B,B.value)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionInput",function(ft){return le._handleInputEvent(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:i.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const $n=(R,ee)=>{const B=R.prototype;ee.forEach(le=>{Object.defineProperty(B,le,{get(){return this.el[le]},set(Le){this.z.runOutsideAngular(()=>this.el[le]=Le)},configurable:!0})})},si=(R,ee)=>{const B=R.prototype;ee.forEach(le=>{B[le]=function(){const Le=arguments;return this.z.runOutsideAngular(()=>this.el[le].apply(this.el,Le))}})},Ir=(R,ee,B)=>{B.forEach(le=>R[le]=(0,_e.w)(ee,le))};function On(R){return function(B){const{defineCustomElementFn:le,inputs:Le,methods:ft}=R;return void 0!==le&&le(),Le&&$n(B,Le),ft&&si(B,ft),B}}let ti=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],R),R})(),Zr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],R),R})(),Xr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),Vi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),hr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-app"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),Yi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-avatar"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),ko=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionBackdropTap"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["stopPropagation","tappable","visible"]})],R),R})(),go=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),Jr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],R),R})(),Wi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionCollapsedClick"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],R),R})(),qi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],R),R})(),ro=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["collapse"]})],R),R})(),Rr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],R),R})(),mo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["mode"]})],R),R})(),_i=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","translucent"]})],R),R})(),xi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),qr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),ar=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),yo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","disabled","mode","outline"]})],R),R})(),wi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],R),R})(),yi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],R),R})(),Eo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],R),R})(),po=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","datetime","disabled","mode"]})],R),R})(),Wr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],R),R})(),bo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],R),R})(),Ni=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activated","side"]})],R),R})(),Gr=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["collapse","mode","translucent"]})],R),R})(),Lo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["fixed"]})],R),R})(),Oi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["collapse","mode","translucent"]})],R),R})(),Zi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],R),R})(),Li=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alt","src"]})],R),R})(),Gi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionInfinite"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","position","threshold"],methods:["complete"]})],R),R})(),$o=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["loadingSpinner","loadingText"]})],R),R})(),Co=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ro=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],R),R})(),wo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","sticky"]})],R),R})(),bs=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-group"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),Go=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],R),R})(),ns=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionSwipe"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["side"]})],R),R})(),rs=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionDrag"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],R),R})(),Ki=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","position"]})],R),R})(),uo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],R),R})(),So=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","lines","mode"]})],R),R})(),cs=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),co=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],R),R})(),Fo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["autoHide","color","disabled","menu","mode","type"]})],R),R})(),Do=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["autoHide","menu"]})],R),R})(),Ko=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["component","componentProps","routerAnimation","routerDirection"]})],R),R})(),hs=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),Qo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-picker"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],R),R})(),ze=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["buffer","color","mode","reversed","type","value"]})],R),R})(),Xe=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),ke=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["allowEmptySelection","compareWith","name","value"]})],R),R})(),dt=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],R),R})(),wt=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionRefresh","ionPull","ionStart"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],R),R})(),Wn=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],R),R})(),Bn=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),zi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionItemReorder"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled"],methods:["complete"]})],R),R})(),Mo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["type"],methods:["addRipple"]})],R),R})(),Ao=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-row"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),ho=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ur=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],R),R})(),Zo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","layout","mode","type","value"]})],R),R})(),is=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],R),R})(),Xi=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","value"]})],R),R})(),Xo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated"]})],R),R})(),xo=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","duration","name","paused"]})],R),R})(),_o=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionSplitPaneVisible"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["contentId","disabled","when"]})],R),R})(),Di=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","selectedTab","translucent"]})],R),R})(),To=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],R),R})(),Cs=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),os=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],R),R})(),io=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-thumbnail"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),fs=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","size"]})],R),R})(),rt=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),ne=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement,Ir(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),me=(()=>{let R=class{constructor(B,le,Le){this.z=Le,B.detach(),this.el=le.nativeElement}};return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),Be=(()=>{class R extends Xn{constructor(B,le,Le,ft,xt,rn,J,We){super(B,le,Le,ft,xt,rn,J,We),this.parentOutlet=We}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(c.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),nt=(()=>{class R extends Jt{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tabs"]],contentQueries:function(B,le,Le){if(1&B&&(n.\u0275\u0275contentQuery(Le,Di,5),n.\u0275\u0275contentQuery(Le,Di,4)),2&B){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(le.tabBar=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(le.tabBars=ft)}},viewQuery:function(B,le){if(1&B&&n.\u0275\u0275viewQuery(Ln,5,Be),2&B){let Le;n.\u0275\u0275queryRefresh(Le=n.\u0275\u0275loadQuery())&&(le.outlet=Le.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(lr),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(ft){return le.onStackWillChange(ft)})("stackDidChange",function(ft){return le.onStackDidChange(ft)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[Be],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),R})(),yt=(()=>{class R extends or{constructor(B,le,Le,ft,xt,rn){super(B,le,Le,ft,xt,rn)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(Be,8),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(ye),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Pt=(()=>{class R extends St{constructor(B,le,Le,ft,xt,rn){super(B,le,Le,ft,xt,rn)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(vt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Yt,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Nt=(()=>{class R extends ui{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),Vt=(()=>{class R extends Pr{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),gn=(()=>{class R extends En{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-modal"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(B,le){1&B&&n.\u0275\u0275template(0,Nr,2,1,"div",0),2&B&&n.\u0275\u0275property("ngIf",le.isCmpOpen||le.keepContentsMounted)},dependencies:[c.NgIf,c.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})(),zn=(()=>{class R extends Et{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(B,le){1&B&&n.\u0275\u0275template(0,Lr,1,1,"ng-container",0),2&B&&n.\u0275\u0275property("ngIf",le.isCmpOpen||le.keepContentsMounted)},dependencies:[c.NgIf,c.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})();const Gn={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>zr),multi:!0};let zr=(()=>{class R extends i.MaxValidator{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(B,le){2&B&&n.\u0275\u0275attribute("max",le._enabled?le.max:null)},features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const fr={provide:i.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>tr),multi:!0};let tr=(()=>{class R extends i.MinValidator{}return R.\u0275fac=(()=>{let ee;return function(le){return(ee||(ee=n.\u0275\u0275getInheritedFactory(R)))(le||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(B,le){2&B&&n.\u0275\u0275attribute("min",le._enabled?le.min:null)},features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vr=(()=>{class R extends Hn{constructor(){super(ot.a)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),mi=(()=>{class R{create(B){return(0,ur.c)(B)}easingTime(B,le,Le,ft,xt){return(0,z.g)(B,le,Le,ft,xt)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ai=(()=>{class R extends Hn{constructor(){super(ot.b)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ji=(()=>{class R{constructor(B){this.zone=B}create(B,le=!1){return le&&Object.getOwnPropertyNames(B).forEach(Le=>{if("function"==typeof B[Le]){const ft=B[Le];B[Le]=(...xt)=>this.zone.run(()=>ft(...xt))}}),(0,ae.createGesture)(B)}}return R.\u0275fac=function(B){return new(B||R)(n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ti=(()=>{class R extends Hn{constructor(){super(ot.l)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ji=(()=>{class R extends Qe{constructor(){super(Te.m)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),vn=(()=>{class R extends Hn{constructor(){super(ot.m),this.angularDelegate=(0,n.inject)(vt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(B){return super.create({...B,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})(),wr=(()=>{class R extends Hn{constructor(){super(ot.p)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();class Qi extends Hn{constructor(){super(ot.c),this.angularDelegate=(0,n.inject)(vt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(ee){return super.create({...ee,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Ii=(()=>{class R extends Hn{constructor(){super(ot.t)}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const ei=(R,ee,B)=>()=>{const le=ee.defaultView;if(le&&typeof window<"u"){(0,Ie.s)({...R,_zoneGate:ft=>B.run(ft)});const Le="__zone_symbol__addEventListener"in ee.body?"__zone_symbol__addEventListener":"addEventListener";return function fn(){var R=[];if(typeof window<"u"){var ee=window;(!ee.customElements||ee.Element&&(!ee.Element.prototype.closest||!ee.Element.prototype.matches||!ee.Element.prototype.remove||!ee.Element.prototype.getRootNode))&&R.push(o.e(4448).then(o.t.bind(o,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||ee.NodeList&&!ee.NodeList.prototype.forEach||!ee.fetch||!function(){try{var le=new URL("b","http://a");return le.pathname="c%20d","http://a/c%20d"===le.href&&le.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&R.push(o.e(488).then(o.t.bind(o,36304,23)))}return Promise.all(R)}().then(()=>ln(le,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:an,jmp:ft=>B.runOutsideAngular(ft),ael(ft,xt,rn,J){ft[Le](xt,rn,J)},rel(ft,xt,rn,J){ft.removeEventListener(xt,rn,J)}}))}};let at=(()=>{class R{static forRoot(B){return{ngModule:R,providers:[{provide:Ce,useValue:B},{provide:n.APP_INITIALIZER,useFactory:ei,multi:!0,deps:[Ce,c.DOCUMENT,n.NgZone]},{provide:Or,useFactory:Rn,deps:[a.Router]}]}}}return R.\u0275fac=function(B){return new(B||R)},R.\u0275mod=n.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=n.\u0275\u0275defineInjector({providers:[vt,vn,Qi],imports:[c.CommonModule]}),R})()},2300:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{EditorComponent:()=>X,EditorModule:()=>W,TINYMCE_SCRIPT_SRC:()=>Z});var n=o(54496),i=o(91368),d=o(44716),a=o(70800),c=o(41424),e=o(95657),u=o(53616),l=o(3992),g=o(32700),v=o(22540),p=o(50560),C=o(41760),b=o(95448);function f(Y,q,...he){if(!0===q)return void Y();if(!1===q)return;const _e=new C.ot({next:()=>{_e.unsubscribe(),Y()}});return(0,p.Uv)(q(...he)).subscribe(_e)}function S(Y,q){}const M=()=>{const Y=typeof window<"u"?window:void 0;return Y&&Y.tinymce?Y.tinymce:null};let w=(()=>{class Y{constructor(){this.onBeforePaste=new n.EventEmitter,this.onBlur=new n.EventEmitter,this.onClick=new n.EventEmitter,this.onContextMenu=new n.EventEmitter,this.onCopy=new n.EventEmitter,this.onCut=new n.EventEmitter,this.onDblclick=new n.EventEmitter,this.onDrag=new n.EventEmitter,this.onDragDrop=new n.EventEmitter,this.onDragEnd=new n.EventEmitter,this.onDragGesture=new n.EventEmitter,this.onDragOver=new n.EventEmitter,this.onDrop=new n.EventEmitter,this.onFocus=new n.EventEmitter,this.onFocusIn=new n.EventEmitter,this.onFocusOut=new n.EventEmitter,this.onKeyDown=new n.EventEmitter,this.onKeyPress=new n.EventEmitter,this.onKeyUp=new n.EventEmitter,this.onMouseDown=new n.EventEmitter,this.onMouseEnter=new n.EventEmitter,this.onMouseLeave=new n.EventEmitter,this.onMouseMove=new n.EventEmitter,this.onMouseOut=new n.EventEmitter,this.onMouseOver=new n.EventEmitter,this.onMouseUp=new n.EventEmitter,this.onPaste=new n.EventEmitter,this.onSelectionChange=new n.EventEmitter,this.onActivate=new n.EventEmitter,this.onAddUndo=new n.EventEmitter,this.onBeforeAddUndo=new n.EventEmitter,this.onBeforeExecCommand=new n.EventEmitter,this.onBeforeGetContent=new n.EventEmitter,this.onBeforeRenderUI=new n.EventEmitter,this.onBeforeSetContent=new n.EventEmitter,this.onChange=new n.EventEmitter,this.onClearUndos=new n.EventEmitter,this.onDeactivate=new n.EventEmitter,this.onDirty=new n.EventEmitter,this.onExecCommand=new n.EventEmitter,this.onGetContent=new n.EventEmitter,this.onHide=new n.EventEmitter,this.onInit=new n.EventEmitter,this.onInitNgModel=new n.EventEmitter,this.onLoadContent=new n.EventEmitter,this.onNodeChange=new n.EventEmitter,this.onPostProcess=new n.EventEmitter,this.onPostRender=new n.EventEmitter,this.onPreInit=new n.EventEmitter,this.onPreProcess=new n.EventEmitter,this.onProgressState=new n.EventEmitter,this.onRedo=new n.EventEmitter,this.onRemove=new n.EventEmitter,this.onReset=new n.EventEmitter,this.onResizeEditor=new n.EventEmitter,this.onSaveContent=new n.EventEmitter,this.onSetAttrib=new n.EventEmitter,this.onObjectResizeStart=new n.EventEmitter,this.onObjectResized=new n.EventEmitter,this.onObjectSelected=new n.EventEmitter,this.onSetContent=new n.EventEmitter,this.onShow=new n.EventEmitter,this.onSubmit=new n.EventEmitter,this.onUndo=new n.EventEmitter,this.onVisualAid=new n.EventEmitter}}return Y.\u0275fac=function(he){return new(he||Y)},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),Y})();const A=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],O=(Y,q,he)=>(0,a.w)(Y,q).pipe((0,u.a)(he)),T=(Y,q)=>"string"==typeof Y?Y.split(",").map(he=>he.trim()):Array.isArray(Y)?Y:q;let I=0;const N=Y=>typeof Y<"u"&&"textarea"===Y.tagName.toLowerCase(),x=Y=>typeof Y>"u"||""===Y?[]:Array.isArray(Y)?Y:Y.split(" "),H=(Y,q)=>x(Y).concat(x(q)),G=()=>{},te=Y=>null==Y,K=(()=>{let Y={script$:null};return{load:(_e,Oe)=>Y.script$||(Y.script$=(0,c.Q)(()=>{const Re=_e.createElement("script");return Re.referrerPolicy="origin",Re.type="application/javascript",Re.src=Oe,_e.head.appendChild(Re),(0,a.w)(Re,"load").pipe((0,l.U)(1),(0,g.e)(void 0))}).pipe(function y(Y,q,he){let _e,Oe=!1;return Y&&"object"==typeof Y?({bufferSize:_e=1/0,windowTime:q=1/0,refCount:Oe=!1,scheduler:he}=Y):_e=Y??1/0,function _(Y={}){const{connector:q=(()=>new e.E),resetOnError:he=!0,resetOnComplete:_e=!0,resetOnRefCountZero:Oe=!0}=Y;return Re=>{let Ae,ge,Ne,it=0,qe=!1,et=!1;const De=()=>{ge?.unsubscribe(),ge=void 0},je=()=>{De(),Ae=Ne=void 0,qe=et=!1},Pe=()=>{const bt=Ae;je(),bt?.unsubscribe()};return(0,b.i)((bt,Qe)=>{it++,!et&&!qe&&De();const Ut=Ne=Ne??q();Qe.add(()=>{it--,0===it&&!et&&!qe&&(ge=f(Pe,Oe))}),Ut.subscribe(Qe),!Ae&&it>0&&(Ae=new C.ot({next:sn=>Ut.next(sn),error:sn=>{et=!0,De(),ge=f(je,he,sn),Ut.error(sn)},complete:()=>{qe=!0,De(),ge=f(je,_e),Ut.complete()}}),(0,p.Uv)(bt).subscribe(Ae))})(Re)}}({connector:()=>new v.o(_e,q,he),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Oe})}({bufferSize:1,refCount:!0}))),reinitialize:()=>{Y={script$:null}}}})(),Z=new n.InjectionToken("TINYMCE_SCRIPT_SRC"),re={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>X),multi:!0};let X=(()=>{class Y extends w{constructor(he,_e,Oe,Re){super(),this.platformId=Oe,this.tinymceScriptSrc=Re,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=G,this.destroy$=new e.E,this.initialise=()=>{const Ae={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:H(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:ge=>{this._editor=ge,O(ge,"init",this.destroy$).subscribe(()=>{this.initEditor(ge)}),((Y,q,he)=>{(Y=>{const q=T(Y.ignoreEvents,[]);return T(Y.allowedEvents,A).filter(_e=>A.includes(_e)&&!q.includes(_e))})(Y).forEach(Oe=>{const Re=Y[Oe];O(q,Oe.substring(2),he).subscribe(Ae=>{Re.observers.length>0&&Y.ngZone.run(()=>Re.emit({event:Ae,editor:q}))})})})(this,ge,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(ge)}};N(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{M().init(Ae)})},this._elementRef=he,this.ngZone=_e}set disabled(he){this._disabled=he,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(he?"readonly":"design"):this._editor.setMode(he?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(he){this._editor&&this._editor.initialized?this._editor.setContent(te(he)?"":he):this.initialValue=null===he?void 0:he}registerOnChange(he){this.onChangeCallback=he}registerOnTouched(he){this.onTouchedCallback=he}setDisabledState(he){this.disabled=he}ngAfterViewInit(){(0,i.isPlatformBrowser)(this.platformId)&&(this.id=this.id||(Y=>{const he=(new Date).getTime(),_e=Math.floor(1e9*Math.random());return I++,"tiny-angular_"+_e+I+String(he)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==M()?this.initialise():this._element&&this._element.ownerDocument&&K.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,u.a)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==M()&&M().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,N(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return te(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(he){O(he,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),O(he,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(he))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{he.setContent(this.initialValue),he.getContent()!==this.initialValue&&this.emitOnChange(he),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(he)})}emitOnChange(he){this.onChangeCallback&&this.onChangeCallback(he.getContent({format:this.outputFormat}))}}return Y.\u0275fac=function(he){return new(he||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(Z,8))},Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[n.\u0275\u0275ProvidersFeature([re]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(he,_e){1&he&&n.\u0275\u0275template(0,S,0,0,"ng-template")},dependencies:[i.CommonModule,d.FormsModule],styles:["[_nghost-%COMP%]{display:block}"]}),Y})(),W=(()=>{class Y{}return Y.\u0275fac=function(he){return new(he||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({imports:[X]}),Y})()},17964:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{add:()=>Oe,after:()=>Ge,ary:()=>wr,assign:()=>Is,assignIn:()=>Vr,assignInWith:()=>al,assignWith:()=>Bd,at:()=>Fy,attempt:()=>nh,before:()=>Qg,bind:()=>pl,bindAll:()=>jy,bindKey:()=>dc,camelCase:()=>Cl,capitalize:()=>uh,castArray:()=>Mb,ceil:()=>wb,chain:()=>gm,chunk:()=>yc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>zm,cloneWith:()=>d0,commit:()=>Nh,compact:()=>f0,concat:()=>Es,cond:()=>O0,conforms:()=>ap,conformsTo:()=>Ic,constant:()=>Jr,countBy:()=>j0,create:()=>up,curry:()=>Il,curryRight:()=>Ju,debounce:()=>fp,deburr:()=>Ta,default:()=>vP,defaultTo:()=>gp,defaults:()=>Ws,defaultsDeep:()=>vp,defer:()=>yp,delay:()=>m1,difference:()=>Z0,differenceBy:()=>xc,differenceWith:()=>X0,divide:()=>J0,drop:()=>eC,dropRight:()=>Sp,dropRightWhile:()=>Oo,dropWhile:()=>tf,each:()=>rd,eachRight:()=>id,endsWith:()=>Pl,entries:()=>na,entriesIn:()=>Ap,eq:()=>oo,escape:()=>af,escapeRegExp:()=>hC,every:()=>mC,extend:()=>Vr,extendWith:()=>al,fill:()=>cf,filter:()=>CC,find:()=>MC,findIndex:()=>ld,findKey:()=>kp,findLast:()=>AC,findLastIndex:()=>df,findLastKey:()=>IC,first:()=>cd,flatMap:()=>xC,flatMapDeep:()=>LC,flatMapDepth:()=>Np,flatten:()=>Xd,flattenDeep:()=>RC,flattenDepth:()=>jp,flip:()=>jC,floor:()=>Fc,flow:()=>HC,flowRight:()=>Bp,forEach:()=>rd,forEachRight:()=>id,forIn:()=>YC,forInRight:()=>WC,forOwn:()=>Up,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>gf,functionsIn:()=>$C,get:()=>Tu,groupBy:()=>GC,gt:()=>Yp,gte:()=>nT,has:()=>eS,hasIn:()=>Wh,head:()=>cd,identity:()=>vt,inRange:()=>nS,includes:()=>Za,indexOf:()=>oS,initial:()=>zp,intersection:()=>Po,intersectionBy:()=>xl,intersectionWith:()=>Uc,invert:()=>pd,invertBy:()=>uS,invoke:()=>hS,invokeMap:()=>Df,isArguments:()=>ss,isArray:()=>K,isArrayBuffer:()=>Af,isArrayLike:()=>$t,isArrayLikeObject:()=>Io,isBoolean:()=>qp,isBuffer:()=>Jo,isDate:()=>_S,isElement:()=>vS,isEmpty:()=>Tf,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>pn,isInteger:()=>If,isLength:()=>Ue,isMap:()=>Uu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>s_,isNative:()=>a_,isNil:()=>Yc,isNull:()=>Ll,isNumber:()=>Pf,isObject:()=>De,isObjectLike:()=>T,isPlainObject:()=>Aa,isRegExp:()=>Fa,isSafeInteger:()=>Nl,isSet:()=>Zb,isString:()=>hd,isSymbol:()=>N,isTypedArray:()=>ue,isUndefined:()=>jl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RS,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>to,keysIn:()=>ps,last:()=>ks,lastIndexOf:()=>FS,lodash:()=>ut,lowerCase:()=>jS,lowerFirst:()=>p_,lt:()=>US,lte:()=>v_,map:()=>Rc,mapKeys:()=>VS,mapValues:()=>y_,matches:()=>CT,matchesProperty:()=>jf,max:()=>M_,maxBy:()=>$s,mean:()=>$S,meanBy:()=>Zc,memoize:()=>Ly,merge:()=>w_,mergeWith:()=>_p,method:()=>GS,methodOf:()=>D_,min:()=>QS,minBy:()=>A_,mixin:()=>Hf,multiply:()=>T_,negate:()=>Ul,next:()=>Yf,noop:()=>Ie,now:()=>Pc,nth:()=>x_,nthArg:()=>O_,omit:()=>vd,omitBy:()=>Gf,once:()=>cM,orderBy:()=>Qf,over:()=>hM,overArgs:()=>qa,overEvery:()=>yd,overSome:()=>ws,pad:()=>Sd,padEnd:()=>MM,padStart:()=>ru,parseInt:()=>wM,partial:()=>qf,partialRight:()=>iu,partition:()=>G_,pick:()=>K_,pickBy:()=>Jc,plant:()=>Md,property:()=>x0,propertyOf:()=>Q_,pull:()=>PM,pullAll:()=>J_,pullAllBy:()=>kM,pullAllWith:()=>xM,pullAt:()=>eg,random:()=>_I,range:()=>tg,rangeRight:()=>ng,rearg:()=>rg,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>gv,repeat:()=>mv,replace:()=>pv,rest:()=>_v,result:()=>ig,reverse:()=>ou,round:()=>og,sample:()=>sg,sampleSize:()=>lg,set:()=>cg,setWith:()=>ug,shuffle:()=>eE,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>Uv,sortedIndex:()=>aE,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>Wv,sortedLastIndexOf:()=>zv,sortedUniq:()=>$v,sortedUniqBy:()=>Gv,split:()=>vE,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>lu,stubArray:()=>Sm,stubFalse:()=>Ks,stubObject:()=>Zv,stubString:()=>ys,stubTrue:()=>EE,subtract:()=>wE,sum:()=>uu,sumBy:()=>fg,tail:()=>Xv,take:()=>Jv,takeRight:()=>gg,takeRightWhile:()=>PE,takeWhile:()=>pg,tap:()=>qv,template:()=>ry,templateSettings:()=>Ad,throttle:()=>$E,thru:()=>du,times:()=>KE,toArray:()=>Vf,toFinite:()=>jt,toInteger:()=>Ee,toIterator:()=>oy,toJSON:()=>Wl,toLength:()=>ad,toLower:()=>ZE,toNumber:()=>un,toPairs:()=>na,toPairsIn:()=>Ap,toPath:()=>XE,toPlainObject:()=>V0,toSafeInteger:()=>ew,toString:()=>Si,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>sw,trimStart:()=>lw,truncate:()=>JI,unary:()=>ay,unescape:()=>dy,union:()=>fy,unionBy:()=>ja,unionWith:()=>kd,uniq:()=>yg,uniqBy:()=>vw,uniqWith:()=>bw,uniqueId:()=>Mw,unset:()=>gy,unzip:()=>xd,unzipWith:()=>my,update:()=>Dw,updateWith:()=>Cg,upperCase:()=>Ba,upperFirst:()=>rm,value:()=>Wl,valueOf:()=>Wl,values:()=>vs,valuesIn:()=>vy,without:()=>yy,words:()=>hm,wrap:()=>Od,wrapperAt:()=>Pw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>ut,wrapperNext:()=>Yf,wrapperPlant:()=>Md,wrapperReverse:()=>Ow,wrapperToIterator:()=>oy,wrapperValue:()=>Wl,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Mg,zip:()=>Nw,zipObject:()=>Cy,zipObjectDeep:()=>Eg,zipWith:()=>wg});const i="object"==typeof global&&global&&global.Object===Object&&global;var d="object"==typeof self&&self&&self.Object===Object&&self;const c=i||d||Function("return this")(),u=c.Symbol;var l=Object.prototype,g=l.hasOwnProperty,v=l.toString,p=u?u.toStringTag:void 0;var f=Object.prototype.toString;var A=u?u.toStringTag:void 0;const F=function O(E){return null==E?void 0===E?"[object Undefined]":"[object Null]":A&&A in Object(E)?function C(E){var P=g.call(E,p),Q=E[p];try{E[p]=void 0;var we=!0}catch{}var Ze=v.call(E);return we&&(P?E[p]=Q:delete E[p]),Ze}(E):function y(E){return f.call(E)}(E)},T=function j(E){return null!=E&&"object"==typeof E},N=function k(E){return"symbol"==typeof E||T(E)&&"[object Symbol]"==F(E)},G=function H(E){return"number"==typeof E?E:N(E)?NaN:+E},ce=function te(E,P){for(var Q=-1,we=null==E?0:E.length,Ze=Array(we);++Q0){if(++P>=800)return arguments[0]}else P=0;return E.apply(void 0,arguments)}},On=Ir(Qt);var ti=/\{\n\/\* \[wrapped with (.+)\] \*/,Zr=/,? & /;var hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const Jr=function go(E){return function(){return E}};var Wi=function(){try{var E=Sr(Object,"defineProperty");return E({},"",{}),E}catch{}}();const qi=Wi;var ro=qi?function(E,P){return qi(E,"toString",{configurable:!0,enumerable:!1,value:Jr(P),writable:!0})}:vt;const _i=Ir(ro),qr=function xi(E,P){for(var Q=-1,we=null==E?0:E.length;++Q-1};var bs=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ki=function rs(E,P,Q){var we=P+"";return _i(E,function Yi(E,P){var Q=P.length;if(!Q)return E;var we=Q-1;return P[we]=(Q>1?"& ":"")+P[we],P=P.join(Q>2?", ":" "),E.replace(hr,"{\n/* [wrapped with "+P+"] */\n")}(we,function Go(E,P){return qr(bs,function(Q){var we="_."+Q[0];P&Q[1]&&!Gr(E,we)&&E.push(we)}),E.sort()}(function Xr(E){var P=E.match(ti);return P?P[1].split(Zr):[]}(we),Q)))},hs=function Ko(E,P,Q,we,Ze,gt,It,Wt,en,Tn){var In=8&P;P|=In?32:64,4&(P&=~(In?64:32))||(P&=-4);var gi=[E,P,Ze,In?gt:void 0,In?It:void 0,In?void 0:gt,In?void 0:It,Wt,en,Tn],jr=Q.apply(void 0,gi);return vi(E)&&On(jr,gi),jr.placeholder=we,Ki(jr,E,P)},ze=function Qo(E){return E.placeholder};var ke=/^(?:0|[1-9]\d*)$/;const wt=function dt(E,P){var Q=typeof E;return!!(P=P??9007199254740991)&&("number"==Q||"symbol"!=Q&&ke.test(E))&&E>-1&&E%1==0&&E1&&Mi.reverse(),In&&en-1&&E%1==0&&E<=9007199254740991},$t=function _t(E){return null!=E&&Ue(E.length)&&!pn(E)},Dn=function tn(E,P,Q){if(!De(Q))return!1;var we=typeof P;return!!("number"==we?$t(Q)&&wt(P,Q.length):"string"==we&&P in Q)&&oo(Q[P],E)},yr=function gr(E){return J(function(P,Q){var we=-1,Ze=Q.length,gt=Ze>1?Q[Ze-1]:void 0,It=Ze>2?Q[2]:void 0;for(gt=E.length>3&&"function"==typeof gt?(Ze--,gt):void 0,It&&Dn(Q[0],Q[1],It)&&(gt=Ze<3?void 0:gt,Ze=1),P=Object(P);++we-1},ma.prototype.set=function Rg(E,P){var Q=this.__data__,we=fi(Q,E);return we<0?(++this.size,Q.push([E,P])):Q[we][1]=P,this};const dl=ma,hl=Sr(c,"Map"),wu=function Eu(E,P){var Q=E.__data__;return function yP(E){var P=typeof E;return"string"==P||"number"==P||"symbol"==P||"boolean"==P?"__proto__"!==E:null===E}(P)?Q["string"==typeof P?"string":"hash"]:Q.map};function fl(E){var P=-1,Q=null==E?0:E.length;for(this.clear();++P0&&Q(Wt)?P>1?Iu(Wt,P-1,Q,we,Ze):Ps(Ze,Wt):we||(Ze[Ze.length]=Wt)}return Ze},Xd=function Wg(E){return null!=E&&E.length?ds(E,1):[]},Wa=function Jd(E){return _i(xt(E,void 0,Xd),E+"")},Fy=Wa(Kd),Pu=nn(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const Aa=function Gg(E){if(!T(E)||"[object Object]"!=F(E))return!1;var P=Pu(E);if(null===P)return!0;var Q=eh.call(P,"constructor")&&P.constructor;return"function"==typeof Q&&Q instanceof Q&&qd.call(Q)==tD},th=function Kg(E){if(!T(E))return!1;var P=F(E);return"[object Error]"==P||"[object DOMException]"==P||"string"==typeof E.message&&"string"==typeof E.name&&!Aa(E)};var nD=J(function(E,P){try{return an(E,void 0,P)}catch(Q){return th(Q)?Q:new Error(Q)}});const nh=nD,Qg=function rD(E,P){var Q;if("function"!=typeof P)throw new TypeError("Expected a function");return E=Ee(E),function(){return--E>0&&(Q=P.apply(this,arguments)),E<=1&&(P=void 0),Q}};var Xg=J(function(E,P,Q){var we=1;if(Q.length){var Ze=ho(Q,ze(Xg));we|=32}return Ti(E,we,P,Q,Ze)});Xg.placeholder={};const pl=Xg;var _l=Wa(function(E,P){return qr(P,function(Q){Q=Ss(Q),Ii(E,Q,pl(E[Q],E))}),E});const jy=_l;var rh=J(function(E,P,Q){var we=3;if(Q.length){var Ze=ho(Q,ze(rh));we|=32}return Ti(P,we,E,Q,Ze)});rh.placeholder={};const dc=rh,Vs=function sD(E,P,Q){var we=-1,Ze=E.length;P<0&&(P=-P>Ze?0:Ze+P),(Q=Q>Ze?Ze:Q)<0&&(Q+=Ze),Ze=P>Q?0:Q-P>>>0,P>>>=0;for(var gt=Array(Ze);++we=we?E:Vs(E,P,Q)};var Yy=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const hc=function cD(E){return Yy.test(E)};var $y="\\ud800-\\udfff",sh="["+$y+"]",fc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ku="\\ud83c[\\udffb-\\udfff]",tm="[^"+$y+"]",Ky="(?:\\ud83c[\\udde6-\\uddff]){2}",vl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qy="(?:"+fc+"|"+ku+")?",ah="[\\ufe0e\\ufe0f]?",fD=ah+Qy+"(?:\\u200d(?:"+[tm,Ky,vl].join("|")+")"+ah+Qy+")*",gD="(?:"+[tm+fc+"?",fc,Ky,vl,sh].join("|")+")",bP=RegExp(ku+"(?="+ku+")|"+gD+fD,"g");const qs=function Ou(E){return hc(E)?function CP(E){return E.match(bP)||[]}(E):function Wy(E){return E.split("")}(E)},lh=function Lu(E){return function(P){P=Si(P);var Q=hc(P)?qs(P):void 0,we=Q?Q[0]:P.charAt(0),Ze=Q?za(Q,1).join(""):P.slice(1);return we[E]()+Ze}},rm=lh("toUpperCase"),uh=function Zy(E){return rm(Si(E).toLowerCase())},Ys=function mD(E,P,Q,we){var Ze=-1,gt=null==E?0:E.length;for(we&>&&(Q=E[++Ze]);++Ze=P?E:P)),E},LD=function Ab(E,P,Q){return void 0===Q&&(Q=P,P=void 0),void 0!==Q&&(Q=(Q=un(Q))==Q?Q:0),void 0!==P&&(P=(P=un(P))==P?P:0),$a(un(E),P,Q)};function Sl(E){var P=this.__data__=new dl(E);this.size=P.size}Sl.prototype.clear=function MP(){this.__data__=new dl,this.size=0},Sl.prototype.delete=function mm(E){var P=this.__data__,Q=P.delete(E);return this.size=P.size,Q},Sl.prototype.get=function wP(E){return this.__data__.get(E)},Sl.prototype.has=function Tb(E){return this.__data__.has(E)},Sl.prototype.set=function ND(E,P){var Q=this.__data__;if(Q instanceof dl){var we=Q.__data__;if(!hl||we.length<199)return we.push([E,P]),this.size=++Q.size,this;Q=this.__data__=new ac(we)}return Q.set(E,P),this.size=Q.size,this};const ka=Sl,bh=function Ib(E,P){return E&&le(P,to(P),E)};var _m="object"==typeof exports&&exports&&!exports.nodeType&&exports,vm=_m&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vm&&vm.exports===_m?c.Buffer:void 0,bm=Ch?Ch.allocUnsafe:void 0;const Cm=function Pb(E,P){if(P)return E.slice();var Q=E.length,we=bm?bm(Q):new E.constructor(Q);return E.copy(we),we},xa=function UD(E,P){for(var Q=-1,we=null==E?0:E.length,Ze=0,gt=[];++QWt))return!1;var Tn=gt.get(E),In=gt.get(P);if(Tn&&In)return Tn==P&&In==E;var Fn=-1,ir=!0,Ar=2&Q?new Bh:void 0;for(gt.set(E,P),gt.set(P,E);++Fn=P||ia<0||Fn&&Ho-Tn>=gt}function bi(){var Ho=Pc();if(jr(Ho))return Mi(Ho);Wt=setTimeout(bi,function gi(Ho){var Ag=P-(Ho-en);return Fn?qu(Ag,gt-(Ho-Tn)):Ag}(Ho))}function Mi(Ho){return Wt=void 0,ir&&we?Ar(Ho):(we=Ze=void 0,It)}function Bs(){var Ho=Pc(),ia=jr(Ho);if(we=arguments,Ze=this,en=Ho,ia){if(void 0===Wt)return function Yr(Ho){return Tn=Ho,Wt=setTimeout(bi,P),In?Ar(Ho):It}(en);if(Fn)return clearTimeout(Wt),Wt=setTimeout(bi,P),Ar(en)}return void 0===Wt&&(Wt=setTimeout(bi,P)),It}return P=un(P)||0,De(Q)&&(In=!!Q.leading,gt=(Fn="maxWait"in Q)?o1(un(Q.maxWait)||0,P):gt,ir="trailing"in Q?!!Q.trailing:ir),Bs.cancel=function Gs(){void 0!==Wt&&clearTimeout(Wt),Tn=0,we=en=Ze=Wt=void 0},Bs.flush=function As(){return void 0===Wt?It:Mi(Pc())},Bs},gp=function s1(E,P){return null==E||E!=E?P:E};var ed=Object.prototype,mp=ed.hasOwnProperty,U0=J(function(E,P){E=Object(E);var Q=-1,we=P.length,Ze=we>2?P[2]:void 0;for(Ze&&Dn(P[0],P[1],Ze)&&(we=1);++Q=200&&(gt=Vu,It=!1,P=new Bh(P));e:for(;++Ze=0&&E.slice(Q,Ze)==P},sd=function D1(E){return function(P){var Q=_a(P);return"[object Map]"==Q?Km(P):"[object Set]"==Q?function of(E){var P=-1,Q=Array(E.size);return E.forEach(function(we){Q[++P]=[we,we]}),Q}(P):function Dp(E,P){return ce(P,function(Q){return[Q,E[Q]]})}(P,E(P))}},na=sd(to),Ap=sd(ps),cC=gc({"&":"&","<":"<",">":">",'"':""","'":"'"});var uC=/[&<>"']/g,A1=RegExp(uC.source);const af=function Lc(E){return(E=Si(E))&&A1.test(E)?E.replace(uC,cC):E};var dC=/[\\^$.*+?()[\]{}|]/g,T1=RegExp(dC.source);const hC=function I1(E){return(E=Si(E))&&T1.test(E)?E.replace(dC,"\\$&"):E},fC=function P1(E,P){for(var Q=-1,we=null==E?0:E.length;++QZe?0:Ze+Q),(we=void 0===we||we>Ze?Ze:Ee(we))<0&&(we+=Ze),we=Q>we?0:ad(we);Q-1?Ze[gt?P[It]:It]:void 0}};var Ip=Math.max;const ld=function SC(E,P,Q){var we=null==E?0:E.length;if(!we)return-1;var Ze=null==Q?0:Ee(Q);return Ze<0&&(Ze=Ip(we+Ze,0)),yo(E,li(P),Ze)},MC=uf(ld),EC=function R1(E,P,Q){var we;return Q(E,function(Ze,gt,It){if(P(Ze,gt,It))return we=gt,!1}),we},kp=function F1(E,P){return EC(E,li(P),ya)};var xp=Math.max,Op=Math.min;const df=function wC(E,P,Q){var we=null==E?0:E.length;if(!we)return-1;var Ze=we-1;return void 0!==Q&&(Ze=Ee(Q),Ze=Q<0?xp(we+Ze,0):Op(Ze,we-1)),yo(E,li(P),Ze,!0)},AC=uf(df),IC=function TC(E,P){return EC(E,li(P),nf)},cd=function Lp(E){return E&&E.length?E[0]:void 0},Fp=function Rp(E,P){var Q=-1,we=$t(E)?Array(E.length):[];return ta(E,function(Ze,gt,It){we[++Q]=P(Ze,gt,It)}),we},Rc=function PC(E,P){return(K(E)?ce:Fp)(E,li(P))},xC=function kC(E,P){return ds(Rc(E,P),1)},LC=function N1(E,P){return ds(Rc(E,P),1/0)},Np=function j1(E,P,Q){return Q=void 0===Q?1:Ee(Q),ds(Rc(E,P),Q)},RC=function U1(E){return null!=E&&E.length?ds(E,1/0):[]},jp=function FC(E,P){return null!=E&&E.length?(P=void 0===P?1:Ee(P),ds(E,P)):[]},jC=function H1(E){return Ti(E,512)},Fc=fm("floor"),jc=function Nc(E){return Wa(function(P){var Q=P.length,we=Q,Ze=mn.prototype.thru;for(E&&P.reverse();we--;){var gt=P[we];if("function"!=typeof gt)throw new TypeError("Expected a function");if(Ze&&!It&&"wrapper"==dn(gt))var It=new mn([],!0)}for(we=It?we:Q;++weP},dd=function KC(E){return function(P,Q){return"string"==typeof P&&"string"==typeof Q||(P=un(P),Q=un(Q)),E(P,Q)}},Yp=dd(Vp);var tT=dd(function(E,P){return E>=P});const nT=tT;var XC=Object.prototype.hasOwnProperty;const JC=function kl(E,P){return null!=E&&XC.call(E,P)},eS=function qC(E,P){return null!=E&&Tl(E,P,JC)};var pf=Math.max,_f=Math.min;const nS=function Wp(E,P,Q){return P=jt(P),void 0===Q?(Q=P,P=0):Q=jt(Q),function rT(E,P,Q){return E>=_f(P,Q)&&E-1:!!Ze&&bo(E,P,Q)>-1};var yf=Math.max;const oS=function zs(E,P,Q){var we=null==E?0:E.length;if(!we)return-1;var Ze=null==Q?0:Ee(Q);return Ze<0&&(Ze=yf(we+Ze,0)),bo(E,P,Ze)},zp=function Bc(E){return null!=E&&E.length?Vs(E,0,-1):[]};var sS=Math.min;const $p=function oT(E,P,Q){for(var we=Q?nd:Gr,Ze=E[0].length,gt=E.length,It=gt,Wt=Array(gt),en=1/0,Tn=[];It--;){var In=E[It];It&&P&&(In=ce(In,ni(P))),en=sS(In.length,en),Wt[It]=!Q&&(P||Ze>=120&&In.length>=120)?new Bh(It&&In):void 0}In=E[0];var Fn=-1,ir=Wt[0];e:for(;++Fn=-Fl&&E<=Fl},jl=function Gc(E){return void 0===E},xf=function c_(E){return T(E)&&"[object WeakMap]"==_a(E)},Of=function d_(E){return T(E)&&"[object WeakSet]"==F(E)},Lf=function f_(E){return li("function"==typeof E?E:ea(E,1))};var Rf=Array.prototype.join;const RS=function Ja(E,P){return null==E?"":Rf.call(E,P)};var mT=vc(function(E,P,Q){return E+(Q?"-":"")+P.toLowerCase()});const Ff=mT;var Bl=Zh(function(E,P,Q){Ii(E,Q,P)});const Nf=Bl;var VP=Math.max,YP=Math.min;const FS=function _T(E,P,Q){var we=null==E?0:E.length;if(!we)return-1;var Ze=we;return void 0!==Q&&(Ze=(Ze=Ee(Q))<0?VP(we+Ze,0):YP(Ze,we-1)),P==P?function pT(E,P,Q){for(var we=Q+1;we--;)if(E[we]===P)return we;return we}(E,P,Ze):yo(E,yi,Ze,!0)};var NS=vc(function(E,P,Q){return E+(Q?" ":"")+P.toLowerCase()});const jS=NS,p_=lh("toLowerCase"),__=function vT(E,P){return E=this.__values__.length;return{done:E,value:E?void 0:this.__values__[this.__index__++]}},oM=function iM(E,P){var Q=E.length;if(Q)return wt(P+=P<0?Q:0,Q)?E[P]:void 0},x_=function sM(E,P){return E&&E.length?oM(E,Ee(P)):void 0},O_=function TT(E){return E=Ee(E),J(function(P){return oM(P,E)})},Wf=function IT(E,P){return P=Ls(P,E),null==(E=Qp(E,P))||delete E[Ss(ks(P))]},PT=function L_(E){return Aa(E)?void 0:E};var zf=Wa(function(E,P){var Q={};if(null==E)return Q;var we=!1;P=ce(P,function(gt){return gt=Ls(gt,E),we||(we=gt.length>1),gt}),le(E,Nu(E),Q),we&&(Q=ea(Q,7,PT));for(var Ze=P.length;Ze--;)Wf(Q,P[Ze]);return Q});const vd=zf,Xc=function F_(E,P,Q,we){if(!De(E))return E;for(var Ze=-1,gt=(P=Ls(P,E)).length,It=gt-1,Wt=E;null!=Wt&&++ZeP||gt&&It&&en&&!Wt&&!Tn||we&&It&&en||!Q&&en||!Ze)return 1;if(!we&&!gt&&!Tn&&E=Wt?en:en*("desc"==Q[we]?-1:1)}return E.index-P.index}(gt,It,Q)})},Qf=function jT(E,P,Q,we){return null==E?[]:(K(P)||(P=null==P?[]:[P]),K(Q=we?void 0:Q)||(Q=null==Q?[]:[Q]),Vl(E,P,Q))},Zf=function BT(E){return Wa(function(P){return P=ce(P,ni(li)),J(function(Q){var we=this;return E(P,function(Ze){return an(Ze,we,Q)})})})},hM=Zf(ce);var HT=Math.min,VT=J(function(E,P){var Q=(P=1==P.length&&K(P[0])?ce(P[0],ni(li)):ce(ds(P,1),ni(li))).length;return J(function(we){for(var Ze=-1,gt=HT(we.length,Q);++Ze9007199254740991)return Q;do{P%2&&(Q+=E),(P=j_(P/2))&&(E+=E)}while(P);return Q},mM=k0("length");var B_="\\ud800-\\udfff",QT="["+B_+"]",U_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_M="[\\ud800-\\udbff][\\udc00-\\udfff]",tu="(?:"+U_+"|"+eu+")?",vM="[\\ufe0e\\ufe0f]?",XT=vM+tu+"(?:\\u200d(?:"+[H_,V_,_M].join("|")+")"+vM+tu+")*",yM="(?:"+[H_+U_+"?",U_,V_,_M,QT].join("|")+")",Y_=RegExp(eu+"(?="+eu+")|"+yM+XT,"g");const nu=function CM(E){return hc(E)?function bM(E){for(var P=Y_.lastIndex=0;Y_.test(E);)++P;return P}(E):mM(E)};var qT=Math.ceil;const W_=function WP(E,P){var Q=(P=void 0===P?" ":Y(P)).length;if(Q<2)return Q?Jf(P,E):P;var we=Jf(P,qT(E/nu(P)));return hc(P)?za(qs(we),0,E).join(""):we.slice(0,E)};var zP=Math.ceil,$P=Math.floor;const Sd=function SM(E,P,Q){E=Si(E);var we=(P=Ee(P))?nu(E):0;if(!P||we>=P)return E;var Ze=(P-we)/2;return W_($P(Ze),Q)+E+W_(zP(Ze),Q)},MM=function eI(E,P,Q){E=Si(E);var we=(P=Ee(P))?nu(E):0;return P&&we-1;)Wt!==E&&TM.call(Wt,en,1),TM.call(E,en,1);return E},J_=function IM(E,P){return E&&E.length&&P&&P.length?X_(E,P):E},PM=J(J_),kM=function fI(E,P,Q){return E&&E.length&&P&&P.length?X_(E,P,li(Q)):E},xM=function gI(E,P,Q){return E&&E.length&&P&&P.length?X_(E,P,void 0,Q):E};var q_=Array.prototype.splice;const tv=function ev(E,P){for(var Q=E?P.length:0,we=Q-1;Q--;){var Ze=P[Q];if(Q==we||Ze!==gt){var gt=Ze;wt(Ze)?q_.call(E,Ze,1):Wf(E,Ze)}}return E};var OM=Wa(function(E,P){var Q=null==E?0:E.length,we=Kd(E,P);return tv(E,ce(P,function(Ze){return wt(Ze,Q)?+Ze:Ze}).sort(Kf)),we});const eg=OM;var LM=Math.floor,RM=Math.random;const Ed=function nv(E,P){return E+LM(RM()*(P-E+1))};var pI=parseFloat,rv=Math.min,FM=Math.random;const _I=function NM(E,P,Q){if(Q&&"boolean"!=typeof Q&&Dn(E,P,Q)&&(P=Q=void 0),void 0===Q&&("boolean"==typeof P?(Q=P,P=void 0):"boolean"==typeof E&&(Q=E,E=void 0)),void 0===E&&void 0===P?(E=0,P=1):(E=jt(E),void 0===P?(P=E,E=0):P=jt(P)),E>P){var we=E;E=P,P=we}if(Q||E%1||P%1){var Ze=FM();return rv(E+Ze*(P-E+pI("1e-"+((Ze+"").length-1))),P)}return Ed(E,P)};var jM=Math.ceil,vI=Math.max;const wd=function iv(E){return function(P,Q,we){return we&&"number"!=typeof we&&Dn(P,Q,we)&&(Q=we=void 0),P=jt(P),void 0===Q?(Q=P,P=0):Q=jt(Q),function BM(E,P,Q,we){for(var Ze=-1,gt=vI(jM((P-E)/(Q||1)),0),It=Array(gt);gt--;)It[we?gt:++Ze]=E,E+=Q;return It}(P,Q,we=void 0===we?P1&&Dn(E,P[0],P[1])?P=[]:Q>2&&Dn(P[0],P[1],P[2])&&(P=[P[0]]),Vl(E,ds(P,1),[])});const Uv=rE;var oE=Math.floor,DI=Math.min;const Dd=function AI(E,P,Q,we){var Ze=0,gt=null==E?0:E.length;if(0===gt)return 0;for(var It=(P=Q(P))!=P,Wt=null===P,en=N(P),Tn=void 0===P;Ze>>1,It=E[gt];null!==It&&!N(It)&&(Q?It<=P:It>>0)?(E=Si(E))&&("string"==typeof P||null!=P&&!Fa(P))&&!(P=Y(P))&&hc(E)?za(qs(E),0,Q):E.split(P,Q):[]};var XP=Math.max;const Kv=function yE(E,P){if("function"!=typeof E)throw new TypeError("Expected a function");return P=null==P?0:XP(Ee(P),0),J(function(Q){var we=Q[P],Ze=za(Q,0,P);return we&&Ps(Ze,we),an(E,this,Ze)})};var bE=vc(function(E,P,Q){return E+(Q?" ":"")+rm(P)});const Qv=bE,lu=function CE(E,P,Q){return E=Si(E),Q=null==Q?0:$a(Ee(Q),0,E.length),P=Y(P),E.slice(Q,Q+P.length)==P},Zv=function SE(){return{}},ys=function ME(){return""},EE=function cu(){return!0};var II=he(function(E,P){return E-P},0);const wE=II,uu=function JP(E){return E&&E.length?Bf(E,vt):0},fg=function PI(E,P){return E&&E.length?Bf(E,li(P)):0},Xv=function DE(E){var P=null==E?0:E.length;return P?Vs(E,1,P):[]},Jv=function AE(E,P,Q){return E&&E.length?(P=Q||void 0===P?1:Ee(P),Vs(E,0,P<0?0:P)):[]},gg=function TE(E,P,Q){var we=null==E?0:E.length;return we?(P=Q||void 0===P?1:Ee(P),Vs(E,(P=we-P)<0?0:P,we)):[]},PE=function IE(E,P){return E&&E.length?ef(E,li(P),!1,!0):[]},pg=function mg(E,P){return E&&E.length?ef(E,li(P)):[]},qv=function kI(E,P){return P(E),E};var kE=Object.prototype,ey=kE.hasOwnProperty;const xE=function Yl(E,P,Q,we){return void 0===E||oo(E,kE[Q])&&!ey.call(we,Q)?P:E};var OE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LE=function ty(E){return"\\"+OE[E]},RE=/<%=([\s\S]+?)%>/g,Ad={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RE,variable:"",imports:{_:{escape:af}}};var LI=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,RI=/(__e\(.*?\)|\b__t\)) \+\n'';/g,UE=/[()=,{}\[\]\/\s]/,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Td=/($^)/,VE=/['\n\r\u2028\u2029\\]/g,YE=Object.prototype.hasOwnProperty;const ry=function WE(E,P,Q){var we=Ad.imports._.templateSettings||Ad;Q&&Dn(E,P,Q)&&(P=void 0),E=Si(E),P=al({},P,we,xE);var Wt,en,Ze=al({},P.imports,we.imports,xE),gt=to(Ze),It=iS(Ze,gt),Tn=0,In=P.interpolate||Td,Fn="__p += '",ir=RegExp((P.escape||Td).source+"|"+In.source+"|"+(In===RE?HE:Td).source+"|"+(P.evaluate||Td).source+"|$","g"),Ar=YE.call(P,"sourceURL")?"//# sourceURL="+(P.sourceURL+"").replace(/\s/g," ")+"\n":"";E.replace(ir,function(jr,bi,Mi,Gs,As,Bs){return Mi||(Mi=Gs),Fn+=E.slice(Tn,Bs).replace(VE,LE),bi&&(Wt=!0,Fn+="' +\n__e("+bi+") +\n'"),As&&(en=!0,Fn+="';\n"+As+";\n__p += '"),Mi&&(Fn+="' +\n((__t = ("+Mi+")) == null ? '' : __t) +\n'"),Tn=Bs+jr.length,jr}),Fn+="';\n";var Yr=YE.call(P,"variable")&&P.variable;if(Yr){if(UE.test(Yr))throw new Error("Invalid `variable` option passed into `_.template`")}else Fn="with (obj) {\n"+Fn+"\n}\n";Fn=(en?Fn.replace(LI,""):Fn).replace(BE,"$1").replace(RI,"$1;"),Fn="function("+(Yr||"obj")+") {\n"+(Yr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Wt?", __e = _.escape":"")+(en?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Fn+"return __p\n}";var gi=nh(function(){return Function(gt,Ar+"return "+Fn).apply(void 0,It)});if(gi.source=Fn,th(gi))throw gi;return gi},$E=function NI(E,P,Q){var we=!0,Ze=!0;if("function"!=typeof E)throw new TypeError("Expected a function");return De(Q)&&(we="leading"in Q?!!Q.leading:we,Ze="trailing"in Q?!!Q.trailing:Ze),fp(E,P,{leading:we,maxWait:P,trailing:Ze})},du=function jI(E,P){return P(E)};var iy=4294967295,UI=Math.min;const KE=function GE(E,P){if((E=Ee(E))<1||E>9007199254740991)return[];var Q=iy,we=UI(E,iy);P=ba(P),E-=iy;for(var Ze=Ri(we,P);++Q-1;);return Q},iw=function GI(E,P){for(var Q=-1,we=E.length;++Q-1;);return Q},ow=function KI(E,P,Q){if((E=Si(E))&&(Q||void 0===P))return qe(E);if(!E||!(P=Y(P)))return E;var we=qs(E),Ze=qs(P),gt=iw(we,Ze),It=rw(we,Ze)+1;return za(we,gt,It).join("")},sw=function QI(E,P,Q){if((E=Si(E))&&(Q||void 0===P))return E.slice(0,ge(E)+1);if(!E||!(P=Y(P)))return E;var we=qs(E),Ze=rw(we,qs(P))+1;return za(we,0,Ze).join("")};var aw=/^\s+/;const lw=function sy(E,P,Q){if((E=Si(E))&&(Q||void 0===P))return E.replace(aw,"");if(!E||!(P=Y(P)))return E;var we=qs(E),Ze=iw(we,qs(P));return za(we,Ze).join("")};var XI=/\w*$/;const JI=function uw(E,P){var Q=30,we="...";if(De(P)){var Ze="separator"in P?P.separator:Ze;Q="length"in P?Ee(P.length):Q,we="omission"in P?Y(P.omission):we}var gt=(E=Si(E)).length;if(hc(E)){var It=qs(E);gt=It.length}if(Q>=gt)return E;var Wt=Q-nu(we);if(Wt<1)return we;var en=It?za(It,0,Wt).join(""):E.slice(0,Wt);if(void 0===Ze)return en+we;if(It&&(Wt+=en.length-Wt),Fa(Ze)){if(E.slice(Wt).search(Ze)){var Tn,In=en;for(Ze.global||(Ze=RegExp(Ze.source,Si(XI.exec(Ze))+"g")),Ze.lastIndex=0;Tn=Ze.exec(In);)var Fn=Tn.index;en=en.slice(0,void 0===Fn?Wt:Fn)}}else if(E.indexOf(Y(Ze),Wt)!=Wt){var ir=en.lastIndexOf(Ze);ir>-1&&(en=en.slice(0,ir))}return en+we},ay=function qI(E){return wr(E,1)},hw=gc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ly=/&(?:amp|lt|gt|quot|#39);/g,cy=RegExp(ly.source);const dy=function uy(E){return(E=Si(E))&&cy.test(E)?E.replace(ly,hw):E};var _g=wl&&1/wc(new wl([,-0]))[1]==1/0?function(E){return new wl(E)}:Ie;const hy=_g,Na=function gw(E,P,Q){var we=-1,Ze=Gr,gt=E.length,It=!0,Wt=[],en=Wt;if(Q)It=!1,Ze=nd;else if(gt>=200){var Tn=P?null:hy(E);if(Tn)return wc(Tn);It=!1,Ze=Vu,en=new Bh}else en=P?[]:Wt;e:for(;++we1||this.__actions__.length)&&we instanceof ae&&wt(Q)?((we=we.slice(Q,+Q+(P?1:0))).__actions__.push({func:du,args:[Ze],thisArg:void 0}),new mn(we,this.__chain__).thru(function(gt){return P&&!gt.length&>.push(void 0),gt})):this.thru(Ze)});const Pw=oP,xw=function kw(){return gm(this)},Ow=function sP(){var E=this.__wrapped__;if(E instanceof ae){var P=E;return this.__actions__.length&&(P=new ae(this)),(P=P.reverse()).__actions__.push({func:du,args:[ou],thisArg:void 0}),new mn(P,this.__chain__)}return this.thru(ou)},Sg=function aP(E,P,Q){var we=E.length;if(we<2)return we?Na(E[0]):[];for(var Ze=-1,gt=Array(we);++Ze1?E[P-1]:void 0;return Q="function"==typeof Q?(E.pop(),Q):void 0,my(E,Q)});const wg=uP,mr={chunk:yc,compact:f0,concat:Es,difference:Z0,differenceBy:xc,differenceWith:X0,drop:eC,dropRight:Sp,dropRightWhile:Oo,dropWhile:tf,fill:cf,findIndex:ld,findLastIndex:df,first:cd,flatten:Xd,flattenDeep:RC,flattenDepth:jp,fromPairs:Hp,head:cd,indexOf:oS,initial:zp,intersection:Po,intersectionBy:xl,intersectionWith:Uc,join:RS,last:ks,lastIndexOf:FS,nth:x_,pull:PM,pullAll:J_,pullAllBy:kM,pullAllWith:xM,pullAt:eg,remove:gv,reverse:ou,slice:Fv,sortedIndex:aE,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:Wv,sortedLastIndexOf:zv,sortedUniq:$v,sortedUniqBy:Gv,tail:Xv,take:Jv,takeRight:gg,takeRightWhile:PE,takeWhile:pg,union:fy,unionBy:ja,unionWith:kd,uniq:yg,uniqBy:vw,uniqWith:bw,unzip:xd,unzipWith:my,without:yy,xor:Rw,xorBy:Fw,xorWith:Mg,zip:Nw,zipObject:Cy,zipObjectDeep:Eg,zipWith:wg},Ui={countBy:j0,each:rd,eachRight:id,every:mC,filter:CC,find:MC,findLast:AC,flatMap:xC,flatMapDeep:LC,flatMapDepth:Np,forEach:rd,forEachRight:id,groupBy:GC,includes:Za,invokeMap:Df,keyBy:Nf,map:Rc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:sg,sampleSize:lg,shuffle:eE,size:Rv,some:Bv,sortBy:Uv},rk={now:Pc},Uo={after:Ge,ary:wr,before:Qg,bind:pl,bindKey:dc,curry:Il,curryRight:Ju,debounce:fp,defer:yp,delay:m1,flip:jC,memoize:Ly,negate:Ul,once:cM,overArgs:qa,partial:qf,partialRight:iu,rearg:rg,rest:_v,spread:Kv,throttle:$E,unary:ay,wrap:Od},Fr={castArray:Mb,clone:Rh,cloneDeep:Fh,cloneDeepWith:zm,cloneWith:d0,conformsTo:Ic,eq:oo,gt:Yp,gte:nT,isArguments:ss,isArray:K,isArrayBuffer:Af,isArrayLike:$t,isArrayLikeObject:Io,isBoolean:qp,isBuffer:Jo,isDate:_S,isElement:vS,isEmpty:Tf,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:pn,isInteger:If,isLength:Ue,isMap:Uu,isMatch:i_,isMatchWith:o_,isNaN:s_,isNative:a_,isNil:Yc,isNull:Ll,isNumber:Pf,isObject:De,isObjectLike:T,isPlainObject:Aa,isRegExp:Fa,isSafeInteger:Nl,isSet:Zb,isString:hd,isSymbol:N,isTypedArray:ue,isUndefined:jl,isWeakMap:xf,isWeakSet:Of,lt:US,lte:v_,toArray:Vf,toFinite:jt,toInteger:Ee,toLength:ad,toNumber:un,toPlainObject:V0,toSafeInteger:ew,toString:Si},Ds={add:Oe,ceil:wb,divide:J0,floor:Fc,max:M_,maxBy:$s,mean:$S,meanBy:Zc,min:QS,minBy:A_,multiply:T_,round:og,subtract:wE,sum:uu,sumBy:fg},My={clamp:LD,inRange:nS,random:_I},ii={assign:Is,assignIn:Vr,assignInWith:al,assignWith:Bd,at:Fy,create:up,defaults:Ws,defaultsDeep:vp,entries:na,entriesIn:Ap,extend:Vr,extendWith:al,findKey:kp,findLastKey:IC,forIn:YC,forInRight:WC,forOwn:Up,forOwnRight:ff,functions:gf,functionsIn:$C,get:Tu,has:eS,hasIn:Wh,invert:pd,invertBy:uS,invoke:hS,keys:to,keysIn:ps,mapKeys:VS,mapValues:y_,merge:w_,mergeWith:_p,omit:vd,omitBy:Gf,pick:K_,pickBy:Jc,result:ig,set:cg,setWith:ug,toPairs:na,toPairsIn:Ap,transform:nw,unset:gy,update:Dw,updateWith:Cg,values:vs,valuesIn:vy},ao={at:Pw,chain:gm,commit:Nh,lodash:ut,next:Yf,plant:Md,reverse:Ow,tap:qv,thru:du,toIterator:oy,toJSON:Wl,value:Wl,valueOf:Wl,wrapperChain:xw},Pi={camelCase:Cl,capitalize:uh,deburr:Ta,endsWith:Pl,escape:af,escapeRegExp:hC,kebabCase:Ff,lowerCase:jS,lowerFirst:p_,pad:Sd,padEnd:MM,padStart:ru,parseInt:wM,repeat:mv,replace:pv,snakeCase:Nv,split:vE,startCase:Qv,startsWith:lu,template:ry,templateSettings:Ad,toLower:ZE,toUpper:tw,trim:ow,trimEnd:sw,trimStart:lw,truncate:JI,unescape:dy,upperCase:Ba,upperFirst:rm,words:hm},Hi={attempt:nh,bindAll:jy,cond:O0,conforms:ap,constant:Jr,defaultTo:gp,flow:HC,flowRight:Bp,identity:vt,iteratee:Lf,matches:CT,matchesProperty:jf,method:GS,methodOf:D_,mixin:Hf,noop:Ie,nthArg:O_,over:hM,overEvery:yd,overSome:ws,property:x0,propertyOf:Q_,range:tg,rangeRight:ng,stubArray:Sm,stubFalse:Ks,stubObject:Zv,stubString:ys,stubTrue:EE,times:KE,toPath:XE,uniqueId:Mw};var ok=Math.max,sk=Math.min;var Hw=Math.min;var Rd=4294967295,Fd=Array.prototype,wy=Object.prototype.hasOwnProperty,pP=u?u.iterator:void 0,ak=Math.max,_P=Math.min,Dy=function(E){return function(P,Q,we){if(null==we){var Ze=De(Q),gt=Ze&&to(Q),It=gt&>.length&&ud(Q,gt);(It?It.length:Ze)||(we=Q,Q=P,P=this)}return E(P,Q,we)}}(Hf);ut.after=Uo.after,ut.ary=Uo.ary,ut.assign=ii.assign,ut.assignIn=ii.assignIn,ut.assignInWith=ii.assignInWith,ut.assignWith=ii.assignWith,ut.at=ii.at,ut.before=Uo.before,ut.bind=Uo.bind,ut.bindAll=Hi.bindAll,ut.bindKey=Uo.bindKey,ut.castArray=Fr.castArray,ut.chain=ao.chain,ut.chunk=mr.chunk,ut.compact=mr.compact,ut.concat=mr.concat,ut.cond=Hi.cond,ut.conforms=Hi.conforms,ut.constant=Hi.constant,ut.countBy=Ui.countBy,ut.create=ii.create,ut.curry=Uo.curry,ut.curryRight=Uo.curryRight,ut.debounce=Uo.debounce,ut.defaults=ii.defaults,ut.defaultsDeep=ii.defaultsDeep,ut.defer=Uo.defer,ut.delay=Uo.delay,ut.difference=mr.difference,ut.differenceBy=mr.differenceBy,ut.differenceWith=mr.differenceWith,ut.drop=mr.drop,ut.dropRight=mr.dropRight,ut.dropRightWhile=mr.dropRightWhile,ut.dropWhile=mr.dropWhile,ut.fill=mr.fill,ut.filter=Ui.filter,ut.flatMap=Ui.flatMap,ut.flatMapDeep=Ui.flatMapDeep,ut.flatMapDepth=Ui.flatMapDepth,ut.flatten=mr.flatten,ut.flattenDeep=mr.flattenDeep,ut.flattenDepth=mr.flattenDepth,ut.flip=Uo.flip,ut.flow=Hi.flow,ut.flowRight=Hi.flowRight,ut.fromPairs=mr.fromPairs,ut.functions=ii.functions,ut.functionsIn=ii.functionsIn,ut.groupBy=Ui.groupBy,ut.initial=mr.initial,ut.intersection=mr.intersection,ut.intersectionBy=mr.intersectionBy,ut.intersectionWith=mr.intersectionWith,ut.invert=ii.invert,ut.invertBy=ii.invertBy,ut.invokeMap=Ui.invokeMap,ut.iteratee=Hi.iteratee,ut.keyBy=Ui.keyBy,ut.keys=to,ut.keysIn=ii.keysIn,ut.map=Ui.map,ut.mapKeys=ii.mapKeys,ut.mapValues=ii.mapValues,ut.matches=Hi.matches,ut.matchesProperty=Hi.matchesProperty,ut.memoize=Uo.memoize,ut.merge=ii.merge,ut.mergeWith=ii.mergeWith,ut.method=Hi.method,ut.methodOf=Hi.methodOf,ut.mixin=Dy,ut.negate=Ul,ut.nthArg=Hi.nthArg,ut.omit=ii.omit,ut.omitBy=ii.omitBy,ut.once=Uo.once,ut.orderBy=Ui.orderBy,ut.over=Hi.over,ut.overArgs=Uo.overArgs,ut.overEvery=Hi.overEvery,ut.overSome=Hi.overSome,ut.partial=Uo.partial,ut.partialRight=Uo.partialRight,ut.partition=Ui.partition,ut.pick=ii.pick,ut.pickBy=ii.pickBy,ut.property=Hi.property,ut.propertyOf=Hi.propertyOf,ut.pull=mr.pull,ut.pullAll=mr.pullAll,ut.pullAllBy=mr.pullAllBy,ut.pullAllWith=mr.pullAllWith,ut.pullAt=mr.pullAt,ut.range=Hi.range,ut.rangeRight=Hi.rangeRight,ut.rearg=Uo.rearg,ut.reject=Ui.reject,ut.remove=mr.remove,ut.rest=Uo.rest,ut.reverse=mr.reverse,ut.sampleSize=Ui.sampleSize,ut.set=ii.set,ut.setWith=ii.setWith,ut.shuffle=Ui.shuffle,ut.slice=mr.slice,ut.sortBy=Ui.sortBy,ut.sortedUniq=mr.sortedUniq,ut.sortedUniqBy=mr.sortedUniqBy,ut.split=Pi.split,ut.spread=Uo.spread,ut.tail=mr.tail,ut.take=mr.take,ut.takeRight=mr.takeRight,ut.takeRightWhile=mr.takeRightWhile,ut.takeWhile=mr.takeWhile,ut.tap=ao.tap,ut.throttle=Uo.throttle,ut.thru=du,ut.toArray=Fr.toArray,ut.toPairs=ii.toPairs,ut.toPairsIn=ii.toPairsIn,ut.toPath=Hi.toPath,ut.toPlainObject=Fr.toPlainObject,ut.transform=ii.transform,ut.unary=Uo.unary,ut.union=mr.union,ut.unionBy=mr.unionBy,ut.unionWith=mr.unionWith,ut.uniq=mr.uniq,ut.uniqBy=mr.uniqBy,ut.uniqWith=mr.uniqWith,ut.unset=ii.unset,ut.unzip=mr.unzip,ut.unzipWith=mr.unzipWith,ut.update=ii.update,ut.updateWith=ii.updateWith,ut.values=ii.values,ut.valuesIn=ii.valuesIn,ut.without=mr.without,ut.words=Pi.words,ut.wrap=Uo.wrap,ut.xor=mr.xor,ut.xorBy=mr.xorBy,ut.xorWith=mr.xorWith,ut.zip=mr.zip,ut.zipObject=mr.zipObject,ut.zipObjectDeep=mr.zipObjectDeep,ut.zipWith=mr.zipWith,ut.entries=ii.toPairs,ut.entriesIn=ii.toPairsIn,ut.extend=ii.assignIn,ut.extendWith=ii.assignInWith,Dy(ut,ut),ut.add=Ds.add,ut.attempt=Hi.attempt,ut.camelCase=Pi.camelCase,ut.capitalize=Pi.capitalize,ut.ceil=Ds.ceil,ut.clamp=My.clamp,ut.clone=Fr.clone,ut.cloneDeep=Fr.cloneDeep,ut.cloneDeepWith=Fr.cloneDeepWith,ut.cloneWith=Fr.cloneWith,ut.conformsTo=Fr.conformsTo,ut.deburr=Pi.deburr,ut.defaultTo=Hi.defaultTo,ut.divide=Ds.divide,ut.endsWith=Pi.endsWith,ut.eq=Fr.eq,ut.escape=Pi.escape,ut.escapeRegExp=Pi.escapeRegExp,ut.every=Ui.every,ut.find=Ui.find,ut.findIndex=mr.findIndex,ut.findKey=ii.findKey,ut.findLast=Ui.findLast,ut.findLastIndex=mr.findLastIndex,ut.findLastKey=ii.findLastKey,ut.floor=Ds.floor,ut.forEach=Ui.forEach,ut.forEachRight=Ui.forEachRight,ut.forIn=ii.forIn,ut.forInRight=ii.forInRight,ut.forOwn=ii.forOwn,ut.forOwnRight=ii.forOwnRight,ut.get=ii.get,ut.gt=Fr.gt,ut.gte=Fr.gte,ut.has=ii.has,ut.hasIn=ii.hasIn,ut.head=mr.head,ut.identity=vt,ut.includes=Ui.includes,ut.indexOf=mr.indexOf,ut.inRange=My.inRange,ut.invoke=ii.invoke,ut.isArguments=Fr.isArguments,ut.isArray=K,ut.isArrayBuffer=Fr.isArrayBuffer,ut.isArrayLike=Fr.isArrayLike,ut.isArrayLikeObject=Fr.isArrayLikeObject,ut.isBoolean=Fr.isBoolean,ut.isBuffer=Fr.isBuffer,ut.isDate=Fr.isDate,ut.isElement=Fr.isElement,ut.isEmpty=Fr.isEmpty,ut.isEqual=Fr.isEqual,ut.isEqualWith=Fr.isEqualWith,ut.isError=Fr.isError,ut.isFinite=Fr.isFinite,ut.isFunction=Fr.isFunction,ut.isInteger=Fr.isInteger,ut.isLength=Fr.isLength,ut.isMap=Fr.isMap,ut.isMatch=Fr.isMatch,ut.isMatchWith=Fr.isMatchWith,ut.isNaN=Fr.isNaN,ut.isNative=Fr.isNative,ut.isNil=Fr.isNil,ut.isNull=Fr.isNull,ut.isNumber=Fr.isNumber,ut.isObject=De,ut.isObjectLike=Fr.isObjectLike,ut.isPlainObject=Fr.isPlainObject,ut.isRegExp=Fr.isRegExp,ut.isSafeInteger=Fr.isSafeInteger,ut.isSet=Fr.isSet,ut.isString=Fr.isString,ut.isSymbol=Fr.isSymbol,ut.isTypedArray=Fr.isTypedArray,ut.isUndefined=Fr.isUndefined,ut.isWeakMap=Fr.isWeakMap,ut.isWeakSet=Fr.isWeakSet,ut.join=mr.join,ut.kebabCase=Pi.kebabCase,ut.last=ks,ut.lastIndexOf=mr.lastIndexOf,ut.lowerCase=Pi.lowerCase,ut.lowerFirst=Pi.lowerFirst,ut.lt=Fr.lt,ut.lte=Fr.lte,ut.max=Ds.max,ut.maxBy=Ds.maxBy,ut.mean=Ds.mean,ut.meanBy=Ds.meanBy,ut.min=Ds.min,ut.minBy=Ds.minBy,ut.stubArray=Hi.stubArray,ut.stubFalse=Hi.stubFalse,ut.stubObject=Hi.stubObject,ut.stubString=Hi.stubString,ut.stubTrue=Hi.stubTrue,ut.multiply=Ds.multiply,ut.nth=mr.nth,ut.noop=Hi.noop,ut.now=rk.now,ut.pad=Pi.pad,ut.padEnd=Pi.padEnd,ut.padStart=Pi.padStart,ut.parseInt=Pi.parseInt,ut.random=My.random,ut.reduce=Ui.reduce,ut.reduceRight=Ui.reduceRight,ut.repeat=Pi.repeat,ut.replace=Pi.replace,ut.result=ii.result,ut.round=Ds.round,ut.sample=Ui.sample,ut.size=Ui.size,ut.snakeCase=Pi.snakeCase,ut.some=Ui.some,ut.sortedIndex=mr.sortedIndex,ut.sortedIndexBy=mr.sortedIndexBy,ut.sortedIndexOf=mr.sortedIndexOf,ut.sortedLastIndex=mr.sortedLastIndex,ut.sortedLastIndexBy=mr.sortedLastIndexBy,ut.sortedLastIndexOf=mr.sortedLastIndexOf,ut.startCase=Pi.startCase,ut.startsWith=Pi.startsWith,ut.subtract=Ds.subtract,ut.sum=Ds.sum,ut.sumBy=Ds.sumBy,ut.template=Pi.template,ut.times=Hi.times,ut.toFinite=Fr.toFinite,ut.toInteger=Ee,ut.toLength=Fr.toLength,ut.toLower=Pi.toLower,ut.toNumber=Fr.toNumber,ut.toSafeInteger=Fr.toSafeInteger,ut.toString=Fr.toString,ut.toUpper=Pi.toUpper,ut.trim=Pi.trim,ut.trimEnd=Pi.trimEnd,ut.trimStart=Pi.trimStart,ut.truncate=Pi.truncate,ut.unescape=Pi.unescape,ut.uniqueId=Hi.uniqueId,ut.upperCase=Pi.upperCase,ut.upperFirst=Pi.upperFirst,ut.each=Ui.forEach,ut.eachRight=Ui.forEachRight,ut.first=mr.head,Dy(ut,function(){var E={};return ya(ut,function(P,Q){wy.call(ut.prototype,Q)||(E[Q]=P)}),E}(),{chain:!1}),ut.VERSION="4.17.21",(ut.templateSettings=Pi.templateSettings).imports._=ut,qr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(E){ut[E].placeholder=ut}),qr(["drop","take"],function(E,P){ae.prototype[E]=function(Q){Q=void 0===Q?1:ak(Ee(Q),0);var we=this.__filtered__&&!P?new ae(this):this.clone();return we.__filtered__?we.__takeCount__=_P(Q,we.__takeCount__):we.__views__.push({size:_P(Q,Rd),type:E+(we.__dir__<0?"Right":"")}),we},ae.prototype[E+"Right"]=function(Q){return this.reverse()[E](Q).reverse()}}),qr(["filter","map","takeWhile"],function(E,P){var Q=P+1,we=1==Q||3==Q;ae.prototype[E]=function(Ze){var gt=this.clone();return gt.__iteratees__.push({iteratee:li(Ze),type:Q}),gt.__filtered__=gt.__filtered__||we,gt}}),qr(["head","last"],function(E,P){var Q="take"+(P?"Right":"");ae.prototype[E]=function(){return this[Q](1).value()[0]}}),qr(["initial","tail"],function(E,P){var Q="drop"+(P?"":"Right");ae.prototype[E]=function(){return this.__filtered__?new ae(this):this[Q](1)}}),ae.prototype.compact=function(){return this.filter(vt)},ae.prototype.find=function(E){return this.filter(E).head()},ae.prototype.findLast=function(E){return this.reverse().find(E)},ae.prototype.invokeMap=J(function(E,P){return"function"==typeof E?new ae(this):this.map(function(Q){return _d(Q,E,P)})}),ae.prototype.reject=function(E){return this.filter(Ul(li(E)))},ae.prototype.slice=function(E,P){E=Ee(E);var Q=this;return Q.__filtered__&&(E>0||P<0)?new ae(Q):(E<0?Q=Q.takeRight(-E):E&&(Q=Q.drop(E)),void 0!==P&&(Q=(P=Ee(P))<0?Q.dropRight(-P):Q.take(P-E)),Q)},ae.prototype.takeRightWhile=function(E){return this.reverse().takeWhile(E).reverse()},ae.prototype.toArray=function(){return this.take(Rd)},ya(ae.prototype,function(E,P){var Q=/^(?:filter|find|map|reject)|While$/.test(P),we=/^(?:head|last)$/.test(P),Ze=ut[we?"take"+("last"==P?"Right":""):P],gt=we||/^find/.test(P);Ze&&(ut.prototype[P]=function(){var It=this.__wrapped__,Wt=we?[1]:arguments,en=It instanceof ae,Tn=Wt[0],In=en||K(It),Fn=function(bi){var Mi=Ze.apply(ut,Ps([bi],Wt));return we&&ir?Mi[0]:Mi};In&&Q&&"function"==typeof Tn&&1!=Tn.length&&(en=In=!1);var ir=this.__chain__,Yr=gt&&!ir,gi=en&&!this.__actions__.length;if(!gt&&In){It=gi?It:new ae(this);var jr=E.apply(It,Wt);return jr.__actions__.push({func:du,args:[Fn],thisArg:void 0}),new mn(jr,ir)}return Yr&&gi?E.apply(this,Wt):(jr=this.thru(Fn),Yr?we?jr.value()[0]:jr.value():jr)})}),qr(["pop","push","shift","sort","splice","unshift"],function(E){var P=Fd[E],Q=/^(?:push|sort|unshift)$/.test(E)?"tap":"thru",we=/^(?:pop|shift)$/.test(E);ut.prototype[E]=function(){var Ze=arguments;if(we&&!this.__chain__){var gt=this.value();return P.apply(K(gt)?gt:[],Ze)}return this[Q](function(It){return P.apply(K(It)?It:[],Ze)})}}),ya(ae.prototype,function(E,P){var Q=ut[P];if(Q){var we=Q.name+"";wy.call(ht,we)||(ht[we]=[]),ht[we].push({name:P,func:Q})}}),ht[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],ae.prototype.clone=function Dg(){var E=new ae(this.__wrapped__);return E.__actions__=Yt(this.__actions__),E.__dir__=this.__dir__,E.__filtered__=this.__filtered__,E.__iteratees__=Yt(this.__iteratees__),E.__takeCount__=this.__takeCount__,E.__views__=Yt(this.__views__),E},ae.prototype.reverse=function ik(){if(this.__filtered__){var E=new ae(this);E.__dir__=-1,E.__filtered__=!0}else(E=this.clone()).__dir__*=-1;return E},ae.prototype.value=function Vw(){var E=this.__wrapped__.value(),P=this.__dir__,Q=K(E),we=P<0,Ze=Q?E.length:0,gt=function Ey(E,P,Q){for(var we=-1,Ze=Q.length;++we{"use strict";o.r(h),o.d(h,{PdfViewerComponent:()=>G,PdfViewerModule:()=>te,RenderTextMode:()=>H});var n=o(54496),i=o(70800),d=o(95657),a=o(74496),c=o(53616),e=o(46928);class u extends e.wH{constructor(se,K){super()}schedule(se,K=0){return this}}const l={setInterval(ce,se,...K){const{delegate:Z}=l;return Z?.setInterval?Z.setInterval(ce,se,...K):setInterval(ce,se,...K)},clearInterval(ce){const{delegate:se}=l;return(se?.clearInterval||clearInterval)(ce)},delegate:void 0};var g=o(41248),p=o(35960);class C{constructor(se,K=C.now){this.schedulerActionCtor=se,this.now=K}schedule(se,K=0,Z){return new this.schedulerActionCtor(this,se).schedule(Z,K)}}C.now=p.K.now;const _=new class b extends C{constructor(se,K=C.now){super(se,K),this.actions=[],this._active=!1}flush(se){const{actions:K}=this;if(this._active)return void K.push(se);let Z;this._active=!0;do{if(Z=se.execute(se.state,se.delay))break}while(se=K.shift());if(this._active=!1,Z){for(;se=K.shift();)se.unsubscribe();throw Z}}}(class v extends u{constructor(se,K){super(se,K),this.scheduler=se,this.work=K,this.pending=!1}schedule(se,K=0){var Z;if(this.closed)return this;this.state=se;const re=this.id,X=this.scheduler;return null!=re&&(this.id=this.recycleAsyncId(X,re,K)),this.pending=!0,this.delay=K,this.id=null!==(Z=this.id)&&void 0!==Z?Z:this.requestAsyncId(X,this.id,K),this}requestAsyncId(se,K,Z=0){return l.setInterval(se.flush.bind(se,this),Z)}recycleAsyncId(se,K,Z=0){if(null!=Z&&this.delay===Z&&!1===this.pending)return K;null!=K&&l.clearInterval(K)}execute(se,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Z=this._execute(se,K);if(Z)return Z;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(se,K){let re,Z=!1;try{this.work(se)}catch(X){Z=!0,re=X||new Error("Scheduled action threw falsy error")}if(Z)return this.unsubscribe(),re}unsubscribe(){if(!this.closed){const{id:se,scheduler:K}=this,{actions:Z}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.k)(Z,this),null!=se&&(this.id=this.recycleAsyncId(K,se,null)),this.delay=null,super.unsubscribe()}}});var y=o(95448),S=o(87773),w=o(66684),A=o(35584),O=o.t(A,2),F=o(6472),j=o.t(F,2);const T=["pdfViewerContainer"];function N(ce,se,K){ce[se]=K}function x(){return typeof window>"u"}x()||N(O,"verbosity",A.VerbosityLevel.INFOS);var H=function(ce){return ce[ce.DISABLED=0]="DISABLED",ce[ce.ENABLED=1]="ENABLED",ce[ce.ENHANCED=2]="ENHANCED",ce}(H||{});let G=(()=>{class ce{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof O<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/cmaps/`:null;_imageResourcesPath=typeof O<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/web/images/`:void 0;_renderText=!0;_renderTextMode=H.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;resizeTimeout=null;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new d.E;afterLoadComplete=new n.EventEmitter;pageRendered=new n.EventEmitter;pageInitialized=new n.EventEmitter;textLayerRendered=new n.EventEmitter;onError=new n.EventEmitter;onProgress=new n.EventEmitter;pageChange=new n.EventEmitter(!0);src;set cMapsUrl(K){this._cMapsUrl=K}set page(K){const Z=K=parseInt(K,10)||1;this._pdf&&(K=this.getValidPageNumber(K)),this._page=K,Z!==K&&this.pageChange.emit(K)}set renderText(K){this._renderText=K}set renderTextMode(K){this._renderTextMode=K}set originalSize(K){this._originalSize=K}set showAll(K){this._showAll=K}set stickToPage(K){this._stickToPage=K}set zoom(K){K<=0||(this._zoom=K)}get zoom(){return this._zoom}set zoomScale(K){this._zoomScale=K}get zoomScale(){return this._zoomScale}set rotation(K){"number"==typeof K&&K%90==0?this._rotation=K:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(K){this._externalLinkTarget=K}set autoresize(K){this._canAutoResize=!!K}set fitToPage(K){this._fitToPage=!!K}set showBorders(K){this._showBorders=!!K}static getLinkTarget(K){switch(K){case"blank":return F.LinkTarget.BLANK;case"none":return F.LinkTarget.NONE;case"self":return F.LinkTarget.SELF;case"parent":return F.LinkTarget.PARENT;case"top":return F.LinkTarget.TOP}return null}constructor(K,Z){if(this.element=K,this.ngZone=Z,x())return;let re;const X=A.version;re=window[`pdfWorkerSrc${X}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${X}/legacy/build/pdf.worker.min.js`),N(A.GlobalWorkerOptions,"workerSrc",re)}ngAfterViewChecked(){if(this.isInitialized)return;const K=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=K?!1===this.isVisible&&null!=K&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(K){if(!x()&&this.isVisible)if("src"in K)this.loadPDF();else if(this._pdf){if("renderText"in K?(this.pdfViewer.textLayerMode=this._renderText?this._renderTextMode:H.DISABLED,this.resetPdfDocument()):"showAll"in K&&(this.setupViewer(),this.resetPdfDocument()),"page"in K){const{page:Z}=K;if(Z.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,a.Q)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,c.a)(this.destroy$)).subscribe({next:K=>{const Z=this._rotation+K.rotate,re=K.getViewport({scale:this._zoom,rotation:Z}).width*ce.CSS_UNITS;let X=this._zoom,W=!0;if(!this._originalSize||this._fitToPage&&re>this.pdfViewerContainer.nativeElement.clientWidth){const Y=K.getViewport({scale:1,rotation:Z});X=this.getScale(Y.width,Y.height),W=!this._stickToPage}this.pdfViewer._setScale(X,W)}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const K=ce.getLinkTarget(this._externalLinkTarget);return K?{externalLinkTarget:K}:{}}initEventBus(){this.eventBus=function I(ce,se){const K=new ce.EventBus;return function k(ce,se){(0,i.w)(ce,"documentload").pipe((0,c.a)(se)).subscribe(()=>{const K=document.createEvent("CustomEvent");K.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(K)}),(0,i.w)(ce,"pagerendered").pipe((0,c.a)(se)).subscribe(({pageNumber:K,cssTransform:Z,source:re})=>{const X=document.createEvent("CustomEvent");X.initCustomEvent("pagerendered",!0,!0,{pageNumber:K,cssTransform:Z}),re.div.dispatchEvent(X)}),(0,i.w)(ce,"textlayerrendered").pipe((0,c.a)(se)).subscribe(({pageNumber:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:K}),Z.textLayerDiv.dispatchEvent(re)}),(0,i.w)(ce,"pagechanging").pipe((0,c.a)(se)).subscribe(({pageNumber:K,source:Z})=>{const re=document.createEvent("UIEvents");re.initEvent("pagechanging",!0,!0),re.pageNumber=K,Z.container.dispatchEvent(re)}),(0,i.w)(ce,"pagesinit").pipe((0,c.a)(se)).subscribe(({source:K})=>{const Z=document.createEvent("CustomEvent");Z.initCustomEvent("pagesinit",!0,!0,null),K.container.dispatchEvent(Z)}),(0,i.w)(ce,"pagesloaded").pipe((0,c.a)(se)).subscribe(({pagesCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagesloaded",!0,!0,{pagesCount:K}),Z.container.dispatchEvent(re)}),(0,i.w)(ce,"scalechange").pipe((0,c.a)(se)).subscribe(({scale:K,presetValue:Z,source:re})=>{const X=document.createEvent("UIEvents");X.initEvent("scalechange",!0,!0),X.scale=K,X.presetValue=Z,re.container.dispatchEvent(X)}),(0,i.w)(ce,"updateviewarea").pipe((0,c.a)(se)).subscribe(({location:K,source:Z})=>{const re=document.createEvent("UIEvents");re.initEvent("updateviewarea",!0,!0),re.location=K,Z.container.dispatchEvent(re)}),(0,i.w)(ce,"find").pipe((0,c.a)(se)).subscribe(({source:K,type:Z,query:re,phraseSearch:X,caseSensitive:W,highlightAll:Y,findPrevious:q})=>{if(K===window)return;const he=document.createEvent("CustomEvent");he.initCustomEvent("find"+Z,!0,!0,{query:re,phraseSearch:X,caseSensitive:W,highlightAll:Y,findPrevious:q}),window.dispatchEvent(he)}),(0,i.w)(ce,"attachmentsloaded").pipe((0,c.a)(se)).subscribe(({attachmentsCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:K}),Z.container.dispatchEvent(re)}),(0,i.w)(ce,"sidebarviewchanged").pipe((0,c.a)(se)).subscribe(({view:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("sidebarviewchanged",!0,!0,{view:K}),Z.outerContainer.dispatchEvent(re)}),(0,i.w)(ce,"pagemode").pipe((0,c.a)(se)).subscribe(({mode:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagemode",!0,!0,{mode:K}),Z.pdfViewer.container.dispatchEvent(re)}),(0,i.w)(ce,"namedaction").pipe((0,c.a)(se)).subscribe(({action:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("namedaction",!0,!0,{action:K}),Z.pdfViewer.container.dispatchEvent(re)}),(0,i.w)(ce,"presentationmodechanged").pipe((0,c.a)(se)).subscribe(({active:K,switchInProgress:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("presentationmodechanged",!0,!0,{active:K,switchInProgress:Z}),window.dispatchEvent(re)}),(0,i.w)(ce,"outlineloaded").pipe((0,c.a)(se)).subscribe(({outlineCount:K,source:Z})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("outlineloaded",!0,!0,{outlineCount:K}),Z.container.dispatchEvent(re)})}(K,se),K}(j,this.destroy$),(0,i.w)(this.eventBus,"pagerendered").pipe((0,c.a)(this.destroy$)).subscribe(K=>{this.pageRendered.emit(K)}),(0,i.w)(this.eventBus,"pagesinit").pipe((0,c.a)(this.destroy$)).subscribe(K=>{this.pageInitialized.emit(K)}),(0,i.w)(this.eventBus,"pagechanging").pipe((0,c.a)(this.destroy$)).subscribe(({pageNumber:K})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=K,this.pageChange.emit(K)},100)}),(0,i.w)(this.eventBus,"textlayerrendered").pipe((0,c.a)(this.destroy$)).subscribe(K=>{this.textLayerRendered.emit(K)})}initPDFServices(){this.pdfLinkService=new F.PDFLinkService({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new F.PDFFindController({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:H.DISABLED,findController:this.pdfFindController,l10n:new F.GenericL10n("en"),imageResourcesPath:this._imageResourcesPath}}setupViewer(){N(O,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new F.PDFViewer(this.getPDFOptions()):new F.PDFSinglePageViewer(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(K){return K<1?1:K>this._pdf.numPages?this._pdf.numPages:K}getDocumentParams(){const K=typeof this.src;if(!this._cMapsUrl)return this.src;const Z={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0};return"string"===K?Z.url=this.src:"object"===K&&(void 0!==this.src.byteLength?Z.data=this.src:Object.assign(Z,this.src)),Z}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=A.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=Z=>{this.onProgress.emit(Z)};const K=this.src;(0,a.Q)(this.loadingTask.promise).pipe((0,c.a)(this.destroy$)).subscribe({next:Z=>{this._pdf=Z,this.lastLoaded=K,this.afterLoadComplete.emit(Z),this.resetPdfDocument(),this.update()},error:Z=>{this.lastLoaded=null,this.onError.emit(Z)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(K,Z){const re=this._showBorders?2*ce.BORDER_WIDTH:0,X=this.pdfViewerContainer.nativeElement.clientWidth-re,W=this.pdfViewerContainer.nativeElement.clientHeight-re;if(0===W||0===Z||0===X||0===K)return 1;let Y=1;switch(this._zoomScale){case"page-fit":Y=Math.min(W/Z,X/K);break;case"page-height":Y=W/Z;break;default:Y=X/K}return this._zoom*Y/ce.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){x()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){x()||this.ngZone.runOutsideAngular(()=>{(0,i.w)(window,"resize").pipe(function M(ce,se=_){return(0,y.i)((K,Z)=>{let re=null,X=null,W=null;const Y=()=>{if(re){re.unsubscribe(),re=null;const he=X;X=null,Z.next(he)}};function q(){const he=W+ce,_e=se.now();if(_e{X=he,W=se.now(),re||(re=se.schedule(q,ce),Z.add(re))},()=>{Y(),Z.complete()},void 0,()=>{X=re=null}))})}(100),(0,w.I)(()=>this._canAutoResize&&!!this._pdf),(0,c.a)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(Z){return new(Z||ce)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:ce,selectors:[["pdf-viewer"]],viewQuery:function(Z,re){if(1&Z&&n.\u0275\u0275viewQuery(T,5),2&Z){let X;n.\u0275\u0275queryRefresh(X=n.\u0275\u0275loadQuery())&&(re.pdfViewerContainer=X.first)}},inputs:{src:"src",cMapsUrl:[n.\u0275\u0275InputFlags.None,"c-maps-url","cMapsUrl"],page:"page",renderText:[n.\u0275\u0275InputFlags.None,"render-text","renderText"],renderTextMode:[n.\u0275\u0275InputFlags.None,"render-text-mode","renderTextMode"],originalSize:[n.\u0275\u0275InputFlags.None,"original-size","originalSize"],showAll:[n.\u0275\u0275InputFlags.None,"show-all","showAll"],stickToPage:[n.\u0275\u0275InputFlags.None,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[n.\u0275\u0275InputFlags.None,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[n.\u0275\u0275InputFlags.None,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[n.\u0275\u0275InputFlags.None,"fit-to-page","fitToPage"],showBorders:[n.\u0275\u0275InputFlags.None,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[n.\u0275\u0275NgOnChangesFeature],decls:3,vars:0,consts:[[1,"ng2-pdf-viewer-container"],["pdfViewerContainer",""],[1,"pdfViewer"]],template:function(Z,re){1&Z&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2),n.\u0275\u0275elementEnd())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%] {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%] {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%] .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%] .textLayer span, [_nghost-%COMP%] .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%] .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.appended{position:initial}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .textLayer br::selection{background:transparent}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%] .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%] .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%] .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .freeTextAnnotation, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .caretAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%] .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%] .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%] .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%] .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%] .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%] .xfaContentarea{position:absolute}[_nghost-%COMP%] .xfaPrintOnly{display:none}[_nghost-%COMP%] .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%] .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%] .xfaLayer div{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%] .xfaLayer a{color:#00f}[_nghost-%COMP%] .xfaRich li{margin-left:3em}[_nghost-%COMP%] .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%] .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%] .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%] .xfaLabel{height:100%;width:100%}[_nghost-%COMP%] .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%] .xfaLeft>.xfaCaption, [_nghost-%COMP%] .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaRight>.xfaCaption, [_nghost-%COMP%] .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%] .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%] .xfaTop>.xfaCaption, [_nghost-%COMP%] .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaBottom>.xfaCaption, [_nghost-%COMP%] .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%] .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%] .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%] .xfaTextfield:focus, [_nghost-%COMP%] .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%] .xfaCheckbox:focus, [_nghost-%COMP%] .xfaRadio:focus{outline:auto}[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%] .xfaTop>.xfaTextfield, [_nghost-%COMP%] .xfaTop>.xfaSelect, [_nghost-%COMP%] .xfaBottom>.xfaTextfield, [_nghost-%COMP%] .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%] .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%] .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%] .xfaCheckbox, [_nghost-%COMP%] .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%] .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%] .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .xfaLrTb, [_nghost-%COMP%] .xfaRlTb, [_nghost-%COMP%] .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%] .xfaTb>div{justify-content:left}[_nghost-%COMP%] .xfaPosition{position:relative}[_nghost-%COMP%] .xfaArea{position:relative}[_nghost-%COMP%] .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%] .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%] .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%] .xfaNonInteractive input, [_nghost-%COMP%] .xfaNonInteractive textarea, [_nghost-%COMP%] .xfaDisabled input, [_nghost-%COMP%] .xfaDisabled textarea, [_nghost-%COMP%] .xfaReadOnly input, [_nghost-%COMP%] .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{background:transparent}[_nghost-%COMP%] .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%] [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%] [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%] [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%] .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%] .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%] .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%] .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%] .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%] [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%] [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%] [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%] .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%] .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped, [_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .spread .dummyPage, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%] .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%] .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%] .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return ce})(),te=(()=>{class ce{static \u0275fac=function(Z){return new(Z||ce)};static \u0275mod=n.\u0275\u0275defineNgModule({type:ce});static \u0275inj=n.\u0275\u0275defineInjector({})}return ce})()},1528:(ve,h,o)=>{"use strict";function n(d,a,c,e,u,l,g){try{var v=d[l](g),p=v.value}catch(C){return void c(C)}v.done?a(p):Promise.resolve(p).then(e,u)}function i(d){return function(){var a=this,c=arguments;return new Promise(function(e,u){var l=d.apply(a,c);function g(p){n(l,e,u,g,v,"next",p)}function v(p){n(l,e,u,g,v,"throw",p)}g(void 0)})}}o.d(h,{c:()=>i})},81316:(ve,h,o)=>{"use strict";o.r(h),o.d(h,{__addDisposableResource:()=>ce,__assign:()=>d,__asyncDelegator:()=>j,__asyncGenerator:()=>F,__asyncValues:()=>T,__await:()=>O,__awaiter:()=>C,__classPrivateFieldGet:()=>H,__classPrivateFieldIn:()=>te,__classPrivateFieldSet:()=>G,__createBinding:()=>_,__decorate:()=>c,__disposeResources:()=>K,__esDecorate:()=>u,__exportStar:()=>f,__extends:()=>i,__generator:()=>b,__importDefault:()=>x,__importStar:()=>N,__makeTemplateObject:()=>I,__metadata:()=>p,__param:()=>e,__propKey:()=>g,__read:()=>S,__rest:()=>a,__runInitializers:()=>l,__setFunctionName:()=>v,__spread:()=>M,__spreadArray:()=>A,__spreadArrays:()=>w,__values:()=>y,default:()=>Z});var n=function(re,X){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,Y){W.__proto__=Y}||function(W,Y){for(var q in Y)Object.prototype.hasOwnProperty.call(Y,q)&&(W[q]=Y[q])})(re,X)};function i(re,X){if("function"!=typeof X&&null!==X)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function W(){this.constructor=re}n(re,X),re.prototype=null===X?Object.create(X):(W.prototype=X.prototype,new W)}var d=function(){return d=Object.assign||function(X){for(var W,Y=1,q=arguments.length;Y=0;Oe--)(_e=re[Oe])&&(he=(q<3?_e(he):q>3?_e(X,W,he):_e(X,W))||he);return q>3&&he&&Object.defineProperty(X,W,he),he}function e(re,X){return function(W,Y){X(W,Y,re)}}function u(re,X,W,Y,q,he){function _e(Pe){if(void 0!==Pe&&"function"!=typeof Pe)throw new TypeError("Function expected");return Pe}for(var Ne,Oe=Y.kind,Re="getter"===Oe?"get":"setter"===Oe?"set":"value",Ae=!X&&re?Y.static?re:re.prototype:null,ge=X||(Ae?Object.getOwnPropertyDescriptor(Ae,Y.name):{}),it=!1,qe=W.length-1;qe>=0;qe--){var et={};for(var De in Y)et[De]="access"===De?{}:Y[De];for(var De in Y.access)et.access[De]=Y.access[De];et.addInitializer=function(Pe){if(it)throw new TypeError("Cannot add initializers after decoration has completed");he.push(_e(Pe||null))};var je=(0,W[qe])("accessor"===Oe?{get:ge.get,set:ge.set}:ge[Re],et);if("accessor"===Oe){if(void 0===je)continue;if(null===je||"object"!=typeof je)throw new TypeError("Object expected");(Ne=_e(je.get))&&(ge.get=Ne),(Ne=_e(je.set))&&(ge.set=Ne),(Ne=_e(je.init))&&q.unshift(Ne)}else(Ne=_e(je))&&("field"===Oe?q.unshift(Ne):ge[Re]=Ne)}Ae&&Object.defineProperty(Ae,Y.name,ge),it=!0}function l(re,X,W){for(var Y=arguments.length>2,q=0;q0&&he[he.length-1])&&(6===Ae[0]||2===Ae[0])){W=0;continue}if(3===Ae[0]&&(!he||Ae[1]>he[0]&&Ae[1]=re.length&&(re=void 0),{value:re&&re[Y++],done:!re}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")}function S(re,X){var W="function"==typeof Symbol&&re[Symbol.iterator];if(!W)return re;var q,_e,Y=W.call(re),he=[];try{for(;(void 0===X||X-- >0)&&!(q=Y.next()).done;)he.push(q.value)}catch(Oe){_e={error:Oe}}finally{try{q&&!q.done&&(W=Y.return)&&W.call(Y)}finally{if(_e)throw _e.error}}return he}function M(){for(var re=[],X=0;X1||Oe(it,qe)})})}function Oe(it,qe){try{!function Re(it){it.value instanceof O?Promise.resolve(it.value.v).then(Ae,ge):Ne(he[0][2],it)}(Y[it](qe))}catch(et){Ne(he[0][3],et)}}function Ae(it){Oe("next",it)}function ge(it){Oe("throw",it)}function Ne(it,qe){it(qe),he.shift(),he.length&&Oe(he[0][0],he[0][1])}}function j(re){var X,W;return X={},Y("next"),Y("throw",function(q){throw q}),Y("return"),X[Symbol.iterator]=function(){return this},X;function Y(q,he){X[q]=re[q]?function(_e){return(W=!W)?{value:O(re[q](_e)),done:!1}:he?he(_e):_e}:he}}function T(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W,X=re[Symbol.asyncIterator];return X?X.call(re):(re=y(re),W={},Y("next"),Y("throw"),Y("return"),W[Symbol.asyncIterator]=function(){return this},W);function Y(he){W[he]=re[he]&&function(_e){return new Promise(function(Oe,Re){!function q(he,_e,Oe,Re){Promise.resolve(Re).then(function(Ae){he({value:Ae,done:Oe})},_e)}(Oe,Re,(_e=re[he](_e)).done,_e.value)})}}}function I(re,X){return Object.defineProperty?Object.defineProperty(re,"raw",{value:X}):re.raw=X,re}var k=Object.create?function(re,X){Object.defineProperty(re,"default",{enumerable:!0,value:X})}:function(re,X){re.default=X};function N(re){if(re&&re.__esModule)return re;var X={};if(null!=re)for(var W in re)"default"!==W&&Object.prototype.hasOwnProperty.call(re,W)&&_(X,re,W);return k(X,re),X}function x(re){return re&&re.__esModule?re:{default:re}}function H(re,X,W,Y){if("a"===W&&!Y)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof X?re!==X||!Y:!X.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===W?Y:"a"===W?Y.call(re):Y?Y.value:X.get(re)}function G(re,X,W,Y,q){if("m"===Y)throw new TypeError("Private method is not writable");if("a"===Y&&!q)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof X?re!==X||!q:!X.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===Y?q.call(re,W):q?q.value=W:X.set(re,W),W}function te(re,X){if(null===X||"object"!=typeof X&&"function"!=typeof X)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof re?X===re:re.has(X)}function ce(re,X,W){if(null!=X){if("object"!=typeof X&&"function"!=typeof X)throw new TypeError("Object expected.");var Y;if(W){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");Y=X[Symbol.asyncDispose]}if(void 0===Y){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");Y=X[Symbol.dispose]}if("function"!=typeof Y)throw new TypeError("Object not disposable.");re.stack.push({value:X,dispose:Y,async:W})}else W&&re.stack.push({async:!0});return X}var se="function"==typeof SuppressedError?SuppressedError:function(re,X,W){var Y=new Error(W);return Y.name="SuppressedError",Y.error=re,Y.suppressed=X,Y};function K(re){function X(Y){re.error=re.hasError?new se(Y,re.error,"An error was suppressed during disposal."):Y,re.hasError=!0}return function W(){for(;re.stack.length;){var Y=re.stack.pop();try{var q=Y.dispose&&Y.dispose.call(Y.value);if(Y.async)return Promise.resolve(q).then(W,function(he){return X(he),W()})}catch(he){X(he)}}if(re.hasError)throw re.error}()}const Z={__extends:i,__assign:d,__rest:a,__decorate:c,__param:e,__metadata:p,__awaiter:C,__generator:b,__createBinding:_,__exportStar:f,__values:y,__read:S,__spread:M,__spreadArrays:w,__spreadArray:A,__await:O,__asyncGenerator:F,__asyncDelegator:j,__asyncValues:T,__makeTemplateObject:I,__importStar:N,__importDefault:x,__classPrivateFieldGet:H,__classPrivateFieldSet:G,__classPrivateFieldIn:te,__addDisposableResource:ce,__disposeResources:K}}},ve=>{ve(ve.s=27460)}]); \ No newline at end of file diff --git a/www/main.7cd819fd7e9fceb0.js b/www/main.7cd819fd7e9fceb0.js deleted file mode 100644 index 20bc3635..00000000 --- a/www/main.7cd819fd7e9fceb0.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(ve,h,i)=>{"use strict";i.d(h,{c:()=>d,r:()=>_});const d=(P,I)=>{P.componentOnReady?P.componentOnReady().then(j=>I(j)):_(()=>I(P))},_=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P)},51896:(ve,h,i)=>{"use strict";i.d(h,{L:()=>n,a:()=>o,b:()=>d,c:()=>a,d:()=>u,g:()=>P});const n="ionViewWillEnter",o="ionViewDidEnter",d="ionViewWillLeave",a="ionViewDidLeave",u="ionViewWillUnload",P=I=>I.classList.contains("ion-page")?I:I.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||I},30388:(ve,h,i)=>{"use strict";i.d(h,{c:()=>S});var n=i(14829),o=i(46384);let d;const u=v=>v.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=v=>(void 0===d&&(d=void 0===v.style.animationName&&void 0!==v.style.webkitAnimationName?"-webkit-":""),d),l=(v,M,E)=>{const A=M.startsWith("animation")?e(v):"";v.style.setProperty(A+M,E)},c=(v,M)=>{const E=M.startsWith("animation")?e(v):"";v.style.removeProperty(E+M)},_=[],f=(v=[],M)=>{if(void 0!==M){const E=Array.isArray(M)?M:[M];return[...v,...E]}return v},S=v=>{let M,E,A,k,N,F,L,re,X,z,Y,Oe,Re,T=[],P=[],I=[],j=!1,B={},$=[],ee=[],le={},se=0,K=!1,Q=!1,q=!0,de=!1,me=!0,Ae=!1;const ge=v,Ne=[],it=[],qe=[],et=[],De=[],je=[],Ie=[],bt=[],Qe=[],Ut=[],sn=[],un="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,Sn="function"==typeof Element&&"function"==typeof Element.prototype.animate&&un,kt=()=>sn,Ce=(Pe,fe)=>{const Te=fe.findIndex(ot=>ot.c===Pe);Te>-1&&fe.splice(Te,1)},Je=(Pe,fe)=>((fe?.oneTimeCallback?it:Ne).push({c:Pe,o:fe}),Re),Bt=()=>{if(Sn)sn.forEach(Pe=>{Pe.cancel()}),sn.length=0;else{const Pe=et.slice();(0,o.r)(()=>{Pe.forEach(fe=>{c(fe,"animation-name"),c(fe,"animation-duration"),c(fe,"animation-timing-function"),c(fe,"animation-iteration-count"),c(fe,"animation-delay"),c(fe,"animation-play-state"),c(fe,"animation-fill-mode"),c(fe,"animation-direction")})})}},Zt=()=>{je.forEach(Pe=>{Pe?.parentNode&&Pe.parentNode.removeChild(Pe)}),je.length=0},Xt=()=>void 0!==N?N:L?L.getFill():"both",_n=()=>void 0!==X?X:void 0!==F?F:L?L.getDirection():"normal",En=()=>K?"linear":void 0!==A?A:L?L.getEasing():"linear",qt=()=>Q?0:void 0!==z?z:void 0!==E?E:L?L.getDuration():0,nr=()=>void 0!==k?k:L?L.getIterations():1,kr=()=>void 0!==Y?Y:void 0!==M?M:L?L.getDelay():0,Rn=()=>{0!==se&&(se--,0===se&&((()=>{Tr(),Qe.forEach(ht=>ht()),Ut.forEach(ht=>ht());const Pe=q?1:0,fe=$,Te=ee,ot=le;et.forEach(ht=>{const Ct=ht.classList;fe.forEach(Lt=>Ct.add(Lt)),Te.forEach(Lt=>Ct.remove(Lt));for(const Lt in ot)ot.hasOwnProperty(Lt)&&l(ht,Lt,ot[Lt])}),z=void 0,X=void 0,Y=void 0,Ne.forEach(ht=>ht.c(Pe,Re)),it.forEach(ht=>ht.c(Pe,Re)),it.length=0,me=!0,q&&(de=!0),q=!0})(),L&&L.animationFinish()))},Kn=(Pe=!0)=>{Zt();const fe=(v=>(v.forEach(M=>{for(const E in M)if(M.hasOwnProperty(E)){const A=M[E];if("easing"===E)M["animation-timing-function"]=A,delete M[E];else{const k=u(E);k!==E&&(M[k]=A,delete M[E])}}}),v))(T);et.forEach(Te=>{if(fe.length>0){const ot=((v=[])=>v.map(M=>{const E=M.offset,A=[];for(const k in M)M.hasOwnProperty(k)&&"offset"!==k&&A.push(`${k}: ${M[k]};`);return`${100*E}% { ${A.join(" ")} }`}).join(" "))(fe);Oe=void 0!==v?v:(v=>{let M=_.indexOf(v);return M<0&&(M=_.push(v)-1),`ion-animation-${M}`})(ot);const ht=((v,M,E)=>{var A;const k=(v=>{const M=void 0!==v.getRootNode?v.getRootNode():v;return M.head||M})(E),N=e(E),F=k.querySelector("#"+v);if(F)return F;const T=(null!==(A=E.ownerDocument)&&void 0!==A?A:document).createElement("style");return T.id=v,T.textContent=`@${N}keyframes ${v} { ${M} } @${N}keyframes ${v}-alt { ${M} }`,k.appendChild(T),T})(Oe,ot,Te);je.push(ht),l(Te,"animation-duration",`${qt()}ms`),l(Te,"animation-timing-function",En()),l(Te,"animation-delay",`${kr()}ms`),l(Te,"animation-fill-mode",Xt()),l(Te,"animation-direction",_n());const Ct=nr()===1/0?"infinite":nr().toString();l(Te,"animation-iteration-count",Ct),l(Te,"animation-play-state","paused"),Pe&&l(Te,"animation-name",`${ht.id}-alt`),(0,o.r)(()=>{l(Te,"animation-name",ht.id||null)})}})},ui=(Pe=!0)=>{(()=>{Ie.forEach(ot=>ot()),bt.forEach(ot=>ot());const Pe=P,fe=I,Te=B;et.forEach(ot=>{const ht=ot.classList;Pe.forEach(Ct=>ht.add(Ct)),fe.forEach(Ct=>ht.remove(Ct));for(const Ct in Te)Te.hasOwnProperty(Ct)&&l(ot,Ct,Te[Ct])})})(),T.length>0&&(Sn?(et.forEach(Pe=>{const fe=Pe.animate(T,{id:ge,delay:kr(),duration:qt(),easing:En(),iterations:nr(),fill:Xt(),direction:_n()});fe.pause(),sn.push(fe)}),sn.length>0&&(sn[0].onfinish=()=>{Rn()})):Kn(Pe)),j=!0},Ir=Pe=>{if(Pe=Math.min(Math.max(Pe,0),.9999),Sn)sn.forEach(fe=>{fe.currentTime=fe.effect.getComputedTiming().delay+qt()*Pe,fe.pause()});else{const fe=`-${qt()*Pe}ms`;et.forEach(Te=>{T.length>0&&(l(Te,"animation-delay",fe),l(Te,"animation-play-state","paused"))})}},ct=Pe=>{sn.forEach(fe=>{fe.effect.updateTiming({delay:kr(),duration:qt(),easing:En(),iterations:nr(),fill:Xt(),direction:_n()})}),void 0!==Pe&&Ir(Pe)},Tt=(Pe=!0,fe)=>{(0,o.r)(()=>{et.forEach(Te=>{l(Te,"animation-name",Oe||null),l(Te,"animation-duration",`${qt()}ms`),l(Te,"animation-timing-function",En()),l(Te,"animation-delay",void 0!==fe?`-${fe*qt()}ms`:`${kr()}ms`),l(Te,"animation-fill-mode",Xt()||null),l(Te,"animation-direction",_n()||null);const ot=nr()===1/0?"infinite":nr().toString();l(Te,"animation-iteration-count",ot),Pe&&l(Te,"animation-name",`${Oe}-alt`),(0,o.r)(()=>{l(Te,"animation-name",Oe||null)})})})},St=(Pe=!1,fe=!0,Te)=>(Pe&&De.forEach(ot=>{ot.update(Pe,fe,Te)}),Sn?ct(Te):Tt(fe,Te),Re),yn=()=>{j&&(Sn?sn.forEach(Pe=>{Pe.pause()}):et.forEach(Pe=>{l(Pe,"animation-play-state","paused")}),Ae=!0)},Un=()=>{re=void 0,Rn()},Tr=()=>{re&&clearTimeout(re)},on=Pe=>new Promise(fe=>{Pe?.sync&&(Q=!0,Je(()=>Q=!1,{oneTimeCallback:!0})),j||ui(),de&&(Sn?(Ir(0),ct()):Tt(),de=!1),me&&(se=De.length+1,me=!1);const Te=()=>{Ce(ot,it),fe()},ot=()=>{Ce(Te,qe),fe()};Je(ot,{oneTimeCallback:!0}),((Pe,fe)=>{qe.push({c:Pe,o:{oneTimeCallback:!0}})})(Te),De.forEach(ht=>{ht.play()}),Sn?(sn.forEach(Pe=>{Pe.play()}),(0===T.length||0===et.length)&&Rn()):(()=>{if(Tr(),(0,o.r)(()=>{et.forEach(Pe=>{T.length>0&&l(Pe,"animation-play-state","running")})}),0===T.length||0===et.length)Rn();else{const Pe=kr()||0,fe=qt()||0,Te=nr()||1;isFinite(Te)&&(re=setTimeout(Un,Pe+fe*Te+100)),((v,M)=>{let E;const A={passive:!0},N=F=>{v===F.target&&(E&&E(),Tr(),(0,o.r)(()=>{et.forEach(Pe=>{c(Pe,"animation-duration"),c(Pe,"animation-delay"),c(Pe,"animation-play-state")}),(0,o.r)(Rn)}))};v&&(v.addEventListener("webkitAnimationEnd",N,A),v.addEventListener("animationend",N,A),E=()=>{v.removeEventListener("webkitAnimationEnd",N,A),v.removeEventListener("animationend",N,A)})})(et[0])}})(),Ae=!1}),W=(Pe,fe)=>{const Te=T[0];return void 0===Te||void 0!==Te.offset&&0!==Te.offset?T=[{offset:0,[Pe]:fe},...T]:Te[Pe]=fe,Re};return Re={parentAnimation:L,elements:et,childAnimations:De,id:ge,animationFinish:Rn,from:W,to:(Pe,fe)=>{const Te=T[T.length-1];return void 0===Te||void 0!==Te.offset&&1!==Te.offset?T=[...T,{offset:1,[Pe]:fe}]:Te[Pe]=fe,Re},fromTo:(Pe,fe,Te)=>W(Pe,fe).to(Pe,Te),parent:Pe=>(L=Pe,Re),play:on,pause:()=>(De.forEach(Pe=>{Pe.pause()}),yn(),Re),stop:()=>{De.forEach(Pe=>{Pe.stop()}),j&&(Bt(),j=!1),K=!1,Q=!1,me=!0,X=void 0,z=void 0,Y=void 0,se=0,de=!1,q=!0,Ae=!1,qe.forEach(Pe=>Pe.c(0,Re)),qe.length=0},destroy:Pe=>(De.forEach(fe=>{fe.destroy(Pe)}),(Pe=>{Bt(),Pe&&Zt()})(Pe),et.length=0,De.length=0,T.length=0,Ne.length=0,it.length=0,j=!1,me=!0,Re),keyframes:Pe=>{const fe=T!==Pe;return T=Pe,fe&&(Pe=>{Sn?kt().forEach(fe=>{const Te=fe.effect;if(Te.setKeyframes)Te.setKeyframes(Pe);else{const ot=new KeyframeEffect(Te.target,Pe,Te.getTiming());fe.effect=ot}}):Kn()})(T),Re},addAnimation:Pe=>{if(null!=Pe)if(Array.isArray(Pe))for(const fe of Pe)fe.parent(Re),De.push(fe);else Pe.parent(Re),De.push(Pe);return Re},addElement:Pe=>{if(null!=Pe)if(1===Pe.nodeType)et.push(Pe);else if(Pe.length>=0)for(let fe=0;fe(N=Pe,St(!0),Re),direction:Pe=>(F=Pe,St(!0),Re),iterations:Pe=>(k=Pe,St(!0),Re),duration:Pe=>(!Sn&&0===Pe&&(Pe=1),E=Pe,St(!0),Re),easing:Pe=>(A=Pe,St(!0),Re),delay:Pe=>(M=Pe,St(!0),Re),getWebAnimations:kt,getKeyframes:()=>T,getFill:Xt,getDirection:_n,getDelay:kr,getIterations:nr,getEasing:En,getDuration:qt,afterAddRead:Pe=>(Qe.push(Pe),Re),afterAddWrite:Pe=>(Ut.push(Pe),Re),afterClearStyles:(Pe=[])=>{for(const fe of Pe)le[fe]="";return Re},afterStyles:(Pe={})=>(le=Pe,Re),afterRemoveClass:Pe=>(ee=f(ee,Pe),Re),afterAddClass:Pe=>($=f($,Pe),Re),beforeAddRead:Pe=>(Ie.push(Pe),Re),beforeAddWrite:Pe=>(bt.push(Pe),Re),beforeClearStyles:(Pe=[])=>{for(const fe of Pe)B[fe]="";return Re},beforeStyles:(Pe={})=>(B=Pe,Re),beforeRemoveClass:Pe=>(I=f(I,Pe),Re),beforeAddClass:Pe=>(P=f(P,Pe),Re),onFinish:Je,isRunning:()=>0!==se&&!Ae,progressStart:(Pe=!1,fe)=>(De.forEach(Te=>{Te.progressStart(Pe,fe)}),yn(),K=Pe,j||ui(),St(!1,!0,fe),Re),progressStep:Pe=>(De.forEach(fe=>{fe.progressStep(Pe)}),Ir(Pe),Re),progressEnd:(Pe,fe,Te)=>(K=!1,De.forEach(ot=>{ot.progressEnd(Pe,fe,Te)}),void 0!==Te&&(z=Te),de=!1,q=!0,0===Pe?(X="reverse"===_n()?"normal":"reverse","reverse"===X&&(q=!1),Sn?(St(),Ir(1-fe)):(Y=(1-fe)*qt()*-1,St(!1,!1))):1===Pe&&(Sn?(St(),Ir(fe)):(Y=fe*qt()*-1,St(!1,!1))),void 0!==Pe&&!L&&on(),Re)}}},59637:(ve,h,i)=>{"use strict";i.d(h,{E:()=>y,I:()=>l,a:()=>n,s:()=>c});const n=_=>{try{if(_ instanceof l)return _.value;if(!a()||"string"!=typeof _||""===_)return _;if(_.includes("onload="))return"";const C=document.createDocumentFragment(),b=document.createElement("div");C.appendChild(b),b.innerHTML=_,e.forEach(v=>{const M=C.querySelectorAll(v);for(let E=M.length-1;E>=0;E--){const A=M[E];A.parentNode?A.parentNode.removeChild(A):C.removeChild(A);const k=d(A);for(let N=0;N{if(_.nodeType&&1!==_.nodeType)return;if(typeof NamedNodeMap<"u"&&!(_.attributes instanceof NamedNodeMap))return void _.remove();for(let b=_.attributes.length-1;b>=0;b--){const p=_.attributes.item(b),f=p.name;if(!u.includes(f.toLowerCase())){_.removeAttribute(f);continue}const S=p.value,v=_[f];(null!=S&&S.toLowerCase().includes("javascript:")||null!=v&&v.toLowerCase().includes("javascript:"))&&_.removeAttribute(f)}const C=d(_);for(let b=0;bnull!=_.children?_.children:_.childNodes,a=()=>{var _;const C=window,b=null===(_=C?.Ionic)||void 0===_?void 0:_.config;return!b||(b.get?b.get("sanitizerEnabled",!0):!0===b.sanitizerEnabled||void 0===b.sanitizerEnabled)},u=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class l{constructor(C){this.value=C}}const c=_=>{const C=window,b=C.Ionic;if(!b||!b.config||"Object"===b.config.constructor.name)return C.Ionic=C.Ionic||{},C.Ionic.config=Object.assign(Object.assign({},C.Ionic.config),_),C.Ionic.config},y=!1},86944:(ve,h,i)=>{"use strict";i.d(h,{g:()=>n});const n=(e,l,c,g,y)=>d(e[1],l[1],c[1],g[1],y).map(_=>o(e[0],l[0],c[0],g[0],_)),o=(e,l,c,g,y)=>y*(3*l*Math.pow(y-1,2)+y*(-3*c*y+3*c+g*y))-e*Math.pow(y-1,3),d=(e,l,c,g,y)=>u((g-=y)-3*(c-=y)+3*(l-=y)-(e-=y),3*c-6*l+3*e,3*l-3*e,e).filter(C=>C>=0&&C<=1),u=(e,l,c,g)=>{if(0===e)return((e,l,c)=>{const g=l*l-4*e*c;return g<0?[]:[(-l+Math.sqrt(g))/(2*e),(-l-Math.sqrt(g))/(2*e)]})(l,c,g);const y=(3*(c/=e)-(l/=e)*l)/3,_=(2*l*l*l-9*l*c+27*(g/=e))/27;if(0===y)return[Math.pow(-_,1/3)];if(0===_)return[Math.sqrt(-y),-Math.sqrt(-y)];const C=Math.pow(_/2,2)+Math.pow(y/3,3);if(0===C)return[Math.pow(_/2,.5)-l/3];if(C>0)return[Math.pow(-_/2+Math.sqrt(C),1/3)-Math.pow(_/2+Math.sqrt(C),1/3)-l/3];const b=Math.sqrt(Math.pow(-y/3,3)),p=Math.acos(-_/(2*Math.sqrt(Math.pow(-y/3,3)))),f=2*Math.pow(b,1/3);return[f*Math.cos(p/3)-l/3,f*Math.cos((p+2*Math.PI)/3)-l/3,f*Math.cos((p+4*Math.PI)/3)-l/3]}},10495:(ve,h,i)=>{"use strict";i.d(h,{C:()=>u,a:()=>d,d:()=>a});var n=i(1528),o=i(46384);const d=function(){var e=(0,n.c)(function*(l,c,g,y,_,C){var b;if(l)return l.attachViewToDom(c,g,_,y);if(!(C||"string"==typeof g||g instanceof HTMLElement))throw new Error("framework delegate is missing");const p="string"==typeof g?null===(b=c.ownerDocument)||void 0===b?void 0:b.createElement(g):g;return y&&y.forEach(f=>p.classList.add(f)),_&&Object.assign(p,_),c.appendChild(p),yield new Promise(f=>(0,o.c)(p,f)),p});return function(c,g,y,_,C,b){return e.apply(this,arguments)}}(),a=(e,l)=>{if(l){if(e)return e.removeViewFromDom(l.parentElement,l);l.remove()}return Promise.resolve()},u=()=>{let e,l;return{attachViewToDom:function(){var y=(0,n.c)(function*(_,C,b={},p=[]){var f,S;let v;if(e=_,C){const E="string"==typeof C?null===(f=e.ownerDocument)||void 0===f?void 0:f.createElement(C):C;p.forEach(A=>E.classList.add(A)),Object.assign(E,b),e.appendChild(E),v=E,yield new Promise(A=>(0,o.c)(E,A))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(v=e.children[0]).classList.contains("ion-delegate-host")){const A=null===(S=e.ownerDocument)||void 0===S?void 0:S.createElement("div");A.classList.add("ion-delegate-host"),p.forEach(k=>A.classList.add(k)),A.append(...e.children),e.appendChild(A),v=A}const M=document.querySelector("ion-app")||document.body;return l=document.createComment("ionic teleport"),e.parentNode.insertBefore(l,e),M.appendChild(e),v??e});return function(C,b){return y.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&l&&(l.parentNode.insertBefore(e,l),l.remove()),Promise.resolve())}}},66560:(ve,h,i)=>{"use strict";i.d(h,{G:()=>u});class o{constructor(l,c,g,y,_){this.id=c,this.name=g,this.disableScroll=_,this.priority=1e6*y+c,this.ctrl=l}canStart(){return!!this.ctrl&&this.ctrl.canStart(this.name)}start(){return!!this.ctrl&&this.ctrl.start(this.name,this.id,this.priority)}capture(){if(!this.ctrl)return!1;const l=this.ctrl.capture(this.name,this.id,this.priority);return l&&this.disableScroll&&this.ctrl.disableScroll(this.id),l}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class d{constructor(l,c,g,y){this.id=c,this.disable=g,this.disableScroll=y,this.ctrl=l}block(){if(this.ctrl){if(this.disable)for(const l of this.disable)this.ctrl.disableGesture(l,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const l of this.disable)this.ctrl.enableGesture(l,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const a="backdrop-no-scroll",u=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(l){var c;return new o(this,this.newID(),l.name,null!==(c=l.priority)&&void 0!==c?c:0,!!l.disableScroll)}createBlocker(l={}){return new d(this,this.newID(),l.disable,!!l.disableScroll)}start(l,c,g){return this.canStart(l)?(this.requestedStart.set(c,g),!0):(this.requestedStart.delete(c),!1)}capture(l,c,g){if(!this.start(l,c,g))return!1;const y=this.requestedStart;let _=-1e4;if(y.forEach(C=>{_=Math.max(_,C)}),_===g){this.capturedId=c,y.clear();const C=new CustomEvent("ionGestureCaptured",{detail:{gestureName:l}});return document.dispatchEvent(C),!0}return y.delete(c),!1}release(l){this.requestedStart.delete(l),this.capturedId===l&&(this.capturedId=void 0)}disableGesture(l,c){let g=this.disabledGestures.get(l);void 0===g&&(g=new Set,this.disabledGestures.set(l,g)),g.add(c)}enableGesture(l,c){const g=this.disabledGestures.get(l);void 0!==g&&g.delete(c)}disableScroll(l){this.disabledScroll.add(l),1===this.disabledScroll.size&&document.body.classList.add(a)}enableScroll(l){this.disabledScroll.delete(l),0===this.disabledScroll.size&&document.body.classList.remove(a)}canStart(l){return!(void 0!==this.capturedId||this.isDisabled(l))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(l){const c=this.disabledGestures.get(l);return!!(c&&c.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{MENU_BACK_BUTTON_PRIORITY:()=>g,OVERLAY_BACK_BUTTON_PRIORITY:()=>c,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>u,startHardwareBackButton:()=>l});var n=i(1528),o=i(14829),d=i(88523);i(62992);const u=()=>d.c.get("experimentalCloseWatcher",!1)&&void 0!==o.w&&"CloseWatcher"in o.w,e=()=>{document.addEventListener("backbutton",()=>{})},l=()=>{const y=document;let _=!1;const C=()=>{if(_)return;let b=0,p=[];const f=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(M,E){p.push({priority:M,handler:E,id:b++})}}});y.dispatchEvent(f);const S=function(){var M=(0,n.c)(function*(E){try{if(E?.handler){const A=E.handler(v);null!=A&&(yield A)}}catch(A){console.error(A)}});return function(A){return M.apply(this,arguments)}}(),v=()=>{if(p.length>0){let M={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};p.forEach(E=>{E.priority>=M.priority&&(M=E)}),_=!0,p=p.filter(E=>E.id!==M.id),S(M).then(()=>_=!1)}};v()};if(u()){let b;const p=()=>{b?.destroy(),b=new o.w.CloseWatcher,b.onclose=()=>{C(),p()}};p()}else y.addEventListener("backbutton",C)},c=100,g=99},46384:(ve,h,i)=>{"use strict";i.d(h,{a:()=>c,b:()=>g,c:()=>d,d:()=>S,e:()=>f,f:()=>p,g:()=>y,h:()=>b,i:()=>l,j:()=>N,k:()=>u,l:()=>v,m:()=>a,n:()=>C,o:()=>M,p:()=>k,q:()=>F,r:()=>_,s:()=>T,t:()=>n,u:()=>E,v:()=>A});const n=(P,I=0)=>new Promise(j=>{o(P,I,j)}),o=(P,I=0,j)=>{let L,B;const $={passive:!0},le=()=>{L&&L()},se=K=>{(void 0===K||P===K.target)&&(le(),j(K))};return P&&(P.addEventListener("webkitTransitionEnd",se,$),P.addEventListener("transitionend",se,$),B=setTimeout(se,I+500),L=()=>{void 0!==B&&(clearTimeout(B),B=void 0),P.removeEventListener("webkitTransitionEnd",se,$),P.removeEventListener("transitionend",se,$)}),le},d=(P,I)=>{P.componentOnReady?P.componentOnReady().then(j=>I(j)):_(()=>I(P))},a=P=>void 0!==P.componentOnReady,u=(P,I=[])=>{const j={};return I.forEach(L=>{P.hasAttribute(L)&&(null!==P.getAttribute(L)&&(j[L]=P.getAttribute(L)),P.removeAttribute(L))}),j},e=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","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-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],l=(P,I)=>{let j=e;return I&&I.length>0&&(j=j.filter(L=>!I.includes(L))),u(P,j)},c=(P,I,j,L)=>{var B;if(typeof window<"u"){const $=window,ee=null===(B=$?.Ionic)||void 0===B?void 0:B.config;if(ee){const le=ee.get("_ael");if(le)return le(P,I,j,L);if(ee._ael)return ee._ael(P,I,j,L)}}return P.addEventListener(I,j,L)},g=(P,I,j,L)=>{var B;if(typeof window<"u"){const $=window,ee=null===(B=$?.Ionic)||void 0===B?void 0:B.config;if(ee){const le=ee.get("_rel");if(le)return le(P,I,j,L);if(ee._rel)return ee._rel(P,I,j,L)}}return P.removeEventListener(I,j,L)},y=(P,I=P)=>P.shadowRoot||I,_=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P),C=P=>!!P.shadowRoot&&!!P.attachShadow,b=P=>{const I=P.closest("ion-item");return I?I.querySelector("ion-label"):null},p=P=>{if(P.focus(),P.classList.contains("ion-focusable")){const I=P.closest("ion-app");I&&I.setFocus([P])}},f=(P,I)=>{let j;const L=P.getAttribute("aria-labelledby"),B=P.id;let $=null!==L&&""!==L.trim()?L:I+"-lbl",ee=null!==L&&""!==L.trim()?document.getElementById(L):b(P);return ee?(null===L&&(ee.id=$),j=ee.textContent,ee.setAttribute("aria-hidden","true")):""!==B.trim()&&(ee=document.querySelector(`label[for="${B}"]`),ee&&(""!==ee.id?$=ee.id:ee.id=$=`${B}-lbl`,j=ee.textContent)),{label:ee,labelId:$,labelText:j}},S=(P,I,j,L,B)=>{if(P||C(I)){let $=I.querySelector("input.aux-input");$||($=I.ownerDocument.createElement("input"),$.type="hidden",$.classList.add("aux-input"),I.appendChild($)),$.disabled=B,$.name=j,$.value=L||""}},v=(P,I,j)=>Math.max(P,Math.min(I,j)),M=(P,I)=>{if(!P){const j="ASSERT: "+I;throw console.error(j),new Error(j)}},E=P=>P.timeStamp||Date.now(),A=P=>{if(P){const I=P.changedTouches;if(I&&I.length>0){const j=I[0];return{x:j.clientX,y:j.clientY}}if(void 0!==P.pageX)return{x:P.pageX,y:P.pageY}}return{x:0,y:0}},k=P=>{const I="rtl"===document.dir;switch(P){case"start":return I;case"end":return!I;default:throw new Error(`"${P}" is not a valid value for [side]. Use "start" or "end" instead.`)}},N=(P,I)=>{const j=P._original||P;return{_original:P,emit:F(j.emit.bind(j),I)}},F=(P,I=0)=>{let j;return(...L)=>{clearTimeout(j),j=setTimeout(P,I,...L)}},T=(P,I)=>{if(P??(P={}),I??(I={}),P===I)return!0;const j=Object.keys(P);if(j.length!==Object.keys(I).length)return!1;for(const L of j)if(!(L in I)||P[L]!==I[L])return!1;return!0}},62528:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>g});var n=i(66560);const o=(b,p,f,S)=>{const v=d(b)?{capture:!!S.capture,passive:!!S.passive}:!!S.capture;let M,E;return b.__zone_symbol__addEventListener?(M="__zone_symbol__addEventListener",E="__zone_symbol__removeEventListener"):(M="addEventListener",E="removeEventListener"),b[M](p,f,v),()=>{b[E](p,f,v)}},d=b=>{if(void 0===a)try{const p=Object.defineProperty({},"passive",{get:()=>{a=!0}});b.addEventListener("optsTest",()=>{},p)}catch{a=!1}return!!a};let a;const l=b=>b instanceof Document?b:b.ownerDocument,g=b=>{let p=!1,f=!1,S=!0,v=!1;const M=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},b),E=M.canStart,A=M.onWillStart,k=M.onStart,N=M.onEnd,F=M.notCaptured,T=M.onMove,P=M.threshold,I=M.passive,j=M.blurOnStart,L={type:"pan",startX:0,startY:0,startTime:0,currentX:0,currentY:0,velocityX:0,velocityY:0,deltaX:0,deltaY:0,currentTime:0,event:void 0,data:void 0},B=((b,p,f)=>{const S=f*(Math.PI/180),v="x"===b,M=Math.cos(S),E=p*p;let A=0,k=0,N=!1,F=0;return{start(T,P){A=T,k=P,F=0,N=!0},detect(T,P){if(!N)return!1;const I=T-A,j=P-k,L=I*I+j*j;if(LM?1:$<-M?-1:0,N=!1,!0},isGesture:()=>0!==F,getDirection:()=>F}})(M.direction,M.threshold,M.maxAngle),$=n.G.createGesture({name:b.gestureName,priority:b.gesturePriority,disableScroll:b.disableScroll}),se=()=>{p&&(v=!1,T&&T(L))},K=()=>!!$.capture()&&(p=!0,S=!1,L.startX=L.currentX,L.startY=L.currentY,L.startTime=L.currentTime,A?A(L).then(re):re(),!0),re=()=>{j&&(()=>{if(typeof document<"u"){const de=document.activeElement;de?.blur&&de.blur()}})(),k&&k(L),S=!0},X=()=>{p=!1,f=!1,v=!1,S=!0,$.release()},z=de=>{const me=p,Oe=S;if(X(),Oe){if(y(L,de),me)return void(N&&N(L));F&&F(L)}},Y=((b,p,f,S,v)=>{let M,E,A,k,N,F,T,P=0;const I=Q=>{P=Date.now()+2e3,p(Q)&&(!E&&f&&(E=o(b,"touchmove",f,v)),A||(A=o(Q.target,"touchend",L,v)),k||(k=o(Q.target,"touchcancel",L,v)))},j=Q=>{P>Date.now()||p(Q)&&(!F&&f&&(F=o(l(b),"mousemove",f,v)),T||(T=o(l(b),"mouseup",B,v)))},L=Q=>{$(),S&&S(Q)},B=Q=>{ee(),S&&S(Q)},$=()=>{E&&E(),A&&A(),k&&k(),E=A=k=void 0},ee=()=>{F&&F(),T&&T(),F=T=void 0},le=()=>{$(),ee()},se=(Q=!0)=>{Q?(M||(M=o(b,"touchstart",I,v)),N||(N=o(b,"mousedown",j,v))):(M&&M(),N&&N(),M=N=void 0,le())};return{enable:se,stop:le,destroy:()=>{se(!1),S=f=p=void 0}}})(M.el,de=>{const me=C(de);return!(f||!S||(_(de,L),L.startX=L.currentX,L.startY=L.currentY,L.startTime=L.currentTime=me,L.velocityX=L.velocityY=L.deltaX=L.deltaY=0,L.event=de,E&&!1===E(L))||($.release(),!$.start()))&&(f=!0,0===P?K():(B.start(L.startX,L.startY),!0))},de=>{p?!v&&S&&(v=!0,y(L,de),requestAnimationFrame(se)):(y(L,de),B.detect(L.currentX,L.currentY)&&(!B.isGesture()||!K())&&q())},z,{capture:!1,passive:I}),q=()=>{X(),Y.stop(),F&&F(L)};return{enable(de=!0){de||(p&&z(void 0),X()),Y.enable(de)},destroy(){$.destroy(),Y.destroy()}}},y=(b,p)=>{if(!p)return;const f=b.currentX,S=b.currentY,v=b.currentTime;_(p,b);const M=b.currentX,E=b.currentY,k=(b.currentTime=C(p))-v;if(k>0&&k<100){const F=(E-S)/k;b.velocityX=(M-f)/k*.7+.3*b.velocityX,b.velocityY=.7*F+.3*b.velocityY}b.deltaX=M-b.startX,b.deltaY=E-b.startY,b.event=p},_=(b,p)=>{let f=0,S=0;if(b){const v=b.changedTouches;if(v&&v.length>0){const M=v[0];f=M.clientX,S=M.clientY}else void 0!==b.pageX&&(f=b.pageX,S=b.pageY)}p.currentX=f,p.currentY=S},C=b=>b.timeStamp||Date.now()},76256:(ve,h,i)=>{"use strict";i.d(h,{b:()=>e,c:()=>l,d:()=>c,e:()=>P,g:()=>L,l:()=>F,s:()=>I,t:()=>_,w:()=>T});var n=i(1528),o=i(62992),d=i(46384);const e="ionViewWillLeave",l="ionViewDidLeave",c="ionViewWillUnload",_=B=>new Promise(($,ee)=>{(0,o.w)(()=>{C(B),b(B).then(le=>{le.animation&&le.animation.destroy(),p(B),$(le)},le=>{p(B),ee(le)})})}),C=B=>{const $=B.enteringEl,ee=B.leavingEl;j($,ee,B.direction),B.showGoBack?$.classList.add("can-go-back"):$.classList.remove("can-go-back"),I($,!1),$.style.setProperty("pointer-events","none"),ee&&(I(ee,!1),ee.style.setProperty("pointer-events","none"))},b=function(){var B=(0,n.c)(function*($){const ee=yield f($);return ee&&o.B.isBrowser?S(ee,$):v($)});return function(ee){return B.apply(this,arguments)}}(),p=B=>{const $=B.enteringEl,ee=B.leavingEl;$.classList.remove("ion-page-invisible"),$.style.removeProperty("pointer-events"),void 0!==ee&&(ee.classList.remove("ion-page-invisible"),ee.style.removeProperty("pointer-events"))},f=function(){var B=(0,n.c)(function*($){return $.leavingEl&&$.animated&&0!==$.duration?$.animationBuilder?$.animationBuilder:"ios"===$.mode?(yield Promise.resolve().then(i.bind(i,68512))).iosTransitionAnimation:(yield Promise.resolve().then(i.bind(i,96556))).mdTransitionAnimation:void 0});return function(ee){return B.apply(this,arguments)}}(),S=function(){var B=(0,n.c)(function*($,ee){yield M(ee,!0);const le=$(ee.baseEl,ee);k(ee.enteringEl,ee.leavingEl);const se=yield A(le,ee);return ee.progressCallback&&ee.progressCallback(void 0),se&&N(ee.enteringEl,ee.leavingEl),{hasCompleted:se,animation:le}});return function(ee,le){return B.apply(this,arguments)}}(),v=function(){var B=(0,n.c)(function*($){const ee=$.enteringEl,le=$.leavingEl;return yield M($,!1),k(ee,le),N(ee,le),{hasCompleted:!0}});return function(ee){return B.apply(this,arguments)}}(),M=function(){var B=(0,n.c)(function*($,ee){(void 0!==$.deepWait?$.deepWait:ee)&&(yield Promise.all([P($.enteringEl),P($.leavingEl)])),yield E($.viewIsReady,$.enteringEl)});return function(ee,le){return B.apply(this,arguments)}}(),E=function(){var B=(0,n.c)(function*($,ee){$&&(yield $(ee))});return function(ee,le){return B.apply(this,arguments)}}(),A=(B,$)=>{const ee=$.progressCallback,le=new Promise(se=>{B.onFinish(K=>se(1===K))});return ee?(B.progressStart(!0),ee(B)):B.play(),le},k=(B,$)=>{F($,e),F(B,"ionViewWillEnter")},N=(B,$)=>{F(B,"ionViewDidEnter"),F($,l)},F=(B,$)=>{if(B){const ee=new CustomEvent($,{bubbles:!1,cancelable:!1});B.dispatchEvent(ee)}},T=()=>new Promise(B=>(0,d.r)(()=>(0,d.r)(()=>B()))),P=function(){var B=(0,n.c)(function*($){const ee=$;if(ee){if(null!=ee.componentOnReady){if(null!=(yield ee.componentOnReady()))return}else if(null!=ee.__registerHost)return void(yield new Promise(se=>(0,d.r)(se)));yield Promise.all(Array.from(ee.children).map(P))}});return function(ee){return B.apply(this,arguments)}}(),I=(B,$)=>{$?(B.setAttribute("aria-hidden","true"),B.classList.add("ion-page-hidden")):(B.hidden=!1,B.removeAttribute("aria-hidden"),B.classList.remove("ion-page-hidden"))},j=(B,$,ee)=>{void 0!==B&&(B.style.zIndex="back"===ee?"99":"101"),void 0!==$&&($.style.zIndex="100")},L=B=>B.classList.contains("ion-page")?B:B.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||B},62992:(ve,h,i)=>{"use strict";i.d(h,{B:()=>C,H:()=>K,a:()=>Qn,b:()=>Sr,c:()=>Oe,d:()=>Ne,e:()=>He,f:()=>ge,g:()=>Re,h:()=>le,i:()=>Xt,j:()=>b,r:()=>Kn,w:()=>Pe});var n=i(1528);let a,u,e,l=!1,c=!1,g=!1,y=!1,_=!1;const C={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},b=fe=>{const Te=new URL(fe,yn.$resourcesUrl$);return Te.origin!==an.location.origin?Te.href:Te.pathname},A="s-id",k="sty-id",N="c-id",T="slot-fb{display:contents}slot-fb[hidden]{display:none}",P="http://www.w3.org/1999/xlink",I={},$=fe=>"object"==(fe=typeof fe)||"function"===fe;function ee(fe){var Te,ot,ht;return null!==(ht=null===(ot=null===(Te=fe.head)||void 0===Te?void 0:Te.querySelector('meta[name="csp-nonce"]'))||void 0===ot?void 0:ot.getAttribute("content"))&&void 0!==ht?ht:void 0}const le=(fe,Te,...ot)=>{let ht=null,Ct=null,Lt=null,Kt=!1,dn=!1;const fn=[],mn=Yt=>{for(let Ln=0;LnYt[Ln]).join(" "))}}if("function"==typeof fe)return fe(null===Te?{}:Te,fn,re);const ln=se(fe,null);return ln.$attrs$=Te,fn.length>0&&(ln.$children$=fn),ln.$key$=Ct,ln.$name$=Lt,ln},se=(fe,Te)=>({$flags$:0,$tag$:fe,$text$:Te,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),K={},re={forEach:(fe,Te)=>fe.map(X).forEach(Te),map:(fe,Te)=>fe.map(X).map(Te).map(z)},X=fe=>({vattrs:fe.$attrs$,vchildren:fe.$children$,vkey:fe.$key$,vname:fe.$name$,vtag:fe.$tag$,vtext:fe.$text$}),z=fe=>{if("function"==typeof fe.vtag){const ot=Object.assign({},fe.vattrs);return fe.vkey&&(ot.key=fe.vkey),fe.vname&&(ot.name=fe.vname),le(fe.vtag,ot,...fe.vchildren||[])}const Te=se(fe.vtag,fe.vtext);return Te.$attrs$=fe.vattrs,Te.$children$=fe.vchildren,Te.$key$=fe.vkey,Te.$name$=fe.vname,Te},q=(fe,Te,ot,ht,Ct,Lt,Kt)=>{let dn,fn,mn,ln;if(1===Lt.nodeType){for(dn=Lt.getAttribute(N),dn&&(fn=dn.split("."),(fn[0]===Kt||"0"===fn[0])&&(mn={$flags$:0,$hostId$:fn[0],$nodeId$:fn[1],$depth$:fn[2],$index$:fn[3],$tag$:Lt.tagName.toLowerCase(),$elm$:Lt,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},Te.push(mn),Lt.removeAttribute(N),fe.$children$||(fe.$children$=[]),fe.$children$[mn.$index$]=mn,fe=mn,ht&&"0"===mn.$depth$&&(ht[mn.$index$]=mn.$elm$))),ln=Lt.childNodes.length-1;ln>=0;ln--)q(fe,Te,ot,ht,Ct,Lt.childNodes[ln],Kt);if(Lt.shadowRoot)for(ln=Lt.shadowRoot.childNodes.length-1;ln>=0;ln--)q(fe,Te,ot,ht,Ct,Lt.shadowRoot.childNodes[ln],Kt)}else if(8===Lt.nodeType)fn=Lt.nodeValue.split("."),(fn[1]===Kt||"0"===fn[1])&&(dn=fn[0],mn={$flags$:0,$hostId$:fn[1],$nodeId$:fn[2],$depth$:fn[3],$index$:fn[4],$elm$:Lt,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===dn?(mn.$elm$=Lt.nextSibling,mn.$elm$&&3===mn.$elm$.nodeType&&(mn.$text$=mn.$elm$.textContent,Te.push(mn),Lt.remove(),fe.$children$||(fe.$children$=[]),fe.$children$[mn.$index$]=mn,ht&&"0"===mn.$depth$&&(ht[mn.$index$]=mn.$elm$))):mn.$hostId$===Kt&&("s"===dn?(mn.$tag$="slot",Lt["s-sn"]=fn[5]?mn.$name$=fn[5]:"",Lt["s-sr"]=!0,ht&&(mn.$elm$=Cn.createElement(mn.$tag$),mn.$name$&&mn.$elm$.setAttribute("name",mn.$name$),Lt.parentNode.insertBefore(mn.$elm$,Lt),Lt.remove(),"0"===mn.$depth$&&(ht[mn.$index$]=mn.$elm$)),ot.push(mn),fe.$children$||(fe.$children$=[]),fe.$children$[mn.$index$]=mn):"r"===dn&&(ht?Lt.remove():(Ct["s-cr"]=Lt,Lt["s-cn"]=!0))));else if(fe&&"style"===fe.$tag$){const Yt=se(null,Lt.textContent);Yt.$elm$=Lt,Yt.$index$="0",fe.$children$=[Yt]}},de=(fe,Te)=>{if(1===fe.nodeType){let ot=0;for(;otJt.push(fe),Re=fe=>Rn(fe).$modeName$,ge=fe=>Rn(fe).$hostElement$,Ne=(fe,Te,ot)=>{const ht=ge(fe);return{emit:Ct=>it(ht,Te,{bubbles:!!(4&ot),composed:!!(2&ot),cancelable:!!(1&ot),detail:Ct})}},it=(fe,Te,ot)=>{const ht=yn.ce(Te,ot);return fe.dispatchEvent(ht),ht},qe=new WeakMap,et=(fe,Te,ot)=>{let ht=St.get(fe);Hn&&ot?(ht=ht||new CSSStyleSheet,"string"==typeof ht?ht=Te:ht.replaceSync(Te)):ht=Te,St.set(fe,ht)},De=(fe,Te,ot)=>{var ht;const Ct=Ie(Te,ot),Lt=St.get(Ct);if(fe=11===fe.nodeType?fe:Cn,Lt)if("string"==typeof Lt){let dn,Kt=qe.get(fe=fe.head||fe);if(Kt||qe.set(fe,Kt=new Set),!Kt.has(Ct)){if(fe.host&&(dn=fe.querySelector(`[${k}="${Ct}"]`)))dn.innerHTML=Lt;else{dn=Cn.createElement("style"),dn.innerHTML=Lt;const fn=null!==(ht=yn.$nonce$)&&void 0!==ht?ht:ee(Cn);null!=fn&&dn.setAttribute("nonce",fn),fe.insertBefore(dn,fe.querySelector("link"))}4&Te.$flags$&&(dn.innerHTML+=T),Kt&&Kt.add(Ct)}}else fe.adoptedStyleSheets.includes(Lt)||(fe.adoptedStyleSheets=[...fe.adoptedStyleSheets,Lt]);return Ct},Ie=(fe,Te)=>"sc-"+(Te&&32&fe.$flags$?fe.$tagName$+"-"+Te:fe.$tagName$),bt=fe=>fe.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Qe=(fe,Te,ot,ht,Ct,Lt)=>{if(ot!==ht){let Kt=ui(fe,Te),dn=Te.toLowerCase();if("class"===Te){const fn=fe.classList,mn=sn(ot),ln=sn(ht);fn.remove(...mn.filter(Yt=>Yt&&!ln.includes(Yt))),fn.add(...ln.filter(Yt=>Yt&&!mn.includes(Yt)))}else if("style"===Te){for(const fn in ot)(!ht||null==ht[fn])&&(fn.includes("-")?fe.style.removeProperty(fn):fe.style[fn]="");for(const fn in ht)(!ot||ht[fn]!==ot[fn])&&(fn.includes("-")?fe.style.setProperty(fn,ht[fn]):fe.style[fn]=ht[fn])}else if("key"!==Te)if("ref"===Te)ht&&ht(fe);else if(Kt||"o"!==Te[0]||"n"!==Te[1]){const fn=$(ht);if((Kt||fn&&null!==ht)&&!Ct)try{if(fe.tagName.includes("-"))fe[Te]=ht;else{const ln=ht??"";"list"===Te?Kt=!1:(null==ot||fe[Te]!=ln)&&(fe[Te]=ln)}}catch{}let mn=!1;dn!==(dn=dn.replace(/^xlink\:?/,""))&&(Te=dn,mn=!0),null==ht||!1===ht?(!1!==ht||""===fe.getAttribute(Te))&&(mn?fe.removeAttributeNS(P,Te):fe.removeAttribute(Te)):(!Kt||4&Lt||Ct)&&!fn&&(ht=!0===ht?"":ht,mn?fe.setAttributeNS(P,Te,ht):fe.setAttribute(Te,ht))}else if(Te="-"===Te[2]?Te.slice(3):ui(an,dn)?dn.slice(2):dn[2]+Te.slice(3),ot||ht){const fn=Te.endsWith(un);Te=Te.replace(Sn,""),ot&&yn.rel(fe,Te,ot,fn),ht&&yn.ael(fe,Te,ht,fn)}}},Ut=/\s/,sn=fe=>fe?fe.split(Ut):[],un="Capture",Sn=new RegExp(un+"$"),bn=(fe,Te,ot,ht)=>{const Ct=11===Te.$elm$.nodeType&&Te.$elm$.host?Te.$elm$.host:Te.$elm$,Lt=fe&&fe.$attrs$||I,Kt=Te.$attrs$||I;for(ht in Lt)ht in Kt||Qe(Ct,ht,Lt[ht],void 0,ot,Te.$flags$);for(ht in Kt)Qe(Ct,ht,Lt[ht],Kt[ht],ot,Te.$flags$)},kt=(fe,Te,ot,ht)=>{const Ct=Te.$children$[ot];let Kt,dn,fn,Lt=0;if(l||(g=!0,"slot"===Ct.$tag$&&(a&&ht.classList.add(a+"-s"),Ct.$flags$|=Ct.$children$?2:1)),null!==Ct.$text$)Kt=Ct.$elm$=Cn.createTextNode(Ct.$text$);else if(1&Ct.$flags$)Kt=Ct.$elm$=Cn.createTextNode("");else{if(y||(y="svg"===Ct.$tag$),Kt=Ct.$elm$=Cn.createElementNS(y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Ct.$flags$?"slot-fb":Ct.$tag$),y&&"foreignObject"===Ct.$tag$&&(y=!1),bn(null,Ct,y),(fe=>null!=fe)(a)&&Kt["s-si"]!==a&&Kt.classList.add(Kt["s-si"]=a),Ct.$children$)for(Lt=0;Lt{yn.$flags$|=1;const ot=fe.childNodes;for(let ht=ot.length-1;ht>=0;ht--){const Ct=ot[ht];Ct["s-hn"]!==e&&Ct["s-ol"]&&(Je(Ct).insertBefore(Ct,Ge(Ct)),Ct["s-ol"].remove(),Ct["s-ol"]=void 0,Ct["s-sh"]=void 0,g=!0),Te&&jt(Ct,Te)}yn.$flags$&=-2},Fe=(fe,Te,ot,ht,Ct,Lt)=>{let dn,Kt=fe["s-cr"]&&fe["s-cr"].parentNode||fe;for(Kt.shadowRoot&&Kt.tagName===e&&(Kt=Kt.shadowRoot);Ct<=Lt;++Ct)ht[Ct]&&(dn=kt(null,ot,Ct,fe),dn&&(ht[Ct].$elm$=dn,Kt.insertBefore(dn,Ge(Te))))},Ee=(fe,Te,ot)=>{for(let ht=Te;ht<=ot;++ht){const Ct=fe[ht];if(Ct){const Lt=Ct.$elm$;Ot(Ct),Lt&&(c=!0,Lt["s-ol"]?Lt["s-ol"].remove():jt(Lt,!0),Lt.remove())}}},Ce=(fe,Te,ot=!1)=>fe.$tag$===Te.$tag$&&("slot"===fe.$tag$?fe.$name$===Te.$name$:!!ot||fe.$key$===Te.$key$),Ge=fe=>fe&&fe["s-ol"]||fe,Je=fe=>(fe["s-ol"]?fe["s-ol"]:fe).parentNode,vt=(fe,Te,ot=!1)=>{const ht=Te.$elm$=fe.$elm$,Ct=fe.$children$,Lt=Te.$children$,Kt=Te.$tag$,dn=Te.$text$;let fn;null===dn?(y="svg"===Kt||"foreignObject"!==Kt&&y,"slot"===Kt&&!l||bn(fe,Te,y),null!==Ct&&null!==Lt?((fe,Te,ot,ht,Ct=!1)=>{let Nr,Lr,Lt=0,Kt=0,dn=0,fn=0,mn=Te.length-1,ln=Te[0],Yt=Te[mn],Ln=ht.length-1,lr=ht[0],cr=ht[Ln];for(;Lt<=mn&&Kt<=Ln;)if(null==ln)ln=Te[++Lt];else if(null==Yt)Yt=Te[--mn];else if(null==lr)lr=ht[++Kt];else if(null==cr)cr=ht[--Ln];else if(Ce(ln,lr,Ct))vt(ln,lr,Ct),ln=Te[++Lt],lr=ht[++Kt];else if(Ce(Yt,cr,Ct))vt(Yt,cr,Ct),Yt=Te[--mn],cr=ht[--Ln];else if(Ce(ln,cr,Ct))("slot"===ln.$tag$||"slot"===cr.$tag$)&&jt(ln.$elm$.parentNode,!1),vt(ln,cr,Ct),fe.insertBefore(ln.$elm$,Yt.$elm$.nextSibling),ln=Te[++Lt],cr=ht[--Ln];else if(Ce(Yt,lr,Ct))("slot"===ln.$tag$||"slot"===cr.$tag$)&&jt(Yt.$elm$.parentNode,!1),vt(Yt,lr,Ct),fe.insertBefore(Yt.$elm$,ln.$elm$),Yt=Te[--mn],lr=ht[++Kt];else{for(dn=-1,fn=Lt;fn<=mn;++fn)if(Te[fn]&&null!==Te[fn].$key$&&Te[fn].$key$===lr.$key$){dn=fn;break}dn>=0?(Lr=Te[dn],Lr.$tag$!==lr.$tag$?Nr=kt(Te&&Te[Kt],ot,dn,fe):(vt(Lr,lr,Ct),Te[dn]=void 0,Nr=Lr.$elm$),lr=ht[++Kt]):(Nr=kt(Te&&Te[Kt],ot,Kt,fe),lr=ht[++Kt]),Nr&&Je(ln.$elm$).insertBefore(Nr,Ge(ln.$elm$))}Lt>mn?Fe(fe,null==ht[Ln+1]?null:ht[Ln+1].$elm$,ot,ht,Kt,Ln):Kt>Ln&&Ee(Te,Lt,mn)})(ht,Ct,Te,Lt,ot):null!==Lt?(null!==fe.$text$&&(ht.textContent=""),Fe(ht,null,Te,Lt,0,Lt.length-1)):null!==Ct&&Ee(Ct,0,Ct.length-1),y&&"svg"===Kt&&(y=!1)):(fn=ht["s-cr"])?fn.parentNode.textContent=dn:fe.$text$!==dn&&(ht.data=dn)},Bt=fe=>{const Te=fe.childNodes;for(const ot of Te)if(1===ot.nodeType){if(ot["s-sr"]){const ht=ot["s-sn"];ot.hidden=!1;for(const Ct of Te)if(Ct!==ot)if(Ct["s-hn"]!==ot["s-hn"]||""!==ht){if(1===Ct.nodeType&&(ht===Ct.getAttribute("slot")||ht===Ct["s-sn"])){ot.hidden=!0;break}}else if(1===Ct.nodeType||3===Ct.nodeType&&""!==Ct.textContent.trim()){ot.hidden=!0;break}}Bt(ot)}},Zt=[],Rt=fe=>{let Te,ot,ht;for(const Ct of fe.childNodes){if(Ct["s-sr"]&&(Te=Ct["s-cr"])&&Te.parentNode){ot=Te.parentNode.childNodes;const Lt=Ct["s-sn"];for(ht=ot.length-1;ht>=0;ht--)if(Te=ot[ht],!Te["s-cn"]&&!Te["s-nr"]&&Te["s-hn"]!==Ct["s-hn"])if(Dt(Te,Lt)){let Kt=Zt.find(dn=>dn.$nodeToRelocate$===Te);c=!0,Te["s-sn"]=Te["s-sn"]||Lt,Kt?(Kt.$nodeToRelocate$["s-sh"]=Ct["s-hn"],Kt.$slotRefNode$=Ct):(Te["s-sh"]=Ct["s-hn"],Zt.push({$slotRefNode$:Ct,$nodeToRelocate$:Te})),Te["s-sr"]&&Zt.map(dn=>{Dt(dn.$nodeToRelocate$,Te["s-sn"])&&(Kt=Zt.find(fn=>fn.$nodeToRelocate$===Te),Kt&&!dn.$slotRefNode$&&(dn.$slotRefNode$=Kt.$slotRefNode$))})}else Zt.some(Kt=>Kt.$nodeToRelocate$===Te)||Zt.push({$nodeToRelocate$:Te})}1===Ct.nodeType&&Rt(Ct)}},Dt=(fe,Te)=>1===fe.nodeType?null===fe.getAttribute("slot")&&""===Te||fe.getAttribute("slot")===Te:fe["s-sn"]===Te||""===Te,Ot=fe=>{fe.$attrs$&&fe.$attrs$.ref&&fe.$attrs$.ref(null),fe.$children$&&fe.$children$.map(Ot)},Vn=(fe,Te)=>{Te&&!fe.$onRenderResolve$&&Te["s-p"]&&Te["s-p"].push(new Promise(ot=>fe.$onRenderResolve$=ot))},Yn=(fe,Te)=>{if(fe.$flags$|=16,!(4&fe.$flags$))return Vn(fe,fe.$ancestorComponent$),Pe(()=>er(fe,Te));fe.$flags$|=512},er=(fe,Te)=>{const ht=fe.$lazyInstance$;let Ct;return Te&&(fe.$flags$|=256,fe.$queuedListeners$&&(fe.$queuedListeners$.map(([Lt,Kt])=>En(ht,Lt,Kt)),fe.$queuedListeners$=void 0),Ct=En(ht,"componentWillLoad")),Ct=kn(Ct,()=>En(ht,"componentWillRender")),kn(Ct,()=>Gt(fe,ht,Te))},kn=(fe,Te)=>Mt(fe)?fe.then(Te):Te(),Mt=fe=>fe instanceof Promise||fe&&fe.then&&"function"==typeof fe.then,Gt=function(){var fe=(0,n.c)(function*(Te,ot,ht){var Ct;const Lt=Te.$hostElement$,dn=Lt["s-rc"];ht&&(fe=>{const Te=fe.$cmpMeta$,ot=fe.$hostElement$,ht=Te.$flags$,Lt=De(ot.shadowRoot?ot.shadowRoot:ot.getRootNode(),Te,fe.$modeName$);10&ht&&(ot["s-sc"]=Lt,ot.classList.add(Lt+"-h"),2&ht&&ot.classList.add(Lt+"-s"))})(Te);mt(Te,ot,Lt,ht),dn&&(dn.map(mn=>mn()),Lt["s-rc"]=void 0);{const mn=null!==(Ct=Lt["s-p"])&&void 0!==Ct?Ct:[],ln=()=>Et(Te);0===mn.length?ln():(Promise.all(mn).then(ln),Te.$flags$|=4,mn.length=0)}});return function(ot,ht,Ct){return fe.apply(this,arguments)}}(),mt=(fe,Te,ot,ht)=>{try{Te=Te.render&&Te.render(),fe.$flags$&=-17,fe.$flags$|=2,((fe,Te,ot=!1)=>{var ht,Ct,Lt,Kt;const dn=fe.$hostElement$,fn=fe.$cmpMeta$,mn=fe.$vnode$||se(null,null),ln=(fe=>fe&&fe.$tag$===K)(Te)?Te:le(null,null,Te);if(e=dn.tagName,fn.$attrsToReflect$&&(ln.$attrs$=ln.$attrs$||{},fn.$attrsToReflect$.map(([Yt,Ln])=>ln.$attrs$[Ln]=dn[Yt])),ot&&ln.$attrs$)for(const Yt of Object.keys(ln.$attrs$))dn.hasAttribute(Yt)&&!["key","ref","style","class"].includes(Yt)&&(ln.$attrs$[Yt]=dn[Yt]);if(ln.$tag$=null,ln.$flags$|=4,fe.$vnode$=ln,ln.$elm$=mn.$elm$=dn.shadowRoot||dn,a=dn["s-sc"],l=0!=(1&fn.$flags$),u=dn["s-cr"],c=!1,vt(mn,ln,ot),yn.$flags$|=1,g){Rt(ln.$elm$);for(const Yt of Zt){const Ln=Yt.$nodeToRelocate$;if(!Ln["s-ol"]){const lr=Cn.createTextNode("");lr["s-nr"]=Ln,Ln.parentNode.insertBefore(Ln["s-ol"]=lr,Ln)}}for(const Yt of Zt){const Ln=Yt.$nodeToRelocate$,lr=Yt.$slotRefNode$;if(lr){const cr=lr.parentNode;let Nr=lr.nextSibling;{let Lr=null===(ht=Ln["s-ol"])||void 0===ht?void 0:ht.previousSibling;for(;Lr;){let ut=null!==(Ct=Lr["s-nr"])&&void 0!==Ct?Ct:null;if(ut&&ut["s-sn"]===Ln["s-sn"]&&cr===ut.parentNode&&(ut=ut.nextSibling,!ut||!ut["s-nr"])){Nr=ut;break}Lr=Lr.previousSibling}}(!Nr&&cr!==Ln.parentNode||Ln.nextSibling!==Nr)&&Ln!==Nr&&(!Ln["s-hn"]&&Ln["s-ol"]&&(Ln["s-hn"]=Ln["s-ol"].parentNode.nodeName),cr.insertBefore(Ln,Nr),1===Ln.nodeType&&(Ln.hidden=null!==(Lt=Ln["s-ih"])&&void 0!==Lt&&Lt))}else 1===Ln.nodeType&&(ot&&(Ln["s-ih"]=null!==(Kt=Ln.hidden)&&void 0!==Kt&&Kt),Ln.hidden=!0)}}c&&Bt(ln.$elm$),yn.$flags$&=-2,Zt.length=0,u=void 0})(fe,Te,ht)}catch(Ct){Ir(Ct,fe.$hostElement$)}return null},Et=fe=>{const ot=fe.$hostElement$,Ct=fe.$lazyInstance$,Lt=fe.$ancestorComponent$;En(Ct,"componentDidRender"),64&fe.$flags$?En(Ct,"componentDidUpdate"):(fe.$flags$|=64,qt(ot),En(Ct,"componentDidLoad"),fe.$onReadyResolve$(ot),Lt||_n()),fe.$onInstanceResolve$(ot),fe.$onRenderResolve$&&(fe.$onRenderResolve$(),fe.$onRenderResolve$=void 0),512&fe.$flags$&&ae(()=>Yn(fe,!1)),fe.$flags$&=-517},Xt=fe=>{{const Te=Rn(fe),ot=Te.$hostElement$.isConnected;return ot&&2==(18&Te.$flags$)&&Yn(Te,!1),ot}},_n=fe=>{qt(Cn.documentElement),ae(()=>it(an,"appload",{detail:{namespace:"ionic"}}))},En=(fe,Te,ot)=>{if(fe&&fe[Te])try{return fe[Te](ot)}catch(ht){Ir(ht)}},qt=fe=>fe.classList.add("hydrated"),Br=(fe,Te,ot)=>{var ht;const Ct=fe.prototype;if(Te.$members$){fe.watchers&&(Te.$watchers$=fe.watchers);const Lt=Object.entries(Te.$members$);if(Lt.map(([Kt,[dn]])=>{31&dn||2&ot&&32&dn?Object.defineProperty(Ct,Kt,{get(){return((fe,Te)=>Rn(this).$instanceValues$.get(Te))(0,Kt)},set(fn){((fe,Te,ot,ht)=>{const Ct=Rn(fe),Lt=Ct.$hostElement$,Kt=Ct.$instanceValues$.get(Te),dn=Ct.$flags$,fn=Ct.$lazyInstance$;ot=((fe,Te)=>null==fe||$(fe)?fe:4&Te?"false"!==fe&&(""===fe||!!fe):2&Te?parseFloat(fe):1&Te?String(fe):fe)(ot,ht.$members$[Te][0]);const mn=Number.isNaN(Kt)&&Number.isNaN(ot);if((!(8&dn)||void 0===Kt)&&ot!==Kt&&!mn&&(Ct.$instanceValues$.set(Te,ot),fn)){if(ht.$watchers$&&128&dn){const Yt=ht.$watchers$[Te];Yt&&Yt.map(Ln=>{try{fn[Ln](ot,Kt,Te)}catch(lr){Ir(lr,Lt)}})}2==(18&dn)&&Yn(Ct,!1)}})(this,Kt,fn,Te)},configurable:!0,enumerable:!0}):1&ot&&64&dn&&Object.defineProperty(Ct,Kt,{value(...fn){var mn;const ln=Rn(this);return null===(mn=ln?.$onInstancePromise$)||void 0===mn?void 0:mn.then(()=>{var Yt;return null===(Yt=ln.$lazyInstance$)||void 0===Yt?void 0:Yt[Kt](...fn)})}})}),1&ot){const Kt=new Map;Ct.attributeChangedCallback=function(dn,fn,mn){yn.jmp(()=>{var ln;const Yt=Kt.get(dn);if(this.hasOwnProperty(Yt))mn=this[Yt],delete this[Yt];else{if(Ct.hasOwnProperty(Yt)&&"number"==typeof this[Yt]&&this[Yt]==mn)return;if(null==Yt){const Ln=Rn(this),lr=Ln?.$flags$;if(lr&&!(8&lr)&&128&lr&&mn!==fn){const cr=Ln.$lazyInstance$,Nr=null===(ln=Te.$watchers$)||void 0===ln?void 0:ln[dn];Nr?.forEach(Lr=>{null!=cr[Lr]&&cr[Lr].call(cr,mn,fn,dn)})}return}}this[Yt]=(null!==mn||"boolean"!=typeof this[Yt])&&mn})},fe.observedAttributes=Array.from(new Set([...Object.keys(null!==(ht=Te.$watchers$)&&void 0!==ht?ht:{}),...Lt.filter(([dn,fn])=>15&fn[0]).map(([dn,fn])=>{var mn;const ln=fn[1]||dn;return Kt.set(ln,dn),512&fn[0]&&(null===(mn=Te.$attrsToReflect$)||void 0===mn||mn.push([dn,ln])),ln})]))}}return fe},sr=function(){var fe=(0,n.c)(function*(Te,ot,ht,Ct){let Lt;if(!(32&ot.$flags$)){ot.$flags$|=32;{if(Lt=Tt(ht),Lt.then){const mn=()=>{};Lt=yield Lt,mn()}Lt.isProxied||(ht.$watchers$=Lt.watchers,Br(Lt,ht,2),Lt.isProxied=!0);const fn=()=>{};ot.$flags$|=8;try{new Lt(ot)}catch(mn){Ir(mn)}ot.$flags$&=-9,ot.$flags$|=128,fn(),Mr(ot.$lazyInstance$)}if(Lt.style){let fn=Lt.style;"string"!=typeof fn&&(fn=fn[ot.$modeName$=(fe=>Jt.map(Te=>Te(fe)).find(Te=>!!Te))(Te)]);const mn=Ie(ht,ot.$modeName$);if(!St.has(mn)){const ln=()=>{};et(mn,fn,!!(1&ht.$flags$)),ln()}}}const Kt=ot.$ancestorComponent$,dn=()=>Yn(ot,!0);Kt&&Kt["s-rc"]?Kt["s-rc"].push(dn):dn()});return function(ot,ht,Ct,Lt){return fe.apply(this,arguments)}}(),Mr=fe=>{En(fe,"connectedCallback")},Jn=fe=>{const Te=fe["s-cr"]=Cn.createComment("");Te["s-cn"]=!0,fe.insertBefore(Te,fe.firstChild)},xn=fe=>{En(fe,"disconnectedCallback")},oi=function(){var fe=(0,n.c)(function*(Te){if(!(1&yn.$flags$)){const ot=Rn(Te);ot.$rmListeners$&&(ot.$rmListeners$.map(ht=>ht()),ot.$rmListeners$=void 0),ot?.$lazyInstance$?xn(ot.$lazyInstance$):ot?.$onReadyPromise$&&ot.$onReadyPromise$.then(()=>xn(ot.$lazyInstance$))}});return function(ot){return fe.apply(this,arguments)}}(),Sr=(fe,Te={})=>{var ot;const Ct=[],Lt=Te.exclude||[],Kt=an.customElements,dn=Cn.head,fn=dn.querySelector("meta[charset]"),mn=Cn.createElement("style"),ln=[],Yt=Cn.querySelectorAll(`[${k}]`);let Ln,lr=!0,cr=0;for(Object.assign(yn,Te),yn.$resourcesUrl$=new URL(Te.resourcesUrl||"./",Cn.baseURI).href,yn.$flags$|=2;cr{Lr[1].map(ut=>{var lo;const vi={$flags$:ut[0],$tagName$:ut[1],$members$:ut[2],$listeners$:ut[3]};4&vi.$flags$&&(Nr=!0),vi.$members$=ut[2],vi.$listeners$=ut[3],vi.$attrsToReflect$=[],vi.$watchers$=null!==(lo=ut[4])&&void 0!==lo?lo:{};const _r=vi.$tagName$,wn=class extends HTMLElement{constructor($n){super($n),or($n=this,vi),1&vi.$flags$&&$n.attachShadow({mode:"open",delegatesFocus:!!(16&vi.$flags$)})}connectedCallback(){Ln&&(clearTimeout(Ln),Ln=null),lr?ln.push(this):yn.jmp(()=>(fe=>{if(!(1&yn.$flags$)){const Te=Rn(fe),ot=Te.$cmpMeta$,ht=()=>{};if(1&Te.$flags$)pr(fe,Te,ot.$listeners$),Te?.$lazyInstance$?Mr(Te.$lazyInstance$):Te?.$onReadyPromise$&&Te.$onReadyPromise$.then(()=>Mr(Te.$lazyInstance$));else{let Ct;if(Te.$flags$|=1,Ct=fe.getAttribute(A),Ct){if(1&ot.$flags$){const Lt=De(fe.shadowRoot,ot,fe.getAttribute("s-mode"));fe.classList.remove(Lt+"-h",Lt+"-s")}((fe,Te,ot,ht)=>{const Lt=fe.shadowRoot,Kt=[],fn=Lt?[]:null,mn=ht.$vnode$=se(Te,null);yn.$orgLocNodes$||de(Cn.body,yn.$orgLocNodes$=new Map),fe[A]=ot,fe.removeAttribute(A),q(mn,Kt,[],fn,fe,fe,ot),Kt.map(ln=>{const Yt=ln.$hostId$+"."+ln.$nodeId$,Ln=yn.$orgLocNodes$.get(Yt),lr=ln.$elm$;Ln&&Un&&""===Ln["s-en"]&&Ln.parentNode.insertBefore(lr,Ln.nextSibling),Lt||(lr["s-hn"]=Te,Ln&&(lr["s-ol"]=Ln,lr["s-ol"]["s-nr"]=lr)),yn.$orgLocNodes$.delete(Yt)}),Lt&&fn.map(ln=>{ln&&Lt.appendChild(ln)})})(fe,ot.$tagName$,Ct,Te)}Ct||12&ot.$flags$&&Jn(fe);{let Lt=fe;for(;Lt=Lt.parentNode||Lt.host;)if(1===Lt.nodeType&&Lt.hasAttribute("s-id")&&Lt["s-p"]||Lt["s-p"]){Vn(Te,Te.$ancestorComponent$=Lt);break}}ot.$members$&&Object.entries(ot.$members$).map(([Lt,[Kt]])=>{if(31&Kt&&fe.hasOwnProperty(Lt)){const dn=fe[Lt];delete fe[Lt],fe[Lt]=dn}}),sr(fe,Te,ot)}ht()}})(this))}disconnectedCallback(){yn.jmp(()=>oi(this))}componentOnReady(){return Rn(this).$onReadyPromise$}};vi.$lazyBundleId$=Lr[0],!Lt.includes(_r)&&!Kt.get(_r)&&(Ct.push(_r),Kt.define(_r,Br(wn,vi,1)))})}),Ct.length>0&&(Nr&&(mn.innerHTML+=T),mn.innerHTML+=Ct+"{visibility:hidden}.hydrated{visibility:inherit}",mn.innerHTML.length)){mn.setAttribute("data-styles","");const Lr=null!==(ot=yn.$nonce$)&&void 0!==ot?ot:ee(Cn);null!=Lr&&mn.setAttribute("nonce",Lr),dn.insertBefore(mn,fn?fn.nextSibling:dn.firstChild)}lr=!1,ln.length?ln.map(Lr=>Lr.connectedCallback()):yn.jmp(()=>Ln=setTimeout(_n,30))},pr=(fe,Te,ot,ht)=>{ot&&ot.map(([Ct,Lt,Kt])=>{const dn=qn(fe,Ct),fn=Xn(Te,Kt),mn=Or(Ct);yn.ael(dn,Lt,fn,mn),(Te.$rmListeners$=Te.$rmListeners$||[]).push(()=>yn.rel(dn,Lt,fn,mn))})},Xn=(fe,Te)=>ot=>{try{256&fe.$flags$?fe.$lazyInstance$[Te](ot):(fe.$queuedListeners$=fe.$queuedListeners$||[]).push([Te,ot])}catch(ht){Ir(ht)}},qn=(fe,Te)=>4&Te?Cn:8&Te?an:16&Te?Cn.body:fe,Or=fe=>Tr?{passive:0!=(1&fe),capture:0!=(2&fe)}:0!=(2&fe),Qt=new WeakMap,Rn=fe=>Qt.get(fe),Kn=(fe,Te)=>Qt.set(Te.$lazyInstance$=fe,Te),or=(fe,Te)=>{const ot={$flags$:0,$hostElement$:fe,$cmpMeta$:Te,$instanceValues$:new Map};return ot.$onInstancePromise$=new Promise(ht=>ot.$onInstanceResolve$=ht),ot.$onReadyPromise$=new Promise(ht=>ot.$onReadyResolve$=ht),fe["s-p"]=[],fe["s-rc"]=[],pr(fe,ot,Te.$listeners$),Qt.set(fe,ot)},ui=(fe,Te)=>Te in fe,Ir=(fe,Te)=>(0,console.error)(fe,Te),ct=new Map,Tt=(fe,Te,ot)=>{const ht=fe.$tagName$.replace(/-/g,"_"),Ct=fe.$lazyBundleId$,Lt=ct.get(Ct);return Lt?Lt[ht]:i(21480)(`./${Ct}.entry.js`).then(Kt=>(ct.set(Ct,Kt),Kt[ht]),Ir)},St=new Map,Jt=[],an=typeof window<"u"?window:{},Cn=an.document||{head:{}},yn={$flags$:0,$resourcesUrl$:"",jmp:fe=>fe(),raf:fe=>requestAnimationFrame(fe),ael:(fe,Te,ot,ht)=>fe.addEventListener(Te,ot,ht),rel:(fe,Te,ot,ht)=>fe.removeEventListener(Te,ot,ht),ce:(fe,Te)=>new CustomEvent(fe,Te)},Qn=fe=>{Object.assign(yn,fe)},Un=!0,Tr=(()=>{let fe=!1;try{Cn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){fe=!0}}))}catch{}return fe})(),Hn=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),ur=[],Ei=[],on=(fe,Te)=>ot=>{fe.push(ot),_||(_=!0,Te&&4&yn.$flags$?ae(W):yn.raf(W))},H=fe=>{for(let Te=0;Te{H(ur),H(Ei),(_=ur.length>0)&&yn.raf(W)},ae=fe=>Promise.resolve(void 0).then(fe),He=on(ur,!1),Pe=on(Ei,!0)},52032:(ve,h,i)=>{"use strict";i.d(h,{a:()=>o,b:()=>d,p:()=>n});const n=(a,...u)=>console.warn(`[Ionic Warning]: ${a}`,...u),o=(a,...u)=>console.error(`[Ionic Error]: ${a}`,...u),d=(a,...u)=>console.error(`<${a.tagName.toLowerCase()}> must be used inside ${u.join(" or ")}.`)},14829:(ve,h,i)=>{"use strict";i.d(h,{d:()=>o,w:()=>n});const n=typeof window<"u"?window:void 0,o=typeof document<"u"?document:void 0},43452:(ve,h,i)=>{"use strict";i.d(h,{m:()=>b});var n=i(1528),o=i(14829),d=i(72784),a=i(52032),u=i(46384),e=i(88523),l=i(30388);const c=p=>(0,l.c)().duration(p?400:300),g=p=>{let f,S;const v=p.width+8,M=(0,l.c)(),E=(0,l.c)();p.isEndSide?(f=v+"px",S="0px"):(f=-v+"px",S="0px"),M.addElement(p.menuInnerEl).fromTo("transform",`translateX(${f})`,`translateX(${S})`);const k="ios"===(0,e.b)(p),N=k?.2:.25;return E.addElement(p.backdropEl).fromTo("opacity",.01,N),c(k).addAnimation([M,E])},y=p=>{let f,S;const v=(0,e.b)(p),M=p.width;p.isEndSide?(f=-M+"px",S=M+"px"):(f=M+"px",S=-M+"px");const E=(0,l.c)().addElement(p.menuInnerEl).fromTo("transform",`translateX(${S})`,"translateX(0px)"),A=(0,l.c)().addElement(p.contentEl).fromTo("transform","translateX(0px)",`translateX(${f})`),k=(0,l.c)().addElement(p.backdropEl).fromTo("opacity",.01,.32);return c("ios"===v).addAnimation([E,A,k])},_=p=>{const f=(0,e.b)(p),S=p.width*(p.isEndSide?-1:1)+"px",v=(0,l.c)().addElement(p.contentEl).fromTo("transform","translateX(0px)",`translateX(${S})`);return c("ios"===f).addAnimation(v)},b=(()=>{const p=new Map,f=[],S=function(){var X=(0,n.c)(function*(z){const Y=yield F(z,!0);return!!Y&&Y.open()});return function(Y){return X.apply(this,arguments)}}(),v=function(){var X=(0,n.c)(function*(z){const Y=yield void 0!==z?F(z,!0):T();return void 0!==Y&&Y.close()});return function(Y){return X.apply(this,arguments)}}(),M=function(){var X=(0,n.c)(function*(z){const Y=yield F(z,!0);return!!Y&&Y.toggle()});return function(Y){return X.apply(this,arguments)}}(),E=function(){var X=(0,n.c)(function*(z,Y){const q=yield F(Y);return q&&(q.disabled=!z),q});return function(Y,q){return X.apply(this,arguments)}}(),A=function(){var X=(0,n.c)(function*(z,Y){const q=yield F(Y);return q&&(q.swipeGesture=z),q});return function(Y,q){return X.apply(this,arguments)}}(),k=function(){var X=(0,n.c)(function*(z){if(null!=z){const Y=yield F(z);return void 0!==Y&&Y.isOpen()}return void 0!==(yield T())});return function(Y){return X.apply(this,arguments)}}(),N=function(){var X=(0,n.c)(function*(z){const Y=yield F(z);return!!Y&&!Y.disabled});return function(Y){return X.apply(this,arguments)}}(),F=function(){var X=(0,n.c)(function*(z,Y=!1){if(yield re(),"start"===z||"end"===z){const de=f.filter(Oe=>Oe.side===z&&!Oe.disabled);if(de.length>=1)return de.length>1&&Y&&(0,a.p)(`menuController queried for a menu on the "${z}" side, but ${de.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,de.map(Oe=>Oe.el)),de[0].el;const me=f.filter(Oe=>Oe.side===z);if(me.length>=1)return me.length>1&&Y&&(0,a.p)(`menuController queried for a menu on the "${z}" side, but ${me.length} menus were found. The first menu reference will be used. If this is not the behavior you want then pass the ID of the menu instead of its side.`,me.map(Oe=>Oe.el)),me[0].el}else if(null!=z)return Q(de=>de.menuId===z);return Q(de=>!de.disabled)||(f.length>0?f[0].el:void 0)});return function(Y){return X.apply(this,arguments)}}(),T=function(){var X=(0,n.c)(function*(){return yield re(),le()});return function(){return X.apply(this,arguments)}}(),P=function(){var X=(0,n.c)(function*(){return yield re(),se()});return function(){return X.apply(this,arguments)}}(),I=function(){var X=(0,n.c)(function*(){return yield re(),K()});return function(){return X.apply(this,arguments)}}(),j=(X,z)=>{p.set(X,z)},$=function(){var X=(0,n.c)(function*(z,Y,q){if(K())return!1;if(Y){const de=yield T();de&&z.el!==de&&(yield de.setOpen(!1,!1))}return z._setOpen(Y,q)});return function(Y,q,de){return X.apply(this,arguments)}}(),le=()=>Q(X=>X._isOpen),se=()=>f.map(X=>X.el),K=()=>f.some(X=>X.isAnimating),Q=X=>{const z=f.find(X);if(void 0!==z)return z.el},re=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(X=>new Promise(z=>(0,u.c)(X,z))));return j("reveal",_),j("push",y),j("overlay",g),null==o.d||o.d.addEventListener("ionBackButton",X=>{const z=le();z&&X.detail.register(d.MENU_BACK_BUTTON_PRIORITY,()=>z.close())}),{registerAnimation:j,get:F,getMenus:P,getOpen:T,isEnabled:N,swipeGesture:A,isAnimating:I,isOpen:k,enable:E,toggle:M,close:v,open:S,_getOpenSync:le,_createAnimation:(X,z)=>{const Y=p.get(X);if(!Y)throw new Error("animation not registered");return Y(z)},_register:X=>{f.indexOf(X)<0&&f.push(X)},_unregister:X=>{const z=f.indexOf(X);z>-1&&f.splice(z,1)},_setOpen:$}})()},88523:(ve,h,i)=>{"use strict";i.d(h,{a:()=>_,b:()=>se,c:()=>d,g:()=>y,i:()=>K});var n=i(62992);class o{constructor(){this.m=new Map}reset(re){this.m=new Map(Object.entries(re))}get(re,X){const z=this.m.get(re);return void 0!==z?z:X}getBoolean(re,X=!1){const z=this.m.get(re);return void 0===z?X:"string"==typeof z?"true"===z:!!z}getNumber(re,X){const z=parseFloat(this.m.get(re));return isNaN(z)?void 0!==X?X:NaN:z}set(re,X){this.m.set(re,X)}}const d=new o,c="ionic:",g="ionic-persist-config",y=Q=>C(Q),_=(Q,re)=>("string"==typeof Q&&(re=Q,Q=void 0),y(Q).includes(re)),C=(Q=window)=>{if(typeof Q>"u")return[];Q.Ionic=Q.Ionic||{};let re=Q.Ionic.platforms;return null==re&&(re=Q.Ionic.platforms=b(Q),re.forEach(X=>Q.document.documentElement.classList.add(`plt-${X}`))),re},b=Q=>{const re=d.get("platform");return Object.keys(ee).filter(X=>{const z=re?.[X];return"function"==typeof z?z(Q):ee[X](Q)})},f=Q=>!!(B(Q,/iPad/i)||B(Q,/Macintosh/i)&&N(Q)),M=Q=>B(Q,/android|sink/i),N=Q=>$(Q,"(any-pointer:coarse)"),T=Q=>P(Q)||I(Q),P=Q=>!!(Q.cordova||Q.phonegap||Q.PhoneGap),I=Q=>{const re=Q.Capacitor;return!!re?.isNative},B=(Q,re)=>re.test(Q.navigator.userAgent),$=(Q,re)=>{var X;return null===(X=Q.matchMedia)||void 0===X?void 0:X.call(Q,re).matches},ee={ipad:f,iphone:Q=>B(Q,/iPhone/i),ios:Q=>B(Q,/iPhone|iPod/i)||f(Q),android:M,phablet:Q=>{const re=Q.innerWidth,X=Q.innerHeight,z=Math.min(re,X),Y=Math.max(re,X);return z>390&&z<520&&Y>620&&Y<800},tablet:Q=>{const re=Q.innerWidth,X=Q.innerHeight,z=Math.min(re,X),Y=Math.max(re,X);return f(Q)||(Q=>M(Q)&&!B(Q,/mobile/i))(Q)||z>460&&z<820&&Y>780&&Y<1400},cordova:P,capacitor:I,electron:Q=>B(Q,/electron/i),pwa:Q=>{var re;return!!(null!==(re=Q.matchMedia)&&void 0!==re&&re.call(Q,"(display-mode: standalone)").matches||Q.navigator.standalone)},mobile:N,mobileweb:Q=>N(Q)&&!T(Q),desktop:Q=>!N(Q),hybrid:T};let le;const se=Q=>Q&&(0,n.g)(Q)||le,K=(Q={})=>{if(typeof window>"u")return;const re=window.document,X=window,z=X.Ionic=X.Ionic||{},Y={};Q._ael&&(Y.ael=Q._ael),Q._rel&&(Y.rel=Q._rel),Q._ce&&(Y.ce=Q._ce),(0,n.a)(Y);const q=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Q=>{try{const re=Q.sessionStorage.getItem(g);return null!==re?JSON.parse(re):{}}catch{return{}}})(X)),{persistConfig:!1}),z.config),(Q=>{const re={};return Q.location.search.slice(1).split("&").map(X=>X.split("=")).map(([X,z])=>[decodeURIComponent(X),decodeURIComponent(z)]).filter(([X])=>((Q,re)=>Q.substr(0,re.length)===re)(X,c)).map(([X,z])=>[X.slice(6),z]).forEach(([X,z])=>{re[X]=z}),re})(X)),Q);d.reset(q),d.getBoolean("persistConfig")&&((Q,re)=>{try{Q.sessionStorage.setItem(g,JSON.stringify(re))}catch{return}})(X,q),C(X),z.config=d,z.mode=le=d.get("mode",re.documentElement.getAttribute("mode")||(_(X,"ios")?"ios":"md")),d.set("mode",le),re.documentElement.setAttribute("mode",le),re.documentElement.classList.add(le),d.getBoolean("_testing")&&d.set("animated",!1);const de=Oe=>{var Re;return null===(Re=Oe.tagName)||void 0===Re?void 0:Re.startsWith("ION-")},me=Oe=>["ios","md"].includes(Oe);(0,n.c)(Oe=>{for(;Oe;){const Re=Oe.mode||Oe.getAttribute("mode");if(Re){if(me(Re))return Re;de(Oe)&&console.warn('Invalid ionic mode: "'+Re+'", expected: "ios" or "md"')}Oe=Oe.parentElement}return le})}},68512:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{iosTransitionAnimation:()=>b,shadow:()=>l});var n=i(30388),o=i(76256);i(14829),i(62992);const e=f=>document.querySelector(`${f}.ion-cloned-element`),l=f=>f.shadowRoot||f,c=f=>{const S="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs"),v="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=S){const M=S.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=M?M.querySelector(v):null}return f.querySelector(v)},g=(f,S)=>{const v="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs");let M=[];if(null!=v){const E=v.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=E&&(M=E.querySelectorAll("ion-buttons"))}else M=f.querySelectorAll("ion-buttons");for(const E of M){const A=E.closest("ion-header"),k=A&&!A.classList.contains("header-collapse-condense-inactive"),N=E.querySelector("ion-back-button"),F=E.classList.contains("buttons-collapse");if(null!==N&&("start"===E.slot||""===E.slot)&&(F&&k&&S||!F))return N}return null},_=(f,S,v,M,E,A,k,N,F)=>{var T,P;const I=S?`calc(100% - ${E.right+4}px)`:E.left-4+"px",j=S?"right":"left",L=S?"left":"right",B=S?"right":"left",$=(null===(T=A.textContent)||void 0===T?void 0:T.trim())===(null===(P=N.textContent)||void 0===P?void 0:P.trim()),le=(F.height-p)/k.height,se=$?`scale(${F.width/k.width}, ${le})`:`scale(${le})`,K="scale(1)",re=l(M).querySelector("ion-icon").getBoundingClientRect(),X=S?re.width/2-(re.right-E.right)+"px":E.left-re.width/2+"px",z=S?`-${window.innerWidth-E.right}px`:`${E.left}px`,Y=`${F.top}px`,q=`${E.top}px`,Oe=v?[{offset:0,transform:`translate3d(${z}, ${q}, 0)`},{offset:1,transform:`translate3d(${X}, ${Y}, 0)`}]:[{offset:0,transform:`translate3d(${X}, ${Y}, 0)`},{offset:1,transform:`translate3d(${z}, ${q}, 0)`}],ge=v?[{offset:0,opacity:1,transform:K},{offset:1,opacity:0,transform:se}]:[{offset:0,opacity:0,transform:se},{offset:1,opacity:1,transform:K}],qe=v?[{offset:0,opacity:1,transform:"scale(1)"},{offset:.2,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:0,transform:"scale(0.6)"}]:[{offset:0,opacity:0,transform:"scale(0.6)"},{offset:.6,opacity:0,transform:"scale(0.6)"},{offset:1,opacity:1,transform:"scale(1)"}],et=(0,n.c)(),De=(0,n.c)(),je=(0,n.c)(),Ie=e("ion-back-button"),bt=l(Ie).querySelector(".button-text"),Qe=l(Ie).querySelector("ion-icon");Ie.text=M.text,Ie.mode=M.mode,Ie.icon=M.icon,Ie.color=M.color,Ie.disabled=M.disabled,Ie.style.setProperty("display","block"),Ie.style.setProperty("position","fixed"),De.addElement(Qe),et.addElement(bt),je.addElement(Ie),je.beforeStyles({position:"absolute",top:"0px",[B]:"0px"}).keyframes(Oe),et.beforeStyles({"transform-origin":`${j} top`}).beforeAddWrite(()=>{M.style.setProperty("display","none"),Ie.style.setProperty(j,I)}).afterAddWrite(()=>{M.style.setProperty("display",""),Ie.style.setProperty("display","none"),Ie.style.removeProperty(j)}).keyframes(ge),De.beforeStyles({"transform-origin":`${L} center`}).keyframes(qe),f.addAnimation([et,De,je])},C=(f,S,v,M,E,A,k,N)=>{var F,T;const P=S?"right":"left",I=S?`calc(100% - ${E.right}px)`:`${E.left}px`,L=`${E.top}px`,$=S?`-${window.innerWidth-N.right-8}px`:N.x-8+"px",le=N.y-2+"px",se=(null===(F=k.textContent)||void 0===F?void 0:F.trim())===(null===(T=M.textContent)||void 0===T?void 0:T.trim()),Q=N.height/(A.height-p),re="scale(1)",X=se?`scale(${N.width/A.width}, ${Q})`:`scale(${Q})`,q=v?[{offset:0,opacity:0,transform:`translate3d(${$}, ${le}, 0) ${X}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${L}, 0) ${re}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${L}, 0) ${re}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${$}, ${le}, 0) ${X}`}],de=e("ion-title"),me=(0,n.c)();de.innerText=M.innerText,de.size=M.size,de.color=M.color,me.addElement(de),me.beforeStyles({"transform-origin":`${P} top`,height:`${E.height}px`,display:"",position:"relative",[P]:I}).beforeAddWrite(()=>{M.style.setProperty("opacity","0")}).afterAddWrite(()=>{M.style.setProperty("opacity",""),de.style.setProperty("display","none")}).keyframes(q),f.addAnimation(me)},b=(f,S)=>{var v;try{const M="cubic-bezier(0.32,0.72,0,1)",E="opacity",A="transform",k="0%",F="rtl"===f.ownerDocument.dir,T=F?"-99.5%":"99.5%",P=F?"33%":"-33%",I=S.enteringEl,j=S.leavingEl,L="back"===S.direction,B=I.querySelector(":scope > ion-content"),$=I.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),ee=I.querySelectorAll(":scope > ion-header > ion-toolbar"),le=(0,n.c)(),se=(0,n.c)();if(le.addElement(I).duration((null!==(v=S.duration)&&void 0!==v?v:0)||540).easing(S.easing||M).fill("both").beforeRemoveClass("ion-page-invisible"),j&&null!=f){const X=(0,n.c)();X.addElement(f),le.addAnimation(X)}if(B||0!==ee.length||0!==$.length?(se.addElement(B),se.addElement($)):se.addElement(I.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),le.addAnimation(se),L?se.beforeClearStyles([E]).fromTo("transform",`translateX(${P})`,`translateX(${k})`).fromTo(E,.8,1):se.beforeClearStyles([E]).fromTo("transform",`translateX(${T})`,`translateX(${k})`),B){const X=l(B).querySelector(".transition-effect");if(X){const z=X.querySelector(".transition-cover"),Y=X.querySelector(".transition-shadow"),q=(0,n.c)(),de=(0,n.c)(),me=(0,n.c)();q.addElement(X).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),de.addElement(z).beforeClearStyles([E]).fromTo(E,0,.1),me.addElement(Y).beforeClearStyles([E]).fromTo(E,.03,.7),q.addAnimation([de,me]),se.addAnimation([q])}}const K=I.querySelector("ion-header.header-collapse-condense"),{forward:Q,backward:re}=((f,S,v,M,E)=>{const A=g(M,v),k=c(E),N=c(M),F=g(E,v),T=null!==A&&null!==k&&!v,P=null!==N&&null!==F&&v;if(T){const I=k.getBoundingClientRect(),j=A.getBoundingClientRect(),L=l(A).querySelector(".button-text"),B=L.getBoundingClientRect(),ee=l(k).querySelector(".toolbar-title").getBoundingClientRect();C(f,S,v,k,I,ee,L,B),_(f,S,v,A,j,L,B,k,ee)}else if(P){const I=N.getBoundingClientRect(),j=F.getBoundingClientRect(),L=l(F).querySelector(".button-text"),B=L.getBoundingClientRect(),ee=l(N).querySelector(".toolbar-title").getBoundingClientRect();C(f,S,v,N,I,ee,L,B),_(f,S,v,F,j,L,B,N,ee)}return{forward:T,backward:P}})(le,F,L,I,j);if(ee.forEach(X=>{const z=(0,n.c)();z.addElement(X),le.addAnimation(z);const Y=(0,n.c)();Y.addElement(X.querySelector("ion-title"));const q=(0,n.c)(),de=Array.from(X.querySelectorAll("ion-buttons,[menuToggle]")),me=X.closest("ion-header"),Oe=me?.classList.contains("header-collapse-condense-inactive");let Re;Re=de.filter(L?qe=>{const et=qe.classList.contains("buttons-collapse");return et&&!Oe||!et}:qe=>!qe.classList.contains("buttons-collapse")),q.addElement(Re);const Ae=(0,n.c)();Ae.addElement(X.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const ge=(0,n.c)();ge.addElement(l(X).querySelector(".toolbar-background"));const Ne=(0,n.c)(),it=X.querySelector("ion-back-button");if(it&&Ne.addElement(it),z.addAnimation([Y,q,Ae,ge,Ne]),q.fromTo(E,.01,1),Ae.fromTo(E,.01,1),L)Oe||Y.fromTo("transform",`translateX(${P})`,`translateX(${k})`).fromTo(E,.01,1),Ae.fromTo("transform",`translateX(${P})`,`translateX(${k})`),Ne.fromTo(E,.01,1);else if(K||Y.fromTo("transform",`translateX(${T})`,`translateX(${k})`).fromTo(E,.01,1),Ae.fromTo("transform",`translateX(${T})`,`translateX(${k})`),ge.beforeClearStyles([E,"transform"]),me?.translucent?ge.fromTo("transform",F?"translateX(-100%)":"translateX(100%)","translateX(0px)"):ge.fromTo(E,.01,"var(--opacity)"),Q||Ne.fromTo(E,.01,1),it&&!Q){const et=(0,n.c)();et.addElement(l(it).querySelector(".button-text")).fromTo("transform",F?"translateX(-100px)":"translateX(100px)","translateX(0px)"),z.addAnimation(et)}}),j){const X=(0,n.c)(),z=j.querySelector(":scope > ion-content"),Y=j.querySelectorAll(":scope > ion-header > ion-toolbar"),q=j.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(z||0!==Y.length||0!==q.length?(X.addElement(z),X.addElement(q)):X.addElement(j.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),le.addAnimation(X),L){X.beforeClearStyles([E]).fromTo("transform",`translateX(${k})`,F?"translateX(-100%)":"translateX(100%)");const de=(0,o.g)(j);le.afterAddWrite(()=>{"normal"===le.getDirection()&&de.style.setProperty("display","none")})}else X.fromTo("transform",`translateX(${k})`,`translateX(${P})`).fromTo(E,1,.8);if(z){const de=l(z).querySelector(".transition-effect");if(de){const me=de.querySelector(".transition-cover"),Oe=de.querySelector(".transition-shadow"),Re=(0,n.c)(),Ae=(0,n.c)(),ge=(0,n.c)();Re.addElement(de).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Ae.addElement(me).beforeClearStyles([E]).fromTo(E,.1,0),ge.addElement(Oe).beforeClearStyles([E]).fromTo(E,.7,.03),Re.addAnimation([Ae,ge]),X.addAnimation([Re])}}Y.forEach(de=>{const me=(0,n.c)();me.addElement(de);const Oe=(0,n.c)();Oe.addElement(de.querySelector("ion-title"));const Re=(0,n.c)(),Ae=de.querySelectorAll("ion-buttons,[menuToggle]"),ge=de.closest("ion-header"),Ne=ge?.classList.contains("header-collapse-condense-inactive"),it=Array.from(Ae).filter(bt=>{const Qe=bt.classList.contains("buttons-collapse");return Qe&&!Ne||!Qe});Re.addElement(it);const qe=(0,n.c)(),et=de.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");et.length>0&&qe.addElement(et);const De=(0,n.c)();De.addElement(l(de).querySelector(".toolbar-background"));const je=(0,n.c)(),Ie=de.querySelector("ion-back-button");if(Ie&&je.addElement(Ie),me.addAnimation([Oe,Re,qe,je,De]),le.addAnimation(me),je.fromTo(E,.99,0),Re.fromTo(E,.99,0),qe.fromTo(E,.99,0),L){if(Ne||Oe.fromTo("transform",`translateX(${k})`,F?"translateX(-100%)":"translateX(100%)").fromTo(E,.99,0),qe.fromTo("transform",`translateX(${k})`,F?"translateX(-100%)":"translateX(100%)"),De.beforeClearStyles([E,"transform"]),ge?.translucent?De.fromTo("transform","translateX(0px)",F?"translateX(-100%)":"translateX(100%)"):De.fromTo(E,"var(--opacity)",0),Ie&&!re){const Qe=(0,n.c)();Qe.addElement(l(Ie).querySelector(".button-text")).fromTo("transform",`translateX(${k})`,`translateX(${(F?-124:124)+"px"})`),me.addAnimation(Qe)}}else Ne||Oe.fromTo("transform",`translateX(${k})`,`translateX(${P})`).fromTo(E,.99,0).afterClearStyles([A,E]),qe.fromTo("transform",`translateX(${k})`,`translateX(${P})`).afterClearStyles([A,E]),je.afterClearStyles([E]),Oe.afterClearStyles([E]),Re.afterClearStyles([E])})}return le}catch(M){throw M}},p=10},96556:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{mdTransitionAnimation:()=>u});var n=i(30388),o=i(76256);i(14829),i(62992);const u=(e,l)=>{var c,g,y;const _="40px",b="back"===l.direction,f=l.leavingEl,S=(0,o.g)(l.enteringEl),v=S.querySelector("ion-toolbar"),M=(0,n.c)();if(M.addElement(S).fill("both").beforeRemoveClass("ion-page-invisible"),b?M.duration((null!==(c=l.duration)&&void 0!==c?c:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):M.duration((null!==(g=l.duration)&&void 0!==g?g:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${_})`,"translateY(0px)").fromTo("opacity",.01,1),v){const E=(0,n.c)();E.addElement(v),M.addAnimation(E)}if(f&&b){M.duration((null!==(y=l.duration)&&void 0!==y?y:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const E=(0,n.c)();E.addElement((0,o.g)(f)).onFinish(A=>{1===A&&E.elements.length>0&&E.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${_})`).fromTo("opacity",1,0),M.addAnimation(E)}return M}},63816:(ve,h,i)=>{"use strict";i.d(h,{B:()=>Re,G:()=>Ae,O:()=>ge,a:()=>C,b:()=>b,c:()=>v,d:()=>Ne,e:()=>it,f:()=>K,g:()=>re,h:()=>Y,i:()=>de,j:()=>E,k:()=>A,l:()=>p,m:()=>f,n:()=>T,o:()=>le,p:()=>S,s:()=>Oe,t:()=>M});var n=i(1528),o=i(14829),d=i(72784),a=i(88523),u=i(10495),e=i(46384),l=i(52032);let c=0,g=0;const y=new WeakMap,_=qe=>({create:et=>k(qe,et),dismiss:(et,De,je)=>B(document,et,De,qe,je),getTop:()=>(0,n.c)(function*(){return le(document,qe)})()}),C=_("ion-alert"),b=_("ion-action-sheet"),p=_("ion-loading"),f=_("ion-modal"),S=_("ion-picker"),v=_("ion-popover"),M=_("ion-toast"),E=qe=>{typeof document<"u"&&L(document);const et=c++;qe.overlayIndex=et},A=qe=>(qe.hasAttribute("id")||(qe.id="ion-overlay-"+ ++g),qe.id),k=(qe,et)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(qe).then(()=>{const De=document.createElement(qe);return De.classList.add("overlay-hidden"),Object.assign(De,Object.assign(Object.assign({},et),{hasController:!0})),X(document).appendChild(De),new Promise(je=>(0,e.c)(De,je))}):Promise.resolve(),N='[tabindex]:not([tabindex^="-"]):not([hidden]):not([disabled]), input:not([type=hidden]):not([tabindex^="-"]):not([hidden]):not([disabled]), textarea:not([tabindex^="-"]):not([hidden]):not([disabled]), button:not([tabindex^="-"]):not([hidden]):not([disabled]), select:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable:not([tabindex^="-"]):not([hidden]):not([disabled]), .ion-focusable[disabled="false"]:not([tabindex^="-"]):not([hidden])',T=(qe,et)=>{const De=qe.querySelector(N);I(De,et)},P=(qe,et)=>{const De=Array.from(qe.querySelectorAll(N));I(De.length>0?De[De.length-1]:null,et)},I=(qe,et)=>{let De=qe;const je=qe?.shadowRoot;je&&(De=je.querySelector(N)||qe),De?(0,e.f)(De):et.focus()},L=qe=>{0===c&&(c=1,qe.addEventListener("focus",et=>{((qe,et)=>{const De=le(et,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),je=qe.target;De&&je&&!De.classList.contains("ion-disable-focus-trap")&&(De.shadowRoot?(()=>{if(De.contains(je))De.lastFocus=je;else if("ION-TOAST"===je.tagName)I(De.lastFocus,De);else{const Qe=De.lastFocus;T(De,De),Qe===et.activeElement&&P(De,De),De.lastFocus=et.activeElement}})():(()=>{if(De===je)De.lastFocus=void 0;else if("ION-TOAST"===je.tagName)I(De.lastFocus,De);else{const Qe=(0,e.g)(De);if(!Qe.contains(je))return;const Ut=Qe.querySelector(".ion-overlay-wrapper");if(!Ut)return;if(Ut.contains(je)||je===Qe.querySelector("ion-backdrop"))De.lastFocus=je;else{const sn=De.lastFocus;T(Ut,De),sn===et.activeElement&&P(Ut,De),De.lastFocus=et.activeElement}}})())})(et,qe)},!0),qe.addEventListener("ionBackButton",et=>{const De=le(qe);De?.backdropDismiss&&et.detail.register(d.OVERLAY_BACK_BUTTON_PRIORITY,()=>{De.dismiss(void 0,Re)})}),(0,d.shoudUseCloseWatcher)()||qe.addEventListener("keydown",et=>{if("Escape"===et.key){const De=le(qe);De?.backdropDismiss&&De.dismiss(void 0,Re)}}))},B=(qe,et,De,je,Ie)=>{const bt=le(qe,je,Ie);return bt?bt.dismiss(et,De):Promise.reject("overlay does not exist")},ee=(qe,et)=>((qe,et)=>(void 0===et&&(et="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(qe.querySelectorAll(et)).filter(De=>De.overlayIndex>0)))(qe,et).filter(De=>!(qe=>qe.classList.contains("overlay-hidden"))(De)),le=(qe,et,De)=>{const je=ee(qe,et);return void 0===De?je[je.length-1]:je.find(Ie=>Ie.id===De)},se=(qe=!1)=>{const De=X(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");De&&(qe?De.setAttribute("aria-hidden","true"):De.removeAttribute("aria-hidden"))},K=function(){var qe=(0,n.c)(function*(et,De,je,Ie,bt){var Qe,Ut;if(et.presented)return;se(!0),void 0!==o.d&&ee(o.d).forEach(kt=>kt.setAttribute("aria-hidden","true")),et.presented=!0,et.willPresent.emit(),null===(Qe=et.willPresentShorthand)||void 0===Qe||Qe.emit();const sn=(0,a.b)(et),un=et.enterAnimation?et.enterAnimation:a.c.get(De,"ios"===sn?je:Ie);(yield z(et,un,et.el,bt))&&(et.didPresent.emit(),null===(Ut=et.didPresentShorthand)||void 0===Ut||Ut.emit()),"ION-TOAST"!==et.el.tagName&&Q(et.el),et.keyboardClose&&(null===document.activeElement||!et.el.contains(document.activeElement))&&et.el.focus(),et.el.removeAttribute("aria-hidden")});return function(De,je,Ie,bt,Qe){return qe.apply(this,arguments)}}(),Q=function(){var qe=(0,n.c)(function*(et){let De=document.activeElement;if(!De)return;const je=De?.shadowRoot;je&&(De=je.querySelector(N)||De),yield et.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&De.focus()});return function(De){return qe.apply(this,arguments)}}(),re=function(){var qe=(0,n.c)(function*(et,De,je,Ie,bt,Qe,Ut){var sn,un,Sn;if(!et.presented)return!1;void 0!==o.d&&1===ee(o.d).length&&se(!1),et.presented=!1;try{et.el.style.setProperty("pointer-events","none"),et.willDismiss.emit({data:De,role:je}),null===(sn=et.willDismissShorthand)||void 0===sn||sn.emit({data:De,role:je});const bn=(0,a.b)(et),kt=et.leaveAnimation?et.leaveAnimation:a.c.get(Ie,"ios"===bn?bt:Qe);je!==Ae&&(yield z(et,kt,et.el,Ut)),et.didDismiss.emit({data:De,role:je}),null===(un=et.didDismissShorthand)||void 0===un||un.emit({data:De,role:je}),(y.get(et)||[]).forEach(Fe=>Fe.destroy()),y.delete(et),et.el.classList.add("overlay-hidden"),et.el.style.removeProperty("pointer-events"),void 0!==et.el.lastFocus&&(et.el.lastFocus=void 0)}catch(bn){console.error(bn)}return et.el.remove(),void 0!==o.d&&(null===(Sn=le(o.d))||void 0===Sn||Sn.removeAttribute("aria-hidden")),!0});return function(De,je,Ie,bt,Qe,Ut,sn){return qe.apply(this,arguments)}}(),X=qe=>qe.querySelector("ion-app")||qe.body,z=function(){var qe=(0,n.c)(function*(et,De,je,Ie){je.classList.remove("overlay-hidden");const Qe=De(et.el,Ie);(!et.animated||!a.c.getBoolean("animated",!0))&&Qe.duration(0),et.keyboardClose&&Qe.beforeAddWrite(()=>{const sn=je.ownerDocument.activeElement;sn?.matches("input,ion-input, ion-textarea")&&sn.blur()});const Ut=y.get(et)||[];return y.set(et,[...Ut,Qe]),yield Qe.play(),!0});return function(De,je,Ie,bt){return qe.apply(this,arguments)}}(),Y=(qe,et)=>{let De;const je=new Promise(Ie=>De=Ie);return q(qe,et,Ie=>{De(Ie.detail)}),je},q=(qe,et,De)=>{const je=Ie=>{(0,e.b)(qe,et,je),De(Ie)};(0,e.a)(qe,et,je)},de=qe=>"cancel"===qe||qe===Re,me=qe=>qe(),Oe=(qe,et)=>{if("function"==typeof qe)return a.c.get("_zoneGate",me)(()=>{try{return qe(et)}catch(je){throw je}})},Re="backdrop",Ae="gesture",ge=39,Ne=qe=>{let De,et=!1;const je=(0,u.C)(),Ie=(Ut=!1)=>{if(De&&!Ut)return{delegate:De,inline:et};const{el:sn,hasController:un,delegate:Sn}=qe;return et=null!==sn.parentNode&&!un,De=et?Sn||je:Sn,{inline:et,delegate:De}};return{attachViewToDom:function(){var Ut=(0,n.c)(function*(sn){const{delegate:un}=Ie(!0);if(un)return yield un.attachViewToDom(qe.el,sn);const{hasController:Sn}=qe;if(Sn&&void 0!==sn)throw new Error("framework delegate is missing");return null});return function(un){return Ut.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Ut}=Ie();Ut&&void 0!==qe.el&&Ut.removeViewFromDom(qe.el.parentElement,qe.el)}}},it=()=>{let qe;const et=()=>{qe&&(qe(),qe=void 0)};return{addClickListener:(je,Ie)=>{et();const bt=void 0!==Ie?document.getElementById(Ie):null;bt?qe=((Ut,sn)=>{const un=()=>{sn.present()};return Ut.addEventListener("click",un),()=>{Ut.removeEventListener("click",un)}})(bt,je):(0,l.p)(`A trigger element with the ID "${Ie}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,je)},removeClickListener:et}}},45256:(ve,h,i)=>{"use strict";i.d(h,{c:()=>d,g:()=>u,h:()=>o,o:()=>l});var n=i(1528);const o=(c,g)=>null!==g.closest(c),d=(c,g)=>"string"==typeof c&&c.length>0?Object.assign({"ion-color":!0,[`ion-color-${c}`]:!0},g):g,u=c=>{const g={};return(c=>void 0!==c?(Array.isArray(c)?c:c.split(" ")).filter(y=>null!=y).map(y=>y.trim()).filter(y=>""!==y):[])(c).forEach(y=>g[y]=!0),g},e=/^[a-z][a-z0-9+\-.]*:/,l=function(){var c=(0,n.c)(function*(g,y,_,C){if(null!=g&&"#"!==g[0]&&!e.test(g)){const b=document.querySelector("ion-router");if(b)return y?.preventDefault(),b.push(g,_,C)}return!1});return function(y,_,C,b){return c.apply(this,arguments)}}()},57140:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{AuthenticationHandler:()=>P,AuthenticationHandlerOptions:()=>N,BatchRequestContent:()=>d,BatchResponseContent:()=>a,ChaosHandler:()=>Y,ChaosHandlerOptions:()=>re,ChaosStrategy:()=>Q,Client:()=>Fe,CustomAuthenticationProvider:()=>Qe,FeatureUsageFlag:()=>F,FileUpload:()=>it,GraphClientError:()=>c,GraphError:()=>Ut,GraphRequest:()=>un,HTTPMessageHandler:()=>I,LargeFileUploadTask:()=>Ne,MiddlewareFactory:()=>K,OneDriveLargeFileUploadTask:()=>je,PageIterator:()=>bt,Range:()=>Ae,RedirectHandler:()=>$,RedirectHandlerOptions:()=>B,ResponseType:()=>q,RetryHandler:()=>L,RetryHandlerOptions:()=>j,StreamUpload:()=>Ie,TelemetryHandler:()=>le,TelemetryHandlerOptions:()=>T,UploadResult:()=>ge,getValidRangeSize:()=>De});var n=i(81316),o=function(Ee){return Ee.GET="GET",Ee.PATCH="PATCH",Ee.POST="POST",Ee.PUT="PUT",Ee.DELETE="DELETE",Ee}(o||{});let d=(()=>{class Ee{static validateDependencies(Ce){if(0===Ce.size){const Bt=new Error("Empty requests map, Please provide at least one request.");throw Bt.name="Empty Requests Error",Bt}return(Bt=>{const Zt=Bt.entries();let Rt=Zt.next();for(;!Rt.done;){const Dt=Rt.value[1];if(void 0!==Dt.dependsOn&&Dt.dependsOn.length>0)return!1;Rt=Zt.next()}return!0})(Ce)||(Bt=>{const Zt=Bt.entries();let Rt=Zt.next();const Dt=Rt.value[1];if(void 0!==Dt.dependsOn&&Dt.dependsOn.length>0)return!1;let Ot=Rt;for(Rt=Zt.next();!Rt.done;){const pn=Rt.value[1];if(void 0===pn.dependsOn||1!==pn.dependsOn.length||pn.dependsOn[0]!==Ot.value[1].id)return!1;Ot=Rt,Rt=Zt.next()}return!0})(Ce)||(Bt=>{const Zt=Bt.entries();let Rt=Zt.next();const Dt=Rt.value[1];let Ot;if(void 0===Dt.dependsOn||0===Dt.dependsOn.length)Ot=Dt.id;else{if(1!==Dt.dependsOn.length)return!1;{const pn=Dt.dependsOn[0];if(pn===Dt.id||!Bt.has(pn))return!1;Ot=pn}}for(Rt=Zt.next();!Rt.done;){const pn=Rt.value[1];if((void 0===pn.dependsOn||0===pn.dependsOn.length)&&Ot!==pn.id||void 0!==pn.dependsOn&&0!==pn.dependsOn.length&&(1===pn.dependsOn.length&&(pn.id===Ot||pn.dependsOn[0]!==Ot)||pn.dependsOn.length>1))return!1;Rt=Zt.next()}return!0})(Ce)}static getRequestData(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge={url:""},Je=new RegExp("^https?://");Ge.url=Je.test(Ce.url)?"/"+Ce.url.split(/.*?\/\/.*?\//)[1]:Ce.url,Ge.method=Ce.method;const vt={};return Ce.headers.forEach((Bt,Zt)=>{vt[Zt]=Bt}),Object.keys(vt).length&&(Ge.headers=vt),(Ce.method===o.PATCH||Ce.method===o.POST||Ce.method===o.PUT)&&(Ge.body=yield Ee.getRequestBody(Ce)),Ge})}static getRequestBody(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Je,Ge=!1;try{Je=yield Ce.clone().json(),Ge=!0}catch{}if(!Ge)try{if(typeof Blob<"u"){const vt=yield Ce.blob(),Bt=new FileReader;Je=yield new Promise(Zt=>{Bt.addEventListener("load",()=>{const Rt=Bt.result,Ot=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(Rt);Zt(Ot[4])},!1),Bt.readAsDataURL(vt)})}else typeof Buffer<"u"&&(Je=(yield Ce.buffer()).toString("base64"));Ge=!0}catch{}return Je})}constructor(Ce){if(this.requests=new Map,typeof Ce<"u"){const Ge=Ee.requestLimit;if(Ce.length>Ge){const Je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Ge}`);throw Je.name="Limit Exceeded Error",Je}for(const Je of Ce)this.addRequest(Je)}}addRequest(Ce){const Ge=Ee.requestLimit;if(""===Ce.id){const Je=new Error("Id for a request is empty, Please provide an unique id");throw Je.name="Empty Id For Request",Je}if(this.requests.size===Ge){const Je=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${Ge}`);throw Je.name="Limit Exceeded Error",Je}if(this.requests.has(Ce.id)){const Je=new Error(`Adding request with duplicate id ${Ce.id}, Make the id of the requests unique`);throw Je.name="Duplicate RequestId Error",Je}return this.requests.set(Ce.id,Ce),Ce.id}removeRequest(Ce){const Ge=this.requests.delete(Ce),Je=this.requests.entries();let vt=Je.next();for(;!vt.done;){const Bt=vt.value[1].dependsOn;if(typeof Bt<"u"){const Zt=Bt.indexOf(Ce);-1!==Zt&&Bt.splice(Zt,1),0===Bt.length&&delete vt.value[1].dependsOn}vt=Je.next()}return Ge}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ce=[],Ge={requests:Ce},Je=this.requests.entries();let vt=Je.next();if(vt.done){const Bt=new Error("No requests added yet, Please add at least one request.");throw Bt.name="Empty Payload",Bt}if(!Ee.validateDependencies(this.requests)){const Bt=new Error("Invalid dependency found, Dependency should be:\n1. Parallel - no individual request states a dependency in the dependsOn property.\n2. Serial - all individual requests depend on the previous individual request.\n3. Same - all individual requests that state a dependency in the dependsOn property, state the same dependency.");throw Bt.name="Invalid Dependency",Bt}for(;!vt.done;){const Bt=vt.value[1],Zt=yield Ee.getRequestData(Bt.request);if(void 0!==Zt.body&&(void 0===Zt.headers||void 0===Zt.headers["content-type"])){const Rt=new Error(`Content-type header is not mentioned for request #${Bt.id}, For request having body, Content-type header should be mentioned`);throw Rt.name="Invalid Content-type header",Rt}Zt.id=Bt.id,void 0!==Bt.dependsOn&&Bt.dependsOn.length>0&&(Zt.dependsOn=Bt.dependsOn),Ce.push(Zt),vt=Je.next()}return Ge.requests=Ce,Ge})}addDependency(Ce,Ge){if(!this.requests.has(Ce)){const Je=new Error(`Dependent ${Ce} does not exists, Please check the id`);throw Je.name="Invalid Dependent",Je}if(typeof Ge<"u"&&!this.requests.has(Ge)){const Je=new Error(`Dependency ${Ge} does not exists, Please check the id`);throw Je.name="Invalid Dependency",Je}if(typeof Ge<"u"){const Je=this.requests.get(Ce);if(void 0===Je.dependsOn&&(Je.dependsOn=[]),-1!==Je.dependsOn.indexOf(Ge)){const vt=new Error(`Dependency ${Ge} is already added for the request ${Ce}`);throw vt.name="Duplicate Dependency",vt}Je.dependsOn.push(Ge)}else{const Je=this.requests.entries();let vt,Bt=Je.next();for(;!Bt.done&&Bt.value[1].id!==Ce;)vt=Bt,Bt=Je.next();if(!(typeof vt<"u")){const Zt=new Error(`Can't add dependency ${Ge}, There is only a dependent request in the batch`);throw Zt.name="Invalid Dependency Addition",Zt}{const Zt=vt.value[0];if(void 0===Bt.value[1].dependsOn&&(Bt.value[1].dependsOn=[]),-1!==Bt.value[1].dependsOn.indexOf(Zt)){const Rt=new Error(`Dependency ${Zt} is already added for the request ${Ce}`);throw Rt.name="Duplicate Dependency",Rt}Bt.value[1].dependsOn.push(Zt)}}}removeDependency(Ce,Ge){const Je=this.requests.get(Ce);if(typeof Je>"u"||void 0===Je.dependsOn||0===Je.dependsOn.length)return!1;if(typeof Ge<"u"){const vt=Je.dependsOn.indexOf(Ge);return-1!==vt&&(Je.dependsOn.splice(vt,1),!0)}return delete Je.dependsOn,!0}}return Ee.requestLimit=20,Ee})();class a{constructor(ye){this.responses=new Map,this.update(ye)}createResponseObject(ye){const Ce=ye.body,Ge={};if(Ge.status=ye.status,void 0!==ye.statusText&&(Ge.statusText=ye.statusText),Ge.headers=ye.headers,void 0!==Ge.headers&&void 0!==Ge.headers["Content-Type"]&&"application/json"===Ge.headers["Content-Type"].split(";")[0]){const Je=JSON.stringify(Ce);return new Response(Je,Ge)}return new Response(Ce,Ge)}update(ye){this.nextLink=ye["@odata.nextLink"];const Ce=ye.responses;for(let Ge=0,Je=Ce.length;Ge{const ye=Ee&&Ee.constructor&&Ee.constructor.name;if("Buffer"===ye||"Blob"===ye||"File"===ye||"FormData"===ye||"string"==typeof Ee)return Ee;if("ArrayBuffer"===ye)Ee=Buffer.from(Ee);else if("Int8Array"===ye||"Int16Array"===ye||"Int32Array"===ye||"Uint8Array"===ye||"Uint16Array"===ye||"Uint32Array"===ye||"Uint8ClampedArray"===ye||"Float32Array"===ye||"Float64Array"===ye||"DataView"===ye)Ee=Buffer.from(Ee.buffer);else try{Ee=JSON.stringify(Ee)}catch{throw new Error("Unable to stringify the content")}return Ee},C=Ee=>p(Ee),b=(Ee,ye)=>(ye.forEach(Ce=>f(Ce)),p(Ee,ye)),p=(Ee,ye=l)=>{if(-1!==(Ee=Ee.toLowerCase()).indexOf("https://")){const Ce=(Ee=Ee.replace("https://","")).indexOf(":"),Ge=Ee.indexOf("/");let Je="";if(-1!==Ge)return-1!==Ce&&Ce{if(-1!==Ee.indexOf("/"))throw new c("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class S{constructor(ye=[]){this.middlewareOptions=new Map;for(const Ce of ye)this.middlewareOptions.set(Ce.constructor,Ce)}getMiddlewareOptions(ye){return this.middlewareOptions.get(ye)}setMiddlewareOptions(ye,Ce){this.middlewareOptions.set(ye,Ce)}}const v=()=>{let Ee="";for(let ye=0;ye<32;ye++)(8===ye||12===ye||16===ye||20===ye)&&(Ee+="-"),Ee+=Math.floor(16*Math.random()).toString(16);return Ee},M=(Ee,ye,Ce)=>{let Ge=null;if(typeof Request<"u"&&Ee instanceof Request)Ge=Ee.headers.get(Ce);else if(typeof ye<"u"&&void 0!==ye.headers)if(typeof Headers<"u"&&ye.headers instanceof Headers)Ge=ye.headers.get(Ce);else if(ye.headers instanceof Array){const Je=ye.headers;for(let vt=0,Bt=Je.length;vt{if(typeof Request<"u"&&Ee instanceof Request)Ee.headers.set(Ce,Ge);else if(typeof ye<"u")if(void 0===ye.headers)ye.headers=new Headers({[Ce]:Ge});else if(typeof Headers<"u"&&ye.headers instanceof Headers)ye.headers.set(Ce,Ge);else if(ye.headers instanceof Array){let Je=0;const vt=ye.headers.length;for(;Je{typeof Request<"u"&&Ee instanceof Request?Ee.headers.append(Ce,Ge):typeof ye<"u"&&(void 0===ye.headers?ye.headers=new Headers({[Ce]:Ge}):typeof Headers<"u"&&ye.headers instanceof Headers?ye.headers.append(Ce,Ge):ye.headers instanceof Array?ye.headers.push([Ce,Ge]):void 0===ye.headers?ye.headers={[Ce]:Ge}:void 0===ye.headers[Ce]?ye.headers[Ce]=Ge:ye.headers[Ce]+=`, ${Ge}`)};class N{constructor(ye,Ce){this.authenticationProvider=ye,this.authenticationProviderOptions=Ce}}var F=function(Ee){return Ee[Ee.NONE=0]="NONE",Ee[Ee.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Ee[Ee.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Ee[Ee.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Ee}(F||{});class T{constructor(){this.featureUsage=F.NONE}static updateFeatureUsageFlag(ye,Ce){let Ge;ye.middlewareControl instanceof S?Ge=ye.middlewareControl.getMiddlewareOptions(T):ye.middlewareControl=new S,typeof Ge>"u"&&(Ge=new T,ye.middlewareControl.setMiddlewareOptions(T,Ge)),Ge.setFeatureUsage(Ce)}setFeatureUsage(ye){this.featureUsage=this.featureUsage|ye}getFeatureUsage(){return this.featureUsage.toString(16)}}let P=(()=>{class Ee{constructor(Ce){this.authenticationProvider=Ce}execute(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge="string"==typeof Ce.request?Ce.request:Ce.request.url;if(C(Ge)||Ce.customHosts&&b(Ge,Ce.customHosts)){let Je,vt,Bt;Ce.middlewareControl instanceof S&&(Je=Ce.middlewareControl.getMiddlewareOptions(N)),Je&&(vt=Je.authenticationProvider,Bt=Je.authenticationProviderOptions),vt||(vt=this.authenticationProvider);const Rt=`Bearer ${yield vt.getAccessToken(Bt)}`;A(Ce.request,Ce.options,Ee.AUTHORIZATION_HEADER,Rt),T.updateFeatureUsageFlag(Ce,F.AUTHENTICATION_HANDLER_ENABLED)}else Ce.options.headers&&delete Ce.options.headers[Ee.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(Ce)})}setNext(Ce){this.nextMiddleware=Ce}}return Ee.AUTHORIZATION_HEADER="Authorization",Ee})();class I{execute(ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){ye.response=yield fetch(ye.request,ye.options)})}}let j=(()=>{class Ee{constructor(Ce=Ee.DEFAULT_DELAY,Ge=Ee.DEFAULT_MAX_RETRIES,Je=Ee.defaultShouldRetry){if(Ce>Ee.MAX_DELAY&&Ge>Ee.MAX_MAX_RETRIES){const vt=new Error(`Delay and MaxRetries should not be more than ${Ee.MAX_DELAY} and ${Ee.MAX_MAX_RETRIES}`);throw vt.name="MaxLimitExceeded",vt}if(Ce>Ee.MAX_DELAY){const vt=new Error(`Delay should not be more than ${Ee.MAX_DELAY}`);throw vt.name="MaxLimitExceeded",vt}if(Ge>Ee.MAX_MAX_RETRIES){const vt=new Error(`MaxRetries should not be more than ${Ee.MAX_MAX_RETRIES}`);throw vt.name="MaxLimitExceeded",vt}if(Ce<0&&Ge<0){const vt=new Error("Delay and MaxRetries should not be negative");throw vt.name="MinExpectationNotMet",vt}if(Ce<0){const vt=new Error("Delay should not be negative");throw vt.name="MinExpectationNotMet",vt}if(Ge<0){const vt=new Error("MaxRetries should not be negative");throw vt.name="MinExpectationNotMet",vt}this.delay=Math.min(Ce,Ee.MAX_DELAY),this.maxRetries=Math.min(Ge,Ee.MAX_MAX_RETRIES),this.shouldRetry=Je}getMaxDelay(){return Ee.MAX_DELAY}}return Ee.DEFAULT_DELAY=3,Ee.DEFAULT_MAX_RETRIES=3,Ee.MAX_DELAY=180,Ee.MAX_MAX_RETRIES=10,Ee.defaultShouldRetry=()=>!0,Ee})(),L=(()=>{class Ee{constructor(Ce=new j){this.options=Ce}isRetry(Ce){return-1!==Ee.RETRY_STATUS_CODES.indexOf(Ce.status)}isBuffered(Ce,Ge){const Je="string"==typeof Ce?Ge.method:Ce.method;return!((Je===o.PUT||Je===o.PATCH||Je===o.POST)&&"application/octet-stream"===M(Ce,Ge,"Content-Type"))}getDelay(Ce,Ge,Je){const vt=()=>Number(Math.random().toFixed(3)),Bt=void 0!==Ce.headers?Ce.headers.get(Ee.RETRY_AFTER_HEADER):null;let Zt;return Zt=null!==Bt?Number.isNaN(Number(Bt))?Math.round((new Date(Bt).getTime()-Date.now())/1e3):Number(Bt):Ge>=2?this.getExponentialBackOffTime(Ge)+Je+vt():Je+vt(),Math.min(Zt,this.options.getMaxDelay()+vt())}getExponentialBackOffTime(Ce){return Math.round(.5*(Math.pow(2,Ce)-1))}sleep(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge=1e3*Ce;return new Promise(Je=>setTimeout(Je,Ge))})}getOptions(Ce){let Ge;return Ce.middlewareControl instanceof S&&(Ge=Ce.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof Ge>"u"&&(Ge=Object.assign(new j,this.options)),Ge}executeWithRetry(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(Ce),Ge{class Ee{constructor(Ce=Ee.DEFAULT_MAX_REDIRECTS,Ge=Ee.defaultShouldRedirect){if(Ce>Ee.MAX_MAX_REDIRECTS){const Je=new Error(`MaxRedirects should not be more than ${Ee.MAX_MAX_REDIRECTS}`);throw Je.name="MaxLimitExceeded",Je}if(Ce<0){const Je=new Error("MaxRedirects should not be negative");throw Je.name="MinExpectationNotMet",Je}this.maxRedirects=Ce,this.shouldRedirect=Ge}}return Ee.DEFAULT_MAX_REDIRECTS=5,Ee.MAX_MAX_REDIRECTS=20,Ee.defaultShouldRedirect=()=>!0,Ee})(),$=(()=>{class Ee{constructor(Ce=new B){this.options=Ce}isRedirect(Ce){return-1!==Ee.REDIRECT_STATUS_CODES.indexOf(Ce.status)}hasLocationHeader(Ce){return Ce.headers.has(Ee.LOCATION_HEADER)}getLocationHeader(Ce){return Ce.headers.get(Ee.LOCATION_HEADER)}isRelativeURL(Ce){return-1===Ce.indexOf("://")}shouldDropAuthorizationHeader(Ce,Ge){const Je=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,vt=Je.exec(Ce);let Bt,Zt;null!==vt&&(Bt=vt[0]);const Rt=Je.exec(Ge);return null!==Rt&&(Zt=Rt[0]),typeof Bt<"u"&&typeof Zt<"u"&&Bt!==Zt}updateRequestUrl(Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){Ge.request="string"==typeof Ge.request?Ce:yield((Ee,ye)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const Ce=ye.headers.get("Content-Type")?yield ye.blob():yield Promise.resolve(void 0),{method:Ge,headers:Je,referrer:vt,referrerPolicy:Bt,mode:Zt,credentials:Rt,cache:Dt,redirect:Ot,integrity:pn,keepalive:Vn,signal:Yn}=ye;return new Request(Ee,{method:Ge,headers:Je,body:Ce,referrer:vt,referrerPolicy:Bt,mode:Zt,credentials:Rt,cache:Dt,redirect:Ot,integrity:pn,keepalive:Vn,signal:Yn})}))(Ce,Ge.request)})}getOptions(Ce){let Ge;return Ce.middlewareControl instanceof S&&(Ge=Ce.middlewareControl.getMiddlewareOptions(B)),typeof Ge>"u"&&(Ge=Object.assign(new B,this.options)),Ge}executeWithRedirect(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(Ce);const vt=Ce.response;if(Ge{class Ee{execute(Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ge="string"==typeof Ce.request?Ce.request:Ce.request.url;if(C(Ge)||Ce.customHosts&&b(Ge,Ce.customHosts)){let Je=M(Ce.request,Ce.options,Ee.CLIENT_REQUEST_ID_HEADER);Je||(Je=v(),E(Ce.request,Ce.options,Ee.CLIENT_REQUEST_ID_HEADER,Je));let Bt,vt=`${Ee.PRODUCT_NAME}/3.0.7`;if(Ce.middlewareControl instanceof S&&(Bt=Ce.middlewareControl.getMiddlewareOptions(T)),Bt){const Zt=Bt.getFeatureUsage();vt+=` (${Ee.FEATURE_USAGE_STRING}=${Zt})`}A(Ce.request,Ce.options,Ee.SDK_VERSION_HEADER,vt)}else delete Ce.options.headers[Ee.CLIENT_REQUEST_ID_HEADER],delete Ce.options.headers[Ee.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(Ce)})}setNext(Ce){this.nextMiddleware=Ce}}return Ee.CLIENT_REQUEST_ID_HEADER="client-request-id",Ee.SDK_VERSION_HEADER="SdkVersion",Ee.PRODUCT_NAME="graph-js",Ee.FEATURE_USAGE_STRING="featureUsage",Ee})();class K{static getDefaultMiddlewareChain(ye){const Ce=[],Ge=new P(ye),Je=new L(new j),vt=new le,Bt=new I;if(Ce.push(Ge),Ce.push(Je),"object"==typeof process){const Zt=new $(new B);Ce.push(Zt)}return Ce.push(vt),Ce.push(Bt),Ce}}var Q=function(Ee){return Ee[Ee.MANUAL=0]="MANUAL",Ee[Ee.RANDOM=1]="RANDOM",Ee}(Q||{});class re{constructor(ye=Q.RANDOM,Ce="Some error Happened",Ge,Je,vt,Bt){if(this.chaosStrategy=ye,this.statusCode=Ge,this.statusMessage=Ce,this.chaosPercentage=void 0!==Je?Je:10,this.responseBody=vt,this.headers=Bt,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const X={GET:[429,500,502,503,504],POST:[429,500,502,503,504,507],PUT:[429,500,502,503,504,507],PATCH:[429,500,502,503,504],DELETE:[429,500,502,503,504,507]},z={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Too Early",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"};class Y{constructor(ye=new re,Ce){this.options=ye,this.manualMap=Ce}createResponseHeaders(ye,Ce,Ge){const Je=ye.headers?new Headers(ye.headers):new Headers;return Je.append("Cache-Control","no-store"),Je.append("request-id",Ce),Je.append("client-request-id",Ce),Je.append("x-ms-ags-diagnostic",""),Je.append("Date",Ge),Je.append("Strict-Transport-Security",""),429===ye.statusCode&&Je.append("retry-after","3"),Je}createResponseBody(ye,Ce,Ge){if(ye.responseBody)return ye.responseBody;let Je;return Je=ye.statusCode>=400?{error:{code:z[ye.statusCode],message:ye.statusMessage,innerError:{"request-id":Ce,date:Ge}}}:{},Je}createResponse(ye,Ce){const Ge=Ce.request,Je=v(),vt=new Date,Bt=this.createResponseHeaders(ye,Je,vt.toString()),Zt=this.createResponseBody(ye,Je,vt.toString()),Rt={url:Ge,status:ye.statusCode,statusText:ye.statusMessage,headers:Bt};Ce.response=new Response("string"==typeof Zt?Zt:JSON.stringify(Zt),Rt)}sendRequest(ye,Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(ye,Ce.request,Ce.options.method),ye.chaosStrategy===Q.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(Bt+"$").test(Je)&&void 0!==this.manualMap.get(Bt).get(Ge)&&(ye.statusCode=this.manualMap.get(Bt).get(Ge))})}}else ye.statusCode=this.getRandomStatusCode(Ge)}getOptions(ye){let Ce;return ye.middlewareControl instanceof S&&(Ce=ye.middlewareControl.getMiddlewareOptions(re)),typeof Ce>"u"&&(Ce=Object.assign(new re,this.options)),Ce}execute(ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ce=this.getOptions(ye);return yield this.sendRequest(Ce,ye)})}setNext(ye){this.nextMiddleware=ye}}var q=function(Ee){return Ee.ARRAYBUFFER="arraybuffer",Ee.BLOB="blob",Ee.DOCUMENT="document",Ee.JSON="json",Ee.RAW="raw",Ee.STREAM="stream",Ee.TEXT="text",Ee}(q||{}),de=function(Ee){return Ee.TEXT_HTML="text/html",Ee.TEXT_XML="text/xml",Ee.APPLICATION_XML="application/xml",Ee.APPLICATION_XHTML="application/xhtml+xml",Ee}(de||{}),me=function(Ee){return Ee.TEXT_PLAIN="text/plain",Ee.APPLICATION_JSON="application/json",Ee}(me||{}),Oe=function(Ee){return Ee.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Ee.IMAGE="^image\\/.+",Ee}(Oe||{});class Re{static parseDocumentResponse(ye,Ce){return typeof DOMParser<"u"?new Promise((Ge,Je)=>{ye.text().then(vt=>{try{const Zt=(new DOMParser).parseFromString(vt,Ce);Ge(Zt)}catch(Bt){Je(Bt)}})}):Promise.resolve(ye.body)}static convertResponse(ye,Ce){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===ye.status)return Promise.resolve();let Ge;const Je=ye.headers.get("Content-type");switch(Ce){case q.ARRAYBUFFER:Ge=yield ye.arrayBuffer();break;case q.BLOB:Ge=yield ye.blob();break;case q.DOCUMENT:Ge=yield Re.parseDocumentResponse(ye,de.TEXT_XML);break;case q.JSON:Ge=yield ye.json();break;case q.STREAM:Ge=yield Promise.resolve(ye.body);break;case q.TEXT:Ge=yield ye.text();break;default:if(null!==Je){const vt=Je.split(";")[0];Ge=new RegExp(Oe.DOCUMENT).test(vt)?yield Re.parseDocumentResponse(ye,vt):new RegExp(Oe.IMAGE).test(vt)?ye.blob():vt===me.TEXT_PLAIN?yield ye.text():vt===me.APPLICATION_JSON?yield ye.json():Promise.resolve(ye.body)}else Ge=Promise.resolve(ye.body)}return Ge})}static getResponse(ye,Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(Ce===q.RAW)return Promise.resolve(ye);{const Je=yield Re.convertResponse(ye,Ce);if(!ye.ok)throw Je;if("function"!=typeof Ge)return Je;Ge(null,Je)}})}}class Ae{constructor(ye=-1,Ce=-1){this.minValue=ye,this.maxValue=Ce}}class ge{get location(){return this._location}set location(ye){this._location=ye}get responseBody(){return this._responseBody}set responseBody(ye){this._responseBody=ye}constructor(ye,Ce){this._location=Ce,this._responseBody=ye}static CreateUploadResult(ye,Ce){return new ge(ye,Ce.get("location"))}}class Ne{static createUploadSession(ye,Ce,Ge,Je={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const vt=yield ye.api(Ce).headers(Je).post(Ge);return{url:vt.uploadUrl,expiry:new Date(vt.expirationDateTime),isCancelled:!1}})}constructor(ye,Ce,Ge,Je={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=ye,!Ce.sliceFile)throw new c("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=Ce,this.file=Ce,Je.rangeSize||(Je.rangeSize=this.DEFAULT_FILE_SIZE),this.options=Je,this.uploadSession=Ge,this.nextRange=new Ae(0,this.options.rangeSize-1)}parseRange(ye){const Ce=ye[0];if(typeof Ce>"u"||""===Ce)return new Ae;const Ge=Ce.split("-"),Je=parseInt(Ge[0],10);let vt=parseInt(Ge[1],10);return Number.isNaN(vt)&&(vt=this.file.size-1),new Ae(Je,vt)}updateTaskStatus(ye){this.uploadSession.expiry=new Date(ye.expirationDateTime),this.nextRange=this.parseRange(ye.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const ye=this.nextRange.minValue;let Ce=ye+this.options.rangeSize-1;return Ce>=this.file.size&&(Ce=this.file.size-1),new Ae(ye,Ce)}sliceFile(ye){if(console.warn("The LargeFileUploadTask.sliceFile() function has been deprecated and moved into the FileObject interface."),this.file.content instanceof ArrayBuffer||this.file.content instanceof Blob||this.file.content instanceof Uint8Array)return this.file.content.slice(ye.minValue,ye.maxValue+1);throw new c("The LargeFileUploadTask.sliceFile() function expects only Blob, ArrayBuffer or Uint8Array file content. Please note that the sliceFile() function is deprecated.")}upload(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ye=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const Ce=this.getNextRange();if(-1===Ce.maxValue){const Zt=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw Zt.name="Invalid Session",Zt}const Ge=yield this.file.sliceFile(Ce),Je=yield this.uploadSliceGetRawResponse(Ge,Ce,this.file.size);if(!Je)throw new c("Something went wrong! Large file upload slice response is null.");const vt=yield Re.getResponse(Je);if(201===Je.status||200===Je.status&&vt.id)return this.reportProgress(ye,Ce),ge.CreateUploadResult(vt,Je.headers);this.updateTaskStatus({expirationDateTime:vt.expirationDateTime||vt.ExpirationDateTime,nextExpectedRanges:vt.NextExpectedRanges||vt.nextExpectedRanges}),this.reportProgress(ye,Ce)}})}reportProgress(ye,Ce){ye&&ye.progress&&ye.progress(Ce,ye.extraCallbackParam)}uploadSlice(ye,Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Ce.maxValue-Ce.minValue+1),"Content-Range":`bytes ${Ce.minValue}-${Ce.maxValue}/${Ge}`,"Content-Type":"application/octet-stream"}).put(ye)})}uploadSliceGetRawResponse(ye,Ce,Ge){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(Ce.maxValue-Ce.minValue+1),"Content-Range":`bytes ${Ce.minValue}-${Ce.maxValue}/${Ge}`,"Content-Type":"application/octet-stream"}).responseType(q.RAW).put(ye)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ye=yield this.client.api(this.uploadSession.url).responseType(q.RAW).delete();return 204===ye.status&&(this.uploadSession.isCancelled=!0),ye})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ye=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(ye),ye})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class it{constructor(ye,Ce,Ge){if(this.content=ye,this.name=Ce,this.size=Ge,!ye||!Ce||!Ge)throw new c("Please provide the upload content, name of the file and size of the file")}sliceFile(ye){return this.content.slice(ye.minValue,ye.maxValue+1)}}const De=(Ee=5242880)=>(Ee>62914560&&(Ee=62914560),(Ee=>(Ee>327680&&(Ee=320*Math.floor(Ee/327680)*1024),Ee))(Ee));let je=(()=>{class Ee extends Ne{static constructCreateSessionUrl(Ce,Ge=Ee.DEFAULT_UPLOAD_PATH){return Ce=Ce.trim(),""===(Ge=Ge.trim())&&(Ge="/"),"/"!==Ge[0]&&(Ge=`/${Ge}`),"/"!==Ge[Ge.length-1]&&(Ge=`${Ge}/`),`/me/drive/root:${Ge.split("/").map(Je=>encodeURIComponent(Je)).join("/")}${encodeURIComponent(Ce)}:/createUploadSession`}static getFileInfo(Ce,Ge){let Je,vt;return typeof Blob<"u"&&Ce instanceof Blob?(Je=new File([Ce],Ge),vt=Je.size):typeof File<"u"&&Ce instanceof File?(Je=Ce,vt=Je.size):typeof Uint8Array<"u"&&Ce instanceof Uint8Array&&(vt=Ce.byteLength,Je=Ce.buffer.slice(Ce.byteOffset,Ce.byteOffset+Ce.byteLength)),{content:Je,size:vt}}static create(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Ce||!Ge||!Je)throw new c("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const vt=Je.fileName,Bt=Ee.getFileInfo(Ge,vt),Zt=new it(Bt.content,vt,Bt.size);return this.createTaskWithFileObject(Ce,Zt,Je)})}static createTaskWithFileObject(Ce,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!Ce||!Ge||!Je)throw new c("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const vt=Je.uploadSessionURL?Je.uploadSessionURL:Ee.constructCreateSessionUrl(Je.fileName,Je.path),Bt={fileName:Je.fileName,fileDescription:Je.fileDescription,conflictBehavior:Je.conflictBehavior},Zt=yield Ee.createUploadSession(Ce,vt,Bt),Rt=De(Je.rangeSize);return new Ee(Ce,Ge,Zt,{rangeSize:Rt,uploadEventHandlers:Je.uploadEventHandlers})})}static createUploadSession(Ce,Ge,Je){const vt=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return vt.createUploadSession.call(this,Ce,Ge,{item:{"@microsoft.graph.conflictBehavior":Je?.conflictBehavior||"rename",name:Je?.fileName,description:Je?.fileDescription}})})}constructor(Ce,Ge,Je,vt){super(Ce,Ge,Je,vt)}commit(Ce,Ge="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Je={name:this.file.name,"@microsoft.graph.conflictBehavior":Ge,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(Ce).put(Je)})}}return Ee.DEFAULT_UPLOAD_PATH="/",Ee})();class Ie{constructor(ye,Ce,Ge){if(this.content=ye,this.name=Ce,this.size=Ge,!ye||!Ce||!Ge)throw new c("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Ce=ye.maxValue-ye.minValue+1;const Ge=[];if(this.previousSlice){if(ye.minValue=Ce?this.content.read(Ce):yield this.readNBytesFromStream(Ce));const Je=Buffer.concat(Ge);return this.previousSlice={fileSlice:Je,range:ye},Je})}readNBytesFromStream(ye){return new Promise((Ce,Ge)=>{const Je=[];let vt=ye,Bt=0;this.content.on("end",()=>{if(vt>0)return Ge(new c("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let Zt;for(;Bt0&&(vt=ye-Bt);return Bt===ye?Ce(Buffer.concat(Je)):this.content&&this.content.readable?void 0:Ge(new c("Error encountered while reading the stream during the upload"))})})}}class bt{constructor(ye,Ce,Ge,Je){this.client=ye,this.collection=Ce.value,this.nextLink=Ce["@odata.nextLink"],this.deltaLink=Ce["@odata.deltaLink"],this.callback=Ge,this.cursor=0,this.complete=!1,this.requestOptions=Je}iterationHelper(){if(void 0===this.collection)return!1;let ye=!0;for(;ye&&this.cursor=this.collection.length&&(this.complete=!0)})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return this.iterate()})}isComplete(){return this.complete}}class Qe{constructor(ye){this.provider=ye}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((ye,Ce)=>{this.provider((Ge,Je)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(Je)ye(Je);else{Ge||(Ge=new c("Access token is undefined or empty.\t\t\t\t\t\tPlease provide a valid token.\t\t\t\t\t\tFor more help - https://github.com/microsoftgraph/msgraph-sdk-javascript/blob/dev/docs/CustomAuthenticationProvider.md"));const vt=yield c.setGraphClientError(Ge);Ce(vt)}}))})})}}class Ut extends Error{constructor(ye=-1,Ce,Ge){super(Ce||Ge&&Ge.message),Object.setPrototypeOf(this,Ut.prototype),this.statusCode=ye,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=Ge?Ge.stack:this.stack}}class sn{static constructError(ye,Ce,Ge){const Je=new Ut(Ce,"",ye);return void 0!==ye.name&&(Je.code=ye.name),Je.body=ye.toString(),Je.date=new Date,Je.headers=Ge?.headers,Je}static constructErrorFromResponse(ye,Ce,Ge){const Je=ye.error,vt=new Ut(Ce,Je.message);return vt.code=Je.code,void 0!==Je.innerError&&(vt.requestId=Je.innerError["request-id"],vt.date=new Date(Je.innerError.date)),vt.body=JSON.stringify(Je),vt.headers=Ge?.headers,vt}static getError(ye=null,Ce=-1,Ge,Je){return(0,n.__awaiter)(this,void 0,void 0,function*(){let vt;if(ye&&ye.error?vt=sn.constructErrorFromResponse(ye,Ce,Je):ye instanceof Error?vt=sn.constructError(ye,Ce,Je):(vt=new Ut(Ce),vt.body=ye),"function"!=typeof Ge)return vt;Ge(vt,null)})}}class un{constructor(ye,Ce,Ge){this.parsePath=Je=>{if(-1!==Je.indexOf("https://")){const Bt=(Je=Je.replace("https://","")).indexOf("/");-1!==Bt&&(this.urlComponents.host="https://"+Je.substring(0,Bt),Je=Je.substring(Bt+1,Je.length));const Zt=Je.indexOf("/");-1!==Zt&&(this.urlComponents.version=Je.substring(0,Zt),Je=Je.substring(Zt+1,Je.length))}"/"===Je.charAt(0)&&(Je=Je.substr(1));const vt=Je.indexOf("?");if(-1===vt)this.urlComponents.path=Je;else{this.urlComponents.path=Je.substr(0,vt);const Bt=Je.substring(vt+1,Je.length).split("&");for(const Zt of Bt)this.parseQueryParameter(Zt)}},this.httpClient=ye,this.config=Ce,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath(Ge)}addCsvQueryParameter(ye,Ce,Ge){this.urlComponents.oDataQueryParams[ye]=this.urlComponents.oDataQueryParams[ye]?this.urlComponents.oDataQueryParams[ye]+",":"";let Je=[];Ge.length>1&&"string"==typeof Ce?Je=Array.prototype.slice.call(Ge):"string"==typeof Ce?Je.push(Ce):Je=Je.concat(Ce),this.urlComponents.oDataQueryParams[ye]+=Je.join(",")}buildFullUrl(){const ye=(Ee=>{const ye=vt=>vt.replace(/\/+$/,""),Ce=vt=>vt.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((vt,Bt)=>[ye(vt),Ce(Bt)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(ye),ye}createQueryString(){const ye=this.urlComponents,Ce=[];if(0!==Object.keys(ye.oDataQueryParams).length)for(const Ge in ye.oDataQueryParams)Object.prototype.hasOwnProperty.call(ye.oDataQueryParams,Ge)&&Ce.push(Ge+"="+ye.oDataQueryParams[Ge]);if(0!==Object.keys(ye.otherURLQueryParams).length)for(const Ge in ye.otherURLQueryParams)Object.prototype.hasOwnProperty.call(ye.otherURLQueryParams,Ge)&&Ce.push(Ge+"="+ye.otherURLQueryParams[Ge]);if(0!==ye.otherURLQueryOptions.length)for(const Ge of ye.otherURLQueryOptions)Ce.push(Ge);return Ce.length>0?"?"+Ce.join("&"):""}parseQueryParameter(ye){if("string"==typeof ye)if("?"===ye.charAt(0)&&(ye=ye.substring(1)),-1!==ye.indexOf("&")){const Ce=ye.split("&");for(const Ge of Ce)this.parseQueryParamenterString(Ge)}else this.parseQueryParamenterString(ye);else if(ye.constructor===Object)for(const Ce in ye)Object.prototype.hasOwnProperty.call(ye,Ce)&&this.setURLComponentsQueryParamater(Ce,ye[Ce]);return this}parseQueryParamenterString(ye){if(this.isValidQueryKeyValuePair(ye)){const Ce=ye.indexOf("="),Ge=ye.substring(0,Ce),Je=ye.substring(Ce+1);this.setURLComponentsQueryParamater(Ge,Je)}else this.urlComponents.otherURLQueryOptions.push(ye)}setURLComponentsQueryParamater(ye,Ce){if(-1!==g.indexOf(ye)){const Ge=this.urlComponents.oDataQueryParams[ye];this.urlComponents.oDataQueryParams[ye]=!Ge||"$expand"!==ye&&"$select"!==ye&&"$orderby"!==ye?Ce:Ge+","+Ce}else this.urlComponents.otherURLQueryParams[ye]=Ce}isValidQueryKeyValuePair(ye){const Ce=ye.indexOf("=");return!(-1===Ce||-1!==ye.indexOf("(")&&ye.indexOf("(")1?this.parseMiddleWareArray(ye):this.middleware=ye[0]}parseMiddleWareArray(ye){ye.forEach((Ce,Ge)=>{Ge{if(typeof Promise>"u"&&typeof fetch>"u"){const Ee=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Ee.name="PolyFillNotAvailable",Ee}if(typeof Promise>"u"){const Ee=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Ee.name="PolyFillNotAvailable",Ee}if(typeof fetch>"u"){const Ee=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Ee.name="PolyFillNotAvailable",Ee}})();for(const Ge in ye)Object.prototype.hasOwnProperty.call(ye,Ge)&&(this.config[Ge]=ye[Ge]);let Ce;if(void 0!==ye.authProvider&&void 0!==ye.middleware){const Ge=new Error;throw Ge.name="AmbiguityInInitialization",Ge.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",Ge}if(void 0!==ye.authProvider)Ce=kt.createWithAuthenticationProvider(ye.authProvider);else{if(void 0===ye.middleware){const Ge=new Error;throw Ge.name="InvalidMiddlewareChain",Ge.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",Ge}Ce=new Sn(...[].concat(ye.middleware))}this.httpClient=Ce}api(ye){return new un(this.httpClient,this.config,ye)}}},80484:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppRoutingModule=void 0;const n=i(81316),o=i(56568),d=n.__importStar(i(54496)),u=(n.__importStar(i(56568)),[{path:"TestPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(79112))).then(l=>l.CommonTestseitePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(27735))).then(l=>l.CommonHomePageModule)},{path:"DebugPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(37724))).then(l=>l.CommonDebugPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(66068))).then(l=>l.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(74484))).then(l=>l.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(19204))).then(l=>l.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(5884))).then(l=>l.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(53964))).then(l=>l.CommonUrlaubEinstellungenPageModule)},{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(96012))).then(l=>l.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(99988))).then(l=>l.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(27735))).then(l=>l.CommonHomePageModule)},{path:"PDFViewerPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(i(64316))).then(l=>l.CommonPdfViewerPageModule)}]);h.AppRoutingModule=(()=>{class l{static \u0275fac=function(y){return new(y||l)};static \u0275mod=d.\u0275\u0275defineNgModule({type:l});static \u0275inj=d.\u0275\u0275defineInjector({imports:[o.RouterModule.forRoot(u,{preloadingStrategy:o.PreloadAllModules}),o.RouterModule]})}return l})()},86108:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.AppComponent=void 0;const o=i(81316),d=i(80103),a=i(21112),u=o.__importStar(i(17964)),e=o.__importStar(i(54496)),l=o.__importStar(i(10716)),c=o.__importStar(i(7992)),g=o.__importStar(i(59460)),y=o.__importStar(i(97092)),_=o.__importStar(i(9028)),C=o.__importStar(i(14652)),b=o.__importStar(i(19668)),p=o.__importStar(i(29743)),f=o.__importStar(i(22848)),S=o.__importStar(i(15024)),v=o.__importStar(i(58864)),M=o.__importStar(i(9544)),E=o.__importStar(i(8608)),A=o.__importStar(i(34388));h.AppComponent=(()=>{class N{platform;Pool;Menuservice;AuthService;changeDetector;MSALService;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;Debug;AuthSubscription;isIframe;Destroying=new d.Subject;Zoomfaktor;Settingssubscription;constructor(T,P,I,j,L,B,$,ee,le,se,K,Q,re,X,z,Y,q){this.platform=T,this.Pool=P,this.Menuservice=I,this.AuthService=j,this.changeDetector=L,this.MSALService=B,this.Basics=$,this.Tools=ee,this.Const=le,this.authService=se,this.msalBroadcastService=K,this.MitarbeiterDB=Q,this.MitarbeitersettingsDB=re,this.StandortDB=X,this.UrlaubDB=z,this.GraphService=Y,this.Debug=q;try{this.AuthSubscription=null,this.isIframe=!1,this.Zoomfaktor=100,this.Settingssubscription=null}catch(de){this.Debug.ShowErrorMessage(de.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled?(this.isIframe=window!==window.parent&&!window.opener,this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,d.filter)(T=>(this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),T===a.InteractionStatus.None)),(0,d.takeUntil)(this.Destroying)).subscribe(T=>{this.Debug.ShowMessage("Interaction Status: "+T,"App Component","StartApp",this.Debug.Typen.Component),this.AuthService.SetShowLoginStatus()}),this.AuthService.LoginSuccessEvent.subscribe(()=>{this.Debug.ShowMessage("LoginSuccessEvent -> Start App","App Component","StartApp",this.Debug.Typen.Component),this.StartApp()}),this.StartApp()})):this.StartApp()}catch(T){this.Debug.ShowErrorMessage(T.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var T=this;return n(function*(){try{let P,I;if(T.Debug.ShowMessage("Start App","App Component","StartApp",T.Debug.Typen.Component),yield T.platform.ready(),yield T.AuthService.SetActiveUser(),T.Basics.Contentbreite=T.platform.width(),T.Basics.Contenthoehe=T.platform.height(),null!==T.AuthService.ActiveUser){T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist angemeldet: "+T.AuthService.ActiveUser.username,"App Component","StartApp",T.Debug.Typen.Component),T.Pool.ShowProgress=!0,T.Pool.MaxProgressValue=15,T.Pool.CurrentProgressValue=0;try{!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigene Daten",yield T.GraphService.GetOwnUserinfo(),T.Pool.CurrentProgressValue++),!0===T.AuthService.SecurityEnabled&&(T.Pool.ProgressMessage="Lade eigens Bild",yield T.GraphService.GetOwnUserimage(),T.Pool.CurrentProgressValue++),T.Pool.ProgressMessage="Lade eigene Outlookkategorien",T.Pool.Outlookkatekorien=yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Outlookkategorien",yield T.GraphService.GetOwnOutlookCategories(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Change Log",yield T.Pool.ReadChangelogliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Standortliste",yield T.Pool.ReadStandorteliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield T.Pool.ReadMitarbeiterliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let j=yield T.GraphService.GetAllUsers();T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield T.UrlaubDB.ReadRegionen("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Deutschland",yield T.UrlaubDB.ReadFerien("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Ferien Bulgarien",yield T.UrlaubDB.ReadFerien("BG"),T.Pool.CurrentProgressValue++;for(let L of j)P=u.find(T.Pool.Mitarbeiterliste,B=>B.UserID===L.id),u.isUndefined(P)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(L),-1===L.mail.toLowerCase().indexOf("admin")&&(P=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(L),console.log("Neuer Mitrabeiter:"),console.log(P),yield T.MitarbeiterDB.AddMitarbeiter(P)))}catch{}!1===T.MitarbeiterDB.CheckMitarbeiterExists(T.GraphService.Graphuser.mail)?(T.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",T.Debug.Typen.Component),P=T.MitarbeiterDB.ConvertGraphuserToMitarbeiter(T.GraphService.Graphuser),P=yield T.MitarbeiterDB.AddMitarbeiter(P)):(T.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",T.Debug.Typen.Component),P=u.find(T.Pool.Mitarbeiterliste,{UserID:T.GraphService.Graphuser.id})),T.Pool.Mitarbeiterdaten=T.Pool.InitMitarbeiter(P),T.Pool.CheckMitarbeiterdaten(),T.UrlaubDB.SetMitarbeiter(T.Pool.Mitarbeiterdaten),T.Pool.ProgressMessage="Lade Feiertage Deutschland",yield T.UrlaubDB.ReadFeiertage("DE"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield T.UrlaubDB.ReadFeiertage("BG"),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Lade Einstellungen",yield T.Pool.ReadSettingsliste(),T.Pool.CurrentProgressValue++,T.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",T.Pool.Mitarbeitersettings=T.Pool.InitMitarbeitersettings(),T.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield T.MitarbeitersettingsDB.SaveMitarbeitersettings(),T.Pool.CurrentProgressValue++,T.Zoomfaktor=T.Pool.Mitarbeitersettings.Zoomfaktor,T.Pool.MitarbeitersettingsChanged.emit(),null===T.Pool.Mitarbeiterdaten.SettingsID&&(T.Pool.Mitarbeiterdaten.SettingsID=T.Pool.Mitarbeitersettings._id,yield T.MitarbeiterDB.UpdateMitarbeiter(T.Pool.Mitarbeiterdaten)),T.MitarbeiterDB.InitService(),T.StandortDB.InitService(),T.Pool.ShowProgress=!1,I=!0===T.Pool.Mitarbeiterdaten.Planeradministrator?T.Const.Pages.HomePage:T.Const.Pages.UrlaubPlanungPage,T.Pool.ProjektdatenLoaded=!0,T.SetProjekteMenuebereich(I),T.Tools.SetRootPage(I).then(()=>{T.Pool.LoadingAllDataFinished.emit()})}else T.AuthService.SetShowLoginStatus(),T.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",T.Debug.Typen.Component)}catch(P){T.Debug.ShowErrorMessage(P.message,"App Component","StartApp",T.Debug.Typen.Component)}})()}SetProjekteMenuebereich(T){try{switch(T){case this.Const.Pages.HomePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home,this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.EmaillistePage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Email;break;case this.Const.Pages.UrlaubPlanungPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung;break;case this.Const.Pages.UrlaubUebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Uebersicht;break;case this.Const.Pages.UrlaubFreigabenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Freigaben;break;case this.Const.Pages.UrlaubEinstellungenPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Einstellungen;break;default:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte}switch(T){case this.Const.Pages.PjAufgabenlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste;break;case this.Const.Pages.PjProtokolleListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Protokolle;break;case this.Const.Pages.PjBaustelleLoplistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.LOPListe;break;case this.Const.Pages.PjBaustelleTagebuchlistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Bautagebuch;break;case this.Const.Pages.PjFestlegungslistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Festlegungen;break;case this.Const.Pages.PjPlanungsmatrixPage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Planungsmatrix;break;case this.Const.Pages.PjSimontabellelistePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Simontabelle;break;case this.Const.Pages.PjNotizenListePage:this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Notizen}}catch(P){this.Debug.ShowErrorMessage(P,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(P){return new(P||N)(e.\u0275\u0275directiveInject(l.Platform),e.\u0275\u0275directiveInject(c.DatabasePoolService),e.\u0275\u0275directiveInject(g.MenueService),e.\u0275\u0275directiveInject(y.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(_.MsalService),e.\u0275\u0275directiveInject(C.BasicsProvider),e.\u0275\u0275directiveInject(b.ToolsProvider),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(_.MsalService),e.\u0275\u0275directiveInject(_.MsalBroadcastService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(v.DatabaseStandorteService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(E.Graphservice),e.\u0275\u0275directiveInject(A.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:N,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(P,I){1&P&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&P&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",I.Zoomfaktor,"%"))},dependencies:[l.IonApp,l.IonRouterOutlet],styles:['ngx-material-timepicker-content{--body-background-color: #7b6a58;--primary-font-family: "Roboto",sans-serif;--button-color: none !important;--dial-active-color: #fff;--dial-inactive-color: rgba(255, 255, 255, .5);--dial-background-color: #354547 !important;--dial-editable-active-color: #c7d304 !important;--dial-editable-background-color: #fff;--clock-face-time-active-color: #fff;--clock-face-time-inactive-color: #6c6c6c;--clock-face-inner-time-inactive-color: #929292;--clock-face-time-disabled-color: #c5c5c5;--clock-face-background-color: #354547;--clock-hand-color: #c7d304 !important}']})}return N})()},5204:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AppModule=h.MSALInstanceFactory=void 0;const n=i(81316),o=i(14476),d=i(10716),a=i(86108),u=i(80484),e=i(19668),l=i(34388),c=i(29743),g=i(14652),y=i(33940),_=i(59460),C=i(21052),b=i(44556),p=i(97048),f=i(9028),S=i(21112),v=i(36716),M=i(2300),E=i(57848),A=n.__importStar(i(54496)),N=(n.__importStar(i(10716)),!1===v.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),F=!1===v.environment.production?"http://localhost:8080":"bae-urlaubsplaner-server.azurewebsites.net",j=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,L=(se,K)=>{console.log(K)};h.MSALInstanceFactory=()=>new S.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:N},cache:{cacheLocation:S.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:j},system:{loggerOptions:{loggerCallback:L,logLevel:S.LogLevel.Error,piiLoggingEnabled:!1}}});const $=()=>{const se=new Map;return se.set("https://graph.microsoft.com/v1.0/me",["user.read"]),se.set(F,["api://ca7568f7-4672-4348-843b-b80b210d692f/database_access"]),{interactionType:S.InteractionType.Redirect,protectedResourceMap:se}},ee=()=>({interactionType:S.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email"]}});h.AppModule=(()=>{class se{static \u0275fac=function(re){return new(re||se)};static \u0275mod=A.\u0275\u0275defineNgModule({type:se,bootstrap:[a.AppComponent,f.MsalRedirectComponent]});static \u0275inj=A.\u0275\u0275defineInjector({providers:[{provide:p.HTTP_INTERCEPTORS,useClass:f.MsalInterceptor,multi:!0},{provide:f.MSAL_INSTANCE,useFactory:h.MSALInstanceFactory},{provide:f.MSAL_GUARD_CONFIG,useFactory:ee},{provide:f.MSAL_INTERCEPTOR_CONFIG,useFactory:$},f.MsalService,f.MsalGuard,f.MsalBroadcastService,e.ToolsProvider,l.DebugProvider,c.ConstProvider,g.BasicsProvider,_.MenueService,y.LoadingAnimationService,C.DisplayService],imports:[o.BrowserModule,d.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),u.AppRoutingModule,b.BrowserAnimationsModule,p.HttpClientModule,f.MsalModule,M.EditorModule,E.FontAwesomeModule]})}return se})()},64168:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(78776)),a=n.__importDefault(i(35908)),u=n.__importStar(i(54496)),e=n.__importStar(i(34388)),l=n.__importStar(i(21052)),c=n.__importStar(i(29743)),g=n.__importStar(i(19668)),y=n.__importStar(i(51708)),_=n.__importStar(i(91368)),C=n.__importStar(i(10716)),b=n.__importStar(i(38056)),p=n.__importStar(i(90212)),f=n.__importStar(i(25856)),S=n.__importStar(i(29856));function v(A,k){if(1&A){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),u.\u0275\u0275listener("CheckChanged",function(T){u.\u0275\u0275restoreView(N);const P=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(P.CanDeleteCheckedChanged(T))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(6,"td",17),u.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(N);const T=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(T.DeleteButtonClicked())}),u.\u0275\u0275element(9,"ion-icon",19),u.\u0275\u0275elementStart(10,"ion-text"),u.\u0275\u0275text(11,"Eintrag l\xf6schen"),u.\u0275\u0275elementEnd()()()()()()()}if(2&A){const N=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(5),u.\u0275\u0275property("Checked",N.CanDelete),u.\u0275\u0275advance(3),u.\u0275\u0275property("disabled",!N.CanDelete)}}function M(A,k){if(1&A){const N=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),u.\u0275\u0275twoWayListener("ValueChange",function(T){u.\u0275\u0275restoreView(N);const P=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet(P.DB.CurrentChangelog.Version,T)||(P.DB.CurrentChangelog.Version=T),u.\u0275\u0275resetView(T)}),u.\u0275\u0275listener("TextChanged",function(T){u.\u0275\u0275restoreView(N);const P=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(P.TextChanged(T))}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),u.\u0275\u0275twoWayListener("ValueChange",function(T){u.\u0275\u0275restoreView(N);const P=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet(P.DB.CurrentChangelog.Beschreibung,T)||(P.DB.CurrentChangelog.Beschreibung=T),u.\u0275\u0275resetView(T)}),u.\u0275\u0275listener("TextChanged",function(T){u.\u0275\u0275restoreView(N);const P=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(P.TextChanged(T))}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),u.\u0275\u0275element(9,"input-clone",14),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(10,"ion-col"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),u.\u0275\u0275element(13,"br")(14,"br"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(15,v,12,2,"ion-row",6),u.\u0275\u0275elementEnd()}if(2&A){const N=u.\u0275\u0275nextContext();u.\u0275\u0275advance(3),u.\u0275\u0275twoWayProperty("Value",N.DB.CurrentChangelog.Version),u.\u0275\u0275property("Required",!1)("MaxLength",100),u.\u0275\u0275advance(3),u.\u0275\u0275twoWayProperty("Value",N.DB.CurrentChangelog.Beschreibung),u.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),u.\u0275\u0275advance(3),u.\u0275\u0275property("Value",N.GetDatum())("Enabled",!1),u.\u0275\u0275advance(6),u.\u0275\u0275property("ngIf",null!==N.DB.CurrentChangelog._id)}}h.FiChangelogEditorComponent=(()=>{class A{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new o.EventEmitter;CancelClickedEvent=new o.EventEmitter;OkClickedEvent=new o.EventEmitter;DeleteClickedEvent=new o.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(N,F,T,P,I){this.Debug=N,this.Displayservice=F,this.Const=T,this.Tools=P,this.DB=I;try{this.Valid=!0,this.Valid=!0,this.Titel="Change Log bearbeiten",this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(j){this.Debug.ShowErrorMessage(j.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Beschreibung:d.string().required().max(100)}).options({stripUnknown:!0})}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentChangelog).error,this.ValidChange.emit(this.Valid)}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(N){try{this.ValidateInput()}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(N=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(N=>{this.Tools.ShowHinweisDialog(N.error.message)})}catch(N){this.Debug.ShowErrorMessage(N.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(N){N.preventDefault(),N.stopPropagation()}CanDeleteCheckedChanged(N){try{this.CanDelete=N.status}catch(F){this.Debug.ShowErrorMessage(F.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,a.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(N){this.Debug.ShowErrorMessage(N,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(F){return new(F||A)(u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(l.DisplayService),u.\u0275\u0275directiveInject(c.ConstProvider),u.\u0275\u0275directiveInject(g.ToolsProvider),u.\u0275\u0275directiveInject(y.DatabaseChangelogService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:A,selectors:[["fi-changelog-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Version",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Beschreibung",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Datum",3,"Value","Enabled"],["size","12"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(F,T){1&F&&(u.\u0275\u0275elementStart(0,"div",0)(1,"div",1),u.\u0275\u0275listener("click",function(I){return T.ContentClicked(I)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275listener("click",function(I){return T.ContentClicked(I)}),u.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),u.\u0275\u0275element(8,"ion-icon",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"td"),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),u.\u0275\u0275template(13,M,16,10,"ion-grid",6),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),u.\u0275\u0275listener("click",function(){return T.CancelButtonClicked()}),u.\u0275\u0275element(20,"ion-icon",9),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(21,"td",10),u.\u0275\u0275elementStart(22,"td")(23,"div",8),u.\u0275\u0275listener("click",function(){return!0===T.Valid?T.OkButtonClicked():null}),u.\u0275\u0275element(24,"ion-icon",11),u.\u0275\u0275elementEnd()()()()()()()()()),2&F&&(u.\u0275\u0275styleProp("z-index",T.ZIndex),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",T.Displayservice.ShowOpacity(T.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",T.Dialogbreite,"px")("height",T.Dialoghoehe,"px")("top",T.PositionY,"px"),u.\u0275\u0275advance(6),u.\u0275\u0275property("name",T.Iconname),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","white"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(T.Titel),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngIf",T.DB.CurrentChangelog),u.\u0275\u0275advance(11),u.\u0275\u0275property("color",!0===T.Valid?"weiss":"grau"))},dependencies:[_.NgIf,C.IonButton,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonIcon,C.IonRow,C.IonText,b.InputCloneComponent,p.PageHeaderComponent,f.CheckboxClonComponent,S.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #354547;border-right:3px solid #354547;width:100%;height:100%;display:flex;flex-direction:row}"]})}return A})()},12095:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiChangelogEditorModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(33780),u=i(61540),e=i(6512),l=i(70216),c=i(7388),g=i(90520),y=n.__importStar(i(54496));h.FiChangelogEditorModule=(()=>{class C{static \u0275fac=function(f){return new(f||C)};static \u0275mod=y.\u0275\u0275defineNgModule({type:C});static \u0275inj=y.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.InputCloneModule,u.InputCloneKeeperModule,e.AbstandElementFixedModule,l.PageHeaderModule,c.CheckboxClonModule,g.PageFooterModule]})}return C})()},80887:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(17964)),a=n.__importStar(i(54496)),u=n.__importStar(i(14652)),e=n.__importStar(i(34388)),l=n.__importStar(i(19668)),c=n.__importStar(i(58864)),g=n.__importStar(i(29743)),y=n.__importStar(i(21052)),_=n.__importStar(i(7992)),C=n.__importStar(i(91368)),b=n.__importStar(i(10716)),p=n.__importStar(i(25856)),f=n.__importStar(i(1215)),S=n.__importStar(i(90212)),v=n.__importStar(i(29856)),M=["SmallAlphabet"];function E(j,L){if(1&j&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&j){const B=a.\u0275\u0275nextContext().index,$=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate($.Mitarbeiterbuchstabenliste[B])}}function A(j,L){if(1&j&&(a.\u0275\u0275elementStart(0,"td"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&j){const B=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate3(" ",B.Name," ",B.Vorname," / ",B.Kuerzel," ")}}function k(j,L){if(1&j&&(a.\u0275\u0275elementStart(0,"td")(1,"span"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"span",34),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(5,"span"),a.\u0275\u0275text(6),a.\u0275\u0275elementEnd(),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()),2&j){const B=a.\u0275\u0275nextContext(2).$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(B.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(B.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(B.Text_C),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate1(" / ",B.Kuerzel," ")}}function N(j,L){if(1&j){const B=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),a.\u0275\u0275listener("CheckChanged",function(ee){a.\u0275\u0275restoreView(B);const le=a.\u0275\u0275nextContext(3);return a.\u0275\u0275resetView(le.CheckedChanged(ee))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275template(4,A,2,3,"td",11)(5,k,8,4,"td",11),a.\u0275\u0275elementEnd()()}if(2&j){const B=a.\u0275\u0275nextContext(),$=B.index,ee=B.$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275property("Index",$)("Checked",ee.Selected),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!ee.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ee.Filtered)}}function F(j,L){if(1&j){const B=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",22),a.\u0275\u0275listener("click",function(){const le=a.\u0275\u0275restoreView(B).$implicit,se=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(se.MitrabeiterButtonClicked(le))}),a.\u0275\u0275elementStart(1,"ion-grid",23),a.\u0275\u0275template(2,E,5,1,"ion-row",11),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),a.\u0275\u0275template(9,N,6,4,"table",26),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),a.\u0275\u0275element(14,"td",28),a.\u0275\u0275elementStart(15,"td",29),a.\u0275\u0275text(16,"Stadort:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(17,"td"),a.\u0275\u0275text(18),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(19,"td",30),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&j){const B=L.$implicit,$=L.index,ee=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==ee.Mitarbeiterbuchstabenliste[$]),a.\u0275\u0275advance(7),a.\u0275\u0275property("ngIf",null!==B),a.\u0275\u0275advance(9),a.\u0275\u0275textInterpolate(ee.DBStandort.GetStandort(B.StandortID))}}function T(j,L){if(1&j&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,F,20,3,"ion-item",21),a.\u0275\u0275elementEnd()),2&j){const B=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",B.Anzeigeliste)}}function P(j,L){1&j&&(a.\u0275\u0275elementStart(0,"div",35),a.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),a.\u0275\u0275elementEnd())}h.FiMitarbeiterAuswahlComponent=(()=>{class j{Basics;Debug;Tools;DBStandort;Const;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;OkClickedEvent=new o.EventEmitter;CancelClickedEvent=new o.EventEmitter;StandortfilterClickedEvent=new o.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(B,$,ee,le,se,K,Q){this.Basics=B,this.Debug=$,this.Tools=ee,this.DBStandort=le,this.Const=se,this.Displayservice=K,this.Pool=Q;try{this.AuswahlIDliste=[],this.Mitarbeiterbuchstabenliste=[],this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiteralphabet=this.Standardalphabet,this.Alphapetbreite=44,this.Mitarbeiterfiltertext="",this.Multiselect=!1,this.Titel=this.Const.NONE,this.Iconname="people-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=3e3,this.Mitarbeiterliste=[],this.FilterSubscription=null,this.OnlyProjektmitarbeiter=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=d.cloneDeep(this.AuswahlIDliste),this.Alphabetcomponent&&this.Alphabetcomponent.InitScreen(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl,this.ZIndex),this.FilterSubscription=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let B,$,ee,le,se,K,Q,re,X,z,Y,q;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=d.cloneDeep(this.Pool.Mitarbeiterliste)),B=d.cloneDeep(this.Mitarbeiterliste),B=d.filter(B,de=>!1===de.Archiviert),B.sort((de,me)=>de.Nameme.Name?1:0),null!==this.DBStandort.CurrentStandortfilter){$=d.cloneDeep(B),B=[];for(let de of $)de.StandortID===this.DBStandort.CurrentStandortfilter._id&&B.push(de)}if(B.length>6){this.Mitarbeiteralphabet=["Alle"];for(let de of B)ee=de.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(ee)&&this.Mitarbeiteralphabet.push(ee)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){$=d.cloneDeep(B),B=[];for(let de of $)ee=de.Name.substring(0,1).toUpperCase(),ee="\xc4"===ee?"A":ee,ee="\xd6"===ee?"O":ee,ee="\xdc"===ee?"U":ee,this.Mitarbeiteralphabetauswahl===ee&&B.push(de)}if(""!==this.Mitarbeiterfiltertext){$=d.cloneDeep(B),B=[];for(let de of $)z=this.Mitarbeiterfiltertext.toLowerCase(),Y=de.Name.toLowerCase(),X=Y.indexOf(z),-1!==X&&(le=de.Name.length,re=z.length,se=de.Name.substr(0,X),K=de.Name.substr(X,re),re=le-re-X,Q=de.Name.substr(le-re,re),de.Filtered=!0,de.Text_A=se,de.Text_B=K,de.Text_C=Q,B.push(de))}this.Mitarbeiterbuchstabenliste=[];for(let de of B)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(de));for(q of B)q.Selected=!1;for(let de of this.AuswahlIDliste)q=d.find(B,{_id:de}),d.isUndefined(q)||(q.Selected=!0);this.Anzeigeliste=d.cloneDeep(B)}}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(B){try{let $=B.Name.substring(0,1).toUpperCase();return $!==this.Lastletter?(this.Lastletter=$,$):""}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(B){}AlphabetClicked(B){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=B,this.PrepareDaten()}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(B){try{let $;if(!1===this.Multiselect){for($ of this.Mitarbeiterliste)$.Selected=!1;for($ of this.Anzeigeliste)$.Selected=!1}$=d.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[B.index]._id}),d.isUndefined($)||($.Selected=B.status,!0===B.status?this.AuswahlIDliste.push($._id):this.AuswahlIDliste=d.filter(this.AuswahlIDliste,ee=>ee!==$._id)),this.Anzeigeliste[B.index].Selected=B.status}catch($){this.Debug.ShowErrorMessage($.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=d.cloneDeep(this.AuswahlIDListeSicherung)}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(B){B.preventDefault(),B.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Auswahl","StandortfilterButtonClicked",this.Debug.Typen.Component)}}GetStandortfiller(){try{return null===this.DBStandort.CurrentStandortfilter?"kein Standortfilter":this.DBStandort.CurrentStandortfilter.Kuerzel+" / "+this.DBStandort.CurrentStandortfilter.Standort}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function($){return new($||j)(a.\u0275\u0275directiveInject(u.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(l.ToolsProvider),a.\u0275\u0275directiveInject(c.DatabaseStandorteService),a.\u0275\u0275directiveInject(g.ConstProvider),a.\u0275\u0275directiveInject(y.DisplayService),a.\u0275\u0275directiveInject(_.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:j,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function($,ee){if(1&$&&a.\u0275\u0275viewQuery(M,7),2&$){let le;a.\u0275\u0275queryRefresh(le=a.\u0275\u0275loadQuery())&&(ee.Alphabetcomponent=le.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter"},outputs:{OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent",StandortfilterClickedEvent:"StandortfilterClickedEvent"},decls:36,vars:20,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],[2,"width","4px"],["color","weiss",3,"name"],["colspan","3"],["size","small","color","grau",3,"click"],["name","funnel-outline"],[1,"innerkeeperclass"],[1,"innerkeeperlisteclass"],[4,"ngIf"],["class","emptymessageclass",4,"ngIf"],[1,"innerkeeperalphabetclass"],[3,"Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["SmallAlphabet",""],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["color","weiss","name","checkmark-outline",2,"font-size","28px"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","28px"],[1,"ergonametextclass"],[2,"width","20px"],["color","orange"],["cellspacing","0","cellpadding","0"],[3,"Index","Checked","CheckChanged"],[2,"color","green"],[1,"emptymessageclass"]],template:function($,ee){1&$&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(se){return ee.ContentClicked(se)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(se){return ee.ContentClicked(se)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),a.\u0275\u0275element(7,"td",4),a.\u0275\u0275elementStart(8,"td"),a.\u0275\u0275element(9,"ion-icon",5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(10,"td"),a.\u0275\u0275text(11),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),a.\u0275\u0275listener("click",function(){return ee.StandortfilterButtonClicked()}),a.\u0275\u0275element(15,"ion-icon",8),a.\u0275\u0275text(16),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),a.\u0275\u0275template(20,T,2,1,"ion-list",11)(21,P,2,0,"div",12),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),a.\u0275\u0275listener("AlphabetClicked",function(se){return ee.AlphabetClicked(se)}),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),a.\u0275\u0275listener("click",function(){return ee.CancelButtonClicked()}),a.\u0275\u0275element(31,"ion-icon",18),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(32,"td",19),a.\u0275\u0275elementStart(33,"td")(34,"div",17),a.\u0275\u0275listener("click",function(){return ee.OkButtonClicked()}),a.\u0275\u0275element(35,"ion-icon",20),a.\u0275\u0275elementEnd()()()()()()()()()),2&$&&(a.\u0275\u0275styleProp("z-index",ee.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",ee.Displayservice.ShowOpacity(ee.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",ee.Dialogbreite,"px")("bottom",ee.PositionY,"px")("top",ee.PositionY,"px"),a.\u0275\u0275advance(7),a.\u0275\u0275property("name",ee.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(ee.Titel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate1(" ",ee.GetStandortfiller()," "),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngIf",ee.Mitarbeiterliste&&ee.Anzeigeliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",ee.Mitarbeiterliste&&0===ee.Anzeigeliste.length),a.\u0275\u0275advance(2),a.\u0275\u0275property("Buchstabenliste",ee.Mitarbeiteralphabet)("Breite",ee.Alphapetbreite)("Auswahl",ee.Mitarbeiteralphabetauswahl))},dependencies:[C.NgForOf,C.NgIf,b.IonButton,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonIcon,b.IonItem,b.IonList,b.IonRow,b.IonText,p.CheckboxClonComponent,f.AlphabetRelativeComponent,S.PageHeaderComponent,v.PageFooterComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}.emptymessageclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding-top:100px}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #354547}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}.innerkeeperlisteclass[_ngcontent-%COMP%]{width:100%;height:100%;overflow:auto}.innerkeeperalphabetclass[_ngcontent-%COMP%]{width:44px;height:100%;overflow:auto}"]})}return j})()},26668:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterAuswahlModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(33780),u=i(61540),e=i(6512),l=i(7388),c=i(87143),g=i(72160),y=i(70216),_=i(90520),C=n.__importStar(i(54496));h.FiMitarbeiterAuswahlModule=(()=>{class p{static \u0275fac=function(v){return new(v||p)};static \u0275mod=C.\u0275\u0275defineNgModule({type:p});static \u0275inj=C.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.InputCloneModule,u.InputCloneKeeperModule,e.AbstandElementFixedModule,l.CheckboxClonModule,c.AlphabetModule,g.AlphabetRelativeModule,y.PageHeaderModule,_.PageFooterModule]})}return p})()},82384:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(78776)),a=n.__importStar(i(54496)),u=n.__importStar(i(34388)),e=n.__importStar(i(19668)),l=n.__importStar(i(7992)),c=n.__importStar(i(29743)),g=n.__importStar(i(14652)),y=n.__importStar(i(21052)),_=n.__importStar(i(58864)),C=n.__importStar(i(22848)),b=n.__importStar(i(91368)),p=n.__importStar(i(10716)),f=n.__importStar(i(38056)),S=n.__importStar(i(25856)),v=n.__importStar(i(90212)),M=n.__importStar(i(29856)),E=n.__importStar(i(13228));function A(I,j){if(1&I){const L=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ee.PlaneradministratorCheckboxChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Administrator"),a.\u0275\u0275elementEnd()()()()()}if(2&I){const L=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===L.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",L.DB.CurrentMitarbeiter.Planeradministrator)}}function k(I,j){if(1&I){const L=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ee.UrlaubsfreigabenCheckboxChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Urlaub Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&I){const L=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===L.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",L.DB.CurrentMitarbeiter.Urlaubsfreigaben)}}function N(I,j){if(1&I){const L=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",26),a.\u0275\u0275listener("CheckChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ee.HomeofficefreigabenCheckboxChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Homeoffice Freigaben"),a.\u0275\u0275elementEnd()()()()()}if(2&I){const L=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Enabled",!0===L.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",L.DB.CurrentMitarbeiter.Homeofficefreigaben)}}function F(I,j){if(1&I){const L=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",28),a.\u0275\u0275listener("CheckChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(ee.ArchivierenCheckboxChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(6,"td",27),a.\u0275\u0275elementStart(7,"td"),a.\u0275\u0275text(8,"Eintrag archivieren"),a.\u0275\u0275elementEnd()()()()()}if(2&I){const L=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(5),a.\u0275\u0275property("Checked",L.DB.CurrentMitarbeiter.Archiviert)}}function T(I,j){if(1&I){const L=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),a.\u0275\u0275text(5,"Mitarbeiter"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",13)(8,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(L);const $=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView($.AnredeClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",15)(11,"input-clone",16),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Vorname,$)||(ee.DB.CurrentMitarbeiter.Vorname=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275listener("TextChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ee.TextChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(12,"ion-col",15)(13,"input-clone",17),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Name,$)||(ee.DB.CurrentMitarbeiter.Name=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275listener("TextChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ee.TextChanged($))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",15)(16,"input-clone",18),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Kuerzel,$)||(ee.DB.CurrentMitarbeiter.Kuerzel=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275listener("TextChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ee.TextChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(17,"ion-col",15)(18,"input-clone",19),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Jobtitel,$)||(ee.DB.CurrentMitarbeiter.Jobtitel=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275listener("TextChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ee.TextChanged($))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",15)(21,"input-clone",20),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(L);const $=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView($.StandortClicked())})("TextChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ee.TextChanged($))}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(22,"ion-col",15)(23,"input-clone",21),a.\u0275\u0275listener("click",function(){a.\u0275\u0275restoreView(L);const $=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView($.FachbereichClicked())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",15)(26,"input-clone",22),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Email,$)||(ee.DB.CurrentMitarbeiter.Email=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275listener("TextChanged",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(ee.TextChanged($))}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"ion-text",12)(30,"b"),a.\u0275\u0275text(31,"Kontakt"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col",15)(34,"input-clone",23),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Telefon,$)||(ee.DB.CurrentMitarbeiter.Telefon=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(35,"ion-col",15)(36,"input-clone",24),a.\u0275\u0275twoWayListener("ValueChange",function($){a.\u0275\u0275restoreView(L);const ee=a.\u0275\u0275nextContext();return a.\u0275\u0275twoWayBindingSet(ee.DB.CurrentMitarbeiter.Mobil,$)||(ee.DB.CurrentMitarbeiter.Mobil=$),a.\u0275\u0275resetView($)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(37,"ion-row"),a.\u0275\u0275element(38,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(39,"ion-row")(40,"ion-col")(41,"ion-text",12)(42,"b"),a.\u0275\u0275text(43,"Urlaub"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",13)(46,"button-value",14),a.\u0275\u0275listener("ButtonClicked",function(){a.\u0275\u0275restoreView(L);const $=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView($.UrlaubClickedEvent.emit())}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(47,A,9,2,"ion-row",6)(48,k,9,2,"ion-row",6)(49,N,9,2,"ion-row",6),a.\u0275\u0275elementStart(50,"ion-row"),a.\u0275\u0275element(51,"ion-col",25),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(52,"ion-row")(53,"ion-col")(54,"ion-text",12)(55,"b"),a.\u0275\u0275text(56,"Sonstiges"),a.\u0275\u0275elementEnd()()()(),a.\u0275\u0275template(57,F,9,1,"ion-row",6),a.\u0275\u0275elementEnd()}if(2&I){const L=a.\u0275\u0275nextContext();a.\u0275\u0275advance(8),a.\u0275\u0275property("Buttontext","Anrede")("Wert_A",L.GetAnrede()),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Vorname),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Name),a.\u0275\u0275property("Required",!0)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Kuerzel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),a.\u0275\u0275advance(),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Jobtitel),a.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",100),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==L.DB.CurrentMitarbeiter.StandortID?L.Basics.Farben.Burnicklgrau:L.Basics.Farben.Orange)("Value",L.StandortDB.GetStandort(L.DB.CurrentMitarbeiter.StandortID)),a.\u0275\u0275advance(),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",L.DB.CurrentMitarbeiter.Fachbereich)("DisabledColor","gray"),a.\u0275\u0275advance(2),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Email),a.\u0275\u0275property("Enabled",L.EmailinputEnabled),a.\u0275\u0275advance(7),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Telefon),a.\u0275\u0275advance(),a.\u0275\u0275property("size",L.Tools.GetButtonvalueSize()),a.\u0275\u0275advance(),a.\u0275\u0275twoWayProperty("Value",L.DB.CurrentMitarbeiter.Mobil),a.\u0275\u0275advance(10),a.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",L.DB.CurrentMitarbeiter.Urlaub+" Tage"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==L.DB.CurrentMitarbeiter._id&&null!==L.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==L.DB.CurrentMitarbeiter._id&&null!==L.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==L.DB.CurrentMitarbeiter._id&&null!==L.Pool.Mitarbeiterdaten),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",null!==L.DB.CurrentMitarbeiter._id)}}h.FiMitarbeiterEditorComponent=(()=>{class I{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;DB;Valid;ValidChanged=new o.EventEmitter;StandortClickedEvent=new o.EventEmitter;AnredeClickedEvent=new o.EventEmitter;UrlaubClickedEvent=new o.EventEmitter;FachbereichClickedEvent=new o.EventEmitter;CancelClickedEvent=new o.EventEmitter;OkClickedEvent=new o.EventEmitter;ErrorEvent=new o.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;constructor(L,B,$,ee,le,se,K,Q){this.Debug=L,this.Tools=B,this.Pool=$,this.Const=ee,this.Basics=le,this.Displayservice=se,this.StandortDB=K,this.DB=Q;try{this.Valid=!0,this.DeleteEnabled=!1,this.Titel=this.Const.NONE,this.Iconname="help-circle-outline",this.Dialogbreite=400,this.PositionY=100,this.ZIndex=2e3,this.SkipOkButtonAction=!1,this.EmailinputEnabled=!0,this.Teamsliste=[],this.ErrorMessage=null}catch(re){this.Debug.ShowErrorMessage(re.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Name:d.string().required().max(100),Vorname:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Jobtitel:d.string().required().min(3).max(100),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","SetupValidation",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentMitarbeiter).error,""===this.DB.CurrentMitarbeiter.StandortID&&(this.Valid=!1),(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChanged.emit(this.Valid)}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(L){try{this.ValidateInput()}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}FachbereichClicked(){try{this.FachbereichClickedEvent.emit()}catch(L){this.Debug.ShowErrorMessage(L.message,"Mitarbeiter Editor","FachbereichClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(L){try{this.DeleteEnabled=L.status}catch(B){this.Debug.ShowErrorMessage(B.message,"Mitarbeiter Editor","LoeschenCheckboxChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.ResetEditor(),this.CancelClickedEvent.emit()}OkButtonClicked(){this.SkipOkButtonAction?this.OkClickedEvent.emit():null===this.DB.CurrentMitarbeiter._id?this.DB.AddMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(L=>{this.Debug.ShowErrorMessage(L,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiter(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(L=>{this.Debug.ShowErrorMessage(L,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(L){L.preventDefault(),L.stopPropagation()}ArchivierenCheckboxChanged(L){try{this.DB.CurrentMitarbeiter.Archiviert=L.status}catch(B){this.Debug.ShowErrorMessage(B,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(L){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=L.status}catch(B){this.Debug.ShowErrorMessage(B,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(L){try{this.DB.CurrentMitarbeiter.Planeradministrator=L.status}catch(B){this.Debug.ShowErrorMessage(B,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(L){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=L.status}catch(B){this.Debug.ShowErrorMessage(B,"Mitarbeiter Editor","UrlaubsfreigabenCheckboxChanged",this.Debug.Typen.Component)}}GetAnrede(){try{return null!==this.DB.CurrentMitarbeiter?this.DB.CurrentMitarbeiter.Anrede===this.Const.NONE?"unbekannt":this.DB.CurrentMitarbeiter.Anrede:"null"}catch(L){this.Debug.ShowErrorMessage(L,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}static \u0275fac=function(B){return new(B||I)(a.\u0275\u0275directiveInject(u.DebugProvider),a.\u0275\u0275directiveInject(e.ToolsProvider),a.\u0275\u0275directiveInject(l.DatabasePoolService),a.\u0275\u0275directiveInject(c.ConstProvider),a.\u0275\u0275directiveInject(g.BasicsProvider),a.\u0275\u0275directiveInject(y.DisplayService),a.\u0275\u0275directiveInject(_.DatabaseStandorteService),a.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:I,selectors:[["fi-mitarbeiter-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",SkipOkButtonAction:"SkipOkButtonAction",EmailinputEnabled:"EmailinputEnabled"},outputs:{ValidChanged:"ValidChanged",StandortClickedEvent:"StandortClickedEvent",AnredeClickedEvent:"AnredeClickedEvent",UrlaubClickedEvent:"UrlaubClickedEvent",FachbereichClickedEvent:"FachbereichClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent"},decls:25,vars:18,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["color","baeblau"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],[3,"size"],["Titel","Vorname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Name",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","Mitarbeiterk\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Jobtitel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Fachbereich",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[3,"Enabled","Checked","CheckChanged"],[2,"width","6px"],[3,"Checked","CheckChanged"]],template:function(B,$){1&B&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(le){return $.ContentClicked(le)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(le){return $.ContentClicked(le)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),a.\u0275\u0275template(13,T,58,46,"ion-grid",6),a.\u0275\u0275elementEnd()(),a.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),a.\u0275\u0275listener("click",function(){return $.CancelButtonClicked()}),a.\u0275\u0275element(20,"ion-icon",9),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(21,"td",10),a.\u0275\u0275elementStart(22,"td")(23,"div",8),a.\u0275\u0275listener("click",function(){return!0===$.Valid?$.OkButtonClicked():null}),a.\u0275\u0275element(24,"ion-icon",11),a.\u0275\u0275elementEnd()()()()()()()()()),2&B&&(a.\u0275\u0275styleProp("z-index",$.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",$.Displayservice.ShowOpacity($.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",$.Dialogbreite,"px")("top",$.PositionY,"px")("bottom",$.PositionY,"px")("top",$.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",$.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate($.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("ngIf",$.DB.CurrentMitarbeiter),a.\u0275\u0275advance(11),a.\u0275\u0275property("color",!0===$.Valid?"weiss":"grau"))},dependencies:[b.NgIf,p.IonCol,p.IonContent,p.IonFooter,p.IonGrid,p.IonHeader,p.IonIcon,p.IonRow,p.IonText,f.InputCloneComponent,S.CheckboxClonComponent,v.PageHeaderComponent,M.PageFooterComponent,E.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;width:100%;height:100%;display:flex;flex-direction:row}"]})}return I})()},27328:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterEditorModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(33780),u=i(61540),e=i(6512),l=i(7388),c=i(70216),g=i(90520),y=i(72284),_=n.__importStar(i(54496));h.FiMitarbeiterEditorModule=(()=>{class b{static \u0275fac=function(S){return new(S||b)};static \u0275mod=_.\u0275\u0275defineNgModule({type:b});static \u0275inj=_.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.InputCloneModule,u.InputCloneKeeperModule,e.AbstandElementFixedModule,l.CheckboxClonModule,c.PageHeaderModule,g.PageFooterModule,y.ButtonValueModule]})}return b})()},41656:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(78776)),a=n.__importStar(i(17964)),u=n.__importStar(i(54496)),e=n.__importStar(i(34388)),l=n.__importStar(i(21052)),c=n.__importStar(i(29743)),g=n.__importStar(i(19668)),y=n.__importStar(i(7992)),_=n.__importStar(i(9544)),C=n.__importStar(i(58864)),b=n.__importStar(i(91368)),p=n.__importStar(i(10716)),f=n.__importStar(i(38056)),S=n.__importStar(i(90212)),v=n.__importStar(i(25856)),M=n.__importStar(i(29856)),E=n.__importStar(i(13228));function A(P,I){if(1&P){const j=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-col",17)(1,"button-value",18),u.\u0275\u0275listener("ButtonClicked",function(){u.\u0275\u0275restoreView(j);const B=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(B.BundeslandClickedEvent.emit())}),u.\u0275\u0275elementEnd()()}if(2&P){const j=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(),u.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",j.GetBundesland())}}function k(P,I){if(1&P){const j=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",17)(2,"button-value",18),u.\u0275\u0275listener("ButtonClicked",function(){u.\u0275\u0275restoreView(j);const B=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(B.KonfessionClickedEvent.emit())}),u.\u0275\u0275elementEnd()()()}if(2&P){const j=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("Buttontext","Konfession")("Wert_A",j.GetKonfession())}}function N(P,I){if(1&P){const j=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",23),u.\u0275\u0275listener("CheckChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView($.CanDeleteCheckedChanged(B))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(6,"td",24),u.\u0275\u0275elementStart(7,"td")(8,"ion-button",25),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(j);const B=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(B.DeleteButtonClicked())}),u.\u0275\u0275element(9,"ion-icon",26),u.\u0275\u0275elementStart(10,"ion-text"),u.\u0275\u0275text(11,"Eintrag l\xf6schen"),u.\u0275\u0275elementEnd()()()()()()()}if(2&P){const j=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(5),u.\u0275\u0275property("Checked",j.CanDelete),u.\u0275\u0275advance(3),u.\u0275\u0275property("disabled",!j.CanDelete)}}function F(P,I){if(1&P){const j=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.Standort,B)||($.DB.CurrentStandort.Standort=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(4,"ion-col")(5,"input-clone",13),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.Kuerzel,B)||($.DB.CurrentStandort.Kuerzel=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",14),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.Strasse,B)||($.DB.CurrentStandort.Strasse=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(9,"ion-col"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(10,"ion-row")(11,"ion-col")(12,"input-clone",15),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.PLZ,B)||($.DB.CurrentStandort.PLZ=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(13,"ion-col")(14,"input-clone",16),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.Ort,B)||($.DB.CurrentStandort.Ort=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",17)(17,"button-value",18),u.\u0275\u0275listener("ButtonClicked",function(){u.\u0275\u0275restoreView(j);const B=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(B.LandClickedEvent.emit())}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(18,A,2,2,"ion-col",19),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(19,k,3,2,"ion-row",6),u.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",20),u.\u0275\u0275element(22,"br")(23,"br"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col")(26,"input-clone",21),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.Telefon,B)||($.DB.CurrentStandort.Telefon=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(27,"ion-col")(28,"input-clone",22),u.\u0275\u0275twoWayListener("ValueChange",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275twoWayBindingSet($.DB.CurrentStandort.Email,B)||($.DB.CurrentStandort.Email=B),u.\u0275\u0275resetView(B)}),u.\u0275\u0275listener("TextChanged",function(B){u.\u0275\u0275restoreView(j);const $=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView($.TextChanged(B))}),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275template(29,N,12,2,"ion-row",6),u.\u0275\u0275elementEnd()}if(2&P){const j=u.\u0275\u0275nextContext();u.\u0275\u0275advance(3),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.Standort),u.\u0275\u0275property("Required",!0)("MaxLength",100),u.\u0275\u0275advance(2),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.Kuerzel),u.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),u.\u0275\u0275advance(3),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.Strasse),u.\u0275\u0275property("Required",!0)("MaxLength",100),u.\u0275\u0275advance(4),u.\u0275\u0275property("Required",!0)("MinLength",5)("MaxLength",5),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.PLZ),u.\u0275\u0275advance(2),u.\u0275\u0275property("Required",!0)("MaxLength",100),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.Ort),u.\u0275\u0275advance(3),u.\u0275\u0275property("Buttontext","Land")("Wert_A",j.GetLand()),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf","DE"===j.DB.CurrentStandort.Land),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf","DE"===j.DB.CurrentStandort.Land),u.\u0275\u0275advance(7),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.Telefon),u.\u0275\u0275advance(2),u.\u0275\u0275property("MaxLength",255)("Required",!0),u.\u0275\u0275twoWayProperty("Value",j.DB.CurrentStandort.Email),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",null!==j.DB.CurrentStandort._id)}}h.FiStandortEditorComponent=(()=>{class P{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DB;Valid;CanDelete;JoiShema;ValidChange=new o.EventEmitter;CancelClickedEvent=new o.EventEmitter;OkClickedEvent=new o.EventEmitter;DeleteClickedEvent=new o.EventEmitter;LandClickedEvent=new o.EventEmitter;BundeslandClickedEvent=new o.EventEmitter;KonfessionClickedEvent=new o.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(j,L,B,$,ee,le,se){this.Debug=j,this.Displayservice=L,this.Const=B,this.Tools=$,this.Pool=ee,this.DBUrlaub=le,this.DB=se;try{this.Valid=!0,this.Valid=!0,this.Titel=this.Const.NONE,this.Iconname="location-outline",this.Dialogbreite=400,this.Dialoghoehe=300,this.PositionY=100,this.ZIndex=2e3,this.CanDelete=!1}catch(K){this.Debug.ShowErrorMessage(K.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=d.object({Standort:d.string().required().max(100),Kuerzel:d.string().required().min(3).max(10),Strasse:d.string().required().max(100),Ort:d.string().required().max(100),PLZ:d.string().required().min(5).max(5),Email:d.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","OnInit",this.Debug.Typen.Component)}}ValidateInput(){try{this.Valid=!this.JoiShema.validate(this.DB.CurrentStandort).error,(null===this.Pool.Mitarbeiterdaten||!1===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(this.Valid=!1),this.ValidChange.emit(this.Valid)}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(j){try{this.ValidateInput()}catch(L){this.Debug.ShowErrorMessage(L.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(j=>{this.Tools.ShowHinweisDialog(j.error.message)})}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(j=>{this.OkClickedEvent.emit()}).catch(j=>{this.Tools.ShowHinweisDialog(j.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(j=>{this.Tools.ShowHinweisDialog(j.error.message)})}catch(j){this.Debug.ShowErrorMessage(j.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(j){j.preventDefault(),j.stopPropagation()}CanDeleteCheckedChanged(j){try{this.CanDelete=j.status}catch(L){this.Debug.ShowErrorMessage(L.message,"Standort Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetLand(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Land){case"DE":return"Deutschland";case"BG":return"Bulgarien"}}catch(j){this.Debug.ShowErrorMessage(j,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let j;return null!==this.DB.CurrentStandort?(j=a.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),a.isUndefined(j)?"Unbekannt":j.Name):"Unbekannt"}catch(j){this.Debug.ShowErrorMessage(j,"Standort Editor","funGetBundeslandction",this.Debug.Typen.Component)}}GetKonfession(){try{if(null===this.DB.CurrentStandort)return"Unbekannt";switch(this.DB.CurrentStandort.Konfession){case"RK":return"Katholisch";case"EV":return"Evangelisch"}}catch(j){this.Debug.ShowErrorMessage(j,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}static \u0275fac=function(L){return new(L||P)(u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(l.DisplayService),u.\u0275\u0275directiveInject(c.ConstProvider),u.\u0275\u0275directiveInject(g.ToolsProvider),u.\u0275\u0275directiveInject(y.DatabasePoolService),u.\u0275\u0275directiveInject(_.DatabaseUrlaubService),u.\u0275\u0275directiveInject(C.DatabaseStandorteService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:P,selectors:[["fi-standort-editor"]],inputs:{Titel:"Titel",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{ValidChange:"ValidChange",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",DeleteClickedEvent:"DeleteClickedEvent",LandClickedEvent:"LandClickedEvent",BundeslandClickedEvent:"BundeslandClickedEvent",KonfessionClickedEvent:"KonfessionClickedEvent"},decls:25,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"contentinnerclass"],[4,"ngIf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","28px"],[2,"width","100%"],["name","save-outline",2,"font-size","28px",3,"color"],["Titel","Standortname",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","K\xfcrzel",3,"Value","Required","MinLength","MaxLength","ValueChange","TextChanged"],["Titel","Stra\xdfe",3,"Value","Required","MaxLength","ValueChange","TextChanged"],["Titel","PLZ",3,"Required","MinLength","MaxLength","Value","ValueChange","TextChanged"],["Titel","Ort",3,"Required","MaxLength","Value","ValueChange","TextChanged"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","6",4,"ngIf"],["size","12"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(L,B){1&L&&(u.\u0275\u0275elementStart(0,"div",0)(1,"div",1),u.\u0275\u0275listener("click",function(ee){return B.ContentClicked(ee)}),u.\u0275\u0275elementStart(2,"div",2),u.\u0275\u0275listener("click",function(ee){return B.ContentClicked(ee)}),u.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),u.\u0275\u0275element(8,"ion-icon",4),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"td"),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),u.\u0275\u0275template(13,F,30,26,"ion-grid",6),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),u.\u0275\u0275listener("click",function(){return B.CancelButtonClicked()}),u.\u0275\u0275element(20,"ion-icon",9),u.\u0275\u0275elementEnd()(),u.\u0275\u0275element(21,"td",10),u.\u0275\u0275elementStart(22,"td")(23,"div",8),u.\u0275\u0275listener("click",function(){return!0===B.Valid?B.OkButtonClicked():null}),u.\u0275\u0275element(24,"ion-icon",11),u.\u0275\u0275elementEnd()()()()()()()()()),2&L&&(u.\u0275\u0275styleProp("z-index",B.ZIndex),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",B.Displayservice.ShowOpacity(B.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",B.Dialogbreite,"px")("height",B.Dialoghoehe,"px")("top",B.PositionY,"px"),u.\u0275\u0275advance(6),u.\u0275\u0275property("name",B.Iconname),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","white"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(B.Titel),u.\u0275\u0275advance(3),u.\u0275\u0275property("ngIf",B.DB.CurrentStandort),u.\u0275\u0275advance(11),u.\u0275\u0275property("color",!0===B.Valid?"weiss":"grau"))},dependencies:[b.NgIf,p.IonButton,p.IonCol,p.IonContent,p.IonFooter,p.IonGrid,p.IonHeader,p.IonIcon,p.IonRow,p.IonText,f.InputCloneComponent,S.PageHeaderComponent,v.CheckboxClonComponent,M.PageFooterComponent,E.ButtonValueComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:90%;color:#444}.keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%)}.contentinnerclass[_ngcontent-%COMP%]{border-left:3px solid #2190df;border-right:3px solid #2190df;width:100%;height:100%;display:flex;flex-direction:row}"]})}return P})()},79664:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortEditorModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(33780),u=i(61540),e=i(6512),l=i(70216),c=i(7388),g=i(90520),y=i(72284),_=n.__importStar(i(54496));h.FiStandortEditorModule=(()=>{class b{static \u0275fac=function(S){return new(S||b)};static \u0275mod=_.\u0275\u0275defineNgModule({type:b});static \u0275inj=_.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.InputCloneModule,u.InputCloneKeeperModule,e.AbstandElementFixedModule,l.PageHeaderModule,c.CheckboxClonModule,g.PageFooterModule,y.ButtonValueModule]})}return b})()},73088:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedComponent=void 0;const o=i(81316).__importStar(i(54496));h.AbstandElementFixedComponent=(()=>{class a{constructor(){}ngOnInit(){}static \u0275fac=function(l){return new(l||a)};static \u0275cmp=o.\u0275\u0275defineComponent({type:a,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(l,c){1&l&&o.\u0275\u0275element(0,"div",0)}})}return a})()},6512:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AbstandElementFixedModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},72160:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},1215:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetRelativeComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(54496)),a=n.__importStar(i(34388)),u=n.__importStar(i(14652)),e=n.__importStar(i(29743)),l=n.__importStar(i(19668)),c=n.__importStar(i(91368)),g=n.__importStar(i(10716)),y=["ImageKeeperDiv"];function _(b,p){if(1&b){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(f).$implicit,E=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(E.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&b){const f=p.$implicit,S=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",S.Basics.Farben.BAEBlau)("border-color",f===S.Auswahl?S.Basics.Farben.BAEBlau:S.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetRelativeComponent=(()=>{class b{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new o.EventEmitter;ZusatzbuttonClicked=new o.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,S,v,M){this.Debug=f,this.Basics=S,this.Const=v,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(E){this.Debug.ShowErrorMessage(E.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{this.Style={width:this.Breite+"px",top:"0px",bottom:"0px",background:this.Basics.Farben.BAEHellgrau,display:"flex","flex-direction":"column","justify-content":"center"}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(S){this.Debug.ShowErrorMessage(S.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let S;S=f.Buchstabenliste,typeof S<"u"&&this.SetFilterliste(),S=f.Breite,typeof S<"u"&&this.InitScreen()}catch(S){this.Debug.ShowErrorMessage(S.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(S){return new(S||b)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(l.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["alphabet-relative"]],viewQuery:function(S,v){if(1&S&&d.\u0275\u0275viewQuery(y,7),2&S){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(v.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(S,v){1&S&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,_,3,5,"div",1),d.\u0275\u0275elementEnd()),2&S&&(d.\u0275\u0275property("ngStyle",v.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.Filterliste))},dependencies:[c.NgForOf,c.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return b})()},87143:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.AlphabetModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},99031:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AlphabetComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(54496)),a=n.__importStar(i(34388)),u=n.__importStar(i(14652)),e=n.__importStar(i(29743)),l=n.__importStar(i(19668)),c=n.__importStar(i(91368)),g=n.__importStar(i(10716)),y=["ImageKeeperDiv"];function _(b,p){if(1&b){const f=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",2),d.\u0275\u0275listener("click",function(){const M=d.\u0275\u0275restoreView(f).$implicit,E=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(E.AlphabetClickedHandler(M))}),d.\u0275\u0275elementStart(1,"ion-badge",3),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd()()}if(2&b){const f=p.$implicit,S=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color","#2190df")("border-color",f===S.Auswahl?"#2190df":S.Basics.Farben.BAEHellgrau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",f," ")}}h.AlphabetComponent=(()=>{class b{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new o.EventEmitter;ZusatzbuttonClicked=new o.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,S,v,M){this.Debug=f,this.Basics=S,this.Const=v,this.Tools=M;try{this.Auswahl="",this.Breite=0,this.Buchstabenliste=["Alle","A","B","C","D","E","F","G","H","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Filterliste=[]}catch(E){this.Debug.ShowErrorMessage(E.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let f=0,S=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(f=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(S=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:f+"px",bottom:S+"px",background:this.Basics.Farben.BAEHellgrau}}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","InitScreen",this.Debug.Typen.Component)}}ngOnInit(){try{this.InitScreen()}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","ngOnInit",this.Debug.Typen.Component)}}AlphabetClickedHandler(f){try{this.AlphabetClicked.emit(f),this.Auswahl=f}catch(S){this.Debug.ShowErrorMessage(S.message,"Alphabet","AlphabetClickedHandler",this.Debug.Typen.Component)}}SetFilterliste(){try{this.Filterliste=this.Buchstabenliste}catch(f){this.Debug.ShowErrorMessage(f.message,"Alphabet","SetFilterliste",this.Debug.Typen.Component)}}ngOnChanges(f){try{let S;S=f.Buchstabenliste,typeof S<"u"&&this.SetFilterliste()}catch(S){this.Debug.ShowErrorMessage(S.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(S){return new(S||b)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(e.ConstProvider),d.\u0275\u0275directiveInject(l.ToolsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["alphabet"]],viewQuery:function(S,v){if(1&S&&d.\u0275\u0275viewQuery(y,7),2&S){let M;d.\u0275\u0275queryRefresh(M=d.\u0275\u0275loadQuery())&&(v.ImageKeeperDiv=M.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:2,vars:2,consts:[[1,"alphabetclass",3,"ngStyle"],["class","alphabetitem",3,"click",4,"ngFor","ngForOf"],[1,"alphabetitem",3,"click"],[2,"background","none","border","2px solid"]],template:function(S,v){1&S&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275template(1,_,3,5,"div",1),d.\u0275\u0275elementEnd()),2&S&&(d.\u0275\u0275property("ngStyle",v.Style),d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",v.Filterliste))},dependencies:[c.NgForOf,c.NgStyle,g.IonBadge],styles:[".alphabetclass[_ngcontent-%COMP%]{position:absolute;background:#fff;right:0;width:12vw;display:flex;flex-direction:column;justify-content:center}.alphabetitem[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;flex-grow:1;color:#fff;font-size:80%;cursor:pointer}"]})}return b})()},10272:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(44716),u=i(70216),e=i(90520),l=i(84104),c=n.__importStar(i(54496));h.AuswahlDialogModule=(()=>{class y{static \u0275fac=function(b){return new(b||y)};static \u0275mod=c.\u0275\u0275defineNgModule({type:y});static \u0275inj=c.\u0275\u0275defineInjector({imports:[o.IonicModule,d.CommonModule,a.FormsModule,u.PageHeaderModule,e.PageFooterModule,l.SafePipeModule]})}return y})()},56584:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(17964)),a=n.__importStar(i(54496)),u=n.__importStar(i(19668)),e=n.__importStar(i(14652)),l=n.__importStar(i(34388)),c=n.__importStar(i(21052)),g=n.__importStar(i(29743)),y=n.__importStar(i(10716)),_=n.__importStar(i(91368)),C=n.__importStar(i(90212)),b=n.__importStar(i(29856)),p=n.__importStar(i(66144)),f=["MySelection"];function S(M,E){if(1&M&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275element(2,"ion-radio",15),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(3,"td",16),a.\u0275\u0275pipe(4,"safe"),a.\u0275\u0275element(5,"td",17),a.\u0275\u0275pipe(6,"safe"),a.\u0275\u0275elementEnd()),2&M){const A=E.$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275property("value",A.Index),a.\u0275\u0275advance(),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(4,3,A.FirstColumn,"html"),a.\u0275\u0275sanitizeHtml),a.\u0275\u0275advance(2),a.\u0275\u0275property("innerHTML",a.\u0275\u0275pipeBind2(6,6,A.SecoundColumn,"html"),a.\u0275\u0275sanitizeHtml)}}h.AuswahlDialogComponent=(()=>{class M{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new o.EventEmitter;OkClickedEvent=new o.EventEmitter;CancelClickedEvent=new o.EventEmitter;constructor(A,k,N,F,T){this.Tools=A,this.Basics=k,this.Debug=N,this.Displayservice=F,this.Const=T;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(P){this.Debug.ShowErrorMessage(P.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(A){this.Debug.ShowErrorMessage(A.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(A,k,N){try{this.Titel=A,this.Auswahlliste=k,this.Auswahlindex=N}catch(F){this.Debug.ShowErrorMessage(F.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(A,k){try{typeof A<"u"&&!0===A&&(this.Auswahlindex=typeof k<"u"?k:-1),this.MySelection.open()}catch(N){this.Debug.ShowErrorMessage(N.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(A){}IndexChangedHandler(A){try{let k;k=""===A.detail.value||isNaN(A.detail.value)?-1:A.detail.value,this.Auswahlindex=k}catch(k){this.Debug.ShowErrorMessage(k.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){d.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(A){A.preventDefault(),A.stopPropagation()}static \u0275fac=function(k){return new(k||M)(a.\u0275\u0275directiveInject(u.ToolsProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(l.DebugProvider),a.\u0275\u0275directiveInject(c.DisplayService),a.\u0275\u0275directiveInject(g.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:M,selectors:[["auswahl-dialog"]],viewQuery:function(k,N){if(1&k&&a.\u0275\u0275viewQuery(f,7),2&k){let F;a.\u0275\u0275queryRefresh(F=a.\u0275\u0275loadQuery())&&(N.MySelection=F.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[a.\u0275\u0275NgOnChangesFeature],decls:31,vars:16,consts:[[2,"position","absolute","top","0px","left","0px","background","none","width","100%","height","100%"],[1,"keeperdivclass",3,"click"],[1,"contentdivclass",3,"click"],[1,"paddingsmalltable"],["color","weiss",3,"name"],[1,"innerkeeperclass"],[3,"value","ionChange"],[1,"paddingtable"],["colspan","3",2,"height","6px"],[4,"ngFor","ngForOf"],["width","100%",1,"paddingsmalltable"],[1,"rootbuttonclass",3,"click"],["color","weiss","name","close-outline",2,"font-size","32px"],[2,"width","100%"],["color","weiss","name","save-outline",2,"font-size","28px"],["mode","md",3,"value"],[2,"font-weight","bold",3,"innerHTML"],[3,"innerHTML"]],template:function(k,N){1&k&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1),a.\u0275\u0275listener("click",function(T){return N.ContentClicked(T)}),a.\u0275\u0275elementStart(2,"div",2),a.\u0275\u0275listener("click",function(T){return N.ContentClicked(T)}),a.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),a.\u0275\u0275element(8,"ion-icon",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(9,"td"),a.\u0275\u0275text(10),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),a.\u0275\u0275listener("ionChange",function(T){return N.IndexChangedHandler(T)}),a.\u0275\u0275elementStart(14,"table",7)(15,"tr"),a.\u0275\u0275element(16,"td",8),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(17,S,7,9,"tr",9),a.\u0275\u0275elementStart(18,"tr"),a.\u0275\u0275element(19,"td",8),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),a.\u0275\u0275listener("click",function(){return N.CancelButtonClicked()}),a.\u0275\u0275element(26,"ion-icon",12),a.\u0275\u0275elementEnd()(),a.\u0275\u0275element(27,"td",13),a.\u0275\u0275elementStart(28,"td")(29,"div",11),a.\u0275\u0275listener("click",function(){return N.OkButtonClicked()}),a.\u0275\u0275element(30,"ion-icon",14),a.\u0275\u0275elementEnd()()()()()()()()()),2&k&&(a.\u0275\u0275styleProp("z-index",N.ZIndex),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("background",!0===N.Displayservice.ShowOpacity(N.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("width",N.Dialogbreite,"px")("bottom",N.PositionY,"px")("top",N.PositionY,"px"),a.\u0275\u0275advance(6),a.\u0275\u0275property("name",N.Iconname),a.\u0275\u0275advance(),a.\u0275\u0275styleProp("color","white"),a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(N.Titel),a.\u0275\u0275advance(3),a.\u0275\u0275property("value",N.Auswahlindex),a.\u0275\u0275advance(4),a.\u0275\u0275property("ngForOf",N.Auswahlliste))},dependencies:[y.IonContent,y.IonFooter,y.IonHeader,y.IonIcon,y.IonRadio,y.IonRadioGroup,y.RadioValueAccessor,y.SelectValueAccessor,_.NgForOf,C.PageHeaderComponent,b.PageFooterComponent,p.SafePipe],styles:[".keeperdivclass[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute}.innerkeeperclass[_ngcontent-%COMP%]{overflow:auto;width:100%;height:100%;display:flex;flex-direction:row;border-left:3px solid #2190df;border-right:3px solid #2190df}.contentdivclass[_ngcontent-%COMP%]{left:50%;position:absolute;transform:translate(-50%);display:flex;flex-direction:column}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#7b6a58;border-radius:4px}"]})}return M})()},22844:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[o.IonicModule,d.CommonModule]})}return e})()},76732:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueDateComponent=void 0;const n=i(81316),o=i(54496),d=n.__importDefault(i(35908)),a=n.__importStar(i(54496)),u=n.__importStar(i(14652)),e=n.__importStar(i(34388)),l=n.__importStar(i(19668)),c=n.__importStar(i(29743)),g=n.__importStar(i(10716)),y=n.__importStar(i(91368)),_=["DatePicker"];function C(f,S){if(1&f&&(a.\u0275\u0275elementContainerStart(0),a.\u0275\u0275elementStart(1,"td",11),a.\u0275\u0275text(2,"\u2022"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementContainerEnd()),2&f){const v=a.\u0275\u0275nextContext();a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate1("KW",v.Datum.isoWeek(),"")}}function b(f,S){if(1&f){const v=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-content",12)(1,"ion-datetime",13,14),a.\u0275\u0275listener("ionChange",function(E){a.\u0275\u0275restoreView(v);const A=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(A.DateChangedHandler(E))}),a.\u0275\u0275elementEnd()()}if(2&f){const v=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("min",v.Minimumstring)("max",v.Maximumstring)("value",v.Datum.format("YYYY-MM-DD"))}}h.ButtonValueDateComponent=(()=>{class f{Basics;Debug;Tools;Const;Buttontext;Minimum;Maximum;Datum;Buttoncolor;InnerBackgroundcolor;Enabled;ElementID;Buttonsize;ShowKW;ValueBreite;TimeChanged=new o.EventEmitter;DiabledButtonClicked=new o.EventEmitter;DatePicker;Minimumstring;Maximumstring;constructor(v,M,E,A){this.Basics=v,this.Debug=M,this.Tools=E,this.Const=A;try{let k=1,N=7,T=(0,d.default)().year(),P=12,I=0;this.ValueBreite=260,this.Minimum=(0,d.default)().set({year:2e3,month:0,date:1}).locale("de"),this.Maximum=(0,d.default)().set({year:T,month:11,date:31}).locale("de"),this.Minimumstring="2000-01-01",this.Maximumstring=T.toString()+"-12-31",this.Buttontext="Datum",this.Datum=(0,d.default)(k+"."+N+"."+T+" "+P+":"+I,"DD.MM.YYYY HH:mm").locale("de"),this.Enabled=!0,this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.ElementID="open-modal-date",this.Buttonsize="normal",this.ShowKW=!1,this.InnerBackgroundcolor=this.Basics.Farben.Burnicklgrau}catch(k){this.Debug.ShowErrorMessage(k.message,"Button Value Date","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(v){try{let M=v.Minimum,E=v.Maximum;typeof M<"u"&&(this.Minimum=M.currentValue,this.Minimumstring=this.Minimum.format("YYYY-MM-DD")),typeof E<"u"&&(this.Maximum=E.currentValue,this.Maximumstring=this.Maximum.format("YYYY-MM-DD"))}catch(M){this.Debug.ShowErrorMessage(M.message,"Button Value Date","ngOnChanges",this.Debug.Typen.Component)}}FetigButtonClicked(){try{this.DatePicker.confirm(!0)}catch(v){this.Debug.ShowErrorMessage(v.message,"Button Value Date","FetigButtonClicked",this.Debug.Typen.Component)}}DateChangedHandler(v){try{let k=v.detail.value.split("T")[0].split("-"),N=parseInt(k[2]),F=parseInt(k[1]),T=parseInt(k[0]),P=this.Datum.hours(),I=this.Datum.minutes();this.Datum=(0,d.default)(N+"."+F+"."+T+" "+P+":"+I,"DD.MM.YYYY HH:mm").locale("de"),this.TimeChanged.emit(this.Datum)}catch(M){this.Debug.ShowErrorMessage(M.message,"Button Value Date","DateChangedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(M){return new(M||f)(a.\u0275\u0275directiveInject(u.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(l.ToolsProvider),a.\u0275\u0275directiveInject(c.ConstProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:f,selectors:[["button-value-date"]],viewQuery:function(M,E){if(1&M&&a.\u0275\u0275viewQuery(_,5),2&M){let A;a.\u0275\u0275queryRefresh(A=a.\u0275\u0275loadQuery())&&(E.DatePicker=A.first)}},inputs:{Buttontext:"Buttontext",Minimum:"Minimum",Maximum:"Maximum",Datum:"Datum",Buttoncolor:"Buttoncolor",InnerBackgroundcolor:"InnerBackgroundcolor",Enabled:"Enabled",ElementID:"ElementID",Buttonsize:"Buttonsize",ShowKW:"ShowKW",ValueBreite:"ValueBreite"},outputs:{TimeChanged:"TimeChanged",DiabledButtonClicked:"DiabledButtonClicked"},features:[a.\u0275\u0275NgOnChangesFeature],decls:17,vars:11,consts:[["tappable","",1,"buttonclass",3,"id"],[2,"height","100%","width","60%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],[2,"color","white"],[4,"ngIf"],[3,"trigger"],[2,"width","16px","text-align","center","font-size","26px"],["force-overscroll","false"],["locale","de-DE","showDefaultButtons","true","doneText","Fertig","cancelText","Abbrechen","presentation","date","color","burnicklgruen",2,"background","#307ac1","color","white",3,"min","max","value","ionChange"],["DatePicker",""]],template:function(M,E){1&M&&(a.\u0275\u0275elementStart(0,"div",0)(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()()()(),a.\u0275\u0275elementStart(8,"div",6)(9,"div",7)(10,"table")(11,"tr")(12,"td",8),a.\u0275\u0275text(13),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(14,C,5,1,"ng-container",9),a.\u0275\u0275elementEnd()()()()(),a.\u0275\u0275elementStart(15,"ion-modal",10),a.\u0275\u0275template(16,b,3,3,"ng-template"),a.\u0275\u0275elementEnd()),2&M&&(a.\u0275\u0275styleProp("background",E.Enabled?E.Buttoncolor:E.Basics.Farben.ButtongrauDisabled),a.\u0275\u0275property("id",E.ElementID),a.\u0275\u0275advance(7),a.\u0275\u0275textInterpolate(E.Buttontext),a.\u0275\u0275advance(2),a.\u0275\u0275styleProp("width",E.ValueBreite,"px")("background",E.InnerBackgroundcolor),a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(null!==E.Datum?E.Datum.format("DD.MM.YYYY"):"------"),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",E.ShowKW),a.\u0275\u0275advance(),a.\u0275\u0275property("trigger",!0===E.Enabled?E.ElementID:null))},dependencies:[g.IonContent,g.IonDatetime,g.IonText,g.IonModal,g.SelectValueAccessor,y.NgIf],styles:[".buttonclass[_ngcontent-%COMP%]{justify-content:center;align-items:center;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:44px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;width:60%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}ion-datetime[_ngcontent-%COMP%]{height:auto;width:auto;max-width:350px;--background: #354547}ion-modal[_ngcontent-%COMP%]{--width: 290px;--height: 382px;--border-radius: 8px}ion-modal[_ngcontent-%COMP%] ion-datetime[_ngcontent-%COMP%]{height:382px}"]})}return f})()},72284:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.ButtonValueModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},13228:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ButtonValueComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(54496)),a=n.__importStar(i(14652)),u=n.__importStar(i(34388)),e=n.__importStar(i(19668)),l=n.__importStar(i(29743)),c=n.__importStar(i(91368)),g=n.__importStar(i(10716));function y(b,p){if(1&b&&(d.\u0275\u0275elementStart(0,"table",10)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd()()),2&b){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml)}}function _(b,p){if(1&b&&(d.\u0275\u0275elementStart(0,"table",12)(1,"tr"),d.\u0275\u0275element(2,"td",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"tr"),d.\u0275\u0275element(4,"td",13),d.\u0275\u0275elementEnd()()),2&b){const f=d.\u0275\u0275nextContext();d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_A_String,d.\u0275\u0275sanitizeHtml),d.\u0275\u0275advance(2),d.\u0275\u0275property("innerHTML",f.Wert_B,d.\u0275\u0275sanitizeHtml)}}h.ButtonValueComponent=(()=>{class b{Basics;Debug;Tools;Const;Buttoncolor;Buttontext;Wert_A;Wert_B;Iconfile;Iconcolor;Enabled;SmallWidth;BigHeight;ShowMargin;Width;ProContent=!1;ProMessage="";Buttonvaluecolor="";Rechtebreite;Linkebreite;ButtonClicked=new o.EventEmitter;DisabledButtonClicked=new o.EventEmitter;RGB;Wert_A_String;constructor(f,S,v,M){this.Basics=f,this.Debug=S,this.Tools=v,this.Const=M;try{this.Width=0,this.ShowMargin=!0,this.BigHeight=!1,this.SmallWidth=!1,this.Buttontext="",this.Wert_A="",this.Wert_B="",this.Iconcolor="red",this.Iconfile="",this.Buttoncolor=this.Basics.Farben.Burnicklbraun,this.Enabled=!0,this.Buttonvaluecolor=this.Basics.Farben.Burnicklgrau,this.Linkebreite=40,this.Rechtebreite=60}catch(E){this.Debug.ShowErrorMessage(E.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(f){try{let S=f.Buttoncolor,v=f.Wert_A;typeof S<"u"&&(S.firstChange||(this.RGB=this.Tools.HexToRGB(S.currentValue))),typeof v<"u"&&typeof v.currentValue<"u"&&"string"==typeof v.currentValue&&(this.Wert_A_String=v.currentValue)}catch(S){this.Debug.ShowErrorMessage(S.message,"Button Value","ngOnChanges",this.Debug.Typen.Component)}}ButtonClickedHandler(){try{!0===this.Enabled?this.ButtonClicked.emit():this.DisabledButtonClicked.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Button Value","ButtonClickedHandler",this.Debug.Typen.Component)}}static \u0275fac=function(S){return new(S||b)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(l.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:b,selectors:[["button-value"]],inputs:{Buttoncolor:"Buttoncolor",Buttontext:"Buttontext",Wert_A:"Wert_A",Wert_B:"Wert_B",Iconfile:"Iconfile",Iconcolor:"Iconcolor",Enabled:"Enabled",SmallWidth:"SmallWidth",BigHeight:"BigHeight",ShowMargin:"ShowMargin",Width:"Width",ProContent:"ProContent",ProMessage:"ProMessage",Buttonvaluecolor:"Buttonvaluecolor",Rechtebreite:"Rechtebreite",Linkebreite:"Linkebreite"},outputs:{ButtonClicked:"ButtonClicked",DisabledButtonClicked:"DisabledButtonClicked"},features:[d.\u0275\u0275NgOnChangesFeature],decls:12,vars:11,consts:[["tappable","",1,"buttonclass",3,"click"],[2,"height","100%"],[1,"buttontextclass"],["cellspacing","0","cellpadding","0",1,"paddingtable"],["height","100%","valign","middle"],["color","weiss"],[1,"outerinfokeeperclass"],[1,"infokeeperclass"],["cellpadding","0","cellspacing","0",4,"ngIf"],["width","100%",4,"ngIf"],["cellpadding","0","cellspacing","0"],["align","center",3,"innerHTML"],["width","100%"],["align","center",1,"ergotextclass",3,"innerHTML"]],template:function(S,v){1&S&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(){return v.ButtonClickedHandler()}),d.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),d.\u0275\u0275text(7),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(8,"div",6)(9,"div",7),d.\u0275\u0275template(10,y,3,1,"table",8)(11,_,5,2,"table",9),d.\u0275\u0275elementEnd()()()),2&S&&(d.\u0275\u0275styleProp("background",v.Enabled?v.Buttoncolor:v.Basics.Farben.ButtongrauDisabled),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",v.Linkebreite,"%"),d.\u0275\u0275advance(6),d.\u0275\u0275textInterpolate(v.Buttontext),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("width",v.Rechtebreite,"%"),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("background",v.Buttonvaluecolor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""===v.Wert_B),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",""!==v.Wert_B))},dependencies:[c.NgIf,g.IonText],styles:[".buttonclass[_ngcontent-%COMP%]{position:relative;width:100%;height:44px;border-radius:4px;padding:2px;display:flex}.buttontextclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;min-height:8px;width:100%;height:100%}.outerinfokeeperclass[_ngcontent-%COMP%]{height:100%;padding:2px;display:flex;justify-content:center;align-items:center}.infokeeperclass[_ngcontent-%COMP%]{color:#fff;height:34px;width:100%;padding:2px;display:flex;justify-content:center;align-items:center;border-radius:4px}"]})}return b})()},25856:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(54496)),a=n.__importStar(i(14652)),u=n.__importStar(i(19668)),e=n.__importStar(i(34388));h.CheckboxClonComponent=(()=>{class c{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new o.EventEmitter;ImgSource;constructor(y,_,C){this.Basics=y,this.Tools=_,this.Debug=C;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(b){this.Debug.ShowErrorMessage(b.message,"Checkbox","constructor",this.Debug.Typen.Component)}}ngOnInit(){try{!1===this.Enabled&&(this.Background="#B2BABB")}catch(y){this.Debug.ShowErrorMessage(y,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(y){try{y.stopPropagation(),y.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:y,value:this.Value})}catch(_){this.Debug.ShowErrorMessage(_.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}static \u0275fac=function(_){return new(_||c)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(u.ToolsProvider),d.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:c,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(_,C){1&_&&(d.\u0275\u0275elementStart(0,"div",0),d.\u0275\u0275listener("click",function(p){return C.DivClickedHnadler(p)}),d.\u0275\u0275element(1,"img",1),d.\u0275\u0275elementEnd()),2&_&&(d.\u0275\u0275styleProp("background",C.Background),d.\u0275\u0275advance(),d.\u0275\u0275property("hidden",!C.Checked)("src",C.ImgSource,d.\u0275\u0275sanitizeUrl))},styles:[".keeperdivclass[_ngcontent-%COMP%]{padding:2px;position:relative;width:24px;height:24px;border:2px solid gray;border-radius:4px;display:flex;justify-content:center;align-items:center}"]})}return c})()},7388:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CheckboxClonModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.CheckboxClonModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},61540:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneKeeperModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},38056:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(78776)),a=n.__importStar(i(54496)),u=n.__importStar(i(34388)),e=n.__importStar(i(14652)),l=n.__importStar(i(19668)),c=n.__importStar(i(91368)),g=n.__importStar(i(10716));function y(k,N){1&k&&a.\u0275\u0275element(0,"td")}function _(k,N){if(1&k&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",4),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(3,"td",5),a.\u0275\u0275element(4,"ion-icon",6),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(5,y,1,0,"td",3),a.\u0275\u0275elementEnd()),2&k){const F=a.\u0275\u0275nextContext();a.\u0275\u0275styleProp("color",F.Titelcolor),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(F.Titel),a.\u0275\u0275advance(),a.\u0275\u0275property("hidden",!1===F.Clickable),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==F.Einheit)}}function C(k,N){if(1&k){const F=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-input",10),a.\u0275\u0275listener("ionInput",function(P){a.\u0275\u0275restoreView(F);const I=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(I.TextChangedHandler(P))}),a.\u0275\u0275elementEnd()}if(2&k){const F=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("font-size",F.Textsize,"px"),a.\u0275\u0275property("inputmode",F.Inputtype)("label",F.Titel)("debounce",F.Debouncetime)("value",F.Value)("color",F.Textcolor)}}function b(k,N){if(1&k&&(a.\u0275\u0275elementStart(0,"ion-label"),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&k){const F=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(F.Value)}}function p(k,N){if(1&k&&(a.\u0275\u0275elementStart(0,"td",11),a.\u0275\u0275text(1),a.\u0275\u0275elementEnd()),2&k){const F=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(),a.\u0275\u0275textInterpolate(F.Einheit)}}function f(k,N){if(1&k&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",7),a.\u0275\u0275template(2,C,1,7,"ion-input",8)(3,b,2,1,"ion-label",3),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,p,2,1,"td",9),a.\u0275\u0275elementEnd()),2&k){const F=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===F.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===F.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==F.Einheit)}}function S(k,N){if(1&k){const F=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-textarea",15),a.\u0275\u0275listener("ionChange",function(P){a.\u0275\u0275restoreView(F);const I=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(I.TextChangedHandler(P))}),a.\u0275\u0275elementEnd()}if(2&k){const F=a.\u0275\u0275nextContext(2);a.\u0275\u0275property("label",F.Titel)("debounce",F.Debouncetime)("value",F.Value)("rows",F.Lines)}}function v(k,N){if(1&k&&a.\u0275\u0275element(0,"div",16),2&k){const F=a.\u0275\u0275nextContext(2);a.\u0275\u0275styleProp("height",18*F.Lines,"px"),a.\u0275\u0275property("innerHTML",F.Tools.FormatLinebreaks(F.Value),a.\u0275\u0275sanitizeHtml)}}function M(k,N){1&k&&a.\u0275\u0275element(0,"td")}function E(k,N){if(1&k&&(a.\u0275\u0275elementStart(0,"tr")(1,"td",12),a.\u0275\u0275template(2,S,1,4,"ion-textarea",13)(3,v,1,3,"div",14),a.\u0275\u0275elementEnd(),a.\u0275\u0275template(4,M,1,0,"td",3),a.\u0275\u0275elementEnd()),2&k){const F=a.\u0275\u0275nextContext();a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",!0===F.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",!1===F.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",null!==F.Einheit)}}h.InputCloneComponent=(()=>{class k{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new o.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new o.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(F,T,P){this.Debug=F,this.Basics=T,this.Tools=P;try{let I=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=I+"px solid "+this.OkBorderColor,this.RequiredBorder=I+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=I+"px solid "+this.DisabledColor,this.Valid=!0,this.MinLength=0,this.MaxLength=0,this.Enabled=!0,this.Titel="",this.Value="",this.MinHeight=30,this.Inputtype="text",this.Lines=1,this.Debouncetime=0,this.Clickable=!1,this.Required=!1,this.Titelcolor="black",this.ParseToFloat=!1,this.Textsize=14,this.Einheit=null,this.Textcolor=this.Basics.Ionicfarben.Schwarz}catch(I){this.Debug.ShowErrorMessage(I.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let T;"text"===this.Inputtype||"email"===this.Inputtype?(T=d.string(),"email"===this.Inputtype&&(T=T.email({tlds:{allow:!1}}))):T=d.number(),this.MinLength>0&&(T=T.min(this.MinLength)),this.MaxLength>0&&(T=T.max(this.MaxLength)),T=!0===this.Required?T.required():T.allow(""),this.JoiShema=d.object({Text:T}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(F){this.Debug.ShowErrorMessage(F.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(F){try{let T,P;return this.JoiShema?(T=this.JoiShema.validate({Text:F}),T.error?(P=!1,this.Debug.ShowErrorMessage(T.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):P=!0):P=!1,P}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(F){try{let T="text"===this.Inputtype||"email"===this.Inputtype?F.detail.value:this.ParseToFloat?parseFloat(F.detail.value):parseInt(F.detail.value);!0===this.Enabled&&(typeof T>"u"&&(T=""),this.Valid=this.CheckValid(T),this.ValueChange.emit(T),this.TextChanged.emit({Titel:this.Titel,Text:T,Valid:this.Valid})),F.stopPropagation(),F.preventDefault()}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(F){try{let T=1,P=F.Value;typeof P<"u"&&(this.Valid=this.CheckValid(P.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:P.currentValue,Valid:this.Valid})),this.DisabledBorder=T+"px solid "+this.DisabledColor,this.OkBorder=T+"px solid "+this.OkBorderColor}catch(T){this.Debug.ShowErrorMessage(T.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(T){return new(T||k)(a.\u0275\u0275directiveInject(u.DebugProvider),a.\u0275\u0275directiveInject(e.BasicsProvider),a.\u0275\u0275directiveInject(l.ToolsProvider))};static \u0275cmp=a.\u0275\u0275defineComponent({type:k,selectors:[["input-clone"]],inputs:{Titel:"Titel",Titelcolor:"Titelcolor",Value:"Value",Debouncetime:"Debouncetime",MinLength:"MinLength",MaxLength:"MaxLength",Enabled:"Enabled",Clickable:"Clickable",MinHeight:"MinHeight",Inputtype:"Inputtype",Required:"Required",Lines:"Lines",DisabledColor:"DisabledColor",OkBorderColor:"OkBorderColor",ParseToFloat:"ParseToFloat",Textcolor:"Textcolor",Textsize:"Textsize",Einheit:"Einheit"},outputs:{ValueChange:"ValueChange",TextChanged:"TextChanged"},features:[a.\u0275\u0275NgOnChangesFeature],decls:5,vars:9,consts:[[1,"framedivclass"],["width","100%"],[3,"color",4,"ngIf"],[4,"ngIf"],[1,"uppercellclass"],[2,"text-align","right",3,"hidden"],["color","burnicklgruen","name","list-outline",2,"font-size","20px"],["colspan","2",1,"lowercellclass",2,"width","auto"],["class","inputclass","labelPlacement","stacked","autocomplete","off",3,"font-size","inputmode","label","debounce","value","color","ionInput",4,"ngIf"],["style","width: 20px; text-align: center;",4,"ngIf"],["labelPlacement","stacked","autocomplete","off",1,"inputclass",3,"inputmode","label","debounce","value","color","ionInput"],[2,"width","20px","text-align","center"],["colspan","2",1,"lowercellclass"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange",4,"ngIf"],[3,"height","innerHTML",4,"ngIf"],["labelPlacement","stacked",3,"label","debounce","value","rows","ionChange"],[3,"innerHTML"]],template:function(T,P){1&T&&(a.\u0275\u0275elementStart(0,"div",0)(1,"table",1),a.\u0275\u0275template(2,_,6,5,"tr",2)(3,f,5,3,"tr",3)(4,E,5,3,"tr",3),a.\u0275\u0275elementEnd()()),2&T&&(a.\u0275\u0275styleProp("cursor",!0===P.Clickable?"pointer":"default")("min-height",P.MinHeight,"px")("border",!0===P.Enabled?!0===P.Valid?P.OkBorder:P.RequiredBorder:P.DisabledBorder),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",null!==P.Titel&&""!==P.Titel&&!1===P.Enabled),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1===P.Lines),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",1!==P.Lines))},dependencies:[c.NgIf,g.IonIcon,g.IonInput,g.IonLabel,g.IonTextarea,g.TextValueAccessor],styles:[".framedivclass[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-start;align-items:flex-start}.inputclass[_ngcontent-%COMP%]{border:1px solid blue;border:none;--padding-bottom: 0px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}ion-label[_ngcontent-%COMP%]{color:#000}ion-textarea[_ngcontent-%COMP%]{margin-top:0;border:none;--padding-bottom: 100px;--padding-end: 0px;--padding-start: 0px;--padding-top: 0px;--color: black}.uppercellclass[_ngcontent-%COMP%]{font-size:80%;padding:4px 4px 2px}.lowercellclass[_ngcontent-%COMP%]{padding:0 4px 4px}"]})}return k})()},33780:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.InputCloneModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.InputCloneModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},90520:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.PageFooterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[o.IonicModule,d.CommonModule]})}return e})()},29856:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageFooterComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(54496)),a=n.__importStar(i(29743)),u=n.__importStar(i(34388)),e=n.__importStar(i(14652)),l=["PageFooterFrameDiv"],c=["*"];h.PageFooterComponent=(()=>{class y{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(C,b,p){this.Const=C,this.Debug=b,this.Basics=p}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(C){this.Debug.ShowErrorMessage(C.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(b){return new(b||y)(d.\u0275\u0275directiveInject(a.ConstProvider),d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:y,selectors:[["page-footer"]],viewQuery:function(b,p){if(1&b&&d.\u0275\u0275viewQuery(l,7,o.ElementRef),2&b){let f;d.\u0275\u0275queryRefresh(f=d.\u0275\u0275loadQuery())&&(p.PageFooterFrameDiv=f.first)}},ngContentSelectors:c,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(b,p){1&b&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275elementEnd())},styles:[".keeperclass[_ngcontent-%COMP%]{background:#307ac1;color:#fff;width:100%;min-height:40px;height:100%;display:flex;align-items:center;justify-content:flex-end}"]})}return y})()},89300:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderCenterModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},63792:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuComponent=void 0;const o=i(81316),d=i(54496),a=o.__importDefault(i(35908)),u=i(36716),e=o.__importStar(i(54496)),l=o.__importStar(i(34388)),c=o.__importStar(i(14652)),g=o.__importStar(i(29743)),y=o.__importStar(i(22848)),_=o.__importStar(i(15024)),C=o.__importStar(i(48044)),b=o.__importStar(i(58864)),p=o.__importStar(i(79052)),f=o.__importStar(i(9544)),S=o.__importStar(i(8608)),v=o.__importStar(i(97092)),M=o.__importStar(i(7992)),E=o.__importStar(i(59460)),A=o.__importStar(i(91368)),k=o.__importStar(i(10716)),N=o.__importStar(i(25856)),F=o.__importStar(i(76732)),T=["Suchleiste"],P=["Suchleiste2"],I=["ion-searchbar"];function j(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.HomeMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.HomeMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.MainMenueButtonClicked(Qe.Menuservice.MainMenuebereiche.Home))}),e.\u0275\u0275elementStart(3,"table",7)(4,"tr")(5,"td"),e.\u0275\u0275element(6,"ion-icon",8),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementStart(7,"td",9),e.\u0275\u0275element(8,"div"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("color",Ie.HomeMouseOver?Ie.Basics.Ionicfarben.Schwarz:Ie.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(2),e.\u0275\u0275classMap(Ie.Menuservice.MainMenuebereich===Ie.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function L(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"ion-badge",22),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ie.DBUrlaub.Anfragenanzahl.toString())}}function B(De,je){1&De&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",23),e.\u0275\u0275elementEnd())}function $(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",24)(1,"ion-button",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.UrlaubMitarbeiterClicked.emit())}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(null!==Ie.DBUrlaub.CurrentMitarbeiter?Ie.DBUrlaub.CurrentMitarbeiter.Vorname+" "+Ie.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt")}}function ee(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.LogoutMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.LogoutMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.LogoutButtonClicked())}),e.\u0275\u0275elementStart(5,"table",7)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Abmelden"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(11,"td",3),e.\u0275\u0275elementStart(12,"td",9),e.\u0275\u0275element(13,"div",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td")(15,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Planung))}),e.\u0275\u0275elementStart(16,"table",7)(17,"tr")(18,"td"),e.\u0275\u0275element(19,"ion-icon",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(20,"td",14),e.\u0275\u0275text(21,"Planung"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(22,"td",15),e.\u0275\u0275elementStart(23,"td")(24,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Uebersicht))}),e.\u0275\u0275elementStart(25,"table",7)(26,"tr")(27,"td"),e.\u0275\u0275element(28,"ion-icon",16),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"\xdcbersicht"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(31,"td",15),e.\u0275\u0275elementStart(32,"td")(33,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Freigaben))}),e.\u0275\u0275elementStart(34,"table",7)(35,"tr")(36,"td"),e.\u0275\u0275element(37,"ion-icon",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"td"),e.\u0275\u0275text(39,"Anfragen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(40,L,3,1,"td",0),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(41,"td",15),e.\u0275\u0275elementStart(42,"td")(43,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.UrlaubMenueButtonClicked(Qe.Menuservice.UrlaubMenuebereiche.Einstellungen))}),e.\u0275\u0275elementStart(44,"table",7)(45,"tr")(46,"td"),e.\u0275\u0275element(47,"ion-icon",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(48,"td"),e.\u0275\u0275text(49,"Einstellungen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(50,B,2,0,"td",0),e.\u0275\u0275element(51,"td",19),e.\u0275\u0275template(52,$,3,1,"td",20),e.\u0275\u0275element(53,"td",21),e.\u0275\u0275elementEnd()()()}if(2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("cursor",Ie.LogoutMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Ie.LogoutMouseOver?Ie.Basics.Ionicfarben.Schwarz:Ie.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.LogoutMouseOver?"#000000":"white"),e.\u0275\u0275advance(10),e.\u0275\u0275property("color",Ie.GetUrlaubMenueIconcolor(Ie.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.GetUrlaubMenueFontcolor(Ie.Menuservice.UrlaubMenuebereiche.Planung)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Ie.GetUrlaubMenueIconcolor(Ie.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.GetUrlaubMenueFontcolor(Ie.Menuservice.UrlaubMenuebereiche.Uebersicht)),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",Ie.GetUrlaubMenueIconcolor(Ie.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.GetUrlaubMenueFontcolor(Ie.Menuservice.UrlaubMenuebereiche.Freigaben)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",Ie.DBUrlaub.Anfragenanzahl>0),e.\u0275\u0275advance(7),e.\u0275\u0275property("color",Ie.GetUrlaubMenueIconcolor(Ie.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.GetUrlaubMenueFontcolor(Ie.Menuservice.UrlaubMenuebereiche.Einstellungen)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Ie.DBUrlaub.CorrectSetup),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Ie.Pool.Mitarbeiterdaten&&!0===Ie.Pool.Mitarbeiterdaten.Planeradministrator)}}function le(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",6),e.\u0275\u0275listener("mouseenter",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.BackMouseOver=!0)})("mouseleave",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.BackMouseOver=!1)})("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.BackButtonClicked())}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",26),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Zur\xfcck"),e.\u0275\u0275elementEnd()()()()()}if(2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("cursor",Ie.BackMouseOver?"pointer":"default"),e.\u0275\u0275advance(4),e.\u0275\u0275property("color",Ie.BackMouseOver?Ie.Basics.Ionicfarben.BAEBlau:Ie.Basics.Ionicfarben.Weiss),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.BackMouseOver?"#000000":"white")}}function se(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td",27),e.\u0275\u0275element(1,"div"),e.\u0275\u0275elementEnd()),2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275classMap(Ie.Menuservice.MainMenuebereich===Ie.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function K(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Standorte"),e.\u0275\u0275elementEnd()()()()()),2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Ie.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function Q(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()()()),2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Ie.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function re(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"td")(1,"div",28)(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",31),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Projekte"),e.\u0275\u0275elementEnd()()()()()),2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Ie.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function X(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.FirmaMenueButtonClicked(Qe.Menuservice.FirmaMenuebereiche.Favoriten))}),e.\u0275\u0275elementStart(2,"table",7)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-icon",32),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Favoriten"),e.\u0275\u0275elementEnd()()()()()}if(2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("color",Ie.Basics.Ionicfarben.Schwarz),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","#000000")}}function z(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td")(2,"table",33)(3,"tr")(4,"td",34)(5,"button-value-date",35),e.\u0275\u0275listener("TimeChanged",function(Qe){e.\u0275\u0275restoreView(Ie);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.EmailDatumChangedHandler(Qe))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Qe){e.\u0275\u0275restoreView(Ie);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.ShowUngelesenCheckChanged(Qe))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9," Nur ungelesene Emails anzeigen "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td")(11,"checkbox-clon",36),e.\u0275\u0275listener("CheckChanged",function(Qe){e.\u0275\u0275restoreView(Ie);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.ProjektsortierungChangedHandler(Qe))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td"),e.\u0275\u0275text(13," Sortieren nach Projekten "),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275property("Buttontext","Ab dem ")("ElementID","terminspanneende")("Datum",Ie.GetMailDatum()),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Ie.DBEmail.ShowUngelesenOnly),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Ie.DBEmail.Projektsortierung)}}function Y(De,je){1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275element(3,"ion-searchbar",37,38),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function q(De,je){if(1&De){const Ie=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275element(1,"td",15),e.\u0275\u0275elementStart(2,"td")(3,"div",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Ie);const Qe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Qe.StandortButtonClicked())}),e.\u0275\u0275elementStart(4,"table",7)(5,"tr")(6,"td"),e.\u0275\u0275element(7,"ion-icon",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",41),e.\u0275\u0275text(9),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd()}if(2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(9),e.\u0275\u0275textInterpolate(Ie.DBStandort.GetStandortfiller())}}function de(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(4,"td",3),e.\u0275\u0275elementEnd()()),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("src",Ie.GraphService.UserimageSRC,e.\u0275\u0275sanitizeUrl)}}function me(De,je){if(1&De&&(e.\u0275\u0275elementStart(0,"div",44),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",null!==Ie.Pool.Mitarbeiterdaten?Ie.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function Oe(De,je){if(1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,de,5,1,"table",0)(2,me,2,1,"div",42),e.\u0275\u0275elementContainerEnd()),2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Ie.GraphService.UserimageSRC),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null===Ie.GraphService.UserimageSRC)}}function Re(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Ie.Timelinebreite,"px")}}function Ae(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Ie.Timelinebreite,"px")}}function ge(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Ie.Timelinebreite,"px")}}function Ne(De,je){if(1&De&&e.\u0275\u0275element(0,"td",51),2&De){const Ie=e.\u0275\u0275nextContext(3);e.\u0275\u0275styleProp("width",Ie.Timelinebreite,"px")}}function it(De,je){if(1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",45),e.\u0275\u0275element(3,"div",46),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"tr")(5,"td",47)(6,"table")(7,"tr")(8,"td")(9,"div",48),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(11,Re,1,2,"td",49),e.\u0275\u0275element(12,"td",50),e.\u0275\u0275elementStart(13,"td")(14,"div",48),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,Ae,1,2,"td",49),e.\u0275\u0275element(17,"td",50),e.\u0275\u0275elementStart(18,"td")(19,"div",48),e.\u0275\u0275text(20),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(21,ge,1,2,"td",49),e.\u0275\u0275element(22,"td",50),e.\u0275\u0275elementStart(23,"td")(24,"div",48),e.\u0275\u0275text(25),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(26,Ne,1,2,"td",49),e.\u0275\u0275element(27,"td",50),e.\u0275\u0275elementStart(28,"td")(29,"div",48),e.\u0275\u0275text(30),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementContainerEnd()),2&De){const Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("width",Ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate3("Montag ",Ie.Timelineindex," ",Ie.GetDatumtext("Montag")," ",Ie.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Dienstag ",Ie.GetDatumtext("Dienstag")," ",Ie.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",1===Ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Mittwoch ",Ie.GetDatumtext("Mittwoch")," ",Ie.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",2===Ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Donnerstag ",Ie.GetDatumtext("Donnerstag")," ",Ie.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",3===Ie.Timelineindex),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("width",Ie.Tagbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ie.Wochentaghoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2("Freitag ",Ie.GetDatumtext("Freitag")," ",Ie.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function qe(De,je){if(1&De&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),e.\u0275\u0275element(6,"td",3),e.\u0275\u0275template(7,j,9,3,"ng-container",0)(8,ee,54,20,"td",0)(9,le,8,5,"td",0)(10,se,2,2,"td",4)(11,K,8,3,"td",0)(12,Q,8,3,"td",0)(13,re,8,3,"td",0)(14,X,8,3,"td",0)(15,z,14,5,"ng-container",0)(16,Y,5,0,"ng-container",0)(17,q,10,1,"ng-container",0),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(18,"td",5),e.\u0275\u0275template(19,Oe,3,2,"ng-container",0),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,it,31,35,"ng-container",0),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&De){const Ie=e.\u0275\u0275nextContext();e.\u0275\u0275advance(7),e.\u0275\u0275property("ngIf",null!==Ie.Pool.Mitarbeiterdaten&&Ie.Pool.Mitarbeiterdaten.Planeradministrator),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.Menuservice.MainMenuebereich===Ie.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.Menuservice.MainMenuebereich===Ie.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.Menuservice.MainMenuebereich!==Ie.Menuservice.MainMenuebereiche.Urlaubsplanung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ie.ShowStandorttitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ie.ShowMitarbeitertitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ie.ShowProjektetitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ie.ShowFavoritentitle),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.Menuservice.MainMenuebereich===Ie.Menuservice.MainMenuebereiche.Email),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.ShowSuchleiste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.ShowSandortfilter),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!1===Ie.AuthService.ShowLogin),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.Menuservice.MainMenuebereich===Ie.Menuservice.MainMenuebereiche.Projekte&&Ie.Menuservice.ProjekteMenuebereich===Ie.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&Ie.Menuservice.Aufgabenlisteansicht===Ie.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}h.PageHeaderMenuComponent=(()=>{class De{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBEmail;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new d.EventEmitter;StandortfilterClicked=new d.EventEmitter;ZeitspanneFilterClicked=new d.EventEmitter;LeistungsphaseFilterClicked=new d.EventEmitter;FilterChanged=new d.EventEmitter;ShowProjektauswahlEvent=new d.EventEmitter;ShowProjektfilesEvent=new d.EventEmitter;LOPListeZeitspanneEvent=new d.EventEmitter;ShowOpenFestlegungOnlyEvent=new d.EventEmitter;SendFestlegungenClicked=new d.EventEmitter;ShowUngelesenOnlyChanged=new d.EventEmitter;ProjektsortierungChanged=new d.EventEmitter;EmailDatumChanged=new d.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new d.EventEmitter;ShowLOPListeInfoeintraegeChanged=new d.EventEmitter;ExpandFestlegungeEvent=new d.EventEmitter;UrlaubMitarbeiterClicked=new d.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;constructor(Ie,bt,Qe,Ut,sn,un,Sn,bn,kt,jt,Fe,Ee,ye){this.Debug=Ie,this.Basics=bt,this.Const=Qe,this.DBMitarbeiter=Ut,this.DBMitarbeitersettings=sn,this.Auswahlservice=un,this.DBStandort=Sn,this.DBEmail=bn,this.DBUrlaub=kt,this.GraphService=jt,this.AuthService=Fe,this.Pool=Ee,this.Menuservice=ye;try{this.ShowSuchleiste=!1,this.SuchleisteClearSubscription=null,this.Suchleiste2ClearSubscription=null,this.SuchleisteInputSubscription=null,this.Suchleiste2InputSubscription=null,this.FavoritenSubscription=null,this.Inputtimer=null,this.ShowSandortfilter=!1,this.Projektauswahlbreite=200,this.Filterorigin=this.Const.NONE,this.Wochentaghoehe=30,this.Tagbreite=0,this.Timelinebreite=40,this.HomeMouseOver=!1,this.EmailMouseOver=!1,this.ShowStandorttitle=!1,this.ShowMitarbeitertitle=!1,this.ShowProjektetitle=!1,this.ShowFavoritentitle=!1,this.FilesMouseOver=!1,this.ShowOpenFestlegungOnly=!1,this.SendFestlegungenEnabled=!1,this.BackMouseOver=!1,this.LogoutMouseOver=!1,this.Timelineindex=0}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ProjektsortierungChangedHandler(Ie){try{this.DBEmail.Projektsortierung=Ie.status}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","ProjektsortierungChangedHandler",this.Debug.Typen.Component)}}ShowUngelesenCheckChanged(Ie){try{this.DBEmail.ShowUngelesenOnly=Ie.status,this.ShowUngelesenOnlyChanged.emit()}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","ShowUngelesenCheckChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){var Ie=this;return n(function*(){try{Ie.Tagbreite=(Ie.Basics.Contentbreite-4-Ie.Timelinebreite)/5}catch(bt){Ie.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ngAfterViewInit",Ie.Debug.Typen.Component)}})()}MainMenueButtonClicked(Ie){try{this.Menuservice.MainMenuebereich=Ie,this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(Ie){try{this.Menuservice.FirmaMenuebereich=Ie,this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(Ie){try{this.Menuservice.ProjekteMenuebereich=Ie,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(Ie){try{this.Menuservice.UrlaubMenuebereich=Ie,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(Ie){try{return Ie===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(Ie){try{return Ie===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(Ie){try{return Ie===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(Ie){try{return Ie===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(Ie){try{this.ZeitspanneFilterClicked.emit(Ie)}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(Ie){}GetZeitfilterButtontext(){try{if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return"Seit dem Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return"Bis zum Zeitpunkt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return"Zeitspanne";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:return"Monat";case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Woche";default:return"Zeitfilter"}}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let Ie,bt,Qe="";if(null!==this.Pool.Mitarbeitersettings){if(this.Filterorigin!==this.Auswahlservice.Auswahloriginvarianten.Aufgabenliste_Zeitfilter)return"Zeitfilter";switch(this.Pool.Mitarbeitersettings.AufgabenTerminfiltervariante){case this.Const.Faelligkeitsterminfiltervarianten.Seit_dem_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Ie=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Ie.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(bt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),bt.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(Ie=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),Qe+=Ie.format("DD.MM.YYYY")):Qe+="Unbekannt",Qe+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(bt=(0,a.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),Qe+=bt.format("DD.MM.YYYY")):Qe+="Unbekannt",Qe;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Page Header Menu","GetZeitfilterButtonwert",this.Debug.Typen.Component)}}MeintagClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Mein_Tag}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","MeintagClicked",this.Debug.Typen.Component)}}MeineWocheClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meine_Woche}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","MeineWocheClicked",this.Debug.Typen.Component)}}MeilensteineClicked(){try{this.Menuservice.ProjekteMenuebereich=this.Menuservice.ProjekteMenuebereiche.Aufgabenliste,this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Meilensteine}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","MeilensteineClicked",this.Debug.Typen.Component)}}ProjektClicked(){try{this.Menuservice.Aufgabenlisteansicht!==this.Menuservice.Aufgabenlisteansichten.Projekt?this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt:this.ShowProjektauswahlEvent.emit()}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(Ie){try{this.ShowOpenFestlegungOnly=Ie.status,this.ShowOpenFestlegungOnlyEvent.emit(Ie.status)}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetMailDatum(){try{return this.DBEmail.Emaildatum}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Page Header Menu","GetMailDatum",this.Debug.Typen.Component)}}EmailDatumChangedHandler(Ie){try{this.DBEmail.Emaildatum=Ie.clone(),this.EmailDatumChanged.emit()}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","EmailDatumChangedHandler",this.Debug.Typen.Component)}}GetDatumtext(Ie){try{let Qe=(0,a.default)().locale("de").clone().startOf("isoWeek");switch(Ie){case"Montag":return Qe.format("DD.MM.");case"Dienstag":return Qe.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return Qe.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return Qe.clone().add(3,"day").format("DD.MM.");case"Freitag":return Qe.clone().add(4,"day").format("DD.MM.")}return""}catch(bt){this.Debug.ShowErrorMessage(bt,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}environment=u.environment;static \u0275fac=function(bt){return new(bt||De)(e.\u0275\u0275directiveInject(l.DebugProvider),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.ConstProvider),e.\u0275\u0275directiveInject(y.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(_.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(C.AuswahlDialogService),e.\u0275\u0275directiveInject(b.DatabaseStandorteService),e.\u0275\u0275directiveInject(p.DatabaseOutlookemailService),e.\u0275\u0275directiveInject(f.DatabaseUrlaubService),e.\u0275\u0275directiveInject(S.Graphservice),e.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(M.DatabasePoolService),e.\u0275\u0275directiveInject(E.MenueService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:De,selectors:[["page-header-menu"]],viewQuery:function(bt,Qe){if(1&bt&&(e.\u0275\u0275viewQuery(T,5),e.\u0275\u0275viewQuery(P,5),e.\u0275\u0275viewQuery(I,5)),2&bt){let Ut;e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(Qe.Suchleiste=Ut.first),e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(Qe.Suchleiste2=Ut.first),e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(Qe.Sucheiste3=Ut)}},inputs:{ShowSandortfilter:"ShowSandortfilter",ShowSuchleiste:"ShowSuchleiste",Filterorigin:"Filterorigin",ShowStandorttitle:"ShowStandorttitle",ShowMitarbeitertitle:"ShowMitarbeitertitle",ShowProjektetitle:"ShowProjektetitle",ShowFavoritentitle:"ShowFavoritentitle",SendFestlegungenEnabled:"SendFestlegungenEnabled",Timelineindex:"Timelineindex"},outputs:{SucheChanged:"SucheChanged",StandortfilterClicked:"StandortfilterClicked",ZeitspanneFilterClicked:"ZeitspanneFilterClicked",LeistungsphaseFilterClicked:"LeistungsphaseFilterClicked",FilterChanged:"FilterChanged",ShowProjektauswahlEvent:"ShowProjektauswahlEvent",ShowProjektfilesEvent:"ShowProjektfilesEvent",LOPListeZeitspanneEvent:"LOPListeZeitspanneEvent",ShowOpenFestlegungOnlyEvent:"ShowOpenFestlegungOnlyEvent",SendFestlegungenClicked:"SendFestlegungenClicked",ShowUngelesenOnlyChanged:"ShowUngelesenOnlyChanged",ProjektsortierungChanged:"ProjektsortierungChanged",EmailDatumChanged:"EmailDatumChanged",PlanungsmatrixLeistungsphaseClicked:"PlanungsmatrixLeistungsphaseClicked",ShowLOPListeInfoeintraegeChanged:"ShowLOPListeInfoeintraegeChanged",ExpandFestlegungeEvent:"ExpandFestlegungeEvent",UrlaubMitarbeiterClicked:"UrlaubMitarbeiterClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],["align","center","style","width: 12px",4,"ngIf"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",3,"color"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","create-outline",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",3,"color"],["name","thumbs-up-outline",3,"color"],["name","settings-outline",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["name","arrow-back-circle-outline",3,"color"],["align","center",2,"width","12px"],[1,"menubuttonclass"],["name","location-outline",3,"color"],["name","people-outline",3,"color"],["name","business-outline",3,"color"],["name","bookmarks-outline",3,"color"],[1,"paddingtable"],[2,"width","300px"],[3,"Buttontext","ElementID","Datum","TimeChanged"],[3,"Checked","CheckChanged"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss"],[2,"color","white"],["class","userkuerzelsmall",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["colspan","2",2,"padding-left","8px","padding-right","8px"],[2,"width","100%","height","1px","background","white"],["colspan","2"],[1,"wocheheaderdivclass"],["style","background: #354547;",3,"width",4,"ngIf"],[2,"width","1px","background","white"],[2,"background","#354547"]],template:function(bt,Qe){1&bt&&e.\u0275\u0275template(0,qe,21,13,"ng-container",0),2&bt&&e.\u0275\u0275property("ngIf",null!==Qe.AuthService.ActiveUser)},dependencies:[A.NgIf,k.IonBadge,k.IonButton,k.IonIcon,k.IonSearchbar,k.TextValueAccessor,N.CheckboxClonComponent,F.ButtonValueDateComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.menufilterbuttonclass[_ngcontent-%COMP%]{padding:2px 4px 2px 2px;cursor:pointer;background:#454545;border-radius:4px}.planungheaderdiv[_ngcontent-%COMP%]{border-radius:6px;width:40px;height:40px;background:#454545;color:#fff;font-size:90%;display:flex;justify-content:center;align-items:center}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.trennerbigdivclass[_ngcontent-%COMP%]{width:1px;min-height:64px;height:100%;background:silver}ion-searchbar[_ngcontent-%COMP%]{width:300px;height:50px;--border-radius: none;--box-shadow: none;--background: black}.iconboxclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:6px;width:40px;height:40px;background:#444}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:140px;min-height:34px;height:100%;padding:2px;border:1px solid white;border-radius:6px;cursor:pointer}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:50px;min-height:34px;height:100%;border:1px solid white;border-radius:6px;cursor:pointer}.statusvaianteclass[_ngcontent-%COMP%]{padding:6px;border-radius:3px;width:auto;white-space:nowrap;color:#fff;font-size:80%}.wocheheaderdivclass[_ngcontent-%COMP%]{background:#354547;color:#fff;display:flex;justify-content:center;align-items:center}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;background:#454545;color:#fff;font-weight:700}"]})}return De})()},6168:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderMenuModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(72284),u=i(7388),e=i(22844),l=n.__importStar(i(54496));h.PageHeaderMenuModule=(()=>{class g{static \u0275fac=function(C){return new(C||g)};static \u0275mod=l.\u0275\u0275defineNgModule({type:g});static \u0275inj=l.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.ButtonValueModule,u.CheckboxClonModule,e.ButtonValueDateModule]})}return g})()},70216:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=n.__importStar(i(54496));h.PageHeaderModule=(()=>{class e{static \u0275fac=function(g){return new(g||e)};static \u0275mod=a.\u0275\u0275defineNgModule({type:e});static \u0275inj=a.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule]})}return e})()},90212:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageHeaderComponent=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(54496)),a=n.__importStar(i(34388)),u=n.__importStar(i(14652)),e=n.__importStar(i(7992)),l=n.__importStar(i(29743)),c=n.__importStar(i(91368)),g=n.__importStar(i(10716)),y=["PageHeaderDiv"];function _(p,f){if(1&p&&(d.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),d.\u0275\u0275text(12),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"tr")(14,"td"),d.\u0275\u0275element(15,"ion-progress-bar",9),d.\u0275\u0275elementEnd()()()()()(),d.\u0275\u0275elementStart(16,"tr")(17,"td"),d.\u0275\u0275element(18,"div",10),d.\u0275\u0275elementEnd()()()()),2&p){const S=d.\u0275\u0275nextContext();d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate1(" ",S.ProgressMessage," "),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",S.Pool.ProgressMessage," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("value",S.Pool.CurrentProgressValue/S.Pool.MaxProgressValue)}}const C=["*"];h.PageHeaderComponent=(()=>{class p{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(S,v,M,E){this.Debug=S,this.Basics=v,this.Pool=M,this.Const=E;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(A){this.Debug.ShowErrorMessage(A.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(v){return new(v||p)(d.\u0275\u0275directiveInject(a.DebugProvider),d.\u0275\u0275directiveInject(u.BasicsProvider),d.\u0275\u0275directiveInject(e.DatabasePoolService),d.\u0275\u0275directiveInject(l.ConstProvider))};static \u0275cmp=d.\u0275\u0275defineComponent({type:p,selectors:[["page-header"]],viewQuery:function(v,M){if(1&v&&d.\u0275\u0275viewQuery(y,7,o.ElementRef),2&v){let E;d.\u0275\u0275queryRefresh(E=d.\u0275\u0275loadQuery())&&(M.PageHeaderDiv=E.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:C,decls:4,vars:1,consts:[[1,"keeperdivclass"],["PageHeaderDiv",""],["class","loadingdivclass",4,"ngIf"],[1,"loadingdivclass"],["width","100%"],[1,"headerdivclass"],[1,"contentdivclass"],["width","100%",1,"paddingtable"],[2,"text-align","center","color","black"],[3,"value"],[2,"background","#354547","width","100%","height","20px"]],template:function(v,M){1&v&&(d.\u0275\u0275projectionDef(),d.\u0275\u0275elementStart(0,"div",0,1),d.\u0275\u0275projection(2),d.\u0275\u0275template(3,_,19,3,"div",2),d.\u0275\u0275elementEnd()),2&v&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",M.Pool.ShowProgress))},dependencies:[c.NgIf,g.IonProgressBar],styles:["ion-progress-bar[_ngcontent-%COMP%]{--background: #444444;--progress-background: #307ac1}.keeperdivclass[_ngcontent-%COMP%]{width:100%;background:#307ac1;min-height:52px}.loadingdivclass[_ngcontent-%COMP%]{position:absolute;width:400px;height:300px;z-index:10000;top:200px;left:50%;transform:translate(-50%)}.headerdivclass[_ngcontent-%COMP%]{background:#307ac1;width:100%;height:30px;padding:4px;color:#fff;display:flex;justify-content:flex-start;align-items:center}.contentdivclass[_ngcontent-%COMP%]{border-left:3px solid #307ac1;border-right:3px solid #307ac1;background:#fff;width:100%;height:120px;padding:6px;display:flex;justify-content:center;align-items:center}"]})}return p})()},54588:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PageModalKeepermodule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(70216),u=n.__importStar(i(54496));h.PageModalKeepermodule=(()=>{class l{static \u0275fac=function(y){return new(y||l)};static \u0275mod=u.\u0275\u0275defineNgModule({type:l});static \u0275inj=u.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.PageHeaderModule]})}return l})()},6232:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UrlausplanungKalenderModule=void 0;const n=i(81316),o=i(10716),d=i(91368),a=i(44716),u=i(90520),e=i(89300),l=n.__importStar(i(54496));h.UrlausplanungKalenderModule=(()=>{class g{static \u0275fac=function(C){return new(C||g)};static \u0275mod=l.\u0275\u0275defineNgModule({type:g});static \u0275inj=l.\u0275\u0275defineInjector({imports:[d.CommonModule,o.IonicModule,a.ReactiveFormsModule,a.FormsModule,u.PageFooterModule,e.PageHeaderCenterModule]})}return g})()},77440:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PjProjektpunktDateKWPickerComponent=void 0;const n=i(81316),o=i(54496),d=n.__importDefault(i(35908));i(94091);const a=n.__importStar(i(17964)),u=n.__importStar(i(54496)),e=n.__importStar(i(34388)),l=n.__importStar(i(14652)),c=n.__importStar(i(7992)),g=n.__importStar(i(21052)),y=n.__importStar(i(9544)),_=n.__importStar(i(19668)),C=n.__importStar(i(29743)),b=n.__importStar(i(91368)),p=n.__importStar(i(10716));function f(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",10)}function S(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",10)}function v(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",10)}function M(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",10)}function E(Re,Ae){1&Re&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"div",10),u.\u0275\u0275elementContainerEnd())}function A(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",14)}function k(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",14)}function N(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",14)}function F(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",14)}function T(Re,Ae){1&Re&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275element(1,"div",14),u.\u0275\u0275elementContainerEnd())}function P(Re,Ae){if(1&Re&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"div",5)(2,"div",12),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(4,A,1,0,"div",13)(5,k,1,0,"div",13)(6,N,1,0,"div",13)(7,F,1,0,"div",13)(8,T,2,0,"ng-container",7),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()),2&Re){const ge=u.\u0275\u0275nextContext().$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(ge.Tagnummer),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_DE),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_BG),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_DE),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_BG),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",Ne.KalendertageExternliste)}}function I(Re,Ae){1&Re&&u.\u0275\u0275element(0,"ion-icon",21)}function j(Re,Ae){if(1&Re){const ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",19),u.\u0275\u0275listener("mouseenter",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(3).$implicit,qe=u.\u0275\u0275nextContext(3);return u.\u0275\u0275resetView(qe.FerientagMouseOverEvent(it,"DE"))})("mouseleave",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(6);return u.\u0275\u0275resetView(it.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),u.\u0275\u0275template(1,I,1,0,"ion-icon",20),u.\u0275\u0275elementEnd()}if(2&Re){const ge=u.\u0275\u0275nextContext(3).$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275styleProp("background",ge.IsFerientag_DE?Ne.DB.Ferienfarbe_DE:ge.Background),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ge.IsFerientag_DE)}}function L(Re,Ae){1&Re&&u.\u0275\u0275element(0,"ion-icon",23)}function B(Re,Ae){if(1&Re){const ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",19),u.\u0275\u0275listener("mouseenter",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(3).$implicit,qe=u.\u0275\u0275nextContext(3);return u.\u0275\u0275resetView(qe.FerientagMouseOverEvent(it,"BG"))})("mouseleave",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(6);return u.\u0275\u0275resetView(it.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),u.\u0275\u0275template(1,L,1,0,"ion-icon",22),u.\u0275\u0275elementEnd()}if(2&Re){const ge=u.\u0275\u0275nextContext(3).$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275styleProp("background",ge.IsFerientag_BG?Ne.DB.Ferienfarbe_BG:ge.Background),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ge.IsFerientag_BG)}}function $(Re,Ae){1&Re&&u.\u0275\u0275element(0,"ion-icon",26)}function ee(Re,Ae){if(1&Re){const ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275listener("mouseenter",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(3).$implicit,qe=u.\u0275\u0275nextContext(3);return u.\u0275\u0275resetView(qe.FeietragMouseOverEvent(it,"DE"))})("mouseleave",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(6);return u.\u0275\u0275resetView(it.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),u.\u0275\u0275template(1,$,1,0,"ion-icon",25),u.\u0275\u0275elementEnd()}if(2&Re){const ge=u.\u0275\u0275nextContext(3).$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275styleProp("background",ge.IsFeiertag_DE?Ne.DB.Feiertagefarbe_DE:ge.Background),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ge.IsFeiertag_DE)}}function le(Re,Ae){1&Re&&u.\u0275\u0275element(0,"ion-icon",28)}function se(Re,Ae){if(1&Re){const ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",24),u.\u0275\u0275listener("mouseenter",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(3).$implicit,qe=u.\u0275\u0275nextContext(3);return u.\u0275\u0275resetView(qe.FeietragMouseOverEvent(it,"BG"))})("mouseleave",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(6);return u.\u0275\u0275resetView(it.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),u.\u0275\u0275template(1,le,1,0,"ion-icon",27),u.\u0275\u0275elementEnd()}if(2&Re){const ge=u.\u0275\u0275nextContext(3).$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275styleProp("background",ge.IsFeiertag_BG?Ne.DB.Feiertagefarbe_BG:ge.Background),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ge.IsFeiertag_BG)}}function K(Re,Ae){if(1&Re&&(u.\u0275\u0275elementStart(0,"div",31),u.\u0275\u0275text(1),u.\u0275\u0275elementEnd()),2&Re){const ge=u.\u0275\u0275nextContext().$implicit,Ne=u.\u0275\u0275nextContext(3).index,it=u.\u0275\u0275nextContext().index;u.\u0275\u0275styleProp("background",ge[it][Ne].Background),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(ge[it][Ne].Kuerzel)}}function Q(Re,Ae){1&Re&&u.\u0275\u0275element(0,"div",32)}function re(Re,Ae){if(1&Re&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275template(1,K,2,3,"div",29)(2,Q,1,0,"div",30),u.\u0275\u0275elementContainerEnd()),2&Re){const ge=Ae.$implicit,Ne=u.\u0275\u0275nextContext(3).index,it=u.\u0275\u0275nextContext().index;u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",ge[it][Ne].IsUrlaub),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!ge[it][Ne].IsUrlaub)}}function X(Re,Ae){if(1&Re){const ge=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275elementStart(1,"div",15),u.\u0275\u0275listener("click",function(){u.\u0275\u0275restoreView(ge);const it=u.\u0275\u0275nextContext(2),qe=it.$implicit,et=it.index,De=u.\u0275\u0275nextContext().index,je=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(je.TagClicked(qe,De,et))}),u.\u0275\u0275elementStart(2,"div",16),u.\u0275\u0275text(3),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(4,j,2,3,"div",17)(5,B,2,3,"div",17)(6,ee,2,3,"div",18)(7,se,2,3,"div",18)(8,re,3,2,"ng-container",7),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementContainerEnd()}if(2&Re){const ge=u.\u0275\u0275nextContext(2).$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275advance(2),u.\u0275\u0275styleProp("background",Ne.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub?ge.Background:"none")("color",Ne.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub?ge.Color:"black"),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate(ge.Tagnummer),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_DE),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFerientage_BG),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_DE),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne.DB.ShowFeiertage_BG),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",Ne.KalendertageExternliste)}}function z(Re,Ae){if(1&Re&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275text(1),u.\u0275\u0275elementContainerEnd()),2&Re){const ge=u.\u0275\u0275nextContext(2).$implicit;u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",ge.Tagnummer," ")}}function Y(Re,Ae){if(1&Re&&(u.\u0275\u0275elementContainerStart(0),u.\u0275\u0275template(1,X,9,10,"ng-container",11)(2,z,2,1,"ng-container",11),u.\u0275\u0275elementContainerEnd()),2&Re){const ge=u.\u0275\u0275nextContext().$implicit,Ne=u.\u0275\u0275nextContext(3);u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!0===ge.Hauptmonat&&null!==Ne.Pool.Mitarbeitersettings),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!1===ge.Hauptmonat)}}function q(Re,Ae){if(1&Re&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275template(1,P,9,6,"ng-container",11)(2,Y,3,2,"ng-container",11),u.\u0275\u0275elementEnd()),2&Re){const Ne=Ae.index;u.\u0275\u0275styleProp("color",!0===Ae.$implicit.Hauptmonat?"black":"darkgray"),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne>=5),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ne<5)}}function de(Re,Ae){if(1&Re&&(u.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",5)(3,"div",6),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(5,f,1,0,"div",8)(6,S,1,0,"div",8)(7,v,1,0,"div",8)(8,M,1,0,"div",8)(9,E,2,0,"ng-container",7),u.\u0275\u0275elementEnd()(),u.\u0275\u0275template(10,q,3,4,"td",9),u.\u0275\u0275elementEnd()),2&Re){const ge=Ae.$implicit,Ne=Ae.index,it=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(ge[Ne].Kalenderwoche),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",it.DB.ShowFerientage_DE),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",it.DB.ShowFerientage_BG),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",it.DB.ShowFeiertage_DE),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",it.DB.ShowFeiertage_BG),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",it.KalendertageExternliste),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",ge)}}function me(Re,Ae){if(1&Re&&(u.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),u.\u0275\u0275text(9,"KW"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),u.\u0275\u0275text(13,"Mo"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),u.\u0275\u0275text(17,"Di"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),u.\u0275\u0275text(21,"Mi"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),u.\u0275\u0275text(25,"Do"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),u.\u0275\u0275text(29,"Fr"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),u.\u0275\u0275text(33,"Sa"),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),u.\u0275\u0275text(37,"So"),u.\u0275\u0275elementEnd()()()(),u.\u0275\u0275template(38,de,11,7,"tr",7),u.\u0275\u0275elementEnd()()),2&Re){const ge=u.\u0275\u0275nextContext();u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate1(" ",ge.GetMonatname()," "),u.\u0275\u0275advance(34),u.\u0275\u0275property("ngForOf",ge.Kalendertageliste)}}h.PjProjektpunktDateKWPickerComponent=(()=>{class Re{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;ShowYear;FeiertagCrossedEvent=new o.EventEmitter;FerientagCrossedEvent=new o.EventEmitter;AddUrlaubFinished=new o.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;constructor(ge,Ne,it,qe,et,De,je){this.Debug=ge,this.Basics=Ne,this.Pool=it,this.Displayservice=qe,this.DB=et,this.Tools=De,this.Const=je;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.Monatindex=0,this.ShowYear=!1,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(ge){try{a.isUndefined(ge.Monatindex)||this.PrepareData()}catch(Ne){this.Debug.ShowErrorMessage(Ne,"file","function",this.Debug.Typen.Page)}}PrepareData(){try{let ge,Ne,it,qe,et,je,Ie,bt,Qe,Ut,sn,De=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],De=De<10?"0"+De.toString():De.toString(),ge=(0,d.default)(this.Jahr.toString()+"-"+De,"YYYY-MM").daysInMonth(),Ne=ge;let un=(0,d.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),Sn=(0,d.default)().set({date:ge,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");it=un.isoWeekday(),qe=it-1,Ne+=qe,Ie=un.clone().subtract(qe,"day"),Qe=Ie.clone(),it=Sn.isoWeekday(),qe=7-it,Ne+=qe,et=Ne/7,sn=Qe.clone(),this.Kalendertageliste=[];for(let bn=0;bn{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()})}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Urlaubsplanung Kalender","ngOnInit",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.ProjektpunktDateKwPicker),this.DataSubscription.unsubscribe(),this.DataSubscription=null,this.MonateSubscription.unsubscribe(),this.MonateSubscription=null,this.ExterneUrlaubSubscription.unsubscribe(),this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription.unsubscribe(),this.UrlaubStatusSubscription=null}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(ge,Ne){try{let it="",qe=(0,d.default)(ge.Tagstempel).locale("DE"===Ne?"de":"en");(ge.IsFeiertag_DE||ge.IsFeiertag_BG)&&("DE"===Ne&&ge.IsFeiertag_DE?(it=ge.Feiertagname_DE+" / "+qe.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:it,Laendercode:Ne})):"BG"===Ne&&ge.IsFeiertag_BG&&(it=ge.Feiertagname_BG+" / "+qe.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:it,Laendercode:Ne})))}catch(it){this.Debug.ShowErrorMessage(it,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(ge,Ne){try{this.FerientagCrossedEvent.emit({Name:"DE"===Ne?ge.Ferienname_DE:ge.Ferienname_BG,Laendercode:Ne})}catch(it){this.Debug.ShowErrorMessage(it,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(ge,Ne,it){try{let qe,et,De,bt,je=0,Ie="DE"===this.DB.Laendercode?ge.IsFeiertag_DE:ge.IsFeiertag_BG;if(this.AddUrlaubRunning&&!1===Ie)if(null===this.DB.CurrentZeitspanne)this.DB.CurrentZeitspanne=this.DB.GetEmptyZeitspanne(),this.DB.CurrentZeitspanne.Startstempel=ge.Tagstempel,this.DB.CurrentZeitspanne.Startstring=ge.Datumstring,ge.Background=this.DB.Urlaubsfaben.Geplant,ge.IsUrlaub=!0,ge.Color="white";else if(et=(0,d.default)(this.DB.CurrentZeitspanne.Startstempel),qe=(0,d.default)(ge.Tagstempel),!0===qe.isSameOrAfter(et,"day")&&qe.isSame(et,"week")){this.DB.CurrentZeitspanne.Endestempel=ge.Tagstempel,this.DB.CurrentZeitspanne.Endestring=ge.Datumstring;for(let Qe=it;Qe>=0;Qe--)De=this.Kalendertageliste[Ne][Qe],Ie="DE"===this.DB.Laendercode?De.IsFeiertag_DE:De.IsFeiertag_BG,!1===Ie&&(De.Background=this.DB.Urlaubsfaben.Geplant,De.IsUrlaub=!0,De.Color="white",je++);this.DB.CurrentZeitspanne.Tageanzahl=je,bt=this.DB.CountResturlaub(),bt-je>=0?this.AddUrlaubFinished.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+bt+" Tage Resturlaub."),this.DB.CurrentZeitspanne=null,window.setTimeout(()=>{for(let Qe=it;Qe>=0;Qe--)De=this.Kalendertageliste[Ne][Qe],Ie="DE"===this.DB.Laendercode?De.IsFeiertag_DE:De.IsFeiertag_BG,!1===Ie&&(De.Background="none",De.IsUrlaub=!1,De.Color="black");this.AddUrlaubFinished.emit(!1)},3e3))}else this.Tools.ShowHinweisDialog("Bitte Tag in der gleichen Woche w\xe4hlen.");else this.AddUrlaubRunning&&this.Tools.ShowHinweisDialog("Dieser Tag ist ein Feiertag.")}catch(qe){this.Debug.ShowErrorMessage(qe,"Urlaubsplanung Kalender","TagClicked",this.Debug.Typen.Component)}}GetMonatname(){try{let ge=this.Monatname;return this.ShowYear&&(ge+=" "+this.Jahr),ge}catch(ge){this.Debug.ShowErrorMessage(ge,"Urlaubsplanung Kalender","GetMonatname",this.Debug.Typen.Component)}}static \u0275fac=function(Ne){return new(Ne||Re)(u.\u0275\u0275directiveInject(e.DebugProvider),u.\u0275\u0275directiveInject(l.BasicsProvider),u.\u0275\u0275directiveInject(c.DatabasePoolService),u.\u0275\u0275directiveInject(g.DisplayService),u.\u0275\u0275directiveInject(y.DatabaseUrlaubService),u.\u0275\u0275directiveInject(_.ToolsProvider),u.\u0275\u0275directiveInject(C.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:Re,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinished:"AddUrlaubFinished"},features:[u.\u0275\u0275NgOnChangesFeature],decls:1,vars:1,consts:[["class","frameclass",4,"ngIf"],[1,"frameclass"],["width","100%",1,"paddingsmalltable"],["colspan","8",2,"font-size","120%","font-weight","bold","color","black","text-align","center"],[2,"width","12%"],[1,"tagrahmenclass"],[1,"taginfodivclass"],[4,"ngFor","ngForOf"],["class","taginfospacedivclass",4,"ngIf"],[3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],["class","feriendivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],["class","feiertagdivclass",3,"background","mouseenter","mouseleave",4,"ngIf"],[1,"feriendivclass",3,"mouseenter","mouseleave"],["name","school-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","school-outline","color","gelb",2,"font-size","18px"],[1,"feiertagdivclass",3,"mouseenter","mouseleave"],["name","flag-outline","color","weiss","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","flag-outline","color","gelb","style","font-size: 18px",4,"ngIf"],["name","flag-outline","color","gelb",2,"font-size","18px"],["class","tagexterndivclass",3,"background",4,"ngIf"],["class","tagexternemptydivclass",4,"ngIf"],[1,"tagexterndivclass"],[1,"tagexternemptydivclass"]],template:function(Ne,it){1&Ne&&u.\u0275\u0275template(0,me,39,2,"div",0),2&Ne&&u.\u0275\u0275property("ngIf",null!==it.Pool.Mitarbeitersettings)},dependencies:[b.NgForOf,b.NgIf,p.IonIcon],styles:[".frameclass[_ngcontent-%COMP%]{border:1px solid #307ac1;background:#fff;color:#fff;padding:4px;width:100%;height:100%}.tagrahmenclass[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;border:1px solid #444444}.feiertagdivclass[_ngcontent-%COMP%], .feriendivclass[_ngcontent-%COMP%]{width:100%;height:20px;cursor:pointer;display:flex;justify-content:center;align-items:center}.taginfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:inherit;height:36px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:36px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:36px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;justify-content:center;align-items:center;box-sizing:border-box}.tagexternemptydivclass[_ngcontent-%COMP%]{border-top:1px solid;cursor:pointer;color:#fff;font-size:80%;width:100%;height:20px;display:flex;box-sizing:border-box;justify-content:center;align-items:center}.buttoninfoclass[_ngcontent-%COMP%]{width:100%;height:10px;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%}.kwdivclass[_ngcontent-%COMP%]{border-radius:50px;height:38px;background:none;color:#000;display:flex;justify-content:center;align-items:center;cursor:pointer}"]})}return Re})()},44180:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Fachbereiche=void 0,h.Fachbereiche=class i{_Elektrotechnik={Bezeichnung:"Elektrotechnik",Kuerzel:"ELT",Key:"ELT"};_BMA={Bezeichnung:"Brandmeldeanlage",Kuerzel:"BMA",Key:"BMA"};_EMA={Bezeichnung:"Einbruchmeldeanlage",Kuerzel:"EMA",Key:"EMA"};_GMA={Bezeichnung:"Gefahrenmeldeanlage",Kuerzel:"GMA",Key:"GMA"};_Aufzug={Bezeichnung:"F\xf6rderanlagen",Kuerzel:"Aufzug",Key:"Aufzug"};_Unbekannt={Bezeichnung:"Unbekannt",Kuerzel:"Unbekannt",Key:"Unbekannt"};_HLS={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r",Kuerzel:"HLS",Key:"HLS"};_HLSE={Bezeichnung:"Heizung, L\xfcftung, Sanit\xe4r, Elektro",Kuerzel:"HLSE",Key:"HLSE"};_H={Bezeichnung:"Heizung",Kuerzel:"H",Key:"H"};_L={Bezeichnung:"L\xfcftung",Kuerzel:"L",Key:"L"};_S={Bezeichnung:"Sanit\xe4r",Kuerzel:"S",Key:"S"};_K={Bezeichnung:"Klimatisierung",Kuerzel:"K",Key:"K"};_MSR={Bezeichnung:"Messen, Steuern, Regeln",Kuerzel:"MSR",Key:"MSR"};_Geschaeftsfuehrung={Bezeichnung:"Gesch\xe4ftsfuehrung",Kuerzel:"GF",Key:"GF"};_Assistenz={Bezeichnung:"Assistenz",Kuerzel:"AS",Key:"AS"};_Prokurist={Bezeichnung:"Prokurist",Kuerzel:"PRO",Key:"PRO"};_Planer={Bezeichnung:"Planer",Kuerzel:"PLAN",Key:"Planer"};_Teamleitung={Bezeichnung:"Teamleitung",Kuerzel:"TL",Key:"TL"};_Projektleitung={Bezeichnung:"Projektleitung",Kuerzel:"PL",Key:"PL"};_Studentin={Bezeichnung:"Student/in",Kuerzel:"STUDI",Key:"STUDI"};_Auszubildende={Bezeichnung:"Auszubildende/r",Kuerzel:"AZUBI",Key:"AZUBI"};_Objektueberwachung={Bezeichnung:"_Objekt\xfcberwachung",Kuerzel:"O\xdc",Key:"OUE"};_Buchhaltung={Bezeichnung:"Buchhaltung",Kuerzel:"BH",Key:"BH"};_Marketing={Bezeichnung:"Marketing",Kuerzel:"MA",Key:"MA"};_Praktikantin={Bezeichnung:"Praktikant/in",Kuerzel:"PA",Key:"PA"};_IT={Bezeichnung:"IT - Abteilung",Kuerzel:"IT",Key:"IT"};_Controlling={Bezeichnung:"Controlling",Kuerzel:"CO",Key:"CO"};_Techniker={Bezeichnung:"Techniker/in",Kuerzel:"TECH",Key:"TECH"};_Niederlassungsleitung={Bezeichnung:"Niederlassungsleitung",Kuerzel:"NL",Key:"NL"};_Architektin={Bezeichnung:"Architekt/in",Kuerzel:"AR",Key:"AR"};_Kauffrau={Bezeichnung:"Kauffrau/mann",Kuerzel:"KF",Key:"KF"};_HR={Bezeichnung:"Human Resources",Kuerzel:"HR",Key:"HR"};_Test={Bezeichnung:"Test",Kuerzel:"TEST",Key:"TEST"};Gewerkeliste;constructor(){this.Gewerkeliste=[],this.Gewerkeliste.push(this.GetFachbereichbyKey("ELT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Unbekannt")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HLSE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("H")),this.Gewerkeliste.push(this.GetFachbereichbyKey("L")),this.Gewerkeliste.push(this.GetFachbereichbyKey("S")),this.Gewerkeliste.push(this.GetFachbereichbyKey("K")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MSR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AS")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PRO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Planer")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("STUDI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AZUBI")),this.Gewerkeliste.push(this.GetFachbereichbyKey("OUE")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("MA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("PA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("IT")),this.Gewerkeliste.push(this.GetFachbereichbyKey("CO")),this.Gewerkeliste.push(this.GetFachbereichbyKey("TECH")),this.Gewerkeliste.push(this.GetFachbereichbyKey("NL")),this.Gewerkeliste.push(this.GetFachbereichbyKey("AR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("KF")),this.Gewerkeliste.push(this.GetFachbereichbyKey("HR")),this.Gewerkeliste.push(this.GetFachbereichbyKey("BMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("EMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("GMA")),this.Gewerkeliste.push(this.GetFachbereichbyKey("Aufzug"));for(let o of this.Gewerkeliste)o.Visible=!0;this.Gewerkeliste.sort((o,d)=>o.Bezeichnungd.Bezeichnung?1:0)}get Elektrotechnik(){return this._Elektrotechnik}get BMA(){return this._BMA}get EMA(){return this._EMA}get GMA(){return this._GMA}get Aufzug(){return this._Aufzug}get Unbekannt(){return this._Unbekannt}get HLS(){return this._HLS}get HLSE(){return this._HLSE}get H(){return this._H}get L(){return this._L}get S(){return this._S}get K(){return this._K}get MSR(){return this._MSR}get Geschaeftsfuehrung(){return this._Geschaeftsfuehrung}get Assistenz(){return this._Assistenz}get Prokurist(){return this._Prokurist}get Planer(){return this._Planer}get Teamleitung(){return this._Teamleitung}get Projektleitung(){return this._Projektleitung}get Studentin(){return this._Studentin}get Auszubildende(){return this._Auszubildende}get Objektueberwachung(){return this._Objektueberwachung}get Buchhaltung(){return this._Buchhaltung}get Marketing(){return this._Marketing}get Praktikantin(){return this._Praktikantin}get IT(){return this._IT}get Controlling(){return this._Controlling}get Niederlassungsleitung(){return this._Niederlassungsleitung}get Architektin(){return this._Architektin}get Kauffrau(){return this._Kauffrau}get HR(){return this._HR}get Techniker(){return this._Techniker}GetFachbereichbyKey(o){switch(o){case"ELT":return this._Elektrotechnik;case"Unbekannt":default:return this._Unbekannt;case"HLS":return this._HLS;case"HLSE":return this._HLSE;case"H":return this._H;case"L":return this._L;case"S":return this._S;case"K":return this._K;case"MSR":return this._MSR;case"GF":return this._Geschaeftsfuehrung;case"AS":return this._Assistenz;case"PRO":return this._Prokurist;case"Planer":return this._Planer;case"TL":return this._Teamleitung;case"PL":return this._Projektleitung;case"STUDI":return this._Studentin;case"AZUBI":return this._Auszubildende;case"OUE":return this._Objektueberwachung;case"BH":return this._Buchhaltung;case"MA":return this._Marketing;case"PA":return this._Praktikantin;case"IT":return this._IT;case"CO":return this._Controlling;case"TECH":return this._Techniker;case"NL":return this._Niederlassungsleitung;case"AR":return this._Architektin;case"KF":return this._Kauffrau;case"HR":return this._HR;case"BMA":return this._BMA;case"EMA":return this._EMA;case"GMA":return this._GMA;case"Aufzug":return this._Aufzug}}}},37724:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPageModule=void 0;const n=i(81316),o=i(91368),d=i(44716),a=i(56568),u=i(10716),e=i(66788),l=i(70216),c=i(6512),g=i(90520),y=i(6168),_=i(15756),C=i(7388),b=n.__importStar(i(54496)),f=(n.__importStar(i(56568)),[{path:"",component:e.CommonDebugPage}]);h.CommonDebugPageModule=(()=>{class v{static \u0275fac=function(A){return new(A||v)};static \u0275mod=b.\u0275\u0275defineNgModule({type:v});static \u0275inj=b.\u0275\u0275defineInjector({imports:[o.CommonModule,d.FormsModule,u.IonicModule,a.RouterModule.forChild(f),l.PageHeaderModule,c.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,y.PageHeaderMenuModule,_.PrettyjsonModule,C.CheckboxClonModule]})}return v})()},66788:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonDebugPage=void 0;const n=i(81316),o=i(97048),d=n.__importStar(i(54496)),a=n.__importStar(i(14652)),u=n.__importStar(i(34388)),e=n.__importStar(i(19668)),l=n.__importStar(i(29743)),c=n.__importStar(i(44716)),g=n.__importStar(i(97048)),y=n.__importStar(i(7992)),_=n.__importStar(i(97092)),C=n.__importStar(i(91368)),b=n.__importStar(i(10716)),p=n.__importStar(i(90212)),f=n.__importStar(i(73088)),S=n.__importStar(i(29856)),v=n.__importStar(i(63792)),M=n.__importStar(i(25856));function E(k,N){if(1&k&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275text(2),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(3,"td"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(5,"td"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd()()),2&k){const F=N.$implicit;d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(F.Message),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",F.Color),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate(F.Message),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(F.Function)}}h.CommonDebugPage=(()=>{class k{Basics;Debug;Tools;Const;fb;http;Pool;AuthService;Title;ServerUrl;constructor(F,T,P,I,j,L,B,$){this.Basics=F,this.Debug=T,this.Tools=P,this.Const=I,this.fb=j,this.http=L,this.Pool=B,this.AuthService=$;try{this.ServerUrl=this.Pool.CockpitserverURL+"/standorte/"}catch(ee){this.Debug.ShowErrorMessage(ee.message,"Login","constructor",this.Debug.Typen.Page)}}ngOnInit(){}ionViewDidEnter(){try{this.Title="Debug"}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnDestroy(){}TestButtonCLcicked(){try{let F,T=new o.HttpHeaders({"content-type":"application/json"});F=this.http.get(this.ServerUrl,{headers:T}),F.subscribe({next:P=>{},complete:()=>{},error:P=>{}})}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","TextButtonCLcicked",this.Debug.Typen.Page)}}ClearMessagesButtonCLcicked(){try{this.Debug.Debugmessageliste=[]}catch(F){this.Debug.ShowErrorMessage(F.message,"Debug","ClearMessagesButtonCLcicked",this.Debug.Typen.Page)}}ChangeShowHomeScreenInfos(F){try{this.Basics.ShowHomeScreenInfos=F.status}catch(T){this.Debug.ShowErrorMessage(T,"Debug","ChangeShowHomeScreenInfos",this.Debug.Typen.Page)}}DebugNoExternalEmailChanged(F){try{this.Basics.DebugNoExternalEmail=F.status}catch(T){this.Debug.ShowErrorMessage(T,"Debug","DebugNoExternalEmailChanged",this.Debug.Typen.Page)}}ProjektpunkteLoeschenClicked(){}static \u0275fac=function(T){return new(T||k)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(l.ConstProvider),d.\u0275\u0275directiveInject(c.FormBuilder),d.\u0275\u0275directiveInject(g.HttpClient),d.\u0275\u0275directiveInject(y.DatabasePoolService),d.\u0275\u0275directiveInject(_.DatabaseAuthenticationService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:k,selectors:[["common-debug-page"]],decls:47,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[3,"click"],[1,"docinnertable"],[2,"font-weight","bold"],[4,"ngFor","ngForOf"],["PageFooter",""]],template:function(T,P){1&T&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),d.\u0275\u0275element(3,"page-header-menu",2),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(4,"ion-content")(5,"ion-grid")(6,"ion-row")(7,"ion-col")(8,"table",3)(9,"tr")(10,"td")(11,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(j){return P.ChangeShowHomeScreenInfos(j)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(12,"td"),d.\u0275\u0275text(13," Zeige Homescreen Zusatzinformationen "),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"table",3)(17,"tr")(18,"td")(19,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(j){return P.DebugNoExternalEmailChanged(j)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(20,"td"),d.\u0275\u0275text(21," Keine Emails nach au\xdfen senden -> nur an p.hornburger@gmail.com "),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(22,"ion-row")(23,"ion-col")(24,"table")(25,"tr")(26,"td")(27,"ion-button",5),d.\u0275\u0275listener("click",function(){return P.TestButtonCLcicked()}),d.\u0275\u0275text(28,"Test"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(29,"td")(30,"ion-button",5),d.\u0275\u0275listener("click",function(){return P.ClearMessagesButtonCLcicked()}),d.\u0275\u0275text(31,"Clear Messages"),d.\u0275\u0275elementEnd()()()()()()(),d.\u0275\u0275elementStart(32,"table",6)(33,"tr")(34,"td",7),d.\u0275\u0275text(35,"Skpript"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(36,"td",7),d.\u0275\u0275text(37,"Message"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(38,"td",7),d.\u0275\u0275text(39,"Funktion"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275template(40,E,7,5,"tr",8),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(41,"br")(42,"br")(43,"abstand-element-fixed"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(44,"ion-footer"),d.\u0275\u0275element(45,"page-footer",null,9),d.\u0275\u0275elementEnd()),2&T&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!1),d.\u0275\u0275advance(8),d.\u0275\u0275property("Checked",P.Basics.ShowHomeScreenInfos),d.\u0275\u0275advance(8),d.\u0275\u0275property("Checked",P.Basics.DebugNoExternalEmail),d.\u0275\u0275advance(21),d.\u0275\u0275property("ngForOf",P.Debug.Debugmessageliste))},dependencies:[C.NgForOf,b.IonButton,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonRow,p.PageHeaderComponent,f.AbstandElementFixedComponent,S.PageFooterComponent,v.PageHeaderMenuComponent,M.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return k})()},66068:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPageModule=void 0;const n=i(81316),o=i(91368),d=i(10716),a=i(44716),u=i(42764),e=i(70216),l=i(56568),c=i(6168),g=i(90520),y=i(7388),_=i(72284),C=i(10272),b=i(2300),p=i(84104),f=n.__importStar(i(54496)),v=(n.__importStar(i(56568)),[{path:"",component:u.CommonEinstellungenPage}]);h.CommonEinstellungenPageModule=(()=>{class E{static \u0275fac=function(N){return new(N||E)};static \u0275mod=f.\u0275\u0275defineNgModule({type:E});static \u0275inj=f.\u0275\u0275defineInjector({imports:[o.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,l.RouterModule.forChild(v),c.PageHeaderMenuModule,g.PageFooterModule,y.CheckboxClonModule,_.ButtonValueModule,C.AuswahlDialogModule,b.EditorComponent,p.SafePipeModule]})}return E})()},42764:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonEinstellungenPage=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(15024)),a=n.__importStar(i(7992)),u=n.__importStar(i(29743)),e=n.__importStar(i(14652)),l=n.__importStar(i(34388)),c=n.__importStar(i(91368)),g=n.__importStar(i(10716)),y=n.__importStar(i(90212)),_=n.__importStar(i(63792)),C=n.__importStar(i(29856)),b=n.__importStar(i(25856)),p=n.__importStar(i(13228)),f=n.__importStar(i(56584)),S=n.__importStar(i(66144));function v(N,F){if(1&N&&(o.\u0275\u0275elementStart(0,"td")(1,"span"),o.\u0275\u0275text(2,"Testgr\xf6\xdfentest"),o.\u0275\u0275elementEnd()()),2&N){const T=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(),o.\u0275\u0275styleProp("font-size",T.Pool.Mitarbeitersettings.Textsize,"px")}}function M(N,F){if(1&N){const T=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",11)(3,"button-value",12),o.\u0275\u0275listener("ButtonClicked",function(){o.\u0275\u0275restoreView(T);const I=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(I.FavoritenanzahlClicked())}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(4,"td",13),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"tr")(6,"td",11)(7,"button-value",12),o.\u0275\u0275listener("ButtonClicked",function(){o.\u0275\u0275restoreView(T);const I=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(I.MeilensteineNachlaufClicked())}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(8,"td",13),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"tr")(10,"td",11)(11,"button-value",12),o.\u0275\u0275listener("ButtonClicked",function(){o.\u0275\u0275restoreView(T);const I=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(I.ZoomfaktorClicked())}),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(12,"tr")(13,"td",11)(14,"button-value",12),o.\u0275\u0275listener("ButtonClicked",function(){o.\u0275\u0275restoreView(T);const I=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(I.TextsizeClicked())}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(15,"td",14),o.\u0275\u0275template(16,v,3,2,"td",5),o.\u0275\u0275elementEnd()()}if(2&N){const T=o.\u0275\u0275nextContext();o.\u0275\u0275advance(3),o.\u0275\u0275property("Buttontext","Anzahl der Favoriten pro Zeile")("Wert_A",T.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),o.\u0275\u0275advance(4),o.\u0275\u0275property("Buttontext","Meilensteine anzeigen nach Erledigung")("Wert_A",T.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf.toString()+" Kalenderwochen")("Buttoncolor",T.Basics.Farben.Burnicklbraun),o.\u0275\u0275advance(4),o.\u0275\u0275property("Buttontext","Zoomfaktor")("Wert_A",T.Pool.Mitarbeitersettings.Zoomfaktor.toString())("Buttoncolor",T.Basics.Farben.Burnicklbraun),o.\u0275\u0275advance(3),o.\u0275\u0275property("Buttontext","Textgr\xf6\xdfe")("Wert_A",T.Pool.Mitarbeitersettings.Textsize.toString()+" Pixel")("Buttoncolor",T.Basics.Farben.Burnicklbraun),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",null!==T.Pool.Mitarbeitersettings)}}function E(N,F){if(1&N){const T=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"table",10)(4,"tr")(5,"td")(6,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Nummer"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275text(8,"Nummer"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Startdatum"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(12,"td"),o.\u0275\u0275text(13,"Startdatum"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(14,"tr")(15,"td")(16,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Aufgabe"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"td"),o.\u0275\u0275text(18,"Aufgabe"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(19,"tr")(20,"td")(21,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Bemerkungen"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(22,"td"),o.\u0275\u0275text(23,"Bemerkungen"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(24,"tr")(25,"td")(26,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Fortschritt"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(27,"td"),o.\u0275\u0275text(28,"Fortschritt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(29,"tr")(30,"td")(31,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Zeitansatz"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(32,"td"),o.\u0275\u0275text(33,"Zeitansatz"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(34,"tr")(35,"td")(36,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Termin"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(37,"td"),o.\u0275\u0275text(38,"Termin"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(39,"tr")(40,"td")(41,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Tage"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(42,"td"),o.\u0275\u0275text(43,"Tage"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(44,"tr")(45,"td")(46,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Zustaendig"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(47,"td"),o.\u0275\u0275text(48,"Zust\xe4ndig"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(49,"tr")(50,"td")(51,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Status"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(52,"td"),o.\u0275\u0275text(53,"Status"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(54,"tr")(55,"td")(56,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Meintag"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(57,"td"),o.\u0275\u0275text(58,"Meintag"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(59,"tr")(60,"td")(61,"checkbox-clon",15),o.\u0275\u0275listener("CheckChanged",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.ListesettingCheckChanged(I,"Meine Woche"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(62,"td"),o.\u0275\u0275text(63,"Meine Woche"),o.\u0275\u0275elementEnd()()()()()()}if(2&N){const T=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowNummer),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStartdatum),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowAufgabe),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowBemerkung),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowFortschritt),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZeitansatz),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTermin),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowTage),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowZustaendig),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowStatus),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeintag),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",T.Pool.Mitarbeitersettings.AufgabenShowMeinewoche)}}function A(N,F){if(1&N){const T=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"auswahl-dialog",16),o.\u0275\u0275listener("OkClickedEvent",function(I){o.\u0275\u0275restoreView(T);const j=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(j.AuswahlOkButtonClicked(I))})("CancelClickedEvent",function(){o.\u0275\u0275restoreView(T);const I=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(I.ShowAuswahl=!1)}),o.\u0275\u0275elementEnd()}if(2&N){const T=o.\u0275\u0275nextContext();o.\u0275\u0275property("Auswahlliste",T.Auswahlliste)("Auswahlindex",T.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",T.Auswahltitel)("Iconname","apps-outline")}}h.CommonEinstellungenPage=(()=>{class N{MitarbeitersettingsDB;Pool;Const;Basics;Debug;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;Editorconfig;Signatur;Mitarbeitersubscription;constructor(T,P,I,j,L){this.MitarbeitersettingsDB=T,this.Pool=P,this.Const=I,this.Basics=j,this.Debug=L;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowAuswahl=!1,this.Signatur=this.Const.NONE,this.Auswahldialogorigin=this.Const.NONE,this.Mitarbeitersubscription=null,this.Editorconfig={menubar:!1,statusbar:!1,language:"de",browser_spellcheck:!0,height:800,auto_focus:!0,content_style:"body { color: black; margin: 0; line-height: 0.9; }, ",base_url:"assets/tinymce",suffix:".min",toolbar:[{name:"styles",items:["forecolor","backcolor"]},{name:"formatting",items:["bold","italic","underline","strikethrough"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]}]}}catch(B){this.Debug.ShowErrorMessage(B.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.Mitarbeitersubscription.unsubscribe(),this.Mitarbeitersubscription=null}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Mitarbeitersubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","OnInit",this.Debug.Typen.Page)}}ListesettingCheckChanged(T,P){try{switch(P){case"Nummer":this.Pool.Mitarbeitersettings.AufgabenShowNummer=T.status;break;case"Startdatum":this.Pool.Mitarbeitersettings.AufgabenShowStartdatum=T.status;break;case"Aufgabe":this.Pool.Mitarbeitersettings.AufgabenShowAufgabe=T.status;break;case"Bemerkungen":this.Pool.Mitarbeitersettings.AufgabenShowBemerkung=T.status;break;case"Fortschritt":this.Pool.Mitarbeitersettings.AufgabenShowFortschritt=T.status;break;case"Tage":this.Pool.Mitarbeitersettings.AufgabenShowTage=T.status;break;case"Zeitansatz":this.Pool.Mitarbeitersettings.AufgabenShowZeitansatz=T.status;break;case"Termin":this.Pool.Mitarbeitersettings.AufgabenShowTermin=T.status;break;case"Zustaendig":this.Pool.Mitarbeitersettings.AufgabenShowZustaendig=T.status;break;case"Status":this.Pool.Mitarbeitersettings.AufgabenShowStatus=T.status;break;case"Meintag":this.Pool.Mitarbeitersettings.AufgabenShowMeintag=T.status;break;case"Meine Woche":this.Pool.Mitarbeitersettings.AufgabenShowMeinewoche=T.status}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{}).catch(I=>{this.Debug.ShowErrorMessage(I.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)})}catch(I){this.Debug.ShowErrorMessage(I.message,"Mitarbeiter Settings","ListesettingCheckChanged",this.Debug.Typen.Page)}}SignaturTextChangedHandler(T){}FavoritenanzahlClicked(){try{this.Auswahldialogorigin="Favoritenanzahl",this.ShowAuswahl=!0,this.Auswahltitel="Favoritenanzahl festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"4",SecoundColumn:"",Data:4}),this.Auswahlliste.push({Index:1,FirstColumn:"5",SecoundColumn:"",Data:5}),this.Auswahlliste.push({Index:2,FirstColumn:"6",SecoundColumn:"",Data:6}),this.Auswahlliste.push({Index:3,FirstColumn:"7",SecoundColumn:"",Data:7}),this.Auswahlliste.push({Index:4,FirstColumn:"8",SecoundColumn:"",Data:8}),this.Auswahlliste.push({Index:5,FirstColumn:"9",SecoundColumn:"",Data:9}),this.Auswahlliste.push({Index:6,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:7,FirstColumn:"11",SecoundColumn:"",Data:11}),this.Auswahlliste.push({Index:8,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Mitarbeiter Settings","FavoritenanzahlClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(T){try{switch(this.Auswahldialogorigin){case"Favoritenanzahl":this.Pool.Mitarbeitersettings.HeadermenueMaxFavoriten=T;break;case"MeielnsteineNachlauf":this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf=T;break;case"Zoomfaktor":this.Pool.Mitarbeitersettings.Zoomfaktor=T;break;case"Textgroesse":this.Pool.Mitarbeitersettings.Textsize=T}this.MitarbeitersettingsDB.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{switch(this.Auswahldialogorigin){case"Favoritenanzahl":case"MeielnsteineNachlauf":break;case"Zoomfaktor":this.Pool.MitarbeitersettingsChanged.emit()}}).catch(P=>{this.Debug.ShowErrorMessage(P.message,"Einstellungen","MaxFavoritenanzahlChanged",this.Debug.Typen.Page)}),this.ShowAuswahl=!1}catch(P){this.Debug.ShowErrorMessage(P.message,"Einstellungen","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}MeilensteineNachlaufClicked(){try{this.Auswahldialogorigin="MeielnsteineNachlauf",this.ShowAuswahl=!0,this.Auswahltitel="Mailensteine Nachlauf festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"1 Kalderwoche",SecoundColumn:"",Data:1}),this.Auswahlliste.push({Index:1,FirstColumn:"2 Kalenderwochen",SecoundColumn:"",Data:2}),this.Auswahlliste.push({Index:2,FirstColumn:"3 Kalenderwochen",SecoundColumn:"",Data:3}),this.Auswahlliste.push({Index:3,FirstColumn:"4 Kalenderwochen",SecoundColumn:"",Data:4}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.AufgabenMeilensteineNachlauf),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T.message,"Einstellungen","MeilensteineNachlaufClicked",this.Debug.Typen.Page)}}ZoomfaktorClicked(){try{this.Auswahldialogorigin="Zoomfaktor",this.ShowAuswahl=!0,this.Auswahltitel="Zoomfaktor festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"120",SecoundColumn:"",Data:120}),this.Auswahlliste.push({Index:1,FirstColumn:"110",SecoundColumn:"",Data:110}),this.Auswahlliste.push({Index:2,FirstColumn:"100",SecoundColumn:"",Data:100}),this.Auswahlliste.push({Index:3,FirstColumn:"90",SecoundColumn:"",Data:90}),this.Auswahlliste.push({Index:4,FirstColumn:"80",SecoundColumn:"",Data:80}),this.Auswahlliste.push({Index:5,FirstColumn:"70",SecoundColumn:"",Data:70}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Zoomfaktor),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}}TextsizeClicked(){this.Auswahldialogorigin="Textgroesse",this.ShowAuswahl=!0,this.Auswahltitel="Textgr\xf6\xdfe",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"12",SecoundColumn:"",Data:12}),this.Auswahlliste.push({Index:2,FirstColumn:"14",SecoundColumn:"",Data:14}),this.Auswahlliste.push({Index:3,FirstColumn:"16",SecoundColumn:"",Data:16}),this.Auswahlliste.push({Index:4,FirstColumn:"18",SecoundColumn:"",Data:18}),this.Auswahlliste.push({Index:5,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:6,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlindex=this.Auswahlliste.findIndex(T=>T.Data===this.Pool.Mitarbeitersettings.Textsize),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","ZoomfaktorClicked",this.Debug.Typen.Page)}replaceAll(T,P,I){return T.split(P).join(I)}PrepareData(){try{this.Signatur=this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0)}catch(T){this.Debug.ShowErrorMessage(T,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}static \u0275fac=function(P){return new(P||N)(o.\u0275\u0275directiveInject(d.DatabaseMitarbeitersettingsService),o.\u0275\u0275directiveInject(a.DatabasePoolService),o.\u0275\u0275directiveInject(u.ConstProvider),o.\u0275\u0275directiveInject(e.BasicsProvider),o.\u0275\u0275directiveInject(l.DebugProvider))};static \u0275cmp=o.\u0275\u0275defineComponent({type:N,selectors:[["common-einstellungen-page"]],decls:17,vars:7,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],["valign","top",2,"width","auto"],["class","paddingtable",4,"ngIf"],[4,"ngIf"],[2,"width","800px","padding","6px"],[2,"width","800px","height","800px","border","1px solid gray","padding","4px","border-radius","4px",3,"innerHTML"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[1,"paddingtable"],[2,"width","460px"],[3,"Buttontext","Wert_A","Buttoncolor","ButtonClicked"],["colspan","2"],[2,"width","10px"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(P,I){1&P&&(o.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),o.\u0275\u0275element(3,"page-header-menu"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td",3),o.\u0275\u0275template(8,M,17,13,"table",4)(9,E,64,12,"ion-grid",5),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td",6),o.\u0275\u0275element(11,"div",7),o.\u0275\u0275pipe(12,"safe"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementStart(13,"ion-footer"),o.\u0275\u0275element(14,"page-footer",null,8),o.\u0275\u0275elementEnd(),o.\u0275\u0275template(16,A,1,6,"auswahl-dialog",9)),2&P&&(o.\u0275\u0275advance(8),o.\u0275\u0275property("ngIf",null!==I.Pool.Mitarbeitersettings),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",null!==I.Pool.Mitarbeitersettings),o.\u0275\u0275advance(2),o.\u0275\u0275property("innerHTML",o.\u0275\u0275pipeBind2(12,4,I.Signatur,"html"),o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(5),o.\u0275\u0275property("ngIf",I.ShowAuswahl))},dependencies:[c.NgIf,g.IonCol,g.IonContent,g.IonFooter,g.IonGrid,g.IonHeader,g.IonRow,y.PageHeaderComponent,_.PageHeaderMenuComponent,C.PageFooterComponent,b.CheckboxClonComponent,p.ButtonValueComponent,f.AuswahlDialogComponent,S.SafePipe],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return N})()},27735:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePageModule=void 0;const n=i(81316),o=i(91368),d=i(44716),a=i(56568),u=i(10716),e=i(45884),l=i(70216),c=i(6512),g=i(90520),y=i(12095),_=n.__importStar(i(54496)),b=(n.__importStar(i(56568)),[{path:"",component:e.CommonHomePage}]);h.CommonHomePageModule=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275mod=_.\u0275\u0275defineNgModule({type:f});static \u0275inj=_.\u0275\u0275defineInjector({imports:[o.CommonModule,d.FormsModule,u.IonicModule,a.RouterModule.forChild(b),l.PageHeaderModule,c.AbstandElementFixedModule,d.ReactiveFormsModule,g.PageFooterModule,y.FiChangelogEditorModule]})}return f})()},45884:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonHomePage=void 0;const o=i(81316),d=o.__importStar(i(17964)),a=o.__importDefault(i(35908)),u=i(80103),e=i(21112),l=i(36716),c=o.__importStar(i(54496)),g=o.__importStar(i(14652)),y=o.__importStar(i(34388)),_=o.__importStar(i(19668)),C=o.__importStar(i(29743)),b=o.__importStar(i(7992)),p=o.__importStar(i(9028)),f=o.__importStar(i(8608)),S=o.__importStar(i(51708)),v=o.__importStar(i(97092)),M=o.__importStar(i(15024)),E=o.__importStar(i(59460)),A=o.__importStar(i(91368)),k=o.__importStar(i(10716)),N=o.__importStar(i(90212)),F=o.__importStar(i(29856)),T=o.__importStar(i(64168));function P(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"td",12),c.\u0275\u0275element(2,"div",13),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"td",7),c.\u0275\u0275elementStart(4,"td")(5,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.DebugMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.DebugMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.DebugButtonClicked())}),c.\u0275\u0275elementStart(6,"table",9)(7,"tr")(8,"td"),c.\u0275\u0275element(9,"ion-icon",14),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11,"Debug"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275element(12,"td",7),c.\u0275\u0275elementStart(13,"td")(14,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.EinstellungenMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.EinstellungenMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.EinstellungenButtonClicked())}),c.\u0275\u0275elementStart(15,"table",9)(16,"tr")(17,"td"),c.\u0275\u0275element(18,"ion-icon",15),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(19,"td"),c.\u0275\u0275text(20,"Einstellungen"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&q){const me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("cursor",me.DebugMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",me.DebugMouseOver?me.Basics.Ionicfarben.Schwarz:me.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",me.DebugMouseOver?"#000000":"white"),c.\u0275\u0275advance(4),c.\u0275\u0275styleProp("cursor",me.EinstellungenMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",me.EinstellungenMouseOver?me.Basics.Ionicfarben.Schwarz:me.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",me.EinstellungenMouseOver?"#000000":"white")}}function I(q,de){if(1&q&&(c.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),c.\u0275\u0275element(3,"img",17),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(4,"td",7),c.\u0275\u0275elementEnd()()),2&q){const me=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275property("src",me.GraphService.UserimageSRC,c.\u0275\u0275sanitizeUrl)}}function j(q,de){if(1&q&&(c.\u0275\u0275elementStart(0,"div",18),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&q){const me=c.\u0275\u0275nextContext(3);c.\u0275\u0275styleProp("background",me.Basics.Farben.Grau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",null!==me.Pool.Mitarbeiterdaten?me.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function L(q,de){if(1&q&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,I,5,1,"table",2)(2,j,2,3,"div",16),c.\u0275\u0275elementContainerEnd()),2&q){const me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==me.GraphService.UserimageSRC),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null===me.GraphService.UserimageSRC)}}function B(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),c.\u0275\u0275element(6,"td",7),c.\u0275\u0275elementStart(7,"td")(8,"div",8),c.\u0275\u0275listener("mouseenter",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.LogoutMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.LogoutMouseOver=!1)})("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.LogoutButtonClicked())}),c.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),c.\u0275\u0275element(12,"ion-icon",10),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(13,"td"),c.\u0275\u0275text(14,"Abmelden"),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275element(15,"td",7),c.\u0275\u0275template(16,P,21,10,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(17,"td",11),c.\u0275\u0275template(18,L,3,2,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementContainerEnd()}if(2&q){const me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(8),c.\u0275\u0275styleProp("cursor",me.LogoutMouseOver?"pointer":"default"),c.\u0275\u0275advance(4),c.\u0275\u0275property("color",me.LogoutMouseOver?me.Basics.Ionicfarben.Schwarz:me.Basics.Ionicfarben.Weiss),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color",me.LogoutMouseOver?"#000000":"white"),c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!1===me.environment.production),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!1===me.AuthService.ShowLogin)}}function $(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",41),c.\u0275\u0275listener("click",function(){const Ae=c.\u0275\u0275restoreView(me).$implicit,ge=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ge.ChangelogClicked(Ae))}),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"td")(5,"div",41),c.\u0275\u0275listener("click",function(){const Ae=c.\u0275\u0275restoreView(me).$implicit,ge=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ge.ChangelogClicked(Ae))}),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(7,"td")(8,"div",41),c.\u0275\u0275listener("click",function(){const Ae=c.\u0275\u0275restoreView(me).$implicit,ge=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(ge.ChangelogClicked(Ae))}),c.\u0275\u0275text(9),c.\u0275\u0275elementEnd()()()}if(2&q){const me=de.$implicit,Oe=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(Oe.GetDatum(me.Zeitstempel)),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(me.Version),c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(me.Beschreibung)}}function ee(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"div",33)(1,"table",34)(2,"tr")(3,"td",35),c.\u0275\u0275text(4,"Change Log"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(5,"tr",36)(6,"td"),c.\u0275\u0275text(7,"Datum"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(8,"td"),c.\u0275\u0275text(9,"Version"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11,"Beschreibung"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(12,$,10,3,"tr",37),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(13,"ion-button",38),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(Re.AddChangelogClicked())}),c.\u0275\u0275element(14,"ion-icon",39),c.\u0275\u0275elementStart(15,"ion-text",40),c.\u0275\u0275text(16,"Neuer Eintrag"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(17,"table",34)(18,"tr")(19,"td")(20,"b"),c.\u0275\u0275text(21,"Build:"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(22,"td"),c.\u0275\u0275text(23),c.\u0275\u0275elementEnd()()()()}if(2&q){const me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(3),c.\u0275\u0275styleProp("color",me.Basics.Farben.BAEBlau),c.\u0275\u0275advance(9),c.\u0275\u0275property("ngForOf",me.Pool.Changlogliste),c.\u0275\u0275advance(),c.\u0275\u0275property("color","grau"),c.\u0275\u0275advance(10),c.\u0275\u0275textInterpolate(me.Basics.AppBuild)}}function le(q,de){1&q&&(c.\u0275\u0275elementStart(0,"div",52),c.\u0275\u0275element(1,"img",53),c.\u0275\u0275elementEnd())}function se(q,de){if(1&q&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,le,2,0,"div",51),c.\u0275\u0275elementContainerEnd()),2&q){const me=c.\u0275\u0275nextContext(4);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",""===me.Pool.Mitarbeiterdaten.Kuerzel||""===me.Pool.Mitarbeiterdaten.StandortID)}}function K(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",42),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Re.StandorteButtonClicked())})("mouseenter",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Re.StandortMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Re.StandortMouseOver=!1)}),c.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",24),c.\u0275\u0275element(7,"ion-icon",43),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(8,"tr")(9,"td",30)(10,"table")(11,"tr")(12,"td",44),c.\u0275\u0275text(13),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(14,"td",45),c.\u0275\u0275elementStart(15,"td")(16,"ion-text",46),c.\u0275\u0275text(17,"Standorte"),c.\u0275\u0275elementEnd()()()()()()()()(),c.\u0275\u0275elementStart(18,"td"),c.\u0275\u0275element(19,"div",47),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(20,"td")(21,"div",42),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Re.MitarbeiterButtonClicked())})("mouseenter",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Re.MitarbeiterMouseOver=!0)})("mouseleave",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(Re.MitarbeiterMouseOver=!1)}),c.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",24)(25,"div",48)(26,"div",49),c.\u0275\u0275element(27,"ion-icon",50),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(28,se,2,1,"ng-container",2),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(29,"tr")(30,"td",30)(31,"table")(32,"tr")(33,"td",44),c.\u0275\u0275text(34),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(35,"td",45),c.\u0275\u0275elementStart(36,"td",30)(37,"ion-text",46),c.\u0275\u0275text(38,"Mitarbeiter"),c.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&q){const me=c.\u0275\u0275nextContext(3);c.\u0275\u0275advance(7),c.\u0275\u0275property("color",me.StandortMouseOver?me.Basics.Ionicfarben.BAEBlau:me.Basics.Ionicfarben.BurnicklGrau),c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("color",me.Basics.Farben.BAEBlau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",me.Pool.Standorteliste.length," "),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",me.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(3),c.\u0275\u0275styleProp("background",me.Basics.Farben.Grau),c.\u0275\u0275advance(8),c.\u0275\u0275property("color",me.MitarbeiterMouseOver?me.Basics.Ionicfarben.BAEBlau:me.Basics.Ionicfarben.BurnicklGrau),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==me.Pool.Mitarbeiterdaten),c.\u0275\u0275advance(5),c.\u0275\u0275styleProp("color",me.Basics.Farben.BAEBlau),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" ",me.CountMitarbeiter()," "),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",me.Basics.Ionicfarben.Grau)}}function Q(q,de){if(1&q&&(c.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",24),c.\u0275\u0275template(3,K,39,13,"table",2),c.\u0275\u0275elementEnd()()()),2&q){const me=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",null!==me.Pool.Mitarbeiterdaten&&!0===me.Pool.Mitarbeiterdaten.Planeradministrator)}}function re(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,ee,24,5,"div",19),c.\u0275\u0275elementStart(2,"div",20)(3,"div",21)(4,"ion-grid")(5,"ion-row")(6,"ion-col",22),c.\u0275\u0275element(7,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",24),c.\u0275\u0275element(13,"img",25),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",22),c.\u0275\u0275element(16,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",26),c.\u0275\u0275template(20,Q,4,1,"table",27),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",22),c.\u0275\u0275element(23,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",22),c.\u0275\u0275element(26,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",24)(32,"table")(33,"tr")(34,"td")(35,"div",28),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.PlanerButtonClicked())}),c.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",24),c.\u0275\u0275element(39,"ion-icon",29),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(40,"tr")(41,"td",30)(42,"ion-text",31),c.\u0275\u0275text(43,"Urlaubsplaner"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(44,"tr")(45,"td",32),c.\u0275\u0275text(46),c.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&q){const me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",me.Basics.ShowHomeScreenInfos),c.\u0275\u0275advance(19),c.\u0275\u0275property("ngIf",!1===me.Pool.ShowProgress),c.\u0275\u0275advance(19),c.\u0275\u0275property("color",me.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",me.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",me.Basics.AppVersionName," / ",me.Basics.AppVersionDatum," ")}}function X(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275elementStart(1,"div",54)(2,"ion-grid")(3,"ion-row")(4,"ion-col",22),c.\u0275\u0275element(5,"div",55),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",24),c.\u0275\u0275element(11,"img",25),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),c.\u0275\u0275element(14,"div",23),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",22)(17,"table",5)(18,"tr")(19,"td",24)(20,"div",56)(21,"table",5)(22,"tr")(23,"td",24),c.\u0275\u0275element(24,"ion-icon",29),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(25,"tr")(26,"td",30)(27,"ion-text",31),c.\u0275\u0275text(28,"Urlaubsplaner"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(29,"tr")(30,"td",32),c.\u0275\u0275text(31),c.\u0275\u0275elementEnd()()()()()()()()(),c.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",57)(37,"ion-button",58),c.\u0275\u0275listener("click",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.LoginButtonClicked())}),c.\u0275\u0275text(38,"Login"),c.\u0275\u0275elementEnd()()()()()()()(),c.\u0275\u0275elementContainerEnd()}if(2&q){const me=c.\u0275\u0275nextContext();c.\u0275\u0275advance(24),c.\u0275\u0275property("color",me.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",me.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",me.Basics.AppVersionName," / ",me.Basics.AppVersionDatum," "),c.\u0275\u0275advance(6),c.\u0275\u0275property("color",me.Basics.Ionicfarben.BAEBlau)}}function z(q,de){if(1&q){const me=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"fi-changelog-editor",59),c.\u0275\u0275listener("OkClickedEvent",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){c.\u0275\u0275restoreView(me);const Re=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Re.ShowChangelogEditor=!1)}),c.\u0275\u0275elementEnd()}}h.CommonHomePage=(()=>{class q{Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;DBMitarbeitersettings;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(me,Oe,Re,Ae,ge,Ne,it,qe,et,De,je,Ie){this.Basics=me,this.Debug=Oe,this.Tools=Re,this.Const=Ae,this.Pool=ge,this.authService=Ne,this.msalBroadcastService=it,this.GraphService=qe,this.DBChangelog=et,this.AuthService=De,this.DBMitarbeitersettings=je,this.Menuservice=Ie;try{this.StandortMouseOver=!1,this.MitarbeiterMouseOver=!1,this.ProjekteMouseOver=!1,this.FavoritenMouseOver=!1,this.LogoutMouseOver=!1,this.DebugMouseOver=!1,this.EinstellungenMouseOver=!1,this.PlayMouseOver=!1,this.BackgroundimageURL="../../../assets/background/"+d.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(bt){this.Debug.ShowErrorMessage(bt.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,u.filter)(me=>me.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(me=>{const Oe=me.payload;this.authService.instance.setActiveAccount(Oe.account),this.AuthService.ActiveUser=Oe.account,this.AuthService.SetShowLoginStatus(),this.AuthService.LoginSuccessEvent.emit()})}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Home}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){try{this.Backgroundinterval=null}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","ionViewDidLeave",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ChangelogSubscription.unsubscribe()}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","OnDestroy",this.Debug.Typen.Page)}}FavoritChangedHandler(me){}DebugButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.DebugPage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","DebugButtonClicked",this.Debug.Typen.Page)}}EinstellungenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.EinstellungenPage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","EinstellungenButtonClicked",this.Debug.Typen.Page)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","LogoutButtonClicked",this.Debug.Typen.Page)}}LoginButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Login()}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","LoginButtonClicked",this.Debug.Typen.Page)}}StandorteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiStandortelistePage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","StandorteButtonClicked",this.Debug.Typen.Page)}}MitarbeiterButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.FiMitarbeiterlistePage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","MitarbeiterButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","PlanerButtonClicked",this.Debug.Typen.Page)}}ProjekteButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjListePage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","ProjekteButtonClicked",this.Debug.Typen.Page)}}FavoritenButtonClicked(){try{this.Tools.SetRootPage(this.Const.Pages.PjFavoritenlistePage)}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","FavoritenButtonClicked",this.Debug.Typen.Page)}}PlayButtonClicked(){return n(function*(){})()}GetFavoritenlistehoehe(){try{let me=0;return null!==this.Pool.Mitarbeiterdaten&&(me=0===this.Pool.Mitarbeiterdaten.Favoritenliste.length?2:this.Pool.Mitarbeiterdaten.Favoritenliste.length),0===me&&(me=1),50*me}catch(me){this.Debug.ShowErrorMessage(me.message,"Home","GetFavoritenlistehoehe",this.Debug.Typen.Page)}}AddChangelogClicked(){try{this.DBChangelog.CurrentChangelog=this.DBChangelog.GetEmptyChangelog(),this.ShowChangelogEditor=!0}catch(me){this.Debug.ShowErrorMessage(me,"Home","AddChangelogClicked",this.Debug.Typen.Page)}}GetDatum(me){try{return(0,a.default)(me).format("DD.MM.YYYY")}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(me){try{this.DBChangelog.CurrentChangelog=d.cloneDeep(me),this.ShowChangelogEditor=!0}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Home","ChangelogClicked",this.Debug.Typen.Page)}}PrepareDaten(){try{let me;this.Pool.Changlogliste.length>0?(me=this.Pool.Changlogliste[0],this.Basics.AppVersionName=me.Version,this.Basics.AppVersionDatum=(0,a.default)(me.Zeitstempel).format("DD.MM.YYYY")):(this.Basics.AppVersionName="none",this.Basics.AppVersionDatum="none")}catch(me){this.Debug.ShowErrorMessage(me,"Home","PrepareDaten",this.Debug.Typen.Page)}}LoggoutClicked(){try{this.AuthService.Logout()}catch(me){this.Debug.ShowErrorMessage(me,"Home","LoggoutClicked",this.Debug.Typen.Page)}}GetUsercalendarClicked(){try{this.GraphService.GetOwnCalendar()}catch(me){this.Debug.ShowErrorMessage(me,"Home","GetUsercalendarClicked",this.Debug.Typen.Page)}}TestServerClicked(){try{this.Pool.TestServerconnection()}catch(me){this.Debug.ShowErrorMessage(me,"Home","TestServerClicked",this.Debug.Typen.Page)}}TestGraphClicked(){try{this.GraphService.TestGraph()}catch(me){this.Debug.ShowErrorMessage(me,"Home","TestGraphClicked",this.Debug.Typen.Page)}}SendMailClicked(){}TestSites(){}PDFDownloadAvaiableHandler(){try{this.Tools.PushPage(this.Const.Pages.PDFViewerPage)}catch(me){this.Debug.ShowErrorMessage(me,"Home","PDFDownloadAvaiableHandler",this.Debug.Typen.Page)}}SaveProtokokllClicked(){return n(function*(){})()}SendProtokokllClicked(){return n(function*(){})()}CountMitarbeiter(){try{return d.filter(this.Pool.Mitarbeiterliste,me=>!me.Archiviert).length.toString()}catch(me){this.Debug.ShowErrorMessage(me,"Home","CountMitarbeiter",this.Debug.Typen.Page)}}CountProjekte(){try{return 0}catch(me){this.Debug.ShowErrorMessage(me,"Home","CountProjekte",this.Debug.Typen.Page)}}RelaodButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.PlayButtonClicked()}catch(me){this.Debug.ShowErrorMessage(me,"Home","RelaodButtonClicked",this.Debug.Typen.Page)}}environment=l.environment;static \u0275fac=function(Oe){return new(Oe||q)(c.\u0275\u0275directiveInject(g.BasicsProvider),c.\u0275\u0275directiveInject(y.DebugProvider),c.\u0275\u0275directiveInject(_.ToolsProvider),c.\u0275\u0275directiveInject(C.ConstProvider),c.\u0275\u0275directiveInject(b.DatabasePoolService),c.\u0275\u0275directiveInject(p.MsalService),c.\u0275\u0275directiveInject(p.MsalBroadcastService),c.\u0275\u0275directiveInject(f.Graphservice),c.\u0275\u0275directiveInject(S.DatabaseChangelogService),c.\u0275\u0275directiveInject(v.DatabaseAuthenticationService),c.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),c.\u0275\u0275directiveInject(E.MenueService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:q,selectors:[["common-home-page"]],decls:11,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent",4,"ngIf"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","log-out-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],["name","bug-outline",3,"color"],["name","settings-outline",3,"color"],["class","userkuerzelsmall",3,"background",4,"ngIf"],[1,"userimagesmall",3,"src"],[1,"userkuerzelsmall"],["class","changelogdiv",4,"ngIf"],[2,"width","100%","height","100%","background","#F2F4F4"],[2,"position","absolute","width","100%","height","100%","z-index","2"],["size","12"],[2,"height","20px"],["align","center"],["src","assets/images/logo_large.png",2,"height","50px"],[2,"height","140px","width","100%","background","none"],["style","width: 100%;",4,"ngIf"],[1,"buttonbigclass",3,"click"],["name","sunny-outline",2,"font-size","120px",3,"color"],[2,"text-align","center"],[2,"font-size","26px",3,"color"],[2,"text-align","center","font-size","90%","color","gray"],[1,"changelogdiv"],[1,"paddingtable",2,"font-size","80%"],["colspan","3",2,"font-size","140%","font-weight","bold"],[2,"font-weight","bold","color","#454545"],[4,"ngFor","ngForOf"],["size","small",3,"color","click"],["name","add-circle-outline","color","weiss","slot","start",2,"font-size","90%"],["color","weiss",2,"font-size","80%"],[2,"width","100%","cursor","pointer",3,"click"],[1,"buttonclass",3,"click","mouseenter","mouseleave"],["name","location-outline",2,"font-size","80px",3,"color"],[2,"font-size","22px","font-weight","bold"],[2,"width","4px"],[2,"font-size","22px",3,"color"],[1,"trennerdiv"],[2,"height","90px","width","100px","background","none","position","relative"],[1,"projektbuttoniconclass"],["name","people-outline",2,"font-size","80px",3,"color"],["class","projektbuttoniconerrorclass",4,"ngIf"],[1,"projektbuttoniconerrorclass"],["src","/assets/svgs/alert.svg",2,"height","44px"],[2,"width","100%","height","100%","background","#F2F4F4","z-index","10"],[2,"height","30px"],[1,"buttonbigclass",2,"z-index","100"],[2,"text-align","center","vertical-align","center","height","100px"],[3,"color","click"],[3,"OkClickedEvent","CancelClickedEvent","DeleteClickedEvent"]],template:function(Oe,Re){1&Oe&&(c.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),c.\u0275\u0275template(3,B,19,7,"ng-container",2),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(4,"ion-content"),c.\u0275\u0275template(5,re,47,6,"ng-container",2)(6,X,39,5,"ng-container",2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"ion-footer"),c.\u0275\u0275element(8,"page-footer",null,3),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(10,z,1,0,"fi-changelog-editor",4)),2&Oe&&(c.\u0275\u0275advance(3),c.\u0275\u0275property("ngIf",!1===Re.AuthService.ShowLogin),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!1===Re.AuthService.ShowLogin),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!0===Re.AuthService.ShowLogin),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngIf",Re.ShowChangelogEditor))},dependencies:[A.NgForOf,A.NgIf,k.IonButton,k.IonCol,k.IonContent,k.IonFooter,k.IonGrid,k.IonHeader,k.IonIcon,k.IonRow,k.IonText,N.PageHeaderComponent,F.PageFooterComponent,T.FiChangelogEditorComponent],styles:[".projektbuttoniconclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:100;position:absolute;display:flex;justify-content:center;align-items:center}.projektbuttoniconerrorclass[_ngcontent-%COMP%]{height:90px;width:100px;z-index:200;position:absolute;display:flex;justify-content:center;align-items:center}.trennerdiv[_ngcontent-%COMP%]{width:100px;height:10px;border-radius:4px;margin:6px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.buttonclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:160px;height:140px;cursor:pointer;background:#fff}.changelogdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:360px;height:300px;position:absolute;padding:8px;left:20px;bottom:20px;background:#fff;z-index:1000;overflow:auto}.outputdiv[_ngcontent-%COMP%]{border:2px solid gray;border-radius:10px;width:500px;height:600px;position:absolute;padding:8px;left:20px;top:560px;background:#fff;z-index:1000;overflow:auto}.userimagesmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-top:4px;border-radius:50%;object-fit:cover}.userimage[_ngcontent-%COMP%]{display:inline-block;width:60px;height:60px;border-radius:50%;object-fit:cover}.userkuerzelsmall[_ngcontent-%COMP%]{display:inline-block;width:40px;height:40px;margin-right:4px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:#fff;font-weight:700}.buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:260px;height:260px;cursor:pointer;background:#fff}.buttonsmallclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:80px;height:80px;cursor:pointer;background:#fff}.favlistedivclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:400px;cursor:pointer;background:#fff;overflow:auto}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return q})()},64316:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfViewerPageModule=void 0;const n=i(81316),o=i(91368),d=i(44716),a=i(56568),u=i(10716),e=i(95896),l=i(70216),c=i(84104),g=i(76688),y=i(90520),_=n.__importStar(i(54496)),b=(n.__importStar(i(56568)),[{path:"",component:e.CommonPdfviewPage}]);h.CommonPdfViewerPageModule=(()=>{class f{static \u0275fac=function(M){return new(M||f)};static \u0275mod=_.\u0275\u0275defineNgModule({type:f});static \u0275inj=_.\u0275\u0275defineInjector({imports:[o.CommonModule,d.FormsModule,u.IonicModule,l.PageHeaderModule,a.RouterModule.forChild(b),c.SafePipeModule,g.PdfViewerModule,y.PageFooterModule]})}return f})()},95896:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonPdfviewPage=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(14652)),a=n.__importStar(i(34388)),u=n.__importStar(i(29743)),e=n.__importStar(i(19668)),l=n.__importStar(i(34396)),c=n.__importStar(i(8608)),g=n.__importStar(i(33940)),y=n.__importStar(i(91368)),_=n.__importStar(i(10716)),C=n.__importStar(i(90212)),b=n.__importStar(i(76688)),p=n.__importStar(i(29856));function f(v,M){if(1&v&&o.\u0275\u0275element(0,"pdf-viewer",12),2&v){const E=o.\u0275\u0275nextContext();o.\u0275\u0275property("src",E.GraphService.CurrentPDFDownload.url)("render-text",!0)("original-size",!0)}}h.CommonPdfviewPage=(()=>{class v{Basics;Debug;Const;Tools;Fehlerservice;GraphService;LoadingAnimation;Titel="Zoomtest";BackMouseOver;constructor(E,A,k,N,F,T,P){this.Basics=E,this.Debug=A,this.Const=k,this.Tools=N,this.Fehlerservice=F,this.GraphService=T,this.LoadingAnimation=P;try{this.BackMouseOver=!1}catch(I){this.Debug.ShowErrorMessage(I.message,"Common PDF Viewer","Constructor",this.Debug.Typen.Page)}}BackButtonClicked(){try{this.Tools.PopPage()}catch(E){this.Debug.ShowErrorMessage(E.message,"Common PDF Viewer","BackButtonClicked",this.Debug.Typen.Component)}}static \u0275fac=function(A){return new(A||v)(o.\u0275\u0275directiveInject(d.BasicsProvider),o.\u0275\u0275directiveInject(a.DebugProvider),o.\u0275\u0275directiveInject(u.ConstProvider),o.\u0275\u0275directiveInject(e.ToolsProvider),o.\u0275\u0275directiveInject(l.ErrorService),o.\u0275\u0275directiveInject(c.Graphservice),o.\u0275\u0275directiveInject(g.LoadingAnimationService))};static \u0275cmp=o.\u0275\u0275defineComponent({type:v,selectors:[["common-pdfview-page"]],decls:27,vars:7,consts:[[1,"ion-no-border"],[2,"width","100%"],[2,"width","50%"],[2,"width","10px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","caret-back-circle-outline",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[2,"font-size","100%","color","white"],["style","width: 100%; height: 100%",3,"src","render-text","original-size",4,"ngIf"],["PageFooter",""],[2,"width","100%","height","100%",3,"src","render-text","original-size"]],template:function(A,k){1&A&&(o.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table",1)(3,"tr")(4,"td",2)(5,"table")(6,"tr"),o.\u0275\u0275element(7,"td",3),o.\u0275\u0275elementStart(8,"td")(9,"div",4),o.\u0275\u0275listener("mouseenter",function(){return k.BackMouseOver=!0})("mouseleave",function(){return k.BackMouseOver=!1})("click",function(){return k.BackButtonClicked()}),o.\u0275\u0275elementStart(10,"table",5)(11,"tr")(12,"td"),o.\u0275\u0275element(13,"ion-icon",6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(14,"td"),o.\u0275\u0275text(15,"Zur\xfcck"),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275element(16,"td",3),o.\u0275\u0275elementStart(17,"td",7),o.\u0275\u0275element(18,"div",8),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(19,"td",3),o.\u0275\u0275elementStart(20,"td",9),o.\u0275\u0275text(21),o.\u0275\u0275elementEnd()()()()()()()(),o.\u0275\u0275elementStart(22,"ion-content"),o.\u0275\u0275template(23,f,1,3,"pdf-viewer",10),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(24,"ion-footer"),o.\u0275\u0275element(25,"page-footer",null,11),o.\u0275\u0275elementEnd()),2&A&&(o.\u0275\u0275advance(9),o.\u0275\u0275styleProp("cursor",k.BackMouseOver?"pointer":"default"),o.\u0275\u0275advance(4),o.\u0275\u0275property("color",k.BackMouseOver?k.Basics.Ionicfarben.Schwarz:k.Basics.Ionicfarben.Weiss),o.\u0275\u0275advance(),o.\u0275\u0275styleProp("color",k.BackMouseOver?"black":"white"),o.\u0275\u0275advance(7),o.\u0275\u0275textInterpolate(null!==k.GraphService.CurrentPDFDownload?k.GraphService.CurrentPDFDownload.name:""),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",null!==k.GraphService.CurrentPDFDownload))},dependencies:[y.NgIf,_.IonContent,_.IonFooter,_.IonHeader,_.IonIcon,C.PageHeaderComponent,b.PdfViewerComponent,p.PageFooterComponent],styles:[".trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:silver}.menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}"]})}return v})()},79112:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePageModule=void 0;const n=i(81316),o=i(91368),d=i(10716),a=i(44716),u=i(5944),e=i(70216),l=i(56568),c=i(6168),g=i(90520),y=n.__importStar(i(54496)),C=(n.__importStar(i(56568)),[{path:"",component:u.CommonTestseitePage}]);h.CommonTestseitePageModule=(()=>{class p{static \u0275fac=function(v){return new(v||p)};static \u0275mod=y.\u0275\u0275defineNgModule({type:p});static \u0275inj=y.\u0275\u0275defineInjector({imports:[o.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,l.RouterModule.forChild(C),c.PageHeaderMenuModule,g.PageFooterModule]})}return p})()},5944:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonTestseitePage=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(59460)),a=n.__importStar(i(34388)),u=n.__importStar(i(10716)),e=n.__importStar(i(90212)),l=n.__importStar(i(63792)),c=n.__importStar(i(29856));h.CommonTestseitePage=(()=>{class y{Menuservice;Debug;constructor(C,b){this.Menuservice=C,this.Debug=b}ngOnInit(){}static \u0275fac=function(b){return new(b||y)(o.\u0275\u0275directiveInject(d.MenueService),o.\u0275\u0275directiveInject(a.DebugProvider))};static \u0275cmp=o.\u0275\u0275defineComponent({type:y,selectors:[["common-testseite-page"]],decls:24,vars:3,consts:[[1,"ion-no-border"],["PageHeader",""],[1,"paddingtable"],["PageFooter",""]],template:function(b,p){1&b&&(o.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),o.\u0275\u0275element(3,"page-header-menu"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(4,"ion-content")(5,"table",2)(6,"tr")(7,"td"),o.\u0275\u0275text(8,"Mainmenu Bereich: "),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td"),o.\u0275\u0275text(10),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"tr")(12,"td"),o.\u0275\u0275text(13,"Firmamenu Bereich:"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(14,"td"),o.\u0275\u0275text(15),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(16,"tr")(17,"td"),o.\u0275\u0275text(18,"Projektmenu Bereich:"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(19,"td"),o.\u0275\u0275text(20),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementStart(21,"ion-footer"),o.\u0275\u0275element(22,"page-footer",null,3),o.\u0275\u0275elementEnd()),2&b&&(o.\u0275\u0275advance(10),o.\u0275\u0275textInterpolate(p.Menuservice.MainMenuebereich),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(p.Menuservice.FirmaMenuebereich),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(p.Menuservice.ProjekteMenuebereich))},dependencies:[u.IonContent,u.IonFooter,u.IonHeader,e.PageHeaderComponent,l.PageHeaderMenuComponent,c.PageFooterComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}#container[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:20px;line-height:26px}#container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;color:#8c8c8c;margin:0}#container[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}"]})}return y})()},53964:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPageModule=void 0;const n=i(81316),o=i(91368),d=i(10716),a=i(44716),u=i(79444),e=i(70216),l=i(56568),c=i(6168),g=i(90520),y=i(6232),_=i(72284),C=i(10272),b=i(7388),p=i(27328),f=i(26668),S=n.__importStar(i(54496)),M=(n.__importStar(i(56568)),[{path:"",component:u.CommonUrlaubEinstellungenPage}]);h.CommonUrlaubEinstellungenPageModule=(()=>{class A{static \u0275fac=function(F){return new(F||A)};static \u0275mod=S.\u0275\u0275defineNgModule({type:A});static \u0275inj=S.\u0275\u0275defineInjector({imports:[o.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,l.RouterModule.forChild(M),c.PageHeaderMenuModule,g.PageFooterModule,y.UrlausplanungKalenderModule,_.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,p.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},79444:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubEinstellungenPage=void 0;const o=i(81316),d=o.__importStar(i(17964)),a=o.__importDefault(i(35908)),u=i(17964),e=o.__importStar(i(54496)),l=o.__importStar(i(59460)),c=o.__importStar(i(14652)),g=o.__importStar(i(15024)),y=o.__importStar(i(7992)),_=o.__importStar(i(9544)),C=o.__importStar(i(22848)),b=o.__importStar(i(29743)),p=o.__importStar(i(58864)),f=o.__importStar(i(48044)),S=o.__importStar(i(34388)),v=o.__importStar(i(91368)),M=o.__importStar(i(10716)),E=o.__importStar(i(90212)),A=o.__importStar(i(63792)),k=o.__importStar(i(29856)),N=o.__importStar(i(13228)),F=o.__importStar(i(56584)),T=o.__importStar(i(25856)),P=o.__importStar(i(80887)),I=["PageHeader"],j=["PageFooter"];function L(X,z){if(1&X&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&X){const Y=z.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.Vorname+" "+Y.Name)}}function B(X,z){if(1&X&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&X){const Y=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.GetFreigeberName(Y.DB.CurrentUrlaub.FreigeberID))}}function $(X,z){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",16),e.\u0275\u0275listener("CheckChanged",function(de){const Oe=e.\u0275\u0275restoreView(Y).$implicit,Re=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Re.FerienBlockedChanged(de,Oe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&X){const Y=z.$implicit,q=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",q.CheckFerienBlocker(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.Name)}}function ee(X,z){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",16),e.\u0275\u0275listener("CheckChanged",function(de){const Oe=e.\u0275\u0275restoreView(Y).$implicit,Re=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Re.FeiertagBlockedChanged(de,Oe.Anfangstempel))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td"),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd()()}if(2&X){const Y=z.$implicit,q=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",q.CheckFeiertagBlocker(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(q.GetDatum(Y.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Y.Name)}}function le(X,z){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",8)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",9),e.\u0275\u0275template(9,L,3,1,"tr",10),e.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"ion-button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(13,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col")(16,"ion-text",8)(17,"b"),e.\u0275\u0275text(18,"Urlaubsfreigabe"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",12)(21,"table",9),e.\u0275\u0275template(22,B,3,1,"tr",3),e.\u0275\u0275elementStart(23,"tr")(24,"td")(25,"ion-button",11),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.FreigabeAuswahlClicked())}),e.\u0275\u0275text(26,"Mitarbeiter/in ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"ion-text",8)(30,"b"),e.\u0275\u0275text(31,"Urlaubstage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col",12)(34,"button-value",13),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.UrlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col",12)(37,"button-value",13),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.ResturlaubClickedEvent())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(38,"ion-row")(39,"ion-col",14)(40,"ion-text",8)(41,"b"),e.\u0275\u0275text(42,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(43,"ion-col",14)(44,"ion-text",8)(45,"b"),e.\u0275\u0275text(46,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(47,"ion-row")(48,"ion-col",14)(49,"table",9)(50,"tr",15),e.\u0275\u0275element(51,"td"),e.\u0275\u0275elementStart(52,"td"),e.\u0275\u0275text(53,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(54,"td"),e.\u0275\u0275text(55,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(56,"td"),e.\u0275\u0275text(57,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(58,$,9,4,"tr",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(59,"ion-col",14)(60,"table",9)(61,"tr",15),e.\u0275\u0275element(62,"td"),e.\u0275\u0275elementStart(63,"td"),e.\u0275\u0275text(64,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(65,"td"),e.\u0275\u0275text(66,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(67,"td"),e.\u0275\u0275text(68,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(69,ee,9,4,"tr",10),e.\u0275\u0275elementEnd()()()()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Y.Projektbeteiligteliste),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf",null!==Y.DB.CurrentUrlaub.FreigeberID),e.\u0275\u0275advance(12),e.\u0275\u0275property("Buttontext","Urlaubsanspruch "+Y.DB.Jahr.toString())("Wert_A",Y.DB.CurrentMitarbeiter.Urlaub.toString()+" Tage"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub "+(Y.DB.Jahr-1).toString())("Wert_A",Y.GetResturlaub()),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",Y.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",Y.Feiertageliste)}}function se(X,z){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",17),e.\u0275\u0275listener("OkClickedEvent",function(de){e.\u0275\u0275restoreView(Y);const me=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(me.AuswahlOkButtonClicked(de))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Y.Auswahlliste)("Auswahlindex",Y.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Y.Auswahltitel)("Iconname","")}}function K(X,z){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",18),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(de){e.\u0275\u0275restoreView(Y);const me=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(me.MitarbeiterauswahlOkButtonClicked(de))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Y.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",Y.MitarbeiterMultiselect)("AuswahlIDliste",Y.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function Q(X,z){if(1&X){const Y=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",19),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(de){e.\u0275\u0275restoreView(Y);const me=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(me.MitarbeiterauswahlOkButtonClicked(de))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Y);const de=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(de.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&X){const Y=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Y.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Y.AuswahlIDliste)}}h.CommonUrlaubEinstellungenPage=(()=>{class X{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;constructor(Y,q,de,me,Oe,Re,Ae,ge,Ne,it,qe){this.Menuservice=Y,this.Basics=q,this.DBMitarbeitersettings=de,this.Pool=me,this.DB=Oe,this.DBMitarbeiter=Re,this.Const=Ae,this.DBStandort=ge,this.DBMitarbeiterstettings=Ne,this.Auswahlservice=it,this.Debug=qe;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Ferienliste=[],this.Feiertageliste=[],this.Projektbeteiligteliste=[]}catch(et){this.Debug.ShowErrorMessage(et.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let Y;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let q of this.DB.CurrentUrlaub.Projektbeteiligteliste)Y=this.DBMitarbeiter.GetMitarbeiterByID(q.MitarbeiterID),null!==Y&&this.Projektbeteiligteliste.push(Y);this.Projektbeteiligteliste.sort((q,de)=>q.Name>de.Name?-1:q.Name-1!==Y.indexOf(Oe.MitarbeiterID));for(let Oe of Y)de=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Oe}),d.isUndefined(de)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:Oe,Display:!1});q=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(q)||(q.Projektbeteiligteliste=this.DB.CurrentUrlaub.Projektbeteiligteliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}));break;case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Freigeber_Auswahl:this.DB.CurrentUrlaub.FreigeberID=d.isUndefined(Y[0])?null:Y[0],q=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(q)||(q.FreigeberID=d.isUndefined(Y[0])?null:Y[0],this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()}));break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:me=d.find(this.Pool.Mitarbeiterliste,{_id:Y[0]}),this.DB.CurrentMitarbeiter=me,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(q){this.Debug.ShowErrorMessage(q.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let Y=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Y,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Y++;for(let q of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Y,FirstColumn:q.Kuerzel,SecoundColumn:q.Standort,Data:q}),Y++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Y){var q=this;return n(function*(){try{let de;switch(q.Auswahldialogorigin){case"Resturlaub":q.DB.CurrentUrlaub.Resturlaub=Y,de=d.find(q.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:q.DB.CurrentUrlaub.Jahr}),d.isUndefined(de)||(de.Resturlaub=Y,q.DBMitarbeiter.UpdateMitarbeiterUrlaub(q.DB.CurrentMitarbeiter));break;case"Urlaub":q.DB.CurrentMitarbeiter.Urlaub=Y,q.DBMitarbeiter.UpdateMitarbeiterUrlaub(q.DB.CurrentMitarbeiter);break;case q.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:q.DBStandort.CurrentStandortfilter=(0,u.cloneDeep)(Y),q.Pool.Mitarbeitersettings.StandortFilter=null!==Y?Y._id:q.Const.NONE,q.DBMitarbeiterstettings.UpdateMitarbeitersettings(q.Pool.Mitarbeitersettings,null).then(()=>{q.PrepareData(),q.DBStandort.StandortfilterChanged.emit()})}q.ShowAuswahl=!1,q.PrepareData()}catch(de){q.Debug.ShowErrorMessage(de.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",q.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let Y of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(Y.MitarbeiterID)}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ResturlaubClickedEvent(){try{this.Auswahldialogorigin="Resturlaub",this.Auswahlhoehe=600,this.Auswahltitel="Resturlaub festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"0,5",SecoundColumn:"Tage",Data:.5}),this.Auswahlliste.push({Index:1,FirstColumn:"1,0",SecoundColumn:"Tag",Data:1}),this.Auswahlliste.push({Index:2,FirstColumn:"1,5",SecoundColumn:"Tage",Data:1.5}),this.Auswahlliste.push({Index:3,FirstColumn:"2,0",SecoundColumn:"Tage",Data:2}),this.Auswahlliste.push({Index:4,FirstColumn:"2,5",SecoundColumn:"Tage",Data:2.5}),this.Auswahlliste.push({Index:5,FirstColumn:"3,0",SecoundColumn:"Tage",Data:3}),this.Auswahlliste.push({Index:6,FirstColumn:"3,5",SecoundColumn:"Tage",Data:3.5}),this.Auswahlliste.push({Index:7,FirstColumn:"4,0",SecoundColumn:"Tage",Data:4}),this.Auswahlliste.push({Index:8,FirstColumn:"4,5",SecoundColumn:"Tage",Data:4.5}),this.Auswahlliste.push({Index:9,FirstColumn:"5,0",SecoundColumn:"Tage",Data:5}),this.Auswahlliste.push({Index:10,FirstColumn:"5,5",SecoundColumn:"Tage",Data:5.5}),this.Auswahlliste.push({Index:11,FirstColumn:"6,0",SecoundColumn:"Tage",Data:6}),this.Auswahlliste.push({Index:12,FirstColumn:"6,5",SecoundColumn:"Tage",Data:6.5}),this.Auswahlliste.push({Index:13,FirstColumn:"7,0",SecoundColumn:"Tage",Data:7}),this.Auswahlliste.push({Index:14,FirstColumn:"7,5",SecoundColumn:"Tage",Data:7.5}),this.Auswahlliste.push({Index:15,FirstColumn:"8,0",SecoundColumn:"Tage",Data:8}),this.Auswahlliste.push({Index:16,FirstColumn:"8,5",SecoundColumn:"Tage",Data:8.5}),this.Auswahlliste.push({Index:17,FirstColumn:"9,0",SecoundColumn:"Tage",Data:9}),this.Auswahlliste.push({Index:18,FirstColumn:"9,5",SecoundColumn:"Tage",Data:9.5}),this.Auswahlliste.push({Index:19,FirstColumn:"10,0",SecoundColumn:"Tage",Data:10}),this.Auswahlindex=d.findIndex(this.Auswahlliste,Y=>Y.Data===this.DB.CurrentUrlaub.Resturlaub),this.ShowAuswahl=!0}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}GetResturlaub(){try{let Y=this.DB.CurrentUrlaub.Resturlaub.toString();return Y+=1===this.DB.CurrentUrlaub.Resturlaub?" Tag":" Tage",Y}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","GetResturlaub",this.Debug.Typen.Page)}}GetDatum(Y){try{return(0,a.default)(Y).format("DD.MM.YYYY")}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","GetDatum",this.Debug.Typen.Page)}}UrlaubClickedEvent(){try{this.Auswahldialogorigin="Urlaub",this.Auswahlhoehe=600,this.Auswahltitel="Urlaubsanspruch festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"10",SecoundColumn:"Tage",Data:10}),this.Auswahlliste.push({Index:1,FirstColumn:"11",SecoundColumn:"Tage",Data:11}),this.Auswahlliste.push({Index:2,FirstColumn:"12",SecoundColumn:"Tage",Data:12}),this.Auswahlliste.push({Index:3,FirstColumn:"13",SecoundColumn:"Tage",Data:13}),this.Auswahlliste.push({Index:4,FirstColumn:"14",SecoundColumn:"Tage",Data:14}),this.Auswahlliste.push({Index:5,FirstColumn:"15",SecoundColumn:"Tage",Data:15}),this.Auswahlliste.push({Index:6,FirstColumn:"16",SecoundColumn:"Tage",Data:16}),this.Auswahlliste.push({Index:7,FirstColumn:"17",SecoundColumn:"Tage",Data:17}),this.Auswahlliste.push({Index:8,FirstColumn:"18",SecoundColumn:"Tage",Data:18}),this.Auswahlliste.push({Index:9,FirstColumn:"19",SecoundColumn:"Tage",Data:19}),this.Auswahlliste.push({Index:10,FirstColumn:"20",SecoundColumn:"Tage",Data:20}),this.Auswahlliste.push({Index:11,FirstColumn:"21",SecoundColumn:"Tage",Data:21}),this.Auswahlliste.push({Index:12,FirstColumn:"22",SecoundColumn:"Tage",Data:22}),this.Auswahlliste.push({Index:13,FirstColumn:"23",SecoundColumn:"Tage",Data:23}),this.Auswahlliste.push({Index:14,FirstColumn:"24",SecoundColumn:"Tage",Data:24}),this.Auswahlliste.push({Index:15,FirstColumn:"25",SecoundColumn:"Tage",Data:25}),this.Auswahlliste.push({Index:16,FirstColumn:"26",SecoundColumn:"Tage",Data:26}),this.Auswahlliste.push({Index:17,FirstColumn:"27",SecoundColumn:"Tage",Data:27}),this.Auswahlliste.push({Index:18,FirstColumn:"28",SecoundColumn:"Tage",Data:28}),this.Auswahlliste.push({Index:19,FirstColumn:"29",SecoundColumn:"Tage",Data:29}),this.Auswahlliste.push({Index:20,FirstColumn:"30",SecoundColumn:"Tage",Data:30}),this.Auswahlliste.push({Index:21,FirstColumn:"31",SecoundColumn:"Tage",Data:31}),this.Auswahlliste.push({Index:22,FirstColumn:"32",SecoundColumn:"Tage",Data:32}),this.Auswahlliste.push({Index:23,FirstColumn:"33",SecoundColumn:"Tage",Data:33}),this.Auswahlliste.push({Index:24,FirstColumn:"34",SecoundColumn:"Tage",Data:34}),this.Auswahlliste.push({Index:25,FirstColumn:"35",SecoundColumn:"Tage",Data:35}),this.Auswahlliste.push({Index:26,FirstColumn:"36",SecoundColumn:"Tage",Data:36}),this.Auswahlindex=d.findIndex(this.Auswahlliste,Y=>Y.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(Y){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(Y)}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(Y,q){try{let de;!1===Y.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(q):this.DB.CurrentUrlaub.Ferienblockerliste=d.filter(this.DB.CurrentUrlaub.Ferienblockerliste,me=>me!==q),de=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(de)||(de.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(Y){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(Y)}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(Y,q){try{let de;!1===Y.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(q):this.DB.CurrentUrlaub.Feiertageblockerliste=d.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,me=>me!==q),de=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),d.isUndefined(de)||(de.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(de){this.Debug.ShowErrorMessage(de,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}FreigabeAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Freigeber_Auswahl,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=null!==this.DB.CurrentUrlaub.FreigeberID?[this.DB.CurrentUrlaub.FreigeberID]:[],this.MitarbeiterauswahlTitel="Vertreter/innen ausw\xe4hlen",this.MitarbeiterMultiselect=!1}catch(Y){this.Debug.ShowErrorMessage(Y,"Urlaub Einstellungen Page","FreigabeAuswahlClicked",this.Debug.Typen.Page)}}GetFreigeberName(Y){try{let q=this.DBMitarbeiter.GetMitarbeiterByID(Y);return null!==q?q.Vorname+" "+q.Name:"unbekannt"}catch(q){this.Debug.ShowErrorMessage(q,"Urlaub Einstellungen Page","GetFreigeberName",this.Debug.Typen.Page)}}static \u0275fac=function(q){return new(q||X)(e.\u0275\u0275directiveInject(l.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.DatabasePoolService),e.\u0275\u0275directiveInject(_.DatabaseUrlaubService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(p.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(S.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:X,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(q,de){if(1&q&&(e.\u0275\u0275viewQuery(I,5),e.\u0275\u0275viewQuery(j,5)),2&q){let me;e.\u0275\u0275queryRefresh(me=e.\u0275\u0275loadQuery())&&(de.PageHeader=me.first),e.\u0275\u0275queryRefresh(me=e.\u0275\u0275loadQuery())&&(de.PageFooter=me.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[4,"ngIf"],["PageFooter",""],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],[4,"ngFor","ngForOf"],["size","small","color","grau",3,"click"],["size","6"],[3,"Buttontext","Wert_A","ButtonClicked"],["size","3"],[2,"font-weight","bold"],[3,"Checked","CheckChanged"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","AuswahlIDliste","OnlyProjektmitarbeiter","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(q,de){1&q&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return de.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,le,70,8,"ion-grid",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer"),e.\u0275\u0275element(7,"page-footer",null,4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,se,1,7,"auswahl-dialog",5)(10,K,1,6,"fi-mitarbeiter-auswahl",6)(11,Q,1,6,"fi-mitarbeiter-auswahl",7)),2&q&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==de.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",de.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",de.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",de.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonButton,M.IonCol,M.IonContent,M.IonFooter,M.IonGrid,M.IonHeader,M.IonRow,M.IonText,E.PageHeaderComponent,A.PageHeaderMenuComponent,k.PageFooterComponent,N.ButtonValueComponent,F.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return X})()},5884:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPageModule=void 0;const n=i(81316),o=i(91368),d=i(10716),a=i(44716),u=i(76052),e=i(70216),l=i(56568),c=i(6168),g=i(90520),y=i(6232),_=i(72284),C=i(10272),b=i(7388),p=i(27328),f=i(26668),S=i(6512),v=n.__importStar(i(54496)),E=(n.__importStar(i(56568)),[{path:"",component:u.CommonUrlaubFreigabenPage}]);h.CommonUrlaubFreigabenPageModule=(()=>{class k{static \u0275fac=function(T){return new(T||k)};static \u0275mod=v.\u0275\u0275defineNgModule({type:k});static \u0275inj=v.\u0275\u0275defineInjector({imports:[o.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,l.RouterModule.forChild(E),c.PageHeaderMenuModule,g.PageFooterModule,y.UrlausplanungKalenderModule,_.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,p.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule,S.AbstandElementFixedModule]})}return k})()},76052:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubFreigabenPage=void 0;const o=i(81316),d=o.__importStar(i(17964)),a=o.__importDefault(i(35908)),u=i(17964),e=o.__importStar(i(54496)),l=o.__importStar(i(59460)),c=o.__importStar(i(14652)),g=o.__importStar(i(15024)),y=o.__importStar(i(7992)),_=o.__importStar(i(9544)),C=o.__importStar(i(22848)),b=o.__importStar(i(29743)),p=o.__importStar(i(58864)),f=o.__importStar(i(48044)),S=o.__importStar(i(34388)),v=o.__importStar(i(91368)),M=o.__importStar(i(10716)),E=o.__importStar(i(90212)),A=o.__importStar(i(63792)),k=o.__importStar(i(29856)),N=o.__importStar(i(77440)),F=o.__importStar(i(56584)),T=o.__importStar(i(25856)),P=o.__importStar(i(80887)),I=["PageHeader"],j=["PageFooter"];function L(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const Ce=e.\u0275\u0275restoreView(Fe).index,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.MonatButtonClicked(Ce))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=jt.$implicit,Ee=jt.index,ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ye.GetMonatButtonColor(Ee)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Fe)}}function B(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext(4).$implicit,Je=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Je.VerteretungStatusChangedHandler(ye,Ce,Ge._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Vertretung annehmen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Vertretung ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",Fe.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function $(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1," Vertretung angenommen"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(3).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Ee.DB.GetVertretungsanwortAge(Fe).toFixed(2)," Minuten ")}}function ee(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1," Vertretung abgelehnt"),e.\u0275\u0275element(2,"br"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(3).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate1(" vor ",Ee.DB.GetVertretungsanwortAge(Fe).toFixed(2)," Minuten ")}}function le(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,$,4,1,"td",46)(4,ee,4,1,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function se(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td",6),e.\u0275\u0275element(8,"div",37),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(9,"td",38),e.\u0275\u0275elementStart(10,"td")(11,"ion-button",39),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(4).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.UrlaubSuchen(ye,Ce))}),e.\u0275\u0275element(12,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(13,"td"),e.\u0275\u0275template(14,B,12,3,"ng-container",19)(15,le,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Fe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ee.DB.GetStatuscolor(Fe.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",Fe.Vertretungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",!1===Fe.VertreterantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Fe.VertreterantwortSended)}}function K(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,se,16,8,"tr",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ee.DB.CheckVertretungsanwortAge(Fe)&&Fe.VertreterID===Ee.DB.CurrentMitarbeiter._id&&(Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreteranfrage||Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe||Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function Q(kt,jt){1&kt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",48),e.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),e.\u0275\u0275elementEnd()())}function re(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,K,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.SendVertretungUpdate(Ce,ye))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(6,Q,3,0,"tr",19),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(2).$implicit,ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Fe.Zeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===ye.CheckVertretungUpdateButtonEnabled(Ee,Fe)),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null===Fe.FreigeberID)}}function X(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,7,3,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Jahr===Ee.DB.Jahr)}}function z(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",33),e.\u0275\u0275text(16,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(17,"td"),e.\u0275\u0275elementStart(18,"td",31),e.\u0275\u0275text(19,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(20,X,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(21,"tr"),e.\u0275\u0275element(22,"td"),e.\u0275\u0275elementEnd()()()()),2&kt){const Fe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(20),e.\u0275\u0275property("ngForOf",Fe.Urlaubsliste)}}function Y(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,z,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",Fe.Vorname+" "+Fe.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Ee.DB.Vertretungsanfragenanzahl||0!==Ee.DB.Vertretungsantwortenanzahl)}}function q(kt,jt){1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function de(kt,jt){1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),e.\u0275\u0275element(3,"div",50),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function me(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-radio-group",41),e.\u0275\u0275listener("ionChange",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext(4).$implicit,Je=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Je.FreigabeStatusChangedHandler(ye,Ce,Ge._id))}),e.\u0275\u0275elementStart(2,"table",42)(3,"tr")(4,"td"),e.\u0275\u0275element(5,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",44),e.\u0275\u0275text(7,"Urlaub genehmigen"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275element(9,"ion-radio",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",45),e.\u0275\u0275text(11,"Urlaub ablehnen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("value",Fe.Status),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(4),e.\u0275\u0275property("value",Ee.DB.Urlaubstatusvarianten.Abgelehnt)}}function Oe(kt,jt){1&kt&&(e.\u0275\u0275elementStart(0,"td",44),e.\u0275\u0275text(1,"Urlaub genehmigt"),e.\u0275\u0275elementEnd())}function Re(kt,jt){1&kt&&(e.\u0275\u0275elementStart(0,"td",45),e.\u0275\u0275text(1,"Urlaub abgelehnt"),e.\u0275\u0275elementEnd())}function Ae(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",42)(2,"tr"),e.\u0275\u0275template(3,Oe,2,0,"td",46)(4,Re,2,0,"td",47),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=e.\u0275\u0275nextContext(2).$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Genehmigt),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Status===Ee.DB.Urlaubstatusvarianten.Abgelehnt)}}function ge(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",36),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",6),e.\u0275\u0275element(10,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(11,"td",38),e.\u0275\u0275elementStart(12,"td")(13,"ion-button",52),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(4).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.UrlaubSuchen(ye,Ce))}),e.\u0275\u0275element(14,"ion-icon",40),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275template(16,me,12,3,"ng-container",19)(17,Ae,5,2,"ng-container",19),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetDatumlangtext(Fe.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Fe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Ee.GetVertetungName(Fe)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ee.DB.GetStatuscolor(Fe.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",Fe.Freigabemeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(2),e.\u0275\u0275property("disabled",Fe.Status===Ee.DB.Urlaubstatusvarianten.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===Fe.FreigabeantwortSended),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Fe.FreigabeantwortSended)}}function Ne(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,ge,18,10,"tr",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ee.DB.CheckFreigabeanwortAge(Fe)&&!0===Fe.VertreterantwortSended&&(Fe.Status===Ee.DB.Urlaubstatusvarianten.Vertreterfreigabe||Fe.Status===Ee.DB.Urlaubstatusvarianten.Genehmigt||Fe.Status===Ee.DB.Urlaubstatusvarianten.Abgelehnt))}}function it(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ne,2,1,"ng-container",10),e.\u0275\u0275elementStart(2,"tr")(3,"td",34)(4,"ion-button",35),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext().$implicit,Ce=e.\u0275\u0275nextContext(2).$implicit,Ge=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ge.SendFreigabeUpdate(Ce,ye))}),e.\u0275\u0275text(5,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext().$implicit,Ee=e.\u0275\u0275nextContext(2).$implicit,ye=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Fe.Zeitspannen),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===ye.CheckFreigabeUpdateButtonEnabled(Ee,Fe))}}function qe(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,it,6,2,"ng-container",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Fe.Jahr===Ee.DB.Jahr&&Fe.FreigeberID===Ee.DB.CurrentMitarbeiter._id)}}function et(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",17)(3,"tr")(4,"td",6)(5,"table",30)(6,"tr")(7,"td",31),e.\u0275\u0275text(8,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td",31),e.\u0275\u0275text(10,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",32),e.\u0275\u0275text(12,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",31),e.\u0275\u0275text(14,"Vertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(15,"td",31),e.\u0275\u0275text(16,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(17,"td",33),e.\u0275\u0275text(18,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(19,"td"),e.\u0275\u0275elementStart(20,"td",31),e.\u0275\u0275text(21,"Anfrage beantworten"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(22,qe,2,1,"ng-container",10),e.\u0275\u0275elementEnd()()()()()()),2&kt){const Fe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(22),e.\u0275\u0275property("ngForOf",Fe.Urlaubsliste)}}function De(kt,jt){if(1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",17)(4,"tr")(5,"td",6),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275template(7,et,23,1,"ion-row",19),e.\u0275\u0275elementContainerEnd()),2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext();e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",Fe.Vorname+" "+Fe.Name," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ee.DB.Freigabenanfragenanzahl>0||Ee.DB.Freigabenantwortenanzahl>0)}}function je(kt,jt){1&kt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",4)(4,"tr")(5,"td",49),e.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275elementContainerEnd())}function Ie(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ce.AnsichtFeiertageCheckChanged(ye,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",51),e.\u0275\u0275element(6,"ion-icon",56),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ce.AnsichtFerientageCheckChanged(ye,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",51),e.\u0275\u0275element(14,"ion-icon",57),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",Fe.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Fe.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Ferien_DE)}}function bt(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",58),e.\u0275\u0275listener("CheckChanged",function(ye){const Ce=e.\u0275\u0275restoreView(Fe),Ge=Ce.$implicit,Je=Ce.index,vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.DisplayExternCheckChanged(ye,Ge,Je))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",59),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&kt){const Fe=jt.$implicit,Ee=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Ee.DB.CheckDisplayExternenUrlaub(Fe.MitarbeiterIDExtern))("Enabled",Fe.Zeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Fe.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Fe.NameExtern," ",Fe.Text,"")}}function Qe(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,Ie,17,6,"ng-container",19),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.AnsichtFeiertageCheckChanged(ye,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",51),e.\u0275\u0275element(8,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",53),e.\u0275\u0275listener("CheckChanged",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.AnsichtFerientageCheckChanged(ye,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",51),e.\u0275\u0275element(16,"ion-icon",55),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",51),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,bt,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===Fe.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Fe.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Fe.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Fe.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Fe.DB.UrlaublisteExtern)}}function Ut(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",60),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",Fe.Flagsource,e.\u0275\u0275sanitizeUrl)}}function sn(kt,jt){if(1&kt&&(e.\u0275\u0275elementStart(0,"td",61),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Fe.Message)}}function un(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",62),e.\u0275\u0275listener("OkClickedEvent",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.AuswahlOkButtonClicked(ye))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Fe.Auswahlliste)("Auswahlindex",Fe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Fe.Auswahltitel)("Iconname","")}}function Sn(kt,jt){if(1&kt){const Fe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",63),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(ye){e.\u0275\u0275restoreView(Fe);const Ce=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ce.MitarbeiterauswahlOkButtonClicked(ye))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Fe);const ye=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(ye.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&kt){const Fe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Fe.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Fe.AuswahlIDliste)}}h.CommonUrlaubFreigabenPage=(()=>{class kt{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(Fe,Ee,ye,Ce,Ge,Je,vt,Bt,Zt,Rt,Dt){this.Menuservice=Fe,this.Basics=Ee,this.DBMitarbeitersettings=ye,this.Pool=Ce,this.DB=Ge,this.DBMitarbeiter=Je,this.Const=vt,this.DBStandort=Bt,this.DBMitarbeiterstettings=Zt,this.Auswahlservice=Rt,this.Debug=Dt;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Auswahldialogorigin=this.Const.NONE,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.MitarbeiterMultiselect=!0,this.Message="",this.Flagsource="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0}catch(Ot){this.Debug.ShowErrorMessage(Ot.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var Fe=this;return n(function*(){try{Fe.DB.Init(),Fe.DB.CheckSetup(),Fe.DB.SetPlanungsmonate(),Fe.DB.CountAnfragenanzahlen()}catch(Ee){Fe.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","PrepareData",Fe.Debug.Typen.Page)}})()}GetDatumlangtext(Fe){try{return(0,a.default)(Fe).locale("de").format("DD. MMMM YYYY")}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Fe){try{let Ee;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(Ee=d.find(this.Pool.Mitarbeiterliste,{_id:Fe[0]}),this.DB.CurrentMitarbeiter=Ee,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let Fe=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Fe,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Fe++;for(let Ee of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Fe,FirstColumn:Ee.Kuerzel,SecoundColumn:Ee.Standort,Data:Ee}),Fe++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Fe){this.Debug.ShowErrorMessage(Fe.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Fe){var Ee=this;return n(function*(){try{Ee.Auswahldialogorigin===Ee.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter&&(Ee.DBStandort.CurrentStandortfilter=(0,u.cloneDeep)(Fe),Ee.Pool.Mitarbeitersettings.StandortFilter=null!==Fe?Fe._id:Ee.Const.NONE,Ee.DBMitarbeitersettings.UpdateMitarbeitersettings(Ee.Pool.Mitarbeitersettings,null).then(()=>{Ee.ShowAuswahl=!1,Ee.DBStandort.StandortfilterChanged.emit()})),Ee.ShowAuswahl=!1,Ee.PrepareData()}catch(ye){Ee.Debug.ShowErrorMessage(ye.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",Ee.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(Fe){try{return(0,a.default)(Fe).format("DD.MM.YYYY")}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(Fe,Ee,ye){try{Ee.Status=Fe.detail.value}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(Fe,Ee,ye){try{Ee.Status=Fe.detail.value}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(Fe,Ee){try{let ye=!1;for(let Ce of Ee.Zeitspannen)d.isUndefined(Ce.VertreterantwortSended)&&(Ce.VertreterantwortSended=!1),null!==Ee.FreigeberID&&!1===Ce.VertreterantwortSended&&Ce.VertreterID===this.DB.CurrentMitarbeiter._id&&(Ce.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Ce.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(ye=!0);return ye}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(Fe,Ee){try{let ye=(0,a.default)(Fe.Startstempel);this.DB.CurrentMonatindex=ye.month(),this.DB.SetPlanungsmonate()}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(Fe,Ee){try{let ye=!1;for(let Ce of Ee.Zeitspannen)d.isUndefined(Ce.FreigabeantwortSended)&&(Ce.FreigabeantwortSended=!1),null!==Ee.FreigeberID&&!1===Ce.FreigabeantwortSended&&(Ce.Status===this.DB.Urlaubstatusvarianten.Genehmigt||Ce.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(ye=!0);return ye}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(Fe,Ee){var ye=this;return n(function*(){try{yield ye.DB.UpdateVertreterantworten(Fe,Ee),yield ye.PrepareData(),ye.DB.ExterneUrlaubeChanged.emit()}catch(Ce){ye.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","SendVertretungUpdate",ye.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(Fe){try{this.Message=Fe.Name,""!==Fe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Fe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(Fe,Ee,ye){try{let Ce=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Ee.MitarbeiterIDExtern});d.isUndefined(Ce)||(Ce.Display=Fe.status);let Ge=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Ge]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(Fe){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=Fe.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(Fe){try{this.Message=Fe.Name,""!==Fe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Fe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(Fe){try{this.DB.CurrentMonatindex=Fe,this.DB.SetPlanungsmonate()}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(Fe){try{if(this.DB.CurrentMonatindex===Fe)return"orange"}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(Fe,Ee){try{switch(Ee){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=Fe.status,this.DB.ShowFerientage_DE=Fe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=Fe.status,this.DB.ShowFerientage_BG=Fe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(Fe,Ee){try{switch(Ee){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=Fe.status,this.DB.ShowFeiertage_DE=Fe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=Fe.status,this.DB.ShowFeiertage_BG=Fe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(ye){this.Debug.ShowErrorMessage(ye,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetVertetungName(Fe){try{let Ee;return Ee=this.DBMitarbeiter.GetMitarbeiterByID(Fe.VertreterID),d.isUndefined(Ee)?"unbekannt":Ee.Vorname+" "+Ee.Name}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Freigaben Page","GetVertetungName",this.Debug.Typen.Page)}}SendFreigabeUpdate(Fe,Ee){var ye=this;return n(function*(){try{yield ye.DB.UpdateFreigabenantworten(Fe,Ee),yield ye.PrepareData(),ye.DB.ExterneUrlaubeChanged.emit()}catch(Ce){ye.Debug.ShowErrorMessage(Ce,"Urlaub Freigaben Page","SendFreigabeUpdate",ye.Debug.Typen.Page)}})()}static \u0275fac=function(Ee){return new(Ee||kt)(e.\u0275\u0275directiveInject(l.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.DatabasePoolService),e.\u0275\u0275directiveInject(_.DatabaseUrlaubService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(p.DatabaseStandorteService),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(S.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:kt,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(Ee,ye){if(1&Ee&&(e.\u0275\u0275viewQuery(I,5),e.\u0275\u0275viewQuery(j,5)),2&Ee){let Ce;e.\u0275\u0275queryRefresh(Ce=e.\u0275\u0275loadQuery())&&(ye.PageHeader=Ce.first),e.\u0275\u0275queryRefresh(Ce=e.\u0275\u0275loadQuery())&&(ye.PageFooter=Ce.first)}},decls:70,vars:30,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],["colspan","2",2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","FeiertagCrossedEvent","FerientagCrossedEvent"],["width","100%"],["color","baeblau",2,"font-size","120%","font-weight","bold"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],["colspan","7","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],[1,"legendedivclass",2,"color","black"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[3,"value","ionChange"],[1,"nobordertable"],[3,"value"],[2,"color","green"],[2,"color","red"],["style","color: green",4,"ngIf"],["style","color: red",4,"ngIf"],["colspan","6",2,"color","red"],[2,"text-align","center","height","30px"],[2,"height","20px"],[1,"legendedivclass"],["size","small","color","grau",3,"disabled","click"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(Ee,ye){1&Ee&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return ye.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return ye.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,L,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return ye.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ge){return ye.FeiertagCrossedEventHandler(Ge)})("FerientagCrossedEvent",function(Ge){return ye.FerientagCrossedEventHandler(Ge)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ge){return ye.FeiertagCrossedEventHandler(Ge)})("FerientagCrossedEvent",function(Ge){return ye.FerientagCrossedEventHandler(Ge)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ge){return ye.FeiertagCrossedEventHandler(Ge)})("FerientagCrossedEvent",function(Ge){return ye.FerientagCrossedEventHandler(Ge)}),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(30,"ion-grid")(31,"ion-row")(32,"ion-col")(33,"table",17)(34,"tr")(35,"td",6)(36,"ion-text",18),e.\u0275\u0275text(37,"Vertretungsanfragen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(38,Y,8,2,"ng-container",10)(39,q,7,0,"ng-container",19)(40,de,4,0,"ng-container",19),e.\u0275\u0275elementStart(41,"ion-row")(42,"ion-col")(43,"table",17)(44,"tr")(45,"td",6)(46,"ion-text",18),e.\u0275\u0275text(47,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(48,De,8,2,"ng-container",10)(49,je,7,0,"ng-container",19),e.\u0275\u0275elementStart(50,"div",20)(51,"table")(52,"tr")(53,"td")(54,"div",21),e.\u0275\u0275listener("click",function(){return ye.LegendeVisible=!ye.LegendeVisible}),e.\u0275\u0275element(55,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"td",23),e.\u0275\u0275template(57,Qe,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275elementStart(58,"ion-footer")(59,"page-footer",null,25)(61,"table",4)(62,"tr")(63,"td",26)(64,"table",13)(65,"tr"),e.\u0275\u0275template(66,Ut,2,1,"td",19)(67,sn,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(68,un,1,7,"auswahl-dialog",28)(69,Sn,1,6,"fi-mitarbeiter-auswahl",29)),2&Ee&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",ye.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",ye.DB.Jahr)("Monatindex",ye.DB.FirstMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ye.DB.Jahr)("ShowYear",!0)("Monatindex",ye.DB.CurrentMonatindex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",ye.DB.Jahr)("Monatindex",ye.DB.LastMonatIndex)("AddUrlaubRunning",!1),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",ye.DB.Vertretrungliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ye.DB.Vertretungsanfragenanzahl&&0===ye.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==ye.DB.Vertretungsanfragenanzahl||0!==ye.DB.Vertretungsantwortenanzahl),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngForOf",ye.DB.Freigabenliste),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===ye.DB.Freigabenanfragenanzahl&&0===ye.DB.Freigabenantwortenanzahl),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",ye.Legendehoehe,"px")("width",ye.Legendebreite,"px")("right",ye.LegendeVisible?0:-(ye.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",ye.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",ye.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==ye.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==ye.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==ye.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ye.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ye.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonButton,M.IonCol,M.IonContent,M.IonFooter,M.IonGrid,M.IonHeader,M.IonIcon,M.IonRadio,M.IonRadioGroup,M.IonRow,M.IonText,M.RadioValueAccessor,M.SelectValueAccessor,E.PageHeaderComponent,A.PageHeaderMenuComponent,k.PageFooterComponent,N.PjProjektpunktDateKWPickerComponent,F.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return kt})()},74484:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsplanungPageModule=void 0;const n=i(81316),o=i(91368),d=i(10716),a=i(44716),u=i(75908),e=i(70216),l=i(56568),c=i(6168),g=i(90520),y=i(6232),_=i(72284),C=i(10272),b=i(7388),p=i(27328),f=i(26668),S=n.__importStar(i(54496)),M=(n.__importStar(i(56568)),[{path:"",component:u.CommonUrlaubPlanungPage}]);h.CommonUrlaubsplanungPageModule=(()=>{class A{static \u0275fac=function(F){return new(F||A)};static \u0275mod=S.\u0275\u0275defineNgModule({type:A});static \u0275inj=S.\u0275\u0275defineInjector({imports:[o.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,l.RouterModule.forChild(M),c.PageHeaderMenuModule,g.PageFooterModule,y.UrlausplanungKalenderModule,_.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,p.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},75908:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubPlanungPage=void 0;const o=i(81316),d=o.__importStar(i(17964)),a=o.__importDefault(i(35908)),u=i(17964),e=o.__importStar(i(54496)),l=o.__importStar(i(59460)),c=o.__importStar(i(14652)),g=o.__importStar(i(15024)),y=o.__importStar(i(7992)),_=o.__importStar(i(9544)),C=o.__importStar(i(22848)),b=o.__importStar(i(29743)),p=o.__importStar(i(58864)),f=o.__importStar(i(48044)),S=o.__importStar(i(19668)),v=o.__importStar(i(34388)),M=o.__importStar(i(91368)),E=o.__importStar(i(10716)),A=o.__importStar(i(90212)),k=o.__importStar(i(63792)),N=o.__importStar(i(29856)),F=o.__importStar(i(77440)),T=o.__importStar(i(56584)),P=o.__importStar(i(25856)),I=o.__importStar(i(80887)),j=["PageHeader"],L=["PageFooter"];function B(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",8),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).index,Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.MonatButtonClicked(bt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&qe){const De=et.$implicit,je=et.index,Ie=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Ie.GetMonatButtonColor(je)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(De)}}function $(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",7)(3,"tr")(4,"td",6)(5,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.AddUrlaub())}),e.\u0275\u0275text(6,"Neuen Urlaub eintragen"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(7,"td"),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",De.DB.CountResturlaub()<=0)}}function ee(qe,et){if(1&qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",33),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",32),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&qe){const De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==De.DB.CurrentZeitspanne&&null!==De.DB.CurrentZeitspanne.Endestempel?De.DB.CurrentZeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function le(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",34),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ie.CancelDatumClicked())}),e.\u0275\u0275element(2,"ion-icon",35),e.\u0275\u0275elementEnd()()}}function se(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"td",31)(1,"table",7)(2,"tr")(3,"td")(4,"div",32),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(6,ee,6,1,"ng-container",17)(7,le,3,0,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"tr"),e.\u0275\u0275elementEnd()()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==De.DB.CurrentZeitspanne&&null!==De.DB.CurrentZeitspanne.Startstempel?De.DB.CurrentZeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==De.DB.CurrentZeitspanne&&null!==De.DB.CurrentZeitspanne.Startstempel),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===De.AddUrlaubRunning)}}function K(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",48),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext().$implicit,bt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(bt.StellvertreterFestlegenClicked(Ie))}),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext().$implicit,je=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==De.VertreterID?je.GetStellvertretername(De):"Festlegen")}}function Q(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&qe){const De=e.\u0275\u0275nextContext().$implicit,je=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(null!==De.VertreterID?je.GetStellvertretername(De):"Festlegen")}}function re(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td",42),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275template(8,K,2,1,"ion-button",45)(9,Q,2,1,"span",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",6)(11,"div",46),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).$implicit,Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.StatusClickedHandler(bt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(12,"td",47),e.\u0275\u0275elementStart(13,"td")(14,"ion-button",48),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).$implicit,Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.UrlaubSuchen(bt))}),e.\u0275\u0275element(15,"ion-icon",49),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",50),e.\u0275\u0275listener("click",function(){const bt=e.\u0275\u0275restoreView(De).$implicit,Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.UrlaubLoeschen(bt))}),e.\u0275\u0275element(18,"ion-icon",51),e.\u0275\u0275elementEnd()()()}if(2&qe){const De=et.$implicit,je=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.GetDatumlangtext(De.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.GetDatumlangtext(De.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(De.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",De.Status===je.DB.Urlaubstatusvarianten.Geplant||De.Status===je.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",De.Status!==je.DB.Urlaubstatusvarianten.Geplant&&De.Status!==je.DB.Urlaubstatusvarianten.Vertreterablehnung),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===je.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",je.DB.GetStatuscolor(De.Status)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",De.Planungmeldung,e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===je.CheckLoschenEnabled(De))}}function X(qe,et){if(1&qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,re,19,11,"tr",10),e.\u0275\u0275elementContainerEnd()),2&qe){const De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",De.DB.CurrentUrlaub.Zeitspannen)}}function z(qe,et){1&qe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",52),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function Y(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr",6)(1,"td")(2,"table",36)(3,"tr")(4,"td",37),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",37),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",38),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",37),e.\u0275\u0275text(11,"Stellvertreter"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",37),e.\u0275\u0275text(13,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",39),e.\u0275\u0275text(15,"Statusmeldung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(16,"td",40)(17,"td",40),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(18,X,2,1,"ng-container",17)(19,z,3,0,"ng-container",17),e.\u0275\u0275elementStart(20,"tr")(21,"td",41),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",42),e.\u0275\u0275text(24),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(25,"td",43),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(26,"tr")(27,"td",44)(28,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(29,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",De.DB.CurrentUrlaub.Zeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===De.DB.CurrentUrlaub.Zeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(De.DB.CountResturlaub()),e.\u0275\u0275advance(4),e.\u0275\u0275property("disabled",!1===De.CheckUpdatesAvailable())}}function q(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",6)(2,"table",53)(3,"tr")(4,"td",42),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",De.DB.CountResturlaub()," Urlaubstage.")}}function de(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Ie){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(bt.AnsichtFeiertageCheckChanged(Ie,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",55),e.\u0275\u0275element(6,"ion-icon",58),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Ie){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(bt.AnsichtFerientageCheckChanged(Ie,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",55),e.\u0275\u0275element(14,"ion-icon",59),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&qe){const De=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",De.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",De.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Ferien_DE)}}function me(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",60),e.\u0275\u0275listener("CheckChanged",function(Ie){const bt=e.\u0275\u0275restoreView(De),Qe=bt.$implicit,Ut=bt.index,sn=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(sn.DisplayExternCheckChanged(Ie,Qe,Ut))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",61),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&qe){const De=et.$implicit,je=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",je.DB.CheckDisplayExternenUrlaub(De.MitarbeiterIDExtern))("Enabled",De.Zeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(De.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",De.NameExtern," ",De.Text,"")}}function Oe(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",13),e.\u0275\u0275template(1,de,17,6,"ng-container",17),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Ie){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.AnsichtFeiertageCheckChanged(Ie,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",55),e.\u0275\u0275element(8,"ion-icon",56),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",54),e.\u0275\u0275listener("CheckChanged",function(Ie){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.AnsichtFerientageCheckChanged(Ie,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",55),e.\u0275\u0275element(16,"ion-icon",57),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",55),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,me,8,5,"tr",10),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===De.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",De.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",De.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",De.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",De.DB.UrlaublisteExtern)}}function Re(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",62),e.\u0275\u0275elementEnd()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",De.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Ae(qe,et){if(1&qe&&(e.\u0275\u0275elementStart(0,"td",63),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(De.Message)}}function ge(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",64),e.\u0275\u0275listener("OkClickedEvent",function(Ie){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.AuswahlOkButtonClicked(Ie))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",De.Auswahlliste)("Auswahlindex",De.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",De.Auswahltitel)("Iconname","")}}function Ne(qe,et){if(1&qe){const De=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",65),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ie){e.\u0275\u0275restoreView(De);const bt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(bt.MitarbeiterauswahlOkButtonClicked(Ie))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(De);const Ie=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ie.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&qe){const De=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",De.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",De.AuswahlIDliste)}}h.CommonUrlaubPlanungPage=(()=>{class qe{Menuservice;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;Auswahlservice;Tools;Debug;PageHeader;PageFooter;Monateliste_Uebersicht;Monateliste_Mounseover;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;constructor(De,je,Ie,bt,Qe,Ut,sn,un,Sn,bn,kt){this.Menuservice=De,this.Basics=je,this.DBMitarbeitersettings=Ie,this.Pool=bt,this.DB=Qe,this.DBMitarbeiter=Ut,this.Const=sn,this.DBStandort=un,this.Auswahlservice=Sn,this.Tools=bn,this.Debug=kt;try{this.Monateliste_Uebersicht=[],this.Monateliste_Uebersicht.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Uebersicht.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_Mounseover=[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource=""}catch(jt){this.Debug.ShowErrorMessage(jt.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(De){var je=this;return n(function*(){try{let Ie,bt;switch((0,a.default)().locale("de"),je.Auswahldialogorigin){case je.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:je.DB.Bundeslandkuerzel=De;let Ut=je.DB.Bundeslandkuerzel.substring(0,2);je.DB.ReadFeiertage(Ut).then(()=>{je.ShowAuswahl=!1,je.PrepareData()});break;case je.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:null!==De&&De!==je.DB.CurrentZeitspanne.Status&&(Ie=d.find(je.DB.CurrentUrlaub.Zeitspannen,{ZeitspannenID:je.DB.CurrentZeitspanne.ZeitspannenID}),Ie.Status=De,Ie.Status===je.DB.Urlaubstatusvarianten.Geplant&&(Ie.VertreteranfrageSended=!1,Ie.VertreterantwortSended=!1,Ie.FreigabeanfrageSended=!1,Ie.FreigabeantwortSended=!1,Ie.FreigabeantwortOfficeSended=!1,Ie.Vertretunganfragezeitstempel=null,Ie.Vertretungantwortzeitstempel=null,Ie.Vertretungantwortzeitstempel=null,Ie.Freigabeantwortzeitstempel=null,Ie.FreigabeantwortOfficezeitstempel=null),bt=d.findIndex(je.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:je.DB.Jahr}),je.DB.CurrentMitarbeiter.Urlaubsliste[bt]=je.DB.CurrentUrlaub,yield je.DBMitarbeiter.UpdateMitarbeiterUrlaub(je.DB.CurrentMitarbeiter).then(()=>{je.ShowAuswahl=!1}));break;case je.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:je.DBStandort.CurrentStandortfilter=(0,u.cloneDeep)(De),je.Pool.Mitarbeitersettings.StandortFilter=null!==De?De._id:je.Const.NONE,je.DBMitarbeitersettings.UpdateMitarbeitersettings(je.Pool.Mitarbeitersettings,null).then(()=>{je.ShowAuswahl=!1,je.DBStandort.StandortfilterChanged.emit()});break;case je.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:Ie=d.find(je.DB.CurrentUrlaub.Zeitspannen,{ZeitspannenID:je.DB.CurrentZeitspanne.ZeitspannenID}),je.DB.CurrentZeitspanne.VertreterID=De,Ie.VertreterID=De,Ie.Status=je.DB.Urlaubstatusvarianten.Geplant,Ie.FreigabeantwortSended=!1,Ie.FreigabeanfrageSended=!1,Ie.VertreterantwortSended=!1,bt=d.findIndex(je.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:je.DB.Jahr}),je.DB.CurrentMitarbeiter.Urlaubsliste[bt]=je.DB.CurrentUrlaub,yield je.DBMitarbeiter.UpdateMitarbeiterUrlaub(je.DB.CurrentMitarbeiter).then(()=>{je.ShowAuswahl=!1})}}catch(Ie){je.Debug.ShowErrorMessage(Ie.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",je.Debug.Typen.Page)}})()}BundeslandClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland,this.Auswahltitel="Bundesland",this.Auswahlhoehe=600,this.Auswahlliste=this.BundeslandAuswahlliste,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.Bundeslandkuerzel}),this.ShowAuswahl=!0}catch(De){this.Debug.ShowErrorMessage(De.message,"Urlaubsplanung Page","FortschrittClickedHandler",this.Debug.Typen.Page)}}PrepareData(){var De=this;return n(function*(){try{let je=0;De.DB.Init(),De.DB.CheckSetup(),De.DB.SetPlanungsmonate(),De.DB.CountAnfragenanzahlen(),De.BundeslandAuswahlliste=[];for(let Ie of De.DB.Regionenliste)De.BundeslandAuswahlliste.push({Index:je,FirstColumn:Ie.Name,SecoundColumn:Ie.isoCode,Data:Ie.isoCode}),je++;De.DB.Bundesland=d.find(De.BundeslandAuswahlliste,{Data:De.DB.Bundeslandkuerzel}).FirstColumn}catch(je){De.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","PrepareData",De.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(De){try{this.Message=De.Name,""!==De.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===De.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(De){try{this.Message=De.Name,""!==De.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===De.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(De){return(0,a.default)(De).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(De,je){try{switch(je){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=De.status,this.DB.ShowFerientage_DE=De.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=De.status,this.DB.ShowFerientage_BG=De.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(De,je){try{switch(je){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=De.status,this.DB.ShowFeiertage_DE=De.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=De.status,this.DB.ShowFeiertage_BG=De.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(De){try{if(this.DB.CurrentMonatindex===De)return"orange"}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(De){try{this.DB.CurrentMonatindex=De,this.DB.SetPlanungsmonate()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentZeitspanne=null,this.AddUrlaubRunning=!0}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,null!==this.DB.CurrentZeitspanne){this.DB.CurrentUrlaub.Zeitspannen.push(this.DB.CurrentZeitspanne);let De=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[De]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(De){try{let je=d.filter(this.DB.CurrentUrlaub.Zeitspannen,bt=>bt.ZeitspannenID!==De.ZeitspannenID);this.DB.CurrentUrlaub=d.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr}),this.DB.CurrentUrlaub.Zeitspannen=je;let Ie=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Ie]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(De,je){try{switch(je){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=De.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=De.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=De.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=De.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(De){try{let je=(0,a.default)(De.Startstempel);this.DB.CurrentMonatindex=je.month(),this.DB.SetPlanungsmonate()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(De){try{return(0,a.default)(De).locale("de").format("DD. MMMM YYYY")}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(De){try{let je;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(je=d.find(this.Pool.Mitarbeiterliste,{_id:De[0]}),this.DB.CurrentMitarbeiter=je,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(je){this.Debug.ShowErrorMessage(je.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let De=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:De,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),De++;for(let je of this.Pool.Standorteliste)this.Auswahlliste.push({Index:De,FirstColumn:je.Kuerzel,SecoundColumn:je.Standort,Data:je}),De++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(De){this.Debug.ShowErrorMessage(De.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(De){try{let je,Ie;this.DB.CurrentZeitspanne=De,Ie=0,this.Auswahlliste=[];for(let bt of this.DB.CurrentUrlaub.Projektbeteiligteliste)je=d.find(this.Pool.Mitarbeiterliste,{_id:bt.MitarbeiterID}),d.isUndefined(je)||(this.Auswahlliste.push({Index:Ie,FirstColumn:je.Vorname+" "+je.Name,SecoundColumn:"",Data:je._id}),Ie++);this.Auswahltitel="Stellvertreter/in festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:De.VertreterID})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(De){try{let je=d.find(this.Pool.Mitarbeiterliste,{_id:De.VertreterID});return d.isUndefined(je)?"unbekannt":je.Vorname+" "+je.Name}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(De,je,Ie){try{let bt=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:je.MitarbeiterIDExtern});d.isUndefined(bt)||(bt.Display=De.status);let Qe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Qe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(bt){this.Debug.ShowErrorMessage(bt,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUpdatesAvailable(){try{let De=!1;if(null!==this.DB.CurrentUrlaub)for(let je of this.DB.CurrentUrlaub.Zeitspannen)je.Status===this.DB.Urlaubstatusvarianten.Geplant&&null!==je.VertreterID&&(De=!0);return De}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","CheckUpdatesAvailable",this.Debug.Typen.Page)}}CheckLoschenEnabled(De){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||De.Status===this.DB.Urlaubstatusvarianten.Geplant||De.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||De.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","CheckLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.DB.CurrentZeitspanne=null}catch(De){this.Debug.ShowErrorMessage(De,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(De){try{let je=0;this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentZeitspanne=De,this.Auswahlliste=[],this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:je++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:De.Status})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(je){return new(je||qe)(e.\u0275\u0275directiveInject(l.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.DatabasePoolService),e.\u0275\u0275directiveInject(_.DatabaseUrlaubService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.ConstProvider),e.\u0275\u0275directiveInject(p.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(S.ToolsProvider),e.\u0275\u0275directiveInject(v.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:qe,selectors:[["common-urlaub-planung-page"]],viewQuery:function(je,Ie){if(1&je&&(e.\u0275\u0275viewQuery(j,5),e.\u0275\u0275viewQuery(L,5)),2&je){let bt;e.\u0275\u0275queryRefresh(bt=e.\u0275\u0275loadQuery())&&(Ie.PageHeader=bt.first),e.\u0275\u0275queryRefresh(bt=e.\u0275\u0275loadQuery())&&(Ie.PageFooter=bt.first)}},decls:55,vars:29,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],["name","caret-back-outline",2,"font-size","20px"],[4,"ngFor","ngForOf"],["name","caret-forward-outline",2,"font-size","20px"],["align","center","valign","top"],[1,"paddingtable"],["valign","top",2,"width","500px"],[3,"Jahr","Monatindex","AddUrlaubRunning","AddUrlaubFinished","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddUrlaubFinished","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],["align","center","style","height: 100px;",4,"ngIf"],["align","center",4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","small",3,"disabled","click"],["align","center",2,"height","100px"],[1,"datumdivclass"],[2,"width","100px","text-align","center"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"width","30px"],["colspan","2",2,"text-align","right","font-weight","bold"],[2,"text-align","center"],["colspan","5"],["align","center","colspan","8"],["size","small","color","grau",3,"click",4,"ngIf"],[1,"legendedivclass",3,"click"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],["size","small","color","rot",3,"disabled","click"],["name","trash","slot","icon-only",2,"font-size","16px"],["colspan","8"],[1,"docinnertable",2,"width","480px"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(je,Ie){1&je&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ie.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Ie.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",9),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,B,3,3,"td",10),e.\u0275\u0275elementStart(17,"td")(18,"div",8),e.\u0275\u0275listener("click",function(){return Ie.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",11),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr")(21,"td",12)(22,"table",13)(23,"tr")(24,"td",14)(25,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return Ie.AddUrlaubFinishedHandler()})("FeiertagCrossedEvent",function(Qe){return Ie.FeiertagCrossedEventHandler(Qe)})("FerientagCrossedEvent",function(Qe){return Ie.FerientagCrossedEventHandler(Qe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(26,"td",14)(27,"urlaubsplanung-kalender",16),e.\u0275\u0275listener("AddUrlaubFinished",function(){return Ie.AddUrlaubFinishedHandler()})("FeiertagCrossedEvent",function(Qe){return Ie.FeiertagCrossedEventHandler(Qe)})("FerientagCrossedEvent",function(Qe){return Ie.FerientagCrossedEventHandler(Qe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(28,"td",14)(29,"urlaubsplanung-kalender",15),e.\u0275\u0275listener("AddUrlaubFinished",function(){return Ie.AddUrlaubFinishedHandler()})("FeiertagCrossedEvent",function(Qe){return Ie.FeiertagCrossedEventHandler(Qe)})("FerientagCrossedEvent",function(Qe){return Ie.FerientagCrossedEventHandler(Qe)}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(30,$,8,1,"tr",17),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275template(32,se,9,3,"td",18),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(33,Y,30,4,"tr",19)(34,q,6,1,"tr",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"div",20)(36,"table")(37,"tr")(38,"td")(39,"div",21),e.\u0275\u0275listener("click",function(){return Ie.LegendeVisible=!Ie.LegendeVisible}),e.\u0275\u0275element(40,"ion-icon",22),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(41,"td",23),e.\u0275\u0275template(42,Oe,56,20,"table",24),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(43,"ion-footer")(44,"page-footer",null,25)(46,"table",4)(47,"tr")(48,"td",26)(49,"table",13)(50,"tr"),e.\u0275\u0275template(51,Re,2,1,"td",17)(52,Ae,2,1,"td",27),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(53,ge,1,7,"auswahl-dialog",28)(54,Ne,1,6,"fi-mitarbeiter-auswahl",29)),2&je&&(e.\u0275\u0275advance(16),e.\u0275\u0275property("ngForOf",Ie.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Ie.DB.Jahr)("Monatindex",Ie.DB.FirstMonatIndex)("AddUrlaubRunning",Ie.AddUrlaubRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Ie.DB.Jahr)("ShowYear",!0)("Monatindex",Ie.DB.CurrentMonatindex)("AddUrlaubRunning",Ie.AddUrlaubRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Ie.DB.Jahr)("Monatindex",Ie.DB.LastMonatIndex)("AddUrlaubRunning",Ie.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===Ie.AddUrlaubRunning&&null!==Ie.DB.CurrentUrlaub),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",!0===Ie.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Ie.DB.CurrentUrlaub&&!1===Ie.AddUrlaubRunning&&Ie.DB.CurrentUrlaub.Zeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Ie.DB.CurrentUrlaub&&!1===Ie.AddUrlaubRunning&&0===Ie.DB.CurrentUrlaub.Zeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ie.Legendehoehe,"px")("width",Ie.Legendebreite,"px")("right",Ie.LegendeVisible?0:-(Ie.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Ie.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Ie.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Ie.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Ie.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Ie.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ie.ShowMitarbeiterauswahl))},dependencies:[M.NgForOf,M.NgIf,E.IonButton,E.IonContent,E.IonFooter,E.IonHeader,E.IonIcon,A.PageHeaderComponent,k.PageHeaderMenuComponent,N.PageFooterComponent,F.PjProjektpunktDateKWPickerComponent,T.AuswahlDialogComponent,P.CheckboxClonComponent,I.FiMitarbeiterAuswahlComponent],styles:[".datumdivclass[_ngcontent-%COMP%]{width:200px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:#307ac1;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;padding:4px}.datumcanceldivclass[_ngcontent-%COMP%]{width:60px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:red;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:auto}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:100px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return qe})()},19204:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubsuebersichtPageModule=void 0;const n=i(81316),o=i(91368),d=i(10716),a=i(44716),u=i(62364),e=i(70216),l=i(56568),c=i(6168),g=i(90520),y=i(6232),_=i(72284),C=i(10272),b=i(7388),p=i(27328),f=i(26668),S=n.__importStar(i(54496)),M=(n.__importStar(i(56568)),[{path:"",component:u.CommonUrlaubUebersichtPage}]);h.CommonUrlaubsuebersichtPageModule=(()=>{class A{static \u0275fac=function(F){return new(F||A)};static \u0275mod=S.\u0275\u0275defineNgModule({type:A});static \u0275inj=S.\u0275\u0275defineInjector({imports:[o.CommonModule,a.FormsModule,d.IonicModule,e.PageHeaderModule,l.RouterModule.forChild(M),c.PageHeaderMenuModule,g.PageFooterModule,y.UrlausplanungKalenderModule,_.ButtonValueModule,C.AuswahlDialogModule,b.CheckboxClonModule,p.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return A})()},62364:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.CommonUrlaubUebersichtPage=void 0;const o=i(81316),d=o.__importStar(i(17964)),a=o.__importDefault(i(35908)),u=i(17964),e=o.__importStar(i(54496)),l=o.__importStar(i(59460)),c=o.__importStar(i(14652)),g=o.__importStar(i(7992)),y=o.__importStar(i(9544)),_=o.__importStar(i(29743)),C=o.__importStar(i(22848)),b=o.__importStar(i(15024)),p=o.__importStar(i(58864)),f=o.__importStar(i(48044)),S=o.__importStar(i(34388)),v=o.__importStar(i(91368)),M=o.__importStar(i(10716)),E=o.__importStar(i(90212)),A=o.__importStar(i(63792)),k=o.__importStar(i(29856)),N=o.__importStar(i(77440)),F=o.__importStar(i(56584)),T=o.__importStar(i(25856)),P=o.__importStar(i(80887)),I=["PageHeader"],j=["PageFooter"];function L(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(it.FeiertagCrossedEventHandler(Ne))})("FerientagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(it.FerientagCrossedEventHandler(Ne))}),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.index,ge=e.\u0275\u0275nextContext().index,Ne=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Ne.DB.Jahr)("Monatindex",6*ge+Ae)}}function B(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,L,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&Oe){const Ae=Re.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Ae)}}function $(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,B,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Ae.Monateliste_Gesamtjahr)}}function ee(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FeiertagCrossedEventHandler(Ne))})("FerientagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FerientagCrossedEventHandler(Ne))}),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.index,ge=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",ge.DB.Jahr)("Monatindex",Ae)}}function le(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,ee,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Ae.Monateliste_HalbjahrEins)}}function se(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FeiertagCrossedEventHandler(Ne))})("FerientagCrossedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.FerientagCrossedEventHandler(Ne))}),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.index,ge=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",ge.DB.Jahr)("Monatindex",Ae+6)}}function K(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,se,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Ae.Monateliste_HalbjahrZwei)}}function Q(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.AnsichtFeiertageCheckChanged(Ne,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",28),e.\u0275\u0275element(6,"ion-icon",31),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Feiertage Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(it.AnsichtFerientageCheckChanged(Ne,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",28),e.\u0275\u0275element(14,"ion-icon",32),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",Ae.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Ae.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Ferien_DE)}}function re(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(Ne){const it=e.\u0275\u0275restoreView(Ae),qe=it.$implicit,et=it.index,De=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(De.DisplayExternCheckChanged(Ne,qe,et))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",34),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&Oe){const Ae=Re.$implicit,ge=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",ge.DB.CheckDisplayExternenUrlaub(Ae.MitarbeiterIDExtern))("Enabled",Ae.Zeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Ae.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Ae.NameExtern," ",Ae.Text,"")}}function X(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,Q,17,6,"ng-container",9),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.AnsichtFeiertageCheckChanged(Ne,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",28),e.\u0275\u0275element(8,"ion-icon",29),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10,"Feiertage Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.AnsichtFerientageCheckChanged(Ne,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",28),e.\u0275\u0275element(16,"ion-icon",30),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"td"),e.\u0275\u0275text(18,"Schulferien Bulgarien"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd(),e.\u0275\u0275elementStart(19,"tr"),e.\u0275\u0275element(20,"td"),e.\u0275\u0275elementStart(21,"td"),e.\u0275\u0275element(22,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td"),e.\u0275\u0275text(24,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(25,"tr"),e.\u0275\u0275element(26,"td"),e.\u0275\u0275elementStart(27,"td"),e.\u0275\u0275element(28,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(29,"td"),e.\u0275\u0275text(30,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"tr"),e.\u0275\u0275element(32,"td"),e.\u0275\u0275elementStart(33,"td"),e.\u0275\u0275element(34,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(41,"td"),e.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(43,"tr"),e.\u0275\u0275element(44,"td"),e.\u0275\u0275elementStart(45,"td"),e.\u0275\u0275element(46,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(47,"td"),e.\u0275\u0275text(48,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(49,"tr"),e.\u0275\u0275element(50,"td"),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275element(52,"div",28),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,re,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===Ae.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Ae.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Ae.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Ae.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Ae.DB.UrlaublisteExtern)}}function z(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",Ae.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Y(Oe,Re){if(1&Oe&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Ae.Message)}}function q(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.AuswahlOkButtonClicked(Ne))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Ae);const Ne=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ne.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Ae.Auswahlliste)("Auswahlindex",Ae.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Ae.Auswahltitel)("Iconname","")}}function de(Oe,Re){if(1&Oe){const Ae=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Ae);const Ne=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ne.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ne){e.\u0275\u0275restoreView(Ae);const it=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(it.MitarbeiterauswahlOkButtonClicked(Ne))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Ae);const Ne=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ne.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Oe){const Ae=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Ae.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Ae.AuswahlIDliste)}}h.CommonUrlaubUebersichtPage=(()=>{class Oe{Menuservice;Basics;Pool;DB;Const;DBMitarbeiter;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Monateliste_Gesamtjahr;Auswahlliste;BundeslandAuswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Ansichtvariante;Message;ShowMitarbeitereditor;AddUrlaubRunning;Auswahldialogorigin;DataSubscription;AuswahlIDliste;MitarbeiterauswahlTitel;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Monateliste_HalbjahrEins;Monateliste_HalbjahrZwei;constructor(Ae,ge,Ne,it,qe,et,De,je,Ie,bt){this.Menuservice=Ae,this.Basics=ge,this.Pool=Ne,this.DB=it,this.Const=qe,this.DBMitarbeiter=et,this.DBMitarbeitersettings=De,this.DBStandort=je,this.Auswahlservice=Ie,this.Debug=bt;try{this.Monateliste_Gesamtjahr=[],this.Monateliste_Gesamtjahr.push(["Januar","Februar","M\xe4rz","April","Mai","Juni"]),this.Monateliste_Gesamtjahr.push(["Juli","August","September","Oktober","November","Dezember"]),this.Monateliste_HalbjahrEins=["Januar","Februar","M\xe4rz","April","Mai","Juni"],this.Monateliste_HalbjahrZwei=["Juli","August","September","Oktober","November","Dezember"],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.DataSubscription=null,this.Message="",this.ShowMitarbeitereditor=!1,this.Auswahldialogorigin=this.Const.NONE,this.AddUrlaubRunning=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(Qe){this.Debug.ShowErrorMessage(Qe.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,a.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe+20,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Ae){try{let ge;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(ge=d.find(this.Pool.Mitarbeiterliste,{_id:Ae[0]}),this.DB.CurrentMitarbeiter=ge,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Ae){var ge=this;return n(function*(){try{switch(ge.Auswahldialogorigin){case ge.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:ge.DB.Bundeslandkuerzel=Ae;let Ne=ge.DB.Bundeslandkuerzel.substring(0,2);ge.DB.ReadFeiertage(Ne);break;case ge.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:ge.DBStandort.CurrentStandortfilter=(0,u.cloneDeep)(Ae),ge.Pool.Mitarbeitersettings.StandortFilter=null!==Ae?Ae._id:ge.Const.NONE,ge.DBMitarbeitersettings.UpdateMitarbeitersettings(ge.Pool.Mitarbeitersettings,null).then(()=>{ge.ShowAuswahl=!1,ge.DBStandort.StandortfilterChanged.emit()})}ge.ShowAuswahl=!1,ge.PrepareData()}catch(Ne){ge.Debug.ShowErrorMessage(Ne.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",ge.Debug.Typen.Page)}})()}PrepareData(){var Ae=this;return n(function*(){try{let ge=0;Ae.DB.Init(),Ae.DB.CheckSetup(),Ae.DB.SetPlanungsmonate(),Ae.DB.CountAnfragenanzahlen(),Ae.BundeslandAuswahlliste=[];for(let Ne of Ae.DB.Regionenliste)Ae.BundeslandAuswahlliste.push({Index:ge,FirstColumn:Ne.Name,SecoundColumn:Ne.isoCode,Data:Ne.isoCode}),ge++;Ae.DB.Bundesland=d.find(Ae.BundeslandAuswahlliste,{Data:Ae.DB.Bundeslandkuerzel}).FirstColumn}catch(ge){Ae.Debug.ShowErrorMessage(ge,"Urlaubsuebersicht Page","PrepareData",Ae.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(Ae){try{this.Message=Ae.Name,""!==Ae.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Ae.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(ge){this.Debug.ShowErrorMessage(ge,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(Ae){try{this.Message=Ae.Name,""!==Ae.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Ae.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(ge){this.Debug.ShowErrorMessage(ge,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(Ae){return(0,a.default)(Ae).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let Ae=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Ae,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Ae++;for(let ge of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Ae,FirstColumn:ge.Kuerzel,SecoundColumn:ge.Standort,Data:ge}),Ae++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?d.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(Ae,ge,Ne){try{let it=d.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:ge.MitarbeiterIDExtern});d.isUndefined(it)||(it.Display=Ae.status);let qe=d.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.Jahr});this.DB.CurrentMitarbeiter.Urlaubsliste[qe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(it){this.Debug.ShowErrorMessage(it,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(Ae,ge){try{switch(ge){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=Ae.status,this.DB.ShowFeiertage_DE=Ae.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=Ae.status,this.DB.ShowFeiertage_BG=Ae.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ne){this.Debug.ShowErrorMessage(Ne,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(Ae,ge){try{switch(ge){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=Ae.status,this.DB.ShowFerientage_DE=Ae.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=Ae.status,this.DB.ShowFerientage_BG=Ae.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Ne){this.Debug.ShowErrorMessage(Ne,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}static \u0275fac=function(ge){return new(ge||Oe)(e.\u0275\u0275directiveInject(l.MenueService),e.\u0275\u0275directiveInject(c.BasicsProvider),e.\u0275\u0275directiveInject(g.DatabasePoolService),e.\u0275\u0275directiveInject(y.DatabaseUrlaubService),e.\u0275\u0275directiveInject(_.ConstProvider),e.\u0275\u0275directiveInject(C.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(b.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(p.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(S.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Oe,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(ge,Ne){if(1&ge&&(e.\u0275\u0275viewQuery(I,5),e.\u0275\u0275viewQuery(j,5)),2&ge){let it;e.\u0275\u0275queryRefresh(it=e.\u0275\u0275loadQuery())&&(Ne.PageHeader=it.first),e.\u0275\u0275queryRefresh(it=e.\u0275\u0275loadQuery())&&(Ne.PageFooter=it.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked"],[1,"contentdivclass"],[2,"width","100%"],[2,"height","20px"],["align","center"],[1,"paddingsmalltable"],[1,"monatedivclass",3,"click"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["PageFooter",""],["align","left"],[1,"paddingtable"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],[1,"paddingsmalltable",2,"width","100%"],[4,"ngFor","ngForOf"],[2,"width","20px"],["style","width: 16%; height: inherit","valign","top",4,"ngFor","ngForOf"],["valign","top",2,"width","16%","height","inherit"],[3,"Jahr","Monatindex","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Checked","CheckChanged"],[1,"legendedivclass"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"],["Iconname","people-outline",3,"Titel","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(ge,Ne){1&ge&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ne.MitarbeiterWechselnClicked()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"table",4)(7,"tr"),e.\u0275\u0275element(8,"td",5),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"tr")(10,"td",6)(11,"table",7)(12,"tr")(13,"td")(14,"div",8),e.\u0275\u0275listener("click",function(){return Ne.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return Ne.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return Ne.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,$,3,1,"ng-container",9)(23,le,6,1,"ng-container",9)(24,K,6,1,"ng-container",9),e.\u0275\u0275elementStart(25,"div",10)(26,"table")(27,"tr")(28,"td")(29,"div",11),e.\u0275\u0275listener("click",function(){return Ne.LegendeVisible=!Ne.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,X,56,20,"table",14),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(33,"ion-footer")(34,"page-footer",null,15)(36,"table",4)(37,"tr")(38,"td",16)(39,"table",17)(40,"tr"),e.\u0275\u0275template(41,z,2,1,"td",9)(42,Y,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,q,1,7,"auswahl-dialog",19)(44,de,1,6,"fi-mitarbeiter-auswahl",20)),2&ge&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",Ne.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",Ne.DB.Jahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",Ne.DB.Jahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.Ansichtvariante===Ne.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Ne.Legendehoehe,"px")("width",Ne.Legendebreite,"px")("right",Ne.LegendeVisible?0:-(Ne.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",Ne.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Ne.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==Ne.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==Ne.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Ne.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ne.ShowMitarbeiterauswahl))},dependencies:[v.NgForOf,v.NgIf,M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,E.PageHeaderComponent,A.PageHeaderMenuComponent,k.PageFooterComponent,N.PjProjektpunktDateKWPickerComponent,F.AuswahlDialogComponent,T.CheckboxClonComponent,P.FiMitarbeiterAuswahlComponent],styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;height:100%;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;height:1000px;background:silver;right:0;top:0;z-index:20;overflow:visible}.legendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:30px;border:1px solid #444444;height:20px;display:flex;justify-content:center;align-items:center}.legendeexterndivclass[_ngcontent-%COMP%]{width:30px;border:1px solid red;height:20px;font-size:80%;display:flex;justify-content:center;align-items:center}.legenderounddivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:10px;border:1px solid #444444;height:10px;border-radius:50%;cursor:pointer}.monatedivclass[_ngcontent-%COMP%]{height:30px;width:200px;display:flex;justify-content:center;align-items:center;font-weight:700;border-radius:4px;border:1px solid #444444;cursor:pointer;color:#000;background:#fff}.monatedivclass[_ngcontent-%COMP%]:hover{color:#fff;background:#307ac1}"]})}return Oe})()},99988:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FIMitarbeiterlistePageModule=void 0;const n=i(81316),o=i(91368),d=i(44716),a=i(56568),u=i(10716),e=i(54780),l=i(70216),c=i(6512),g=i(87143),y=i(90520),_=i(6168),C=i(27328),b=i(10272),p=i(7388),f=n.__importStar(i(54496)),v=(n.__importStar(i(56568)),[{path:"",component:e.FiMitarbeiterlistePage}]);h.FIMitarbeiterlistePageModule=(()=>{class E{static \u0275fac=function(N){return new(N||E)};static \u0275mod=f.\u0275\u0275defineNgModule({type:E});static \u0275inj=f.\u0275\u0275defineInjector({imports:[o.CommonModule,d.FormsModule,d.ReactiveFormsModule,u.IonicModule,a.RouterModule.forChild(v),l.PageHeaderModule,y.PageFooterModule,c.AbstandElementFixedModule,g.AlphabetModule,_.PageHeaderMenuModule,C.FiMitarbeiterEditorModule,b.AuswahlDialogModule,p.CheckboxClonModule]})}return E})()},54780:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiMitarbeiterlistePage=void 0;const n=i(81316),o=n.__importStar(i(17964)),d=n.__importStar(i(54496)),a=n.__importStar(i(14652)),u=n.__importStar(i(34388)),e=n.__importStar(i(19668)),l=n.__importStar(i(29743)),c=n.__importStar(i(22848)),g=n.__importStar(i(58864)),y=n.__importStar(i(48044)),_=n.__importStar(i(7992)),C=n.__importStar(i(91368)),b=n.__importStar(i(10716)),p=n.__importStar(i(90212)),f=n.__importStar(i(29856)),S=n.__importStar(i(99031)),v=n.__importStar(i(63792)),M=n.__importStar(i(82384)),E=n.__importStar(i(56584)),A=n.__importStar(i(25856)),k=["Alphabet"],N=["PageHeader"],F=["PageFooter"];function T(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",20)(2,"ion-text",31)(3,"b"),d.\u0275\u0275text(4),d.\u0275\u0275elementEnd()()()()),2&re){const z=d.\u0275\u0275nextContext().index,Y=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate(Y.Mitarbeiterbuchstabenliste[z])}}function P(re,X){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function I(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,P,2,0,"td",8),d.\u0275\u0275elementStart(4,"td"),d.\u0275\u0275text(5),d.\u0275\u0275elementEnd()()),2&re){const z=d.\u0275\u0275nextContext(2).$implicit,Y=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",z.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",z.Email===Y.Pool.Mitarbeiterdaten.Email&&""===z.Kuerzel||""===z.StandortID),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate3(" ",z.Name," ",z.Vorname," / ",z.Kuerzel," ")}}function j(re,X){1&re&&(d.\u0275\u0275elementStart(0,"td"),d.\u0275\u0275element(1,"img",34),d.\u0275\u0275elementEnd())}function L(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"tr")(1,"td"),d.\u0275\u0275element(2,"div",33),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(3,j,2,0,"td",8),d.\u0275\u0275elementStart(4,"td")(5,"span"),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"span",35),d.\u0275\u0275text(8),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(9,"span"),d.\u0275\u0275text(10),d.\u0275\u0275elementEnd(),d.\u0275\u0275text(11),d.\u0275\u0275elementEnd()()),2&re){const z=d.\u0275\u0275nextContext(2).$implicit,Y=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275styleProp("background",z.Archiviert?"red":"green"),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",z.Email===Y.Pool.Mitarbeiterdaten.Email&&""===z.Kuerzel||""===z.StandortID),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(z.Text_A),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(z.Text_B),d.\u0275\u0275advance(2),d.\u0275\u0275textInterpolate(z.Text_C),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" / ",z.Kuerzel," ")}}function B(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"table",32),d.\u0275\u0275template(1,I,6,6,"tr",8)(2,L,12,7,"tr",8),d.\u0275\u0275elementEnd()),2&re){const z=d.\u0275\u0275nextContext().$implicit;d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!z.Filtered),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",z.Filtered)}}function $(re,X){if(1&re){const z=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"ion-item",18),d.\u0275\u0275listener("click",function(){const de=d.\u0275\u0275restoreView(z).$implicit,me=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(me.MitrabeiterButtonClicked(de))}),d.\u0275\u0275elementStart(1,"ion-grid",19),d.\u0275\u0275template(2,T,5,1,"ion-row",8),d.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",20)(5,"div",21)(6,"table",22)(7,"tr")(8,"td"),d.\u0275\u0275template(9,B,3,2,"table",23),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",24)(13,"tr"),d.\u0275\u0275element(14,"td",25),d.\u0275\u0275elementStart(15,"td",26),d.\u0275\u0275text(16,"Stadort:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(17,"td",27),d.\u0275\u0275text(18),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(19,"td",28),d.\u0275\u0275elementStart(20,"td",29),d.\u0275\u0275text(21,"Email:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(22,"td",30),d.\u0275\u0275text(23),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(24,"td",28),d.\u0275\u0275elementStart(25,"td",26),d.\u0275\u0275text(26,"Fachbereich:"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(27,"td",27),d.\u0275\u0275text(28),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(29,"td",28),d.\u0275\u0275elementEnd()()()()()()()()()()}if(2&re){const z=X.$implicit,Y=X.index,q=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",""!==q.Mitarbeiterbuchstabenliste[Y]),d.\u0275\u0275advance(7),d.\u0275\u0275property("ngIf",null!==z&&null!==q.Pool.Mitarbeiterdaten),d.\u0275\u0275advance(9),d.\u0275\u0275textInterpolate(q.DBStandort.GetStandort(z.StandortID)),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(z.Email),d.\u0275\u0275advance(5),d.\u0275\u0275textInterpolate(z.Fachbereich)}}function ee(re,X){if(1&re&&(d.\u0275\u0275elementStart(0,"ion-list"),d.\u0275\u0275template(1,$,30,5,"ion-item",17),d.\u0275\u0275elementEnd()),2&re){const z=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngForOf",z.Mitarbeiterliste)}}function le(re,X){1&re&&(d.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),d.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),d.\u0275\u0275elementEnd()()())}function se(re,X){if(1&re){const z=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",38),d.\u0275\u0275listener("StandortClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.StandortClickedHandler())})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.ShowEditor=!1)})("OkClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.ShowEditor=!1)})("AnredeClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.AnredeClickedEventHandler())})("UrlaubClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.UrlaubClickedEventHandler())})("FachbereichClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.FachbereichClickedHandler())}),d.\u0275\u0275elementEnd()}if(2&re){const z=d.\u0275\u0275nextContext();d.\u0275\u0275property("Dialogbreite",600)("Titel",z.GetDialogTitel())}}function K(re,X){if(1&re){const z=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"auswahl-dialog",39),d.\u0275\u0275listener("OkClickedEvent",function(q){d.\u0275\u0275restoreView(z);const de=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(de.AuswahlOkButtonClicked(q))})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(z);const q=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(q.ShowAuswahl=!1)}),d.\u0275\u0275elementEnd()}if(2&re){const z=d.\u0275\u0275nextContext();d.\u0275\u0275property("Auswahlliste",z.Auswahlliste)("Auswahlindex",z.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",z.Auswahltitel)("Iconname",z.GetDialogTitelicon())}}h.FiMitarbeiterlistePage=(()=>{class re{Basics;Debug;Tools;Const;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Inputtimer;Listenbreite;ShowEditor;EditorValid;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;constructor(z,Y,q,de,me,Oe,Re,Ae){this.Basics=z,this.Debug=Y,this.Tools=q,this.Const=de,this.DB=me,this.DBStandort=Oe,this.Auswahlservice=Re,this.Pool=Ae;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Mitarbeiteralphabet=[],this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterliste=[],this.Alphapetbreite=44,this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Mitarbeiteralphabet=this.Standardalphabet,this.Mitarbeiterbuchstabenliste=[],this.Mitarbeiterfiltertext="",this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.StandortfilterSubsciption=null,this.ShowMeOnly=!1,this.ShowArchivierte=!1,this.ShowAktuelle=!0}catch(ge){this.Debug.ShowErrorMessage(ge.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null),null!==this.StandortfilterSubsciption&&(this.StandortfilterSubsciption.unsubscribe(),this.StandortfilterSubsciption=null)}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let z=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-z-4,this.Alphabetcomponent.InitScreen()}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(z){try{this.DB.CurrentMitarbeiter=o.cloneDeep(z),this.ShowEditor=!0}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(z){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=z,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(z){try{let Y=z.Name.substring(0,1).toUpperCase();return Y!==this.Lastletter?(this.Lastletter=Y,Y):""}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let z,Y,q,de,me,Oe,Re,Ae,ge,Ne,it,qe;if(null!==this.Pool.Mitarbeiterliste){if(de=o.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",de.sort((et,De)=>et.Name>De.Name?-1:et.Nameet.Archiviert):this.ShowAktuelle?z=o.filter(z,et=>!et.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(z=[])),null!==this.DBStandort.CurrentStandortfilter&&(z=o.filter(z,et=>et.StandortID===this.DBStandort.CurrentStandortfilter._id)),z.sort((et,De)=>et.NameDe.Name?1:0),z.length>6){this.Mitarbeiteralphabet=["Alle"];for(let et of z)q=et.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(q)&&this.Mitarbeiteralphabet.push(q)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){Y=o.cloneDeep(z),z=[];for(let et of Y)q=et.Name.substring(0,1).toUpperCase(),q="\xc4"===q?"A":q,q="\xd6"===q?"O":q,q="\xdc"===q?"U":q,this.Mitarbeiteralphabetauswahl===q&&z.push(et)}if(""!==this.Mitarbeiterfiltertext){Y=o.cloneDeep(z),z=[];for(let et of Y)it=this.Mitarbeiterfiltertext.toLowerCase(),qe=et.Name.toLowerCase(),Ne=qe.indexOf(it),-1!==Ne&&(me=et.Name.length,ge=it.length,Oe=et.Name.substr(0,Ne),Re=et.Name.substr(Ne,ge),ge=me-ge-Ne,Ae=et.Name.substr(me-ge,ge),et.Filtered=!0,et.Text_A=Oe,et.Text_B=Re,et.Text_C=Ae,z.push(et))}this.Mitarbeiterbuchstabenliste=[];for(let et of z)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(et));this.Mitarbeiterliste=o.cloneDeep(z)}}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(z){try{this.EditorValid=z}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let z=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let Y of this.Pool.Standorteliste)this.Auswahlliste.push({Index:z,FirstColumn:Y.Kuerzel,SecoundColumn:Y.Ort,Data:Y}),z++;this.Auswahlindex=o.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(z){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=z;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=z;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=z._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich:this.DB.CurrentMitarbeiter.Fachbereich=z;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=z,this.Pool.Mitarbeitersettings.StandortFilter=null!==z?z._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(Y=>{this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}}FachbereichClickedHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Fachbereich festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Fachbereich,this.Auswahlliste.push({Index:0,FirstColumn:this.Pool.Fachbereich.Unbekannt.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Unbekannt.Kuerzel,Data:this.Pool.Fachbereich.Unbekannt.Key}),this.Auswahlliste.push({Index:1,FirstColumn:this.Pool.Fachbereich.Elektrotechnik.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.Elektrotechnik.Kuerzel,Data:this.Pool.Fachbereich.Elektrotechnik.Key}),this.Auswahlliste.push({Index:2,FirstColumn:this.Pool.Fachbereich.HLS.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLS.Kuerzel,Data:this.Pool.Fachbereich.HLS.Key}),this.Auswahlliste.push({Index:3,FirstColumn:this.Pool.Fachbereich.HLSE.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.HLSE.Kuerzel,Data:this.Pool.Fachbereich.HLSE.Key}),this.Auswahlliste.push({Index:4,FirstColumn:this.Pool.Fachbereich.H.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.H.Kuerzel,Data:this.Pool.Fachbereich.H.Key}),this.Auswahlliste.push({Index:5,FirstColumn:this.Pool.Fachbereich.L.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.L.Kuerzel,Data:this.Pool.Fachbereich.L.Key}),this.Auswahlliste.push({Index:6,FirstColumn:this.Pool.Fachbereich.S.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.S.Kuerzel,Data:this.Pool.Fachbereich.S.Key}),this.Auswahlliste.push({Index:7,FirstColumn:this.Pool.Fachbereich.K.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.K.Kuerzel,Data:this.Pool.Fachbereich.K.Key}),this.Auswahlliste.push({Index:8,FirstColumn:this.Pool.Fachbereich.MSR.Bezeichnung,SecoundColumn:this.Pool.Fachbereich.MSR.Kuerzel,Data:this.Pool.Fachbereich.MSR.Key}),this.Auswahlindex=o.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Fachbereich}),-1===this.Auswahlindex&&(this.Auswahlindex=0)}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}GetDialogTitelicon(){try{if(!this.DB.CurrentMitarbeiter&&!this.Pool.Mitarbeiterdaten)return"help-outline";switch(this.Auswahltitel){case"Standort festlegen":case"Standortfilter festlegen":return"location-outline";case"Fachbereich festlegen":return"hammer-outline";default:return"help-outline"}}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(z){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=z,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let z=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:z,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),z++;for(let Y of this.Pool.Standorteliste)this.Auswahlliste.push({Index:z,FirstColumn:Y.Kuerzel,SecoundColumn:Y.Ort,Data:Y}),z++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=o.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(z){this.Debug.ShowErrorMessage(z.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(z){try{this.ShowMeOnly=z.status,!0===this.ShowMeOnly&&(this.DBStandort.CurrentStandortfilter=null,this.Pool.Mitarbeitersettings.StandortFilter=this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()})),this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(z){try{this.ShowArchivierte=z.status,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","ShowArchivierteChanged",this.Debug.Typen.Page)}}AnredeClickedEventHandler(){try{this.ShowAuswahl=!0,this.Auswahltitel="Anrede festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede,this.Auswahlliste.push({Index:0,FirstColumn:"Unbekannt",SecoundColumn:"",Data:this.Const.NONE}),this.Auswahlliste.push({Index:1,FirstColumn:"Frau",SecoundColumn:"",Data:"Frau"}),this.Auswahlliste.push({Index:2,FirstColumn:"Herr",SecoundColumn:"",Data:"Herr"}),this.Auswahlindex=o.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(z){this.Debug.ShowErrorMessage(z,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub,this.Auswahlliste.push({Index:0,FirstColumn:"20",SecoundColumn:"",Data:20}),this.Auswahlliste.push({Index:1,FirstColumn:"21",SecoundColumn:"",Data:21}),this.Auswahlliste.push({Index:2,FirstColumn:"22",SecoundColumn:"",Data:22}),this.Auswahlliste.push({Index:3,FirstColumn:"23",SecoundColumn:"",Data:23}),this.Auswahlliste.push({Index:4,FirstColumn:"24",SecoundColumn:"",Data:24}),this.Auswahlliste.push({Index:5,FirstColumn:"25",SecoundColumn:"",Data:25}),this.Auswahlliste.push({Index:6,FirstColumn:"26",SecoundColumn:"",Data:26}),this.Auswahlliste.push({Index:7,FirstColumn:"27",SecoundColumn:"",Data:27}),this.Auswahlliste.push({Index:8,FirstColumn:"28",SecoundColumn:"",Data:28}),this.Auswahlliste.push({Index:9,FirstColumn:"29",SecoundColumn:"",Data:29}),this.Auswahlliste.push({Index:10,FirstColumn:"30",SecoundColumn:"",Data:30}),this.Auswahlliste.push({Index:11,FirstColumn:"31",SecoundColumn:"",Data:31}),this.Auswahlliste.push({Index:12,FirstColumn:"32",SecoundColumn:"",Data:32}),this.Auswahlliste.push({Index:13,FirstColumn:"33",SecoundColumn:"",Data:33}),this.Auswahlliste.push({Index:14,FirstColumn:"34",SecoundColumn:"",Data:34}),this.Auswahlliste.push({Index:15,FirstColumn:"35",SecoundColumn:"",Data:35}),this.Auswahlliste.push({Index:16,FirstColumn:"36",SecoundColumn:"",Data:36}),this.Auswahlindex=o.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(z){this.Debug.ShowErrorMessage(z,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(z){try{this.ShowAktuelle=z.status,this.PrepareDaten()}catch(Y){this.Debug.ShowErrorMessage(Y,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}static \u0275fac=function(Y){return new(Y||re)(d.\u0275\u0275directiveInject(a.BasicsProvider),d.\u0275\u0275directiveInject(u.DebugProvider),d.\u0275\u0275directiveInject(e.ToolsProvider),d.\u0275\u0275directiveInject(l.ConstProvider),d.\u0275\u0275directiveInject(c.DatabaseMitarbeiterService),d.\u0275\u0275directiveInject(g.DatabaseStandorteService),d.\u0275\u0275directiveInject(y.AuswahlDialogService),d.\u0275\u0275directiveInject(_.DatabasePoolService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:re,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(Y,q){if(1&Y&&(d.\u0275\u0275viewQuery(k,5),d.\u0275\u0275viewQuery(N,5),d.\u0275\u0275viewQuery(F,5)),2&Y){let de;d.\u0275\u0275queryRefresh(de=d.\u0275\u0275loadQuery())&&(q.Alphabetcomponent=de.first),d.\u0275\u0275queryRefresh(de=d.\u0275\u0275loadQuery())&&(q.PageHeader=de.first),d.\u0275\u0275queryRefresh(de=d.\u0275\u0275loadQuery())&&(q.PageFooter=de.first)}},decls:34,vars:16,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],["no-shadow","","no-border",""],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["size","12"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0",4,"ngIf"],[1,"infotable",2,"white-space","nowrap"],[2,"width","24px"],[1,"ergonametextclass",2,"width","80px"],[2,"width","100px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],[2,"width","200px"],["color","orange"],["cellspacing","0","cellpadding","0"],[2,"height","20px","width","20px","border-radius","4px"],["src","/assets/svgs/alert.svg",2,"height","26px"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","AnredeClickedEvent","UrlaubClickedEvent","FachbereichClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(Y,q){if(1&Y&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),d.\u0275\u0275listener("SucheChanged",function(me){return q.SucheChanged(me)})("StandortfilterClicked",function(){return q.StandortFilterClickedHandler()}),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(4,"table",3)(5,"tr")(6,"td")(7,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(me){return q.ShowMeCheckedChanged(me)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(8,"td",5),d.\u0275\u0275text(9,"Nur meinen Eintrag anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(10,"td",6),d.\u0275\u0275elementStart(11,"td")(12,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(me){return q.ShowAktuelleChanged(me)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(13,"td",5),d.\u0275\u0275text(14,"Aktuelle Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(15,"td",6),d.\u0275\u0275elementStart(16,"td")(17,"checkbox-clon",4),d.\u0275\u0275listener("CheckChanged",function(me){return q.ShowArchivierteChanged(me)}),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(18,"td",5),d.\u0275\u0275text(19,"Archivierte Eintr\xe4ge anzeigen"),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(20,"ion-content",7),d.\u0275\u0275template(21,ee,2,1,"ion-list",8)(22,le,4,0,"table",9),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(23,"ion-footer")(24,"page-footer",null,10)(26,"table",11)(27,"tr")(28,"td",12),d.\u0275\u0275text(29),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275template(30,se,1,2,"fi-mitarbeiter-editor",13)(31,K,1,6,"auswahl-dialog",14),d.\u0275\u0275elementStart(32,"alphabet",15,16),d.\u0275\u0275listener("AlphabetClicked",function(me){return q.AlphabetClicked(me)}),d.\u0275\u0275elementEnd()),2&Y){const de=d.\u0275\u0275reference(2),me=d.\u0275\u0275reference(25);d.\u0275\u0275advance(3),d.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),d.\u0275\u0275advance(4),d.\u0275\u0275property("Checked",q.ShowMeOnly),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",q.ShowAktuelle),d.\u0275\u0275advance(5),d.\u0275\u0275property("Checked",q.ShowArchivierte),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",q.Mitarbeiterliste&&q.Mitarbeiterliste.length>0),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",0===q.Mitarbeiterliste.length),d.\u0275\u0275advance(7),d.\u0275\u0275textInterpolate1(" ",q.Mitarbeiterliste.length," Eintr\xe4ge "),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",q.ShowEditor),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",q.ShowAuswahl),d.\u0275\u0275advance(),d.\u0275\u0275property("PageHeader",de)("PageFooter",me)("Breite",q.Alphapetbreite)("Buchstabenliste",q.Mitarbeiteralphabet)("Auswahl",q.Mitarbeiteralphabetauswahl)}},dependencies:[C.NgForOf,C.NgIf,b.IonCol,b.IonContent,b.IonFooter,b.IonGrid,b.IonHeader,b.IonItem,b.IonList,b.IonRow,b.IonText,p.PageHeaderComponent,f.PageFooterComponent,S.AlphabetComponent,v.PageHeaderMenuComponent,M.FiMitarbeiterEditorComponent,E.AuswahlDialogComponent,A.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return re})()},96012:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePageModule=void 0;const n=i(81316),o=i(91368),d=i(44716),a=i(56568),u=i(10716),e=i(90756),l=i(6512),c=i(87143),g=i(79664),y=i(70216),_=i(90520),C=i(6168),b=i(54588),p=i(10272),f=n.__importStar(i(54496)),v=(n.__importStar(i(56568)),[{path:"",component:e.FiStandortelistePage}]);h.FiStandortelistePageModule=(()=>{class E{static \u0275fac=function(N){return new(N||E)};static \u0275mod=f.\u0275\u0275defineNgModule({type:E});static \u0275inj=f.\u0275\u0275defineInjector({imports:[o.CommonModule,d.FormsModule,d.ReactiveFormsModule,u.IonicModule,a.RouterModule.forChild(v),l.AbstandElementFixedModule,c.AlphabetModule,g.FiStandortEditorModule,y.PageHeaderModule,_.PageFooterModule,C.PageHeaderMenuModule,b.PageModalKeepermodule,p.AuswahlDialogModule]})}return E})()},90756:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.FiStandortelistePage=void 0;const o=i(81316),d=o.__importStar(i(17964)),a=o.__importStar(i(54496)),u=o.__importStar(i(14652)),e=o.__importStar(i(34388)),l=o.__importStar(i(19668)),c=o.__importStar(i(29743)),g=o.__importStar(i(58864)),y=o.__importStar(i(9544)),_=o.__importStar(i(48044)),C=o.__importStar(i(7992)),b=o.__importStar(i(91368)),p=o.__importStar(i(10716)),f=o.__importStar(i(99031)),S=o.__importStar(i(41656)),v=o.__importStar(i(90212)),M=o.__importStar(i(29856)),E=o.__importStar(i(63792)),A=o.__importStar(i(56584)),k=["Alphabet"],N=["PageHeader"],F=["PageFooter"];function T(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",22)(2,"ion-text",23)(3,"b"),a.\u0275\u0275text(4),a.\u0275\u0275elementEnd()()()()),2&se){const Q=a.\u0275\u0275nextContext().index,re=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(4),a.\u0275\u0275textInterpolate(re.Standortebuchstabenliste[Q])}}function P(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td"),a.\u0275\u0275text(2),a.\u0275\u0275elementEnd()()),2&se){const Q=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate1(" ",Q.Ort," ")}}function I(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),a.\u0275\u0275text(3),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(4,"span",24),a.\u0275\u0275text(5),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(6,"span"),a.\u0275\u0275text(7),a.\u0275\u0275elementEnd()()()),2&se){const Q=a.\u0275\u0275nextContext().$implicit;a.\u0275\u0275advance(3),a.\u0275\u0275textInterpolate(Q.Text_A),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Q.Text_B),a.\u0275\u0275advance(2),a.\u0275\u0275textInterpolate(Q.Text_C)}}function j(se,K){if(1&se){const Q=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"ion-item",13),a.\u0275\u0275listener("click",function(){const z=a.\u0275\u0275restoreView(Q).$implicit,Y=a.\u0275\u0275nextContext(2);return a.\u0275\u0275resetView(Y.StandortButtonClicked(z))}),a.\u0275\u0275elementStart(1,"ion-grid",14),a.\u0275\u0275template(2,T,5,1,"ion-row",3),a.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"div",16)(6,"table",17)(7,"tr")(8,"td")(9,"table",18),a.\u0275\u0275template(10,P,3,1,"tr",3)(11,I,8,3,"tr",3),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(12,"tr")(13,"td")(14,"table",19)(15,"tr")(16,"td",20),a.\u0275\u0275text(17,"K\xfcrzel:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(18,"td"),a.\u0275\u0275text(19),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(20,"td",21),a.\u0275\u0275elementStart(21,"td",20),a.\u0275\u0275text(22,"Email:"),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(23,"td"),a.\u0275\u0275text(24),a.\u0275\u0275elementEnd(),a.\u0275\u0275element(25,"td",21),a.\u0275\u0275elementEnd()()()()()()()()()()}if(2&se){const Q=K.$implicit,re=K.index,X=a.\u0275\u0275nextContext(2);a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",""!==X.Standortebuchstabenliste[re]),a.\u0275\u0275advance(8),a.\u0275\u0275property("ngIf",!Q.Filtered),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",Q.Filtered),a.\u0275\u0275advance(8),a.\u0275\u0275textInterpolate(Q.Kuerzel),a.\u0275\u0275advance(5),a.\u0275\u0275textInterpolate(Q.Email)}}function L(se,K){if(1&se&&(a.\u0275\u0275elementStart(0,"ion-list"),a.\u0275\u0275template(1,j,26,5,"ion-item",12),a.\u0275\u0275elementEnd()),2&se){const Q=a.\u0275\u0275nextContext();a.\u0275\u0275advance(),a.\u0275\u0275property("ngForOf",Q.Standorteliste)}}function B(se,K){1&se&&(a.\u0275\u0275elementStart(0,"table",25)(1,"tr")(2,"td",26),a.\u0275\u0275text(3," kein Standorte vorhanden "),a.\u0275\u0275elementEnd()()())}function $(se,K){if(1&se){const Q=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"fi-standort-editor",27),a.\u0275\u0275listener("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowEditor=!1)})("OkClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowEditor=!1)})("DeleteClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowEditor=!1)})("LandClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.LandClickedEventHandler())})("BundeslandClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.KonfessionClickedEventHandler())}),a.\u0275\u0275elementEnd()}if(2&se){const Q=a.\u0275\u0275nextContext();a.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",500)("PositionY",100)("Titel",Q.GetDialogTitel())}}function ee(se,K){if(1&se){const Q=a.\u0275\u0275getCurrentView();a.\u0275\u0275elementStart(0,"auswahl-dialog",28),a.\u0275\u0275listener("OkClickedEvent",function(X){a.\u0275\u0275restoreView(Q);const z=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(z.AuswahlOkButtonClicked(X))})("CancelClickedEvent",function(){a.\u0275\u0275restoreView(Q);const X=a.\u0275\u0275nextContext();return a.\u0275\u0275resetView(X.ShowAuswahl=!1)}),a.\u0275\u0275elementEnd()}if(2&se){const Q=a.\u0275\u0275nextContext();a.\u0275\u0275property("Auswahlliste",Q.Auswahlliste)("Auswahlindex",Q.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Q.Auswahltitel)("Iconname","")}}h.FiStandortelistePage=(()=>{class se{Basics;Debug;Tools;Const;DB;DBUrlaub;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;Standorteliste;Standortealphabet;Alphapetbreite;Standortealphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Standortebuchstabenliste;Standardalphabet;Zusatzbuttonliste;Standortefiltertext;Standortefilter;Inputtimer;Listenbreite;ShowEditor;EditorValid;ListeSubscription;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;constructor(Q,re,X,z,Y,q,de,me){this.Basics=Q,this.Debug=re,this.Tools=X,this.Const=z,this.DB=Y,this.DBUrlaub=q,this.Auswahlservice=de,this.Pool=me;try{this.Standardalphabet=["Alle","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],this.Standortealphabet=[],this.Standortealphabetauswahl="Alle",this.Standorteliste=[],this.Zusatzbuttonliste=[],this.HideAuswahl=!0,this.Inputtimer=null,this.Alphapetbreite=44,this.Standortefilter="",this.Standortealphabet=this.Standardalphabet,this.Standortebuchstabenliste=[],this.Listenbreite=0,this.ShowEditor=!1,this.EditorValid=!1,this.ListeSubscription=null,this.Auswahlliste=[],this.Auswahlindex=0,this.Auswahltitel="",this.Auswahldialogorigin=""}catch(Oe){this.Debug.ShowErrorMessage(Oe.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Standorteliste","OnInit",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Listenbreite=this.Basics.Contentbreite-(typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40)-4,this.PrepareDaten(),this.Alphabetcomponent.InitScreen()}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(Q){try{this.DB.CurrentStandort=d.cloneDeep(Q),this.ShowEditor=!0}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Q){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=Q,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(Q){try{let re=Q.Ort.substring(0,1).toUpperCase();return re!==this.Lastletter?(this.Lastletter=re,re):""}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Q,re,X,z,Y,q,de,me,Oe,Re,Ae,ge;if(null!==this.Pool.Standorteliste){if(z=d.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",Q=d.cloneDeep(z),Q.sort((Ne,it)=>Ne.Ortit.Ort?1:0),null!==this.DB.CurrentStandortfilter){re=d.cloneDeep(Q),Q=[];for(let Ne of re)Q.push(Ne)}if(Q.length>6){this.Standortealphabet=["Alle"];for(let Ne of Q)X=Ne.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(X)&&this.Standortealphabet.push(X)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){re=d.cloneDeep(Q),Q=[];for(let Ne of re)X=Ne.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===X&&Q.push(Ne)}if(""!==this.Standortefilter){re=d.cloneDeep(Q),Q=[];for(let Ne of re)Ae=this.Standortefilter.toLowerCase(),ge=Ne.Ort.toLowerCase(),Re=ge.indexOf(Ae),-1!==Re&&(Y=Ne.Ort.length,Oe=Ae.length,q=Ne.Ort.substr(0,Re),de=Ne.Ort.substr(Re,Oe),Oe=Y-Oe-Re,me=Ne.Ort.substr(Y-Oe,Oe),Ne.Filtered=!0,Ne.Text_A=q,Ne.Text_B=de,Ne.Text_C=me,Q.push(Ne))}this.Standortebuchstabenliste=[];for(let Ne of Q)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(Ne));this.Standorteliste=d.cloneDeep(Q)}}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Q){try{this.EditorValid=Q}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","EditorValidChanged",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentStandort?null===this.DB.CurrentStandort._id?"Neuen Standort anlegen":"Standort bearbeiten":"Unbekannt"}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(Q){try{this.Standortefiltertext=Q,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(re){this.Debug.ShowErrorMessage(re.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Q){var re=this;return n(function*(){try{switch(re.Auswahldialogorigin){case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:re.DB.CurrentStandort.Land=Q;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:re.DB.CurrentStandort.Bundesland=Q;break;case re.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:re.DB.CurrentStandort.Konfession=Q}re.ShowAuswahl=!1}catch(X){re.Debug.ShowErrorMessage(X.message,"Standorteliste","AuswahlOkButtonClicked",re.Debug.Typen.Page)}})()}LandClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land,this.Auswahltitel="Land ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Deutschland",SecoundColumn:"DE",Data:"DE"}),this.Auswahlliste.push({Index:1,FirstColumn:"Bulgarien",SecoundColumn:"BG",Data:"BG"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(Q){this.Debug.ShowErrorMessage(Q,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let Q=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let re of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:Q,FirstColumn:re.Name,SecoundColumn:re.isoCode,Data:re.isoCode}),Q++;this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(Q){this.Debug.ShowErrorMessage(Q,"Standorteliste","BundeslandClickedEventHandler",this.Debug.Typen.Page)}}KonfessionClickedEventHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession,this.Auswahltitel="Konfession ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[],this.Auswahlliste.push({Index:0,FirstColumn:"Katholisch",SecoundColumn:"RK",Data:"RK"}),this.Auswahlliste.push({Index:1,FirstColumn:"Evangelisch",SecoundColumn:"EV",Data:"EV"}),this.Auswahlindex=d.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(Q){this.Debug.ShowErrorMessage(Q,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}static \u0275fac=function(re){return new(re||se)(a.\u0275\u0275directiveInject(u.BasicsProvider),a.\u0275\u0275directiveInject(e.DebugProvider),a.\u0275\u0275directiveInject(l.ToolsProvider),a.\u0275\u0275directiveInject(c.ConstProvider),a.\u0275\u0275directiveInject(g.DatabaseStandorteService),a.\u0275\u0275directiveInject(y.DatabaseUrlaubService),a.\u0275\u0275directiveInject(_.AuswahlDialogService),a.\u0275\u0275directiveInject(C.DatabasePoolService))};static \u0275cmp=a.\u0275\u0275defineComponent({type:se,selectors:[["fi-standorteliste-page"]],viewQuery:function(re,X){if(1&re&&(a.\u0275\u0275viewQuery(k,5),a.\u0275\u0275viewQuery(N,5),a.\u0275\u0275viewQuery(F,5)),2&re){let z;a.\u0275\u0275queryRefresh(z=a.\u0275\u0275loadQuery())&&(X.Alphabetcomponent=z.first),a.\u0275\u0275queryRefresh(z=a.\u0275\u0275loadQuery())&&(X.PageHeader=z.first),a.\u0275\u0275queryRefresh(z=a.\u0275\u0275loadQuery())&&(X.PageFooter=z.first)}},decls:16,vars:11,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowStandorttitle","SucheChanged"],[4,"ngIf"],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[1,"rootbuttonclass",3,"click"],["color","weiss","name","add-circle-outline",2,"font-size","28px"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Buchstabenliste","Breite","Auswahl","AlphabetClicked"],["Alphabet",""],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"ion-no-padding",3,"click"],[1,"maingridclass"],["sizeXs","11","sizeSm","11","sizeMd","6","sizeLg","6","sizeXl","6"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],["size","12"],["color","orange"],[2,"color","green"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","location-outline",3,"Dialogbreite","Dialoghoehe","PositionY","Titel","CancelClickedEvent","OkClickedEvent","DeleteClickedEvent","LandClickedEvent","BundeslandClickedEvent","KonfessionClickedEvent"],[3,"Auswahlliste","Auswahlindex","ZIndex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(re,X){if(1&re&&(a.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),a.\u0275\u0275listener("SucheChanged",function(Y){return X.SucheChangedHandler(Y)}),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275elementStart(4,"ion-content"),a.\u0275\u0275template(5,L,2,1,"ion-list",3)(6,B,4,0,"table",4),a.\u0275\u0275elementEnd(),a.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),a.\u0275\u0275listener("click",function(){return X.AddStandorteButtonClicked()}),a.\u0275\u0275element(11,"ion-icon",7),a.\u0275\u0275elementEnd()()(),a.\u0275\u0275template(12,$,1,4,"fi-standort-editor",8)(13,ee,1,7,"auswahl-dialog",9),a.\u0275\u0275elementStart(14,"alphabet",10,11),a.\u0275\u0275listener("AlphabetClicked",function(Y){return X.AlphabetClicked(Y)}),a.\u0275\u0275elementEnd()),2&re){const z=a.\u0275\u0275reference(2),Y=a.\u0275\u0275reference(9);a.\u0275\u0275advance(3),a.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),a.\u0275\u0275advance(2),a.\u0275\u0275property("ngIf",X.Standorteliste&&X.Standorteliste.length>0),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",0===X.Standorteliste.length),a.\u0275\u0275advance(6),a.\u0275\u0275property("ngIf",X.ShowEditor),a.\u0275\u0275advance(),a.\u0275\u0275property("ngIf",X.ShowAuswahl),a.\u0275\u0275advance(),a.\u0275\u0275property("PageHeader",z)("PageFooter",Y)("Buchstabenliste",X.Standortealphabet)("Breite",X.Alphapetbreite)("Auswahl",X.Standortealphabetauswahl)}},dependencies:[b.NgForOf,b.NgIf,p.IonCol,p.IonContent,p.IonFooter,p.IonGrid,p.IonHeader,p.IonIcon,p.IonItem,p.IonList,p.IonRow,p.IonText,f.AlphabetComponent,S.FiStandortEditorComponent,v.PageHeaderComponent,M.PageFooterComponent,E.PageHeaderMenuComponent,A.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return se})()},15756:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.PrettyjsonModule=void 0;const o=i(81316).__importStar(i(54496));h.PrettyjsonModule=(()=>{class a{static \u0275fac=function(l){return new(l||a)};static \u0275mod=o.\u0275\u0275defineNgModule({type:a});static \u0275inj=o.\u0275\u0275defineInjector({})}return a})()},84104:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipeModule=void 0;const o=i(81316).__importStar(i(54496));h.SafePipeModule=(()=>{class a{static \u0275fac=function(l){return new(l||a)};static \u0275mod=o.\u0275\u0275defineNgModule({type:a});static \u0275inj=o.\u0275\u0275defineInjector({})}return a})()},66144:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SafePipe=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(14476));h.SafePipe=(()=>{class u{sanitizer;constructor(l){this.sanitizer=l}transform(l,c){switch(c){case"html":return this.sanitizer.bypassSecurityTrustHtml(l);case"style":return this.sanitizer.bypassSecurityTrustStyle(l);case"script":return this.sanitizer.bypassSecurityTrustScript(l);case"url":return this.sanitizer.bypassSecurityTrustUrl(l);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(l);default:throw new Error(`Invalid safe type specified: ${c}`)}}static \u0275fac=function(c){return new(c||u)(o.\u0275\u0275directiveInject(d.DomSanitizer,16))};static \u0275pipe=o.\u0275\u0275definePipe({name:"safe",type:u,pure:!0})}return u})()},48044:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.AuswahlDialogService=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(34388));h.AuswahlDialogService=(()=>{class u{Debug;Auswahloriginvarianten={Standorteeditor_Land:"Standorteeditor_Land",Standorteeditor_Bundesland:"Standorteeditor_Bundesland",Standorteeditor_Konfession:"Standorteeditor_Konfession",Projekteliste_Standortfiler:"Projekteliste_Standortfiler",Projekteliste_Editor_Leistungsphase:"Projekteliste_Editor_Leistungsphase",Projekte_Editor_Standort:"Projekte_Editor_Standortfilter",Projekte_Editor_Mitarbeiterauswahl_Projektleiter:"Projekte_Editor_Mitarbeiterauswahl_Projektleiter",Projekte_Editor_Mitarbeiterauswahl_Stellvertreter:"Projekte_Editor_Mitarbeiterauswahl_Stellvertreter",Projekte_Editor_Mitarbeiterauswahl:"Projekte_Editor_Mitarbeiterauswahl",Projekte_Editor_Mitarbeiterauswahl_Standortfilter:"Projekte_Editor_Mitarbeiterauswahl_Standortfilter",Projekte_Editor_Projektstatus:"Projekte_Editor_Projektstatus",Projekte_Editor_Firmeneditor_Fachbereich:"Projekte_Editor_Firmeneditor_Fachbereich",Projekte_Editor_Beteiligteneditor_Fachfirma:"Projekte_Editor_Beteiligteneditor_Fachfirma",Favoriten_Editor_Projekteauswahl_Standortfilter:"Favoriten_Editor_Projekteauswahl_Standortfilter",Mitarbeiter_Editor_Standort:"Mitarbeiter_Editor_Standort",Mitarbeiter_Editor_Fachbereich:"Mitarbeiter_Editor_Fachbereich",Mitarbeiter_Editor_Anrede:"Mitarbeiter_Editor_Anrede",Mitarbeiter_Editor_Urlaub:"Mitarbeiter_Editor_Urlaub",Mitarbeiter_Liste_Standortfilter:"Mitarbeiter_Liste_Standortfilter",Aufgabenliste_ZustaendigExtern:"Aufgabenliste_ZustaendigExtern",Aufgabenliste_ZustaendigIntern:"Aufgabenliste_ZustaendigIntern",Aufgabenliste_Fortschritt:"Aufgabenliste_Fortschritt",Aufgabenliste_Zeitfilter:"Aufgabenliste_Zeitfilter",Aufgabenliste_Filter_Zeitspanne:"Aufgabenliste_Filter_Zeitspanne",Aufgabenliste_Editor_Fachbereich:"Aufgabenliste_Editor_Fachbereich",Aufgabenliste_Editor_Status:"Aufgabenliste_Editor_Status",Aufgabenliste_Editor_Standortfilter:"Aufgabenliste_Editor_Standortfilter",Aufgabenliste_Editor_ZustaendigExtern:"Aufgabenliste_Editor_ZustaendigExtern",Aufgabenliste_Editor_ZustaendigIntern:"Aufgabenliste_Editor_ZustaendigIntern",Aufgabenliste_Editor_Leistungsphase:"Aufgabenliste_Editor_Kostengruppe",Aufgabenliste_Editor_Kostengruppe:"Aufgabenliste_Editor_Leistungsphase",Aufgabenliste_Editor_Verfasser:"Aufgabenliste_Editor_Verfasser",Aufgabenliste_Editor_AnmerkungenVerfasser:"Aufgabenliste_Editor_AnmerkungenVerfasser",Aufgabenliste_Meintageintrag_Status:"Aufgabenliste_Meintageintrag_Status",Aufgabenliste_Meintageintrag_Termin:"Aufgabenliste_Meintageintrag_Termin",Festlegungsliste_Editor_Leistungsphase:"Festlegungsliste_Editor_Leistungsphase",Festlegungsliste_Leistungsphasefilter:"Festlegungsliste_Leistungsphasefilter",Festlegungliste_Emaileditor_Standortfilter:"Festlegungliste_Emaileditor_Standortfilter",Festlegungliste_Editor_Status:"Festlegungliste_Editor_Status",Festlegungliste_Editor_Fachbereich:"Festlegungliste_Editor_Fachbereich",Festlegungliste_Editor_Kostengruppe:"Festlegungliste_Editor_Kostengruppe",Festlegungliste_Editor_ZustaendigExtern:"Festlegungliste_Editor_ZustaendigExtern",Festlegungliste_Editor_ZustaendigIntern:"Festlegungliste_Editor_ZustaendigIntern",Festlegungliste_Emaileditor_Intern_Empfaenger:"Festlegungliste_Emaileditor_Intern_Empfaenger",Festlegungliste_Emaileditor_Intern_CcEmpfaenger:"Festlegungliste_Emaileditor_Intern_CcEmpfaenger",Festlegungliste_Emaileditor_Extern_Empfaenger:"Festlegungliste_Emaileditor_Extern_Empfaenger",Festlegungliste_Emaileditor_Extern_CcEmpfaenger:"Festlegungliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Intern_Empfaenger:"Bautagebuchliste_Emaileditor_Intern_Empfaenger",Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Intern_CcEmpfaenger",Bautagebuchliste_Emaileditor_Extern_Empfaenger:"Bautagebuchliste_Emaileditor_Extern_Empfaenger",Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger:"Bautagebuchliste_Emaileditor_Extern_CcEmpfaenger",Bautagebuchliste_Bautagebucheditor:"Bautagebuchliste_Bautagebucheditor",Protokollliste_Editor_Leistungsphase:"Protokollliste_Editor_Leistungsphase",Protokollliste_Editor_Kostengruppe:"Protokollliste_Editor_Kostengruppe",Protokollliste_Protokolleditor_Teamteilnehmer:"Protokollliste_Protokolleditor_Teamteilnehmer",Protokollliste_Projektpunkteditor_Teamteilnehmer:"Protokollliste_Projektpunkteditor_Teamteilnehmer",Protokollliste_Protokolleditor_Beteilgtenteilnehmer:"Protokollliste_Protokolleditor_Beteilgtenteilnehmer",Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer:"Protokollliste_Projektpunkteditor_Beteilgtenteilnehmer",Urlaubsplanung_Mitarbeiter_Wechseln:"Urlaubsplanung_Mitarbeiter_Wechseln",Urlaubsplanung_Vertreter_Festlegen:"Urlaubsplanung_Vertreter_Festlegen",Urlaubsplanung_Status_Aendern:"Urlaubsplanung_Status_Aendern",UrlaubEinstellungen_Projektbeteiligte_Auswahl:"UrlaubEinstellungen_Projektbeteiligte_Auswahl",UrlaubEinstellungen_Freigeber_Auswahl:"UrlaubEinstellungen_Freigeber_Auswahl",UrlaubEinstellungen_Standort_Filter:"UrlaubEinstellungen_Standort_Filter",UrlaubPlanung_Standort_Filter:"UrlaubPlanung_Standort_Filter",UrlaubUebersicht_Standort_Filter:"UrlaubUebersicht_Standort_Filter",UrlaubAnfargen_Standort_Filter:"UrlaubAnfargen_Standort_Filter",Protokollliste_Emaileditor_Extern_Empfaenger:"Protokollliste_Emaileditor_Extern_Empfaenger",Protokollliste_Emaileditor_Extern_CcEmpfaenger:"Protokollliste_Emaileditor_Extern_CcEmpfaenger",Protokollliste_Emaileditor_Intern_Empfaenger:"Protokollliste_Emaileditor_Intern_Empfaenger",Protokollliste_Emaileditor_Intern_CcEmpfaenger:"Protokollliste_Emaileditor_Intern_CcEmpfaenger",LOPliste_Emaileditor_Extern_Empfaenger:"LOPliste_Emaileditor_Extern_Empfaenger",LOPliste_Emaileditor_Extern_CcEmpfaenger:"LOPliste_Emaileditor_Extern_CcEmpfaenger",LOPliste_Emaileditor_Intern_Empfaenger:"LOPliste_Emaileditor_Intern_Empfaenger",LOPliste_Emaileditor_Intern_CcEmpfaenger:"LOPliste_Emaileditor_Intern_CcEmpfaenger",Protokollliste_Editor_Standortfilter:"Protokollliste_Editor_Standortfilter",Protokollliste_Projektpunkteditor_Status:"Protokollliste_Projektpunkteditor_Status",Protokollliste_Projektpunkteditor_Fachbereich:"Protokollliste_Projektpunkteditor_Fachbereich",Simontabelle_Editor_Emailempfaenger:"Simontabelle_Editor_Emailempfaenger",Emailliste_Projektpunkteditor_Fachbereich:"Emailliste_Projektpunkteditor_Fachbereich",Emailliste_Editor_ZustaendigIntern:"Emailliste_Editor_ZustaendigIntern",Emailliste_Editor_ZustaendigExtern:"Emailliste_Editor_ZustaendigExtern",Emailliste_Beteiligteneditor_Projektauswahl:"Emailliste_Beteiligteneditor_Projektauswahl",Protokollliste_Filter_Leistungsphase:"Protokollliste_Filter_Leistungsphase",Protokollliste_Filter_Zeitspanne:"Protokollliste_Filter_Zeitspanne",LOPListe_LOPListeeditor_InternTeilnehmer:"LOPListe_LOPListeeditor_InternTeilnehmer",LOPListe_LOPListeeditor_ExternTeilnehmer:"LOPListe_LOPListeeditor_ExternTeilnehmer",LOPListe:"LOPListe",LOPListe_Thumnailsize:"LOPListe_Thumnailsize",LOPListe_Eintrageditor_ZustaendigExtern:"LOPListe_Eintrageditor_ZustaendigExtern",LOPListe_Eintrageditor_ZustaendigIntern:"LOPListe_Eintrageditor_ZustaendigIntern",LOPListe_Eintrageditor_Standortfilter:"LOPListe_Eintrageditor_Standortfilter",LOPListe_Eintrageditor_Fachbereich:"LOPListe_Eintrageditor_Fachbereich",LOPListe_Eintrageditor_Status:"LOPListe_Eintrageditor_Status",LOPListe_Eintrageditor_Prioritaet:"LOPListe_Eintrageditor_Prioritaet",LOPListe_Eintrageditor_AnmerkungVerfasser:"LOPListe_Eintrageditor_AnmerkungVerfasser",LOPListe_Eintrageditor_Verfasser:"LOPListe_Eintrageditor_Verfasser",LOPListe_Emaileditor_Intern_Empfaenger:"LOPListe_Emaileditor_Intern_Empfaenger",LOPListe_Emaileditor_Intern_CcEmpfaenger:"LOPListe_Emaileditor_Intern_CcEmpfaenger",LOPListe_Emaileditor_Extern_Empfaenger:"LOPListe_Emaileditor_Extern_Empfaenger",LOPListe_Emaileditor_Extern_CcEmpfaenger:"LOPListe_Emaileditor_Extern_CcEmpfaenger",Urlaubsliste_Bundesland:"Urlaubsliste_Bundesland"};constructor(l){this.Debug=l}static \u0275fac=function(c){return new(c||u)(o.\u0275\u0275inject(d.DebugProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},14652:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.BasicsProvider=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(10716)),a=n.__importStar(i(29743));h.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="16.02.2024 11:30";ShowHomeScreenInfos=!0;DebugNoExternalEmail=!0;AppVersionName="1.0";AppVersionDatum="01.03.2024";WebAppUrl="https://nice-glacier-0c9ec7703.3.azurestaticapps.net";Farben={BAEBlau:"#307ac1",BAEHellgrau:"#dfe5eb",Gruen:"#006400",Burnicklgruen:"#c7d304",Grau:"#454545",Buttoncolor:"#444444",Blau:"#00008B",Orange:"#FF8C00",Bordercolor:"#3880ff",Burnicklbraun:"#7b6a58",Burnicklgrau:"#354547",ButtongrauDisabled:"#444444"};Ionicfarben={BurnicklGruen:"burnicklgruen",BAEBlau:"baeblau",BurnicklGrau:"burnicklgrau",BurnicklBraun:"burnicklbraun",Gruen:"gruen",Orange:"orange",Grau:"grau",Silber:"silber",Schwarz:"schwarz",Weiss:"weiss",Rot:"rot",Blau:"blau",Dunkelblau:"dunkelblau",Braun:"braun",Teal:"teal",Gelb:"gelb"};ShowFehlerbericht=!0;constructor(c,g){this.platform=c,this.Const=g}MeassureInnercontent(c,g){try{this.Headerhoehe=typeof c<"u"&&null!==c?c.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof g<"u"&&null!==g?g.PageFooterFrameDiv.nativeElement.clientHeight:55,this.InnerContenthoehe=this.Contenthoehe-this.Headerhoehe-this.Footerhoehe,console.log("Basics MeassureScreen -> Screenbreite: "+this.platform.width()+" / Screenhoehe: "+this.platform.height()),console.log("Basics MeassureScreen -> Headerhoehe: "+this.Headerhoehe+" / Footerhoehe: "+this.Footerhoehe),console.log("Basics MeassureScreen -> InnerContenthoehe: "+this.InnerContenthoehe)}catch(y){window.console.log(y+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(g){return new(g||e)(o.\u0275\u0275inject(d.Platform),o.\u0275\u0275inject(a.ConstProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ConstProvider=void 0;const o=i(81316).__importStar(i(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},M={HomePage:"HomePage",RegistrierungPage:"RegistrierungPage",EinstellungenPage:"EinstellungenPage",StartseitePage:"StartseitePage",IntroPage:"IntroPage",ShortcutsEditorPage:"ShortcutsEditorPage",EmailzentralePage:"EmailzentralePage",PasswortVergessenPage:"PasswortVergessenPage",TestPage:"TestPage",ErrorPage:"ErrorPage",DebugPage:"DebugPage",PDFViewerPage:"PDFViewerPage",EmaillistePage:"EmaillistePage",UrlaubPlanungPage:"UrlaubPlanungPage",UrlaubEinstellungenPage:"UrlaubEinstellungenPage",UrlaubUebersichtPage:"UrlaubUebersichtPage",UrlaubFreigabenPage:"UrlaubFreigabenPage",FiMitarbeiterlistePage:"FiMitarbeiterlistePage",FiMitarbeiterauswahlPage:"FiMitarbeiterauswahlPage",FiMitarbeiterSettingsPage:"FiMitarbeiterSettingsPage",FiStandortelistePage:"FiStandortelistePage",PjListePage:"PjListePage",PjGebaeudestrukturBearbeitenPage:"PjGebaeudestrukturBearbeitenPage",PjGebaeudestrukturBauteilBearbeitenPage:"PjGebaeudestrukturBauteilBearbeitenPage",PjGebaeudestrukturGeschossBearbeitenPage:"PjGebaeudestrukturGeschossBearbeitenPage",PjGebaeudestrukturRaumBearbeitenPage:"PjGebaeudestrukturRaumBearbeitenPage",PjGebaeudestrukturRaumMarkierenPage:"PjGebaeudestrukturRaumMarkierenPage",PjFavoritenlistePage:"PjFavoritenlistePage",PJProjektbeteiligtelistePage:"PJProjektbeteiligtelistePage",PjEmailzentralePage:"PjEmailzentralePage",PjProtokollSendeberichtPage:"PjProtokollSendeberichtPage",PjFestlegungkategorieeditorPage:"PjFestlegungkategorieeditorPage",PjNotizenListePage:"PjNotizenListePage",PjAufgabenlistePage:"PjAufgabenlistePage",PjProtokolleListePage:"PjProtokolleListePage",PjFilebrowserPage:"PjFilebrowserPage",PjBaustelleLoplistePage:"PjBaustelleLoplistePage",PjBaustelleTagebuchlistePage:"PjBaustelleTagebuchlistePage",PjFestlegungslistePage:"PjFestlegungslistePage",PjPlanungsmatrixPage:"PjPlanungsmatrixPage",PjSimontabellelistePage:"PjSimontabellelistePage"},j={Person:"Person",Firma:"Firma"},L={Unbekannt:{Typnummer:0,Name:"Unbekannt",Color:"#ff6600"},Elektroinstallateur:{Typnummer:1,Name:"Elektroinstallateur",Color:"#ff6600"},Heizungsinstallateur:{Typnummer:2,Name:"Heizungsinstallateur",Color:"#ff6600"},Lueftungsinstallateur:{Typnummer:3,Name:"L\xfcftungsinstallateur",Color:"#ff6600"},Sanitaerinstallateur:{Typnummer:4,Name:"Sanit\xe4rinstallateur",Color:"#ff6600"},Rohbaufirma:{Typnummer:5,Name:"Rohbaufirma",Color:"#ff6600"},Tiefbaufirma:{Typnummer:6,Name:"Tiefbaufirma",Color:"#ff6600"},Blitschutzbauer:{Typnummer:7,Name:"Blitschutzbauer",Color:"#ff6600"},Dachdecker:{Typnummer:8,Name:"Dachdecker",Color:"#ff6600"},Zimmerei:{Typnummer:9,Name:"Zimmerei",Color:"#ff6600"},Schreiner:{Typnummer:10,Name:"Schreiner",Color:"#ff6600"},Medientechnik:{Typnummer:11,Name:"Medientechnik",Color:"#ff6600"},Fussbodenlegen:{Typnummer:12,Name:"Fu\xdfbodenlegen",Color:"#ff6600"},Estrichleger:{Typnummer:13,Name:"Estrichleger",Color:"#ff6600"},Fliesenleger:{Typnummer:14,Name:"Fliesenleger",Color:"#ff6600"},Foerderanlagenbauer:{Typnummer:15,Name:"F\xf6rderanlagenbauer",Color:"#ff6600"}},B={Anlagengruppe_1:{Nummer:1,Name:"Abwasser-, Wasser-, Gasanlagen"},Anlagengruppe_2:{Nummer:2,Name:"W\xe4rmeversorgungsanlagen"},Anlagengruppe_3:{Nummer:3,Name:"Luftechnische Anlagen"},Anlagengruppe_4:{Nummer:4,Name:"Starkstromanlage"},Anlagengruppe_5:{Nummer:5,Name:"Fernmelde- und informationstechnische Anlagen"},Anlagengruppe_6:{Nummer:6,Name:"F\xf6rderanlagen"},Anlagengruppe_7:{Nummer:7,Name:"Nutzerspezifische und verfahrenstechnische Anlagen"},Anlagengruppe_8:{Nummer:8,Name:"Geb\xe4ude- und Anlagenautomation"}},$={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},ee={Unbekannt:{Typnummer:0,Name:"Unbekannt",Kurzname:"Unbekannt",Color:"#ff6600"},Architekt:{Typnummer:1,Name:"Architekt",Kurzname:"Archtiekt",Color:"#ff6600"},Elektroplaner:{Typnummer:2,Name:"ELT Planungsb\xfcro",Kurzname:"ELT Planungsb\xfcro",Color:"#3771c8"},HLSplaner:{Typnummer:3,Name:"HLS Planungsb\xfcro",Kurzname:"HLS Planungsb\xfcro",Color:"#3771c8"},Fachplaner:{Typnummer:4,Name:"Fachplaner",Kurzname:"Fachplaner",Color:"#3771c8"},Tragwerksplaner:{Typnummer:5,Name:"Tragwerksplaner",Kurzname:"Tragwerksplaner",Color:"#3771c8"},Aussenanlagenarchitekt:{Typnummer:6,Name:"Au\xdfenanlagenarchitekt",Kurzname:"Au\xdfenanlagenarchitekt",Color:"#3771c8"},Bauherr:{Typnummer:7,Name:"Bauherr",Kurzname:"Bauherr",Color:"#008000"},Nutzer:{Typnummer:8,Name:"Nutzer",Kurzname:"Nutzer",Color:"#008000"},Pruefsachverstaendiger:{Typnummer:9,Name:"Pr\xfcfsachverst\xe4ndiger",Kurzname:"Pr\xfcfsachverst\xe4ndiger",Color:"#008000"},Projektsteurer:{Typnummer:10,Name:"Projektsteurer",Kurzname:"Projektsteurer",Color:"#008000"},Ausfuehrungsfirma:{Typnummer:11,Name:"Ausf\xfchrende Firma",Kurzname:"Ausf\xfchrende Firma",Color:"#008000"},Objektueberwacher:{Typnummer:12,Name:"Objekt\xfcberwacher",Kurzname:"O\xdc",Color:"#008000"},ITAbteilung:{Typnummer:13,Name:"IT - Abteilung",Kurzname:"IT",Color:"#008000"},Ausfuehrungsfirma_HLS:{Typnummer:14,Name:"Ausf\xfchrende Firma HLS",Kurzname:"HLS",Color:"#008000"},Ausfuehrungsfirma_ELT:{Typnummer:15,Name:"Elektroinstallation",Kurzname:"ELZ",Color:"#008000"},Ausfuehrungsfirma_BMA:{Typnummer:16,Name:"BMA Installation",Kurzname:"BMA",Color:"#008000"},Ausfuehrungsfirma_Blitzschutz:{Typnummer:17,Name:"Blitzschutzbauer",Kurzname:"Blitzschutzbaur",Color:"#008000"},Ausfuehrungsfirma_H:{Typnummer:18,Name:"Heizungsfirma",Kurzname:"Heizungsfirma",Color:"#008000"},Ausfuehrungsfirma_L:{Typnummer:19,Name:"L\xfcftungsinstallation",Kurzname:"L\xfcftung",Color:"#008000"},Ausfuehrungsfirma_S:{Typnummer:20,Name:"Sanit\xe4rinstallation",Kurzname:"Sanit\xe4r",Color:"#008000"},Ausfuehrungsfirma_Rohbau:{Typnummer:21,Name:"Rohbaufirma",Kurzname:"Rohbaufirma",Color:"#008000"},Ausfuehrungsfirma_Tiefbau:{Typnummer:22,Name:"Tiefbaufirma",Kurzname:"Tiefbaufirma",Color:"#008000"},Ausfuehrungsfirma_GALA:{Typnummer:23,Name:"GALA Baufirma",Kurzname:"GALA Baufirma",Color:"#008000"},Ausfuehrungsfirma_Aufzug:{Typnummer:24,Name:"Aufzugsfirma",Kurzname:"Aufzugsfirma",Color:"#008000"}},Q={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},de={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},me={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},Oe={Alle:"Alle",Heute:"Heute",Morgen:"Morgen",Zweitage:"2 Tage",Woche:"Woche",Naechstewoche:"N\xe4chste Woche",Zweiwochen:"2 Wochen",Vierwochen:"4 Wochen",Monat:"Monat",Gestern:"Gestern",Vorgestern:"Vorgestern",ZweitageVorher:"Letzten 2 Tage",WocheVorher:"Letzte Woche",ZweiwochenVorher:"Letzten 2 Wochen",MonatVorher:"Letzter Monat"},ge={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},Ne={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},it={Niedrig:{Statusnummer:0,Name:"Niedrig",Displayname:"Niedrig",Color:"#008000"},Mittel:{Statusnummer:1,Name:"Mittel",Displayname:"Mittel",Color:"orange"},Hoch:{Statusnummer:2,Name:"Hoch",Displayname:"Hoch",Color:"red"}},qe={Offen:{Statusnummer:0,Name:"Offen",Displayname:"Offen",Color:"#008080",LOPColor:"red"},Protokollpunkt:{Statusnummer:0,Name:"Protokollpunkt",Displayname:"Info",Color:"#34495E",LOPColor:"#307ac1"},Geschlossen:{Statusnummer:1,Name:"Geschlossen",Displayname:"Geschlossen",Color:"#008000",LOPColor:"#008000"},Bearbeitung:{Statusnummer:2,Name:"Bearbeitung",Displayname:"Bearbeitung",Color:"#616A6B",LOPColor:"#616A6B"},Ruecklauf:{Statusnummer:3,Name:"Ruecklauf",Displayname:"R\xfccklauf",Color:"#0020C2",LOPColor:"#0020C2"},Festlegung:{Statusnummer:4,Name:"Festlegung",Displayname:"Festlegung",Color:"#FF9333"}},De={Nur_diese_Woche:"Nur diese Woche",Nur_diesen_Monat:"Nur diesen Monat",Seit_dem_Zeitpunkt:"Seit dem Zeitpunkt",Bis_zum_Zeitpunkt:"Bis zum Zeitpunkt",Zeitspanne:"Zeitspanne"},je={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};h.ConstProvider=(()=>{class bt{NONE="none";Pages=M;Fehlermeldungtypen=Q;Dialogmessages=e;Projektpunktstatustypen=qe;Zeitfilter=Oe;Projektstatusvarianten=de;Faelligkeitsstatus=me;Beteiligtentypen=ee;Fachfirmentypen=L;Beteiligteneintragtypen=j;Anredevariante=ge;Zeitansatzeinheitvarianten=Ne;Faelligkeitsterminfiltervarianten=De;AufgabenSortiermodusvarianten=je;Projektpunktprioritaetstypen=it;Leistungsphasenvarianten=$;Anlagengruppen=B;constructor(){}static \u0275fac=function(sn){return new(sn||bt)};static \u0275prov=o.\u0275\u0275defineInjectable({token:bt,factory:bt.\u0275fac,providedIn:"root"})}return bt})()},97092:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseAuthenticationService=void 0;const o=i(81316),d=i(54496),a=i(9028),u=i(21112),e=i(80103),l=o.__importStar(i(17964)),c=o.__importStar(i(54496)),g=o.__importStar(i(34388)),y=o.__importStar(i(9028)),_=o.__importStar(i(29743)),C=o.__importStar(i(97048)),b=o.__importStar(i(56568)),p=o.__importStar(i(14476));h.DatabaseAuthenticationService=(()=>{class A{msalGuardConfig;Debug;authService;Const;http;router;domSanitizer;MSALService;LoginSuccessEvent=new d.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(N,F,T,P,I,j,L,B){this.msalGuardConfig=N,this.Debug=F,this.authService=T,this.Const=P,this.http=I,this.router=j,this.domSanitizer=L,this.MSALService=B;try{this.SecurityEnabled=!0,this.ActiveUser=null,this.ShowLogin=!1,this.DevelopmentUser={environment:"",homeAccountId:"",localAccountId:"",tenantId:"",username:"peter.hornburger@b-a-e.eu",name:"Peter Hornburger"}}catch($){this.Debug.ShowErrorMessage($.message,"Database Authentication","constructor",this.Debug.Typen.Service)}}UnsetActiveUser(){try{this.Debug.ShowMessage("Unset Active User","Database Authentication","UnsetActiveUser",this.Debug.Typen.Service),this.ActiveUser=null,this.ShowLogin=!0}catch(N){this.Debug.ShowErrorMessage(N,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var N=this;return n(function*(){try{let F,T;return N.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",N.Debug.Typen.Service),new Promise(P=>{if(N.SecurityEnabled){if(F=N.MSALService.instance.getActiveAccount(),T=N.MSALService.instance.getAllAccounts(),!l.isUndefined(T)&&null!==T&&T.length>0)for(F of T)console.log(F.username);console.log(null!==F?F.username:"Account ist null"),null===F&&(N.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",N.Debug.Typen.Service),!l.isUndefined(T)&&null!==T&&T.length>0?(N.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",N.Debug.Typen.Service),F=T[0]):N.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",N.Debug.Typen.Service)),null!==F?(N.ActiveUser=F,P(!0)):(N.UnsetActiveUser(),P(!0))}else N.ActiveUser=N.DevelopmentUser,P(!0)})}catch(F){N.Debug.ShowErrorMessage(F,"Database Authentication","SetActiveUser",N.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let N="nothing",F=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(N,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===F.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),N=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(N,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(N){this.Debug.ShowErrorMessage(N,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(N){var F=this;return n(function*(){try{const T={scopes:[N],account:F.ActiveUser};return new Promise((P,I)=>{F.authService.acquireTokenSilent(T).pipe((0,e.catchError)(j=>(j&&"login_required"===j.errorCode&&F.Login(),(0,e.of)(null!=j)))).subscribe(j=>{P(j.accessToken?j.accessToken:null)})})}catch(T){F.Debug.ShowErrorMessage(T,"Database Authentication","RequestToken",F.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===u.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(N=>{this.authService.instance.setActiveAccount(N.account)}):this.authService.loginPopup().subscribe(N=>{this.authService.instance.setActiveAccount(N.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(N){this.Debug.ShowErrorMessage(N,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===u.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(N){this.Debug.ShowErrorMessage(N.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(N){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+N.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+N.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(F){this.Debug.ShowErrorMessage(F.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(N){this.Debug.ShowErrorMessage(N.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(F){return new(F||A)(c.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),c.\u0275\u0275inject(g.DebugProvider),c.\u0275\u0275inject(y.MsalService),c.\u0275\u0275inject(_.ConstProvider),c.\u0275\u0275inject(C.HttpClient),c.\u0275\u0275inject(b.Router),c.\u0275\u0275inject(p.DomSanitizer),c.\u0275\u0275inject(y.MsalService))};static \u0275prov=c.\u0275\u0275defineInjectable({token:A,factory:A.\u0275fac,providedIn:"root"})}return A})()},51708:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseChangelogService=void 0;const n=i(81316),o=n.__importStar(i(17964)),d=i(97048),a=n.__importDefault(i(35908)),u=n.__importStar(i(54496)),e=n.__importStar(i(34388)),l=n.__importStar(i(7992)),c=n.__importStar(i(29743)),g=n.__importStar(i(97048));h.DatabaseChangelogService=(()=>{class _{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(b,p,f,S){this.Debug=b,this.Pool=p,this.Const=f,this.http=S;try{this.ServerUrl=this.Pool.CockpitserverURL+"/changelog",this.CurrentChangelog=null}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(b){try{let p;return p=o.find(this.Pool.Changlogliste,{_id:b}),o.isUndefined(p)?"unbekannt":p.Beschreibung}catch(p){this.Debug.ShowErrorMessage(p.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,a.default)().valueOf(),Deleted:!1}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let b,p;return new Promise((f,S)=>{b=this.http.post(this.ServerUrl,this.CurrentChangelog),b.subscribe({next:v=>{p=v.Changelog},complete:()=>{this.UpdateChangelogliste(p),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:v=>{S(v)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(b){try{let p;p=o.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==p?(this.Pool.Changlogliste[p]=b,this.Debug.ShowMessage("Changelogliste updated: "+b.Version,"Database Changelog","UpdateChangelogliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Chnagelog nicht gefunden -> neues Changlog hinzuf\xfcgen","Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service),this.Pool.Changlogliste.unshift(b)),this.Pool.Changlogliste=o.filter(this.Pool.Changlogliste,f=>!1===f.Deleted)}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let b;return(new d.HttpParams).set("id",this.CurrentChangelog._id),new Promise((f,S)=>{b=this.http.put(this.ServerUrl,this.CurrentChangelog),b.subscribe({next:v=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:v=>{S(v)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let b;return this.CurrentChangelog.Deleted=!0,new Promise((p,f)=>{b=this.http.put(this.ServerUrl,this.CurrentChangelog),b.subscribe({next:S=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),p(!0)},error:S=>{f(S)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(p){return new(p||_)(u.\u0275\u0275inject(e.DebugProvider),u.\u0275\u0275inject(l.DatabasePoolService),u.\u0275\u0275inject(c.ConstProvider),u.\u0275\u0275inject(g.HttpClient))};static \u0275prov=u.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},79052:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseOutlookemailService=void 0;const n=i(81316),o=i(97048),d=n.__importDefault(i(35908)),a=n.__importStar(i(54496)),u=n.__importStar(i(34388)),e=n.__importStar(i(29743)),l=n.__importStar(i(7992)),c=n.__importStar(i(97048));h.DatabaseOutlookemailService=(()=>{class y{Debug;Const;Pool;http;CurrentEmail;ServerUrl;ShowUngelesenOnly;Projektsortierung;Emaildatum;Heute;constructor(C,b,p,f){this.Debug=C,this.Const=b,this.Pool=p,this.http=f;try{this.CurrentEmail=null,this.ServerUrl=this.Pool.CockpitserverURL+"/email",this.ShowUngelesenOnly=!0,this.Projektsortierung=!0,this.Heute=(0,d.default)(),this.Emaildatum=this.Heute.clone().subtract(10,"days")}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Outlookemail","constructor",this.Debug.Typen.Service)}}GetEmail(C){try{let b,p=new o.HttpParams({fromObject:{EmailID:C}}),f=new o.HttpHeaders({"content-type":"application/json"});return new Promise((S,v)=>{this.http.get(this.Pool.CockpitserverURL+"/email",{headers:f,params:p}).subscribe({next:E=>{b=E},complete:()=>{S(b)},error:E=>{v(E)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Outlookemail","GetEmail",this.Debug.Typen.Service)}}AddEmail(){try{let C,b;return new Promise((p,f)=>{C=this.http.post(this.ServerUrl,this.CurrentEmail),C.subscribe({next:S=>{b=S.data},complete:()=>{p(b)},error:S=>{f(S)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","AddEmail",this.Debug.Typen.Service)}}UpdateEmail(){try{let C,b;return new Promise((p,f)=>{delete this.CurrentEmail.__v,C=this.http.put(this.ServerUrl,this.CurrentEmail),C.subscribe({next:S=>{b=S.Email},complete:()=>{null!==b?p(b):f(new Error("Email auf Server nicht gefunden."))},error:S=>{f(S)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","UpdateEmail",this.Debug.Typen.Service)}}DeleteEmail(){try{let C;return this.CurrentEmail.Deleted=!0,new Promise((b,p)=>{C=this.http.put(this.ServerUrl,this.CurrentEmail),C.subscribe({next:f=>{},complete:()=>{b(!0)},error:f=>{p(f)}})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Outlookemail","DeleteStandort",this.Debug.Typen.Service)}}static \u0275fac=function(b){return new(b||y)(a.\u0275\u0275inject(u.DebugProvider),a.\u0275\u0275inject(e.ConstProvider),a.\u0275\u0275inject(l.DatabasePoolService),a.\u0275\u0275inject(c.HttpClient))};static \u0275prov=a.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},22848:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeiterService=void 0;const n=i(81316),o=n.__importDefault(i(35908)),d=n.__importStar(i(17964)),a=i(97048),u=n.__importStar(i(54496)),e=n.__importStar(i(34388)),l=n.__importStar(i(97048)),c=n.__importStar(i(29743)),g=n.__importStar(i(7992));h.DatabaseMitarbeiterService=(()=>{class _{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentMeinewoche;ServerMitarbeiterUrl;ServerRegistrierungUrl;ServerSettingsUrl;constructor(b,p,f,S){this.Debug=b,this.http=p,this.Const=f,this.Pool=S;try{this.ServerMitarbeiterUrl=this.Pool.CockpitserverURL+"/mitarbeiter",this.ServerSettingsUrl=this.Pool.CockpitserverURL+"/settings",this.ServerRegistrierungUrl=this.Pool.CockpitserverURL+"/registrierung",this.CurrentMeinewoche=this.GetEmptyMeinewocheeintrag()}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(b){try{let p,f,S;if(p=this.GetEmptyMitarbeiter(),null===b.surname&&(b.surname=""),null===b.givenName&&(b.givenName=""),null===b.jobTitle&&(b.jobTitle=""),null===b.officeLocation&&(b.officeLocation=""),null===b.mobilePhone&&(b.mobilePhone=""),f=d.isUndefined(b.jobTitle)?"":b.jobTitle,S=d.isUndefined(b.mobilePhone)?"":b.mobilePhone,p.UserID=b.id,p.Email=b.mail,p.Vorname=d.isUndefined(b.givenName)?"":b.givenName,p.Name=d.isUndefined(b.surname)?"":b.surname,p.Mobil=null===S?"":S,p.Jobtitel=null===f?"":f,!1===d.isUndefined(b.businessPhones)&&b.businessPhones.length>0&&(p.Telefon=b.businessPhones[0]),!1===d.isUndefined(b.officeLocation)&&null!==b.officeLocation){p.Location=null!==b.officeLocation?b.officeLocation:"";for(let E of this.Pool.Standorteliste)-1!==b.officeLocation.indexOf(E.Ort)&&(p.StandortID=E._id)}if(""===p.StandortID){let E=d.find(this.Pool.Standorteliste,{Ort:"Bamberg"});d.isUndefined(E)||(p.StandortID=E._id)}let v=null!==b.surname?b.surname.substring(0,2).toUpperCase():"",M=null!==b.givenName?b.givenName.substring(0,1).toUpperCase():"";return p.Kuerzel=v+""+M,p}catch(p){this.Debug.ShowErrorMessage(p,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(b){try{let p=0,f=0;for(let S of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(b){case"Montag":S.Montagseinsatz&&(p+=S.Montagsstunden,f+=S.Montagsminuten);break;case"Dienstag":S.Dienstagseinsatz&&(p+=S.Dienstagsstunden,f+=S.Dienstagsminuten);break;case"Mittwoch":S.Mittwochseinsatz&&(p+=S.Mittwochsstunden,f+=S.Mittwochsminuten);break;case"Donnerstag":S.Donnerstagseinsatz&&(p+=S.Donnerstagsstunden,f+=S.Donnerstagsminuten);break;case"Freitag":S.Freitagseinsatz&&(p+=S.Freitagsstunden,f+=S.Freitagsminuten)}return f+=60*p,0===f?"":"["+(f/60).toFixed(2)+" Std]"}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMeinewocheeintrag(){try{return{ProjektID:"",Projektkey:"",ProjektpunktID:"",Kalenderwoche:(0,o.default)().isoWeek(),Montagsstunden:0,Dienstagsstunden:0,Mittwochsstunden:0,Donnerstagsstunden:0,Freitagsstunden:0,Samstagsstunden:0,Montagsminuten:30,Dienstagsminuten:30,Mittwochsminuten:30,Donnerstagsminuten:30,Freitagsminuten:30,Samstagsminuten:30,Dienstagseinsatz:!1,Donnerstagseinsatz:!1,Freitagseinsatz:!1,Mittwochseinsatz:!1,Montagseinsatz:!1,Samstagseinsatz:!1}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","GetEmptyMeinewoche",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let b=(0,o.default)();return{_id:null,UserID:null,Anrede:this.Const.NONE,Urlaub:30,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:b.format("HH:mm DD.MM.YYYY"),Zeitstempel:b.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(b){try{let p=d.find(this.Pool.Mitarbeiterliste,{_id:b});return d.isUndefined(p)?"Unbekannt":p.Vorname+" "+p.Name}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){}FinishService(){}UpdateMitarbeiter(b){try{let p,S,f=new a.HttpParams;delete b.__v,f.set("id",b._id);for(let v of b.Urlaubsliste)v.Zeitspannen.sort((M,E)=>M.StartstempelE.Startstempel?1:0);return new Promise((v,M)=>{p=this.http.put(this.ServerMitarbeiterUrl,b),p.subscribe({next:E=>{S=E.Mitarbeiter},complete:()=>{null!==S?(this.CurrentMitarbeiter=S,this.Pool.Mitarbeiterdaten=S,this.Pool.MitarbeiterdatenChanged.emit(),this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):M(new Error("Mitarbeiter auf Server nicht gefunden.")),v(!0)},error:E=>{M(E)}})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(b){try{let p,S,f=new a.HttpParams;delete b.__v,f.set("id",b._id);for(let v of b.Urlaubsliste)v.Zeitspannen.sort((M,E)=>M.StartstempelE.Startstempel?1:0);return new Promise((v,M)=>{p=this.http.put(this.ServerMitarbeiterUrl,b),p.subscribe({next:E=>{S=E.Mitarbeiter},complete:()=>{null!==S?(this.UpdateMitarbeiterliste(S),this.Pool.MitarbeiterlisteChanged.emit(),v(!0)):M(new Error("Mitarbeiter auf Server nicht gefunden."))},error:E=>{M(E)}})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(b){try{let p;p=d.findIndex(this.Pool.Mitarbeiterliste,{_id:b._id}),-1!==p?(this.Pool.Mitarbeiterliste[p]=b,this.Debug.ShowMessage("Mitarbeiterliste updated: "+b.Name,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiter nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Service),this.Pool.Mitarbeiterliste.push(b)),this.Pool.Mitarbeiterliste=d.filter(this.Pool.Mitarbeiterliste,f=>!1===f.Deleted)}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeiter(b){try{let p,f;return new Promise((S,v)=>{console.log("POST new Mitarbeiter:"),console.log(b),p=this.http.post(this.ServerMitarbeiterUrl,b),p.subscribe({next:M=>{f=M.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(f),this.Pool.MitarbeiterlisteChanged.emit(),S(f)},error:M=>{v(M)}})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}RegisterMitarbeiter(){try{let b,p,f=new a.HttpHeaders({"content-type":"application/json"});return new Promise((S,v)=>{b=this.http.post(this.ServerRegistrierungUrl,this.CurrentMitarbeiter,{headers:f}),b.subscribe({next:M=>{p=M},complete:()=>{S(p)},error:M=>{v(M)}})})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Mitarbeiter","RegisterMitarbeiter",this.Debug.Typen.Page)}}CheckMitarbeiterExists(b){try{return-1!==d.findIndex(this.Pool.Mitarbeiterliste,{Email:b})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(b){try{let p=d.find(this.Pool.Mitarbeiterliste,{Email:b});return d.isUndefined(p)?null:p}catch(p){this.Debug.ShowErrorMessage(p,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(b){try{let p=d.find(this.Pool.Mitarbeiterliste,{_id:b});return d.isUndefined(p)?null:p}catch(p){this.Debug.ShowErrorMessage(p,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(b){try{let p,S,f=new a.HttpParams({fromObject:{email:b}});return new Promise((v,M)=>{p=this.http.get(this.ServerMitarbeiterUrl,{params:f}),p.subscribe({next:E=>{S=E},complete:()=>{v(S)},error:E=>{M(E)}})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(b){try{return b.Deleted=!0,this.UpdateMitarbeiter(b)}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}static \u0275fac=function(p){return new(p||_)(u.\u0275\u0275inject(e.DebugProvider),u.\u0275\u0275inject(l.HttpClient),u.\u0275\u0275inject(c.ConstProvider),u.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},15024:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseMitarbeitersettingsService=void 0;const n=i(81316),o=n.__importStar(i(17964)),d=i(97048),a=n.__importStar(i(54496)),u=n.__importStar(i(34388)),e=n.__importStar(i(97048)),l=n.__importStar(i(29743)),c=n.__importStar(i(97092)),g=n.__importStar(i(7992));h.DatabaseMitarbeitersettingsService=(()=>{class _{Debug;http;Const;AuthService;Pool;ServerSettingsUrl;constructor(b,p,f,S,v){this.Debug=b,this.http=p,this.Const=f,this.AuthService=S,this.Pool=v;try{this.ServerSettingsUrl=this.Pool.CockpitserverURL+"/settings/"}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let b;return new Promise((p,f)=>{null===this.Pool.Mitarbeitersettings._id?(b=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),b.subscribe({next:S=>{this.Pool.Mitarbeitersettings=S.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),p(this.Pool.Mitarbeitersettings)},error:S=>{f(S)}})):(delete this.Pool.Mitarbeitersettings.__v,b=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),b.subscribe({next:S=>{this.Pool.Mitarbeitersettings=S.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),p(this.Pool.Mitarbeitersettings)},error:S=>{f(S)}}))})}catch(b){this.Debug.ShowErrorMessage(b.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(b,p){try{let f,v;return(new d.HttpParams).set("id",b._id),null!==p&&null!==p.ProjektID&&(v=o.findIndex(b.Aufgabenansicht,{ProjektID:p.ProjektID}),-1===v&&b.Aufgabenansicht.push(p)),delete b.__v,new Promise((M,E)=>{f=this.http.put(this.ServerSettingsUrl,b),f.subscribe({next:A=>{this.Pool.Mitarbeitersettings=A.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(b),M(!0)},error:A=>{E(A)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(b){try{let p;p=o.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:b._id}),-1!==p?(this.Pool.Mitarbeitersettingsliste[p]=b,this.Debug.ShowMessage("Mitarbeitersettingsliste updated: "+b.MitarbeiterID,"Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeitersetting nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeitersettings","UpdateMitarbeitersettingsliste",this.Debug.Typen.Service),this.Pool.Mitarbeitersettingsliste.push(b)),this.Pool.Mitarbeitersettingsliste=o.filter(this.Pool.Mitarbeitersettingsliste,f=>!1===f.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(b){try{let p,f;return new Promise((S,v)=>{p=this.http.post(this.ServerSettingsUrl,b),p.subscribe({next:M=>{b=M.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(b),this.Pool.MitarbeitersettingslisteChanged.emit(),S(f)},error:M=>{v(M)}})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(p){return new(p||_)(a.\u0275\u0275inject(u.DebugProvider),a.\u0275\u0275inject(e.HttpClient),a.\u0275\u0275inject(l.ConstProvider),a.\u0275\u0275inject(c.DatabaseAuthenticationService),a.\u0275\u0275inject(g.DatabasePoolService))};static \u0275prov=a.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},7992:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabasePoolService=void 0;const o=i(81316),d=i(54496),a=i(97048),u=i(16213),e=o.__importStar(i(17964)),l=i(36716),c=i(44180),g=o.__importStar(i(54496)),y=o.__importStar(i(34388)),_=o.__importStar(i(29743)),C=o.__importStar(i(97092)),b=o.__importStar(i(97048));h.DatabasePoolService=(()=>{class f{Debug;Const;AuthService;Http;Standorteliste;Mitarbeiterliste;Projektpunkteliste;DeletedProjektpunkteliste;Protokollliste;Bautagebuchliste;LOPListe;Notizenkapitelliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;CurrentAufgabenansichten;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;Outlookkatekorien;ContacsSubscriptionURl;Fachbereich;Festlegungskategorienliste;ProjektdatenLoaded;Emailcontentvarinaten;Simontabellenliste;StandortelisteChanged=new d.EventEmitter;MitarbeiterlisteChanged=new d.EventEmitter;MitarbeiterdatenChanged=new d.EventEmitter;MitarbeitersettingslisteChanged=new d.EventEmitter;MitarbeitersettingsChanged=new d.EventEmitter;LoadingAllDataFinished=new d.EventEmitter;ProjektpunktelisteChanged=new d.EventEmitter;ProjektpunktStatusChanged=new d.EventEmitter;ProjektpunktKostengruppeChanged=new d.EventEmitter;ProtokolllisteChanged=new d.EventEmitter;ProtokollprojektpunktChanged=new d.EventEmitter;LOPListeprojektpunktChanged=new d.EventEmitter;ProjektpunktChanged=new d.EventEmitter;ChangeloglisteChanged=new d.EventEmitter;BautagebuchlisteChanged=new d.EventEmitter;EmailempfaengerChanged=new d.EventEmitter;LOPListeChanged=new d.EventEmitter;MitarbeiterAuswahlChanged=new d.EventEmitter;BeteiligteAuswahlChanged=new d.EventEmitter;CurrentBeteiligtenChanged=new d.EventEmitter;NotizenkapitellisteChanged=new d.EventEmitter;CurrentLOPGewerkelisteChanged=new d.EventEmitter;FestlegungskategorienlisteChanged=new d.EventEmitter;CurrentFestlegungskategorieChanged=new d.EventEmitter;SimontabelleChanged=new d.EventEmitter;SimontabellenlisteChanged=new d.EventEmitter;Signatur;constructor(v,M,E,A){this.Debug=v,this.Const=M,this.AuthService=E,this.Http=A;try{this.Emailcontentvarinaten={NONE:this.Const.NONE,Protokoll:"Protokoll",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",LOPListe:"LOPListe",Aufgabenliste:"Aufgabenliste",Simontabelle:"Simontabelle"},this.Mitarbeiterdaten=null,this.MitarbeiterdatenHasError=!0,this.Mitarbeitersettings=null,this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Projektpunkteliste=[],this.Projektpunkteliste=[],this.Protokollliste=[],this.Changlogliste=[],this.Bautagebuchliste=[],this.LOPListe=[],this.Notizenkapitelliste=[],this.Outlookkatekorien=[],this.Simontabellenliste=[],this.CockpitserverURL=!0===l.environment.production?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===l.environment.production?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.ContacsSubscriptionURl=this.CockpitserverURL+"/subscription",this.Fachbereich=new c.Fachbereiche,this.CurrentAufgabenansichten=null,this.Festlegungskategorienliste=[],this.DeletedProjektpunkteliste=[],this.ProjektdatenLoaded=!1,this.Signatur='\n Beste Gr\xfc\xdfe,

\n [Name]
\n [Jobtitel]

\n
\n \n BAE-GmbH
\n Ein Unternehmen der BAE GROUP\n
\n \n \n \n \n \n \n \n
[Strasse]
[Ort]
Telefon:[Telefon]
Mobil:[Mobil]
Email:[Email]
Web:www.bae-group.eu
\n

\n \n BAE GmbH, Sitz: Coburg, Amtsgericht Coburg, HRB 6357.
\n Gesch\xe4ftsf\xfchrer J\xfcrgen Kerscher, Michael H\xf6lzle
\n Standorte BAE GROUP: Frankfurt, Berlin, M\xfcnchen, Coburg, Bamberg, Deggendorf, Sofia, Varna
\n
\n
\n \n \n \n \n \n \n \n
\n Der Inhalt dieser E-Mail ist ausschlie\xdflich f\xfcr den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen\n Vertreter sein sollten, so beachten Sie, dass jede Form der Kenntnis- und Vorteilsnahme, Ver\xf6ffentlichung, Vervielf\xe4ltigung oder Weitergabe des\n Inhalts dieser Mail unzul\xe4ssig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen. Aussagen gegen\xfcber\n dem Adressaten unterliegen den Regelungen des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den Allgemeinen Auftragsbedingungen und der\n individuellen Haftungsvereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er unsererseits durch einen Brief entsprechend best\xe4tigt wird.\n Die Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir m\xf6chten Sie au\xdferdem darauf hinweisen, dass die Kommunikation per E-Mail \xfcber das\n Internet unsicher ist, da f\xfcr unberechtigte Dritte grunds\xe4tzlich die M\xf6glichkeit der Kenntnisnahme und Manipulation besteht.\n
\n The information contained in this email is intended exclusively for the addressee. Access to this email by anyone else is unauthorized. If you are not\n the intended recipient or his representative, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it,\n is prohibited. Please notify the sender immediately. All statements directed via this email to our clients are subject to the conditions of the submitted\n offer respectively order, in particular to the General Terms and Conditions and to the individual liability agreement between the parties. The content of\n this email is not legally binding unless confirmed by letter. The sending of emails to us will not constitute compliance with any time limits or deadlines.\n Please note that communication via email over the internet is insecure because third parties generally have the possibility to access and manipulate emails.\n
\n \n \n \n \n \n
PThink about Nature before you print!
\n '}catch(k){this.Debug.ShowErrorMessage(k.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(v,M){try{let I,j,E=this.Signatur,A=v.Telefon,k=v.Mobil,N=v.Email,F=v.Vorname+" "+v.Name,T=v.Jobtitel,P=e.find(this.Standorteliste,{_id:v.StandortID});return e.isUndefined(P)||(I=P.Strasse,j=P.PLZ+" "+P.Ort,E=E.replace("[Strasse]",I),E=E.replace("[Ort]",j)),E=E.replace("[Name]",F),E=E.replace("[Jobtitel]",T),E=E.replace("[Telefon]",A),E=E.replace("[Mobil]",k),E=E.split("[Email]").join(N),M&&(E=E.split("[Image]").join("assets/images/group_logo.png")),E}catch(E){this.Debug.ShowErrorMessage(E,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}GetAufgabenansichten(v){try{let M;return null!==this.Mitarbeitersettings&&(M=e.find(this.Mitarbeitersettings.Aufgabenansicht,{ProjektID:v})),e.isUndefined(M)&&(M={ProjektID:v,AufgabenShowAusfuehrung:!0,AufgabenShowBearbeitung:!0,AufgabenShowBilder:!0,AufgabenShowGeschlossen:!1,AufgabenShowMeilensteinOnly:!1,AufgabenShowOffen:!0,AufgabenShowPlanung:!0,AufgabenShowRuecklauf:!0,AufgabenShowMeilensteine:!0,AufgabenShowPlanungsmatrix:!1}),M}catch(M){this.Debug.ShowErrorMessage(M,"Database Pool","GetAufgabenansichten",this.Debug.Typen.Service)}}ReadProjektpunkteliste(v){try{let M,E,A;return this.Projektpunkteliste[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey,deleted:!1}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/projektpunkte",{headers:E,params:M}),A.subscribe({next:F=>{this.Projektpunkteliste[v.Projektkey]=F},complete:()=>{this.Debug.ShowMessage("Read Projektpunkte liste von "+v.Projektkurzname+" fertig.","Database Pool","ReadProjektpunkteliste",this.Debug.Typen.Service),this.Projektpunkteliste[v.Projektkey].forEach(F=>{e.isUndefined(F.Zeitansatz)&&(F.Zeitansatz=30),e.isUndefined(F.Zeitansatz)&&(F.Zeitansatz=30),e.isUndefined(F.Zeitansatzeinheit)&&(F.Zeitansatzeinheit=this.Const.Zeitansatzeinheitvarianten.Minuten),e.isUndefined(F.Geschlossenzeitstempel)&&(F.Geschlossenzeitstempel=null),e.isUndefined(F.Geschlossenzeitstring)&&(F.Geschlossenzeitstring=null),e.isUndefined(F.EndeKalenderwoche)&&(F.EndeKalenderwoche=null),e.isUndefined(F.LOPListeID)&&(F.LOPListeID=null),e.isUndefined(F.Prioritaet)&&(F.Prioritaet=null),e.isUndefined(F.Thematik)&&(F.Thematik=""),e.isUndefined(F.EmailID)&&(F.EmailID=null),e.isUndefined(F.Leistungsphase)&&(F.Leistungsphase=this.Const.Leistungsphasenvarianten.LPH3),e.isUndefined(F.OutlookkatgorieID)&&(F.OutlookkatgorieID=this.Const.NONE),e.isUndefined(F.PlanungsmatrixID)&&(F.PlanungsmatrixID=null),e.isUndefined(F.AufgabenbereichID)&&(F.AufgabenbereichID=null),e.isUndefined(F.AufgabenteilbereichID)&&(F.AufgabenteilbereichID=null),e.isUndefined(F.Matrixanwendung)&&(F.Matrixanwendung=!1),e.isUndefined(F.Bilderliste)&&(F.Bilderliste=[]),e.isUndefined(F.ProtokollShowBilder)&&(F.ProtokollShowBilder=!0),e.isUndefined(F.Thumbnailsize)&&(F.Thumbnailsize="small"),e.isUndefined(F.Ruecklaufreminderliste)&&(F.Ruecklaufreminderliste=[]),e.isUndefined(F.LV_relevant)&&(F.LV_relevant=!0),e.isUndefined(F.Planung_relevant)&&(F.Planung_relevant=!0),e.isUndefined(F.LV_Eintrag)&&(F.LV_Eintrag=!1),e.isUndefined(F.Planung_Eintrag)&&(F.Planung_Eintrag=!1),F.Anmerkungenliste.forEach(T=>{T.LiveEditor=!1})}),k(!0)},error:F=>{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadProjektpunkteliste",this.Debug.Typen.Service)}}ReadDeletedProjektpunkteliste(v){try{let M,E,A;return this.DeletedProjektpunkteliste[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey,deleted:!0}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/projektpunkte",{headers:E,params:M}),A.subscribe({next:F=>{this.DeletedProjektpunkteliste[v.Projektkey]=F},complete:()=>{this.Debug.ShowMessage("Read gel\xf6schte Projektpunkte liste von "+v.Projektkurzname+" fertig.","Database Pool","ReadDeletedProjektpunkteliste",this.Debug.Typen.Service),k(!0)},error:F=>{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadDeletedProjektpunkteliste",this.Debug.Typen.Service)}}ReadProtokollliste(v){try{let M,E,A;return this.Protokollliste[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/protokolle",{headers:E,params:M}),A.subscribe({next:F=>{this.Protokollliste[v.Projektkey]=F},complete:()=>{this.Debug.ShowMessage("Read Protokollliste von "+v.Projektkurzname+" fertig.","Database Pool","ReadProtokollliste",this.Debug.Typen.Service),k(!0)},error:F=>{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadProtokollliste",this.Debug.Typen.Service)}}ReadLOPListe(v){try{let M,E,A;return this.LOPListe[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/lopliste",{headers:E,params:M}),A.subscribe({next:F=>{this.LOPListe[v.Projektkey]=F},complete:()=>{this.Debug.ShowMessage("Read LOP Liste von "+v.Projektkurzname+" fertig.","Database Pool","ReadLOPListe",this.Debug.Typen.Service),k(!0)},error:F=>{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadLOPListe",this.Debug.Typen.Service)}}ReadNotizenkapitelliste(v){try{let M,E,A;return this.Notizenkapitelliste[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/notizenkapitel",{headers:E,params:M}),A.subscribe({next:F=>{this.Notizenkapitelliste[v.Projektkey]=F},complete:()=>{this.Notizenkapitelliste[v.Projektkey].sort((F,T)=>F.TitelT.Titel?1:0),this.Debug.ShowMessage("Read Notizenliste von "+v.Projektkurzname+" fertig.","Database Pool","NotizenkReadNotizenkapitellisteapitelroutsClass",this.Debug.Typen.Service),k(!0)},error:F=>{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadNotizenkapitelliste",this.Debug.Typen.Service)}}ReadFestlegungskategorieliste(v){try{let M,E,A;return this.Festlegungskategorienliste[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/festlegungskategorie",{headers:E,params:M}),A.subscribe({next:F=>{this.Festlegungskategorienliste[v.Projektkey]=F},complete:()=>{this.Debug.ShowMessage("Read Festlegungskategorieliste von "+v.Projektkurzname+" fertig.","Database Pool","ReadFestlegungskategorieliste",this.Debug.Typen.Service),k(!0)},error:F=>{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadFestlegungskategorieliste",this.Debug.Typen.Service)}}ReadSimontabellen(v){try{let M,E,A,k;return this.Simontabellenliste[v.Projektkey]=[],new Promise((N,F)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey}}),E=new a.HttpHeaders({"content-type":"application/json"}),k=this.Http.get(this.CockpitserverURL+"/simontabellen",{headers:E,params:M}),k.subscribe({next:T=>{this.Simontabellenliste[v.Projektkey]=T},complete:()=>{for(A of this.Simontabellenliste[v.Projektkey]){e.isUndefined(A.Sicherheitseinbehalt)&&(A.Sicherheitseinbehalt=5);for(let T of A.Rechnungen)e.isUndefined(T.Verfasser)&&(T.Verfasser={Name:this.Mitarbeiterdaten.Name,Vorname:this.Mitarbeiterdaten.Vorname,Email:this.Mitarbeiterdaten.Email}),e.isUndefined(T.GesendetZeitstempel)&&(T.GesendetZeitstempel=null),e.isUndefined(T.EmpfaengerInternIDListe)&&(T.EmpfaengerInternIDListe=[],T.EmpfaengerInternIDListe.push(this.Mitarbeiterdaten._id)),e.isUndefined(T.EmpfaengerExternIDListe)&&(T.EmpfaengerExternIDListe=[]),e.isUndefined(T.GesendetZeitstring)&&(T.GesendetZeitstring=null)}this.Debug.ShowMessage("Read Simontabellenliste von "+v.Projektkurzname+" fertig.","Database Pool","ReadSimontabellen",this.Debug.Typen.Service),N(!0)},error:T=>{F(T)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadSimontabellen",this.Debug.Typen.Service)}}ReadBautagebuchliste(v){try{let M,E,A;return this.Bautagebuchliste[v.Projektkey]=[],new Promise((k,N)=>{M=new a.HttpParams({fromObject:{projektkey:v.Projektkey}}),E=new a.HttpHeaders({"content-type":"application/json"}),A=this.Http.get(this.CockpitserverURL+"/bautagebuch",{headers:E,params:M}),A.subscribe({next:F=>{this.Bautagebuchliste[v.Projektkey]=F},complete:()=>{this.Bautagebuchliste[v.Projektkey].forEach(F=>{e.isUndefined(F.GesendetZeitstring)&&(F.GesendetZeitstring=this.Const.NONE),e.isUndefined(F.GesendetZeitstempel)&&(F.GesendetZeitstempel=null),e.isUndefined(F.BeteiligtInternIDListe)&&(F.BeteiligtInternIDListe=[this.Mitarbeiterdaten._id])}),this.Bautagebuchliste[v.Projektkey].sort((F,T)=>F.Zeitstempel>T.Zeitstempel?-1:F.Zeitstempel{N(F)}})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","ReadProtokollliste",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let v=new a.HttpHeaders({"content-type":"application/json"});return new Promise((M,E)=>{this.Http.get(this.CockpitserverURL+"/mitarbeiter",{headers:v}).subscribe({next:k=>{this.Mitarbeiterliste=k},complete:()=>{for(let k of this.Mitarbeiterliste)k=this.InitMitarbeiter(k);this.MitarbeiterlisteChanged.emit(),M(!0)},error:k=>{console.log(k.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),E(k)}})})}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}StartContacsSubscription(){try{let v;return new Promise((M,E)=>{console.log("Start Contacs Subscription"),v=this.Http.post(this.ContacsSubscriptionURl,{}),v.subscribe({next:A=>{},complete:()=>{},error:A=>{E(A)}})})}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","StartContacsSubscription",this.Debug.Typen.Service)}}TestServerconnection(){try{this.Changlogliste=[];let v=new a.HttpHeaders({"content-type":"application/json"});return new Promise((M,E)=>{this.Http.get(this.CockpitserverURL+"/",{headers:v}).subscribe({next:k=>{},complete:()=>{M(!0)},error:k=>{E(k)}})})}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","TestServerconnection",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let v=new a.HttpHeaders({"content-type":"application/json"});return new Promise((M,E)=>{this.Http.get(this.CockpitserverURL+"/changelog",{headers:v}).subscribe({next:k=>{this.Changlogliste=k},complete:()=>{this.Changlogliste.sort((k,N)=>k.Zeitstempel>N.Zeitstempel?-1:k.Zeitstempel{E(k)}})})}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let v=new a.HttpHeaders({"content-type":"application/json"});return new Promise((M,E)=>{this.Http.get(this.CockpitserverURL+"/standorte",{headers:v}).subscribe({next:k=>{this.Standorteliste=k},complete:()=>{for(let k of this.Standorteliste)e.isUndefined(k.Konfession)&&(k.Konfession="RK"),e.isUndefined(k.Bundesland)&&(k.Bundesland="DE-BY"),e.isUndefined(k.Land)&&(k.Land="DE");this.StandortelisteChanged.emit(),M(!0)},error:k=>{E(k)}})})}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let v=new a.HttpHeaders({"content-type":"application/json"});return new Promise((M,E)=>{this.Http.get(this.CockpitserverURL+"/settings",{headers:v}).subscribe({next:k=>{this.Mitarbeitersettingsliste=k},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),M(!0)},error:k=>{E(k)}})})}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(v){try{e.isUndefined(v.SettingsID)&&(v.SettingsID=null),e.isUndefined(v.Archiviert)&&(v.Archiviert=!1),e.isUndefined(v.Meintagliste)&&(v.Meintagliste=[]),e.isUndefined(v.Meinewocheliste)&&(v.Meinewocheliste=[]),e.isUndefined(v.Anrede)&&(v.Anrede=this.Const.NONE),e.isUndefined(v.Urlaub)&&(v.Urlaub=30),e.isUndefined(v.Urlaubsliste)&&(v.Urlaubsliste=[]),e.isUndefined(v.Urlaubsfreigaben)&&(v.Urlaubsfreigaben=!1),e.isUndefined(v.Planeradministrator)&&(v.Planeradministrator=!1),e.isUndefined(v.Urlaubsfreigaben)&&(v.Urlaubsfreigaben=!1),e.isUndefined(v.Homeofficefreigaben)&&(v.Homeofficefreigaben=!1);for(let M of v.Meinewocheliste)e.isUndefined(M.Kalenderwoche)&&(M.Kalenderwoche=0);return v.Urlaubsliste.sort((M,E)=>M.JahrE.Jahr?1:0),v}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(v){this.Debug.ShowErrorMessage(v,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}ReadProjektdaten(v){var M=this;return n(function*(){try{let E=9;M.ShowProgress=!0,M.MaxProgressValue=v.length*E,M.CurrentProgressValue=0,M.Projektpunkteliste=[],M.Protokollliste=[],M.Bautagebuchliste=[],M.LOPListe=[];try{M.ProgressMessage="Projektpunkte Musterprojekt";for(let A of v)M.ProgressMessage="Projektpunkte "+A.Projektkurzname,yield M.ReadProjektpunkteliste(A),M.CurrentProgressValue++,yield M.ReadDeletedProjektpunkteliste(A),M.CurrentProgressValue++,M.ProgressMessage="Protokolle "+A.Projektkurzname,yield M.ReadProtokollliste(A),M.CurrentProgressValue++,M.ProgressMessage="Bautageb\xfccher "+A.Projektkurzname,yield M.ReadBautagebuchliste(A),M.CurrentProgressValue++,M.ProgressMessage="LOP Liste "+A.Projektkurzname,yield M.ReadLOPListe(A),M.CurrentProgressValue++,M.ProgressMessage="Notizenkapitel Liste "+A.Projektkurzname,yield M.ReadNotizenkapitelliste(A),M.CurrentProgressValue++,M.ProgressMessage="Festlegungskategorien Liste "+A.Projektkurzname,yield M.ReadFestlegungskategorieliste(A),M.CurrentProgressValue++,M.ProgressMessage="Simontabellen Liste "+A.Projektkurzname,yield M.ReadSimontabellen(A),M.CurrentProgressValue++}catch(A){return M.ShowProgress=!1,Promise.reject(A)}M.ProjektpunktelisteChanged.emit(),M.ProtokolllisteChanged.emit(),M.BautagebuchlisteChanged.emit(),M.LOPListeChanged.emit(),M.NotizenkapitellisteChanged.emit(),M.SimontabellenlisteChanged.emit(),M.CurrentProgressValue=M.MaxProgressValue,M.ShowProgress=!1}catch(E){M.Debug.ShowErrorMessage(E.message,"Database Pool","ReadProjektdaten",M.Debug.Typen.Service)}})()}GetNewUniqueID(){try{return(0,u.v4)()}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","GetNewUniqueID",this.Debug.Typen.Service)}}GetNewMitarbeitersettings(){try{return{_id:null,MitarbeiterID:null,FavoritenID:null,ProjektID:null,Favoritprojektindex:null,Zoomfaktor:100,Textsize:14,StandortFilter:null,LeistungsphaseFilter:this.Const.Leistungsphasenvarianten.UNBEKANNT,Aufgabenansicht:[],Deleted:!1,HeadermenueMaxFavoriten:6,AufgabenSortiermodus:this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend,AufgabenMeilensteineNachlauf:2,AufgabenShowMeilensteine:!0,AufgabenShowNummer:!1,AufgabenShowStartdatum:!1,AufgabenShowAufgabe:!0,AufgabenShowBemerkung:!0,AufgabenShowTage:!0,AufgabenShowTermin:!0,AufgabenShowStatus:!0,AufgabenShowFortschritt:!1,AufgabenShowZustaendig:!0,AufgabenShowMeintag:!0,AufgabenShowZeitansatz:!1,AufgabenShowMeinewoche:!0,UrlaubShowBeantragt:!0,UrlaubShowVertreterfreigabe:!0,UrlaubShowGenehmigt:!0,UrlaubShowAbgelehnt:!0,UrlaubShowFerien_DE:!0,UrlaubShowFeiertage_DE:!0,UrlaubShowFerien_BG:!0,UrlaubShowFeiertage_BG:!0,UrlaubShowMeinenUrlaub:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let v;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(v=e.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),e.isUndefined(v)?this.GetNewMitarbeitersettings():(e.isUndefined(v.Favoritprojektindex)&&(v.Favoritprojektindex=3e3),e.isUndefined(v.HeadermenueMaxFavoriten)&&(v.HeadermenueMaxFavoriten=6),e.isUndefined(v.Zoomfaktor)&&(v.Zoomfaktor=100),e.isUndefined(v.Textsize)&&(v.Textsize=14),e.isUndefined(v.Deleted)&&(v.Deleted=!1),e.isUndefined(v.AufgabenShowNummer)&&(v.AufgabenShowNummer=!0),e.isUndefined(v.AufgabenShowStartdatum)&&(v.AufgabenShowStartdatum=!0),e.isUndefined(v.AufgabenShowAufgabe)&&(v.AufgabenShowAufgabe=!0),e.isUndefined(v.AufgabenShowBemerkung)&&(v.AufgabenShowBemerkung=!0),e.isUndefined(v.AufgabenShowTage)&&(v.AufgabenShowTage=!0),e.isUndefined(v.AufgabenShowTermin)&&(v.AufgabenShowTermin=!0),e.isUndefined(v.AufgabenShowStatus)&&(v.AufgabenShowStatus=!0),e.isUndefined(v.AufgabenShowFortschritt)&&(v.AufgabenShowFortschritt=!0),e.isUndefined(v.AufgabenShowZustaendig)&&(v.AufgabenShowZustaendig=!0),e.isUndefined(v.AufgabenShowMeintag)&&(v.AufgabenShowMeintag=!0),e.isUndefined(v.AufgabenShowZeitansatz)&&(v.AufgabenShowZeitansatz=!0),e.isUndefined(v.AufgabenShowMeinewoche)&&(v.AufgabenShowMeinewoche=!0),e.isUndefined(v.Aufgabenansicht)&&(v.Aufgabenansicht=[]),e.isUndefined(v.AufgabenTerminfiltervariante)&&(v.AufgabenTerminfiltervariante=null),e.isUndefined(v.AufgabenTerminfilterStartwert)&&(v.AufgabenTerminfilterStartwert=null),e.isUndefined(v.AufgabenTerminfilterEndewert)&&(v.AufgabenTerminfilterEndewert=null),e.isUndefined(v.AufgabenSortiermodus)&&(v.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),e.isUndefined(v.AufgabenMeilensteineNachlauf)&&(v.AufgabenMeilensteineNachlauf=2),e.isUndefined(v.LOPListeGeschlossenZeitfilter)&&(v.LOPListeGeschlossenZeitfilter=14),e.isUndefined(v.LeistungsphaseFilter)&&(v.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),e.isUndefined(v.OberkostengruppeFilter)&&(v.OberkostengruppeFilter=null),e.isUndefined(v.UnterkostengruppeFilter)&&(v.UnterkostengruppeFilter=null),e.isUndefined(v.HauptkostengruppeFilter)&&(v.HauptkostengruppeFilter=null),e.isUndefined(v.UrlaubShowBeantragt)&&(v.UrlaubShowBeantragt=!0),e.isUndefined(v.UrlaubShowVertreterfreigabe)&&(v.UrlaubShowVertreterfreigabe=!0),e.isUndefined(v.UrlaubShowGenehmigt)&&(v.UrlaubShowGenehmigt=!0),e.isUndefined(v.UrlaubShowAbgelehnt)&&(v.UrlaubShowAbgelehnt=!0),e.isUndefined(v.UrlaubShowFerien_DE)&&(v.UrlaubShowFerien_DE=!0),e.isUndefined(v.UrlaubShowFerien_BG)&&(v.UrlaubShowFerien_BG=!0),e.isUndefined(v.UrlaubShowFeiertage_DE)&&(v.UrlaubShowFeiertage_DE=!0),e.isUndefined(v.UrlaubShowFeiertage_BG)&&(v.UrlaubShowFeiertage_BG=!0),e.isUndefined(v.UrlaubShowMeinenUrlaub)&&(v.UrlaubShowMeinenUrlaub=!0),this.CurrentAufgabenansichten=this.GetAufgabenansichten(null),v))}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||f)(g.\u0275\u0275inject(y.DebugProvider),g.\u0275\u0275inject(_.ConstProvider),g.\u0275\u0275inject(C.DatabaseAuthenticationService),g.\u0275\u0275inject(b.HttpClient))};static \u0275prov=g.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},58864:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseStandorteService=void 0;const n=i(81316),o=i(54496),d=n.__importStar(i(17964)),a=i(97048),u=n.__importDefault(i(35908)),e=i(16213),l=n.__importStar(i(54496)),c=n.__importStar(i(34388)),g=n.__importStar(i(7992)),y=n.__importStar(i(29743)),_=n.__importStar(i(97048));h.DatabaseStandorteService=(()=>{class b{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new o.EventEmitter;ServerUrl;constructor(f,S,v,M){this.Debug=f,this.Pool=S,this.Const=v,this.http=M;try{this.CurrentStandort=null,this.CurrentStandortfilter=null,this.ServerUrl=this.Pool.CockpitserverURL+"/standorte"}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Standorte","constructor",this.Debug.Typen.Service)}}InitService(){try{let f;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),f&&(this.CurrentStandortfilter=d.cloneDeep(f))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(f=d.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===d.isUndefined(f)&&(this.Pool.Mitarbeiterstandort=f)):this.Pool.Mitarbeiterstandort=null,this.StandortfilterChanged.emit()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(f){try{let S;return S=d.find(this.Pool.Standorteliste,{_id:f}),d.isUndefined(S)?"unbekannt":S.Kuerzel+" - "+S.Ort}catch(S){this.Debug.ShowErrorMessage(S.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let f=(0,u.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Zeitstempel:f.valueOf(),Zeitpunkt:f.format("DD.MM.YYYY")}}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let f=this.CurrentStandort.Kuerzel;return f=f.replace(/ /g,"_"),f=f.replace(/-/g,"_"),f=f.replace(/./g,"_"),f+"_"+(0,e.v4)()}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let f,S;return new Promise((v,M)=>{f=this.http.post(this.ServerUrl,this.CurrentStandort),f.subscribe({next:E=>{S=E.data},complete:()=>{this.UpdateStandortliste(S),this.Pool.StandortelisteChanged.emit(),v(!0)},error:E=>{M(E)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(f){try{let S;S=d.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==S?(this.Pool.Standorteliste[S]=f,this.Debug.ShowMessage("Standortliste updated: "+f.Standort,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Standort nicht gefunden -> neuen Standort hinzuf\xfcgen","Database Standorte","UpdateStandortliste",this.Debug.Typen.Service),this.Pool.Standorteliste.push(f)),this.Pool.Standorteliste=d.filter(this.Pool.Standorteliste,v=>!1===v.Deleted)}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let f;return(new a.HttpParams).set("id",this.CurrentStandort._id),new Promise((v,M)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:E=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),v(!0)},error:E=>{M(E)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let f;return this.CurrentStandort.Deleted=!0,new Promise((S,v)=>{f=this.http.put(this.ServerUrl,this.CurrentStandort),f.subscribe({next:M=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),S(!0)},error:M=>{v(M)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(S){return new(S||b)(l.\u0275\u0275inject(c.DebugProvider),l.\u0275\u0275inject(g.DatabasePoolService),l.\u0275\u0275inject(y.ConstProvider),l.\u0275\u0275inject(_.HttpClient))};static \u0275prov=l.\u0275\u0275defineInjectable({token:b,factory:b.\u0275fac,providedIn:"root"})}return b})()},9544:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.DatabaseUrlaubService=void 0;const o=i(81316),d=i(54496),a=o.__importStar(i(17964)),u=o.__importDefault(i(35908)),e=o.__importStar(i(54496)),l=o.__importStar(i(34388)),c=o.__importStar(i(7992)),g=o.__importStar(i(29743)),y=o.__importStar(i(8608)),_=o.__importStar(i(22848)),C=o.__importStar(i(14652)),b=o.__importStar(i(97048));h.DatabaseUrlaubService=(()=>{class f{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new d.EventEmitter;ExterneUrlaubeChanged=new d.EventEmitter;UrlaubStatusChanged=new d.EventEmitter;Bundeslandkuerzel;Bundesland;Regionenliste;Jahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentZeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Freigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Anfragenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};Urlaubsfaben={Geplant:"#307ac1",Vertreterfreigabe:"orange",Vertreteranfrage:"#04B4AE",Vertreterablehnung:"#8A0886",Abgelehnt:"red",Genehmigt:"green",Ferien_DE:"#999999",Ferien_BG:"#999999",Feiertage_DE:"#454545",Feiertage_BG:"#454545",Wochenende:"#34495E"};constructor(v,M,E,A,k,N,F){this.Debug=v,this.Pool=M,this.Const=E,this.Graph=A,this.DBMitarbeiter=k,this.Basics=N,this.http=F;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.Jahr=(0,u.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Freigabenliste=[],this.CurrentMonatindex=(0,u.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentZeitspanne=null,this.Laendercode="DE",this.ShowFeiertage_DE=!1,this.ShowFeiertage_BG=!1,this.ShowFerientage_DE=!1,this.ShowFerientage_BG=!1,this.Ferienfarbe_DE=this.Const.NONE,this.Feiertagefarbe_DE=this.Const.NONE,this.UrlaublisteExtern=[],this.Vertretrungliste=[],this.Anfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.CurrentMitarbeiter=null,this.CorrectSetup=!1,this.Officeemailadress="office@b-a-e.eu",this.Monateliste=["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]}catch(T){this.Debug.ShowErrorMessage(T.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(v){try{this.CurrentMitarbeiter=a.cloneDeep(v)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{this.CorrectSetup=null!==this.CurrentUrlaub&&null!==this.CurrentMitarbeiter&&null!==this.CurrentUrlaub.FreigeberID&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let v,M,E;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Freigabenliste=[],null!==this.CurrentMitarbeiter)for(let A of this.Pool.Mitarbeiterliste)if(A._id!==this.CurrentMitarbeiter._id&&(v=a.find(A.Urlaubsliste,k=>k.Jahr===this.Jahr&&k.FreigeberID===this.CurrentMitarbeiter._id),!a.isUndefined(v))){M=!1,E=!1;for(let k of v.Zeitspannen)k=this.InitZeitspanne(k),!0===this.CheckFreigabeanwortAge(k)&&(k.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||k.Status===this.Urlaubstatusvarianten.Abgelehnt||k.Status===this.Urlaubstatusvarianten.Genehmigt)&&a.isUndefined(a.find(this.Freigabenliste,{_id:A._id}))&&(this.Freigabenliste.push(A),k.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?M=!0:E=!0);!0===M&&(this.Anfragenanzahl++,this.Freigabenanfragenanzahl++),!0===E&&(this.Antwortenanzahl++,this.Freigabenantwortenanzahl++)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}ResetRequest(v,M){var E=this;return n(function*(){try{if(null!==M){for(let k of M.Zeitspannen)k.Status=E.Urlaubstatusvarianten.Geplant,k.VertreterantwortSended=!1,k.Vertretungmeldung="",k.Planungmeldung="",k.Vertretungantwortzeitstempel=null;let A=a.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[A]=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","ResetRequest",E.Debug.Typen.Service)}})()}CheckVertretungsanwortAge(v){try{let E,A,M=(0,u.default)().locale("de");return v.VertreterID!==this.CurrentMitarbeiter._id||!0!==v.VertreterantwortSended||v.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&v.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||null!==v.Vertretungantwortzeitstempel&&(E=(0,u.default)(v.Vertretungantwortzeitstempel).locale("de"),A=u.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckFreigabeanwortAge(v){try{let E,A,M=(0,u.default)().locale("de");return!0!==v.FreigabeantwortSended||v.Status!==this.Urlaubstatusvarianten.Genehmigt&&v.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==v.Freigabeantwortzeitstempel&&(E=(0,u.default)(v.Freigabeantwortzeitstempel).locale("de"),A=u.default.duration(M.diff(E)).asMinutes(),A<=180)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(v){try{let E,A,M=(0,u.default)().locale("de");return v.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&v.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==v.VertreterantwortSended||null===v.Vertretungantwortzeitstempel?0:(E=(0,u.default)(v.Vertretungantwortzeitstempel).locale("de"),A=u.default.duration(M.diff(E)).asMinutes(),A)}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let v,M,E,A;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let k of this.Pool.Mitarbeiterliste)if(k._id!==this.CurrentMitarbeiter._id&&(v=a.find(k.Urlaubsliste,{Jahr:this.Jahr}),!a.isUndefined(v))){E=!1,A=!1;for(let N of v.Zeitspannen)N=this.InitZeitspanne(N),N.VertreterID===this.CurrentMitarbeiter._id&&!0===this.CheckVertretungsanwortAge(N)&&(N.Status===this.Urlaubstatusvarianten.Vertreteranfrage||N.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||N.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(N.Status===this.Urlaubstatusvarianten.Vertreteranfrage?E=!0:A=!0,M=a.find(this.Vertretrungliste,{_id:k._id}),a.isUndefined(M)&&this.Vertretrungliste.push(k));!0===E&&(this.Vertretungsanfragenanzahl++,this.Anfragenanzahl++),!0===A&&(this.Vertretungsantwortenanzahl++,this.Antwortenanzahl++)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetStatuscolor(v){try{let M="none";switch(v){case this.Urlaubstatusvarianten.Geplant:M=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:M=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:M=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:M=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:M=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:M=this.Urlaubsfaben.Abgelehnt;break;default:M="#00FFFF"}return M}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","GetStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var v=this;return n(function*(){try{let E,T,M=1,A=(0,u.default)(),k=[],N=[],F=[];for(let I of v.CurrentUrlaub.Zeitspannen)I.Status===v.Urlaubstatusvarianten.Geplant&&null!==I.VertreterID&&-1===a.indexOf(k,I.VertreterID)&&(M++,k.push(I.VertreterID));for(let I of k)if(N=[],E=a.find(v.Pool.Mitarbeiterliste,{_id:I}),!a.isUndefined(E)){for(let j of v.CurrentUrlaub.Zeitspannen)j.Status===v.Urlaubstatusvarianten.Geplant&&j.VertreterID===I&&(N.push(j),j.Status=v.Urlaubstatusvarianten.Vertreteranfrage,j.Planungmeldung=A.format("DD.MM.YYYY")+" Vertretungsanfrage wurde an "+E.Vorname+" "+E.Name+" gesendet.");N=yield v.SendVertreteranfragen(v.CurrentMitarbeiter,E,N),F=F.concat(N)}for(let I of F)T=a.findIndex(v.CurrentUrlaub.Zeitspannen,{ZeitspannenID:I.ZeitspannenID}),v.CurrentUrlaub.Zeitspannen[T]=I;let P=a.findIndex(v.CurrentMitarbeiter.Urlaubsliste,{Jahr:v.Jahr});v.CurrentMitarbeiter.Urlaubsliste[P]=v.CurrentUrlaub,yield v.DBMitarbeiter.UpdateMitarbeiterUrlaub(v.CurrentMitarbeiter),v.UrlaubStatusChanged.emit()}catch(M){v.Debug.ShowErrorMessage(M,"Database Urlaub","UpdateVertreteranfragen",v.Debug.Typen.Service)}})()}UpdateVertreterantworten(v,M){var E=this;return n(function*(){try{let N,F,A=1,k=(0,u.default)().locale("de");for(let P of M.Zeitspannen)P.Status===E.Urlaubstatusvarianten.Vertreterablehnung&&!1===P.VertreterantwortSended&&(A+=1),P.Status===E.Urlaubstatusvarianten.Vertreterfreigabe&&!1===P.VertreterantwortSended&&(A+=2);N=a.find(E.Pool.Mitarbeiterliste,{_id:M.FreigeberID}),F=E.CurrentMitarbeiter;for(let P of M.Zeitspannen)P.Status!==E.Urlaubstatusvarianten.Vertreteranfrage&&!1===P.VertreterantwortSended&&(P.Status===E.Urlaubstatusvarianten.Vertreterfreigabe&&(P.Vertretungmeldung=k.format("DD.MM.YYYY")+" Vertretungszusage wurde an "+v.Vorname+" "+v.Name+" gesendet.",P.Vertretungmeldung+="
"+k.format("DD.MM.YYYY")+" Urlaubsfreigabe Anfrage wurde an "+N.Vorname+" "+N.Name+" gesendet.",P.Planungmeldung=k.format("DD.MM.YYYY")+" "+F.Vorname+" "+F.Name+" hat der Urlausvertretung zugestimmt.",P.Planungmeldung+="
"+k.format("DD.MM.YYYY")+" Genehmigungsanfrage wurde an "+N.Vorname+" "+N.Name+" gesendet."),P.Status===E.Urlaubstatusvarianten.Vertreterablehnung&&(P.Planungmeldung=k.format("DD.MM.YYYY")+" "+F.Vorname+" "+F.Name+" hat die Vertretung abgelehnt",P.Vertretungmeldung=k.format("DD.MM.YYYY")+" Vertretungsabsage wurde an "+v.Vorname+" "+v.Name+" gesendet."));M=yield E.SendVertreterzusage(v,F,N,M),M=yield E.SendVertreterabsage(v,F,N,M),M=yield E.SendFreigabeanfrage(v,N,M);let T=a.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[T]=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateVertreterantworten",E.Debug.Typen.Service)}})()}SendVertreteranfragen(v,M,E){try{let k,A="Urlaubsvertretungsanfrage von "+v.Vorname+" "+v.Name,N=[],F=!1,T=(0,u.default)().locale("de");return new Promise((P,I)=>{k="Hallo "+M.Vorname+",

bitte pr\xfcfen, ob du f\xfcr folgende Zeitr\xe4ume:

",k+='',k+="",k+='';for(let j of E)j.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&j.VertreterID===M._id&&!1===j.VertreteranfrageSended&&(F=!0,j.Vertretunganfragezeitstempel=T.valueOf(),j.VertreteranfrageSended=!0,k+="",k+='",k+='",k+="");k+="
VonBis
'+j.Startstring+"'+j.Endestring+"
",k+="
Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

",k+="

",k+='Urlaubsplanung jetzt \xf6ffnen',k+="

"+this.Pool.GetFilledSignatur(v,!0),N.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),F?this.Graph.SendMail(N,A,k).then(()=>{console.log("Vertretungsanfrage wurde an "+M.Vorname+" "+M.Name+" gesendet."),P(E)}).catch(j=>{I(j)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),P(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendVertreterzusage(v,M,E,A){try{let N,k="Vertretungszusage von "+M.Vorname+" "+M.Name,F=[],T=!1,P=(0,u.default)().locale("de");return new Promise((I,j)=>{N="Hallo "+v.Vorname+",

nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

",N+='',N+="",N+='',N+="";for(let L of A.Zeitspannen)L.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&L.VertreterID===M._id&&!1===L.VertreterantwortSended&&(T=!0,L.VertreterantwortSended=!0,L.Vertretungantwortzeitstempel=P.valueOf(),N+="",N+='",N+='",N+='',N+="");N+="
VonBisVertretung
'+L.Startstring+"'+L.Endestring+"Zusage
",N+="

",N+="Deine Urlaubsanfrage wurde zur Freigabe an "+E.Vorname+" "+E.Name+" weitergeleitet.",N+="

",N+='Urlaubsplanung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(M,!0),F.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===T?this.Graph.SendMail(F,k,N).then(()=>{console.log("Vertretungszusage wurde an "+v.Vorname+" "+v.Name+" gesendet."),I(A)}).catch(L=>{j(L)}):(console.log("Es wurde keine Vertretungszusage gesendet."),I(A))})}catch(k){this.Debug.ShowErrorMessage(k,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}UpdateFreigabenantworten(v,M){var E=this;return n(function*(){try{let N,F,A=1,k=(0,u.default)().locale("de");for(let P of M.Zeitspannen)P.Status===E.Urlaubstatusvarianten.Genehmigt&&!1===P.FreigabeantwortSended&&(A+=1),P.Status===E.Urlaubstatusvarianten.Abgelehnt&&!1===P.FreigabeantwortSended&&(A+=2);for(let P of M.Zeitspannen)(P.Status===E.Urlaubstatusvarianten.Genehmigt||P.Status===E.Urlaubstatusvarianten.Abgelehnt)&&(N=a.find(E.Pool.Mitarbeiterliste,{_id:M.FreigeberID}),F=a.find(E.Pool.Mitarbeiterliste,{_id:P.VertreterID}),P.Status===E.Urlaubstatusvarianten.Genehmigt&&(P.Planungmeldung=k.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+N.Vorname+" "+N.Name+" genehmigt.",P.Freigabemeldung=k.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet.",P.Freigabemeldung+="
"+k.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),P.Status===E.Urlaubstatusvarianten.Abgelehnt&&(P.Planungmeldung=k.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+N.Vorname+" "+N.Name+" abgelehnt.",P.Freigabemeldung=k.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+v.Vorname+" "+v.Name+" gesendet."));M=yield E.SendMitarbeiterFreigabeablehnung(v,N,M),M=yield E.SendMitarbeiterFreigabezusage(v,N,M),M=yield E.SendOfficeFreigabezusage(v,N,M);let T=a.findIndex(v.Urlaubsliste,{Jahr:E.Jahr});v.Urlaubsliste[T]=M,E.CurrentUrlaub=M,yield E.DBMitarbeiter.UpdateMitarbeiterUrlaub(v)}catch(A){E.Debug.ShowErrorMessage(A,"Database Urlaub","UpdateFreigabenantworten",E.Debug.Typen.Service)}})()}SendVertreterabsage(v,M,E,A){try{let N,k="Vertretungsabsage von "+M.Vorname+" "+M.Name,F=[],T=!1,P=(0,u.default)().locale("de");return new Promise((I,j)=>{N="Hallo "+v.Vorname+",

nachfolgende Urlaubsvertretungen kann ich nicht wahrnehmen:

",N+='',N+="",N+='',N+="";for(let L of A.Zeitspannen)L.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&L.VertreterID===M._id&&!1===L.VertreterantwortSended&&(T=!0,L.VertreterantwortSended=!0,L.Vertretungantwortzeitstempel=P.valueOf(),N+="",N+='",N+='",N+='',N+="");N+="
VonBisVertretung
'+L.Startstring+"'+L.Endestring+"Abgelehnt
",N+="

",N+='Urlaubsplanung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(M,!0),F.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===T?this.Graph.SendMail(F,k,N).then(()=>{console.log("Vertretungsabsage wurde an "+v.Vorname+" "+v.Name+" gesendet."),I(A)}).catch(L=>{j(L)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),I(A))})}catch(k){this.Debug.ShowErrorMessage(k,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(v,M,E){try{let k,T,A="Anfrage Urlaubsfreigabe von "+v.Vorname+" "+v.Name,N=[],F=!1,P=(0,u.default)().locale("de");return new Promise((I,j)=>{k="Hallo "+M.Vorname+"

es liegen neue Anfragen zur Urlaufsfreigabe von ",k+=v.Vorname+" "+v.Name+" vor:

",k+='',k+="",k+='',k+="";for(let L of E.Zeitspannen)L.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===L.FreigabeanfrageSended&&(F=!0,T=a.find(this.Pool.Mitarbeiterliste,{_id:L.VertreterID}),L.FreigabeanfrageSended=!0,L.Freigabeantwortzeitstempel=P.valueOf(),k+="",k+='",k+='",k+="",k+="");k+="
VonBisVertretung
'+L.Startstring+"'+L.Endestring+"",a.isUndefined(T)||(k+=T.Vorname+" "+T.Name),k+="
",k+="

",k+='Urlaubsplanung jetzt \xf6ffnen',k+="

"+this.Pool.GetFilledSignatur(v,!0),N.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===F?this.Graph.SendMail(N,A,k).then(()=>{console.log("Freigabe Anfrage wurde versendet."),I(E)}).catch(L=>{j(L)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),I(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(v,M,E){try{let k,P,A="Urlaubsfreigabe",N=[],F=!1,T=(0,u.default)().locale("de");return new Promise((I,j)=>{k="Hallo "+v.Vorname+",

anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

",k+='',k+="",k+='',k+='',k+="",k+="",k+="";for(let L of E.Zeitspannen)L.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===L.FreigabeantwortSended&&(L.FreigabeantwortSended=!0,L.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(L.VertreterID),F=!0,k+="",k+='",k+='",a.isUndefined(P)?k+='':k+="",k+='',k+="");k+="
VonBisVertretungStatus
'+L.Startstring+"'+L.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Freigabe
",k+="

",k+='Deine Urlaubsfreigabe wurde zur Eintragung in "untermStrich" dem B\xfcro mitgeteilt.',k+="

",k+='Urlaubsplanung jetzt \xf6ffnen',k+="

"+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:v.Email,name:v.Vorname+" "+v.Name}}),!0===F?this.Graph.SendMail(N,A,k).then(()=>{console.log("Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet."),I(E)}).catch(L=>{j(L)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),I(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(v,M,E){try{let k,P,A="Urlaubsfreigabe",N=[],F=!1,T=(0,u.default)().locale("de");return new Promise((I,j)=>{k="Hallo Office,

anbei eine Urlaubsfreigabe f\xfcr "+v.Vorname+" "+v.Name+" mit folgenden Zeitr\xe4umen:

",k+='',k+="",k+='',k+='',k+="",k+="",k+="";for(let L of E.Zeitspannen)L.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===L.FreigabeantwortOfficeSended&&(L.FreigabeantwortOfficeSended=!0,L.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(L.VertreterID),F=!0,k+="",k+='",k+='",a.isUndefined(P)?k+='':k+="",k+='',k+="");k+="
VonBisVertretungStatus
'+L.Startstring+"'+L.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Freigabe
",k+="

",k+='Urlaubsplanung jetzt \xf6ffnen',k+="

"+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===F?this.Graph.SendMail(N,A,k).then(()=>{console.log("Urlaubsfreigabe wurde an "+v.Vorname+" "+v.Name+" gesendet."),I(E)}).catch(L=>{j(L)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),I(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(v,M,E){try{let k,P,A="Ablehnung deiner Urlaubsanfrage",N=[],F=!1,T=(0,u.default)().locale("de");return new Promise((I,j)=>{k="Hallo "+v.Vorname+" "+v.Name+",

leider muss ich deine Urlaubsanfrage f\xfcr nachfolgende Zeitr\xe4ume ablehnen:

",k+='',k+="",k+='',k+='',k+="",k+="",k+="";for(let L of E.Zeitspannen)L.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===L.FreigabeantwortSended&&(L.FreigabeantwortSended=!0,L.Freigabeantwortzeitstempel=T.valueOf(),P=this.DBMitarbeiter.GetMitarbeiterByID(L.VertreterID),F=!0,k+="",k+='",k+='",a.isUndefined(P)?k+='':k+="",k+='',k+="");k+="
VonBisVertretungStatus
'+L.Startstring+"'+L.Endestring+"unbekannt"+P.Vorname+" "+P.Name+"Abgelehnt
",k+="

",k+='Urlaubsplanung jetzt \xf6ffnen',k+="

"+this.Pool.GetFilledSignatur(M,!0),N.push({emailAddress:{address:M.Email,name:M.Vorname+" "+M.Name}}),!0===F?this.Graph.SendMail(N,A,k).then(()=>{console.log("Urlaubsablehung wurde an "+v.Vorname+" "+v.Name+" gesendet."),I(E)}).catch(L=>{j(L)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),I(E))})}catch(A){this.Debug.ShowErrorMessage(A,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}ReadRegionen(v){try{return new Promise((M,E)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:v}).subscribe({next:N=>{this.Regionenliste=N.Regionenliste},complete:()=>{this.Regionenliste=a.filter(this.Regionenliste,N=>""!==N.isoCode);for(let N of this.Regionenliste)N.Name=N.name[0].text;M(!0)},error:N=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),M(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(v){try{let M,E=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});a.isUndefined(E)&&(E=null);let A={Standort:E,Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:v};return new Promise((k,N)=>{this.Feiertageliste[v]=[],M=this.http.put(this.ServerReadfeiertageUrl,A),M.subscribe({next:F=>{this.Feiertageliste[v]=F.Feiertageliste},complete:()=>{k(!0)},error:F=>{this.Feiertageliste[v]=[],console.log("Read Feiertage ist fehlgeschlagen."),k(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Urlaubsplanung Page","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(v){try{let M,E={Jahr:this.Jahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:v};return this.Ferienliste[v]=[],new Promise((A,k)=>{M=this.http.put(this.ServerReadFerienUrl,E),M.subscribe({next:N=>{this.Ferienliste[v]=N.Ferienliste},complete:()=>{A(!0)},error:N=>{this.Ferienliste[v]=[],console.log("Read Ferien ist fehlgeschlagen."),A(!0)}})})}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Anfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(v){return this.Debug.ShowErrorMessage(v,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let v,M,E,A,k;this.Anfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,null!==this.CurrentMitarbeiter&&(v=a.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=a.isUndefined(v)?"DE":v.Land),this.ShowFerientage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE,this.ShowFeiertage_DE=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE,this.Ferienfarbe_DE=this.Urlaubsfaben.Ferien_DE,this.Feiertagefarbe_DE=this.Urlaubsfaben.Feiertage_DE,this.ShowFerientage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG,this.ShowFeiertage_BG=this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG,this.Ferienfarbe_BG=this.Urlaubsfaben.Ferien_BG,this.Feiertagefarbe_BG=this.Urlaubsfaben.Feiertage_BG,null!==this.CurrentMitarbeiter&&(this.CurrentUrlaub=a.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.Jahr),this.CurrentZeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentZeitspanne=null,a.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),a.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),a.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]),a.isUndefined(this.CurrentUrlaub.FreigeberID)&&(this.CurrentUrlaub.FreigeberID=null));for(let N of this.CurrentUrlaub.Zeitspannen)N=this.InitZeitspanne(N);for(M of(this.UrlaublisteExtern=[],this.Pool.Mitarbeiterliste))E=a.find(M.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(E)||E.FreigeberID===this.CurrentMitarbeiter._id&&-1===a.findIndex(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:M._id})&&this.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:M._id,Display:!0});for(let N of this.CurrentUrlaub.Projektbeteiligteliste)if(M=a.find(this.Pool.Mitarbeiterliste,{_id:N.MitarbeiterID}),!a.isUndefined(M)){E=a.find(M.Urlaubsliste,{Jahr:this.Jahr}),a.isUndefined(E)?(E=this.GetEmptyUrlaub(this.Jahr),E.MitarbeiterIDExtern=M._id,E.NameExtern=M.Vorname+" "+M.Name,E.NameKuerzel=M.Kuerzel):(E=a.cloneDeep(E),E.MitarbeiterIDExtern=M._id,E.NameExtern=M.Vorname+" "+M.Name,E.NameKuerzel=M.Kuerzel,E.Zeitspannen=a.filter(E.Zeitspannen,F=>F.Status!==this.Urlaubstatusvarianten.Abgelehnt)),A=0,A+=M.Urlaub,A+=E.Resturlaub,k=0;for(let F of E.Zeitspannen)F.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(k+=F.Tageanzahl);E.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+k+" von "+A+"]":"["+k+"]",this.UrlaublisteExtern.push(E)}}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitZeitspanne(v){try{return(a.isUndefined(v.VertreterID)||""===v.VertreterID)&&(v.VertreterID=null),a.isUndefined(v.Planungmeldung)&&(v.Planungmeldung=""),a.isUndefined(v.Vertretungmeldung)&&(v.Vertretungmeldung=""),a.isUndefined(v.Freigabemeldung)&&(v.Freigabemeldung=""),a.isUndefined(v.VertreteranfrageSended)&&(v.VertreteranfrageSended=!1),a.isUndefined(v.VertreterantwortSended)&&(v.VertreterantwortSended=!1),a.isUndefined(v.FreigabeanfrageSended)&&(v.FreigabeanfrageSended=!1),a.isUndefined(v.FreigabeantwortSended)&&(v.FreigabeantwortSended=!1),a.isUndefined(v.FreigabeantwortOfficeSended)&&(v.FreigabeantwortOfficeSended=!1),a.isUndefined(v.Vertretunganfragezeitstempel)&&(v.Vertretunganfragezeitstempel=null),a.isUndefined(v.Vertretungantwortzeitstempel)&&(v.Vertretungantwortzeitstempel=null),a.isUndefined(v.Freigabeantwortzeitstempel)&&(v.Freigabeantwortzeitstempel=null),a.isUndefined(v.FreigabeantwortOfficezeitstempel)&&(v.FreigabeantwortOfficezeitstempel=null),"Beantragt"===v.Status&&(v.Status=this.Urlaubstatusvarianten.Geplant),v}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","InitZeitspanne",this.Debug.Typen.Service)}}SetPlanungsmonate(){try{0===this.CurrentMonatindex?(this.FirstMonatIndex=0,this.CurrentMonatindex=1,this.LastMonatIndex=2):11===this.CurrentMonatindex?(this.FirstMonatIndex=9,this.CurrentMonatindex=10,this.LastMonatIndex=11):(this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1)}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(v){try{let M={Jahr:v,Resturlaub:0,Zeitspannen:[],FreigeberID:null,Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!a.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(M.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,M.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,M.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),M}catch(M){this.Debug.ShowErrorMessage(M.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(v,M){try{let A,k,E=(0,u.default)(v.Tagstempel),N=!1;if(!a.isUndefined(this.Ferienliste[M]))for(let F of this.Ferienliste[M])if(A=(0,u.default)(F.Anfangstempel),k=(0,u.default)(F.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(k,"day")){N=!0;break}return N}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}GetFeriennamen(v,M){try{let E=M+": Unbekannt";for(let A of v.name)A.language===M&&(E=A.text);return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(v,M){try{let E=M+": Unbekannt";for(let A of v.name)A.language===M&&(E=A.text);return E}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(v,M){try{let A,k,N,F,E=(0,u.default)(v.Tagstempel);if(!a.isUndefined(this.Ferienliste[M]))for(F of this.Ferienliste[M])if(A=(0,u.default)(F.Anfangstempel),k=(0,u.default)(F.Endestempel),E.isSameOrAfter(A,"day")&&E.isSameOrBefore(k,"day"))return N={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:F.Anfangstempel,Ferienname_DE:this.GetFeriennamen(F,"DE"),Ferienname_BG:this.GetFeriennamen(F,"EN")},N;return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(v,M){try{let A,E=(0,u.default)(v.Tagstempel),k=!1;if(!a.isUndefined(this.Feiertageliste[M]))for(let N of this.Feiertageliste[M])if(A=(0,u.default)(N.Anfangstempel),A.isSame(E,"day")&&-1===a.findIndex(this.CurrentUrlaub.Feiertageblockerliste,v.Tagstempel)){k=!0;break}return k}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(v,M){try{let A,k,N,E=(0,u.default)(v.Tagstempel);if(!a.isUndefined(this.Feiertageliste[M]))for(N of this.Feiertageliste[M])if(A=(0,u.default)(N.Anfangstempel),A.isSame(E,"day"))return k={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:N.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(N,"DE"),Feiertagname_BG:this.GetFeiertagnamen(N,"EN")},k;return null}catch(E){this.Debug.ShowErrorMessage(E,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyZeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",VertreterID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,VertreteranfrageSended:!1,VertreterantwortSended:!1,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Vertretunganfragezeitstempel:null,Vertretungantwortzeitstempel:null,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(v){this.Debug.ShowErrorMessage(v.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let v=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){v+=this.Pool.Mitarbeiterdaten.Urlaub,v+=this.CurrentUrlaub.Resturlaub;for(let M of this.CurrentUrlaub.Zeitspannen)M.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(v-=M.Tageanzahl);return v}return 0}catch(v){this.Debug.ShowErrorMessage(v,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(v){try{let M,E,A;return null!==this.CurrentUrlaub&&(M=a.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:v}),!a.isUndefined(M)&&(E=a.find(this.Pool.Mitarbeiterliste,{_id:M.MitarbeiterID}),A=a.find(E.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!a.isUndefined(A)&&M.Display&&A.Zeitspannen.length>0))}catch(M){this.Debug.ShowErrorMessage(M,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||f)(e.\u0275\u0275inject(l.DebugProvider),e.\u0275\u0275inject(c.DatabasePoolService),e.\u0275\u0275inject(g.ConstProvider),e.\u0275\u0275inject(y.Graphservice),e.\u0275\u0275inject(_.DatabaseMitarbeiterService),e.\u0275\u0275inject(C.BasicsProvider),e.\u0275\u0275inject(b.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},34388:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DebugProvider=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(14652)),a=n.__importStar(i(10716)),u=n.__importStar(i(34396)),e=n.__importStar(i(29743));h.DebugProvider=(()=>{class c{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(y,_,C,b){this.Basics=y,this.nav=_,this.Fehlerservice=C,this.Const=b;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(y,_,C,b){try{console.log("File: "+_+" | Function: "+C+" | Message: "+y),this.Debugmessageliste.push({Skript:_,Message:y,Function:C,Color:"red"})}catch{}}ShowMessage(y,_,C,b){try{console.log("File: "+_+" | Function: "+C+" | Message: "+y),this.Debugmessageliste.push({Skript:_,Message:y,Function:C,Color:"blue"})}catch{}}static \u0275fac=function(_){return new(_||c)(o.\u0275\u0275inject(d.BasicsProvider),o.\u0275\u0275inject(a.NavController),o.\u0275\u0275inject(u.ErrorService),o.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})()},21052:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.DisplayService=void 0;const n=i(81316),o=n.__importStar(i(17964)),d=i(17964),a=n.__importStar(i(54496)),u=n.__importStar(i(34388));h.DisplayService=(()=>{class l{Debug;Dialognamen={Auswahldialog:"Auswahldialog",Mitarbeiterauswahl:"Mitarbeiterauswahl",Projekteditor:"Projekteditor",Beteiligteneditor:"Beteiligteneditor",Firmeneditor:"Firmeneditor",Mitarbeitereditor:"Mitarbeitereditor",Standorteditor:"Standorteditor",Changelogeditor:"Changelogeditor",Favoriteneditor:"Favoriteneditor",Favoritenauswahl:"Favoritenauswahl",Projekteauswahl:"Projekteauswahl",Bauteileditor:"Bauteileditor",Geschosseditor:"Geschosseditor",Raumeditor:"Raumeditor",AufgabeProjektauswahl:"AufgabeProjektauswahl",Projektpunteditor:"Projektpunteditor",Beteiligteauswahl:"Beteiligteauswahl",Firmenauswahl:"Firmenauswahl",Protokolleditor:"Protokolleditor",Kostengruppenauswahl:"Kostengruppenauswahl",Raumauswahl:"Raumauswahl",Protokolllistefilter:"Protokolllistefilter",Aufgabenlistefilter:"Aufgabenlistefilter",Meinewocheeditor:"Meinewocheeditor",ProjektpunktStatusDatePicker:"ProjektpunktStatusDatePicker",ProjektpunktDateKwPicker:"ProjektpunktDateKwPicker",Verzeichnisauswahl:"Verzeichnisauswahl",Bilderauswahl:"Bilderauswahl",Outlookkontakteauswahl:"Outlookkontakteauswahl",ProjektSendeEmail:"ProjektSendeEmail",Bautagebucheditor:"Bautagebucheditor",Bautagebucheintrageditor:"Bautagebucheintrageditor",LOPListeEditor:"LOPListeEditor",LOPListeEintragEditor:"LOPListeEintragEditor",Planungsmatrixeintrageditor:"Planungsmatrixeintrageditor",Notizenkapiteleditor:"Notizenkapiteleditor",Festlegungkategorieneditor:"Festlegungkategorieneditor",Simontabelleeditor:"Simontabelleeditor",Simontabellelesitungeditor:"Simontabellelesitungeditor",RechnungEditor:"RechnungEditor"};Dialogliste;constructor(g){this.Debug=g;try{this.Dialogliste=[]}catch(y){this.Debug.ShowErrorMessage(y.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(g){this.Debug.ShowErrorMessage(g.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(g,y){try{let _=o.find(this.Dialogliste,{Dialogname:g});o.isUndefined(_)?this.Dialogliste.push({Dialogname:g,ZIndex:y}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+g),"Dialog","AddDialog",this.Debug.Typen.Service),(0,d.forEach)(this.Dialogliste,C=>{console.log(C)})}catch(_){this.Debug.ShowErrorMessage(_.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(g){try{this.Dialogliste=o.filter(this.Dialogliste,y=>y.Dialogname!==g),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(y){this.Debug.ShowErrorMessage(y.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(g){try{let C,y=0,_=0;return(0,d.forEach)(this.Dialogliste,b=>{b.ZIndex>y&&(y=b.ZIndex),b.Dialogname===g&&(_=b.ZIndex,C=b.Dialogname)}),_>=y}catch(y){this.Debug.ShowErrorMessage(y.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||l)(a.\u0275\u0275inject(u.DebugProvider))};static \u0275prov=a.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},34396:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ErrorService=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(29743));h.ErrorService=(()=>{class u{Const;Fehlermeldung;CanGoBack;constructor(l){this.Const=l;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(c){return new(c||u)(o.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},8608:(ve,h,i)=>{"use strict";var n=i(1196).default;Object.defineProperty(h,"__esModule",{value:!0}),h.Graphservice=void 0;const o=i(81316),d=i(54496),a=i(9028),u=i(97048),e=i(57140),l=o.__importStar(i(17964)),c=o.__importDefault(i(35908)),g=o.__importStar(i(54496)),y=o.__importStar(i(34388)),_=o.__importStar(i(9028)),C=o.__importStar(i(29743)),b=o.__importStar(i(97048)),p=o.__importStar(i(97092)),f=o.__importStar(i(19668)),S=o.__importStar(i(79052)),v=o.__importStar(i(7992)),M=o.__importStar(i(14652)),E=o.__importStar(i(14476));h.Graphservice=(()=>{class k{msalGuardConfig;Debug;authService;Const;http;AuthService;Tools;DBEmail;Http;Pool;Basics;domSanitizer;ImageZoomOut=new d.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;Outlookkontakteliste;CurrentPDFDownload;KalenderKW;Outlookpresetcolors;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(F,T,P,I,j,L,B,$,ee,le,se,K){this.msalGuardConfig=F,this.Debug=T,this.authService=P,this.Const=I,this.http=j,this.AuthService=L,this.Tools=B,this.DBEmail=$,this.Http=ee,this.Pool=le,this.Basics=se,this.domSanitizer=K;try{this.Graphuser=null,this.UserimageSRC=null,this.Teamsliste=[],this.TeamsRootfilelist=[],this.TeamsCurrentfilelist=[],this.TeamsSubdirectorylist=[],this.CurrentTeamsID="ea457111-b3f1-4c73-a8ae-cb1cbaf6d244",this.CurrentPDFDownload=null,this.Outlookkontakteliste=[],this.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,c.default)().locale("de").isoWeek(),this.Outlookpresetcolors=[{Name:"none",Value:"none",Fontcolor:"white"},{Name:"Preset0",Value:"#dc626d",Fontcolor:"black"},{Name:"Preset1",Value:"#e8825d",Fontcolor:"black"},{Name:"Preset2",Value:"#ffcd8f",Fontcolor:"black"},{Name:"Preset3",Value:"#5f5f58",Fontcolor:"white"},{Name:"Preset4",Value:"#52ce90",Fontcolor:"black"},{Name:"Preset5",Value:"#57d2da",Fontcolor:"white"},{Name:"Preset6",Value:"#5c5f53",Fontcolor:"white"},{Name:"Preset7",Value:"#5ca9e5",Fontcolor:"white"},{Name:"Preset8",Value:"#53525a",Fontcolor:"white"},{Name:"Preset9",Value:"#ee5fb7",Fontcolor:"black"},{Name:"Preset10",Value:"#c5ced1",Fontcolor:"white"},{Name:"Preset11",Value:"#5d6567",Fontcolor:"white"},{Name:"Preset12",Value:"#c3c5bb",Fontcolor:"white"},{Name:"Preset13",Value:"#9fadb1",Fontcolor:"white"},{Name:"Preset14",Value:"#8f8f8f",Fontcolor:"white"},{Name:"Preset15",Value:"#ac4e5e",Fontcolor:"black"},{Name:"Preset16",Value:"#df8e64",Fontcolor:"white"},{Name:"Preset17",Value:"#bc8f6f",Fontcolor:"white"},{Name:"Preset18",Value:"#dac257",Fontcolor:"black"},{Name:"Preset19",Value:"#4ca64c",Fontcolor:"white"},{Name:"Preset20",Value:"#4bb4b7",Fontcolor:"white"},{Name:"Preset21",Value:"#85b44c",Fontcolor:"white"},{Name:"Preset22",Value:"#4179a3",Fontcolor:"white"},{Name:"Preset23",Value:"#8f6fbc",Fontcolor:"white"},{Name:"Preset24",Value:"#c34e98",Fontcolor:"black"},{Name:"PresetFeiertag",Value:"#b0d6f2",Fontcolor:"black"}],this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(Q){this.Debug.ShowErrorMessage(Q.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnOutlookcontacts(F){var T=this;return n(function*(){try{let I,j,B,P=[],L=0,$=yield T.AuthService.RequestToken("Contacts.ReadWrite");if(null!==$){const ee=e.Client.init({authProvider:le=>{le(null,$)}});if(I=yield ee.api("/me/contacts").count().get(),l.isUndefined(I["@odata.count"])||(L=I["@odata.count"]),!l.isUndefined(I.value)&&(P.push(I.value),!l.isUndefined(I["@odata.nextLink"]))){do{j=I["@odata.nextLink"],I=yield ee.api(j).get(),l.isUndefined(I.value)||P.push(I.value)}while(!l.isUndefined(I["@odata.nextLink"]));l.isUndefined(I.value)||P.push(I.value)}T.Outlookkontakteliste=[];for(let le of P)for(B of le)null!==B.givenName&&"lars"===B.givenName.toLowerCase()||null!==B.surname&&B.surname.toLowerCase(),null!==B.title&&""!==B.title&&null!==B.displayName&&(B.displayName=B.displayName.replace(B.title+" ","")),l.isUndefined(B.businessAddress)&&(B.businessAddress={street:"",city:"",state:"",postalCode:"",countryOrRegion:""}),(l.isUndefined(B.businessAddress.street)||null===B.businessAddress.street)&&(B.businessAddress.street=""),(l.isUndefined(B.businessAddress.city)||null===B.businessAddress.city)&&(B.businessAddress.city=""),(l.isUndefined(B.businessAddress.postalCode)||null===B.businessAddress.postalCode)&&(B.businessAddress.postalCode=""),(l.isUndefined(B.businessAddress.state)||null===B.businessAddress.state)&&(B.businessAddress.state=""),(l.isUndefined(B.businessAddress.countryOrRegion)||null===B.businessAddress.countryOrRegion)&&(B.businessAddress.countryOrRegion=""),(l.isUndefined(B.title)||null===B.title)&&(B.title=""),(l.isUndefined(B.displayName)||null===B.displayName)&&(B.displayName=""),(l.isUndefined(B.surname)||null===B.surname)&&(B.surname=""),(l.isUndefined(B.givenName)||null===B.givenName)&&(B.givenName=""),(l.isUndefined(B.companyName)||null===B.companyName)&&(B.companyName=""),""===B.surname&&""!==B.givenName&&(B.surname=B.givenName,B.givenName=""),""===B.surname&&""===B.givenName&&""===B.displayName?(B.IsCompany=!0,B.surname=B.companyName,B.companyName=""):B.IsCompany=!1,F?B.emailAddresses.length>0&&T.Outlookkontakteliste.push(B):T.Outlookkontakteliste.push(B);return Promise.resolve(!0)}return Promise.reject(!1)}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnOutlookcontacts",T.Debug.Typen.Service)}})()}OutlookcontactToBeteiligte(F){try{let T,P;return P=F.IsCompany?this.Const.Beteiligteneintragtypen.Firma:this.Const.Beteiligteneintragtypen.Person,T={Anrede:F.title,BeteiligtenID:F.id,FirmaID:null,Email:F.emailAddresses.length>0?F.emailAddresses[0].address:"",Possition:F.profession,Mobil:F.mobilePhone,Name:F.surname,Vorname:F.givenName,Ort:F.businessAddress.city,PLZ:F.businessAddress.postalCode,Strasse:"",Telefon:F.businessPhones.length>0?F.businessPhones[0]:"",Verfasser:{Vorname:this.Pool.Mitarbeiterdaten.Vorname,Name:this.Pool.Mitarbeiterdaten.Name,Email:this.Pool.Mitarbeiterdaten.Email}},T}catch(T){this.Debug.ShowErrorMessage(T,"Graph","OutlookcontactToBeteiligte",this.Debug.Typen.Service)}}GetOwnCalendar(){var F=this;return n(function*(){try{let P,j,L,B,se,K,Q,re,z,Y,T=yield F.AuthService.RequestToken("user.read"),I=[],$=(0,c.default)().isoWeek(F.KalenderKW).locale("de"),ee=$.clone().startOf("week"),le=$.clone().endOf("week");console.log(ee.format("DD.MM.YYYY")),console.log(le.format("DD.MM.YYYY"));const q=e.Client.init({authProvider:de=>{de(null,T)}});try{P=yield q.api("/me/calendarview").header("Prefer","UTC").query({startDateTime:ee.format("YYYY-MM-DD"),endDateTime:le.format("YYYY-MM-DD")}).count().get()}catch{}if(l.isUndefined(P["@odata.count"])||(L=P["@odata.count"]),!l.isUndefined(P.value)&&(I.push(P.value),!l.isUndefined(P["@odata.nextLink"]))){do{j=P["@odata.nextLink"],P=yield q.api(j).get(),l.isUndefined(P.value)||I.push(P.value)}while(!l.isUndefined(P["@odata.nextLink"]));l.isUndefined(P.value)||I.push(P.value)}B=[];for(let de of I)for(re of de)K=re.start.dateTime.split("T"),se=K[0].split("-"),Q=K[1].split("."),Q=Q[0].split(":"),z=c.default.utc({year:parseInt(se[0]),month:parseInt(se[1])-1,day:parseInt(se[2]),hour:parseInt(Q[0]),minute:parseInt(Q[1]),second:parseInt(Q[2])}),re.start.Zeitstempel=z.locale("de").valueOf(),K=re.end.dateTime.split("T"),se=K[0].split("-"),Q=K[1].split("."),Q=Q[0].split(":"),Y=c.default.utc({year:parseInt(se[0]),month:parseInt(se[1])-1,day:parseInt(se[2]),hour:parseInt(Q[0]),minute:parseInt(Q[1]),second:parseInt(Q[2])}),re.end.Zeitstempel=Y.locale("de").valueOf(),B.push(re);return B}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetOwnCalendar",F.Debug.Typen.Service)}})()}GetOwnUserinfo(){var F=this;return n(function*(){try{let T=yield F.AuthService.RequestToken("user.read");const P=e.Client.init({authProvider:I=>{I(null,T)}});return new Promise((I,j)=>{null!==T?P.api("/me").select("*").get().then(L=>{F.Graphuser=L,I(!0)}).catch(L=>{"InvalidAuthenticationToken"===L.code&&(F.AuthService.UnsetActiveUser(),F.Tools.SetRootPage(F.Const.Pages.HomePage)),j(L)}):j(!1)})}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOwnEmail(F){var T=this;return n(function*(){try{let I,j,L,P=yield T.AuthService.RequestToken("user.read");const B=e.Client.init({authProvider:$=>{$(null,P)}});return new Promise(($,ee)=>{null!==P?B.api("/me/messages/"+F+"?$expand=attachments").get().then(le=>{I=le,I.subject=I.subject.replace("\u{1f3e2}",""),j=I.receivedDateTime.replace("T"," "),j=j.replace("Z",""),L=(0,c.default)(j),I.Zeitstempel=L.valueOf(),I.Zeitstring=L.format("DD.MM.YYYY HH:mm"),$(I)}).catch(le=>{"InvalidAuthenticationToken"===le.code&&(T.AuthService.UnsetActiveUser(),T.Tools.SetRootPage(T.Const.Pages.HomePage)),ee(null)}):ee(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnEmail",T.Debug.Typen.Service)}})()}GetOwnEmailAttachemntlist(F){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read");const I=e.Client.init({authProvider:j=>{j(null,P)}});return new Promise((j,L)=>{null!==P?I.api("/me/messages/"+F+"/attachments").get().then(B=>{j(l.isUndefined(B.value)?[]:B.value)}).catch(B=>{"InvalidAuthenticationToken"===B.code&&(T.AuthService.UnsetActiveUser(),T.Tools.SetRootPage(T.Const.Pages.HomePage)),L(B)}):L(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnEmailAttachemntlist",T.Debug.Typen.Service)}})()}GetOwnEmailfolders(){var F=this;return n(function*(){try{let P,T=yield F.AuthService.RequestToken("user.read"),I=[];const j=e.Client.init({authProvider:L=>{L(null,T)}});try{if(P=yield j.api("/me/mailFolders").get(),!l.isUndefined(P.value))for(let L of P.value)I.push(L),console.log(L.id);return I}catch(L){return L}}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetOwnEmailfolders",F.Debug.Typen.Service)}})()}GetOwnOutlookCategories(){var F=this;return n(function*(){try{let P,T=yield F.AuthService.RequestToken("MailboxSettings.Read"),I=[];const j=e.Client.init({authProvider:L=>{L(null,T)}});try{if(P=yield j.api("/me/outlook/masterCategories").get(),!l.isUndefined(P.value))for(let L of P.value)I.push(L),console.log(L.id);return I.push({displayName:"Feiertag",id:"feiertrag",color:"PresetFeiertag"}),I.sort((L,B)=>L.displayNameB.displayName?1:0),I}catch(L){return L}}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetOwnOutlookCategories",F.Debug.Typen.Service)}})()}GetOwnEmailliste(F){var T=this;return n(function*(){try{let P,j,L,ee,le,I=[],B=[],$=yield T.AuthService.RequestToken("user.read");const se=e.Client.init({authProvider:K=>{K(null,$)}});try{le=T.DBEmail.Emaildatum.format("YYYY-MM-DD"),P=yield se.api("/me/mailFolders/"+F+"/messages?$filter=receivedDateTime ge "+le+"T01:00:00Z").select("id, subject, isRead, sentDateTime, receivedDateTime, from, sender, toRecipients, ccRecipients, hasAttachments").count().get()}catch(K){return K}if(l.isUndefined(P["@odata.count"])||(L=P["@odata.count"]),!l.isUndefined(P.value)&&(I.push(P.value),!l.isUndefined(P["@odata.nextLink"]))){do{j=P["@odata.nextLink"],P=yield se.api(j).get(),l.isUndefined(P.value)||I.push(P.value)}while(!l.isUndefined(P["@odata.nextLink"]));l.isUndefined(P.value)||I.push(P.value)}for(let K of I)for(let Q of K)le=Q.receivedDateTime.replace("T"," "),le=le.replace("Z",""),ee=(0,c.default)(le),l.isUndefined(Q.from)||l.isUndefined(l.find(B,{id:Q.id}))&&(Q.Zeitstempel=ee.valueOf(),Q.Zeitstring=ee.format("DD.MM.YYYY HH:mm"),Q.subject=Q.subject.replace("\u{1f3e2}",""),Q.subject.indexOf("anythingbutnothing"),B.push(Q));return B=l.filter(B,K=>l.isUndefined(K["@odata.type"])),B}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnEmailliste",T.Debug.Typen.Service)}})()}GetOtherUserinfo(F){var T=this;return n(function*(){try{let P,I=yield T.AuthService.RequestToken("user.read.all");const j=e.Client.init({authProvider:L=>{L(null,I)}});return new Promise((L,B)=>{null!==I?j.api("/users/"+F).select("*").get().then($=>{P=$,L(P)}).catch($=>{B($)}):B(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnUserinfo",T.Debug.Typen.Service)}})()}GetOtherTeamsinfo(F){var T=this;return n(function*(){try{let P,I=yield T.AuthService.RequestToken("team.readbasic.all");const j=e.Client.init({authProvider:L=>{L(null,I)}});return new Promise((L,B)=>{null!==I?j.api("/teams/"+F).get().then($=>{P=$,L(P)}).catch($=>{B($)}):B(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnUserinfo",T.Debug.Typen.Service)}})()}ReadDrives(){var F=this;return n(function*(){try{let T,I="b!XZkHnfB1aUS9CAl7ACx42jN1tORayIZBnpNxgMZWN2yIJmx4iz54T59g6GswaFyl",j=yield F.AuthService.RequestToken("Files.ReadWrite.All");const L=e.Client.init({authProvider:B=>{B(null,j)}});if(null===j)return Promise.reject(!1);T=yield L.api("/drives/"+I+"/items/root/children").get(),T.value.forEach(B=>{console.log(B.name)})}catch(T){F.Debug.ShowErrorMessage(T,"Graph","ReadDrives",F.Debug.Typen.Service)}})()}GetSiteRootfilelist(F){var T=this;return n(function*(){try{let I,P=yield T.AuthService.RequestToken("user.read"),j=[],L=[];T.TeamsRootfilelist=[],T.TeamsCurrentfilelist=[],T.TeamsSubdirectorylist=[];const B=e.Client.init({authProvider:$=>{$(null,P)}});return new Promise(($,ee)=>{null!==P?B.api("/sites/"+T.BAESiteID+"/drive/items/root/children").get().then(le=>{for(I of(T.TeamsRootfilelist=[],T.TeamsCurrentfilelist=[],T.TeamsSubdirectorylist=[],le.value))l.isUndefined(I.file)?(I.isfolder=!0,L.push(I)):(I.isfolder=!1,j.push(I));L.sort((se,K)=>se.nameK.name?1:0),j.sort((se,K)=>se.nameK.name?1:0),!1===F?T.TeamsRootfilelist=L:(T.TeamsRootfilelist=L,T.TeamsRootfilelist=T.TeamsRootfilelist.concat(j)),T.TeamsCurrentfilelist=T.TeamsRootfilelist,$(!0)}).catch(le=>{ee(le)}):ee(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetSiteRootfilelist",T.Debug.Typen.Service)}})()}GetSiteThumbnailContent(F,T){var P=this;return n(function*(){try{let I=yield P.AuthService.RequestToken("user.read");const j=e.Client.init({authProvider:K=>{K(null,I)}});let L="/sites/"+P.BAESiteID+"/drive/items/"+F.id+"/thumbnails/0/"+T+"/content",$=yield(yield j.api(L).get()).arrayBuffer(),ee="",le=new Uint8Array($),se=le.byteLength;for(let K=0;K{L(null,P)}});return new Promise((L,B)=>{null!==P?j.api("/sites/"+T.BAESiteID+"/drive/items/"+F.id+"/thumbnails").get().then($=>{l.isUndefined($.value)||l.isUndefined($.value[0])?L(null):(I={id:F.id,weburl:F.webUrl,filename:F.name,size:F.size,mediumurl:$.value[0].medium.url,largeurl:$.value[0].large.url,smallurl:$.value[0].small.url,content:"",height:{small:$.value[0].small.height,medium:$.value[0].medium.height,large:$.value[0].medium.large},width:{small:$.value[0].small.width,medium:$.value[0].medium.width,large:$.value[0].large.width}},L(I))}).catch($=>{L(null)}):B(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetSiteThumbnail",T.Debug.Typen.Service)}})()}RemoveTeamsSubdirectory(F){try{let T=l.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let P of T){if(P.id===F.id)break;this.TeamsSubdirectorylist.push(F)}}catch(T){this.Debug.ShowErrorMessage(T,"Graph","RemoveTeamsSubdirectory",this.Debug.Typen.Service)}}RemoveSiteSubdirectory(F){try{let P,T=l.cloneDeep(this.TeamsSubdirectorylist);this.TeamsSubdirectorylist=[];for(let I of T)if(P=l.find(this.TeamsSubdirectorylist,j=>j.id===I.id),l.isUndefined(P)&&this.TeamsSubdirectorylist.push(I),I.id===F.id)break}catch(T){this.Debug.ShowErrorMessage(T,"Graph","RemoveSiteSubdirectory",this.Debug.Typen.Service)}}GetEmptyTeamsfile(){try{return{cTag:"",createdBy:{user:{displayName:"",email:"",id:""}},createdDateTime:"",eTag:"",fileSystemInfo:{createdDateTime:"",lastModifiedDateTime:""},id:"",lastModifiedBy:{},lastModifiedDateTime:"",name:"",parentReference:{driveId:"",driveType:"",id:"",path:""},shared:{scope:""},size:0,webUrl:""}}catch(F){this.Debug.ShowErrorMessage(F,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(F,T){var P=this;return n(function*(){try{let j,I=yield P.AuthService.RequestToken("user.read"),L=[],B=[];P.TeamsRootfilelist=[],P.TeamsCurrentfilelist=[];const $=e.Client.init({authProvider:ee=>{ee(null,I)}});return new Promise((ee,le)=>{null!==I?$.api("/sites/"+P.BAESiteID+"/drive/items/"+F.id+"/children").get().then(se=>{for(j of se.value)l.isUndefined(j.file)?(j.isfolder=!0,B.push(j)):(j.isfolder=!1,L.push(j));B.sort((K,Q)=>K.nameQ.name?1:0),L.sort((K,Q)=>K.nameQ.name?1:0),!1===T?P.TeamsRootfilelist=B:(P.TeamsRootfilelist=B,P.TeamsRootfilelist=P.TeamsRootfilelist.concat(L)),P.TeamsCurrentfilelist=P.TeamsRootfilelist,l.isUndefined(l.find(P.TeamsSubdirectorylist,K=>K.id===F.id))&&P.TeamsSubdirectorylist.push(F),ee(!0)}).catch(se=>{le(se)}):le(!1)})}catch(I){P.Debug.ShowErrorMessage(I,"Graph","GetSiteSubdirictoryfilelist",P.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(F,T){var P=this;return n(function*(){try{let I=yield P.AuthService.RequestToken("user.read"),j={name:T.name,id:"",context:"",url:""};const L=e.Client.init({authProvider:B=>{B(null,I)}});return new Promise((B,$)=>{null!==I?L.api("/groups/"+F+"/drive/items/"+T.id+"?select=id,@microsoft.graph.downloadUrl").get().then(ee=>{j.id=ee.id,j.url=ee["@microsoft.graph.downloadUrl"],j.context=ee["@odata.context"],P.CurrentPDFDownload=j,B(j)}).catch(ee=>{$(ee)}):$(null)})}catch(I){P.Debug.ShowErrorMessage(I,"Graph","DownloadPDFTeamsFile",P.Debug.Typen.Service)}})()}DownloadPDFSiteFile(F){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read"),I={name:F.name,id:"",context:"",url:""};const j=e.Client.init({authProvider:L=>{L(null,P)}});return new Promise((L,B)=>{null!==P?j.api("/sites/"+T.BAESiteID+"/drive/items/"+F.id+"?select=id,@microsoft.graph.downloadUrl").get().then($=>{I.id=$.id,I.url=$["@microsoft.graph.downloadUrl"],I.context=$["@odata.context"],T.CurrentPDFDownload=I,L(I)}).catch($=>{B($)}):B(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","DownloadPDFSiteFile",T.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(F){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read"),I=document.createElement("a"),j={name:"",id:"",context:"",url:""};const L=e.Client.init({authProvider:B=>{B(null,P)}});return new Promise((B,$)=>{null!==P?L.api("/sites/"+T.BAESiteID+"/drive/items/"+F+"?select=id,@microsoft.graph.downloadUrl").get().then(ee=>{j.id=ee.id,j.url=ee["@microsoft.graph.downloadUrl"],j.context=ee["@odata.context"],T.CurrentPDFDownload=j,document.body.appendChild(I),I.href=j.url,I.click(),I.remove(),B(j)}).catch(ee=>{$(ee)}):$(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","DownloadPDFSiteFileViaLink",T.Debug.Typen.Service)}})()}GetOwnUserteams(){var F=this;return n(function*(){try{let T=yield F.AuthService.RequestToken("user.read");F.Teamsliste=[];const P=e.Client.init({authProvider:I=>{I(null,T)}});return new Promise((I,j)=>{null!==T?P.api("/me/joinedTeams").version("beta").get().then(L=>{for(let B of L.value)F.Teamsliste.push(B);I(!0)}).catch(L=>{j(L)}):j(!1)})}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetUserteams",F.Debug.Typen.Page)}})()}GetOtherUserteams(F){var T=this;return n(function*(){try{let P,I,j={UserID:F},L=T.Pool.CockpitserverURL+"/userteams";return new Promise((B,$)=>{P=T.http.put(L,j),P.subscribe({next:ee=>{I=ee.value},complete:()=>{B(I)},error:ee=>{$(ee)}})})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOtherUserteams",T.Debug.Typen.Page)}})()}JoinTeams(F,T){var P=this;return n(function*(){try{let I,j,L={UserID:T,TeamsID:F},B=P.Pool.CockpitserverURL+"/addteamsmember";return new Promise(($,ee)=>{I=P.http.put(B,L),I.subscribe({next:le=>{j=le.value},complete:()=>{$(j)},error:le=>{ee(le)}})})}catch(I){P.Debug.ShowErrorMessage(I,"Graph","GetOtherUserteams",P.Debug.Typen.Page)}})()}TestGraph(){var F=this;return n(function*(){try{let T=yield F.AuthService.RequestToken("user.read"),P="632cc6c8-51d5-4219-8092-ed10a792e715";const I=e.Client.init({authProvider:j=>{j(null,T)}});return new Promise((j,L)=>{null!==T?I.api("/groups/"+P+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(B=>{j(!0)}).catch(B=>{L(B)}):L(!1)})}catch(T){F.Debug.ShowErrorMessage(T,"Graph","TestGraph",F.Debug.Typen.Service)}})()}TeamsCheckFileExists(F,T,P){var I=this;return n(function*(){try{let B,j=yield I.AuthService.RequestToken("user.read"),L=!1;const $=e.Client.init({authProvider:ee=>{ee(null,j)}});return T=T.replace("ROOT:",""),new Promise((ee,le)=>{null!==j?$.api("/groups/"+F+"/drive/items/"+T+"/children").get().then(se=>{for(B of se.value)l.isUndefined(B.folder)&&B.name===P&&(L=!0);ee(L)}).catch(se=>{le(se)}):le(!1)})}catch(j){I.Debug.ShowErrorMessage(j,"Graph","TeamsCheckFileExists",I.Debug.Typen.Service)}})()}SiteCheckFileExists(F,T){var P=this;return n(function*(){try{let L,I=yield P.AuthService.RequestToken("user.read"),j=!1;const B=e.Client.init({authProvider:$=>{$(null,I)}});return F=F.replace("ROOT:",""),new Promise(($,ee)=>{null!==I?B.api("/sites/"+P.BAESiteID+"/drive/items/"+F+"/children").get().then(le=>{for(L of le.value)l.isUndefined(L.folder)&&L.name===T&&(j=!0);$(j)}).catch(le=>{$(null)}):ee(!1)})}catch(I){P.Debug.ShowErrorMessage(I,"Graph","SiteCheckFileExists",P.Debug.Typen.Service)}})()}GetTeamsSubDirectory(F,T){var P=this;return n(function*(){try{let I=yield P.AuthService.RequestToken("user.read");const j=e.Client.init({authProvider:L=>{L(null,I)}});return new Promise((L,B)=>{null!==I?j.api("/groups/"+F+"/drive/items/"+T).get().then($=>{L($)}).catch($=>{L(null)}):B(null)})}catch(I){P.Debug.ShowErrorMessage(I,"Graph","GetTeamsSubDirectory",P.Debug.Typen.Service)}})()}GetSiteSubDirectory(F){var T=this;return n(function*(){try{let P=yield T.AuthService.RequestToken("user.read");const I=e.Client.init({authProvider:j=>{j(null,P)}});return new Promise((j,L)=>{null!==P?I.api("/sites/"+T.BAESiteID+"/drive/items/"+F).get().then(B=>{j(B)}).catch(B=>{j(null)}):L(null)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetSiteSubDirectory",T.Debug.Typen.Service)}})()}GetAllUsers(){var F=this;return n(function*(){try{let I,j,T=[],P=[],L=0,B=yield F.AuthService.RequestToken("User.ReadBasic.All");const $=e.Client.init({authProvider:ee=>{ee(null,B)}});if(I=yield $.api("/users").count().get(),l.isUndefined(I["@odata.count"])||(L=I["@odata.count"]),!l.isUndefined(I.value)&&(P.push(I.value),!l.isUndefined(I["@odata.nextLink"]))){do{j=I["@odata.nextLink"],I=yield $.api(j).get(),l.isUndefined(I.value)||P.push(I.value)}while(!l.isUndefined(I["@odata.nextLink"]));l.isUndefined(I.value)||P.push(I.value)}for(let ee of P)for(let le of ee)T.push(le);return T=l.filter(T,ee=>null!==ee.mail&&null!==ee.givenName&&null!==ee.surname),Promise.resolve(T)}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetAllUsers",F.Debug.Typen.Service)}})()}GetTeamsMitglieder(F){var T=this;return n(function*(){try{let P=[],I=yield T.AuthService.RequestToken("user.read");const L=e.Client.init({authProvider:B=>{B(null,I)}});return new Promise((B,$)=>{null!==I?L.api("/teams/"+F+"/members").get().then(ee=>{if(!l.isUndefined(ee.value)){P=ee.value;for(let le of P)le.UserImageSRC=null}P=l.filter(P,le=>"microsoft@burnicklgroup.onmicrosoft.com"!==le.email),B(P)}).catch(ee=>{$(ee)}):$(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetTeamsMitglieder",T.Debug.Typen.Service)}})()}TestSites(){var F=this;return n(function*(){try{let T=yield F.AuthService.RequestToken("Sites.ReadWrite.All"),P=[],I=new u.HttpHeaders({"content-type":"application/json",authorization:T});return new Promise((j,L)=>{F.Http.get(F.Pool.CockpitserverURL+"/sites",{headers:I}).subscribe({next:$=>{P=$},complete:()=>{for(let $ of P)console.log($.displayName),"Projekte"===$.displayName&&console.log($);j(!0)},error:$=>{L($)}})})}catch(T){F.Debug.ShowErrorMessage(T,"Graph","TestSites",F.Debug.Typen.Service)}})()}SendMail(F,T,P){var I=this;return n(function*(){try{let j,L=yield I.AuthService.RequestToken("Mail.Send");const B=e.Client.init({authProvider:$=>{$(null,L)}});if(!0===I.Basics.DebugNoExternalEmail)for(let $ of F)$.emailAddress.address="p.hornburger@gmail.com";if(null!==L){const $={message:{subject:T,body:{contentType:"html",content:P},toRecipients:F},saveToSentItems:"true"};return j=yield B.api("/me/sendMail").post($),Promise.resolve(j)}return Promise.reject(!1)}catch(j){I.Debug.ShowErrorMessage(j,"Graph","SendMail",I.Debug.Typen.Service)}})()}GetOwnUserimage(){var F=this;return n(function*(){try{let T=yield F.AuthService.RequestToken("user.read");const P=e.Client.init({authProvider:j=>{j(null,T)}}),I={"Content-Type":"image/jpeg"};return new Promise((j,L)=>{null!==T?P.api("/me/photo/$value").headers(I).responseType(e.ResponseType.BLOB).get().then(B=>{F.UserimageSRC=F.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(B)),j(!0)}).catch(B=>{404===B.statusCode&&(F.UserimageSRC=null,j(!0)),L(B)}):L(!1)})}catch(T){F.Debug.ShowErrorMessage(T,"Graph","GetOwnUserinfo",F.Debug.Typen.Service)}})()}GetOtherUserimage(F){var T=this;return n(function*(){try{let I,P=yield T.AuthService.RequestToken("user.read");const j=e.Client.init({authProvider:B=>{B(null,P)}}),L={"Content-Type":"image/jpeg"};return new Promise((B,$)=>{null!==P?j.api("/users/"+F+"/photo/$value").headers(L).responseType(e.ResponseType.BLOB).get().then(ee=>{I=T.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(ee)),B(I)}).catch(ee=>{404===ee.statusCode&&(I=null,B(I)),$(ee)}):$(!1)})}catch(P){T.Debug.ShowErrorMessage(P,"Graph","GetOwnUserinfo",T.Debug.Typen.Service)}})()}static \u0275fac=function(T){return new(T||k)(g.\u0275\u0275inject(a.MSAL_GUARD_CONFIG),g.\u0275\u0275inject(y.DebugProvider),g.\u0275\u0275inject(_.MsalService),g.\u0275\u0275inject(C.ConstProvider),g.\u0275\u0275inject(b.HttpClient),g.\u0275\u0275inject(p.DatabaseAuthenticationService),g.\u0275\u0275inject(f.ToolsProvider),g.\u0275\u0275inject(S.DatabaseOutlookemailService),g.\u0275\u0275inject(b.HttpClient),g.\u0275\u0275inject(v.DatabasePoolService),g.\u0275\u0275inject(M.BasicsProvider),g.\u0275\u0275inject(E.DomSanitizer))};static \u0275prov=g.\u0275\u0275defineInjectable({token:k,factory:k.\u0275fac,providedIn:"root"})}return k})()},33940:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.LoadingAnimationService=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(34388)),a=n.__importStar(i(10716)),u=n.__importStar(i(14652));h.LoadingAnimationService=(()=>{class l{Debug;Loader;Basics;AjaxTime;constructor(g,y,_){this.Debug=g,this.Loader=y,this.Basics=_;try{this.AjaxTime=null}catch(C){this.Debug.ShowErrorMessage(C.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(g,y){try{let C={spinner:"lines",message:'\n \n \n \n \n \n \n \n
'+g+'

'+y+"
",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((b,p)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(C).then(f=>{f.present(),b(!0)}).catch(f=>{p(f)})})}catch(_){this.Debug.ShowErrorMessage(_.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(g){try{let _,y=this.Basics.Waittime;return _=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:y+1,new Promise(C=>{if(!g)return this.Loader.dismiss().then(()=>{C(!0)}).catch(b=>{C(!0)});y>_?y-=_:y=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{C(!0)}).catch(b=>{C(!0)})},y)})}catch(y){this.Debug.ShowErrorMessage(y.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||l)(o.\u0275\u0275inject(d.DebugProvider),o.\u0275\u0275inject(a.LoadingController),o.\u0275\u0275inject(u.BasicsProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac})}return l})()},59460:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.MenueService=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(34388)),a=n.__importStar(i(19668)),u=n.__importStar(i(29743));h.MenueService=(()=>{class l{Debug;Tools;Const;MainMenuebereich;MainMenuebereiche={Home:"Home",Email:"Email",Debug:"Debug",Logout:"Logout",Einstellungen:"Einstellungen",Projekte:"Projekte",Urlaubsplanung:"Urlaubsplanung"};UrlaubMenuebereich;UrlaubMenuebereiche={Planung:"Planung",Uebersicht:"Uebersicht",Einstellungen:"Einstellungen",Freigaben:"Freigaben"};ProjekteMenuebereich;ProjekteMenuebereiche={Aufgabenliste:"Aufgabenliste",Protokolle:"Protokolle",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Planungsmatrix:"Planungsmatrix",Simontabelle:"Simontabelle",Fileliste:"Fileliste",Notizen:"Notizen"};Aufgabenlisteansicht;Aufgabenlisteansichten={Mein_Tag:"Mein Tag",Meine_Woche:"Meine Woche",Meilensteine:"Meilensteine",Projekt:"Projekt",Alle:"Alle"};FirmaMenuebereich;FirmaMenuebereiche={Standorte:"Standorte",Mitarbeiter:"Mitarbeiter",Projekte:"Projekte",Favoriten:"Favoriten",Play:"Play"};FilelisteAufrufer;FilelisteAufrufervarianten={Aufgabenliste:"Aufgabenliste",Protokollliste:"Protokollliste",LOPListe:"LOP Liste",Bautagebuch:"Bautagebuch",Festlegungen:"Festlegungen",Simontabelle:"Simontabelle",ImageZoom:"ImageZoom"};constructor(g,y,_){this.Debug=g,this.Tools=y,this.Const=_;try{this.MainMenuebereich=this.MainMenuebereiche.Projekte,this.FirmaMenuebereich=this.FirmaMenuebereiche.Projekte,this.ProjekteMenuebereich=this.ProjekteMenuebereiche.Aufgabenliste,this.UrlaubMenuebereich=this.UrlaubMenuebereiche.Planung,this.Aufgabenlisteansicht=this.Aufgabenlisteansichten.Projekt,this.FilelisteAufrufer=this.FilelisteAufrufervarianten.Aufgabenliste}catch(C){this.Debug.ShowErrorMessage(C.message,"Menue","constructor",this.Debug.Typen.Service)}}SetCurrentPage(){try{switch(this.MainMenuebereich){case this.MainMenuebereiche.Home:this.Tools.SetRootPage(this.Const.Pages.HomePage);break;case this.MainMenuebereiche.Email:this.Tools.SetRootPage(this.Const.Pages.EmaillistePage);break;case this.MainMenuebereiche.Urlaubsplanung:switch(this.UrlaubMenuebereich){case this.UrlaubMenuebereiche.Planung:this.Tools.SetRootPage(this.Const.Pages.UrlaubPlanungPage);break;case this.UrlaubMenuebereiche.Uebersicht:this.Tools.SetRootPage(this.Const.Pages.UrlaubUebersichtPage);break;case this.UrlaubMenuebereiche.Freigaben:this.Tools.SetRootPage(this.Const.Pages.UrlaubFreigabenPage);break;case this.UrlaubMenuebereiche.Einstellungen:this.Tools.SetRootPage(this.Const.Pages.UrlaubEinstellungenPage)}break;case this.MainMenuebereiche.Projekte:switch(this.ProjekteMenuebereich){case this.ProjekteMenuebereiche.Notizen:this.Tools.SetRootPage(this.Const.Pages.PjNotizenListePage);break;case this.ProjekteMenuebereiche.Aufgabenliste:switch(this.Aufgabenlisteansicht){case this.Aufgabenlisteansichten.Alle:case this.Aufgabenlisteansichten.Mein_Tag:case this.Aufgabenlisteansichten.Meine_Woche:case this.Aufgabenlisteansichten.Meilensteine:case this.Aufgabenlisteansichten.Projekt:this.Tools.SetRootPage(this.Const.Pages.PjAufgabenlistePage)}break;case this.ProjekteMenuebereiche.Fileliste:this.Tools.PushPage(this.Const.Pages.PjFilebrowserPage);break;case this.ProjekteMenuebereiche.Protokolle:this.Tools.SetRootPage(this.Const.Pages.PjProtokolleListePage);break;case this.ProjekteMenuebereiche.LOPListe:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleLoplistePage);break;case this.ProjekteMenuebereiche.Bautagebuch:this.Tools.SetRootPage(this.Const.Pages.PjBaustelleTagebuchlistePage);break;case this.ProjekteMenuebereiche.Festlegungen:this.Tools.SetRootPage(this.Const.Pages.PjFestlegungslistePage);break;case this.ProjekteMenuebereiche.Planungsmatrix:this.Tools.SetRootPage(this.Const.Pages.PjPlanungsmatrixPage);break;case this.ProjekteMenuebereiche.Simontabelle:this.Tools.SetRootPage(this.Const.Pages.PjSimontabellelistePage)}}}catch(g){this.Debug.ShowErrorMessage(g.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||l)(o.\u0275\u0275inject(d.DebugProvider),o.\u0275\u0275inject(a.ToolsProvider),o.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:l,factory:l.\u0275fac,providedIn:"root"})}return l})()},77200:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Navparameter=void 0;const n=i(81316),o=n.__importStar(i(54496)),d=n.__importStar(i(29743));h.Navparameter=(()=>{class u{Const;NavListe;CanGoBack;Debugstatus;constructor(l){this.Const=l;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(c){console.log(c,"Nav Parameter -> constructor:"+c)}}RemovePage(){try{let l=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),l=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),l}catch(l){console.log(l,"Nav Parameter -> RemovePage:"+l)}}AddPage(l){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==l?(this.NavListe.push(l),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+l),this.PrintNavliste())):console.log("Add Page Failed: "+l)}catch(c){console.log(c,"Nav Parameter -> AddPage: "+c)}}PrintNavliste(){try{let l;console.log("**************************"),console.log("Navliste: ");for(let c=0;c "+l):console.log(l);console.log("**************************")}catch(l){console.log(l,"Nav Parameter -> PrintNavliste: "+l)}}SetRootpage(l){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(l),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+l),this.PrintNavliste())}catch(c){console.log(c,"Nav Parameter -> SetRootpage: "+c)}}static \u0275fac=function(c){return new(c||u)(o.\u0275\u0275inject(d.ConstProvider))};static \u0275prov=o.\u0275\u0275defineInjectable({token:u,factory:u.\u0275fac,providedIn:"root"})}return u})()},19668:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ToolsProvider=void 0;const n=i(81316),o=n.__importStar(i(17964)),d=n.__importDefault(i(35908)),a=n.__importDefault(i(35908)),u=n.__importStar(i(54496)),e=n.__importStar(i(14652)),l=n.__importStar(i(34388)),c=n.__importStar(i(29743)),g=n.__importStar(i(77200)),y=n.__importStar(i(10716));h.ToolsProvider=(()=>{class C{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(p,f,S,v,M,E,A){this.Basics=p,this.Debug=f,this.Const=S,this.NavParameter=v,this.nav=M,this.platform=E,this.alertCtrl=A;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(k){this.Debug.ShowErrorMessage(k.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(p){try{return!isNaN(parseFloat(p))&&isFinite(p)}catch(f){this.Debug.ShowErrorMessage(f,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(p){this.Debug.ShowErrorMessage(p.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(p){try{return(0,a.default)(p).format("DD.MM.YY")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(p){try{return(0,a.default)(p).format("HH:mm")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(p,f,S){try{let v=p,M=""!==S?"_"+S:"";return v=v.replace(/ /g,"_"),v=v.replace(/\xe4/g,"ae"),v=v.replace(/\xc4/g,"AE"),v=v.replace(/\xf6/g,"oe"),v=v.replace(/\xd6/g,"OE"),v=v.replace(/\xfc/g,"ue"),v=v.replace(/\xdc/g,"UE"),v=v.replace(/\xdf/g,"ss"),v=v.replace(/[^a-zA-Z0-9 ]/g,"_"),v+M+"."+f}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(p,f){try{let S=p;return S=S.replace(/ /g,"_"),S=S.replace(/\xe4/g,"ae"),S=S.replace(/\xc4/g,"AE"),S=S.replace(/\xf6/g,"oe"),S=S.replace(/\xd6/g,"OE"),S=S.replace(/\xfc/g,"ue"),S=S.replace(/\xdc/g,"UE"),S=S.replace(/\xdf/g,"ss"),S=S.replace(/[^a-zA-Z0-9 ]/g,"_"),S}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(p,f){try{let v,M,E,A,k,S=!1;if(p.length>=f.length)for(A of p){if(v=f.findIndex(N=>A[M]===N[M]),-1===v){S=!0;break}E=Object.keys(p[v]),k=f[v];for(let N of E)if(A[N]!==k[N]){S=!0;break}if(!0===S)break}else for(k of f){if(v=p.findIndex(N=>k[M]===N[M]),-1===v){S=!0;break}E=Object.keys(p[v]),A=p[v];for(let N of E)if(k[N]!==A[N]){S=!0;break}if(!0===S)break}return S}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(p,f){try{return JSON.stringify(p)!==JSON.stringify(f)}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(p,f,S){try{let M,v=!1;if(p.length>=f.length){for(let E of p)if(M=f.findIndex(A=>E[S]===A[S]),-1===M){v=!0;break}}else for(let E of f)if(M=p.findIndex(A=>E[S]===A[S]),-1===M){v=!0;break}return v}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(p,f){try{return new Promise(S=>{this.alertCtrl.create({header:p,message:f,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{S(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{S(this.Const.Dialogmessages.ok)}}]}).then(v=>{v.present()}).catch(v=>{console.log(v)})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(p,f,S,v){try{return new Promise(M=>{this.alertCtrl.create({header:p,cssClass:"alertdialogclass",message:f,inputs:[{name:"wahla",type:"radio",label:S,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:v,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{M(null)}},{text:"Fertig",cssClass:"infookclass",handler:E=>{o.isUndefined(E)?M(null):M(E)}}]}).then(E=>{E.present()}).catch(E=>{console.log(E)})})}catch(M){this.Debug.ShowErrorMessage(M.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(p){try{let f;for(const S of Object.keys(p))f=p[S],null===f&&(f="",p[S]=f);return p}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(p,f=2,S=",",v="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const M=p<0?"-":"";let E=parseInt(p=Math.abs(Number(p)||0).toFixed(f)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(f?S+Math.abs(p-E).toFixed(f).slice(2):"")+" \u20ac"}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(p,f=2,S=",",v="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const M=p<0?"-":"";let E=parseInt(p=Math.abs(Number(p)||0).toFixed(f)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(f?S+Math.abs(p-E).toFixed(f).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(p,f=2,S=",",v="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const M=p<0?"-":"";let E=parseInt(p=Math.abs(Number(p)||0).toFixed(f)).toString(),A=E.length>3?E.length%3:0;return M+(A?E.substr(0,A)+v:"")+E.substr(A).replace(/(\d{3})(?=\d)/g,"$1"+v)+(f?S+Math.abs(p-E).toFixed(f).slice(2):"")}catch(M){this.Debug.ShowErrorMessage(M,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(p,f,S){try{let v;return null!==p?(p>=1e6?(p/=1e6,v=0===S?(p=Math.round(p)).toString()+" M":p.toFixed(S)+" M"):p>=1e3?(p/=1e3,v=0===S?(p=Math.round(p)).toString()+" k":p.toFixed(S)+" k"):p>0&&p<1?p<1e-9?(p*=1e9,0===S?p=Math.round(p):v=p.toFixed(S),v=p.toString()+" p"):p<1e-6?(p*=1e6,v=0===S?Math.round(p).toString():p.toFixed(S),v+=" n"):p<.001?(p*=1e3,v=0===S?Math.round(p).toString():p.toFixed(S),v+=" µ"):p<1&&(p*=1e3,v=0===S?Math.round(p).toString():p.toFixed(S),v+=" m"):(v=0===S?Math.round(p).toString():p.toFixed(S),""!==f&&(v=v+" "+f)),v=v.replace(".",","),""!==f&&(v=v+" "+f),v):"0"}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(p){try{return this.UID_Counter++,"uid_"+p.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(p){try{let f,S=100,v=50,M=50;return typeof p<"u"&&(p=p.replace("#",""),f=parseInt(p,16),S=f>>16&255,v=f>>8&255,M=255&f),S+","+v+","+M}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(p){try{return new Promise(f=>{this.nav.navigateRoot(p,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(p),f(!0)}).catch(S=>{console.log(S)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(p){try{return new Promise(f=>{this.nav.navigateForward(p,{animated:!0}).then(()=>{this.NavParameter.AddPage(p),f(!0)}).catch(S=>{console.log(S)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let p;return new Promise(f=>{p=this.NavParameter.RemovePage(),null!==p?this.nav.navigateBack(p,{animated:!1}).then(()=>{f(!0)}).catch(S=>{console.log(S)}):f(!0)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(p){try{return p/180*Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(p){try{return 180*p/Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(p){try{return p%2==0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(p){try{return p%2!=0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(p,f){try{let S=Math.pow(10,f||0);return Math.round(p*S)/S}catch(S){this.Debug.ShowErrorMessage(S.message,"file","function",this.Debug.Typen.Page)}}Runden(p,f){try{let S=Math.pow(10,f);return(Math.round(p*S)/S).toFixed(f)}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,d.default)().valueOf()}catch(p){this.Debug.ShowErrorMessage(p.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,d.default)().format("DD.MM.YYYY HH:mm:ss")}catch(p){this.Debug.ShowErrorMessage(p.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(p,f,S){try{return(0,d.default)(p+"."+f+"."+S+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(v){this.Debug.ShowErrorMessage(v.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(p){try{return typeof p<"u"?p.replace(/(?:\r\n|\r|\n)/g,"
"):""}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(p){try{return(p=(p=(p=(p=(p=(p=(p=(p=p.replace(/ /g,"_")).replace(/\xe4/g,"ae")).replace(/\xc4/g,"Ae")).replace(/\xf6/g,"oe")).replace(/\xd6/g,"Oe")).replace(/\xfc/g,"ue")).replace(/\xdc/g,"Ue")).replace(/\xdf/g,"ss")).replace(/[&\/\\#,+()$~%.'\xa7=^!`\xb4;":.,*-?<>{}]/g,"")}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ReplaceSonderzeichen",this.Debug.Typen.Service)}}RundenAsText(p,f){try{let v,S=Math.pow(10,f);return v=Math.round(p*S)/S,v.toString().replace(".",",")}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(p){try{return!!this.CheckObject(p,!1)&&p instanceof Array}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(p,f){try{return typeof p<"u"&&null!==p&&(!1===f||typeof p[f.toString()]<"u")}catch(S){this.Debug.ShowErrorMessage(S.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(p){try{return new Promise(f=>{this.alertCtrl.create({header:"Hinweis",message:p,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{f(!0)}}]}).then(S=>{S.present()}).catch(S=>{console.log(S)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(p){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||C)(u.\u0275\u0275inject(e.BasicsProvider),u.\u0275\u0275inject(l.DebugProvider),u.\u0275\u0275inject(c.ConstProvider),u.\u0275\u0275inject(g.Navparameter),u.\u0275\u0275inject(y.NavController),u.\u0275\u0275inject(y.Platform),u.\u0275\u0275inject(y.AlertController))};static \u0275prov=u.\u0275\u0275defineInjectable({token:C,factory:C.\u0275fac,providedIn:"root"})}return C})()},36716:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.environment=void 0,h.environment={production:!0}},27460:(ve,h,i)=>{"use strict";const d=i(81316).__importStar(i(14476)),a=i(54496),u=i(5204);i(36716).environment.production&&(0,a.enableProdMode)(),d.platformBrowser().bootstrapModule(u.AppModule).catch(l=>console.log(l))},78776:(ve,h,i)=>{var o,d,n=i(1196).default;self,ve.exports=(o={7629:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(9474),y=e(1687),_=e(8652),C=e(8160),b=e(3292),p=e(6354),f=e(8901),S=e(9708),v=e(6914),M=e(2294),E=e(6133),A=e(1152),k=e(8863),N=e(2036),F={Base:class{constructor(T){this.type=T,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new M.Ids,this._preferences=null,this._refs=new E.Manager,this._cache=null,this._valids=null,this._invalids=null,this._flags={},this._rules=[],this._singleRules=new Map,this.$_terms={},this.$_temp={ruleset:null,whens:{}}}describe(){return l("function"==typeof S.describe,"Manifest functionality disabled"),S.describe(this)}allow(...T){return C.verifyFlat(T,"allow"),this._values(T,"_valids")}alter(T){l(T&&"object"==typeof T&&!Array.isArray(T),"Invalid targets argument"),l(!this._inRuleset(),"Cannot set alterations inside a ruleset");const P=this.clone();P.$_terms.alterations=P.$_terms.alterations||[];for(const I in T){const j=T[I];l("function"==typeof j,"Alteration adjuster for",I,"must be a function"),P.$_terms.alterations.push({target:I,adjuster:j})}return P.$_temp.ruleset=!1,P}artifact(T){return l(void 0!==T,"Artifact cannot be undefined"),l(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",T)}cast(T){return l(!1===T||"string"==typeof T,"Invalid to value"),l(!1===T||this._definition.cast[T],"Type",this.type,"does not support casting to",T),this.$_setFlag("cast",!1===T?void 0:T)}default(T,P){return this._default("default",T,P)}description(T){return l(T&&"string"==typeof T,"Description must be a non-empty string"),this.$_setFlag("description",T)}empty(T){const P=this.clone();return void 0!==T&&(T=P.$_compile(T,{override:!1})),P.$_setFlag("empty",T,{clone:!1})}error(T){return l(T,"Missing error"),l(T instanceof Error||"function"==typeof T,"Must provide a valid Error object or a function"),this.$_setFlag("error",T)}example(T,P={}){return l(void 0!==T,"Missing example"),C.assertOptions(P,["override"]),this._inner("examples",T,{single:!0,override:P.override})}external(T,P){return"object"==typeof T&&(l(!P,"Cannot combine options with description"),P=T.description,T=T.method),l("function"==typeof T,"Method must be a function"),l(void 0===P||P&&"string"==typeof P,"Description must be a non-empty string"),this._inner("externals",{method:T,description:P},{single:!0})}failover(T,P){return this._default("failover",T,P)}forbidden(){return this.presence("forbidden")}id(T){return T?(l("string"==typeof T,"id must be a non-empty string"),l(/^[^\.]+$/.test(T),"id cannot contain period character"),this.$_setFlag("id",T)):this.$_setFlag("id",void 0)}invalid(...T){return this._values(T,"_invalids")}label(T){return l(T&&"string"==typeof T,"Label name must be a non-empty string"),this.$_setFlag("label",T)}meta(T){return l(void 0!==T,"Meta cannot be undefined"),this._inner("metas",T,{single:!0})}note(...T){l(T.length,"Missing notes");for(const P of T)l(P&&"string"==typeof P,"Notes must be non-empty strings");return this._inner("notes",T)}only(T=!0){return l("boolean"==typeof T,"Invalid mode:",T),this.$_setFlag("only",T)}optional(){return this.presence("optional")}prefs(T){l(T,"Missing preferences"),l(void 0===T.context,"Cannot override context"),l(void 0===T.externals,"Cannot override externals"),l(void 0===T.warnings,"Cannot override warnings"),l(void 0===T.debug,"Cannot override debug"),C.checkPreferences(T);const P=this.clone();return P._preferences=C.preferences(P._preferences,T),P}presence(T){return l(["optional","required","forbidden"].includes(T),"Unknown presence mode",T),this.$_setFlag("presence",T)}raw(T=!0){return this.$_setFlag("result",T?"raw":void 0)}result(T){return l(["raw","strip"].includes(T),"Unknown result mode",T),this.$_setFlag("result",T)}required(){return this.presence("required")}strict(T){const P=this.clone();return P._preferences=C.preferences(P._preferences,{convert:void 0!==T&&!T}),P}strip(T=!0){return this.$_setFlag("result",T?"strip":void 0)}tag(...T){l(T.length,"Missing tags");for(const P of T)l(P&&"string"==typeof P,"Tags must be non-empty strings");return this._inner("tags",T)}unit(T){return l(T&&"string"==typeof T,"Unit name must be a non-empty string"),this.$_setFlag("unit",T)}valid(...T){C.verifyFlat(T,"valid");const P=this.allow(...T);return P.$_setFlag("only",!!P._valids,{clone:!1}),P}when(T,P){const I=this.clone();I.$_terms.whens||(I.$_terms.whens=[]);const j=b.when(I,T,P);if(!["any","link"].includes(I.type)){const L=j.is?[j]:j.switch;for(const B of L)l(!B.then||"any"===B.then.type||B.then.type===I.type,"Cannot combine",I.type,"with",B.then&&B.then.type),l(!B.otherwise||"any"===B.otherwise.type||B.otherwise.type===I.type,"Cannot combine",I.type,"with",B.otherwise&&B.otherwise.type)}return I.$_terms.whens.push(j),I.$_mutateRebuild()}cache(T){l(!this._inRuleset(),"Cannot set caching inside a ruleset"),l(!this._cache,"Cannot override schema cache"),l(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const P=this.clone();return P._cache=T||_.provider.provision(),P.$_temp.ruleset=!1,P}clone(){const T=Object.create(Object.getPrototypeOf(this));return this._assign(T)}concat(T){l(C.isSchema(T),"Invalid schema object"),l("any"===this.type||"any"===T.type||T.type===this.type,"Cannot merge type",this.type,"with another type:",T.type),l(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),l(!T._inRuleset(),"Cannot concatenate a schema with open ruleset");let P=this.clone();if("any"===this.type&&"any"!==T.type){const I=T.clone();for(const j of Object.keys(P))"type"!==j&&(I[j]=P[j]);P=I}P._ids.concat(T._ids),P._refs.register(T,E.toSibling),P._preferences=P._preferences?C.preferences(P._preferences,T._preferences):T._preferences,P._valids=N.merge(P._valids,T._valids,T._invalids),P._invalids=N.merge(P._invalids,T._invalids,T._valids);for(const I of T._singleRules.keys())P._singleRules.has(I)&&(P._rules=P._rules.filter(j=>j.keep||j.name!==I),P._singleRules.delete(I));for(const I of T._rules)T._definition.rules[I.method].multi||P._singleRules.set(I.name,I),P._rules.push(I);if(P._flags.empty&&T._flags.empty){P._flags.empty=P._flags.empty.concat(T._flags.empty);const I=Object.assign({},T._flags);delete I.empty,y(P._flags,I)}else if(T._flags.empty){P._flags.empty=T._flags.empty;const I=Object.assign({},T._flags);delete I.empty,y(P._flags,I)}else y(P._flags,T._flags);for(const I in T.$_terms){const j=T.$_terms[I];j?P.$_terms[I]=P.$_terms[I]?P.$_terms[I].concat(j):j.slice():P.$_terms[I]||(P.$_terms[I]=j)}return this.$_root._tracer&&this.$_root._tracer._combine(P,[this,T]),P.$_mutateRebuild()}extend(T){return l(!T.base,"Cannot extend type with another base"),f.type(this,T)}extract(T){return T=Array.isArray(T)?T:T.split("."),this._ids.reach(T)}fork(T,P){l(!this._inRuleset(),"Cannot fork inside a ruleset");let I=this;for(let j of[].concat(T))j=Array.isArray(j)?j:j.split("."),I=I._ids.fork(j,P,I);return I.$_temp.ruleset=!1,I}rule(T){const P=this._definition;C.assertOptions(T,Object.keys(P.modifiers)),l(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const I=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;l(I>=0&&II.tailor(T),ref:!1}),P.$_temp.ruleset=!1,P.$_mutateRebuild()}tracer(){return A.location?A.location(this):this}validate(T,P){return k.entry(T,this,P)}validateAsync(T,P){return k.entryAsync(T,this,P)}$_addRule(T){"string"==typeof T&&(T={name:T}),l(T&&"object"==typeof T,"Invalid options"),l(T.name&&"string"==typeof T.name,"Invalid rule name");for(const B in T)l("_"!==B[0],"Cannot set private rule properties");const P=Object.assign({},T);P._resolve=[],P.method=P.method||P.name;const I=this._definition.rules[P.method],j=P.args;l(I,"Unknown rule",P.method);const L=this.clone();if(j){l(1===Object.keys(j).length||Object.keys(j).length===this._definition.rules[P.name].args.length,"Invalid rule definition for",this.type,P.name);for(const B in j){let $=j[B];if(I.argsByName){const ee=I.argsByName.get(B);if(ee.ref&&C.isResolvable($))P._resolve.push(B),L.$_mutateRegister($);else if(ee.normalize&&($=ee.normalize($),j[B]=$),ee.assert){const le=C.validateArg($,B,ee);l(!le,le,"or reference")}}void 0!==$?j[B]=$:delete j[B]}}return I.multi||(L._ruleRemove(P.name,{clone:!1}),L._singleRules.set(P.name,P)),!1===L.$_temp.ruleset&&(L.$_temp.ruleset=null),I.priority?L._rules.unshift(P):L._rules.push(P),L}$_compile(T,P){return b.schema(this.$_root,T,P)}$_createError(T,P,I,j,L,B={}){const $=!1!==B.flags?this._flags:{},ee=B.messages?v.merge(this._definition.messages,B.messages):this._definition.messages;return new p.Report(T,P,I,$,ee,j,L)}$_getFlag(T){return this._flags[T]}$_getRule(T){return this._singleRules.get(T)}$_mapLabels(T){return T=Array.isArray(T)?T:T.split("."),this._ids.labels(T)}$_match(T,P,I,j){(I=Object.assign({},I)).abortEarly=!0,I._externals=!1,P.snapshot();const L=!k.validate(T,this,P,I,j).errors;return P.restore(),L}$_modify(T){return C.assertOptions(T,["each","once","ref","schema"]),M.schema(this,T)||this}$_mutateRebuild(){return l(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(T,{source:P,name:I,key:L})=>{const B=this._definition[P][I]&&this._definition[P][I].register;!1!==B&&this.$_mutateRegister(T,{family:B,key:L})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(T,{family:P,key:I}={}){this._refs.register(T,P),this._ids.register(T,{key:I})}$_property(T){return this._definition.properties[T]}$_reach(T){return this._ids.reach(T)}$_rootReferences(){return this._refs.roots()}$_setFlag(T,P,I={}){if(l("_"===T[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),g(P,(this._definition.flags[T]||{}).default)&&(P=void 0),g(P,this._flags[T]))return this;const L=!1!==I.clone?this.clone():this;return void 0!==P?(L._flags[T]=P,L.$_mutateRegister(P)):delete L._flags[T],"_"!==T[0]&&(L.$_temp.ruleset=!1),L}$_parent(T,...P){return this[T][C.symbols.parent].call(this,...P)}$_validate(T,P,I){return k.validate(T,this,P,I)}_assign(T){T.type=this.type,T.$_root=this.$_root,T.$_temp=Object.assign({},this.$_temp),T.$_temp.whens={},T._ids=this._ids.clone(),T._preferences=this._preferences,T._valids=this._valids&&this._valids.clone(),T._invalids=this._invalids&&this._invalids.clone(),T._rules=this._rules.slice(),T._singleRules=c(this._singleRules,{shallow:!0}),T._refs=this._refs.clone(),T._flags=Object.assign({},this._flags),T._cache=null,T.$_terms={};for(const P in this.$_terms)T.$_terms[P]=this.$_terms[P]?this.$_terms[P].slice():null;T.$_super={};for(const P in this.$_super)T.$_super[P]=this._super[P].bind(T);return T}_bare(){const T=this.clone();T._reset();const P=T._definition.terms;for(const I in P)T.$_terms[I]=P[I].init;return T.$_mutateRebuild()}_default(T,P,I={}){return C.assertOptions(I,"literal"),l(void 0!==P,"Missing",T,"value"),l("function"==typeof P||!I.literal,"Only function value supports literal option"),"function"==typeof P&&I.literal&&(P={[C.symbols.literal]:!0,literal:P}),this.$_setFlag(T,P)}_generate(T,P,I){if(!this.$_terms.whens)return{schema:this};const j=[],L=[];for(let ee=0;eeQ)break}const B=L.join(", ");if(P.mainstay.tracer.debug(P,"rule","when",B),!B)return{schema:this};if(!P.mainstay.tracer.active&&this.$_temp.whens[B])return{schema:this.$_temp.whens[B],id:B};let $=this;this._definition.generate&&($=this._definition.generate(this,T,P,I));for(const ee of j)$=$.concat(ee);return this.$_root._tracer&&this.$_root._tracer._combine($,[this,...j]),this.$_temp.whens[B]=$,{schema:$,id:B}}_inner(T,P,I={}){l(!this._inRuleset(),`Cannot set ${T} inside a ruleset`);const j=this.clone();return j.$_terms[T]&&!I.override||(j.$_terms[T]=[]),I.single?j.$_terms[T].push(P):j.$_terms[T].push(...P),j.$_temp.ruleset=!1,j}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(T,P={}){if(!this._singleRules.has(T))return this;const I=!1!==P.clone?this.clone():this;I._singleRules.delete(T);const j=[];for(let L=0;L{"use strict";const l=e(375),c=e(8571),g=e(8160),y={max:1e3,supported:new Set(["undefined","boolean","number","string"])};u.provider={provision:_=>new y.Cache(_)},y.Cache=class{constructor(_={}){g.assertOptions(_,["max"]),l(void 0===_.max||_.max&&_.max>0&&isFinite(_.max),"Invalid max cache size"),this._max=_.max||y.max,this._map=new Map,this._list=new y.List}get length(){return this._map.size}set(_,C){if(null!==_&&!y.supported.has(typeof _))return;let b=this._map.get(_);if(b)return b.value=C,void this._list.first(b);b=this._list.unshift({key:_,value:C}),this._map.set(_,b),this._compact()}get(_){const C=this._map.get(_);if(C)return this._list.first(C),c(C.value)}_compact(){if(this._map.size>this._max){const _=this._list.pop();this._map.delete(_.key)}}},y.List=class{constructor(){this.tail=null,this.head=null}unshift(_){return _.next=null,_.prev=this.head,this.head&&(this.head.next=_),this.head=_,this.tail||(this.tail=_),_}first(_){_!==this.head&&(this._remove(_),this.unshift(_))}pop(){return this._remove(this.tail)}_remove(_){const{next:C,prev:b}=_;return C.prev=b,b&&(b.next=C),_===this.tail&&(this.tail=C),_.prev=null,_.next=null,_}}},8160:(a,u,e)=>{"use strict";const l=e(375),c=e(7916),g=e(5934);let y,_;const C={isoDate:/^(?:[-+]\d{2})?(?:\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?![T]$|[T][\d]+Z$)(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[.,]\d+(?!:))?)(?:\2[0-5]\d(?:[.,]\d+)?)?(?:[Z]|(?:[+-])(?:[01]\d|2[0-3])(?::?[0-5]\d)?)?)?)?$/};u.version=g.version,u.defaults={abortEarly:!0,allowUnknown:!1,artifacts:!1,cache:!0,context:null,convert:!0,dateFormat:"iso",errors:{escapeHtml:!1,label:"path",language:null,render:!0,stack:!1,wrap:{label:'"',array:"[]"}},externals:!0,messages:{},nonEnumerables:!1,noDefaults:!1,presence:"optional",skipFunctions:!1,stripUnknown:!1,warnings:!1},u.symbols={any:Symbol.for("@hapi/joi/schema"),arraySingle:Symbol("arraySingle"),deepDefault:Symbol("deepDefault"),errors:Symbol("errors"),literal:Symbol("literal"),override:Symbol("override"),parent:Symbol("parent"),prefs:Symbol("prefs"),ref:Symbol("ref"),template:Symbol("template"),values:Symbol("values")},u.assertOptions=function(b,p,f="Options"){l(b&&"object"==typeof b&&!Array.isArray(b),"Options must be of type object");const S=Object.keys(b).filter(v=>!p.includes(v));l(0===S.length,`${f} contain unknown keys: ${S}`)},u.checkPreferences=function(b){_=_||e(3378);const p=_.preferences.validate(b);if(p.error)throw new c([p.error.details[0].message])},u.compare=function(b,p,f){switch(f){case"=":return b===p;case">":return b>p;case"<":return b=":return b>=p;case"<=":return b<=p}},u.default=function(b,p){return void 0===b?p:b},u.isIsoDate=function(b){return C.isoDate.test(b)},u.isNumber=function(b){return"number"==typeof b&&!isNaN(b)},u.isResolvable=function(b){return!!b&&(b[u.symbols.ref]||b[u.symbols.template])},u.isSchema=function(b,p={}){const f=b&&b[u.symbols.any];return!!f&&(l(p.legacy||f.version===u.version,"Cannot mix different versions of joi schemas"),!0)},u.isValues=function(b){return b[u.symbols.values]},u.limit=function(b){return Number.isSafeInteger(b)&&b>=0},u.preferences=function(b,p){y=y||e(6914),b=b||{},p=p||{};const f=Object.assign({},b,p);return p.errors&&b.errors&&(f.errors=Object.assign({},b.errors,p.errors),f.errors.wrap=Object.assign({},b.errors.wrap,p.errors.wrap)),p.messages&&(f.messages=y.compile(p.messages,b.messages)),delete f[u.symbols.prefs],f},u.tryWithPath=function(b,p,f={}){try{return b()}catch(S){throw S.path=void 0!==S.path?p+"."+S.path:p,f.append&&(S.message=`${S.message} (${S.path})`),S}},u.validateArg=function(b,p,{assert:f,message:S}){if(u.isSchema(f)){const v=f.validate(b);return v.error?v.error.message:void 0}if(!f(b))return p?`${p} ${S}`:S},u.verifyFlat=function(b,p){for(const f of b)l(!Array.isArray(f),"Method no longer accepts array arguments:",p)}},3292:(a,u,e)=>{"use strict";const l=e(375),c=e(8160),g=e(6133),y={};u.schema=function(_,C,b={}){c.assertOptions(b,["appendPath","override"]);try{return y.schema(_,C,b)}catch(p){throw b.appendPath&&void 0!==p.path&&(p.message=`${p.message} (${p.path})`),p}},y.schema=function(_,C,b){l(void 0!==C,"Invalid undefined schema"),Array.isArray(C)&&(l(C.length,"Invalid empty array schema"),1===C.length&&(C=C[0]));const p=(f,...S)=>!1!==b.override?f.valid(_.override,...S):f.valid(...S);if(y.simple(C))return p(_,C);if("function"==typeof C)return _.custom(C);if(l("object"==typeof C,"Invalid schema content:",typeof C),c.isResolvable(C))return p(_,C);if(c.isSchema(C))return C;if(Array.isArray(C)){for(const f of C)if(!y.simple(f))return _.alternatives().try(...C);return p(_,...C)}return C instanceof RegExp?_.string().regex(C):C instanceof Date?p(_.date(),C):(l(Object.getPrototypeOf(C)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),_.object().keys(C))},u.ref=function(_,C){return g.isRef(_)?_:g.create(_,C)},u.compile=function(_,C,b={}){c.assertOptions(b,["legacy"]);const p=C&&C[c.symbols.any];if(p)return l(b.legacy||p.version===c.version,"Cannot mix different versions of joi schemas:",p.version,c.version),C;if("object"!=typeof C||!b.legacy)return u.schema(_,C,{appendPath:!0});const f=y.walk(C);return f?f.compile(f.root,C):u.schema(_,C,{appendPath:!0})},y.walk=function(_){if("object"!=typeof _)return null;if(Array.isArray(_)){for(const b of _){const p=y.walk(b);if(p)return p}return null}const C=_[c.symbols.any];if(C)return{root:_[C.root],compile:C.compile};l(Object.getPrototypeOf(_)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const b in _){const p=y.walk(_[b]);if(p)return p}return null},y.simple=function(_){return null===_||["boolean","string","number"].includes(typeof _)},u.when=function(_,C,b){if(void 0===b&&(l(C&&"object"==typeof C,"Missing options"),b=C,C=g.create(".")),Array.isArray(b)&&(b={switch:b}),c.assertOptions(b,["is","not","then","otherwise","switch","break"]),c.isSchema(C))return l(void 0===b.is,'"is" can not be used with a schema condition'),l(void 0===b.not,'"not" can not be used with a schema condition'),l(void 0===b.switch,'"switch" can not be used with a schema condition'),y.condition(_,{is:C,then:b.then,otherwise:b.otherwise,break:b.break});if(l(g.isRef(C)||"string"==typeof C,"Invalid condition:",C),l(void 0===b.not||void 0===b.is,'Cannot combine "is" with "not"'),void 0===b.switch){let f=b;void 0!==b.not&&(f={is:b.not,then:b.otherwise,otherwise:b.then,break:b.break});let S=void 0!==f.is?_.$_compile(f.is):_.$_root.invalid(null,!1,0,"").required();return l(void 0!==f.then||void 0!==f.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),l(void 0===f.break||void 0===f.then||void 0===f.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===b.is||g.isRef(b.is)||c.isSchema(b.is)||(S=S.required()),y.condition(_,{ref:u.ref(C),is:S,then:f.then,otherwise:f.otherwise,break:f.break})}l(Array.isArray(b.switch),'"switch" must be an array'),l(void 0===b.is,'Cannot combine "switch" with "is"'),l(void 0===b.not,'Cannot combine "switch" with "not"'),l(void 0===b.then,'Cannot combine "switch" with "then"');const p={ref:u.ref(C),switch:[],break:b.break};for(let f=0;f{"use strict";const l=e(5688),c=e(8160),g=e(3328);u.Report=class{constructor(y,_,C,b,p,f,S){if(this.code=y,this.flags=b,this.messages=p,this.path=f.path,this.prefs=S,this.state=f,this.value=_,this.message=null,this.template=null,this.local=C||{},this.local.label=u.label(this.flags,this.state,this.prefs,this.messages),void 0===this.value||this.local.hasOwnProperty("value")||(this.local.value=this.value),this.path.length){const v=this.path[this.path.length-1];"object"!=typeof v&&(this.local.key=v)}}_setTemplate(y){if(this.template=y,!this.flags.label&&0===this.path.length){const _=this._template(this.template,"root");_&&(this.local.label=_)}}toString(){if(this.message)return this.message;const y=this.code;if(!this.prefs.errors.render)return this.code;const _=this._template(this.template)||this._template(this.prefs.messages)||this._template(this.messages);return void 0===_?`Error code "${y}" is not defined, your custom type is missing the correct messages definition`:(this.message=_.render(this.value,this.state,this.prefs,this.local,{errors:this.prefs.errors,messages:[this.prefs.messages,this.messages]}),this.prefs.errors.label||(this.message=this.message.replace(/^"" /,"").trim()),this.message)}_template(y,_){return u.template(this.value,y,_||this.code,this.state,this.prefs)}},u.path=function(y){let _="";for(const C of y)"object"!=typeof C&&("string"==typeof C?(_&&(_+="."),_+=C):_+=`[${C}]`);return _},u.template=function(y,_,C,b,p){if(!_)return;if(g.isTemplate(_))return"root"!==C?_:null;let f=p.errors.language;if(c.isResolvable(f)&&(f=f.resolve(y,b,p)),f&&_[f]){if(void 0!==_[f][C])return _[f][C];if(void 0!==_[f]["*"])return _[f]["*"]}return _[C]?_[C]:_["*"]},u.label=function(y,_,C,b){if(y.label)return y.label;if(!C.errors.label)return"";let p=_.path;return"key"===C.errors.label&&_.path.length>1&&(p=_.path.slice(-1)),u.path(p)||u.template(null,C.messages,"root",_,C)||b&&u.template(null,b,"root",_,C)||"value"},u.process=function(y,_,C){if(!y)return null;const{override:b,message:p,details:f}=u.details(y);if(b)return b;if(C.errors.stack)return new u.ValidationError(p,f,_);const S=Error.stackTraceLimit;Error.stackTraceLimit=0;const v=new u.ValidationError(p,f,_);return Error.stackTraceLimit=S,v},u.details=function(y,_={}){let C=[];const b=[];for(const p of y){if(p instanceof Error){if(!1!==_.override)return{override:p};const S=p.toString();C.push(S),b.push({message:S,type:"override",context:{error:p}});continue}const f=p.toString();C.push(f),b.push({message:f,path:p.path.filter(S=>"object"!=typeof S),type:p.code,context:p.local})}return C.length>1&&(C=[...new Set(C)]),{message:C.join(". "),details:b}},u.ValidationError=class extends Error{constructor(y,_,C){super(y),this._original=C,this.details=_}static isError(y){return y instanceof u.ValidationError}},u.ValidationError.prototype.isJoi=!0,u.ValidationError.prototype.name="ValidationError",u.ValidationError.prototype.annotate=l.error},8901:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(8160),y=e(6914),_={};u.type=function(C,b){const p=Object.getPrototypeOf(C),f=c(p),S=C._assign(Object.create(f)),v=Object.assign({},b);delete v.base,f._definition=v;const M=p._definition||{};v.messages=y.merge(M.messages,v.messages),v.properties=Object.assign({},M.properties,v.properties),S.type=v.type,v.flags=Object.assign({},M.flags,v.flags);const E=Object.assign({},M.terms);if(v.terms)for(const F in v.terms){const T=v.terms[F];l(void 0===S.$_terms[F],"Invalid term override for",v.type,F),S.$_terms[F]=T.init,E[F]=T}v.terms=E,v.args||(v.args=M.args),v.prepare=_.prepare(v.prepare,M.prepare),v.coerce&&("function"==typeof v.coerce&&(v.coerce={method:v.coerce}),v.coerce.from&&!Array.isArray(v.coerce.from)&&(v.coerce={method:v.coerce.method,from:[].concat(v.coerce.from)})),v.coerce=_.coerce(v.coerce,M.coerce),v.validate=_.validate(v.validate,M.validate);const A=Object.assign({},M.rules);if(v.rules)for(const F in v.rules){const T=v.rules[F];l("object"==typeof T,"Invalid rule definition for",v.type,F);let P=T.method;if(void 0===P&&(P=function(){return this.$_addRule(F)}),P&&(l(!f[F],"Rule conflict in",v.type,F),f[F]=P),l(!A[F],"Rule conflict in",v.type,F),A[F]=T,T.alias){const I=[].concat(T.alias);for(const j of I)f[j]=T.method}T.args&&(T.argsByName=new Map,T.args=T.args.map(I=>("string"==typeof I&&(I={name:I}),l(!T.argsByName.has(I.name),"Duplicated argument name",I.name),g.isSchema(I.assert)&&(I.assert=I.assert.strict().label(I.name)),T.argsByName.set(I.name,I),I)))}v.rules=A;const k=Object.assign({},M.modifiers);if(v.modifiers)for(const F in v.modifiers){l(!f[F],"Rule conflict in",v.type,F);const T=v.modifiers[F];l("function"==typeof T,"Invalid modifier definition for",v.type,F),f[F]=function(I){return this.rule({[F]:I})},k[F]=T}if(v.modifiers=k,v.overrides){f._super=p,S.$_super={};for(const F in v.overrides)l(p[F],"Cannot override missing",F),v.overrides[F][g.symbols.parent]=p[F],S.$_super[F]=p[F].bind(S);Object.assign(f,v.overrides)}v.cast=Object.assign({},M.cast,v.cast);const N=Object.assign({},M.manifest,v.manifest);return N.build=_.build(v.manifest&&v.manifest.build,M.manifest&&M.manifest.build),v.manifest=N,v.rebuild=_.rebuild(v.rebuild,M.rebuild),S},_.build=function(C,b){return C&&b?function(p,f){return b(C(p,f),f)}:C||b},_.coerce=function(C,b){return C&&b?{from:C.from&&b.from?[...new Set([...C.from,...b.from])]:null,method(p,f){let S;if((!b.from||b.from.includes(typeof p))&&(S=b.method(p,f),S)){if(S.errors||void 0===S.value)return S;p=S.value}if(!C.from||C.from.includes(typeof p)){const v=C.method(p,f);if(v)return v}return S}}:C||b},_.prepare=function(C,b){return C&&b?function(p,f){const S=C(p,f);if(S){if(S.errors||void 0===S.value)return S;p=S.value}return b(p,f)||S}:C||b},_.rebuild=function(C,b){return C&&b?function(p){b(p),C(p)}:C||b},_.validate=function(C,b){return C&&b?function(p,f){const S=b(p,f);if(S){if(S.errors&&(!Array.isArray(S.errors)||S.errors.length))return S;p=S.value}return C(p,f)||S}:C||b}},5107:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(8652),y=e(8160),_=e(3292),C=e(6354),b=e(8901),p=e(9708),f=e(6133),S=e(3328),v=e(1152);let M;const E={types:{alternatives:e(4946),any:e(8068),array:e(546),boolean:e(4937),date:e(7500),function:e(390),link:e(8785),number:e(3832),object:e(8966),string:e(7417),symbol:e(8826)},aliases:{alt:"alternatives",bool:"boolean",func:"function"},root:function(){const A={_types:new Set(Object.keys(E.types))};for(const k of A._types)A[k]=function(...N){return l(!N.length||["alternatives","link","object"].includes(k),"The",k,"type does not allow arguments"),E.generate(this,E.types[k],N)};for(const k of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])A[k]=function(...N){return this.any()[k](...N)};Object.assign(A,E.methods);for(const k in E.aliases)A[k]=A[E.aliases[k]];return A.x=A.expression,v.setup&&v.setup(A),A}};E.methods={ValidationError:C.ValidationError,version:y.version,cache:g.provider,assert(A,k,...N){E.assert(A,k,!0,N)},attempt:(A,k,...N)=>E.assert(A,k,!1,N),build(A){return l("function"==typeof p.build,"Manifest functionality disabled"),p.build(this,A)},checkPreferences(A){y.checkPreferences(A)},compile(A,k){return _.compile(this,A,k)},defaults(A){l("function"==typeof A,"modifier must be a function");const k=Object.assign({},this);for(const N of k._types){const F=A(k[N]());l(y.isSchema(F),"modifier must return a valid schema object"),k[N]=function(...T){return E.generate(this,F,T)}}return k},expression:(...A)=>new S(...A),extend(...A){y.verifyFlat(A,"extend"),M=M||e(3378),l(A.length,"You need to provide at least one extension"),this.assert(A,M.extensions);const k=Object.assign({},this);k._types=new Set(k._types);for(let N of A){"function"==typeof N&&(N=N(k)),this.assert(N,M.extension);const F=E.expandExtension(N,k);for(const T of F){l(void 0===k[T.type]||k._types.has(T.type),"Cannot override name",T.type);const P=T.base||this.any(),I=b.type(P,T);k._types.add(T.type),k[T.type]=function(...j){return E.generate(this,I,j)}}}return k},isError:C.ValidationError.isError,isExpression:S.isTemplate,isRef:f.isRef,isSchema:y.isSchema,in:(...A)=>f.in(...A),override:y.symbols.override,ref:(...A)=>f.create(...A),types(){const A={};for(const k of this._types)A[k]=this[k]();for(const k in E.aliases)A[k]=this[k]();return A}},E.assert=function(A,k,N,F){const T=F[0]instanceof Error||"string"==typeof F[0]?F[0]:null,I=k.validate(A,y.preferences({errors:{stack:!0}},(null!==T?F[1]:F[0])||{}));let j=I.error;if(!j)return I.value;if(T instanceof Error)throw T;const L=N&&"function"==typeof j.annotate?j.annotate():j.message;throw j instanceof C.ValidationError==0&&(j=c(j)),j.message=T?`${T} ${L}`:L,j},E.generate=function(A,k,N){return l(A,"Must be invoked on a Joi instance."),k.$_root=A,k._definition.args&&N.length?k._definition.args(k,...N):k},E.expandExtension=function(A,k){if("string"==typeof A.type)return[A];const N=[];for(const F of k._types)if(A.type.test(F)){const T=Object.assign({},A);T.type=F,T.base=k[F](),N.push(T)}return N},a.exports=E.root()},6914:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(3328);u.compile=function(y,_){if("string"==typeof y)return l(!_,"Cannot set single message string"),new g(y);if(g.isTemplate(y))return l(!_,"Cannot set single message template"),y;l("object"==typeof y&&!Array.isArray(y),"Invalid message options"),_=_?c(_):{};for(let C in y){const b=y[C];if("root"===C||g.isTemplate(b)){_[C]=b;continue}if("string"==typeof b){_[C]=new g(b);continue}l("object"==typeof b&&!Array.isArray(b),"Invalid message for",C);const p=C;for(C in _[p]=_[p]||{},b){const f=b[C];"root"===C||g.isTemplate(f)?_[p][C]=f:(l("string"==typeof f,"Invalid message for",C,"in",p),_[p][C]=new g(f))}}return _},u.decompile=function(y){const _={};for(let C in y){const b=y[C];if("root"===C){_.root=b;continue}if(g.isTemplate(b)){_[C]=b.describe({compact:!0});continue}const p=C;for(C in _[p]={},b){const f=b[C];"root"!==C?_[p][C]=f.describe({compact:!0}):_[p].root=f}}return _},u.merge=function(y,_){if(!y)return u.compile(_);if(!_)return y;if("string"==typeof _)return new g(_);if(g.isTemplate(_))return _;const C=c(y);for(let b in _){const p=_[b];if("root"===b||g.isTemplate(p)){C[b]=p;continue}if("string"==typeof p){C[b]=new g(p);continue}l("object"==typeof p&&!Array.isArray(p),"Invalid message for",b);const f=b;for(b in C[f]=C[f]||{},p){const S=p[b];"root"===b||g.isTemplate(S)?C[f][b]=S:(l("string"==typeof S,"Invalid message for",b,"in",f),C[f][b]=new g(S))}}return C}},2294:(a,u,e)=>{"use strict";const l=e(375),c=e(8160),g=e(6133),y={};u.Ids=y.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const _=new y.Ids;return _._byId=new Map(this._byId),_._byKey=new Map(this._byKey),_._schemaChain=this._schemaChain,_}concat(_){_._schemaChain&&(this._schemaChain=!0);for(const[C,b]of _._byId.entries())l(!this._byKey.has(C),"Schema id conflicts with existing key:",C),this._byId.set(C,b);for(const[C,b]of _._byKey.entries())l(!this._byId.has(C),"Schema key conflicts with existing id:",C),this._byKey.set(C,b)}fork(_,C,b){const p=this._collect(_);p.push({schema:b});const f=p.shift();let S={id:f.id,schema:C(f.schema)};l(c.isSchema(S.schema),"adjuster function failed to return a joi schema type");for(const v of p)S={id:v.id,schema:y.fork(v.schema,S.id,S.schema)};return S.schema}labels(_,C=[]){const b=_[0],p=this._get(b);if(!p)return[...C,..._].join(".");const f=_.slice(1);return C=[...C,p.schema._flags.label||b],f.length?p.schema._ids.labels(f,C):C.join(".")}reach(_,C=[]){const b=_[0],p=this._get(b);l(p,"Schema does not contain path",[...C,..._].join("."));const f=_.slice(1);return f.length?p.schema._ids.reach(f,[...C,b]):p.schema}register(_,{key:C}={}){if(!_||!c.isSchema(_))return;(_.$_property("schemaChain")||_._ids._schemaChain)&&(this._schemaChain=!0);const b=_._flags.id;if(b){const p=this._byId.get(b);l(!p||p.schema===_,"Cannot add different schemas with the same id:",b),l(!this._byKey.has(b),"Schema id conflicts with existing key:",b),this._byId.set(b,{schema:_,id:b})}C&&(l(!this._byKey.has(C),"Schema already contains key:",C),l(!this._byId.has(C),"Schema key conflicts with existing id:",C),this._byKey.set(C,{schema:_,id:C}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(_,C=[],b=[]){const p=_[0],f=this._get(p);l(f,"Schema does not contain path",[...C,..._].join(".")),b=[f,...b];const S=_.slice(1);return S.length?f.schema._ids._collect(S,[...C,p],b):b}_get(_){return this._byId.get(_)||this._byKey.get(_)}},y.fork=function(_,C,b){const p=u.schema(_,{each:(f,{key:S})=>{if(C===(f._flags.id||S))return b},ref:!1});return p?p.$_mutateRebuild():_},u.schema=function(_,C){let b;for(const p in _._flags){if("_"===p[0])continue;const f=y.scan(_._flags[p],{source:"flags",name:p},C);void 0!==f&&(b=b||_.clone(),b._flags[p]=f)}for(let p=0;p<_._rules.length;++p){const f=_._rules[p],S=y.scan(f.args,{source:"rules",name:f.name},C);if(void 0!==S){b=b||_.clone();const v=Object.assign({},f);v.args=S,b._rules[p]=v,b._singleRules.get(f.name)===f&&b._singleRules.set(f.name,v)}}for(const p in _.$_terms){if("_"===p[0])continue;const f=y.scan(_.$_terms[p],{source:"terms",name:p},C);void 0!==f&&(b=b||_.clone(),b.$_terms[p]=f)}return b},y.scan=function(_,C,b,p,f){const S=p||[];if(null===_||"object"!=typeof _)return;let v;if(Array.isArray(_)){for(let M=0;M<_.length;++M){const E="terms"===C.source&&"keys"===C.name&&_[M].key,A=y.scan(_[M],C,b,[M,...S],E);void 0!==A&&(v=v||_.slice(),v[M]=A)}return v}if(!1!==b.schema&&c.isSchema(_)||!1!==b.ref&&g.isRef(_)){const M=b.each(_,{...C,path:S,key:f});return M===_?void 0:M}for(const M in _){if("_"===M[0])continue;const E=y.scan(_[M],C,b,[M,...S],f);void 0!==E&&(v=v||Object.assign({},_),v[M]=E)}return v}},6133:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(9621),y=e(8160);let _;const C={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};u.create=function(b,p={}){l("string"==typeof b,"Invalid reference key:",b),y.assertOptions(p,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),l(!p.prefix||"object"==typeof p.prefix,"options.prefix must be of type object");const f=Object.assign({},C.defaults,p);delete f.prefix;const S=f.separator,v=C.context(b,S,p.prefix);if(f.type=v.type,b=v.key,"value"===f.type)if(v.root&&(l(!S||b[0]!==S,"Cannot specify relative path with root prefix"),f.ancestor="root",b||(b=null)),S&&S===b)b=null,f.ancestor=0;else if(void 0!==f.ancestor)l(!S||!b||b[0]!==S,"Cannot combine prefix with ancestor option");else{const[M,E]=C.ancestor(b,S);E&&""===(b=b.slice(E))&&(b=null),f.ancestor=M}return f.path=S?null===b?[]:b.split(S):[b],new C.Ref(f)},u.in=function(b,p={}){return u.create(b,{...p,in:!0})},u.isRef=function(b){return!!b&&!!b[y.symbols.ref]},C.Ref=class{constructor(b){l("object"==typeof b,"Invalid reference construction"),y.assertOptions(b,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),l([!1,void 0].includes(b.separator)||"string"==typeof b.separator&&1===b.separator.length,"Invalid separator"),l(!b.adjust||"function"==typeof b.adjust,"options.adjust must be a function"),l(!b.map||Array.isArray(b.map),"options.map must be an array"),l(!b.map||!b.adjust,"Cannot set both map and adjust options"),Object.assign(this,C.defaults,b),l("value"===this.type||void 0===this.ancestor,"Non-value references cannot reference ancestors"),Array.isArray(this.map)&&(this.map=new Map(this.map)),this.depth=this.path.length,this.key=this.path.length?this.path.join(this.separator):null,this.root=this.path[0],this.updateDisplay()}resolve(b,p,f,S,v={}){return l(!this.in||v.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(f.context,p,v):"local"===this.type?this._resolve(S,p,v):this.ancestor?"root"===this.ancestor?this._resolve(p.ancestors[p.ancestors.length-1],p,v):(l(this.ancestor<=p.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(p.ancestors[this.ancestor-1],p,v)):this._resolve(b,p,v)}_resolve(b,p,f){let S;if("value"===this.type&&p.mainstay.shadow&&!1!==f.shadow&&(S=p.mainstay.shadow.get(this.absolute(p))),void 0===S&&(S=g(b,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(S=this.adjust(S)),this.map){const v=this.map.get(S);void 0!==v&&(S=v)}return p.mainstay&&p.mainstay.tracer.resolve(p,this,S),S}toString(){return this.display}absolute(b){return[...b.path.slice(0,-this.ancestor),...this.path]}clone(){return new C.Ref(this)}describe(){const b={path:this.path};"value"!==this.type&&(b.type=this.type),"."!==this.separator&&(b.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(b.ancestor=this.ancestor),this.map&&(b.map=[...this.map]);for(const p of["adjust","iterables","render"])null!=this[p]&&(b[p]=this[p]);return!1!==this.in&&(b.in=!0),{ref:b}}updateDisplay(){const b=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${b}`);if(!this.separator)return void(this.display=`ref:${b}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${b}`);if("root"===this.ancestor)return void(this.display=`ref:root:${b}`);if(1===this.ancestor)return void(this.display=`ref:${b||".."}`);const p=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${p}${b||""}`}},C.Ref.prototype[y.symbols.ref]=!0,u.build=function(b){return"value"===(b=Object.assign({},C.defaults,b)).type&&void 0===b.ancestor&&(b.ancestor=1),new C.Ref(b)},C.context=function(b,p,f={}){if(b=b.trim(),f){const S=void 0===f.global?"$":f.global;if(S!==p&&b.startsWith(S))return{key:b.slice(S.length),type:"global"};const v=void 0===f.local?"#":f.local;if(v!==p&&b.startsWith(v))return{key:b.slice(v.length),type:"local"};const M=void 0===f.root?"/":f.root;if(M!==p&&b.startsWith(M))return{key:b.slice(M.length),type:"value",root:!0}}return{key:b,type:"value"}},C.ancestor=function(b,p){if(!p)return[1,0];if(b[0]!==p)return[1,0];if(b[1]!==p)return[0,1];let f=2;for(;b[f]===p;)++f;return[f-1,f]},u.toSibling=0,u.toParent=1,u.Manager=class{constructor(){this.refs=[]}register(b,p){if(b)if(p=void 0===p?u.toParent:p,Array.isArray(b))for(const f of b)this.register(f,p);else if(y.isSchema(b))for(const f of b._refs.refs)f.ancestor-p>=0&&this.refs.push({ancestor:f.ancestor-p,root:f.root});else u.isRef(b)&&"value"===b.type&&b.ancestor-p>=0&&this.refs.push({ancestor:b.ancestor-p,root:b.root}),_=_||e(3328),_.isTemplate(b)&&this.register(b.refs(),p)}get length(){return this.refs.length}clone(){const b=new u.Manager;return b.refs=c(this.refs),b}reset(){this.refs=[]}roots(){return this.refs.filter(b=>!b.ancestor).map(b=>b.root)}}},3378:(a,u,e)=>{"use strict";const l=e(5107),c={};c.wrap=l.string().min(1).max(2).allow(!1),u.preferences=l.object({allowUnknown:l.boolean(),abortEarly:l.boolean(),artifacts:l.boolean(),cache:l.boolean(),context:l.object(),convert:l.boolean(),dateFormat:l.valid("date","iso","string","time","utc"),debug:l.boolean(),errors:{escapeHtml:l.boolean(),label:l.valid("path","key",!1),language:[l.string(),l.object().ref()],render:l.boolean(),stack:l.boolean(),wrap:{label:c.wrap,array:c.wrap,string:c.wrap}},externals:l.boolean(),messages:l.object(),noDefaults:l.boolean(),nonEnumerables:l.boolean(),presence:l.valid("required","optional","forbidden"),skipFunctions:l.boolean(),stripUnknown:l.object({arrays:l.boolean(),objects:l.boolean()}).or("arrays","objects").allow(!0,!1),warnings:l.boolean()}).strict(),c.nameRx=/^[a-zA-Z0-9]\w*$/,c.rule=l.object({alias:l.array().items(l.string().pattern(c.nameRx)).single(),args:l.array().items(l.string(),l.object({name:l.string().pattern(c.nameRx).required(),ref:l.boolean(),assert:l.alternatives([l.function(),l.object().schema()]).conditional("ref",{is:!0,then:l.required()}),normalize:l.function(),message:l.string().when("assert",{is:l.function(),then:l.required()})})),convert:l.boolean(),manifest:l.boolean(),method:l.function().allow(!1),multi:l.boolean(),validate:l.function()}),u.extension=l.object({type:l.alternatives([l.string(),l.object().regex()]).required(),args:l.function(),cast:l.object().pattern(c.nameRx,l.object({from:l.function().maxArity(1).required(),to:l.function().minArity(1).maxArity(2).required()})),base:l.object().schema().when("type",{is:l.object().regex(),then:l.forbidden()}),coerce:[l.function().maxArity(3),l.object({method:l.function().maxArity(3).required(),from:l.array().items(l.string()).single()})],flags:l.object().pattern(c.nameRx,l.object({setter:l.string(),default:l.any()})),manifest:{build:l.function().arity(2)},messages:[l.object(),l.string()],modifiers:l.object().pattern(c.nameRx,l.function().minArity(1).maxArity(2)),overrides:l.object().pattern(c.nameRx,l.function()),prepare:l.function().maxArity(3),rebuild:l.function().arity(1),rules:l.object().pattern(c.nameRx,c.rule),terms:l.object().pattern(c.nameRx,l.object({init:l.array().allow(null).required(),manifest:l.object().pattern(/.+/,[l.valid("schema","single"),l.object({mapped:l.object({from:l.string().required(),to:l.string().required()}).required()})])})),validate:l.function().maxArity(3)}).strict(),u.extensions=l.array().items(l.object(),l.function().arity(1)).strict(),c.desc={buffer:l.object({buffer:l.string()}),func:l.object({function:l.function().required(),options:{literal:!0}}),override:l.object({override:!0}),ref:l.object({ref:l.object({type:l.valid("value","global","local"),path:l.array().required(),separator:l.string().length(1).allow(!1),ancestor:l.number().min(0).integer().allow("root"),map:l.array().items(l.array().length(2)).min(1),adjust:l.function(),iterables:l.boolean(),in:l.boolean(),render:l.boolean()}).required()}),regex:l.object({regex:l.string().min(3)}),special:l.object({special:l.valid("deep").required()}),template:l.object({template:l.string().required(),options:l.object()}),value:l.object({value:l.alternatives([l.object(),l.array()]).required()})},c.desc.entity=l.alternatives([l.array().items(l.link("...")),l.boolean(),l.function(),l.number(),l.string(),c.desc.buffer,c.desc.func,c.desc.ref,c.desc.regex,c.desc.special,c.desc.template,c.desc.value,l.link("/")]),c.desc.values=l.array().items(null,l.boolean(),l.function(),l.number().allow(1/0,-1/0),l.string().allow(""),l.symbol(),c.desc.buffer,c.desc.func,c.desc.override,c.desc.ref,c.desc.regex,c.desc.template,c.desc.value),c.desc.messages=l.object().pattern(/.+/,[l.string(),c.desc.template,l.object().pattern(/.+/,[l.string(),c.desc.template])]),u.description=l.object({type:l.string().required(),flags:l.object({cast:l.string(),default:l.any(),description:l.string(),empty:l.link("/"),failover:c.desc.entity,id:l.string(),label:l.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:l.boolean(),unit:l.string()}).unknown(),preferences:{allowUnknown:l.boolean(),abortEarly:l.boolean(),artifacts:l.boolean(),cache:l.boolean(),convert:l.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:l.boolean(),label:["path","key"],language:[l.string(),c.desc.ref],wrap:{label:c.wrap,array:c.wrap}},externals:l.boolean(),messages:c.desc.messages,noDefaults:l.boolean(),nonEnumerables:l.boolean(),presence:["required","optional","forbidden"],skipFunctions:l.boolean(),stripUnknown:l.object({arrays:l.boolean(),objects:l.boolean()}).or("arrays","objects").allow(!0,!1),warnings:l.boolean()},allow:c.desc.values,invalid:c.desc.values,rules:l.array().min(1).items({name:l.string().required(),args:l.object().min(1),keep:l.boolean(),message:[l.string(),c.desc.messages],warn:l.boolean()}),keys:l.object().pattern(/.*/,l.link("/")),link:c.desc.ref}).pattern(/^[a-z]\w*$/,l.any())},493:(a,u,e)=>{"use strict";const l=e(8571),c=e(9621),g=e(8160),y={value:Symbol("value")};a.exports=y.State=class{constructor(_,C,b){this.path=_,this.ancestors=C,this.mainstay=b.mainstay,this.schemas=b.schemas,this.debug=null}localize(_,C=null,b=null){const p=new y.State(_,C,this);return b&&p.schemas&&(p.schemas=[y.schemas(b),...p.schemas]),p}nest(_,C){const b=new y.State(this.path,this.ancestors,this);return b.schemas=b.schemas&&[y.schemas(_),...b.schemas],b.debug=C,b}shadow(_,C){this.mainstay.shadow=this.mainstay.shadow||new y.Shadow,this.mainstay.shadow.set(this.path,_,C)}snapshot(){this.mainstay.shadow&&(this._snapshot=l(this.mainstay.shadow.node(this.path))),this.mainstay.snapshot()}restore(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.restore()}commit(){this.mainstay.shadow&&(this.mainstay.shadow.override(this.path,this._snapshot),this._snapshot=void 0),this.mainstay.commit()}},y.schemas=function(_){return g.isSchema(_)?{schema:_}:_},y.Shadow=class{constructor(){this._values=null}set(_,C,b){if(!_.length||"strip"===b&&"number"==typeof _[_.length-1])return;this._values=this._values||new Map;let p=this._values;for(let f=0;f<_.length;++f){const S=_[f];let v=p.get(S);v||(v=new Map,p.set(S,v)),p=v}p[y.value]=C}get(_){const C=this.node(_);if(C)return C[y.value]}node(_){if(this._values)return c(this._values,_,{iterables:!0})}override(_,C){if(!this._values)return;const b=_.slice(0,-1),p=_[_.length-1],f=c(this._values,b,{iterables:!0});C?f.set(p,C):f&&f.delete(p)}}},3328:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(5277),y=e(1447),_=e(8160),C=e(6354),b=e(6133),p={symbol:Symbol("template"),opens:new Array(1e3).join("\0"),closes:new Array(1e3).join("\x01"),dateFormat:{date:Date.prototype.toDateString,iso:Date.prototype.toISOString,string:Date.prototype.toString,time:Date.prototype.toTimeString,utc:Date.prototype.toUTCString}};a.exports=p.Template=class{constructor(f,S){if(l("string"==typeof f,"Template source must be a string"),l(!f.includes("\0")&&!f.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=f,this.rendered=f,this._template=null,S){const{functions:v,...M}=S;this._settings=Object.keys(M).length?c(M):void 0,this._functions=v,this._functions&&(l(Object.keys(this._functions).every(E=>"string"==typeof E),"Functions keys must be strings"),l(Object.values(this._functions).every(E=>"function"==typeof E),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const f=p.encode(this.source),S=p.split(f);let v=!1;const M=[],E=S.shift();E&&M.push(E);for(const A of S){const k="{"!==A[0],N=k?"}":"}}",F=A.indexOf(N);if(-1===F||"{"===A[1]){M.push(`{${p.decode(A)}`);continue}let T=A.slice(k?0:1,F);const P=":"===T[0];P&&(T=T.slice(1));const I=this._ref(p.decode(T),{raw:k,wrapped:P});M.push(I),"string"!=typeof I&&(v=!0);const j=A.slice(F+N.length);j&&M.push(p.decode(j))}v?this._template=M:this.rendered=M.join("")}static date(f,S){return p.dateFormat[S.dateFormat].call(f)}describe(f={}){if(!this._settings&&f.compact)return this.source;const S={template:this.source};return this._settings&&(S.options=this._settings),this._functions&&(S.functions=this._functions),S}static build(f){return new p.Template(f.template,f.options||f.functions?{...f.options,functions:f.functions}:void 0)}isDynamic(){return!!this._template}static isTemplate(f){return!!f&&!!f[_.symbols.template]}refs(){if(!this._template)return;const f=[];for(const S of this._template)"string"!=typeof S&&f.push(...S.refs);return f}resolve(f,S,v,M){return this._template&&1===this._template.length?this._part(this._template[0],f,S,v,M,{}):this.render(f,S,v,M)}_part(f,...S){return f.ref?f.ref.resolve(...S):f.formula.evaluate(S)}render(f,S,v,M,E={}){if(!this.isDynamic())return this.rendered;const A=[];for(const k of this._template)if("string"==typeof k)A.push(k);else{const N=this._part(k,f,S,v,M,E),F=p.stringify(N,f,S,v,M,E);if(void 0!==F){const T=k.raw||!1===(E.errors&&E.errors.escapeHtml)?F:g(F);A.push(p.wrap(T,k.wrapped&&v.errors.wrap.label))}}return A.join("")}_ref(f,{raw:S,wrapped:v}){const M=[],E=k=>{const N=b.create(k,this._settings);return M.push(N),F=>{const T=N.resolve(...F);return void 0!==T?T:null}};try{const k=this._functions?{...p.functions,...this._functions}:p.functions;var A=new y.Parser(f,{reference:E,functions:k,constants:p.constants})}catch(k){throw k.message=`Invalid template variable "${f}" fails due to: ${k.message}`,k}if(A.single){if("reference"===A.single.type){const k=M[0];return{ref:k,raw:S,refs:M,wrapped:v||"local"===k.type&&"label"===k.key}}return p.stringify(A.single.value)}return{formula:A,raw:S,refs:M}}toString(){return this.source}},p.Template.prototype[_.symbols.template]=!0,p.Template.prototype.isImmutable=!0,p.encode=function(f){return f.replace(/\\(\{+)/g,(S,v)=>p.opens.slice(0,v.length)).replace(/\\(\}+)/g,(S,v)=>p.closes.slice(0,v.length))},p.decode=function(f){return f.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},p.split=function(f){const S=[];let v="";for(let M=0;M ${j.toString()}`);f=P}if(!Array.isArray(f))return f.toString();const T=[];for(const P of f)T.push(p.stringify(P,S,v,M,E,{arrayItems:!0,...A}));return p.wrap(T.join(", "),!F&&N.array)},p.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},p.functions={if:(f,S,v)=>f?S:v,length:f=>"string"==typeof f?f.length:f&&"object"==typeof f?Array.isArray(f)?f.length:Object.keys(f).length:null,msg(f){const[S,v,M,E,A]=this,k=A.messages;if(!k)return"";const N=C.template(S,k[0],f,v,M)||C.template(S,k[1],f,v,M);return N?N.render(S,v,M,E,A):""},number:f=>"number"==typeof f?f:"string"==typeof f?parseFloat(f):"boolean"==typeof f?f?1:0:f instanceof Date?f.getTime():null}},4946:(a,u,e)=>{"use strict";const l=e(375),c=e(1687),g=e(8068),y=e(8160),_=e(3292),C=e(6354),b=e(6133),p={};a.exports=g.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:b.toSibling}},args:(f,...S)=>1===S.length&&Array.isArray(S[0])?f.try(...S[0]):f.try(...S),validate(f,S){const{schema:v,error:M,state:E,prefs:A}=S;if(v._flags.match){const N=[],F=[];for(let P=0;PC.details(P,{override:!1}))})};if("one"===v._flags.match)return 1===N.length?{value:N[0]}:{errors:M("alternatives.one")};if(N.length!==v.$_terms.matches.length)return{errors:M("alternatives.all",{details:F.map(P=>C.details(P,{override:!1}))})};const T=P=>P.$_terms.matches.some(I=>"object"===I.schema.type||"alternatives"===I.schema.type&&T(I.schema));return T(v)?{value:N.reduce((P,I)=>c(P,I,{mergeArrays:!1}))}:{value:N[N.length-1]}}const k=[];for(let N=0;N"is"!==v.path[0]&&"string"!=typeof S._flags.label?S.label(f):void 0,ref:!1})}},rebuild(f){f.$_modify({each:S=>{y.isSchema(S)&&"array"===S.type&&f.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(f,S){if(S.matches)for(const v of S.matches){const{schema:M,ref:E,is:A,not:k,then:N,otherwise:F}=v;f=M?f.try(M):E?f.conditional(E,{is:A,then:N,not:k,otherwise:F,switch:v.switch}):f.conditional(A,{then:N,otherwise:F})}return f}},messages:{"alternatives.all":"{{#label}} does not match all of the required types","alternatives.any":"{{#label}} does not match any of the allowed types","alternatives.match":"{{#label}} does not match any of the allowed types","alternatives.one":"{{#label}} matches more than one allowed type","alternatives.types":"{{#label}} must be one of {{#types}}"}}),p.errors=function(f,{error:S,state:v}){if(!f.length)return{errors:S("alternatives.any")};if(1===f.length)return{errors:f[0].reports};const M=new Set,E=[];for(const{reports:A,schema:k}of f){if(A.length>1)return p.unmatched(f,S);const N=A[0];if(N instanceof C.Report==0)return p.unmatched(f,S);if(N.state.path.length!==v.path.length){E.push({type:k.type,report:N});continue}if("any.only"===N.code){for(const P of N.local.valids)M.add(P);continue}const[F,T]=N.code.split(".");"base"===T?M.add(F):E.push({type:k.type,report:N})}return E.length?1===E.length?{errors:E[0].report}:p.unmatched(f,S):{errors:S("alternatives.types",{types:[...M]})}},p.unmatched=function(f,S){const v=[];for(const M of f)v.push(...M.reports);return{errors:S("alternatives.match",C.details(v,{override:!1}))}}},8068:(a,u,e)=>{"use strict";const l=e(375),c=e(7629),g=e(8160),y=e(6914);a.exports=c.extend({type:"any",flags:{only:{default:!1}},terms:{alterations:{init:null},examples:{init:null},externals:{init:null},metas:{init:[]},notes:{init:[]},shared:{init:null},tags:{init:[]},whens:{init:null}},rules:{custom:{method(_,C){return l("function"==typeof _,"Method must be a function"),l(void 0===C||C&&"string"==typeof C,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:_,description:C}})},validate(_,C,{method:b}){try{return b(_,C)}catch(p){return C.error("any.custom",{error:p})}},args:["method","description"],multi:!0},messages:{method(_){return this.prefs({messages:_})}},shared:{method(_){l(g.isSchema(_)&&_._flags.id,"Schema must be a schema with an id");const C=this.clone();return C.$_terms.shared=C.$_terms.shared||[],C.$_terms.shared.push(_),C.$_mutateRegister(_),C}},warning:{method(_,C){return l(_&&"string"==typeof _,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:_,local:C},warn:!0})},validate:(_,C,{code:b,local:p})=>C.error(b,p),args:["code","local"],multi:!0}},modifiers:{keep(_,C=!0){_.keep=C},message(_,C){_.message=y.compile(C)},warn(_,C=!0){_.warn=C}},manifest:{build(_,C){for(const b in C){const p=C[b];if(["examples","externals","metas","notes","tags"].includes(b))for(const f of p)_=_[b.slice(0,-1)](f);else if("alterations"!==b)if("whens"!==b){if("shared"===b)for(const f of p)_=_.shared(f)}else for(const f of p){const{ref:S,is:v,not:M,then:E,otherwise:A,concat:k}=f;_=k?_.concat(k):S?_.when(S,{is:v,not:M,then:E,otherwise:A,switch:f.switch,break:f.break}):_.when(v,{then:E,otherwise:A,break:f.break})}else{const f={};for(const{target:S,adjuster:v}of p)f[S]=v;_=_.alter(f)}}return _}},messages:{"any.custom":"{{#label}} failed custom validation because {{#error.message}}","any.default":"{{#label}} threw an error when running default method","any.failover":"{{#label}} threw an error when running failover method","any.invalid":"{{#label}} contains an invalid value","any.only":'{{#label}} must be {if(#valids.length == 1, "", "one of ")}{{#valids}}',"any.ref":"{{#label}} {{#arg}} references {{:#ref}} which {{#reason}}","any.required":"{{#label}} is required","any.unknown":"{{#label}} is not allowed"}})},546:(a,u,e)=>{"use strict";const l=e(375),c=e(9474),g=e(9621),y=e(8068),_=e(8160),C=e(3292),b={};a.exports=y.extend({type:"array",flags:{single:{default:!1},sparse:{default:!1}},terms:{items:{init:[],manifest:"schema"},ordered:{init:[],manifest:"schema"},_exclusions:{init:[]},_inclusions:{init:[]},_requireds:{init:[]}},coerce:{from:"object",method(p,{schema:f,state:S,prefs:v}){if(!Array.isArray(p))return;const M=f.$_getRule("sort");return M?b.sort(f,p,M.args.options,S,v):void 0}},validate(p,{schema:f,error:S}){if(!Array.isArray(p)){if(f._flags.single){const v=[p];return v[_.symbols.arraySingle]=!0,{value:v}}return{errors:S("array.base")}}if(f.$_getRule("items")||f.$_terms.externals)return{value:p.slice()}},rules:{has:{method(p){p=this.$_compile(p,{appendPath:!0});const f=this.$_addRule({name:"has",args:{schema:p}});return f.$_mutateRegister(p),f},validate(p,{state:f,prefs:S,error:v},{schema:M}){const E=[p,...f.ancestors];for(let k=0;kthis.$_compile(p[S]),S,{append:!0});f.$_terms.items.push(v)}return f.$_mutateRebuild()},validate(p,{schema:f,error:S,state:v,prefs:M,errorsArray:E}){const A=f.$_terms._requireds.slice(),k=f.$_terms.ordered.slice(),N=[...f.$_terms._inclusions,...A],F=!p[_.symbols.arraySingle];delete p[_.symbols.arraySingle];const T=E();let P=p.length;for(let I=0;I="})}},ordered:{method(...p){_.verifyFlat(p,"ordered");const f=this.$_addRule("items");for(let S=0;Sthis.$_compile(p[S]),S,{append:!0});b.validateSingle(v,f),f.$_mutateRegister(v),f.$_terms.ordered.push(v)}return f.$_mutateRebuild()}},single:{method(p){const f=void 0===p||!!p;return l(!f||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",f)}},sort:{method(p={}){_.assertOptions(p,["by","order"]);const f={order:p.order||"ascending"};return p.by&&(f.by=C.ref(p.by,{ancestor:0}),l(!f.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:f}})},validate(p,{error:f,state:S,prefs:v,schema:M},{options:E}){const{value:A,errors:k}=b.sort(M,p,E,S,v);if(k)return k;for(let N=0;Nnew Set(p)}},rebuild(p){p.$_terms._inclusions=[],p.$_terms._exclusions=[],p.$_terms._requireds=[];for(const f of p.$_terms.items)b.validateSingle(f,p),"required"===f._flags.presence?p.$_terms._requireds.push(f):"forbidden"===f._flags.presence?p.$_terms._exclusions.push(f):p.$_terms._inclusions.push(f);for(const f of p.$_terms.ordered)b.validateSingle(f,p)},manifest:{build:(p,f)=>(f.items&&(p=p.items(...f.items)),f.ordered&&(p=p.ordered(...f.ordered)),p)},messages:{"array.base":"{{#label}} must be an array","array.excludes":"{{#label}} contains an excluded value","array.hasKnown":"{{#label}} does not contain at least one required match for type {:#patternLabel}","array.hasUnknown":"{{#label}} does not contain at least one required match","array.includes":"{{#label}} does not match any of the allowed types","array.includesRequiredBoth":"{{#label}} does not contain {{#knownMisses}} and {{#unknownMisses}} other required value(s)","array.includesRequiredKnowns":"{{#label}} does not contain {{#knownMisses}}","array.includesRequiredUnknowns":"{{#label}} does not contain {{#unknownMisses}} required value(s)","array.length":"{{#label}} must contain {{#limit}} items","array.max":"{{#label}} must contain less than or equal to {{#limit}} items","array.min":"{{#label}} must contain at least {{#limit}} items","array.orderedLength":"{{#label}} must contain at most {{#limit}} items","array.sort":"{{#label}} must be sorted in {#order} order by {{#by}}","array.sort.mismatching":"{{#label}} cannot be sorted due to mismatching types","array.sort.unsupported":"{{#label}} cannot be sorted due to unsupported type {#type}","array.sparse":"{{#label}} must not be a sparse array item","array.unique":"{{#label}} contains a duplicate value"}}),b.fillMissedErrors=function(p,f,S,v,M,E){const A=[];let k=0;for(const N of S){const F=N._flags.label;F?A.push(F):++k}f.push(A.length?k?p.$_createError("array.includesRequiredBoth",v,{knownMisses:A,unknownMisses:k},M,E):p.$_createError("array.includesRequiredKnowns",v,{knownMisses:A},M,E):p.$_createError("array.includesRequiredUnknowns",v,{unknownMisses:k},M,E))},b.fillOrderedErrors=function(p,f,S,v,M,E){const A=[];for(const k of S)"required"===k._flags.presence&&A.push(k);A.length&&b.fillMissedErrors(p,f,A,v,M,E)},b.fillDefault=function(p,f,S,v){const M=[];let E=!0;for(let A=p.length-1;A>=0;--A){const k=p[A],N=[f,...S.ancestors],F=k.$_validate(void 0,S.localize(S.path,N,k),v).value;if(E){if(void 0===F)continue;E=!1}M.unshift(F)}M.length&&f.push(...M)},b.fastSplice=function(p,f){let S=f;for(;S{let P=b.compare(F,T,A,k);if(null!==P||(S.by&&(F=S.by.resolve(F,v,M),T=S.by.resolve(T,v,M)),P=b.compare(F,T,A,k),null!==P))return P;const I=typeof F;if(I!==typeof T)throw p.$_createError("array.sort.mismatching",f,null,v,M);if("number"!==I&&"string"!==I)throw p.$_createError("array.sort.unsupported",f,{type:I},v,M);return"number"===I?(F-T)*E:F{"use strict";const l=e(375),c=e(8068),g=e(8160),y=e(2036),_={isBool:function(C){return"boolean"==typeof C}};a.exports=c.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(C,{schema:b}){if("boolean"!=typeof C){if("string"==typeof C){const p=b._flags.sensitive?C:C.toLowerCase();C="true"===p||"false"!==p&&C}return"boolean"!=typeof C&&(C=b.$_terms.truthy&&b.$_terms.truthy.has(C,null,null,!b._flags.sensitive)||(!b.$_terms.falsy||!b.$_terms.falsy.has(C,null,null,!b._flags.sensitive))&&C),{value:C}}},validate(C,{error:b}){if("boolean"!=typeof C)return{value:C,errors:b("boolean.base")}},rules:{truthy:{method(...C){g.verifyFlat(C,"truthy");const b=this.clone();b.$_terms.truthy=b.$_terms.truthy||new y;for(let p=0;pC?1:0},string:{from:_.isBool,to:(C,b)=>C?"true":"false"}},manifest:{build:(C,b)=>(b.truthy&&(C=C.truthy(...b.truthy)),b.falsy&&(C=C.falsy(...b.falsy)),C)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(a,u,e)=>{"use strict";const l=e(375),c=e(8068),g=e(8160),y=e(3328),_={isDate:function(C){return C instanceof Date}};a.exports=c.extend({type:"date",coerce:{from:["number","string"],method:(C,{schema:b})=>({value:_.parse(C,b._flags.format)||C})},validate(C,{schema:b,error:p,prefs:f}){if(C instanceof Date&&!isNaN(C.getTime()))return;const S=b._flags.format;return f.convert&&S&&"string"==typeof C?{value:C,errors:p("date.format",{format:S})}:{value:C,errors:p("date.base")}},rules:{compare:{method:!1,validate(C,b,{date:p},{name:f,operator:S,args:v}){const M="now"===p?Date.now():p.getTime();return g.compare(C.getTime(),M,S)?C:b.error("date."+f,{limit:v.date,value:C})},args:[{name:"date",ref:!0,normalize:C=>"now"===C?C:_.parse(C),assert:C=>null!==C,message:"must have a valid date format"}]},format:{method(C){return l(["iso","javascript","unix"].includes(C),"Unknown date format",C),this.$_setFlag("format",C)}},greater:{method(C){return this.$_addRule({name:"greater",method:"compare",args:{date:C},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(C){return this.$_addRule({name:"less",method:"compare",args:{date:C},operator:"<"})}},max:{method(C){return this.$_addRule({name:"max",method:"compare",args:{date:C},operator:"<="})}},min:{method(C){return this.$_addRule({name:"min",method:"compare",args:{date:C},operator:">="})}},timestamp:{method(C="javascript"){return l(["javascript","unix"].includes(C),'"type" must be one of "javascript, unix"'),this.format(C)}}},cast:{number:{from:_.isDate,to:(C,b)=>C.getTime()},string:{from:_.isDate,to:(C,{prefs:b})=>y.date(C,b)}},messages:{"date.base":"{{#label}} must be a valid date","date.format":'{{#label}} must be in {msg("date.format." + #format) || #format} format',"date.greater":"{{#label}} must be greater than {{:#limit}}","date.less":"{{#label}} must be less than {{:#limit}}","date.max":"{{#label}} must be less than or equal to {{:#limit}}","date.min":"{{#label}} must be greater than or equal to {{:#limit}}","date.format.iso":"ISO 8601 date","date.format.javascript":"timestamp or number of milliseconds","date.format.unix":"timestamp or number of seconds"}}),_.parse=function(C,b){if(C instanceof Date)return C;if("string"!=typeof C&&(isNaN(C)||!isFinite(C))||/^\s*$/.test(C))return null;if("iso"===b)return g.isIsoDate(C)?_.date(C.toString()):null;const p=C;if("string"==typeof C&&/^[+-]?\d+(\.\d+)?$/.test(C)&&(C=parseFloat(C)),b){if("javascript"===b)return _.date(1*C);if("unix"===b)return _.date(1e3*C);if("string"==typeof p)return null}return _.date(C)},_.date=function(C){const b=new Date(C);return isNaN(b.getTime())?null:b}},390:(a,u,e)=>{"use strict";const l=e(375),c=e(7824);a.exports=c.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(g){return l(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:g}})},validate:(g,y,{n:_})=>g.length===_?g:y.error("function.arity",{n:_})},class:{method(){return this.$_addRule("class")},validate:(g,y)=>/^\s*class\s/.test(g.toString())?g:y.error("function.class",{value:g})},minArity:{method(g){return l(Number.isSafeInteger(g)&&g>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:g}})},validate:(g,y,{n:_})=>g.length>=_?g:y.error("function.minArity",{n:_})},maxArity:{method(g){return l(Number.isSafeInteger(g)&&g>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:g}})},validate:(g,y,{n:_})=>g.length<=_?g:y.error("function.maxArity",{n:_})}},messages:{"function.arity":"{{#label}} must have an arity of {{#n}}","function.class":"{{#label}} must be a class","function.maxArity":"{{#label}} must have an arity lesser or equal to {{#n}}","function.minArity":"{{#label}} must have an arity greater or equal to {{#n}}"}})},7824:(a,u,e)=>{"use strict";const l=e(978),c=e(375),g=e(8571),y=e(3652),_=e(8068),C=e(8160),b=e(3292),p=e(6354),f=e(6133),S=e(3328),v={renameDefaults:{alias:!1,multiple:!1,override:!1}};a.exports=_.extend({type:"_keys",properties:{typeof:"object"},flags:{unknown:{default:!1}},terms:{dependencies:{init:null},keys:{init:null,manifest:{mapped:{from:"schema",to:"key"}}},patterns:{init:null},renames:{init:null}},args:(M,E)=>M.keys(E),validate(M,{schema:E,error:A,state:k,prefs:N}){if(!M||typeof M!==E.$_property("typeof")||Array.isArray(M))return{value:M,errors:A("object.base",{type:E.$_property("typeof")})};if(!(E.$_terms.renames||E.$_terms.dependencies||E.$_terms.keys||E.$_terms.patterns||E.$_terms.externals))return;M=v.clone(M,N);const F=[];if(E.$_terms.renames&&!v.rename(E,M,k,N,F))return{value:M,errors:F};if(!E.$_terms.keys&&!E.$_terms.patterns&&!E.$_terms.dependencies)return{value:M,errors:F};const T=new Set(Object.keys(M));if(E.$_terms.keys){const P=[M,...k.ancestors];for(const I of E.$_terms.keys){const j=I.key,L=M[j];T.delete(j);const B=k.localize([...k.path,j],P,I),$=I.schema.$_validate(L,B,N);if($.errors){if(N.abortEarly)return{value:M,errors:$.errors};void 0!==$.value&&(M[j]=$.value),F.push(...$.errors)}else"strip"===I.schema._flags.result||void 0===$.value&&void 0!==L?delete M[j]:void 0!==$.value&&(M[j]=$.value)}}if(T.size||E._flags._hasPatternMatch){const P=v.unknown(E,M,T,F,k,N);if(P)return P}if(E.$_terms.dependencies)for(const P of E.$_terms.dependencies){if(null!==P.key&&!1===v.isPresent(P.options)(P.key.resolve(M,k,N,null,{shadow:!1})))continue;const I=v.dependencies[P.rel](E,P,M,k,N);if(I){const j=E.$_createError(I.code,M,I.context,k,N);if(N.abortEarly)return{value:M,errors:j};F.push(j)}}return{value:M,errors:F}},rules:{and:{method(...M){return C.verifyFlat(M,"and"),v.dependency(this,"and",null,M)}},append:{method(M){return null==M||0===Object.keys(M).length?this:this.keys(M)}},assert:{method(M,E,A){S.isTemplate(M)||(M=b.ref(M)),c(void 0===A||"string"==typeof A,"Message must be a string"),E=this.$_compile(E,{appendPath:!0});const k=this.$_addRule({name:"assert",args:{subject:M,schema:E,message:A}});return k.$_mutateRegister(M),k.$_mutateRegister(E),k},validate(M,{error:E,prefs:A,state:k},{subject:N,schema:F,message:T}){const P=N.resolve(M,k,A),I=f.isRef(N)?N.absolute(k):[];return F.$_match(P,k.localize(I,[M,...k.ancestors],F),A)?M:E("object.assert",{subject:N,message:T})},args:["subject","schema","message"],multi:!0},instance:{method(M,E){return c("function"==typeof M,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:M,name:E=E||M.name}})},validate:(M,E,{constructor:A,name:k})=>M instanceof A?M:E.error("object.instance",{type:k,value:M}),args:["constructor","name"]},keys:{method(M){c(void 0===M||"object"==typeof M,"Object schema must be a valid object"),c(!C.isSchema(M),"Object schema cannot be a joi schema");const E=this.clone();if(M)if(Object.keys(M).length){E.$_terms.keys=E.$_terms.keys?E.$_terms.keys.filter(A=>!M.hasOwnProperty(A.key)):new v.Keys;for(const A in M)C.tryWithPath(()=>E.$_terms.keys.push({key:A,schema:this.$_compile(M[A])}),A)}else E.$_terms.keys=new v.Keys;else E.$_terms.keys=null;return E.$_mutateRebuild()}},length:{method(M){return this.$_addRule({name:"length",args:{limit:M},operator:"="})},validate:(M,E,{limit:A},{name:k,operator:N,args:F})=>C.compare(Object.keys(M).length,A,N)?M:E.error("object."+k,{limit:F.limit,value:M}),args:[{name:"limit",ref:!0,assert:C.limit,message:"must be a positive integer"}]},max:{method(M){return this.$_addRule({name:"max",method:"length",args:{limit:M},operator:"<="})}},min:{method(M){return this.$_addRule({name:"min",method:"length",args:{limit:M},operator:">="})}},nand:{method(...M){return C.verifyFlat(M,"nand"),v.dependency(this,"nand",null,M)}},or:{method(...M){return C.verifyFlat(M,"or"),v.dependency(this,"or",null,M)}},oxor:{method(...M){return v.dependency(this,"oxor",null,M)}},pattern:{method(M,E,A={}){const k=M instanceof RegExp;k||(M=this.$_compile(M,{appendPath:!0})),c(void 0!==E,"Invalid rule"),C.assertOptions(A,["fallthrough","matches"]),k&&c(!M.flags.includes("g")&&!M.flags.includes("y"),"pattern should not use global or sticky mode"),E=this.$_compile(E,{appendPath:!0});const N=this.clone();N.$_terms.patterns=N.$_terms.patterns||[];const F={[k?"regex":"schema"]:M,rule:E};return A.matches&&(F.matches=this.$_compile(A.matches),"array"!==F.matches.type&&(F.matches=F.matches.$_root.array().items(F.matches)),N.$_mutateRegister(F.matches),N.$_setFlag("_hasPatternMatch",!0,{clone:!1})),A.fallthrough&&(F.fallthrough=!0),N.$_terms.patterns.push(F),N.$_mutateRegister(E),N}},ref:{method(){return this.$_addRule("ref")},validate:(M,E)=>f.isRef(M)?M:E.error("object.refType",{value:M})},regex:{method(){return this.$_addRule("regex")},validate:(M,E)=>M instanceof RegExp?M:E.error("object.regex",{value:M})},rename:{method(M,E,A={}){c("string"==typeof M||M instanceof RegExp,"Rename missing the from argument"),c("string"==typeof E||E instanceof S,"Invalid rename to argument"),c(E!==M,"Cannot rename key to same name:",M),C.assertOptions(A,["alias","ignoreUndefined","override","multiple"]);const k=this.clone();k.$_terms.renames=k.$_terms.renames||[];for(const N of k.$_terms.renames)c(N.from!==M,"Cannot rename the same key multiple times");return E instanceof S&&k.$_mutateRegister(E),k.$_terms.renames.push({from:M,to:E,options:l(v.renameDefaults,A)}),k}},schema:{method(M="any"){return this.$_addRule({name:"schema",args:{type:M}})},validate:(M,E,{type:A})=>!C.isSchema(M)||"any"!==A&&M.type!==A?E.error("object.schema",{type:A}):M},unknown:{method(M){return this.$_setFlag("unknown",!1!==M)}},with:{method(M,E,A={}){return v.dependency(this,"with",M,E,A)}},without:{method(M,E,A={}){return v.dependency(this,"without",M,E,A)}},xor:{method(...M){return C.verifyFlat(M,"xor"),v.dependency(this,"xor",null,M)}}},overrides:{default(M,E){return void 0===M&&(M=C.symbols.deepDefault),this.$_parent("default",M,E)}},rebuild(M){if(M.$_terms.keys){const E=new y.Sorter;for(const A of M.$_terms.keys)C.tryWithPath(()=>E.add(A,{after:A.schema.$_rootReferences(),group:A.key}),A.key);M.$_terms.keys=new v.Keys(...E.nodes)}},manifest:{build(M,E){if(E.keys&&(M=M.keys(E.keys)),E.dependencies)for(const{rel:A,key:k=null,peers:N,options:F}of E.dependencies)M=v.dependency(M,A,k,N,F);if(E.patterns)for(const{regex:A,schema:k,rule:N,fallthrough:F,matches:T}of E.patterns)M=M.pattern(A||k,N,{fallthrough:F,matches:T});if(E.renames)for(const{from:A,to:k,options:N}of E.renames)M=M.rename(A,k,N);return M}},messages:{"object.and":"{{#label}} contains {{#presentWithLabels}} without its required peers {{#missingWithLabels}}","object.assert":'{{#label}} is invalid because {if(#subject.key, `"` + #subject.key + `" failed to ` + (#message || "pass the assertion test"), #message || "the assertion failed")}',"object.base":"{{#label}} must be of type {{#type}}","object.instance":"{{#label}} must be an instance of {{:#type}}","object.length":'{{#label}} must have {{#limit}} key{if(#limit == 1, "", "s")}',"object.max":'{{#label}} must have less than or equal to {{#limit}} key{if(#limit == 1, "", "s")}',"object.min":'{{#label}} must have at least {{#limit}} key{if(#limit == 1, "", "s")}',"object.missing":"{{#label}} must contain at least one of {{#peersWithLabels}}","object.nand":"{{:#mainWithLabel}} must not exist simultaneously with {{#peersWithLabels}}","object.oxor":"{{#label}} contains a conflict between optional exclusive peers {{#peersWithLabels}}","object.pattern.match":"{{#label}} keys failed to match pattern requirements","object.refType":"{{#label}} must be a Joi reference","object.regex":"{{#label}} must be a RegExp object","object.rename.multiple":"{{#label}} cannot rename {{:#from}} because multiple renames are disabled and another key was already renamed to {{:#to}}","object.rename.override":"{{#label}} cannot rename {{:#from}} because override is disabled and target {{:#to}} exists","object.schema":"{{#label}} must be a Joi schema of {{#type}} type","object.unknown":"{{#label}} is not allowed","object.with":"{{:#mainWithLabel}} missing required peer {{:#peerWithLabel}}","object.without":"{{:#mainWithLabel}} conflict with forbidden peer {{:#peerWithLabel}}","object.xor":"{{#label}} contains a conflict between exclusive peers {{#peersWithLabels}}"}}),v.clone=function(M,E){if("object"==typeof M){if(E.nonEnumerables)return g(M,{shallow:!0});const k=Object.create(Object.getPrototypeOf(M));return Object.assign(k,M),k}const A=function(...k){return M.apply(this,k)};return A.prototype=g(M.prototype),Object.defineProperty(A,"name",{value:M.name,writable:!1}),Object.defineProperty(A,"length",{value:M.length,writable:!1}),Object.assign(A,M),A},v.dependency=function(M,E,A,k,N){c(null===A||"string"==typeof A,E,"key must be a strings"),N||(N=k.length>1&&"object"==typeof k[k.length-1]?k.pop():{}),C.assertOptions(N,["separator","isPresent"]),k=[].concat(k);const F=C.default(N.separator,"."),T=[];for(const I of k)c("string"==typeof I,E,"peers must be strings"),T.push(b.ref(I,{separator:F,ancestor:0,prefix:!1}));null!==A&&(A=b.ref(A,{separator:F,ancestor:0,prefix:!1}));const P=M.clone();return P.$_terms.dependencies=P.$_terms.dependencies||[],P.$_terms.dependencies.push(new v.Dependency(E,A,T,k,N)),P},v.dependencies={and(M,E,A,k,N){const F=[],T=[],P=E.peers.length,I=v.isPresent(E.options);for(const j of E.peers)!1===I(j.resolve(A,k,N,null,{shadow:!1}))?F.push(j.key):T.push(j.key);if(F.length!==P&&T.length!==P)return{code:"object.and",context:{present:T,presentWithLabels:v.keysToLabels(M,T),missing:F,missingWithLabels:v.keysToLabels(M,F)}}},nand(M,E,A,k,N){const F=[],T=v.isPresent(E.options);for(const j of E.peers)T(j.resolve(A,k,N,null,{shadow:!1}))&&F.push(j.key);if(F.length!==E.peers.length)return;const P=E.paths[0],I=E.paths.slice(1);return{code:"object.nand",context:{main:P,mainWithLabel:v.keysToLabels(M,P),peers:I,peersWithLabels:v.keysToLabels(M,I)}}},or(M,E,A,k,N){const F=v.isPresent(E.options);for(const T of E.peers)if(F(T.resolve(A,k,N,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)}}},oxor(M,E,A,k,N){const F=[],T=v.isPresent(E.options);for(const I of E.peers)T(I.resolve(A,k,N,null,{shadow:!1}))&&F.push(I.key);if(!F.length||1===F.length)return;const P={peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)};return P.present=F,P.presentWithLabels=v.keysToLabels(M,F),{code:"object.oxor",context:P}},with(M,E,A,k,N){const F=v.isPresent(E.options);for(const T of E.peers)if(!1===F(T.resolve(A,k,N,null,{shadow:!1})))return{code:"object.with",context:{main:E.key.key,mainWithLabel:v.keysToLabels(M,E.key.key),peer:T.key,peerWithLabel:v.keysToLabels(M,T.key)}}},without(M,E,A,k,N){const F=v.isPresent(E.options);for(const T of E.peers)if(F(T.resolve(A,k,N,null,{shadow:!1})))return{code:"object.without",context:{main:E.key.key,mainWithLabel:v.keysToLabels(M,E.key.key),peer:T.key,peerWithLabel:v.keysToLabels(M,T.key)}}},xor(M,E,A,k,N){const F=[],T=v.isPresent(E.options);for(const I of E.peers)T(I.resolve(A,k,N,null,{shadow:!1}))&&F.push(I.key);if(1===F.length)return;const P={peers:E.paths,peersWithLabels:v.keysToLabels(M,E.paths)};return 0===F.length?{code:"object.missing",context:P}:(P.present=F,P.presentWithLabels=v.keysToLabels(M,F),{code:"object.xor",context:P})}},v.keysToLabels=function(M,E){return Array.isArray(E)?E.map(A=>M.$_mapLabels(A)):M.$_mapLabels(E)},v.isPresent=function(M){return"function"==typeof M.isPresent?M.isPresent:E=>void 0!==E},v.rename=function(M,E,A,k,N){const F={};for(const T of M.$_terms.renames){const P=[],I="string"!=typeof T.from;if(I)for(const j in E){if(void 0===E[j]&&T.options.ignoreUndefined||j===T.to)continue;const L=T.from.exec(j);L&&P.push({from:j,to:T.to,match:L})}else!Object.prototype.hasOwnProperty.call(E,T.from)||void 0===E[T.from]&&T.options.ignoreUndefined||P.push(T);for(const j of P){const L=j.from;let B=j.to;if(B instanceof S&&(B=B.render(E,A,k,j.match)),L!==B){if(!T.options.multiple&&F[B]&&(N.push(M.$_createError("object.rename.multiple",E,{from:L,to:B,pattern:I},A,k)),k.abortEarly)||Object.prototype.hasOwnProperty.call(E,B)&&!T.options.override&&!F[B]&&(N.push(M.$_createError("object.rename.override",E,{from:L,to:B,pattern:I},A,k)),k.abortEarly))return!1;void 0===E[L]?delete E[B]:E[B]=E[L],F[B]=!0,T.options.alias||delete E[L]}}}return!0},v.unknown=function(M,E,A,k,N,F){if(M.$_terms.patterns){let T=!1;const P=M.$_terms.patterns.map(j=>{if(j.matches)return T=!0,[]}),I=[E,...N.ancestors];for(const j of A){const L=E[j],B=[...N.path,j];for(let $=0;${"use strict";const l=e(375),c=e(8068),g=e(8160),y=e(3292),_=e(6354),C={};a.exports=c.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(b,p)=>b.ref(p),validate(b,{schema:p,state:f,prefs:S}){l(p.$_terms.link,"Uninitialized link schema");const v=C.generate(p,b,f,S);return v.$_validate(b,f.nest(v,`link:${p.$_terms.link[0].ref.display}:${v.type}`),S)},generate:(b,p,f,S)=>C.generate(b,p,f,S),rules:{ref:{method(b){l(!this.$_terms.link,"Cannot reinitialize schema"),b=y.ref(b),l("value"===b.type||"local"===b.type,"Invalid reference type:",b.type),l("local"===b.type||"root"===b.ancestor||b.ancestor>0,"Link cannot reference itself");const p=this.clone();return p.$_terms.link=[{ref:b}],p}},relative:{method(b=!0){return this.$_setFlag("relative",b)}}},overrides:{concat(b){l(this.$_terms.link,"Uninitialized link schema"),l(g.isSchema(b),"Invalid schema object"),l("link"!==b.type,"Cannot merge type link with another link");const p=this.clone();return p.$_terms.whens||(p.$_terms.whens=[]),p.$_terms.whens.push({concat:b}),p.$_mutateRebuild()}},manifest:{build:(b,p)=>(l(p.link,"Invalid link description missing link"),b.ref(p.link))}}),C.generate=function(b,p,f,S){let v=f.mainstay.links.get(b);if(v)return v._generate(p,f,S).schema;const M=b.$_terms.link[0].ref,{perspective:E,path:A}=C.perspective(M,f);C.assert(E,"which is outside of schema boundaries",M,b,f,S);try{v=A.length?E.$_reach(A):E}catch{C.assert(!1,"to non-existing schema",M,b,f,S)}return C.assert("link"!==v.type,"which is another link",M,b,f,S),b._flags.relative||f.mainstay.links.set(b,v),v._generate(p,f,S).schema},C.perspective=function(b,p){if("local"===b.type){for(const{schema:f,key:S}of p.schemas){if((f._flags.id||S)===b.path[0])return{perspective:f,path:b.path.slice(1)};if(f.$_terms.shared)for(const v of f.$_terms.shared)if(v._flags.id===b.path[0])return{perspective:v,path:b.path.slice(1)}}return{perspective:null,path:null}}return"root"===b.ancestor?{perspective:p.schemas[p.schemas.length-1].schema,path:b.path}:{perspective:p.schemas[b.ancestor]&&p.schemas[b.ancestor].schema,path:b.path}},C.assert=function(b,p,f,S,v,M){b||l(!1,`"${_.label(S._flags,v,M)}" contains link reference "${f.display}" ${p}`)}},3832:(a,u,e)=>{"use strict";const l=e(375),c=e(8068),g=e(8160),y={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(_){const C=_.toString(),b=C.indexOf("."),p=C.indexOf("e");return(b<0?0:(p<0?C.length:p)-b-1)+(p<0?0:Math.max(0,-parseInt(C.slice(p+1))))}};a.exports=c.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(_,{schema:C,error:b}){if(!_.match(y.numberRx))return;_=_.trim();const p={value:parseFloat(_)};if(0===p.value&&(p.value=0),!C._flags.unsafe)if(_.match(/e/i)){if(y.extractSignificantDigits(_)!==y.extractSignificantDigits(String(p.value)))return p.errors=b("number.unsafe"),p}else{const f=p.value.toString();if(f.match(/e/i))return p;if(f!==y.normalizeDecimal(_))return p.errors=b("number.unsafe"),p}return p}},validate(_,{schema:C,error:b,prefs:p}){if(_===1/0||_===-1/0)return{value:_,errors:b("number.infinity")};if(!g.isNumber(_))return{value:_,errors:b("number.base")};const f={value:_};if(p.convert){const S=C.$_getRule("precision");if(S){const v=Math.pow(10,S.args.limit);f.value=Math.round(f.value*v)/v}}return 0===f.value&&(f.value=0),!C._flags.unsafe&&(_>Number.MAX_SAFE_INTEGER||_g.compare(_,b,f)?_:C.error("number."+p,{limit:S.limit,value:_}),args:[{name:"limit",ref:!0,assert:g.isNumber,message:"must be a number"}]},greater:{method(_){return this.$_addRule({name:"greater",method:"compare",args:{limit:_},operator:">"})}},integer:{method(){return this.$_addRule("integer")},validate:(_,C)=>Math.trunc(_)-_==0?_:C.error("number.integer")},less:{method(_){return this.$_addRule({name:"less",method:"compare",args:{limit:_},operator:"<"})}},max:{method(_){return this.$_addRule({name:"max",method:"compare",args:{limit:_},operator:"<="})}},min:{method(_){return this.$_addRule({name:"min",method:"compare",args:{limit:_},operator:">="})}},multiple:{method(_){const C="number"==typeof _?y.decimalPlaces(_):null,b=Math.pow(10,C);return this.$_addRule({name:"multiple",args:{base:_,baseDecimalPlace:C,pfactor:b}})},validate:(_,C,{base:b,baseDecimalPlace:p,pfactor:f},S)=>y.decimalPlaces(_)>p?C.error("number.multiple",{multiple:S.args.base,value:_}):Math.round(f*_)%Math.round(f*b)==0?_:C.error("number.multiple",{multiple:S.args.base,value:_}),args:[{name:"base",ref:!0,assert:_=>"number"==typeof _&&isFinite(_)&&_>0,message:"must be a positive number"},"baseDecimalPlace","pfactor"],multi:!0},negative:{method(){return this.sign("negative")}},port:{method(){return this.$_addRule("port")},validate:(_,C)=>Number.isSafeInteger(_)&&_>=0&&_<=65535?_:C.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(_){return l(Number.isSafeInteger(_),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:_}})},validate(_,C,{limit:b}){const p=_.toString().match(y.precisionRx);return Math.max((p[1]?p[1].length:0)-(p[2]?parseInt(p[2],10):0),0)<=b?_:C.error("number.precision",{limit:b,value:_})},convert:!0},sign:{method(_){return l(["negative","positive"].includes(_),"Invalid sign",_),this.$_addRule({name:"sign",args:{sign:_}})},validate:(_,C,{sign:b})=>"negative"===b&&_<0||"positive"===b&&_>0?_:C.error(`number.${b}`)},unsafe:{method(_=!0){return l("boolean"==typeof _,"enabled must be a boolean"),this.$_setFlag("unsafe",_)}}},cast:{string:{from:_=>"number"==typeof _,to:(_,C)=>_.toString()}},messages:{"number.base":"{{#label}} must be a number","number.greater":"{{#label}} must be greater than {{#limit}}","number.infinity":"{{#label}} cannot be infinity","number.integer":"{{#label}} must be an integer","number.less":"{{#label}} must be less than {{#limit}}","number.max":"{{#label}} must be less than or equal to {{#limit}}","number.min":"{{#label}} must be greater than or equal to {{#limit}}","number.multiple":"{{#label}} must be a multiple of {{#multiple}}","number.negative":"{{#label}} must be a negative number","number.port":"{{#label}} must be a valid port","number.positive":"{{#label}} must be a positive number","number.precision":"{{#label}} must have no more than {{#limit}} decimal places","number.unsafe":"{{#label}} must be a safe number"}}),y.extractSignificantDigits=function(_){return _.replace(y.exponentialPartRegex,"").replace(y.dotRegex,"").replace(y.trailingZerosRegex,"").replace(y.leadingSignAndZerosRegex,"")},y.normalizeDecimal=function(_){return(_=_.replace(/^\+/,"").replace(/\.0*$/,"").replace(/^(-?)\.([^\.]*)$/,"$10.$2").replace(/^(-?)0+([0-9])/,"$1$2")).includes(".")&&_.endsWith("0")&&(_=_.replace(/0+$/,"")),"-0"===_?"0":_}},8966:(a,u,e)=>{"use strict";const l=e(7824);a.exports=l.extend({type:"object",cast:{map:{from:c=>c&&"object"==typeof c,to:(c,g)=>new Map(Object.entries(c))}}})},7417:(a,u,e)=>{"use strict";const l=e(375),c=e(5380),g=e(1745),y=e(9959),_=e(6064),C=e(9926),b=e(5752),p=e(8068),f=e(8160),S={tlds:C instanceof Set&&{tlds:{allow:C,deny:null}},base64Regex:{true:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}==|[\w\-]{3}=)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/},false:{true:/^(?:[\w\-]{2}[\w\-]{2})*(?:[\w\-]{2}(==)?|[\w\-]{3}=?)?$/,false:/^(?:[A-Za-z0-9+\/]{2}[A-Za-z0-9+\/]{2})*(?:[A-Za-z0-9+\/]{2}(==)?|[A-Za-z0-9+\/]{3}=?)?$/}},dataUriRegex:/^data:[\w+.-]+\/[\w+.-]+;((charset=[\w-]+|base64),)?(.*)$/,hexRegex:{withPrefix:/^0x[0-9a-f]+$/i,withOptionalPrefix:/^(?:0x)?[0-9a-f]+$/i,withoutPrefix:/^[0-9a-f]+$/i},ipRegex:y.regex({cidr:"forbidden"}).regex,isoDurationRegex:/^P(?!$)(\d+Y)?(\d+M)?(\d+W)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?$/,guidBrackets:{"{":"}","[":"]","(":")","":""},guidVersions:{uuidv1:"1",uuidv2:"2",uuidv3:"3",uuidv4:"4",uuidv5:"5",uuidv6:"6",uuidv7:"7",uuidv8:"8"},guidSeparators:new Set([void 0,!0,!1,"-",":"]),normalizationForms:["NFC","NFD","NFKC","NFKD"]};a.exports=p.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(v,{schema:M,state:E,prefs:A}){const k=M.$_getRule("normalize");k&&(v=v.normalize(k.args.form));const N=M.$_getRule("case");N&&(v="upper"===N.args.direction?v.toLocaleUpperCase():v.toLocaleLowerCase());const F=M.$_getRule("trim");if(F&&F.args.enabled&&(v=v.trim()),M.$_terms.replacements)for(const P of M.$_terms.replacements)v=v.replace(P.pattern,P.replacement);const T=M.$_getRule("hex");if(T&&T.args.options.byteAligned&&v.length%2!=0&&(v=`0${v}`),M.$_getRule("isoDate")){const P=S.isoDate(v);P&&(v=P)}if(M._flags.truncate){const P=M.$_getRule("max");if(P){let I=P.args.limit;if(f.isResolvable(I)&&(I=I.resolve(v,E,A),!f.limit(I)))return{value:v,errors:M.$_createError("any.ref",I,{ref:P.args.limit,arg:"limit",reason:"must be a positive integer"},E,A)};v=v.slice(0,I)}}return{value:v}}},validate(v,{schema:M,error:E}){if("string"!=typeof v)return{value:v,errors:E("string.base")};if(""===v){const A=M.$_getRule("min");return A&&0===A.args.limit?void 0:{value:v,errors:E("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(v,M)=>/^[a-zA-Z0-9]+$/.test(v)?v:M.error("string.alphanum")},base64:{method(v={}){return f.assertOptions(v,["paddingRequired","urlSafe"]),v={urlSafe:!1,paddingRequired:!0,...v},l("boolean"==typeof v.paddingRequired,"paddingRequired must be boolean"),l("boolean"==typeof v.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:v}})},validate:(v,M,{options:E})=>S.base64Regex[E.paddingRequired][E.urlSafe].test(v)?v:M.error("string.base64")},case:{method(v){return l(["lower","upper"].includes(v),"Invalid case:",v),this.$_addRule({name:"case",args:{direction:v}})},validate:(v,M,{direction:E})=>"lower"===E&&v===v.toLocaleLowerCase()||"upper"===E&&v===v.toLocaleUpperCase()?v:M.error(`string.${E}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(v,M){let E=v.length,A=0,k=1;for(;E--;){const N=v.charAt(E)*k;A+=N-9*(N>9),k^=3}return A>0&&A%10==0?v:M.error("string.creditCard")}},dataUri:{method(v={}){return f.assertOptions(v,["paddingRequired"]),v={paddingRequired:!0,...v},l("boolean"==typeof v.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:v}})},validate(v,M,{options:E}){const A=v.match(S.dataUriRegex);return!A||A[2]&&"base64"===A[2]&&!S.base64Regex[E.paddingRequired].false.test(A[3])?M.error("string.dataUri"):v}},domain:{method(v){v&&f.assertOptions(v,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const M=S.addressOptions(v);return this.$_addRule({name:"domain",args:{options:v},address:M})},validate:(v,M,E,{address:A})=>c.isValid(v,A)?v:M.error("string.domain")},email:{method(v={}){f.assertOptions(v,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),l(void 0===v.multiple||"boolean"==typeof v.multiple,"multiple option must be an boolean");const M=S.addressOptions(v),E=new RegExp(`\\s*[${v.separator?_(v.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:v},regex:E,address:M})},validate(v,M,{options:E},{regex:A,address:k}){const N=E.multiple?v.split(A):[v],F=[];for(const T of N)g.isValid(T,k)||F.push(T);return F.length?M.error("string.email",{value:v,invalids:F}):v}},guid:{alias:"uuid",method(v={}){f.assertOptions(v,["version","separator"]);let M="";if(v.version){const k=[].concat(v.version);l(k.length>=1,"version must have at least 1 valid version specified");const N=new Set;for(let F=0;F("optional"===E.prefix?S.hexRegex.withOptionalPrefix:!0===E.prefix?S.hexRegex.withPrefix:S.hexRegex.withoutPrefix).test(v)?E.byteAligned&&v.length%2!=0?M.error("string.hexAlign"):v:M.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(v,M)=>c.isValid(v,{minDomainSegments:1})||S.ipRegex.test(v)?v:M.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(v={}){f.assertOptions(v,["cidr","version"]);const{cidr:M,versions:E,regex:A}=y.regex(v);return this.$_addRule({name:"ip",args:{options:{cidr:M,version:v.version?E:void 0}},regex:A})},validate:(v,M,{options:E},{regex:A})=>A.test(v)?v:E.version?M.error("string.ipVersion",{value:v,cidr:E.cidr,version:E.version}):M.error("string.ip",{value:v,cidr:E.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(v,{error:M})=>S.isoDate(v)?v:M("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(v,M)=>S.isoDurationRegex.test(v)?v:M.error("string.isoDuration")},length:{method(v,M){return S.length(this,"length",v,"=",M)},validate:(v,M,{limit:E,encoding:A},{name:k,operator:N,args:F})=>f.compare(!A&&v.length,E,N)?v:M.error("string."+k,{limit:F.limit,value:v,encoding:A}),args:[{name:"limit",ref:!0,assert:f.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(v,M){return S.length(this,"max",v,"<=",M)},args:["limit","encoding"]},min:{method(v,M){return S.length(this,"min",v,">=",M)},args:["limit","encoding"]},normalize:{method(v="NFC"){return l(S.normalizationForms.includes(v),"normalization form must be one of "+S.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:v}})},validate:(v,{error:M},{form:E})=>v===v.normalize(E)?v:M("string.normalize",{value:v,form:E}),convert:!0},pattern:{alias:"regex",method(v,M={}){l(v instanceof RegExp,"regex must be a RegExp"),l(!v.flags.includes("g")&&!v.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof M&&(M={name:M}),f.assertOptions(M,["invert","name"]);const E=["string.pattern",M.invert?".invert":"",M.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:v,options:M},errorCode:E})},validate:(v,M,{regex:E,options:A},{errorCode:k})=>E.test(v)^A.invert?v:M.error(k,{name:A.name,regex:E,value:v}),args:["regex","options"],multi:!0},replace:{method(v,M){"string"==typeof v&&(v=new RegExp(_(v),"g")),l(v instanceof RegExp,"pattern must be a RegExp"),l("string"==typeof M,"replacement must be a String");const E=this.clone();return E.$_terms.replacements||(E.$_terms.replacements=[]),E.$_terms.replacements.push({pattern:v,replacement:M}),E}},token:{method(){return this.$_addRule("token")},validate:(v,M)=>/^\w+$/.test(v)?v:M.error("string.token")},trim:{method(v=!0){return l("boolean"==typeof v,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:v}})},validate:(v,M,{enabled:E})=>E&&v!==v.trim()?M.error("string.trim"):v,convert:!0},truncate:{method(v=!0){return l("boolean"==typeof v,"enabled must be a boolean"),this.$_setFlag("truncate",v)}},uppercase:{method(){return this.case("upper")}},uri:{method(v={}){f.assertOptions(v,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),v.domain&&f.assertOptions(v.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:M,scheme:E}=b.regex(v),A=v.domain?S.addressOptions(v.domain):null;return this.$_addRule({name:"uri",args:{options:v},regex:M,domain:A,scheme:E})},validate(v,M,{options:E},{regex:A,domain:k,scheme:N}){if(["http:/","https:/"].includes(v))return M.error("string.uri");const F=A.exec(v);if(F){const T=F[1]||F[2];return!k||E.allowRelative&&!T||c.isValid(T,k)?v:M.error("string.domain",{value:T})}return E.relativeOnly?M.error("string.uriRelativeOnly"):E.scheme?M.error("string.uriCustomScheme",{scheme:N,value:v}):M.error("string.uri")}}},manifest:{build(v,M){if(M.replacements)for(const{pattern:E,replacement:A}of M.replacements)v=v.replace(E,A);return v}},messages:{"string.alphanum":"{{#label}} must only contain alpha-numeric characters","string.base":"{{#label}} must be a string","string.base64":"{{#label}} must be a valid base64 string","string.creditCard":"{{#label}} must be a credit card","string.dataUri":"{{#label}} must be a valid dataUri string","string.domain":"{{#label}} must contain a valid domain name","string.email":"{{#label}} must be a valid email","string.empty":"{{#label}} is not allowed to be empty","string.guid":"{{#label}} must be a valid GUID","string.hex":"{{#label}} must only contain hexadecimal characters","string.hexAlign":"{{#label}} hex decoded representation must be byte aligned","string.hostname":"{{#label}} must be a valid hostname","string.ip":"{{#label}} must be a valid ip address with a {{#cidr}} CIDR","string.ipVersion":"{{#label}} must be a valid ip address of one of the following versions {{#version}} with a {{#cidr}} CIDR","string.isoDate":"{{#label}} must be in iso format","string.isoDuration":"{{#label}} must be a valid ISO 8601 duration","string.length":"{{#label}} length must be {{#limit}} characters long","string.lowercase":"{{#label}} must only contain lowercase characters","string.max":"{{#label}} length must be less than or equal to {{#limit}} characters long","string.min":"{{#label}} length must be at least {{#limit}} characters long","string.normalize":"{{#label}} must be unicode normalized in the {{#form}} form","string.token":"{{#label}} must only contain alpha-numeric and underscore characters","string.pattern.base":"{{#label}} with value {:[.]} fails to match the required pattern: {{#regex}}","string.pattern.name":"{{#label}} with value {:[.]} fails to match the {{#name}} pattern","string.pattern.invert.base":"{{#label}} with value {:[.]} matches the inverted pattern: {{#regex}}","string.pattern.invert.name":"{{#label}} with value {:[.]} matches the inverted {{#name}} pattern","string.trim":"{{#label}} must not have leading or trailing whitespace","string.uri":"{{#label}} must be a valid uri","string.uriCustomScheme":"{{#label}} must be a valid uri with a scheme matching the {{#scheme}} pattern","string.uriRelativeOnly":"{{#label}} must be a valid relative uri","string.uppercase":"{{#label}} must only contain uppercase characters"}}),S.addressOptions=function(v){if(!v)return S.tlds||v;if(l(void 0===v.minDomainSegments||Number.isSafeInteger(v.minDomainSegments)&&v.minDomainSegments>0,"minDomainSegments must be a positive integer"),l(void 0===v.maxDomainSegments||Number.isSafeInteger(v.maxDomainSegments)&&v.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===v.tlds)return v;if(!0===v.tlds||void 0===v.tlds)return l(S.tlds,"Built-in TLD list disabled"),Object.assign({},v,S.tlds);l("object"==typeof v.tlds,"tlds must be true, false, or an object");const M=v.tlds.deny;if(M)return Array.isArray(M)&&(v=Object.assign({},v,{tlds:{deny:new Set(M)}})),l(v.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),l(!v.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),S.validateTlds(v.tlds.deny,"tlds.deny"),v;const E=v.tlds.allow;return E?!0===E?(l(S.tlds,"Built-in TLD list disabled"),Object.assign({},v,S.tlds)):(Array.isArray(E)&&(v=Object.assign({},v,{tlds:{allow:new Set(E)}})),l(v.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),S.validateTlds(v.tlds.allow,"tlds.allow"),v):v},S.validateTlds=function(v,M){for(const E of v)l(c.isValid(E,{minDomainSegments:1,maxDomainSegments:1}),`${M} must contain valid top level domain names`)},S.isoDate=function(v){if(!f.isIsoDate(v))return null;/.*T.*[+-]\d\d$/.test(v)&&(v+="00");const M=new Date(v);return isNaN(M.getTime())?null:M.toISOString()},S.length=function(v,M,E,A,k){return l(!k||!1,"Invalid encoding:",k),v.$_addRule({name:M,method:"length",args:{limit:E,encoding:k},operator:A})}},8826:(a,u,e)=>{"use strict";const l=e(375),c=e(8068),g={};g.Map=class extends Map{slice(){return new g.Map(this)}},a.exports=c.extend({type:"symbol",terms:{map:{init:new g.Map}},coerce:{method(y,{schema:_,error:C}){const b=_.$_terms.map.get(y);return b&&(y=b),_._flags.only&&"symbol"!=typeof y?{value:y,errors:C("symbol.map",{map:_.$_terms.map})}:{value:y}}},validate(y,{error:_}){if("symbol"!=typeof y)return{value:y,errors:_("symbol.base")}},rules:{map:{method(y){y&&!y[Symbol.iterator]&&"object"==typeof y&&(y=Object.entries(y)),l(y&&y[Symbol.iterator],"Iterable must be an iterable or object");const _=this.clone(),C=[];for(const b of y){l(b&&b[Symbol.iterator],"Entry must be an iterable");const[p,f]=b;l("object"!=typeof p&&"function"!=typeof p&&"symbol"!=typeof p,"Key must not be of type object, function, or Symbol"),l("symbol"==typeof f,"Value must be a Symbol"),_.$_terms.map.set(p,f),C.push(f)}return _.valid(...C)}}},manifest:{build:(y,_)=>(_.map&&(y=y.map(_.map)),y)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(738),y=e(9621),_=e(8160),C=e(6354),b=e(493),p={result:Symbol("result")};u.entry=function(f,S,v){let M=_.defaults;v&&(l(void 0===v.warnings,"Cannot override warnings preference in synchronous validation"),l(void 0===v.artifacts,"Cannot override artifacts preference in synchronous validation"),M=_.preferences(_.defaults,v));const E=p.entry(f,S,M);l(!E.mainstay.externals.length,"Schema with external rules must use validateAsync()");const A={value:E.value};return E.error&&(A.error=E.error),E.mainstay.warnings.length&&(A.warning=C.details(E.mainstay.warnings)),E.mainstay.debug&&(A.debug=E.mainstay.debug),E.mainstay.artifacts&&(A.artifacts=E.mainstay.artifacts),A},u.entryAsync=function(){var f=n(function*(S,v,M){let E=_.defaults;M&&(E=_.preferences(_.defaults,M));const A=p.entry(S,v,E),k=A.mainstay;if(A.error)throw k.debug&&(A.error.debug=k.debug),A.error;if(k.externals.length){let F=A.value;const T=[];for(const P of k.externals){const I=P.state.path,j="link"===P.schema.type?k.links.get(P.schema):null;let L,B,$=F;const ee=I.length?[F]:[],le=I.length?y(S,I):S;if(I.length){L=I[I.length-1];let se=F;for(const K of I.slice(0,-1))se=se[K],ee.unshift(se);B=ee[0],$=B[L]}try{const se=(Q,re)=>(j||P.schema).$_createError(Q,$,re,P.state,E),K=yield P.method($,{schema:P.schema,linked:j,state:P.state,prefs:M,original:le,error:se,errorsArray:p.errorsArray,warn:(Q,re)=>k.warnings.push((j||P.schema).$_createError(Q,$,re,P.state,E)),message:(Q,re)=>(j||P.schema).$_createError("external",$,re,P.state,E,{messages:Q})});if(void 0===K||K===$)continue;if(K instanceof C.Report){if(k.tracer.log(P.schema,P.state,"rule","external","error"),T.push(K),E.abortEarly)break;continue}if(Array.isArray(K)&&K[_.symbols.errors]){if(k.tracer.log(P.schema,P.state,"rule","external","error"),T.push(...K),E.abortEarly)break;continue}B?(k.tracer.value(P.state,"rule",$,K,"external"),B[L]=K):(k.tracer.value(P.state,"rule",F,K,"external"),F=K)}catch(se){throw E.errors.label&&(se.message+=` (${P.label})`),se}}if(A.value=F,T.length)throw A.error=C.process(T,S,E),k.debug&&(A.error.debug=k.debug),A.error}if(!E.warnings&&!E.debug&&!E.artifacts)return A.value;const N={value:A.value};return k.warnings.length&&(N.warning=C.details(k.warnings)),k.debug&&(N.debug=k.debug),k.artifacts&&(N.artifacts=k.artifacts),N});return function(S,v,M){return f.apply(this,arguments)}}(),p.Mainstay=class{constructor(f,S,v){this.externals=[],this.warnings=[],this.tracer=f,this.debug=S,this.links=v,this.shadow=null,this.artifacts=null,this._snapshots=[]}snapshot(){this._snapshots.push({externals:this.externals.slice(),warnings:this.warnings.slice()})}restore(){const f=this._snapshots.pop();this.externals=f.externals,this.warnings=f.warnings}commit(){this._snapshots.pop()}},p.entry=function(f,S,v){const{tracer:M,cleanup:E}=p.tracer(S,v),N=new p.Mainstay(M,v.debug?[]:null,S._ids._schemaChain?new Map:null),T=new b([],[],{mainstay:N,schemas:S._ids._schemaChain?[{schema:S}]:null}),P=u.validate(f,S,T,v);E&&S.$_root.untrace();const I=C.process(P.errors,f,v);return{value:P.value,error:I,mainstay:N}},p.tracer=function(f,S){return f.$_root._tracer?{tracer:f.$_root._tracer._register(f)}:S.debug?(l(f.$_root.trace,"Debug mode not supported"),{tracer:f.$_root.trace()._register(f),cleanup:!0}):{tracer:p.ignore}},u.validate=function(f,S,v,M,E={}){if(S.$_terms.whens&&(S=S._generate(f,v,M).schema),S._preferences&&(M=p.prefs(S,M)),S._cache&&M.cache){const I=S._cache.get(f);if(v.mainstay.tracer.debug(v,"validate","cached",!!I),I)return I}const A=(I,j,L)=>S.$_createError(I,f,j,L||v,M),k={original:f,prefs:M,schema:S,state:v,error:A,errorsArray:p.errorsArray,warn:(I,j,L)=>v.mainstay.warnings.push(A(I,j,L)),message:(I,j)=>S.$_createError("custom",f,j,v,M,{messages:I})};v.mainstay.tracer.entry(S,v);const N=S._definition;if(N.prepare&&void 0!==f&&M.convert){const I=N.prepare(f,k);if(I){if(v.mainstay.tracer.value(v,"prepare",f,I.value),I.errors)return p.finalize(I.value,[].concat(I.errors),k);f=I.value}}if(N.coerce&&void 0!==f&&M.convert&&(!N.coerce.from||N.coerce.from.includes(typeof f))){const I=N.coerce.method(f,k);if(I){if(v.mainstay.tracer.value(v,"coerced",f,I.value),I.errors)return p.finalize(I.value,[].concat(I.errors),k);f=I.value}}const F=S._flags.empty;F&&F.$_match(p.trim(f,S),v.nest(F),_.defaults)&&(v.mainstay.tracer.value(v,"empty",f,void 0),f=void 0);const T=E.presence||S._flags.presence||(S._flags._endedSwitch?null:M.presence);if(void 0===f){if("forbidden"===T)return p.finalize(f,null,k);if("required"===T)return p.finalize(f,[S.$_createError("any.required",f,null,v,M)],k);if("optional"===T){if(S._flags.default!==_.symbols.deepDefault)return p.finalize(f,null,k);v.mainstay.tracer.value(v,"default",f,{}),f={}}}else if("forbidden"===T)return p.finalize(f,[S.$_createError("any.unknown",f,null,v,M)],k);const P=[];if(S._valids){const I=S._valids.get(f,v,M,S._flags.insensitive);if(I)return M.convert&&(v.mainstay.tracer.value(v,"valids",f,I.value),f=I.value),v.mainstay.tracer.filter(S,v,"valid",I),p.finalize(f,null,k);if(S._flags.only){const j=S.$_createError("any.only",f,{valids:S._valids.values({display:!0})},v,M);if(M.abortEarly)return p.finalize(f,[j],k);P.push(j)}}if(S._invalids){const I=S._invalids.get(f,v,M,S._flags.insensitive);if(I){v.mainstay.tracer.filter(S,v,"invalid",I);const j=S.$_createError("any.invalid",f,{invalids:S._invalids.values({display:!0})},v,M);if(M.abortEarly)return p.finalize(f,[j],k);P.push(j)}}if(N.validate){const I=N.validate(f,k);if(I&&(v.mainstay.tracer.value(v,"base",f,I.value),f=I.value,I.errors)){if(!Array.isArray(I.errors))return P.push(I.errors),p.finalize(f,P,k);if(I.errors.length)return P.push(...I.errors),p.finalize(f,P,k)}}return S._rules.length?p.rules(f,P,k):p.finalize(f,P,k)},p.rules=function(f,S,v){const{schema:M,state:E,prefs:A}=v;for(const k of M._rules){const N=M._definition.rules[k.method];if(N.convert&&A.convert){E.mainstay.tracer.log(M,E,"rule",k.name,"full");continue}let F,T=k.args;if(k._resolve.length){T=Object.assign({},T);for(const I of k._resolve){const j=N.argsByName.get(I),L=T[I].resolve(f,E,A),B=j.normalize?j.normalize(L):L,$=_.validateArg(B,null,j);if($){F=M.$_createError("any.ref",L,{arg:I,ref:T[I],reason:$},E,A);break}T[I]=B}}F=F||N.validate(f,v,T,k);const P=p.rule(F,k);if(P.errors){if(E.mainstay.tracer.log(M,E,"rule",k.name,"error"),k.warn){E.mainstay.warnings.push(...P.errors);continue}if(A.abortEarly)return p.finalize(f,P.errors,v);S.push(...P.errors)}else E.mainstay.tracer.log(M,E,"rule",k.name,"pass"),E.mainstay.tracer.value(E,"rule",f,P.value,k.name),f=P.value}return p.finalize(f,S,v)},p.rule=function(f,S){return f instanceof C.Report?(p.error(f,S),{errors:[f],value:null}):Array.isArray(f)&&f[_.symbols.errors]?(f.forEach(v=>p.error(v,S)),{errors:f,value:null}):{errors:null,value:f}},p.error=function(f,S){return S.message&&f._setTemplate(S.message),f},p.finalize=function(f,S,v){S=S||[];const{schema:M,state:E,prefs:A}=v;if(S.length){const N=p.default("failover",void 0,S,v);void 0!==N&&(E.mainstay.tracer.value(E,"failover",f,N),f=N,S=[])}if(S.length&&M._flags.error)if("function"==typeof M._flags.error){S=M._flags.error(S),Array.isArray(S)||(S=[S]);for(const N of S)l(N instanceof Error||N instanceof C.Report,"error() must return an Error object")}else S=[M._flags.error];if(void 0===f){const N=p.default("default",f,S,v);E.mainstay.tracer.value(E,"default",f,N),f=N}if(M._flags.cast&&void 0!==f){const N=M._definition.cast[M._flags.cast];if(N.from(f)){const F=N.to(f,v);E.mainstay.tracer.value(E,"cast",f,F,M._flags.cast),f=F}}if(M.$_terms.externals&&A.externals&&!1!==A._externals)for(const{method:N}of M.$_terms.externals)E.mainstay.externals.push({method:N,schema:M,state:E,label:C.label(M._flags,E,A)});const k={value:f,errors:S.length?S:null};return M._flags.result&&(k.value="strip"===M._flags.result?void 0:v.original,E.mainstay.tracer.value(E,M._flags.result,f,k.value),E.shadow(f,M._flags.result)),M._cache&&!1!==A.cache&&!M._refs.length&&M._cache.set(v.original,k),void 0===f||k.errors||void 0===M._flags.artifact||(E.mainstay.artifacts=E.mainstay.artifacts||new Map,E.mainstay.artifacts.has(M._flags.artifact)||E.mainstay.artifacts.set(M._flags.artifact,[]),E.mainstay.artifacts.get(M._flags.artifact).push(E.path)),k},p.prefs=function(f,S){const v=S===_.defaults;return v&&f._preferences[_.symbols.prefs]?f._preferences[_.symbols.prefs]:(S=_.preferences(S,f._preferences),v&&(f._preferences[_.symbols.prefs]=S),S)},p.default=function(f,S,v,M){const{schema:E,state:A,prefs:k}=M,N=E._flags[f];if(k.noDefaults||void 0===N)return S;if(A.mainstay.tracer.log(E,A,"rule",f,"full"),!N)return N;if("function"==typeof N){const F=N.length?[c(A.ancestors[0]),M]:[];try{return N(...F)}catch(T){return void v.push(E.$_createError(`any.${f}`,null,{error:T},A,k))}}return"object"!=typeof N?N:N[_.symbols.literal]?N.literal:_.isResolvable(N)?N.resolve(S,A,k):c(N)},p.trim=function(f,S){if("string"!=typeof f)return f;const v=S.$_getRule("trim");return v&&v.args.enabled?f.trim():f},p.ignore={active:!1,debug:g,entry:g,filter:g,log:g,resolve:g,value:g},p.errorsArray=function(){const f=[];return f[_.symbols.errors]=!0,f}},2036:(a,u,e)=>{"use strict";const l=e(375),c=e(9474),g=e(8160),y={};a.exports=y.Values=class{constructor(_,C){this._values=new Set(_),this._refs=new Set(C),this._lowercase=y.lowercases(_),this._override=!1}get length(){return this._values.size+this._refs.size}add(_,C){g.isResolvable(_)?this._refs.has(_)||(this._refs.add(_),C&&C.register(_)):this.has(_,null,null,!1)||(this._values.add(_),"string"==typeof _&&this._lowercase.set(_.toLowerCase(),_))}static merge(_,C,b){if(_=_||new y.Values,C){if(C._override)return C.clone();for(const p of[...C._values,...C._refs])_.add(p)}if(b)for(const p of[...b._values,...b._refs])_.remove(p);return _.length?_:null}remove(_){g.isResolvable(_)?this._refs.delete(_):(this._values.delete(_),"string"==typeof _&&this._lowercase.delete(_.toLowerCase()))}has(_,C,b,p){return!!this.get(_,C,b,p)}get(_,C,b,p){if(!this.length)return!1;if(this._values.has(_))return{value:_};if("string"==typeof _&&_&&p){const f=this._lowercase.get(_.toLowerCase());if(f)return{value:f}}if(!this._refs.size&&"object"!=typeof _)return!1;if("object"==typeof _)for(const f of this._values)if(c(f,_))return{value:f};if(C)for(const f of this._refs){const S=f.resolve(_,C,b,null,{in:!0});if(void 0===S)continue;const v=f.in&&"object"==typeof S?Array.isArray(S)?S:Object.keys(S):[S];for(const M of v)if(typeof M==typeof _)if(p&&_&&"string"==typeof _){if(M.toLowerCase()===_.toLowerCase())return{value:M,ref:f}}else if(c(M,_))return{value:M,ref:f}}return!1}override(){this._override=!0}values(_){if(_&&_.display){const C=[];for(const b of[...this._values,...this._refs])void 0!==b&&C.push(b);return C}return Array.from([...this._values,...this._refs])}clone(){const _=new y.Values(this._values,this._refs);return _._override=this._override,_}concat(_){l(!_._override,"Cannot concat override set of values");const C=new y.Values([...this._values,..._._values],[...this._refs,..._._refs]);return C._override=this._override,C}describe(){const _=[];this._override&&_.push({override:!0});for(const C of this._values.values())_.push(C&&"object"==typeof C?{value:C}:C);for(const C of this._refs.values())_.push(C.describe());return _}},y.Values.prototype[g.symbols.values]=!0,y.Values.prototype.slice=y.Values.prototype.clone,y.lowercases=function(_){const C=new Map;if(_)for(const b of _)"string"==typeof b&&C.set(b.toLowerCase(),b);return C}},978:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(1687),y=e(9621),_={};a.exports=function(C,b,p={}){if(l(C&&"object"==typeof C,"Invalid defaults value: must be an object"),l(!b||!0===b||"object"==typeof b,"Invalid source value: must be true, falsy or an object"),l("object"==typeof p,"Invalid options: must be an object"),!b)return null;if(p.shallow)return _.applyToDefaultsWithShallow(C,b,p);const f=c(C);return!0===b?f:g(f,b,{nullOverride:void 0!==p.nullOverride&&p.nullOverride,mergeArrays:!1})},_.applyToDefaultsWithShallow=function(C,b,p){const f=p.shallow;l(Array.isArray(f),"Invalid keys");const S=new Map,v=!0===b?null:new Set;for(let A of f){A=Array.isArray(A)?A:A.split(".");const k=y(C,A);k&&"object"==typeof k?S.set(k,v&&y(b,A)||k):v&&v.add(A)}const M=c(C,{},S);if(!v)return M;for(const A of v)_.reachCopy(M,b,A);return g(M,b,{nullOverride:void 0!==p.nullOverride&&p.nullOverride,mergeArrays:!1})},_.reachCopy=function(C,b,p){for(const v of p){if(!(v in b))return;const M=b[v];if("object"!=typeof M||null===M)return;b=M}const f=b;let S=C;for(let v=0;v{"use strict";const l=e(7916);a.exports=function(c,...g){if(!c)throw 1===g.length&&g[0]instanceof Error?g[0]:new l(g)}},8571:(a,u,e)=>{"use strict";const l=e(9621),c=e(4277),g=e(7043),y={needsProtoHack:new Set([c.set,c.map,c.weakSet,c.weakMap])};a.exports=y.clone=function(_,C={},b=null){if("object"!=typeof _||null===_)return _;let p=y.clone,f=b;if(C.shallow){if(!0!==C.shallow)return y.cloneWithShallow(_,C);p=E=>E}else if(f){const E=f.get(_);if(E)return E}else f=new Map;const S=c.getInternalProto(_);if(S===c.buffer)return!1;if(S===c.date)return new Date(_.getTime());if(S===c.regex)return new RegExp(_);const v=y.base(_,S,C);if(v===_)return _;if(f&&f.set(_,v),S===c.set)for(const E of _)v.add(p(E,C,f));else if(S===c.map)for(const[E,A]of _)v.set(E,p(A,C,f));const M=g.keys(_,C);for(const E of M){if("__proto__"===E)continue;if(S===c.array&&"length"===E){v.length=_.length;continue}const A=Object.getOwnPropertyDescriptor(_,E);A?A.get||A.set?Object.defineProperty(v,E,A):A.enumerable?v[E]=p(_[E],C,f):Object.defineProperty(v,E,{enumerable:!1,writable:!0,configurable:!0,value:p(_[E],C,f)}):Object.defineProperty(v,E,{enumerable:!0,writable:!0,configurable:!0,value:p(_[E],C,f)})}return v},y.cloneWithShallow=function(_,C){const b=C.shallow;(C=Object.assign({},C)).shallow=!1;const p=new Map;for(const f of b){const S=l(_,f);"object"!=typeof S&&"function"!=typeof S||p.set(S,S)}return y.clone(_,C,p)},y.base=function(_,C,b){if(!1===b.prototype)return y.needsProtoHack.has(C)?new C.constructor:C===c.array?[]:{};const p=Object.getPrototypeOf(_);if(p&&p.isImmutable)return _;if(C===c.array){const f=[];return p!==C&&Object.setPrototypeOf(f,p),f}if(y.needsProtoHack.has(C)){const f=new p.constructor;return p!==C&&Object.setPrototypeOf(f,p),f}return Object.create(p)}},9474:(a,u,e)=>{"use strict";const l=e(4277),c={mismatched:null};a.exports=function(g,y,_){return _=Object.assign({prototype:!0},_),!!c.isDeepEqual(g,y,_,[])},c.isDeepEqual=function(g,y,_,C){if(g===y)return 0!==g||1/g==1/y;const b=typeof g;if(b!==typeof y||null===g||null===y)return!1;if("function"===b){if(!_.deepFunction||g.toString()!==y.toString())return!1}else if("object"!==b)return g!=g&&y!=y;const p=c.getSharedType(g,y,!!_.prototype);switch(p){case l.buffer:return!1;case l.promise:return g===y;case l.regex:return g.toString()===y.toString();case c.mismatched:return!1}for(let f=C.length-1;f>=0;--f)if(C[f].isSame(g,y))return!0;C.push(new c.SeenEntry(g,y));try{return!!c.isDeepEqualObj(p,g,y,_,C)}finally{C.pop()}},c.getSharedType=function(g,y,_){if(_)return Object.getPrototypeOf(g)!==Object.getPrototypeOf(y)?c.mismatched:l.getInternalProto(g);const C=l.getInternalProto(g);return C!==l.getInternalProto(y)?c.mismatched:C},c.valueOf=function(g){const y=g.valueOf;if(void 0===y)return g;try{return y.call(g)}catch(_){return _}},c.hasOwnEnumerableProperty=function(g,y){return Object.prototype.propertyIsEnumerable.call(g,y)},c.isSetSimpleEqual=function(g,y){for(const _ of Set.prototype.values.call(g))if(!Set.prototype.has.call(y,_))return!1;return!0},c.isDeepEqualObj=function(g,y,_,C,b){const{isDeepEqual:p,valueOf:f,hasOwnEnumerableProperty:S}=c,{keys:v,getOwnPropertySymbols:M}=Object;if(g===l.array){if(!C.part){if(y.length!==_.length)return!1;for(let F=0;F{"use strict";const l=e(8761);a.exports=class extends Error{constructor(c){super(c.filter(g=>""!==g).map(g=>"string"==typeof g?g:g instanceof Error?g.message:l(g)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,u.assert)}}},5277:a=>{"use strict";const u={};a.exports=function(e){if(!e)return"";let l="";for(let c=0;c=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},u.isSafe=function(e){return u.safeCharCodes.has(e)},u.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),u.safeCharCodes=function(){const e=new Set;for(let l=32;l<123;++l)(l>=97||l>=65&&l<=90||l>=48&&l<=57||32===l||46===l||44===l||45===l||58===l||95===l)&&e.add(l);return e}()},6064:a=>{"use strict";a.exports=function(u){return u.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:a=>{"use strict";a.exports=function(){}},1687:(a,u,e)=>{"use strict";const l=e(375),c=e(8571),g=e(7043),y={};a.exports=y.merge=function(_,C,b){if(l(_&&"object"==typeof _,"Invalid target value: must be an object"),l(null==C||"object"==typeof C,"Invalid source value: must be null, undefined, or an object"),!C)return _;if(b=Object.assign({nullOverride:!0,mergeArrays:!0},b),Array.isArray(C)){l(Array.isArray(_),"Cannot merge array onto an object"),b.mergeArrays||(_.length=0);for(let f=0;f{"use strict";const l=e(375),c={};a.exports=function(g,y,_){if(!1===y||null==y)return g;"string"==typeof(_=_||{})&&(_={separator:_});const C=Array.isArray(y);l(!C||!_.separator,"Separator option is not valid for array-based chain");const b=C?y:y.split(_.separator||".");let p=g;for(let f=0;f{"use strict";a.exports=function(...u){try{return JSON.stringify(...u)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(a,u)=>{"use strict";const e={};u=a.exports={array:Array.prototype,buffer:!1,date:Date.prototype,error:Error.prototype,generic:Object.prototype,map:Map.prototype,promise:Promise.prototype,regex:RegExp.prototype,set:Set.prototype,weakMap:WeakMap.prototype,weakSet:WeakSet.prototype},e.typeMap=new Map([["[object Error]",u.error],["[object Map]",u.map],["[object Promise]",u.promise],["[object Set]",u.set],["[object WeakMap]",u.weakMap],["[object WeakSet]",u.weakSet]]),u.getInternalProto=function(l){if(Array.isArray(l))return u.array;if(l instanceof Date)return u.date;if(l instanceof RegExp)return u.regex;if(l instanceof Error)return u.error;const c=Object.prototype.toString.call(l);return e.typeMap.get(c)||u.generic}},7043:(a,u)=>{"use strict";u.keys=function(e,l={}){return!1!==l.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(a,u,e)=>{"use strict";const l=e(375),c={};u.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(g,y){const _=[].concat((y=y||{}).before||[]),C=[].concat(y.after||[]),b=y.group||"?",p=y.sort||0;l(!_.includes(b),`Item cannot come before itself: ${b}`),l(!_.includes("?"),"Item cannot come before unassociated items"),l(!C.includes(b),`Item cannot come after itself: ${b}`),l(!C.includes("?"),"Item cannot come after unassociated items"),Array.isArray(g)||(g=[g]);for(const f of g)this._items.push({seq:this._items.length,sort:p,before:_,after:C,group:b,node:f});if(!y.manual){const f=this._sort();l(f,"item","?"!==b?`added into group ${b}`:"","created a dependencies error")}return this.nodes}merge(g){Array.isArray(g)||(g=[g]);for(const _ of g)if(_)for(const C of _._items)this._items.push(Object.assign({},C));this._items.sort(c.mergeSort);for(let _=0;_g.sort===y.sort?0:g.sort{"use strict";const l=e(443),c=e(2178),g={minDomainSegments:2,nonAsciiRx:/[^\x00-\x7f]/,domainControlRx:/[\x00-\x20@\:\/\\#!\$&\'\(\)\*\+,;=\?]/,tldSegmentRx:/^[a-zA-Z](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,domainSegmentRx:/^[a-zA-Z0-9](?:[a-zA-Z0-9\-]*[a-zA-Z0-9])?$/,URL:l.URL||URL};u.analyze=function(y,_={}){if(!y)return c.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof y)throw new Error("Invalid input: domain must be a string");if(y.length>256)return c.code("DOMAIN_TOO_LONG");if(g.nonAsciiRx.test(y)){if(!1===_.allowUnicode)return c.code("DOMAIN_INVALID_UNICODE_CHARS");y=y.normalize("NFC")}if(g.domainControlRx.test(y))return c.code("DOMAIN_INVALID_CHARS");y=g.punycode(y),_.allowFullyQualified&&"."===y[y.length-1]&&(y=y.slice(0,-1));const C=_.minDomainSegments||g.minDomainSegments,b=y.split(".");if(b.length_.maxDomainSegments)return c.code("DOMAIN_SEGMENTS_COUNT_MAX");const p=_.tlds;if(p){const f=b[b.length-1].toLowerCase();if(p.deny&&p.deny.has(f)||p.allow&&!p.allow.has(f))return c.code("DOMAIN_FORBIDDEN_TLDS")}for(let f=0;f63)return c.code("DOMAIN_LONG_SEGMENT");if(f{"use strict";const l=e(9848),c=e(5380),g=e(2178),y={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(l.TextEncoder||TextEncoder)};u.analyze=function(_,C){return y.email(_,C)},u.isValid=function(_,C){return!y.email(_,C)},y.email=function(_,C={}){if("string"!=typeof _)throw new Error("Invalid input: email must be a string");if(!_)return g.code("EMPTY_STRING");const b=!y.nonAsciiRx.test(_);if(!b){if(!1===C.allowUnicode)return g.code("FORBIDDEN_UNICODE");_=_.normalize("NFC")}const p=_.split("@");if(2!==p.length)return g.code(p.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[f,S]=p;if(!f)return g.code("EMPTY_LOCAL");if(!C.ignoreLength){if(_.length>254)return g.code("ADDRESS_TOO_LONG");if(y.encoder.encode(f).length>64)return g.code("LOCAL_TOO_LONG")}return y.local(f,b)||c.analyze(S,C)},y.local=function(_,C){const b=_.split(".");for(const p of b){if(!p.length)return g.code("EMPTY_LOCAL_SEGMENT");if(C){if(!y.atextRx.test(p))return g.code("INVALID_LOCAL_CHARS")}else for(const f of p){if(y.atextRx.test(f))continue;const S=y.binary(f);if(!y.atomRx.test(S))return g.code("INVALID_LOCAL_CHARS")}}},y.binary=function(_){return Array.from(y.encoder.encode(_)).map(C=>String.fromCharCode(C)).join("")},y.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,y.atomRx=new RegExp(["(?:[\\xc2-\\xdf][\\x80-\\xbf])","(?:\\xe0[\\xa0-\\xbf][\\x80-\\xbf])|(?:[\\xe1-\\xec][\\x80-\\xbf]{2})|(?:\\xed[\\x80-\\x9f][\\x80-\\xbf])|(?:[\\xee-\\xef][\\x80-\\xbf]{2})","(?:\\xf0[\\x90-\\xbf][\\x80-\\xbf]{2})|(?:[\\xf1-\\xf3][\\x80-\\xbf]{3})|(?:\\xf4[\\x80-\\x8f][\\x80-\\xbf]{2})"].join("|"))},2178:(a,u)=>{"use strict";u.codes={EMPTY_STRING:"Address must be a non-empty string",FORBIDDEN_UNICODE:"Address contains forbidden Unicode characters",MULTIPLE_AT_CHAR:"Address cannot contain more than one @ character",MISSING_AT_CHAR:"Address must contain one @ character",EMPTY_LOCAL:"Address local part cannot be empty",ADDRESS_TOO_LONG:"Address too long",LOCAL_TOO_LONG:"Address local part too long",EMPTY_LOCAL_SEGMENT:"Address local part contains empty dot-separated segment",INVALID_LOCAL_CHARS:"Address local part contains invalid character",DOMAIN_NON_EMPTY_STRING:"Domain must be a non-empty string",DOMAIN_TOO_LONG:"Domain too long",DOMAIN_INVALID_UNICODE_CHARS:"Domain contains forbidden Unicode characters",DOMAIN_INVALID_CHARS:"Domain contains invalid character",DOMAIN_INVALID_TLDS_CHARS:"Domain contains invalid tld character",DOMAIN_SEGMENTS_COUNT:"Domain lacks the minimum required number of segments",DOMAIN_SEGMENTS_COUNT_MAX:"Domain contains too many segments",DOMAIN_FORBIDDEN_TLDS:"Domain uses forbidden TLD",DOMAIN_EMPTY_SEGMENT:"Domain contains empty dot-separated segment",DOMAIN_LONG_SEGMENT:"Domain contains dot-separated segment that is too long"},u.code=function(e){return{code:e,error:u.codes[e]}}},9959:(a,u,e)=>{"use strict";const l=e(375),c=e(5752);u.regex=function(g={}){l(void 0===g.cidr||"string"==typeof g.cidr,"options.cidr must be a string");const y=g.cidr?g.cidr.toLowerCase():"optional";l(["required","optional","forbidden"].includes(y),"options.cidr must be one of required, optional, forbidden"),l(void 0===g.version||"string"==typeof g.version||Array.isArray(g.version),"options.version must be a string or an array of string");let _=g.version||["ipv4","ipv6","ipvfuture"];Array.isArray(_)||(_=[_]),l(_.length>=1,"options.version must have at least 1 version specified");for(let p=0;p<_.length;++p)l("string"==typeof _[p],"options.version must only contain strings"),_[p]=_[p].toLowerCase(),l(["ipv4","ipv6","ipvfuture"].includes(_[p]),"options.version contains unknown version "+_[p]+" - must be one of ipv4, ipv6, ipvfuture");_=Array.from(new Set(_));const C=`(?:${_.map(p=>{if("forbidden"===y)return c.ip[p];const f=`\\/${"ipv4"===p?c.ip.v4Cidr:c.ip.v6Cidr}`;return"required"===y?`${c.ip[p]}${f}`:`${c.ip[p]}(?:${f})?`}).join("|")})`,b=new RegExp(`^${C}$`);return{cidr:y,versions:_,regex:b,raw:C}}},5752:(a,u,e)=>{"use strict";const l=e(375),c=e(6064),g={generate:function(){const y={},_="\\dA-Fa-f",C="["+_+"]",b="\\w-\\.~",p="!\\$&'\\(\\)\\*\\+,;=",f="%"+_,S=b+f+p+":@",v="["+S+"]",M="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";y.ipv4address="(?:"+M+"\\.){3}"+M;const E=C+"{1,4}",A="(?:"+E+":"+E+"|"+y.ipv4address+")",k="(?:"+E+":){6}"+A,N="::(?:"+E+":){5}"+A,F="(?:"+E+")?::(?:"+E+":){4}"+A,T="(?:(?:"+E+":){0,1}"+E+")?::(?:"+E+":){3}"+A,P="(?:(?:"+E+":){0,2}"+E+")?::(?:"+E+":){2}"+A,I="(?:(?:"+E+":){0,3}"+E+")?::"+E+":"+A,j="(?:(?:"+E+":){0,4}"+E+")?::"+A,L="(?:(?:"+E+":){0,5}"+E+")?::"+E,B="(?:(?:"+E+":){0,6}"+E+")?::";y.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",y.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",y.ipv6address="(?:"+k+"|"+N+"|"+F+"|"+T+"|"+P+"|"+I+"|"+j+"|"+L+"|"+B+")",y.ipvFuture="v"+C+"+\\.["+b+p+":]+",y.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",y.schemeRegex=new RegExp(y.scheme);const $="["+b+f+p+":]*",le="(?:\\[(?:"+y.ipv6address+"|"+y.ipvFuture+")\\]|"+y.ipv4address+"|["+b+f+p+"]{1,255})",se="(?:"+$+"@)?"+le+"(?::\\d*)?",K="(?:"+$+"@)?("+le+")(?::\\d*)?",Q=v+"*",re=v+"+",X="(?:\\/"+Q+")*",z="\\/(?:"+re+X+")?",Y=re+X,q="["+b+f+p+"@]+"+X;return y.hierPart="(?:(?:\\/\\/"+se+X+")|"+z+"|"+Y+"|(?:\\/\\/\\/"+Q+X+"))",y.hierPartCapture="(?:(?:\\/\\/"+K+X+")|"+z+"|"+Y+")",y.relativeRef="(?:(?:\\/\\/"+se+X+")|"+z+"|"+q+"|)",y.relativeRefCapture="(?:(?:\\/\\/"+K+X+")|"+z+"|"+q+"|)",y.query="["+S+"\\/\\?]*(?=#|$)",y.queryWithSquareBrackets="["+S+"\\[\\]\\/\\?]*(?=#|$)",y.fragment="["+S+"\\/\\?]*",y}};g.rfc3986=g.generate(),u.ip={v4Cidr:g.rfc3986.ipv4Cidr,v6Cidr:g.rfc3986.ipv6Cidr,ipv4:g.rfc3986.ipv4address,ipv6:g.rfc3986.ipv6address,ipvfuture:g.rfc3986.ipvFuture},g.createRegex=function(y){const _=g.rfc3986,C="(?:\\?"+(y.allowQuerySquareBrackets?_.queryWithSquareBrackets:_.query)+")?(?:#"+_.fragment+")?",b=y.domain?_.relativeRefCapture:_.relativeRef;if(y.relativeOnly)return g.wrap(b+C);let p="";if(y.scheme){l(y.scheme instanceof RegExp||"string"==typeof y.scheme||Array.isArray(y.scheme),"scheme must be a RegExp, String, or Array");const v=[].concat(y.scheme);l(v.length>=1,"scheme must have at least 1 scheme specified");const M=[];for(let E=0;E{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};u.Parser=class{constructor(l,c={}){if(!c[e.settings]&&c.constants)for(const g in c.constants){const y=c.constants[g];if(null!==y&&!["boolean","number","string"].includes(typeof y))throw new Error(`Formula constant ${g} contains invalid ${typeof y} value type`)}this.settings=c[e.settings]?c:Object.assign({[e.settings]:!0,constants:{},functions:{}},c),this.single=null,this._parts=null,this._parse(l)}_parse(l){let c=[],g="",y=0,_=!1;const C=p=>{if(y)throw new Error("Formula missing closing parenthesis");const f=c.length?c[c.length-1]:null;if(_||g||p){if(f&&"reference"===f.type&&")"===p)return f.type="function",f.value=this._subFormula(g,f.value),void(g="");if(")"===p){const S=new u.Parser(g,this.settings);c.push({type:"segment",value:S})}else if(_){if("]"===_)return c.push({type:"reference",value:g}),void(g="");c.push({type:"literal",value:g})}else if(e.operatorCharacters.includes(g))f&&"operator"===f.type&&e.operators.includes(f.value+g)?f.value+=g:c.push({type:"operator",value:g});else if(g.match(e.numberRx))c.push({type:"constant",value:parseFloat(g)});else if(void 0!==this.settings.constants[g])c.push({type:"constant",value:this.settings.constants[g]});else{if(!g.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${g}`);c.push({type:"reference",value:g})}g=""}};for(const p of l)_?p===_?(C(),_=!1):g+=p:y?"("===p?(g+=p,++y):")"===p?(--y,y?g+=p:C(p)):g+=p:p in e.literals?_=e.literals[p]:"("===p?(C(),++y):e.operatorCharacters.includes(p)?(C(),g=p,C()):" "!==p?g+=p:C();C(),c=c.map((p,f)=>"operator"!==p.type||"-"!==p.value||f&&"operator"!==c[f-1].type?p:{type:"operator",value:"n"});let b=!1;for(const p of c){if("operator"===p.type){if(e.operatorsPrefix.includes(p.value))continue;if(!b)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(p.value))throw new Error(`Formula contains an unknown operator ${p.value}`)}else if(b)throw new Error("Formula missing expected operator");b=!b}if(!b)throw new Error("Formula contains invalid trailing operator");1===c.length&&["reference","literal","constant"].includes(c[0].type)&&(this.single={type:"reference"===c[0].type?"reference":"value",value:c[0].value}),this._parts=c.map(p=>{if("operator"===p.type)return e.operatorsPrefix.includes(p.value)?p:p.value;if("reference"!==p.type)return p.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(p.value))throw new Error(`Formula contains invalid reference ${p.value}`);return this.settings.reference?this.settings.reference(p.value):e.reference(p.value)})}_subFormula(l,c){const g=this.settings.functions[c];if("function"!=typeof g)throw new Error(`Formula contains unknown function ${c}`);let y=[];if(l){let _="",C=0,b=!1;const p=()=>{if(!_)throw new Error(`Formula contains function ${c} with invalid arguments ${l}`);y.push(_),_=""};for(let f=0;fnew u.Parser(_,this.settings)),function(_){const C=[];for(const b of y)C.push(b.evaluate(_));return g.call(_,...C)}}evaluate(l){const c=this._parts.slice();for(let g=c.length-2;g>=0;--g){const y=c[g];if(y&&"operator"===y.type){const _=c[g+1];c.splice(g+1,1);const C=e.evaluate(_,l);c[g]=e.single(y.value,C)}}return e.operatorsOrder.forEach(g=>{for(let y=1;y":return c>g;case">=":return c>=g;case"==":return c===g;case"!=":return c!==g;case"&&":return c&&g;case"||":return c||g}return null},e.exists=function(l){return null!=l}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:a=>{"use strict";a.exports=JSON.parse('{"version":"17.12.2"}')}},d={},function a(u){var e=d[u];if(void 0!==e)return e.exports;var l=d[u]={exports:{}};return o[u](l,l.exports,a),l.exports}(5107))},94091:function(ve,h,i){var n,o,d,a,u;a=this,u=function(a){var u=!1,e=!1,l=!1,c=!1,g="escape years months weeks days hours minutes seconds milliseconds general".split(" "),y=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function _(Ae,ge){return!(ge.length>Ae.length)&&-1!==Ae.indexOf(ge)}function C(Ae){for(var ge="";Ae;)ge+="0",Ae-=1;return ge}function p(Ae,ge){var it=Ae+"+"+P(se(ge).sort(),function(qe){return qe+":"+ge[qe]}).join(",");return p.cache[it]||(p.cache[it]=Intl.NumberFormat(Ae,ge)),p.cache[it]}function f(Ae,ge,Ne){var it=ge.useToLocaleString,qe=ge.useGrouping,et=qe&&ge.grouping.slice(),De=ge.maximumSignificantDigits,je=ge.minimumIntegerDigits||1,Ie=ge.fractionDigits||0,bt=ge.groupingSeparator,Qe=ge.decimalSeparator;if(it&&Ne){var sn,Ut={minimumIntegerDigits:je,useGrouping:qe};return Ie&&(Ut.maximumFractionDigits=Ie,Ut.minimumFractionDigits=Ie),De&&Ae>0&&(Ut.maximumSignificantDigits=De),l?(c||((sn=le({},ge)).useGrouping=!1,sn.decimalSeparator=".",Ae=parseFloat(f(Ae,sn),10)),p(Ne,Ut).format(Ae)):(e||((sn=le({},ge)).useGrouping=!1,sn.decimalSeparator=".",Ae=parseFloat(f(Ae,sn),10)),Ae.toLocaleString(Ne,Ut))}var Sn,bn,kt,jt=(De?Ae.toPrecision(De+1):Ae.toFixed(Ie+1)).split("e");kt=jt[1]||"";var Fe=(Sn=(jt=jt[0].split("."))[0]||"").length,Ee=(bn=jt[1]||"").length,ye=Fe+Ee,Ce=Sn+bn;(De&&ye===De+1||!De&&Ee===Ie+1)&&(Ce=function b(Ae){for(var ge=Ae.split("").reverse(),Ne=0,it=!0;it&&Ne0?bn.length<=Ge?(Sn+=bn+=C(Ge-bn.length),bn=""):(Sn+=bn.slice(0,Ge),bn=bn.slice(Ge)):Ge<0&&(bn=C(Math.abs(Ge)-Sn.length)+Sn+bn,Sn="0"),De||((bn=bn.slice(0,Ie)).lengthge.label.length?-1:Ae.label.length0,Bt=vt?ge.precision:0,Zt=Bt,Rt=ge.minValue,Dt=!1,Ot=ge.maxValue,pn=!1,Vn=ge.useToLocaleString,Yn=ge.groupingSeparator,er=ge.decimalSeparator,kn=ge.grouping;Vn=Vn&&(u||l);var Mt=ge.trim;A(Mt)&&(Mt=Mt.join(" ")),null===Mt&&(Sn||Ot||vt)&&(Mt="all"),(null===Mt||!0===Mt||"left"===Mt||"right"===Mt)&&(Mt="large"),!1===Mt&&(Mt="");var Gt=function(Qt){return Qt.test(Mt)},Xt=/both/,En=/^all|[^sm]all/,nr=Sn>0||K([/large/,Xt,En],Gt),kr=K([/small/,Xt,En],Gt),Br=K([/mid/,En],Gt),sr=K([/final/,En],Gt),Mr=P(Ut.match(Qe),function(Qt,Rn){var Kn=bt(Qt);return"*"===Qt.slice(0,1)&&(Qt=Qt.slice(1),"escape"!==Kn&&"general"!==Kn&&bn.push(Kn)),{index:Rn,length:Qt.length,text:"",token:"escape"===Kn?Qt.replace(Ie.escape,"$1"):Qt,type:"escape"===Kn||"general"===Kn?null:Kn}}),br={index:0,length:0,token:"",text:"",type:null},Jn=[];Fe&&Mr.reverse(),T(Mr,function(Qt){if(Qt.type)return(br.type||br.text)&&Jn.push(br),void(br=Qt);Fe?br.text=Qt.token+br.text:br.text+=Qt.token}),(br.type||br.text)&&Jn.push(br),Fe&&Jn.reverse();var xn=B(g,L(j(I(Jn,"type"))));if(!xn.length)return I(Jn,"text").join("");xn=P(xn,function(Qt,Rn){var ui,Kn=Rn+1===xn.length,or=!Rn;ui="years"===Qt||"months"===Qt?De.as(Qt):et.as(Qt);var Ir=Math.floor(ui),ct=ui-Ir,Tt=F(Jn,function(St){return Qt===St.type});return or&&Ot&&ui>Ot&&(pn=!0),Kn&&Rt&&Math.abs(ge.duration.as(Qt))1&&(Ce=!0),et.subtract(Ir,Qt),De.subtract(Ir,Qt),{rawValue:ui,wholeValue:Ir,decimalValue:Kn?ct:0,isSmallest:Kn,isLargest:or,type:Qt,tokenLength:Tt.length}});var oi=Je?Math.floor:Math.round,Sr=function(Qt,Rn){var Kn=Math.pow(10,Rn);return oi(Qt*Kn)/Kn},pr=!1,Xn=!1,qn=function(Qt,Rn){var Kn={useGrouping:Ge,groupingSeparator:Yn,decimalSeparator:er,grouping:kn,useToLocaleString:Vn};return vt&&(Bt<=0?(Qt.rawValue=0,Qt.wholeValue=0,Qt.decimalValue=0):(Kn.maximumSignificantDigits=Bt,Qt.significantDigits=Bt)),pn&&!Xn&&(Qt.isLargest?(Qt.wholeValue=Ot,Qt.decimalValue=0):(Qt.wholeValue=0,Qt.decimalValue=0)),Dt&&!Xn&&(Qt.isSmallest?(Qt.wholeValue=Rt,Qt.decimalValue=0):(Qt.wholeValue=0,Qt.decimalValue=0)),Qt.isSmallest||Qt.significantDigits&&Qt.significantDigits-Qt.wholeValue.toString().length<=0?ye<0?Qt.value=Sr(Qt.wholeValue,ye):0===ye?Qt.value=oi(Qt.wholeValue+Qt.decimalValue):vt?(Qt.value=Je?Sr(Qt.rawValue,Bt-Qt.wholeValue.toString().length):Qt.rawValue,Qt.wholeValue&&(Bt-=Qt.wholeValue.toString().length)):(Kn.fractionDigits=ye,Qt.value=Je?Qt.wholeValue+Sr(Qt.decimalValue,ye):Qt.wholeValue+Qt.decimalValue):vt&&Qt.wholeValue?(Qt.value=Math.round(Sr(Qt.wholeValue,Qt.significantDigits-Qt.wholeValue.toString().length)),Bt-=Qt.wholeValue.toString().length):Qt.value=Qt.wholeValue,Qt.tokenLength>1&&(Ce||pr)&&(Kn.minimumIntegerDigits=Qt.tokenLength,Xn&&Kn.maximumSignificantDigits0||""===Mt||F(bn,Qt.type)||F(sn,Qt.type))&&(pr=!0),Qt.formattedValue=f(Qt.value,Kn,jt),Kn.useGrouping=!1,Kn.decimalSeparator=".",Qt.formattedValueEn=f(Qt.value,Kn,"en"),2===Qt.tokenLength&&"milliseconds"===Qt.type&&(Qt.formattedValueMS=f(Qt.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),Qt};if((xn=j(xn=P(xn,qn))).length>1){var Or=function(Qt){return F(xn,function(Rn){return Rn.type===Qt})};T(y,function(Qt){var Rn=Or(Qt.type);Rn&&T(Qt.targets,function(Kn){var or=Or(Kn.type);or&&parseInt(Rn.formattedValueEn,10)===Kn.value&&(Rn.rawValue=0,Rn.wholeValue=0,Rn.decimalValue=0,or.rawValue+=1,or.wholeValue+=1,or.decimalValue=0,or.formattedValueEn=or.wholeValue.toString(),Xn=!0)})})}return Xn&&(pr=!1,Bt=Zt,xn=j(xn=P(xn,qn))),!sn||pn&&!ge.trim?(nr&&(xn=$(xn,function(Qt){return!Qt.isSmallest&&!Qt.wholeValue&&!F(bn,Qt.type)})),Sn&&xn.length&&(xn=xn.slice(0,Sn)),kr&&xn.length>1&&(xn=function ee(Ae,ge){return $(Ae.slice().reverse(),ge).reverse()}(xn,function(Qt){return!Qt.wholeValue&&!F(bn,Qt.type)&&!Qt.isLargest})),Br&&(xn=j(xn=P(xn,function(Qt,Rn){return Rn>0&&Rn ",pn=!1,Dt=!1),qe&&(Rn.value>0||""===Mt||F(bn,Rn.type)||F(sn,Rn.type))&&(Kn+="-",qe=!1),Kn+="milliseconds"===Qt.type&&Rn.formattedValueMS?Rn.formattedValueMS:Rn.formattedValue,Fe||(Kn+=Qt.text),Kn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function de(){var Ae=this.duration,ge=function(et){return Ae._data[et]},Ne=F(this.types,ge),it=function N(Ae,ge){for(var Ne=Ae.length;Ne-=1;)if(ge(Ae[Ne]))return Ae[Ne]}(this.types,ge);switch(Ne){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(Ne===it)return"d __";case"weeks":return Ne===it?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(Ne===it)return"M __";case"years":return Ne===it?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function me(Ae){if(!Ae)throw"Moment Duration Format init cannot find moment instance.";Ae.duration.format=Y,Ae.duration.fn.format=q,Ae.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:de,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},Ae.updateLocale("en",E)}var Oe=function(Ae,ge,Ne){return Ae.toLocaleString(ge,Ne)};u=function re(){try{(0).toLocaleString("i")}catch(ge){return"RangeError"===ge.name}return!1}()&&z(Oe),e=u&&X(Oe);var Re=function(Ae,ge,Ne){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(ge,Ne).format(Ae)};return l=z(Re),c=l&&X(Re),me(a),me},o=[i(35908)],void 0!==(d="function"==typeof(n=u)?n.apply(h,o):n)&&(ve.exports=d),a&&(a.momentDurationFormatSetup=a.moment?u(a.moment):u)},25140:function(ve,h,i){!function(n){"use strict";n.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(d){return/^nm$/i.test(d)},meridiem:function(d,a,u){return d<12?u?"vm":"VM":u?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(d){return d+(1===d||8===d||d>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(35908))},17096:function(ve,h,i){!function(n){"use strict";var o=function(l){return 0===l?0:1===l?1:2===l?2:l%100>=3&&l%100<=10?3:l%100>=11?4:5},d={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(l){return function(c,g,y,_){var C=o(c),b=d[l][o(c)];return 2===C&&(b=b[g?0:1]),b.replace(/%d/i,c)}},u=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-dz",{months:u,monthsShort:u,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(l){return"\u0645"===l},meridiem:function(l,c,g){return l<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},postformat:function(l){return l.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(i(35908))},32200:function(ve,h,i){!function(n){"use strict";n.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(i(35908))},97252:function(ve,h,i){!function(n){"use strict";var o={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},d=function(c){return 0===c?0:1===c?1:2===c?2:c%100>=3&&c%100<=10?3:c%100>=11?4:5},a={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},u=function(c){return function(g,y,_,C){var b=d(g),p=a[c][d(g)];return 2===b&&(p=p[y?0:1]),p.replace(/%d/i,g)}},e=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar-ly",{months:e,monthsShort:e,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(c){return"\u0645"===c},meridiem:function(c,g,y){return c<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:u("s"),ss:u("s"),m:u("m"),mm:u("m"),h:u("h"),hh:u("h"),d:u("d"),dd:u("d"),M:u("M"),MM:u("M"),y:u("y"),yy:u("y")},preparse:function(c){return c.replace(/\u060c/g,",")},postformat:function(c){return c.replace(/\d/g,function(g){return o[g]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(35908))},39568:function(ve,h,i){!function(n){"use strict";n.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i(35908))},13068:function(ve,h,i){!function(n){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-ps",{months:"\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0634\u0631\u064a \u0627\u0644\u0623\u0648\u0651\u0644_\u062a\u0634\u0631\u064a\u0646 \u0627\u0644\u062b\u0627\u0646\u064a_\u0643\u0627\u0646\u0648\u0646 \u0627\u0644\u0623\u0648\u0651\u0644".split("_"),monthsShort:"\u0643\u0662_\u0634\u0628\u0627\u0637_\u0622\u0630\u0627\u0631_\u0646\u064a\u0633\u0627\u0646_\u0623\u064a\u0651\u0627\u0631_\u062d\u0632\u064a\u0631\u0627\u0646_\u062a\u0645\u0651\u0648\u0632_\u0622\u0628_\u0623\u064a\u0644\u0648\u0644_\u062a\u0661_\u062a\u0662_\u0643\u0661".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(u){return"\u0645"===u},meridiem:function(u,e,l){return u<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(u){return u.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return d[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(35908))},89052:function(ve,h,i){!function(n){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};n.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(u){return"\u0645"===u},meridiem:function(u,e,l){return u<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(u){return u.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(i(35908))},93956:function(ve,h,i){!function(n){"use strict";n.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(i(35908))},17276:function(ve,h,i){!function(n){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=function(g){return 0===g?0:1===g?1:2===g?2:g%100>=3&&g%100<=10?3:g%100>=11?4:5},u={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},e=function(g){return function(y,_,C,b){var p=a(y),f=u[g][a(y)];return 2===p&&(f=f[_?0:1]),f.replace(/%d/i,y)}},l=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];n.defineLocale("ar",{months:l,monthsShort:l,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(g){return"\u0645"===g},meridiem:function(g,y,_){return g<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:e("s"),ss:e("s"),m:e("m"),mm:e("m"),h:e("h"),hh:e("h"),d:e("d"),dd:e("d"),M:e("M"),MM:e("M"),y:e("y"),yy:e("y")},preparse:function(g){return g.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(y){return d[y]}).replace(/\u060c/g,",")},postformat:function(g){return g.replace(/\d/g,function(y){return o[y]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(35908))},88240:function(ve,h,i){!function(n){"use strict";var o={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};n.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(a){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(a)},meridiem:function(a,u,e){return a<4?"gec\u0259":a<12?"s\u0259h\u0259r":a<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(a){if(0===a)return a+"-\u0131nc\u0131";var u=a%10;return a+(o[u]||o[a%100-u]||o[a>=100?100:null])},week:{dow:1,doy:7}})}(i(35908))},77796:function(ve,h,i){!function(n){"use strict";function d(u,e,l){return"m"===l?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===l?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":u+" "+function o(u,e){var l=u.split("_");return e%10==1&&e%100!=11?l[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?l[1]:l[2]}({ss:e?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[l],+u)}n.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:d,mm:d,h:d,hh:d,d:"\u0434\u0437\u0435\u043d\u044c",dd:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(u){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(u)},meridiem:function(u,e,l){return u<4?"\u043d\u043e\u0447\u044b":u<12?"\u0440\u0430\u043d\u0456\u0446\u044b":u<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(u,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return u%10!=2&&u%10!=3||u%100==12||u%100==13?u+"-\u044b":u+"-\u0456";case"D":return u+"-\u0433\u0430";default:return u}},week:{dow:1,doy:7}})}(i(35908))},89880:function(ve,h,i){!function(n){"use strict";n.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,u=d%100;return 0===d?d+"-\u0435\u0432":0===u?d+"-\u0435\u043d":u>10&&u<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(35908))},84328:function(ve,h,i){!function(n){"use strict";n.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(i(35908))},45104:function(ve,h,i){!function(n){"use strict";var o={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(u){return u.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u09b0\u09be\u09a4"===e?u<4?u:u+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?u:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?u>=3?u:u+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?u+12:void 0},meridiem:function(u,e,l){return u<4?"\u09b0\u09be\u09a4":u<6?"\u09ad\u09cb\u09b0":u<12?"\u09b8\u0995\u09be\u09b2":u<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":u<18?"\u09ac\u09bf\u0995\u09be\u09b2":u<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(35908))},60536:function(ve,h,i){!function(n){"use strict";var o={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},d={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};n.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(u){return u.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u09b0\u09be\u09a4"===e&&u>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&u<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?u+12:u},meridiem:function(u,e,l){return u<4?"\u09b0\u09be\u09a4":u<10?"\u09b8\u0995\u09be\u09b2":u<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":u<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(i(35908))},51108:function(ve,h,i){!function(n){"use strict";var o={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},d={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};n.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(u){return u.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&u>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&u<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?u+12:u},meridiem:function(u,e,l){return u<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":u<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":u<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":u<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(i(35908))},51296:function(ve,h,i){!function(n){"use strict";function o(f,S,v){return f+" "+function u(f,S){return 2===S?function e(f){var S={m:"v",b:"v",d:"z"};return void 0===S[f.charAt(0)]?f:S[f.charAt(0)]+f.substring(1)}(f):f}({mm:"munutenn",MM:"miz",dd:"devezh"}[v],f)}function a(f){return f>9?a(f%10):f}var l=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],c=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,b=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];n.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:b,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:b,monthsRegex:c,monthsShortRegex:c,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:l,longMonthsParse:l,shortMonthsParse:l,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:o,h:"un eur",hh:"%d eur",d:"un devezh",dd:o,M:"ur miz",MM:o,y:"ur bloaz",yy:function d(f){switch(a(f)){case 1:case 3:case 4:case 5:case 9:return f+" bloaz";default:return f+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(f){return f+(1===f?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(f){return"g.m."===f},meridiem:function(f,S,v){return f<12?"a.m.":"g.m."}})}(i(35908))},2032:function(ve,h,i){!function(n){"use strict";function d(u,e,l){var c=u+" ";switch(l){case"ss":return c+(1===u?"sekunda":2===u||3===u||4===u?"sekunde":"sekundi");case"mm":return c+(1===u?"minuta":2===u||3===u||4===u?"minute":"minuta");case"h":return"jedan sat";case"hh":return c+(1===u?"sat":2===u||3===u||4===u?"sata":"sati");case"dd":return c+(1===u?"dan":"dana");case"MM":return c+(1===u?"mjesec":2===u||3===u||4===u?"mjeseca":"mjeseci");case"yy":return c+(1===u?"godina":2===u||3===u||4===u?"godine":"godina")}}n.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:d,m:function o(u,e,l,c){if("m"===l)return e?"jedna minuta":c?"jednu minutu":"jedne minute"},mm:d,h:d,hh:d,d:"dan",dd:d,M:"mjesec",MM:d,y:"godinu",yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},20096:function(ve,h,i){!function(n){"use strict";n.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var u=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(u="a"),d+u},week:{dow:1,doy:4}})}(i(35908))},41152:function(ve,h,i){!function(n){"use strict";var o={standalone:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),format:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_"),isFormat:/DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/},d="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),a=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],u=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function e(g){return g>1&&g<5&&1!=~~(g/10)}function l(g,y,_,C){var b=g+" ";switch(_){case"s":return y||C?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return y||C?b+(e(g)?"sekundy":"sekund"):b+"sekundami";case"m":return y?"minuta":C?"minutu":"minutou";case"mm":return y||C?b+(e(g)?"minuty":"minut"):b+"minutami";case"h":return y?"hodina":C?"hodinu":"hodinou";case"hh":return y||C?b+(e(g)?"hodiny":"hodin"):b+"hodinami";case"d":return y||C?"den":"dnem";case"dd":return y||C?b+(e(g)?"dny":"dn\xed"):b+"dny";case"M":return y||C?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return y||C?b+(e(g)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):b+"m\u011bs\xedci";case"y":return y||C?"rok":"rokem";case"yy":return y||C?b+(e(g)?"roky":"let"):b+"lety"}}n.defineLocale("cs",{months:o,monthsShort:d,monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},69568:function(ve,h,i){!function(n){"use strict";n.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(d){return d+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(d)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(d)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(i(35908))},78875:function(ve,h,i){!function(n){"use strict";n.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(d){var u="";return d>20?u=40===d||50===d||60===d||80===d||100===d?"fed":"ain":d>0&&(u=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][d]),d+u},week:{dow:1,doy:4}})}(i(35908))},45424:function(ve,h,i){!function(n){"use strict";n.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},72604:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return u?c[e][0]:c[e][1]}n.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,w:o,ww:"%d Wochen",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},79168:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return u?c[e][0]:c[e][1]}n.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,w:o,ww:"%d Wochen",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},20992:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[a+" Tage",a+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[a+" Monate",a+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[a+" Jahre",a+" Jahren"]};return u?c[e][0]:c[e][1]}n.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:o,mm:"%d Minuten",h:o,hh:"%d Stunden",d:o,dd:o,w:o,ww:"%d Wochen",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},67300:function(ve,h,i){!function(n){"use strict";var o=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],d=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];n.defineLocale("dv",{months:o,monthsShort:o,weekdays:d,weekdaysShort:d,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(u){return"\u0789\u078a"===u},meridiem:function(u,e,l){return u<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(i(35908))},84400:function(ve,h,i){!function(n){"use strict";n.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(a,u){return a?"string"==typeof u&&/D/.test(u.substring(0,u.indexOf("MMMM")))?this._monthsGenitiveEl[a.month()]:this._monthsNominativeEl[a.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(a,u,e){return a>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(a){return"\u03bc"===(a+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){return 6===this.day()?"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT":"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"},sameElse:"L"},calendar:function(a,u){var e=this._calendarEl[a],l=u&&u.hours();return function o(a){return typeof Function<"u"&&a instanceof Function||"[object Function]"===Object.prototype.toString.call(a)}(e)&&(e=e.apply(u)),e.replace("{}",l%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(i(35908))},83536:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:4}})}(i(35908))},39379:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(i(35908))},47032:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(i(35908))},71832:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(i(35908))},404:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")}})}(i(35908))},25716:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:0,doy:6}})}(i(35908))},15312:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(i(35908))},53320:function(ve,h,i){!function(n){"use strict";n.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(i(35908))},96392:function(ve,h,i){!function(n){"use strict";n.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(d){return"p"===d.charAt(0).toLowerCase()},meridiem:function(d,a,u){return d>11?u?"p.t.m.":"P.T.M.":u?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(i(35908))},38540:function(ve,h,i){!function(n){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],u=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(l,c){return l?/-MMM-/.test(c)?d[l.month()]:o[l.month()]:o},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},93504:function(ve,h,i){!function(n){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],u=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(l,c){return l?/-MMM-/.test(c)?d[l.month()]:o[l.month()]:o},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(i(35908))},69224:function(ve,h,i){!function(n){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],u=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(l,c){return l?/-MMM-/.test(c)?d[l.month()]:o[l.month()]:o},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(i(35908))},41964:function(ve,h,i){!function(n){"use strict";var o="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),d="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),a=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],u=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;n.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(l,c){return l?/-MMM-/.test(c)?d[l.month()]:o[l.month()]:o},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(i(35908))},90596:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[a+"sekundi",a+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[a+" minuti",a+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[a+" tunni",a+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[a+" kuu",a+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[a+" aasta",a+" aastat"]};return u?c[e][2]?c[e][2]:c[e][1]:l?c[e][0]:c[e][1]}n.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:"%d p\xe4eva",M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},8060:function(ve,h,i){!function(n){"use strict";n.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},68184:function(ve,h,i){!function(n){"use strict";var o={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},d={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};n.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(u){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(u)},meridiem:function(u,e,l){return u<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(u){return u.replace(/[\u06f0-\u06f9]/g,function(e){return d[e]}).replace(/\u060c/g,",")},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(i(35908))},36736:function(ve,h,i){!function(n){"use strict";var o="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),d=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",o[7],o[8],o[9]];function a(l,c,g,y){var _="";switch(g){case"s":return y?"muutaman sekunnin":"muutama sekunti";case"ss":_=y?"sekunnin":"sekuntia";break;case"m":return y?"minuutin":"minuutti";case"mm":_=y?"minuutin":"minuuttia";break;case"h":return y?"tunnin":"tunti";case"hh":_=y?"tunnin":"tuntia";break;case"d":return y?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":_=y?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return y?"kuukauden":"kuukausi";case"MM":_=y?"kuukauden":"kuukautta";break;case"y":return y?"vuoden":"vuosi";case"yy":_=y?"vuoden":"vuotta"}return function u(l,c){return l<10?c?d[l]:o[l]:l}(l,y)+" "+_}n.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},49264:function(ve,h,i){!function(n){"use strict";n.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(i(35908))},48299:function(ve,h,i){!function(n){"use strict";n.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},84584:function(ve,h,i){!function(n){"use strict";n.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}}})}(i(35908))},8024:function(ve,h,i){!function(n){"use strict";n.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(d,a){switch(a){default:case"M":case"Q":case"D":case"DDD":case"d":return d+(1===d?"er":"e");case"w":case"W":return d+(1===d?"re":"e")}},week:{dow:1,doy:4}})}(i(35908))},51964:function(ve,h,i){!function(n){"use strict";var a=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,u=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];n.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:a,monthsShortRegex:a,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:u,longMonthsParse:u,shortMonthsParse:u,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(l,c){switch(c){case"D":return l+(1===l?"er":"");default:case"M":case"Q":case"DDD":case"d":return l+(1===l?"er":"e");case"w":case"W":return l+(1===l?"re":"e")}},week:{dow:1,doy:4}})}(i(35908))},22672:function(ve,h,i){!function(n){"use strict";var o="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),d="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");n.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(u,e){return u?/-MMM-/.test(e)?d[u.month()]:o[u.month()]:o},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(35908))},26476:function(ve,h,i){!function(n){"use strict";n.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(c){return c+(1===c?"d":c%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(35908))},35148:function(ve,h,i){!function(n){"use strict";n.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(c){return c+(1===c?"d":c%10==2?"na":"mh")},week:{dow:1,doy:4}})}(i(35908))},32176:function(ve,h,i){!function(n){"use strict";n.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(d){return 0===d.indexOf("un")?"n"+d:"en "+d},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},27260:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[a+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",a+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[a+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",a+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[a+" \u0935\u0930\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[a+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",a+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[a+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",a+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[a+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",a+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return l?c[e][0]:c[e][1]}n.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(a,u){return"D"===u?a+"\u0935\u0947\u0930":a},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(a,u){return 12===a&&(a=0),"\u0930\u093e\u0924\u0940"===u?a<4?a:a+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===u?a:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===u?a>12?a:a+12:"\u0938\u093e\u0902\u091c\u0947"===u?a+12:void 0},meridiem:function(a,u,e){return a<4?"\u0930\u093e\u0924\u0940":a<12?"\u0938\u0915\u093e\u0933\u0940\u0902":a<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":a<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(i(35908))},3772:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c={s:["thoddea sekondamni","thodde sekond"],ss:[a+" sekondamni",a+" sekond"],m:["eka mintan","ek minut"],mm:[a+" mintamni",a+" mintam"],h:["eka voran","ek vor"],hh:[a+" voramni",a+" voram"],d:["eka disan","ek dis"],dd:[a+" disamni",a+" dis"],M:["eka mhoinean","ek mhoino"],MM:[a+" mhoineamni",a+" mhoine"],y:["eka vorsan","ek voros"],yy:[a+" vorsamni",a+" vorsam"]};return l?c[e][0]:c[e][1]}n.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(a,u){return"D"===u?a+"er":a},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(a,u){return 12===a&&(a=0),"rati"===u?a<4?a:a+12:"sokallim"===u?a:"donparam"===u?a>12?a:a+12:"sanje"===u?a+12:void 0},meridiem:function(a,u,e){return a<4?"rati":a<12?"sokallim":a<16?"donparam":a<20?"sanje":"rati"}})}(i(35908))},39528:function(ve,h,i){!function(n){"use strict";var o={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},d={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};n.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(u){return u.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0ab0\u0abe\u0aa4"===e?u<4?u:u+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?u:"\u0aac\u0aaa\u0acb\u0ab0"===e?u>=10?u:u+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?u+12:void 0},meridiem:function(u,e,l){return u<4?"\u0ab0\u0abe\u0aa4":u<10?"\u0ab8\u0ab5\u0abe\u0ab0":u<17?"\u0aac\u0aaa\u0acb\u0ab0":u<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(i(35908))},86832:function(ve,h,i){!function(n){"use strict";n.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(d){return 2===d?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":d+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(d){return 2===d?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":d+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(d){return 2===d?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":d+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(d){return 2===d?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":d%10==0&&10!==d?d+" \u05e9\u05e0\u05d4":d+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(d){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(d)},meridiem:function(d,a,u){return d<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":d<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":d<12?u?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":d<18?u?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(i(35908))},95592:function(ve,h,i){!function(n){"use strict";var o={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},a=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];n.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:a,longMonthsParse:a,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(l){return l.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(c){return d[c]})},postformat:function(l){return l.replace(/\d/g,function(c){return o[c]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(l,c){return 12===l&&(l=0),"\u0930\u093e\u0924"===c?l<4?l:l+12:"\u0938\u0941\u092c\u0939"===c?l:"\u0926\u094b\u092a\u0939\u0930"===c?l>=10?l:l+12:"\u0936\u093e\u092e"===c?l+12:void 0},meridiem:function(l,c,g){return l<4?"\u0930\u093e\u0924":l<10?"\u0938\u0941\u092c\u0939":l<17?"\u0926\u094b\u092a\u0939\u0930":l<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(i(35908))},56208:function(ve,h,i){!function(n){"use strict";function o(a,u,e){var l=a+" ";switch(e){case"ss":return l+(1===a?"sekunda":2===a||3===a||4===a?"sekunde":"sekundi");case"m":return u?"jedna minuta":"jedne minute";case"mm":return l+(1===a?"minuta":2===a||3===a||4===a?"minute":"minuta");case"h":return u?"jedan sat":"jednog sata";case"hh":return l+(1===a?"sat":2===a||3===a||4===a?"sata":"sati");case"dd":return l+(1===a?"dan":"dana");case"MM":return l+(1===a?"mjesec":2===a||3===a||4===a?"mjeseca":"mjeseci");case"yy":return l+(1===a?"godina":2===a||3===a||4===a?"godine":"godina")}}n.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:o,m:o,mm:o,h:o,hh:o,d:"dan",dd:o,M:"mjesec",MM:o,y:"godinu",yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},33697:function(ve,h,i){!function(n){"use strict";var o="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function d(e,l,c,g){var y=e;switch(c){case"s":return g||l?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return y+(g||l)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(g||l?" perc":" perce");case"mm":return y+(g||l?" perc":" perce");case"h":return"egy"+(g||l?" \xf3ra":" \xf3r\xe1ja");case"hh":return y+(g||l?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(g||l?" nap":" napja");case"dd":return y+(g||l?" nap":" napja");case"M":return"egy"+(g||l?" h\xf3nap":" h\xf3napja");case"MM":return y+(g||l?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(g||l?" \xe9v":" \xe9ve");case"yy":return y+(g||l?" \xe9v":" \xe9ve")}return""}function a(e){return(e?"":"[m\xfalt] ")+"["+o[this.day()]+"] LT[-kor]"}n.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,l,c){return e<12?!0===c?"de":"DE":!0===c?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return a.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return a.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},2e4:function(ve,h,i){!function(n){"use strict";n.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(d){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(d)},meridiem:function(d){return d<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":d<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":d<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(d,a){switch(a){case"DDD":case"w":case"W":case"DDDo":return 1===d?d+"-\u056b\u0576":d+"-\u0580\u0564";default:return d}},week:{dow:1,doy:7}})}(i(35908))},57840:function(ve,h,i){!function(n){"use strict";n.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"siang"===a?d>=11?d:d+12:"sore"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,u){return d<11?"pagi":d<15?"siang":d<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(i(35908))},31496:function(ve,h,i){!function(n){"use strict";function o(u){return u%100==11||u%10!=1}function d(u,e,l,c){var g=u+" ";switch(l){case"s":return e||c?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return o(u)?g+(e||c?"sek\xfandur":"sek\xfandum"):g+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return o(u)?g+(e||c?"m\xedn\xfatur":"m\xedn\xfatum"):e?g+"m\xedn\xfata":g+"m\xedn\xfatu";case"hh":return o(u)?g+(e||c?"klukkustundir":"klukkustundum"):g+"klukkustund";case"d":return e?"dagur":c?"dag":"degi";case"dd":return o(u)?e?g+"dagar":g+(c?"daga":"d\xf6gum"):e?g+"dagur":g+(c?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":c?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return o(u)?e?g+"m\xe1nu\xf0ir":g+(c?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?g+"m\xe1nu\xf0ur":g+(c?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||c?"\xe1r":"\xe1ri";case"yy":return o(u)?g+(e||c?"\xe1r":"\xe1rum"):g+(e||c?"\xe1r":"\xe1ri")}}n.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:d,ss:d,m:d,mm:d,h:"klukkustund",hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},45736:function(ve,h,i){!function(n){"use strict";n.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){return 0===this.day()?"[la scorsa] dddd [alle] LT":"[lo scorso] dddd [alle] LT"},sameElse:"L"},relativeTime:{future:function(d){return(/^[0-9].+$/.test(d)?"tra":"in")+" "+d},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},6336:function(ve,h,i){!function(n){"use strict";n.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){return 0===this.day()?"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT":"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},58008:function(ve,h,i){!function(n){"use strict";n.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(d,a){return"\u5143"===a[1]?1:parseInt(a[1]||d,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(d){return"\u5348\u5f8c"===d},meridiem:function(d,a,u){return d<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(d){return d.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(d){return this.week()!==d.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(d,a){switch(a){case"y":return 1===d?"\u5143\u5e74":d+"\u5e74";case"d":case"D":case"DDD":return d+"\u65e5";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(i(35908))},30108:function(ve,h,i){!function(n){"use strict";n.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(d,a){return 12===d&&(d=0),"enjing"===a?d:"siyang"===a?d>=11?d:d+12:"sonten"===a||"ndalu"===a?d+12:void 0},meridiem:function(d,a,u){return d<11?"enjing":d<15?"siyang":d<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(i(35908))},61844:function(ve,h,i){!function(n){"use strict";n.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(d){return d.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(a,u,e){return"\u10d8"===e?u+"\u10e8\u10d8":u+e+"\u10e8\u10d8"})},past:function(d){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(d)?d.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(d)?d.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):d},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(d){return 0===d?d:1===d?d+"-\u10da\u10d8":d<20||d<=100&&d%20==0||d%100==0?"\u10db\u10d4-"+d:d+"-\u10d4"},week:{dow:1,doy:7}})}(i(35908))},78980:function(ve,h,i){!function(n){"use strict";var o={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};n.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(a){return a+(o[a]||o[a%10]||o[a>=100?100:null])},week:{dow:1,doy:7}})}(i(35908))},48544:function(ve,h,i){!function(n){"use strict";var o={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},d={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};n.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(u){return"\u179b\u17d2\u1784\u17b6\u1785"===u},meridiem:function(u,e,l){return u<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(u){return u.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},week:{dow:1,doy:4}})}(i(35908))},70096:function(ve,h,i){!function(n){"use strict";var o={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},d={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};n.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(u){return u.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?u<4?u:u+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?u:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?u>=10?u:u+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?u+12:void 0},meridiem:function(u,e,l){return u<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":u<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":u<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":u<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(u){return u+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(i(35908))},87420:function(ve,h,i){!function(n){"use strict";n.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\uc77c";case"M":return d+"\uc6d4";case"w":case"W":return d+"\uc8fc";default:return d}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(d){return"\uc624\ud6c4"===d},meridiem:function(d,a,u){return d<12?"\uc624\uc804":"\uc624\ud6c4"}})}(i(35908))},4740:function(ve,h,i){!function(n){"use strict";function o(u,e,l,c){var g={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[u+" san\xeeye",u+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[u+" deq\xeeqe",u+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[u+" saet",u+" saetan"],d:["rojek","rojek\xea"],dd:[u+" roj",u+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[u+" hefte",u+" hefteyan"],M:["mehek","mehek\xea"],MM:[u+" meh",u+" mehan"],y:["salek","salek\xea"],yy:[u+" sal",u+" salan"]};return e?g[l][0]:g[l][1]}n.defineLocale("ku-kmr",{months:"R\xeabendan_Sibat_Adar_N\xeesan_Gulan_Hez\xeeran_T\xeermeh_Tebax_\xcelon_Cotmeh_Mijdar_Berfanbar".split("_"),monthsShort:"R\xeab_Sib_Ada_N\xees_Gul_Hez_T\xeer_Teb_\xcelo_Cot_Mij_Ber".split("_"),monthsParseExact:!0,weekdays:"Yek\u015fem_Du\u015fem_S\xea\u015fem_\xc7ar\u015fem_P\xeanc\u015fem_\xcen_\u015eem\xee".split("_"),weekdaysShort:"Yek_Du_S\xea_\xc7ar_P\xean_\xcen_\u015eem".split("_"),weekdaysMin:"Ye_Du_S\xea_\xc7a_P\xea_\xcen_\u015ee".split("_"),meridiem:function(u,e,l){return u<12?l?"bn":"BN":l?"pn":"PN"},meridiemParse:/bn|BN|pn|PN/,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM[a] YYYY[an]",LLL:"Do MMMM[a] YYYY[an] HH:mm",LLLL:"dddd, Do MMMM[a] YYYY[an] HH:mm",ll:"Do MMM[.] YYYY[an]",lll:"Do MMM[.] YYYY[an] HH:mm",llll:"ddd[.], Do MMM[.] YYYY[an] HH:mm"},calendar:{sameDay:"[\xcero di saet] LT [de]",nextDay:"[Sib\xea di saet] LT [de]",nextWeek:"dddd [di saet] LT [de]",lastDay:"[Duh di saet] LT [de]",lastWeek:"dddd[a bor\xee di saet] LT [de]",sameElse:"L"},relativeTime:{future:"di %s de",past:"ber\xee %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,w:o,ww:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(u,e){var l=e.toLowerCase();return l.includes("w")||l.includes("m")?u+".":u+function d(u){var e=(u=""+u).substring(u.length-1),l=u.length>1?u.substring(u.length-2):"";return 12==l||13==l||"2"!=e&&"3"!=e&&"50"!=l&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(u)},week:{dow:1,doy:4}})}(i(35908))},60200:function(ve,h,i){!function(n){"use strict";var o={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},d={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},a=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];n.defineLocale("ku",{months:a,monthsShort:a,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,l,c){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(l){return d[l]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(l){return o[l]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(i(35908))},44976:function(ve,h,i){!function(n){"use strict";var o={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};n.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(a){return a+(o[a]||o[a%10]||o[a>=100?100:null])},week:{dow:1,doy:7}})}(i(35908))},4652:function(ve,h,i){!function(n){"use strict";function o(l,c,g,y){var _={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return c?_[g][0]:_[g][1]}function u(l){if(l=parseInt(l,10),isNaN(l))return!1;if(l<0)return!0;if(l<10)return 4<=l&&l<=7;if(l<100){var c=l%10;return u(0===c?l/10:c)}if(l<1e4){for(;l>=10;)l/=10;return u(l)}return u(l/=1e3)}n.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function d(l){return u(l.substr(0,l.indexOf(" ")))?"a "+l:"an "+l},past:function a(l){return u(l.substr(0,l.indexOf(" ")))?"viru "+l:"virun "+l},s:"e puer Sekonnen",ss:"%d Sekonnen",m:o,mm:"%d Minutten",h:o,hh:"%d Stonnen",d:o,dd:"%d Deeg",M:o,MM:"%d M\xe9int",y:o,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},53984:function(ve,h,i){!function(n){"use strict";n.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(d){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===d},meridiem:function(d,a,u){return d<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(d){return"\u0e97\u0eb5\u0ec8"+d}})}(i(35908))},8792:function(ve,h,i){!function(n){"use strict";var o={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function a(g,y,_,C){return y?e(_)[0]:C?e(_)[1]:e(_)[2]}function u(g){return g%10==0||g>10&&g<20}function e(g){return o[g].split("_")}function l(g,y,_,C){var b=g+" ";return 1===g?b+a(0,y,_[0],C):y?b+(u(g)?e(_)[1]:e(_)[0]):C?b+e(_)[1]:b+(u(g)?e(_)[1]:e(_)[2])}n.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function d(g,y,_,C){return y?"kelios sekund\u0117s":C?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:l,m:a,mm:l,h:a,hh:l,d:a,dd:l,M:a,MM:l,y:a,yy:l},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(g){return g+"-oji"},week:{dow:1,doy:4}})}(i(35908))},6296:function(ve,h,i){!function(n){"use strict";var o={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function d(c,g,y){return y?g%10==1&&g%100!=11?c[2]:c[3]:g%10==1&&g%100!=11?c[0]:c[1]}function a(c,g,y){return c+" "+d(o[y],c,g)}function u(c,g,y){return d(o[y],c,g)}n.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function e(c,g){return g?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:a,m:u,mm:a,h:u,hh:a,d:u,dd:a,M:u,MM:a,y:u,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},58256:function(ve,h,i){!function(n){"use strict";var o={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(a,u){return 1===a?u[0]:a>=2&&a<=4?u[1]:u[2]},translate:function(a,u,e){var l=o.words[e];return 1===e.length?u?l[0]:l[1]:a+" "+o.correctGrammaticalCase(a,l)}};n.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:o.translate,m:o.translate,mm:o.translate,h:o.translate,hh:o.translate,d:"dan",dd:o.translate,M:"mjesec",MM:o.translate,y:"godinu",yy:o.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},29284:function(ve,h,i){!function(n){"use strict";n.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},33196:function(ve,h,i){!function(n){"use strict";n.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(d){var a=d%10,u=d%100;return 0===d?d+"-\u0435\u0432":0===u?d+"-\u0435\u043d":u>10&&u<20?d+"-\u0442\u0438":1===a?d+"-\u0432\u0438":2===a?d+"-\u0440\u0438":7===a||8===a?d+"-\u043c\u0438":d+"-\u0442\u0438"},week:{dow:1,doy:7}})}(i(35908))},45896:function(ve,h,i){!function(n){"use strict";n.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===a&&d>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===a||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===a?d+12:d},meridiem:function(d,a,u){return d<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":d<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":d<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":d<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(i(35908))},32460:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){switch(e){case"s":return u?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return a+(u?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return a+(u?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return a+(u?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return a+(u?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return a+(u?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return a+(u?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return a}}n.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(a){return"\u04ae\u0425"===a},meridiem:function(a,u,e){return a<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(a,u){switch(u){case"d":case"D":case"DDD":return a+" \u04e9\u0434\u04e9\u0440";default:return a}}})}(i(35908))},80132:function(ve,h,i){!function(n){"use strict";var o={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function a(e,l,c,g){var y="";if(l)switch(c){case"s":y="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":y="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":y="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":y="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":y="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":y="%d \u0924\u093e\u0938";break;case"d":y="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":y="%d \u0926\u093f\u0935\u0938";break;case"M":y="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":y="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":y="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":y="%d \u0935\u0930\u094d\u0937\u0947"}else switch(c){case"s":y="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":y="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":y="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":y="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":y="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":y="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":y="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":y="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":y="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":y="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":y="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":y="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return y.replace(/%d/i,e)}n.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(l){return d[l]})},postformat:function(e){return e.replace(/\d/g,function(l){return o[l]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,l){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===l||"\u0938\u0915\u093e\u0933\u0940"===l?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===l||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===l||"\u0930\u093e\u0924\u094d\u0930\u0940"===l?e>=12?e:e+12:void 0},meridiem:function(e,l,c){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(i(35908))},88060:function(ve,h,i){!function(n){"use strict";n.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,u){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(35908))},73136:function(ve,h,i){!function(n){"use strict";n.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(d,a){return 12===d&&(d=0),"pagi"===a?d:"tengahari"===a?d>=11?d:d+12:"petang"===a||"malam"===a?d+12:void 0},meridiem:function(d,a,u){return d<11?"pagi":d<15?"tengahari":d<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(i(35908))},46227:function(ve,h,i){!function(n){"use strict";n.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},88300:function(ve,h,i){!function(n){"use strict";var o={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},d={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};n.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(u){return u.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},week:{dow:1,doy:4}})}(i(35908))},14784:function(ve,h,i){!function(n){"use strict";n.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"\xe9n time",hh:"%d timer",d:"\xe9n dag",dd:"%d dager",w:"\xe9n uke",ww:"%d uker",M:"\xe9n m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},75060:function(ve,h,i){!function(n){"use strict";var o={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},d={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};n.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(u){return u.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0930\u093e\u0924\u093f"===e?u<4?u:u+12:"\u092c\u093f\u0939\u093e\u0928"===e?u:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?u>=10?u:u+12:"\u0938\u093e\u0901\u091d"===e?u+12:void 0},meridiem:function(u,e,l){return u<3?"\u0930\u093e\u0924\u093f":u<12?"\u092c\u093f\u0939\u093e\u0928":u<16?"\u0926\u093f\u0909\u0901\u0938\u094b":u<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(i(35908))},94796:function(ve,h,i){!function(n){"use strict";var o="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],u=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(l,c){return l?/-MMM-/.test(c)?d[l.month()]:o[l.month()]:o},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(l){return l+(1===l||8===l||l>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(35908))},4971:function(ve,h,i){!function(n){"use strict";var o="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),d="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),a=[/^jan/i,/^feb/i,/^(maart|mrt\.?)$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],u=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;n.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(l,c){return l?/-MMM-/.test(c)?d[l.month()]:o[l.month()]:o},monthsRegex:u,monthsShortRegex:u,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(l){return l+(1===l||8===l||l>=20?"ste":"de")},week:{dow:1,doy:4}})}(i(35908))},18984:function(ve,h,i){!function(n){"use strict";n.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},59928:function(ve,h,i){!function(n){"use strict";n.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(d,a){var u=1===d?"r":2===d?"n":3===d?"r":4===d?"t":"\xe8";return("w"===a||"W"===a)&&(u="a"),d+u},week:{dow:1,doy:4}})}(i(35908))},76440:function(ve,h,i){!function(n){"use strict";var o={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},d={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};n.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(u){return u.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(u,e){return 12===u&&(u=0),"\u0a30\u0a3e\u0a24"===e?u<4?u:u+12:"\u0a38\u0a35\u0a47\u0a30"===e?u:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?u>=10?u:u+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?u+12:void 0},meridiem:function(u,e,l){return u<4?"\u0a30\u0a3e\u0a24":u<10?"\u0a38\u0a35\u0a47\u0a30":u<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":u<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(i(35908))},96768:function(ve,h,i){!function(n){"use strict";var o="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),d="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),a=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function u(c){return c%10<5&&c%10>1&&~~(c/10)%10!=1}function e(c,g,y){var _=c+" ";switch(y){case"ss":return _+(u(c)?"sekundy":"sekund");case"m":return g?"minuta":"minut\u0119";case"mm":return _+(u(c)?"minuty":"minut");case"h":return g?"godzina":"godzin\u0119";case"hh":return _+(u(c)?"godziny":"godzin");case"ww":return _+(u(c)?"tygodnie":"tygodni");case"MM":return _+(u(c)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return _+(u(c)?"lata":"lat")}}n.defineLocale("pl",{months:function(c,g){return c?/D MMMM/.test(g)?d[c.month()]:o[c.month()]:o},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:e,m:e,mm:e,h:e,hh:e,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:e,M:"miesi\u0105c",MM:e,y:"rok",yy:e},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},51528:function(ve,h,i){!function(n){"use strict";n.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(i(35908))},18968:function(ve,h,i){!function(n){"use strict";n.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(i(35908))},5760:function(ve,h,i){!function(n){"use strict";function o(a,u,e){var c=" ";return(a%100>=20||a>=100&&a%100==0)&&(c=" de "),a+c+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[e]}n.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:o,m:"un minut",mm:o,h:"o or\u0103",hh:o,d:"o zi",dd:o,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:o,M:"o lun\u0103",MM:o,y:"un an",yy:o},week:{dow:1,doy:7}})}(i(35908))},19760:function(ve,h,i){!function(n){"use strict";function d(e,l,c){return"m"===c?l?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function o(e,l){var c=e.split("_");return l%10==1&&l%100!=11?c[0]:l%10>=2&&l%10<=4&&(l%100<10||l%100>=20)?c[1]:c[2]}({ss:l?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:l?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[c],+e)}var a=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];n.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:a,longMonthsParse:a,shortMonthsParse:a,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0447\u0430\u0441",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:d,M:"\u043c\u0435\u0441\u044f\u0446",MM:d,y:"\u0433\u043e\u0434",yy:d},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,l,c){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,l){switch(l){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(i(35908))},53804:function(ve,h,i){!function(n){"use strict";var o=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],d=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];n.defineLocale("sd",{months:o,monthsShort:o,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(u){return"\u0634\u0627\u0645"===u},meridiem:function(u,e,l){return u<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(35908))},44100:function(ve,h,i){!function(n){"use strict";n.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},95301:function(ve,h,i){!function(n){"use strict";n.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(d){return d+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(d){return"\u0db4.\u0dc0."===d||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===d},meridiem:function(d,a,u){return d>11?u?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":u?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(i(35908))},79992:function(ve,h,i){!function(n){"use strict";var o="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),d="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function a(l){return l>1&&l<5}function u(l,c,g,y){var _=l+" ";switch(g){case"s":return c||y?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return c||y?_+(a(l)?"sekundy":"sek\xfand"):_+"sekundami";case"m":return c?"min\xfata":y?"min\xfatu":"min\xfatou";case"mm":return c||y?_+(a(l)?"min\xfaty":"min\xfat"):_+"min\xfatami";case"h":return c?"hodina":y?"hodinu":"hodinou";case"hh":return c||y?_+(a(l)?"hodiny":"hod\xedn"):_+"hodinami";case"d":return c||y?"de\u0148":"d\u0148om";case"dd":return c||y?_+(a(l)?"dni":"dn\xed"):_+"d\u0148ami";case"M":return c||y?"mesiac":"mesiacom";case"MM":return c||y?_+(a(l)?"mesiace":"mesiacov"):_+"mesiacmi";case"y":return c||y?"rok":"rokom";case"yy":return c||y?_+(a(l)?"roky":"rokov"):_+"rokmi"}}n.defineLocale("sk",{months:o,monthsShort:d,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:case 4:case 5:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:u,ss:u,m:u,mm:u,h:u,hh:u,d:u,dd:u,M:u,MM:u,y:u,yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},35208:function(ve,h,i){!function(n){"use strict";function o(a,u,e,l){var c=a+" ";switch(e){case"s":return u||l?"nekaj sekund":"nekaj sekundami";case"ss":return c+(1===a?u?"sekundo":"sekundi":2===a?u||l?"sekundi":"sekundah":a<5?u||l?"sekunde":"sekundah":"sekund");case"m":return u?"ena minuta":"eno minuto";case"mm":return c+(1===a?u?"minuta":"minuto":2===a?u||l?"minuti":"minutama":a<5?u||l?"minute":"minutami":u||l?"minut":"minutami");case"h":return u?"ena ura":"eno uro";case"hh":return c+(1===a?u?"ura":"uro":2===a?u||l?"uri":"urama":a<5?u||l?"ure":"urami":u||l?"ur":"urami");case"d":return u||l?"en dan":"enim dnem";case"dd":return c+(1===a?u||l?"dan":"dnem":2===a?u||l?"dni":"dnevoma":u||l?"dni":"dnevi");case"M":return u||l?"en mesec":"enim mesecem";case"MM":return c+(1===a?u||l?"mesec":"mesecem":2===a?u||l?"meseca":"mesecema":a<5?u||l?"mesece":"meseci":u||l?"mesecev":"meseci");case"y":return u||l?"eno leto":"enim letom";case"yy":return c+(1===a?u||l?"leto":"letom":2===a?u||l?"leti":"letoma":a<5?u||l?"leta":"leti":u||l?"let":"leti")}}n.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},27408:function(ve,h,i){!function(n){"use strict";n.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(d){return"M"===d.charAt(0)},meridiem:function(d,a,u){return d<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},1128:function(ve,h,i){!function(n){"use strict";var o={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(a,u){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?u[0]:u[1]:u[2]},translate:function(a,u,e,l){var g,c=o.words[e];return 1===e.length?"y"===e&&u?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":l||u?c[0]:c[1]:(g=o.correctGrammaticalCase(a,c),"yy"===e&&u&&"\u0433\u043e\u0434\u0438\u043d\u0443"===g?a+" \u0433\u043e\u0434\u0438\u043d\u0430":a+" "+g)}};n.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:o.translate,m:o.translate,mm:o.translate,h:o.translate,hh:o.translate,d:o.translate,dd:o.translate,M:o.translate,MM:o.translate,y:o.translate,yy:o.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},10656:function(ve,h,i){!function(n){"use strict";var o={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(a,u){return a%10>=1&&a%10<=4&&(a%100<10||a%100>=20)?a%10==1?u[0]:u[1]:u[2]},translate:function(a,u,e,l){var g,c=o.words[e];return 1===e.length?"y"===e&&u?"jedna godina":l||u?c[0]:c[1]:(g=o.correctGrammaticalCase(a,c),"yy"===e&&u&&"godinu"===g?a+" godina":a+" "+g)}};n.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:o.translate,m:o.translate,mm:o.translate,h:o.translate,hh:o.translate,d:o.translate,dd:o.translate,M:o.translate,MM:o.translate,y:o.translate,yy:o.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(i(35908))},10864:function(ve,h,i){!function(n){"use strict";n.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(d,a,u){return d<11?"ekuseni":d<15?"emini":d<19?"entsambama":"ebusuku"},meridiemHour:function(d,a){return 12===d&&(d=0),"ekuseni"===a?d:"emini"===a?d>=11?d:d+12:"entsambama"===a||"ebusuku"===a?0===d?0:d+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(i(35908))},16900:function(ve,h,i){!function(n){"use strict";n.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?":e":1===a||2===a?":a":":e")},week:{dow:1,doy:4}})}(i(35908))},81636:function(ve,h,i){!function(n){"use strict";n.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(i(35908))},24180:function(ve,h,i){!function(n){"use strict";var o={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},d={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};n.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(u){return u+"\u0bb5\u0ba4\u0bc1"},preparse:function(u){return u.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return d[e]})},postformat:function(u){return u.replace(/\d/g,function(e){return o[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(u,e,l){return u<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":u<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":u<10?" \u0b95\u0bbe\u0bb2\u0bc8":u<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":u<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":u<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(u,e){return 12===u&&(u=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?u<2?u:u+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&u>=10?u:u+12},week:{dow:0,doy:6}})}(i(35908))},97008:function(ve,h,i){!function(n){"use strict";n.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===a?d<4?d:d+12:"\u0c09\u0c26\u0c2f\u0c02"===a?d:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===a?d>=10?d:d+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===a?d+12:void 0},meridiem:function(d,a,u){return d<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":d<10?"\u0c09\u0c26\u0c2f\u0c02":d<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":d<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(i(35908))},50744:function(ve,h,i){!function(n){"use strict";n.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(i(35908))},58084:function(ve,h,i){!function(n){"use strict";var o={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};n.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(a,u){return 12===a&&(a=0),"\u0448\u0430\u0431"===u?a<4?a:a+12:"\u0441\u0443\u0431\u04b3"===u?a:"\u0440\u04ef\u0437"===u?a>=11?a:a+12:"\u0431\u0435\u0433\u043e\u04b3"===u?a+12:void 0},meridiem:function(a,u,e){return a<4?"\u0448\u0430\u0431":a<11?"\u0441\u0443\u0431\u04b3":a<16?"\u0440\u04ef\u0437":a<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(a){return a+(o[a]||o[a%10]||o[a>=100?100:null])},week:{dow:1,doy:7}})}(i(35908))},81672:function(ve,h,i){!function(n){"use strict";n.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(d){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===d},meridiem:function(d,a,u){return d<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(i(35908))},57232:function(ve,h,i){!function(n){"use strict";var o={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};n.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(a,u){switch(u){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'unjy";var e=a%10;return a+(o[e]||o[a%100-e]||o[a>=100?100:null])}},week:{dow:1,doy:7}})}(i(35908))},89480:function(ve,h,i){!function(n){"use strict";n.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(i(35908))},58512:function(ve,h,i){!function(n){"use strict";var o="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function u(c,g,y,_){var C=function e(c){var g=Math.floor(c%1e3/100),y=Math.floor(c%100/10),_=c%10,C="";return g>0&&(C+=o[g]+"vatlh"),y>0&&(C+=(""!==C?" ":"")+o[y]+"maH"),_>0&&(C+=(""!==C?" ":"")+o[_]),""===C?"pagh":C}(c);switch(y){case"ss":return C+" lup";case"mm":return C+" tup";case"hh":return C+" rep";case"dd":return C+" jaj";case"MM":return C+" jar";case"yy":return C+" DIS"}}n.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function d(c){var g=c;return-1!==c.indexOf("jaj")?g.slice(0,-3)+"leS":-1!==c.indexOf("jar")?g.slice(0,-3)+"waQ":-1!==c.indexOf("DIS")?g.slice(0,-3)+"nem":g+" pIq"},past:function a(c){var g=c;return-1!==c.indexOf("jaj")?g.slice(0,-3)+"Hu\u2019":-1!==c.indexOf("jar")?g.slice(0,-3)+"wen":-1!==c.indexOf("DIS")?g.slice(0,-3)+"ben":g+" ret"},s:"puS lup",ss:u,m:"wa\u2019 tup",mm:u,h:"wa\u2019 rep",hh:u,d:"wa\u2019 jaj",dd:u,M:"wa\u2019 jar",MM:u,y:"wa\u2019 DIS",yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},56020:function(ve,h,i){!function(n){"use strict";var o={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};n.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(a,u,e){return a<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(a){return"\xf6s"===a||"\xd6S"===a},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(a,u){switch(u){case"d":case"D":case"Do":case"DD":return a;default:if(0===a)return a+"'\u0131nc\u0131";var e=a%10;return a+(o[e]||o[a%100-e]||o[a>=100?100:null])}},week:{dow:1,doy:7}})}(i(35908))},36240:function(ve,h,i){!function(n){"use strict";function d(a,u,e,l){var c={s:["viensas secunds","'iensas secunds"],ss:[a+" secunds",a+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[a+" m\xeduts",a+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[a+" \xfeoras",a+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[a+" ziuas",a+" ziuas"],M:["'n mes","'iens mes"],MM:[a+" mesen",a+" mesen"],y:["'n ar","'iens ar"],yy:[a+" ars",a+" ars"]};return l||u?c[e][0]:c[e][1]}n.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(a){return"d'o"===a.toLowerCase()},meridiem:function(a,u,e){return a>11?e?"d'o":"D'O":e?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:d,ss:d,m:d,mm:d,h:d,hh:d,d,dd:d,M:d,MM:d,y:d,yy:d},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(i(35908))},53384:function(ve,h,i){!function(n){"use strict";n.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(i(35908))},33064:function(ve,h,i){!function(n){"use strict";n.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(i(35908))},45852:function(ve,h,i){!function(n){"use strict";n.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===a||"\u0633\u06d5\u06be\u06d5\u0631"===a||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===a?d:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===a||"\u0643\u06d5\u0686"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,u){var e=100*d+a;return e<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":e<900?"\u0633\u06d5\u06be\u06d5\u0631":e<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":e<1230?"\u0686\u06c8\u0634":e<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return d+"-\u06be\u06d5\u067e\u062a\u06d5";default:return d}},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(i(35908))},12480:function(ve,h,i){!function(n){"use strict";function d(l,c,g){return"m"===g?c?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===g?c?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":l+" "+function o(l,c){var g=l.split("_");return c%10==1&&c%100!=11?g[0]:c%10>=2&&c%10<=4&&(c%100<10||c%100>=20)?g[1]:g[2]}({ss:c?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:c?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:c?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[g],+l)}function u(l){return function(){return l+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}n.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function a(l,c){var g={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===l?g.nominative.slice(1,7).concat(g.nominative.slice(0,1)):l?g[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(c)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(c)?"genitive":"nominative"][l.day()]:g.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:u("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:u("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:u("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:u("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return u("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return u("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:d,m:d,mm:d,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:d,d:"\u0434\u0435\u043d\u044c",dd:d,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:d,y:"\u0440\u0456\u043a",yy:d},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(l){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(l)},meridiem:function(l,c,g){return l<4?"\u043d\u043e\u0447\u0456":l<12?"\u0440\u0430\u043d\u043a\u0443":l<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(l,c){switch(c){case"M":case"d":case"DDD":case"w":case"W":return l+"-\u0439";case"D":return l+"-\u0433\u043e";default:return l}},week:{dow:1,doy:7}})}(i(35908))},63877:function(ve,h,i){!function(n){"use strict";var o=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],d=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];n.defineLocale("ur",{months:o,monthsShort:o,weekdays:d,weekdaysShort:d,weekdaysMin:d,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(u){return"\u0634\u0627\u0645"===u},meridiem:function(u,e,l){return u<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(i(35908))},20108:function(ve,h,i){!function(n){"use strict";n.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(i(35908))},91712:function(ve,h,i){!function(n){"use strict";n.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(i(35908))},9984:function(ve,h,i){!function(n){"use strict";n.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(d){return/^ch$/i.test(d)},meridiem:function(d,a,u){return d<12?u?"sa":"SA":u?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(d){return d},week:{dow:1,doy:4}})}(i(35908))},45708:function(ve,h,i){!function(n){"use strict";n.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(d){var a=d%10;return d+(1==~~(d%100/10)?"th":1===a?"st":2===a?"nd":3===a?"rd":"th")},week:{dow:1,doy:4}})}(i(35908))},78476:function(ve,h,i){!function(n){"use strict";n.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(i(35908))},3676:function(ve,h,i){!function(n){"use strict";n.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:d>=11?d:d+12},meridiem:function(d,a,u){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(d){return d.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(d){return this.week()!==d.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u5468";default:return d}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(i(35908))},49880:function(ve,h,i){!function(n){"use strict";n.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,u){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1200?"\u4e0a\u5348":1200===e?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(35908))},41968:function(ve,h,i){!function(n){"use strict";n.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,u){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(35908))},33632:function(ve,h,i){!function(n){"use strict";n.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(d,a){return 12===d&&(d=0),"\u51cc\u6668"===a||"\u65e9\u4e0a"===a||"\u4e0a\u5348"===a?d:"\u4e2d\u5348"===a?d>=11?d:d+12:"\u4e0b\u5348"===a||"\u665a\u4e0a"===a?d+12:void 0},meridiem:function(d,a,u){var e=100*d+a;return e<600?"\u51cc\u6668":e<900?"\u65e9\u4e0a":e<1130?"\u4e0a\u5348":e<1230?"\u4e2d\u5348":e<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(d,a){switch(a){case"d":case"D":case"DDD":return d+"\u65e5";case"M":return d+"\u6708";case"w":case"W":return d+"\u9031";default:return d}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(i(35908))},35908:function(ve,h,i){(ve=i.nmd(ve)).exports=function(){"use strict";var n,S;function o(){return n.apply(null,arguments)}function a(V){return V instanceof Array||"[object Array]"===Object.prototype.toString.call(V)}function u(V){return null!=V&&"[object Object]"===Object.prototype.toString.call(V)}function e(V,he){return Object.prototype.hasOwnProperty.call(V,he)}function l(V){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(V).length;var he;for(he in V)if(e(V,he))return!1;return!0}function c(V){return void 0===V}function g(V){return"number"==typeof V||"[object Number]"===Object.prototype.toString.call(V)}function y(V){return V instanceof Date||"[object Date]"===Object.prototype.toString.call(V)}function _(V,he){var $e,xe=[],lt=V.length;for($e=0;$e>>0;for($e=0;$e0)for(xe=0;xe=0?xe?"+":"":"-")+Math.pow(10,Math.max(0,he-$e.length)).toString().substr(1)+$e}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,X=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},Y={};function q(V,he,xe,$e){var lt=$e;"string"==typeof $e&&(lt=function(){return this[$e]()}),V&&(Y[V]=lt),he&&(Y[he[0]]=function(){return Q(lt.apply(this,arguments),he[1],he[2])}),xe&&(Y[xe]=function(){return this.localeData().ordinal(lt.apply(this,arguments),V)})}function de(V){return V.match(/\[[\s\S]/)?V.replace(/^\[|\]$/g,""):V.replace(/\\/g,"")}function Oe(V,he){return V.isValid()?(he=Re(he,V.localeData()),z[he]=z[he]||function me(V){var xe,$e,he=V.match(re);for(xe=0,$e=he.length;xe<$e;xe++)he[xe]=Y[he[xe]]?Y[he[xe]]:de(he[xe]);return function(lt){var Mn,Ht="";for(Mn=0;Mn<$e;Mn++)Ht+=L(he[Mn])?he[Mn].call(lt,V):he[Mn];return Ht}}(he),z[he](V)):V.localeData().invalidDate()}function Re(V,he){var xe=5;function $e(lt){return he.longDateFormat(lt)||lt}for(X.lastIndex=0;xe>=0&&X.test(V);)V=V.replace(X,$e),X.lastIndex=0,xe-=1;return V}var Qe={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ut(V){return"string"==typeof V?Qe[V]||Qe[V.toLowerCase()]:void 0}function sn(V){var xe,$e,he={};for($e in V)e(V,$e)&&(xe=Ut($e))&&(he[xe]=V[$e]);return he}var un={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};var kn,bn=/\d/,kt=/\d\d/,jt=/\d{3}/,Fe=/\d{4}/,Ee=/[+-]?\d{6}/,ye=/\d\d?/,Ce=/\d\d\d\d?/,Ge=/\d\d\d\d\d\d?/,Je=/\d{1,3}/,vt=/\d{1,4}/,Bt=/[+-]?\d{1,6}/,Zt=/\d+/,Rt=/[+-]?\d+/,Dt=/Z|[+-]\d\d:?\d\d/gi,Ot=/Z|[+-]\d\d(?::?\d\d)?/gi,Vn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yn=/^[1-9]\d?/,er=/^([1-9]\d|\d)/;function Mt(V,he,xe){kn[V]=L(he)?he:function($e,lt){return $e&&xe?xe:he}}function Gt(V,he){return e(kn,V)?kn[V](he._strict,he._locale):new RegExp(function mt(V){return Et(V.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(he,xe,$e,lt,Ht){return xe||$e||lt||Ht}))}(V))}function Et(V){return V.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xt(V){return V<0?Math.ceil(V)||0:Math.floor(V)}function _n(V){var he=+V,xe=0;return 0!==he&&isFinite(he)&&(xe=Xt(he)),xe}kn={};var En={};function qt(V,he){var xe,lt,$e=he;for("string"==typeof V&&(V=[V]),g(he)&&($e=function(Ht,Mn){Mn[he]=_n(Ht)}),lt=V.length,xe=0;xe68?1900:2e3)};var ct,Or=Qt("FullYear",!0);function Qt(V,he){return function(xe){return null!=xe?(Kn(this,V,xe),o.updateOffset(this,he),this):Rn(this,V)}}function Rn(V,he){if(!V.isValid())return NaN;var xe=V._d,$e=V._isUTC;switch(he){case"Milliseconds":return $e?xe.getUTCMilliseconds():xe.getMilliseconds();case"Seconds":return $e?xe.getUTCSeconds():xe.getSeconds();case"Minutes":return $e?xe.getUTCMinutes():xe.getMinutes();case"Hours":return $e?xe.getUTCHours():xe.getHours();case"Date":return $e?xe.getUTCDate():xe.getDate();case"Day":return $e?xe.getUTCDay():xe.getDay();case"Month":return $e?xe.getUTCMonth():xe.getMonth();case"FullYear":return $e?xe.getUTCFullYear():xe.getFullYear();default:return NaN}}function Kn(V,he,xe){var $e,lt,Ht,Mn,rr;if(V.isValid()&&!isNaN(xe)){switch($e=V._d,lt=V._isUTC,he){case"Milliseconds":return void(lt?$e.setUTCMilliseconds(xe):$e.setMilliseconds(xe));case"Seconds":return void(lt?$e.setUTCSeconds(xe):$e.setSeconds(xe));case"Minutes":return void(lt?$e.setUTCMinutes(xe):$e.setMinutes(xe));case"Hours":return void(lt?$e.setUTCHours(xe):$e.setHours(xe));case"Date":return void(lt?$e.setUTCDate(xe):$e.setDate(xe));case"FullYear":break;default:return}Ht=xe,Mn=V.month(),rr=29!==(rr=V.date())||1!==Mn||Br(Ht)?rr:28,lt?$e.setUTCFullYear(Ht,Mn,rr):$e.setFullYear(Ht,Mn,rr)}}function Tt(V,he){if(isNaN(V)||isNaN(he))return NaN;var xe=function Ir(V,he){return(V%he+he)%he}(he,12);return V+=(he-xe)/12,1===xe?Br(V)?29:28:31-xe%7%2}ct=Array.prototype.indexOf?Array.prototype.indexOf:function(V){var he;for(he=0;he=0?(rr=new Date(V+400,he,xe,$e,lt,Ht,Mn),isFinite(rr.getFullYear())&&rr.setFullYear(V)):rr=new Date(V,he,xe,$e,lt,Ht,Mn),rr}function He(V){var he,xe;return V<100&&V>=0?((xe=Array.prototype.slice.call(arguments))[0]=V+400,he=new Date(Date.UTC.apply(null,xe)),isFinite(he.getUTCFullYear())&&he.setUTCFullYear(V)):he=new Date(Date.UTC.apply(null,arguments)),he}function Pe(V,he,xe){var $e=7+he-xe;return-(7+He(V,0,$e).getUTCDay()-he)%7+$e-1}function fe(V,he,xe,$e,lt){var Kr,fi,rr=1+7*(he-1)+(7+xe-$e)%7+Pe(V,$e,lt);return rr<=0?fi=qn(Kr=V-1)+rr:rr>qn(V)?(Kr=V+1,fi=rr-qn(V)):(Kr=V,fi=rr),{year:Kr,dayOfYear:fi}}function Te(V,he,xe){var Ht,Mn,$e=Pe(V.year(),he,xe),lt=Math.floor((V.dayOfYear()-$e-1)/7)+1;return lt<1?Ht=lt+ot(Mn=V.year()-1,he,xe):lt>ot(V.year(),he,xe)?(Ht=lt-ot(V.year(),he,xe),Mn=V.year()+1):(Mn=V.year(),Ht=lt),{week:Ht,year:Mn}}function ot(V,he,xe){var $e=Pe(V,he,xe),lt=Pe(V+1,he,xe);return(qn(V)-$e+lt)/7}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),Mt("w",ye,Yn),Mt("ww",ye,kt),Mt("W",ye,Yn),Mt("WW",ye,kt),nr(["w","ww","W","WW"],function(V,he,xe,$e){he[$e.substr(0,1)]=_n(V)});function Yt(V,he){return V.slice(he,7).concat(V.slice(0,he))}q("d",0,"do","day"),q("dd",0,0,function(V){return this.localeData().weekdaysMin(this,V)}),q("ddd",0,0,function(V){return this.localeData().weekdaysShort(this,V)}),q("dddd",0,0,function(V){return this.localeData().weekdays(this,V)}),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),Mt("d",ye),Mt("e",ye),Mt("E",ye),Mt("dd",function(V,he){return he.weekdaysMinRegex(V)}),Mt("ddd",function(V,he){return he.weekdaysShortRegex(V)}),Mt("dddd",function(V,he){return he.weekdaysRegex(V)}),nr(["dd","ddd","dddd"],function(V,he,xe,$e){var lt=xe._locale.weekdaysParse(V,$e,xe._strict);null!=lt?he.d=lt:f(xe).invalidWeekday=V}),nr(["d","e","E"],function(V,he,xe,$e){he[$e]=_n(V)});var Ln="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),lr="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),cr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nr=Vn,Lr=Vn,ut=Vn;function wn(V,he,xe){var $e,lt,Ht,Mn=V.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],$e=0;$e<7;++$e)Ht=b([2e3,1]).day($e),this._minWeekdaysParse[$e]=this.weekdaysMin(Ht,"").toLocaleLowerCase(),this._shortWeekdaysParse[$e]=this.weekdaysShort(Ht,"").toLocaleLowerCase(),this._weekdaysParse[$e]=this.weekdays(Ht,"").toLocaleLowerCase();return xe?"dddd"===he?-1!==(lt=ct.call(this._weekdaysParse,Mn))?lt:null:"ddd"===he?-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Mn))?lt:null:"dddd"===he?-1!==(lt=ct.call(this._weekdaysParse,Mn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))||-1!==(lt=ct.call(this._minWeekdaysParse,Mn))?lt:null:"ddd"===he?-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))||-1!==(lt=ct.call(this._weekdaysParse,Mn))||-1!==(lt=ct.call(this._minWeekdaysParse,Mn))?lt:null:-1!==(lt=ct.call(this._minWeekdaysParse,Mn))||-1!==(lt=ct.call(this._weekdaysParse,Mn))||-1!==(lt=ct.call(this._shortWeekdaysParse,Mn))?lt:null}function Xr(){function V(us,Xs){return Xs.length-us.length}var Ht,Mn,rr,Kr,fi,he=[],xe=[],$e=[],lt=[];for(Ht=0;Ht<7;Ht++)Mn=b([2e3,1]).day(Ht),rr=Et(this.weekdaysMin(Mn,"")),Kr=Et(this.weekdaysShort(Mn,"")),fi=Et(this.weekdays(Mn,"")),he.push(rr),xe.push(Kr),$e.push(fi),lt.push(rr),lt.push(Kr),lt.push(fi);he.sort(V),xe.sort(V),$e.sort(V),lt.sort(V),this._weekdaysRegex=new RegExp("^("+lt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+$e.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+xe.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+he.join("|")+")","i")}function Vi(){return this.hours()%12||12}function Yi(V,he){q(V,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),he)})}function ko(V,he){return he._meridiemParse}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Vi),q("k",["kk",2],0,function hr(){return this.hours()||24}),q("hmm",0,0,function(){return""+Vi.apply(this)+Q(this.minutes(),2)}),q("hmmss",0,0,function(){return""+Vi.apply(this)+Q(this.minutes(),2)+Q(this.seconds(),2)}),q("Hmm",0,0,function(){return""+this.hours()+Q(this.minutes(),2)}),q("Hmmss",0,0,function(){return""+this.hours()+Q(this.minutes(),2)+Q(this.seconds(),2)}),Yi("a",!0),Yi("A",!1),Mt("a",ko),Mt("A",ko),Mt("H",ye,er),Mt("h",ye,Yn),Mt("k",ye,Yn),Mt("HH",ye,kt),Mt("hh",ye,kt),Mt("kk",ye,kt),Mt("hmm",Ce),Mt("hmmss",Ge),Mt("Hmm",Ce),Mt("Hmmss",Ge),qt(["H","HH"],Jn),qt(["k","kk"],function(V,he,xe){var $e=_n(V);he[Jn]=24===$e?0:$e}),qt(["a","A"],function(V,he,xe){xe._isPm=xe._locale.isPM(V),xe._meridiem=V}),qt(["h","hh"],function(V,he,xe){he[Jn]=_n(V),f(xe).bigHour=!0}),qt("hmm",function(V,he,xe){var $e=V.length-2;he[Jn]=_n(V.substr(0,$e)),he[xn]=_n(V.substr($e)),f(xe).bigHour=!0}),qt("hmmss",function(V,he,xe){var $e=V.length-4,lt=V.length-2;he[Jn]=_n(V.substr(0,$e)),he[xn]=_n(V.substr($e,2)),he[oi]=_n(V.substr(lt)),f(xe).bigHour=!0}),qt("Hmm",function(V,he,xe){var $e=V.length-2;he[Jn]=_n(V.substr(0,$e)),he[xn]=_n(V.substr($e))}),qt("Hmmss",function(V,he,xe){var $e=V.length-4,lt=V.length-2;he[Jn]=_n(V.substr(0,$e)),he[xn]=_n(V.substr($e,2)),he[oi]=_n(V.substr(lt))});var zi=Qt("Hours",!0);var _i,ro={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:St,monthsShort:Jt,week:{dow:0,doy:6},weekdays:Ln,weekdaysMin:cr,weekdaysShort:lr,meridiemParse:/[ap]\.?m?\.?/i},Rr={},mo={};function xi(V,he){var xe,$e=Math.min(V.length,he.length);for(xe=0;xe<$e;xe+=1)if(V[xe]!==he[xe])return xe;return $e}function qr(V){return V&&V.toLowerCase().replace("_","-")}function wi(V){var he=null;if(void 0===Rr[V]&&ve&&ve.exports&&function yo(V){return!(!V||!V.match("^[^/\\\\]*$"))}(V))try{he=_i._abbr,i(92348)("./"+V),yi(he)}catch{Rr[V]=null}return Rr[V]}function yi(V,he){var xe;return V&&((xe=c(he)?zr(V):Eo(V,he))?_i=xe:typeof console<"u"&&console.warn&&console.warn("Locale "+V+" not found. Did you forget to load it?")),_i._abbr}function Eo(V,he){if(null!==he){var xe,$e=ro;if(he.abbr=V,null!=Rr[V])j("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),$e=Rr[V]._config;else if(null!=he.parentLocale)if(null!=Rr[he.parentLocale])$e=Rr[he.parentLocale]._config;else{if(null==(xe=wi(he.parentLocale)))return mo[he.parentLocale]||(mo[he.parentLocale]=[]),mo[he.parentLocale].push({name:V,config:he}),null;$e=xe._config}return Rr[V]=new ee($($e,he)),mo[V]&&mo[V].forEach(function(lt){Eo(lt.name,lt.config)}),yi(V),Rr[V]}return delete Rr[V],null}function zr(V){var he;if(V&&V._locale&&V._locale._abbr&&(V=V._locale._abbr),!V)return _i;if(!a(V)){if(he=wi(V))return he;V=[V]}return function ar(V){for(var xe,$e,lt,Ht,he=0;he0;){if(lt=wi(Ht.slice(0,xe).join("-")))return lt;if($e&&$e.length>=xe&&xi(Ht,$e)>=xe-1)break;xe--}he++}return _i}(V)}function Ni(V){var he,xe=V._a;return xe&&-2===f(V).overflow&&(he=xe[Mr]<0||xe[Mr]>11?Mr:xe[br]<1||xe[br]>Tt(xe[sr],xe[Mr])?br:xe[Jn]<0||xe[Jn]>24||24===xe[Jn]&&(0!==xe[xn]||0!==xe[oi]||0!==xe[Sr])?Jn:xe[xn]<0||xe[xn]>59?xn:xe[oi]<0||xe[oi]>59?oi:xe[Sr]<0||xe[Sr]>999?Sr:-1,f(V)._overflowDayOfYear&&(hebr)&&(he=br),f(V)._overflowWeeks&&-1===he&&(he=pr),f(V)._overflowWeekday&&-1===he&&(he=Xn),f(V).overflow=he),V}var Gr=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Lo=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Oi=/Z|[+-]\d\d(?::?\d\d)?/,Zi=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Li=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gi=/^\/?Date\((-?\d+)/i,$o=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Co={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Ro(V){var he,xe,Ht,Mn,rr,Kr,$e=V._i,lt=Gr.exec($e)||Lo.exec($e),fi=Zi.length,us=Li.length;if(lt){for(f(V).iso=!0,he=0,xe=fi;he7)&&(Kr=!0)):(Ht=V._locale._week.dow,Mn=V._locale._week.doy,fi=Te(wt(),Ht,Mn),xe=So(he.gg,V._a[sr],fi.year),$e=So(he.w,fi.week),null!=he.d?((lt=he.d)<0||lt>6)&&(Kr=!0):null!=he.e?(lt=he.e+Ht,(he.e<0||he.e>6)&&(Kr=!0)):lt=Ht),$e<1||$e>ot(xe,Ht,Mn)?f(V)._overflowWeeks=!0:null!=Kr?f(V)._overflowWeekday=!0:(rr=fe(xe,$e,lt,Ht,Mn),V._a[sr]=rr.year,V._dayOfYear=rr.dayOfYear)}(V),null!=V._dayOfYear&&(Mn=So(V._a[sr],lt[sr]),(V._dayOfYear>qn(Mn)||0===V._dayOfYear)&&(f(V)._overflowDayOfYear=!0),xe=He(Mn,0,V._dayOfYear),V._a[Mr]=xe.getUTCMonth(),V._a[br]=xe.getUTCDate()),he=0;he<3&&null==V._a[he];++he)V._a[he]=$e[he]=lt[he];for(;he<7;he++)V._a[he]=$e[he]=null==V._a[he]?2===he?1:0:V._a[he];24===V._a[Jn]&&0===V._a[xn]&&0===V._a[oi]&&0===V._a[Sr]&&(V._nextDay=!0,V._a[Jn]=0),V._d=(V._useUTC?He:ae).apply(null,$e),Ht=V._useUTC?V._d.getUTCDay():V._d.getDay(),null!=V._tzm&&V._d.setUTCMinutes(V._d.getUTCMinutes()-V._tzm),V._nextDay&&(V._a[Jn]=24),V._w&&typeof V._w.d<"u"&&V._w.d!==Ht&&(f(V).weekdayMismatch=!0)}}function Do(V){if(V._f!==o.ISO_8601)if(V._f!==o.RFC_2822){V._a=[],f(V).empty=!0;var xe,$e,lt,Ht,Mn,fi,us,he=""+V._i,rr=he.length,Kr=0;for(us=(lt=Re(V._f,V._locale).match(re)||[]).length,xe=0;xe0&&f(V).unusedInput.push(Mn),he=he.slice(he.indexOf($e)+$e.length),Kr+=$e.length),Y[Ht]?($e?f(V).empty=!1:f(V).unusedTokens.push(Ht),kr(Ht,$e,V)):V._strict&&!$e&&f(V).unusedTokens.push(Ht);f(V).charsLeftOver=rr-Kr,he.length>0&&f(V).unusedInput.push(he),V._a[Jn]<=12&&!0===f(V).bigHour&&V._a[Jn]>0&&(f(V).bigHour=void 0),f(V).parsedDateParts=V._a.slice(0),f(V).meridiem=V._meridiem,V._a[Jn]=function Ko(V,he,xe){var $e;return null==xe?he:null!=V.meridiemHour?V.meridiemHour(he,xe):(null!=V.isPM&&(($e=V.isPM(xe))&&he<12&&(he+=12),!$e&&12===he&&(he=0)),he)}(V._locale,V._a[Jn],V._meridiem),null!==(fi=f(V).era)&&(V._a[sr]=V._locale.erasConvertYear(fi,V._a[sr])),co(V),Ni(V)}else Ki(V);else Ro(V)}function Xe(V){var he=V._i,xe=V._f;return V._locale=V._locale||zr(V._l),null===he||void 0===xe&&""===he?M({nullInput:!0}):("string"==typeof he&&(V._i=he=V._locale.preparse(he)),F(he)?new N(Ni(he)):(y(he)?V._d=he:a(xe)?function hs(V){var he,xe,$e,lt,Ht,Mn,rr=!1,Kr=V._f.length;if(0===Kr)return f(V).invalidFormat=!0,void(V._d=new Date(NaN));for(lt=0;ltthis?this:V:M()});function Wi(V,he){var xe,$e;if(1===he.length&&a(he[0])&&(he=he[0]),!he.length)return wt();for(xe=he[0],$e=1;$e=0?new Date(V+400,he,xe)-Ri:new Date(V,he,xe).valueOf()}function gs(V,he,xe){return V<100&&V>=0?Date.UTC(V+400,he,xe)-Ri:Date.UTC(V,he,xe)}function aa(V,he){return he.erasAbbrRegex(V)}function zo(){var lt,Ht,Mn,rr,Kr,V=[],he=[],xe=[],$e=[],fi=this.eras();for(lt=0,Ht=fi.length;lt(Ht=ot(V,$e,lt))&&(he=Ht),Xl.call(this,V,he,xe,$e,lt))}function Xl(V,he,xe,$e,lt){var Ht=fe(V,he,xe,$e,lt),Mn=He(Ht.year,0,Ht.dayOfYear);return this.year(Mn.getUTCFullYear()),this.month(Mn.getUTCMonth()),this.date(Mn.getUTCDate()),this}q("N",0,0,"eraAbbr"),q("NN",0,0,"eraAbbr"),q("NNN",0,0,"eraAbbr"),q("NNNN",0,0,"eraName"),q("NNNNN",0,0,"eraNarrow"),q("y",["y",1],"yo","eraYear"),q("y",["yy",2],0,"eraYear"),q("y",["yyy",3],0,"eraYear"),q("y",["yyyy",4],0,"eraYear"),Mt("N",aa),Mt("NN",aa),Mt("NNN",aa),Mt("NNNN",function gu(V,he){return he.erasNameRegex(V)}),Mt("NNNNN",function Ql(V,he){return he.erasNarrowRegex(V)}),qt(["N","NN","NNN","NNNN","NNNNN"],function(V,he,xe,$e){var lt=xe._locale.erasParse(V,$e,xe._strict);lt?f(xe).era=lt:f(xe).invalidEra=V}),Mt("y",Zt),Mt("yy",Zt),Mt("yyy",Zt),Mt("yyyy",Zt),Mt("yo",function mu(V,he){return he._eraYearOrdinalRegex||Zt}),qt(["y","yy","yyy","yyyy"],sr),qt(["yo"],function(V,he,xe,$e){var lt;xe._locale._eraYearOrdinalRegex&&(lt=V.match(xe._locale._eraYearOrdinalRegex)),he[sr]=xe._locale.eraYearOrdinalParse?xe._locale.eraYearOrdinalParse(V,lt):parseInt(V,10)}),q(0,["gg",2],0,function(){return this.weekYear()%100}),q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),la("gggg","weekYear"),la("ggggg","weekYear"),la("GGGG","isoWeekYear"),la("GGGGG","isoWeekYear"),Mt("G",Rt),Mt("g",Rt),Mt("GG",ye,kt),Mt("gg",ye,kt),Mt("GGGG",vt,Fe),Mt("gggg",vt,Fe),Mt("GGGGG",Bt,Ee),Mt("ggggg",Bt,Ee),nr(["gggg","ggggg","GGGG","GGGGG"],function(V,he,xe,$e){he[$e.substr(0,2)]=_n(V)}),nr(["gg","GG"],function(V,he,xe,$e){he[$e]=o.parseTwoDigitYear(V)}),q("Q",0,"Qo","quarter"),Mt("Q",bn),qt("Q",function(V,he){he[Mr]=3*(_n(V)-1)}),q("D",["DD",2],"Do","date"),Mt("D",ye,Yn),Mt("DD",ye,kt),Mt("Do",function(V,he){return V?he._dayOfMonthOrdinalParse||he._ordinalParse:he._dayOfMonthOrdinalParseLenient}),qt(["D","DD"],br),qt("Do",function(V,he){he[br]=_n(V.match(ye)[0])});var Ma=Qt("Date",!0);q("DDD",["DDDD",3],"DDDo","dayOfYear"),Mt("DDD",Je),Mt("DDDD",jt),qt(["DDD","DDDD"],function(V,he,xe){xe._dayOfYear=_n(V)}),q("m",["mm",2],0,"minute"),Mt("m",ye,er),Mt("mm",ye,kt),qt(["m","mm"],xn);var sl=Qt("Minutes",!1);q("s",["ss",2],0,"second"),Mt("s",ye,er),Mt("ss",ye,kt),qt(["s","ss"],oi);var No,ni,pu=Qt("Seconds",!1);for(q("S",0,0,function(){return~~(this.millisecond()/100)}),q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Mt("S",Je,bn),Mt("SS",Je,kt),Mt("SSS",Je,jt),No="SSSS";No.length<=9;No+="S")Mt(No,Zt);function ql(V,he){he[Sr]=_n(1e3*("0."+V))}for(No="S";No.length<=9;No+="S")qt(No,ql);ni=Qt("Milliseconds",!1),q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var Nn=N.prototype;function oe(V){return V}Nn.add=Ti,Nn.calendar=function Ye(V,he){1===arguments.length&&(arguments[0]?wr(arguments[0])?(V=arguments[0],he=void 0):function ei(V){var lt,he=u(V)&&!l(V),xe=!1,$e=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(lt=0;lt<$e.length;lt+=1)xe=xe||e(V,$e[lt]);return he&&xe}(arguments[0])&&(he=arguments[0],V=void 0):(V=void 0,he=void 0));var xe=V||wt(),$e=io(xe,this).startOf("day"),lt=o.calendarFormat(this,$e)||"sameElse",Ht=he&&(L(he[lt])?he[lt].call(this,xe):he[lt]);return this.format(Ht||this.localeData().calendar(lt,this,wt(xe)))},Nn.clone=function at(){return new N(this)},Nn.diff=function xt(V,he,xe){var $e,lt,Ht;if(!this.isValid())return NaN;if(!($e=io(V,this)).isValid())return NaN;switch(lt=6e4*($e.utcOffset()-this.utcOffset()),he=Ut(he)){case"year":Ht=rn(this,$e)/12;break;case"month":Ht=rn(this,$e);break;case"quarter":Ht=rn(this,$e)/3;break;case"second":Ht=(this-$e)/1e3;break;case"minute":Ht=(this-$e)/6e4;break;case"hour":Ht=(this-$e)/36e5;break;case"day":Ht=(this-$e-lt)/864e5;break;case"week":Ht=(this-$e-lt)/6048e5;break;default:Ht=this-$e}return xe?Ht:Xt(Ht)},Nn.endOf=function so(V){var he,xe;if(void 0===(V=Ut(V))||"millisecond"===V||!this.isValid())return this;switch(xe=this._isUTC?gs:Vo,V){case"year":he=xe(this.year()+1,0,1)-1;break;case"quarter":he=xe(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":he=xe(this.year(),this.month()+1,1)-1;break;case"week":he=xe(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":he=xe(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":he=xe(this.year(),this.month(),this.date()+1)-1;break;case"hour":he=this._d.valueOf(),he+=Hr-eo(he+(this._isUTC?0:this.utcOffset()*Qr),Hr)-1;break;case"minute":he=this._d.valueOf(),he+=Qr-eo(he,Qr)-1;break;case"second":he=this._d.valueOf(),he+=1e3-eo(he,1e3)-1}return this._d.setTime(he),o.updateOffset(this,!0),this},Nn.format=function Ue(V){V||(V=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var he=Oe(this,V);return this.localeData().postformat(he)},Nn.from=function _t(V,he){return this.isValid()&&(F(V)&&V.isValid()||wt(V).isValid())?fr({to:this,from:V}).locale(this.locale()).humanize(!he):this.localeData().invalidDate()},Nn.fromNow=function $t(V){return this.from(wt(),V)},Nn.to=function tn(V,he){return this.isValid()&&(F(V)&&V.isValid()||wt(V).isValid())?fr({from:this,to:V}).locale(this.locale()).humanize(!he):this.localeData().invalidDate()},Nn.toNow=function Dn(V){return this.to(wt(),V)},Nn.get=function or(V){return L(this[V=Ut(V)])?this[V]():this},Nn.invalidAt=function Qs(){return f(this).overflow},Nn.isAfter=function R(V,he){var xe=F(V)?V:wt(V);return!(!this.isValid()||!xe.isValid())&&("millisecond"===(he=Ut(he)||"millisecond")?this.valueOf()>xe.valueOf():xe.valueOf()9999?Oe(xe,he?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?he?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Oe(xe,"Z")):Oe(xe,he?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Nn.inspect=function Se(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var xe,$e,V="moment",he="";return this.isLocal()||(V=0===this.utcOffset()?"moment.utc":"moment.parseZone",he="Z"),xe="["+V+'("]',$e=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(xe+$e+"-MM-DD[T]HH:mm:ss.SSS"+he+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Nn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Nn.toJSON=function Gl(){return this.isValid()?this.toISOString():null},Nn.toString=function J(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Nn.unix=function hi(){return Math.floor(this.valueOf()/1e3)},Nn.valueOf=function Yo(){return this._d.valueOf()-6e4*(this._offset||0)},Nn.creationData=function Os(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Nn.eraName=function Kl(){var V,he,xe,$e=this.localeData().eras();for(V=0,he=$e.length;Vthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Nn.isLocal=function Vt(){return!!this.isValid()&&!this._isUTC},Nn.isUtcOffset=function gn(){return!!this.isValid()&&this._isUTC},Nn.isUtc=Wn,Nn.isUTC=Wn,Nn.zoneAbbr=function Us(){return this._isUTC?"UTC":""},Nn.zoneName=function Ea(){return this._isUTC?"Coordinated Universal Time":""},Nn.dates=P("dates accessor is deprecated. Use date instead.",Ma),Nn.months=P("months accessor is deprecated. Use month instead",ur),Nn.years=P("years accessor is deprecated. Use year instead",Or),Nn.zone=P("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function ne(V,he){return null!=V?("string"!=typeof V&&(V=-V),this.utcOffset(V,he),this):-this.utcOffset()}),Nn.isDSTShifted=P("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Nt(){if(!c(this._isDSTShifted))return this._isDSTShifted;var he,V={};return k(V,this),(V=Xe(V))._a?(he=V._isUTC?b(V._a):wt(V._a),this._isDSTShifted=this.isValid()&&function Di(V,he,xe){var Mn,$e=Math.min(V.length,he.length),lt=Math.abs(V.length-he.length),Ht=0;for(Mn=0;Mn<$e;Mn++)(xe&&V[Mn]!==he[Mn]||!xe&&_n(V[Mn])!==_n(he[Mn]))&&Ht++;return Ht+lt}(V._a,he.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var be=ee.prototype;function ue(V,he,xe,$e){var lt=zr(),Ht=b().set($e,he);return lt[xe](Ht,V)}function Me(V,he,xe){if(g(V)&&(he=V,V=void 0),V=V||"",null!=he)return ue(V,he,xe,"month");var $e,lt=[];for($e=0;$e<12;$e++)lt[$e]=ue(V,$e,xe,"month");return lt}function Ke(V,he,xe,$e){"boolean"==typeof V?(g(he)&&(xe=he,he=void 0),he=he||""):(xe=he=V,V=!1,g(he)&&(xe=he,he=void 0),he=he||"");var Mn,lt=zr(),Ht=V?lt._week.dow:0,rr=[];if(null!=xe)return ue(he,(xe+Ht)%7,$e,"day");for(Mn=0;Mn<7;Mn++)rr[Mn]=ue(he,(Mn+Ht)%7,$e,"day");return rr}be.calendar=function K(V,he,xe){var $e=this._calendar[V]||this._calendar.sameElse;return L($e)?$e.call(he,xe):$e},be.longDateFormat=function ge(V){var he=this._longDateFormat[V],xe=this._longDateFormat[V.toUpperCase()];return he||!xe?he:(this._longDateFormat[V]=xe.match(re).map(function($e){return"MMMM"===$e||"MM"===$e||"DD"===$e||"dddd"===$e?$e.slice(1):$e}).join(""),this._longDateFormat[V])},be.invalidDate=function it(){return this._invalidDate},be.ordinal=function De(V){return this._ordinal.replace("%d",V)},be.preparse=oe,be.postformat=oe,be.relativeTime=function Ie(V,he,xe,$e){var lt=this._relativeTime[xe];return L(lt)?lt(V,he,xe,$e):lt.replace(/%d/i,V)},be.pastFuture=function bt(V,he){var xe=this._relativeTime[V>0?"future":"past"];return L(xe)?xe(he):xe.replace(/%s/i,he)},be.set=function B(V){var he,xe;for(xe in V)e(V,xe)&&(L(he=V[xe])?this[xe]=he:this["_"+xe]=he);this._config=V,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},be.eras=function fu(V,he){var xe,$e,lt,Ht=this._eras||zr("en")._eras;for(xe=0,$e=Ht.length;xe<$e;++xe)switch("string"==typeof Ht[xe].since&&(lt=o(Ht[xe].since).startOf("day"),Ht[xe].since=lt.valueOf()),typeof Ht[xe].until){case"undefined":Ht[xe].until=1/0;break;case"string":lt=o(Ht[xe].until).startOf("day").valueOf(),Ht[xe].until=lt.valueOf()}return Ht},be.erasParse=function Jo(V,he,xe){var $e,lt,Mn,rr,Kr,Ht=this.eras();for(V=V.toUpperCase(),$e=0,lt=Ht.length;$e=0)return Ht[$e]},be.erasConvertYear=function as(V,he){var xe=V.since<=V.until?1:-1;return void 0===he?o(V.since).year():o(V.since).year()+(he-V.offset)*xe},be.erasAbbrRegex=function Sa(V){return e(this,"_erasAbbrRegex")||zo.call(this),V?this._erasAbbrRegex:this._erasRegex},be.erasNameRegex=function nl(V){return e(this,"_erasNameRegex")||zo.call(this),V?this._erasNameRegex:this._erasRegex},be.erasNarrowRegex=function sa(V){return e(this,"_erasNarrowRegex")||zo.call(this),V?this._erasNarrowRegex:this._erasRegex},be.months=function Qn(V,he){return V?a(this._months)?this._months[V.month()]:this._months[(this._months.isFormat||an).test(he)?"format":"standalone"][V.month()]:a(this._months)?this._months:this._months.standalone},be.monthsShort=function Un(V,he){return V?a(this._monthsShort)?this._monthsShort[V.month()]:this._monthsShort[an.test(he)?"format":"standalone"][V.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},be.monthsParse=function Er(V,he,xe){var $e,lt,Ht;if(this._monthsParseExact)return Tr.call(this,V,he,xe);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),$e=0;$e<12;$e++){if(lt=b([2e3,$e]),xe&&!this._longMonthsParse[$e]&&(this._longMonthsParse[$e]=new RegExp("^"+this.months(lt,"").replace(".","")+"$","i"),this._shortMonthsParse[$e]=new RegExp("^"+this.monthsShort(lt,"").replace(".","")+"$","i")),!xe&&!this._monthsParse[$e]&&(Ht="^"+this.months(lt,"")+"|^"+this.monthsShort(lt,""),this._monthsParse[$e]=new RegExp(Ht.replace(".",""),"i")),xe&&"MMMM"===he&&this._longMonthsParse[$e].test(V))return $e;if(xe&&"MMM"===he&&this._shortMonthsParse[$e].test(V))return $e;if(!xe&&this._monthsParse[$e].test(V))return $e}},be.monthsRegex=function H(V){return this._monthsParseExact?(e(this,"_monthsRegex")||W.call(this),V?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=yn),this._monthsStrictRegex&&V?this._monthsStrictRegex:this._monthsRegex)},be.monthsShortRegex=function on(V){return this._monthsParseExact?(e(this,"_monthsRegex")||W.call(this),V?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=Cn),this._monthsShortStrictRegex&&V?this._monthsShortStrictRegex:this._monthsShortRegex)},be.week=function ht(V){return Te(V,this._week.dow,this._week.doy).week},be.firstDayOfYear=function Kt(){return this._week.doy},be.firstDayOfWeek=function Lt(){return this._week.dow},be.weekdays=function lo(V,he){var xe=a(this._weekdays)?this._weekdays:this._weekdays[V&&!0!==V&&this._weekdays.isFormat.test(he)?"format":"standalone"];return!0===V?Yt(xe,this._week.dow):V?xe[V.day()]:xe},be.weekdaysMin=function _r(V){return!0===V?Yt(this._weekdaysMin,this._week.dow):V?this._weekdaysMin[V.day()]:this._weekdaysMin},be.weekdaysShort=function vi(V){return!0===V?Yt(this._weekdaysShort,this._week.dow):V?this._weekdaysShort[V.day()]:this._weekdaysShort},be.weekdaysParse=function $n(V,he,xe){var $e,lt,Ht;if(this._weekdaysParseExact)return wn.call(this,V,he,xe);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),$e=0;$e<7;$e++){if(lt=b([2e3,1]).day($e),xe&&!this._fullWeekdaysParse[$e]&&(this._fullWeekdaysParse[$e]=new RegExp("^"+this.weekdays(lt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[$e]=new RegExp("^"+this.weekdaysShort(lt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[$e]=new RegExp("^"+this.weekdaysMin(lt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[$e]||(Ht="^"+this.weekdays(lt,"")+"|^"+this.weekdaysShort(lt,"")+"|^"+this.weekdaysMin(lt,""),this._weekdaysParse[$e]=new RegExp(Ht.replace(".",""),"i")),xe&&"dddd"===he&&this._fullWeekdaysParse[$e].test(V))return $e;if(xe&&"ddd"===he&&this._shortWeekdaysParse[$e].test(V))return $e;if(xe&&"dd"===he&&this._minWeekdaysParse[$e].test(V))return $e;if(!xe&&this._weekdaysParse[$e].test(V))return $e}},be.weekdaysRegex=function On(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Nr),this._weekdaysStrictRegex&&V?this._weekdaysStrictRegex:this._weekdaysRegex)},be.weekdaysShortRegex=function ti(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lr),this._weekdaysShortStrictRegex&&V?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},be.weekdaysMinRegex=function Zr(V){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||Xr.call(this),V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ut),this._weekdaysMinStrictRegex&&V?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},be.isPM=function go(V){return"p"===(V+"").toLowerCase().charAt(0)},be.meridiem=function qi(V,he,xe){return V>11?xe?"pm":"PM":xe?"am":"AM"},yi("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(V){var he=V%10;return V+(1===_n(V%100/10)?"th":1===he?"st":2===he?"nd":3===he?"rd":"th")}}),o.lang=P("moment.lang is deprecated. Use moment.locale instead.",yi),o.langData=P("moment.langData is deprecated. Use moment.localeData instead.",zr);var xr=Math.abs;function vo(V,he,xe,$e){var lt=fr(he,xe);return V._milliseconds+=$e*lt._milliseconds,V._days+=$e*lt._days,V._months+=$e*lt._months,V._bubble()}function ha(V){return V<0?Math.floor(V):Math.ceil(V)}function Dr(V){return 4800*V/146097}function Ha(V){return 146097*V/4800}function Ps(V){return function(){return this.as(V)}}var tc=Ps("ms"),vu=Ps("s"),Pg=Ps("m"),yu=Ps("h"),Ay=Ps("d"),Ty=Ps("w"),Py=Ps("M"),ps=Ps("Q"),nc=Ps("y"),Vr=tc;function wa(V){return function(){return this.isValid()?this._data[V]:NaN}}var Bd=wa("milliseconds"),Iy=wa("seconds"),Ig=wa("minutes"),bu=wa("hours"),ll=wa("days"),Ud=wa("months"),Wo=wa("years");var fa=Math.round,cl={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ul(V,he,xe,$e,lt){return lt.relativeTime(he||1,!!xe,V,$e)}var Su=Math.abs;function Da(V){return(V>0)-(V<0)||+V}function Zs(){if(!this.isValid())return this.localeData().invalidDate();var $e,lt,Ht,Mn,Kr,fi,us,Xs,V=Su(this._milliseconds)/1e3,he=Su(this._days),xe=Su(this._months),rr=this.asSeconds();return rr?($e=Xt(V/60),lt=Xt($e/60),V%=60,$e%=60,Ht=Xt(xe/12),xe%=12,Mn=V?V.toFixed(3).replace(/\.?0+$/,""):"",Kr=rr<0?"-":"",fi=Da(this._months)!==Da(rr)?"-":"",us=Da(this._days)!==Da(rr)?"-":"",Xs=Da(this._milliseconds)!==Da(rr)?"-":"",Kr+"P"+(Ht?fi+Ht+"Y":"")+(xe?fi+xe+"M":"")+(he?us+he+"D":"")+(lt||$e||V?"T":"")+(lt?Xs+lt+"H":"")+($e?Xs+$e+"M":"")+(V?Xs+Mn+"S":"")):"P0D"}var Ci=Xo.prototype;return Ci.isValid=function is(){return this._isValid},Ci.abs=function di(){var V=this._data;return this._milliseconds=xr(this._milliseconds),this._days=xr(this._days),this._months=xr(this._months),V.milliseconds=xr(V.milliseconds),V.seconds=xr(V.seconds),V.minutes=xr(V.minutes),V.hours=xr(V.hours),V.months=xr(V.months),V.years=xr(V.years),this},Ci.add=function da(V,he){return vo(this,V,he,1)},Ci.subtract=function Hs(V,he){return vo(this,V,he,-1)},Ci.as=function _u(V){if(!this.isValid())return NaN;var he,xe,$e=this._milliseconds;if("month"===(V=Ut(V))||"quarter"===V||"year"===V)switch(he=this._days+$e/864e5,xe=this._months+Dr(he),V){case"month":return xe;case"quarter":return xe/3;case"year":return xe/12}else switch(he=this._days+Math.round(Ha(this._months)),V){case"week":return he/7+$e/6048e5;case"day":return he+$e/864e5;case"hour":return 24*he+$e/36e5;case"minute":return 1440*he+$e/6e4;case"second":return 86400*he+$e/1e3;case"millisecond":return Math.floor(864e5*he)+$e;default:throw new Error("Unknown unit "+V)}},Ci.asMilliseconds=tc,Ci.asSeconds=vu,Ci.asMinutes=Pg,Ci.asHours=yu,Ci.asDays=Ay,Ci.asWeeks=Ty,Ci.asMonths=Py,Ci.asQuarters=ps,Ci.asYears=nc,Ci.valueOf=Vr,Ci._bubble=function to(){var lt,Ht,Mn,rr,Kr,V=this._milliseconds,he=this._days,xe=this._months,$e=this._data;return V>=0&&he>=0&&xe>=0||V<=0&&he<=0&&xe<=0||(V+=864e5*ha(Ha(xe)+he),he=0,xe=0),$e.milliseconds=V%1e3,lt=Xt(V/1e3),$e.seconds=lt%60,Ht=Xt(lt/60),$e.minutes=Ht%60,Mn=Xt(Ht/60),$e.hours=Mn%24,he+=Xt(Mn/24),xe+=Kr=Xt(Dr(he)),he-=ha(Ha(Kr)),rr=Xt(xe/12),xe%=12,$e.days=he,$e.months=xe,$e.years=rr,this},Ci.clone=function Bi(){return fr(this)},Ci.get=function al(V){return V=Ut(V),this.isValid()?this[V+"s"]():NaN},Ci.milliseconds=Bd,Ci.seconds=Iy,Ci.minutes=Ig,Ci.hours=bu,Ci.days=ll,Ci.weeks=function Hd(){return Xt(this.days()/7)},Ci.months=Ud,Ci.years=Wo,Ci.humanize=function xg(V,he){if(!this.isValid())return this.localeData().invalidDate();var lt,Ht,xe=!1,$e=cl;return"object"==typeof V&&(he=V,V=!1),"boolean"==typeof V&&(xe=V),"object"==typeof he&&($e=Object.assign({},cl,he),null!=he.s&&null==he.ss&&($e.ss=he.s-1)),Ht=function Cu(V,he,xe,$e){var lt=fr(V).abs(),Ht=fa(lt.as("s")),Mn=fa(lt.as("m")),rr=fa(lt.as("h")),Kr=fa(lt.as("d")),fi=fa(lt.as("M")),us=fa(lt.as("w")),Xs=fa(lt.as("y")),ga=Ht<=xe.ss&&["s",Ht]||Ht0,ga[4]=$e,ul.apply(null,ga)}(this,!xe,$e,lt=this.localeData()),xe&&(Ht=lt.pastFuture(+this,Ht)),lt.postformat(Ht)},Ci.toISOString=Zs,Ci.toString=Zs,Ci.toJSON=Zs,Ci.locale=gr,Ci.localeData=$r,Ci.toIsoString=P("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Zs),Ci.lang=yr,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Mt("x",Rt),Mt("X",/[+-]?\d+(\.\d{1,3})?/),qt("X",function(V,he,xe){xe._d=new Date(1e3*parseFloat(V))}),qt("x",function(V,he,xe){xe._d=new Date(_n(V))}),o.version="2.30.1",function d(V){n=V}(wt),o.fn=Nn,o.min=function Mo(){return Wi("isBefore",[].slice.call(arguments,0))},o.max=function Ao(){return Wi("isAfter",[].slice.call(arguments,0))},o.now=function(){return Date.now?Date.now():+new Date},o.utc=b,o.unix=function ec(V){return wt(1e3*V)},o.months=function st(V,he){return Me(V,he,"months")},o.isDate=y,o.locale=yi,o.invalid=M,o.duration=fr,o.isMoment=F,o.weekdays=function cn(V,he,xe){return Ke(V,he,xe,"weekdays")},o.parseZone=function ms(){return wt.apply(null,arguments).parseZone()},o.localeData=zr,o.isDuration=xo,o.monthsShort=function At(V,he){return Me(V,he,"monthsShort")},o.weekdaysMin=function Zn(V,he,xe){return Ke(V,he,xe,"weekdaysMin")},o.defineLocale=Eo,o.updateLocale=function po(V,he){if(null!=he){var xe,$e,lt=ro;null!=Rr[V]&&null!=Rr[V].parentLocale?Rr[V].set($(Rr[V]._config,he)):(null!=($e=wi(V))&&(lt=$e._config),he=$(lt,he),null==$e&&(he.abbr=V),(xe=new ee(he)).parentLocale=Rr[V],Rr[V]=xe),yi(V)}else null!=Rr[V]&&(null!=Rr[V].parentLocale?(Rr[V]=Rr[V].parentLocale,V===yi()&&yi(V)):null!=Rr[V]&&delete Rr[V]);return Rr[V]},o.locales=function bo(){return le(Rr)},o.weekdaysShort=function nn(V,he,xe){return Ke(V,he,xe,"weekdaysShort")},o.normalizeUnits=Ut,o.relativeTimeRounding=function rc(V){return void 0===V?fa:"function"==typeof V&&(fa=V,!0)},o.relativeTimeThreshold=function kg(V,he){return void 0!==cl[V]&&(void 0===he?cl[V]:(cl[V]=he,"s"===V&&(cl.ss=he-1),!0))},o.calendarFormat=function oo(V,he){var xe=V.diff(he,"days",!0);return xe<-6?"sameElse":xe<-1?"lastWeek":xe<0?"lastDay":xe<1?"sameDay":xe<2?"nextDay":xe<7?"nextWeek":"sameElse"},o.prototype=Nn,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()},35584:(module,__unused_webpack_exports,__webpack_require__)=>{var _asyncToGenerator=__webpack_require__(1196).default,i;globalThis,i=()=>(()=>{"use strict";var __webpack_modules__=[,(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.VerbosityLevel=h.Util=h.UnknownErrorException=h.UnexpectedResponseException=h.UNSUPPORTED_FEATURES=h.TextRenderingMode=h.StreamType=h.RenderingIntentFlag=h.PermissionFlag=h.PasswordResponses=h.PasswordException=h.PageActionEventType=h.OPS=h.MissingPDFException=h.LINE_FACTOR=h.LINE_DESCENT_FACTOR=h.InvalidPDFException=h.ImageKind=h.IDENTITY_MATRIX=h.FormatError=h.FontType=h.FeatureTest=h.FONT_IDENTITY_MATRIX=h.DocumentActionEventType=h.CMapCompressionType=h.BaseException=h.AnnotationType=h.AnnotationStateModelType=h.AnnotationReviewState=h.AnnotationReplyType=h.AnnotationMode=h.AnnotationMarkedState=h.AnnotationFlag=h.AnnotationFieldFlag=h.AnnotationEditorType=h.AnnotationEditorPrefix=h.AnnotationEditorParamsType=h.AnnotationBorderStyleType=h.AnnotationActionEventType=h.AbortException=void 0,h.arrayByteLength=De,h.arraysToBytes=function je(Rt){const Dt=Rt.length;if(1===Dt&&Rt[0]instanceof Uint8Array)return Rt[0];let Ot=0;for(let Yn=0;YnDt}),Rt.promise=new Promise(function(Ot,pn){Rt.resolve=function(Vn){Dt=!0,Ot(Vn)},Rt.reject=function(Vn){Dt=!0,pn(Vn)}}),Rt},h.createValidAbsoluteUrl=function Y(Rt,Dt=null,Ot=null){if(!Rt)return null;try{if(Ot&&"string"==typeof Rt){if(Ot.addDefaultProtocol&&Rt.startsWith("www.")){const Vn=Rt.match(/\./g);Vn&&Vn.length>=2&&(Rt=`http://${Rt}`)}if(Ot.tryConvertEncoding)try{Rt=Ce(Rt)}catch{}}const pn=Dt?new URL(Rt,Dt):new URL(Rt);if(function z(Rt){if(!Rt)return!1;switch(Rt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(pn))return pn}catch{}return null},h.escapeString=function Fe(Rt){return Rt.replace(/([()\\\n\r])/g,Dt=>"\n"===Dt?"\\n":"\r"===Dt?"\\r":`\\${Dt}`)},h.getModificationDate=function Bt(Rt=new Date){return[Rt.getUTCFullYear().toString(),(Rt.getUTCMonth()+1).toString().padStart(2,"0"),Rt.getUTCDate().toString().padStart(2,"0"),Rt.getUTCHours().toString().padStart(2,"0"),Rt.getUTCMinutes().toString().padStart(2,"0"),Rt.getUTCSeconds().toString().padStart(2,"0")].join("")},h.getVerbosityLevel=function se(){return ee},h.info=function K(Rt){ee>=I.INFOS&&console.log(`Info: ${Rt}`)},h.isArrayBuffer=function Je(Rt){return"object"==typeof Rt&&null!==Rt&&void 0!==Rt.byteLength},h.isArrayEqual=function vt(Rt,Dt){if(Rt.length!==Dt.length)return!1;for(let Ot=0,pn=Rt.length;Ot>24&255,Rt>>16&255,Rt>>8&255,255&Rt)},h.stringToBytes=et,h.stringToPDFString=function jt(Rt){if(Rt[0]>="\xef"){let Ot;if("\xfe"===Rt[0]&&"\xff"===Rt[1]?Ot="utf-16be":"\xff"===Rt[0]&&"\xfe"===Rt[1]?Ot="utf-16le":"\xef"===Rt[0]&&"\xbb"===Rt[1]&&"\xbf"===Rt[2]&&(Ot="utf-8"),Ot)try{const pn=new TextDecoder(Ot,{fatal:!0}),Vn=et(Rt);return pn.decode(Vn)}catch(pn){Q(`stringToPDFString: "${pn}".`)}}const Dt=[];for(let Ot=0,pn=Rt.length;Ot>8&255),String.fromCharCode(255&Vn))}return Dt.join("")},h.stringToUTF8String=Ce,h.unreachable=re,h.utf8StringToString=function Ge(Rt){return unescape(encodeURIComponent(Rt))},h.warn=Q,i(2),h.IDENTITY_MATRIX=[1,0,0,1,0,0],h.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],h.LINE_FACTOR=1.35,h.LINE_DESCENT_FACTOR=.35,h.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},h.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},h.AnnotationEditorPrefix="pdfjs_internal_editor_",h.AnnotationEditorType={DISABLE:-1,NONE:0,FREETEXT:3,INK:15},h.AnnotationEditorParamsType={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13},h.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},h.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},h.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},h.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},h.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},h.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},h.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},h.AnnotationReplyType={GROUP:"Group",REPLY:"R"},h.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},h.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},h.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},h.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},h.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},h.PageActionEventType={O:"PageOpen",C:"PageClose"},h.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},h.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const I={ERRORS:0,WARNINGS:1,INFOS:5};h.VerbosityLevel=I,h.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},h.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},h.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},h.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let ee=I.WARNINGS;function Q(Rt){ee>=I.WARNINGS&&console.log(`Warning: ${Rt}`)}function re(Rt){throw new Error(Rt)}function q(Rt,Dt,Ot){return Object.defineProperty(Rt,Dt,{value:Ot,enumerable:!0,configurable:!0,writable:!1}),Ot}const de=function(){function Dt(Ot,pn){this.constructor===Dt&&re("Cannot initialize BaseException."),this.message=Ot,this.name=pn}return Dt.prototype=new Error,Dt.constructor=Dt,Dt}();function et(Rt){"string"!=typeof Rt&&re("Invalid argument for stringToBytes");const Dt=Rt.length,Ot=new Uint8Array(Dt);for(let pn=0;pnRt.toString(16).padStart(2,"0"));class bn{static makeHexColor(Dt,Ot,pn){return`#${Sn[Dt]}${Sn[Ot]}${Sn[pn]}`}static scaleMinMax(Dt,Ot){let pn;Dt[0]?(Dt[0]<0&&(pn=Ot[0],Ot[0]=Ot[1],Ot[1]=pn),Ot[0]*=Dt[0],Ot[1]*=Dt[0],Dt[3]<0&&(pn=Ot[2],Ot[2]=Ot[3],Ot[3]=pn),Ot[2]*=Dt[3],Ot[3]*=Dt[3]):(pn=Ot[0],Ot[0]=Ot[2],Ot[2]=pn,pn=Ot[1],Ot[1]=Ot[3],Ot[3]=pn,Dt[1]<0&&(pn=Ot[2],Ot[2]=Ot[3],Ot[3]=pn),Ot[2]*=Dt[1],Ot[3]*=Dt[1],Dt[2]<0&&(pn=Ot[0],Ot[0]=Ot[1],Ot[1]=pn),Ot[0]*=Dt[2],Ot[1]*=Dt[2]),Ot[0]+=Dt[4],Ot[1]+=Dt[4],Ot[2]+=Dt[5],Ot[3]+=Dt[5]}static transform(Dt,Ot){return[Dt[0]*Ot[0]+Dt[2]*Ot[1],Dt[1]*Ot[0]+Dt[3]*Ot[1],Dt[0]*Ot[2]+Dt[2]*Ot[3],Dt[1]*Ot[2]+Dt[3]*Ot[3],Dt[0]*Ot[4]+Dt[2]*Ot[5]+Dt[4],Dt[1]*Ot[4]+Dt[3]*Ot[5]+Dt[5]]}static applyTransform(Dt,Ot){return[Dt[0]*Ot[0]+Dt[1]*Ot[2]+Ot[4],Dt[0]*Ot[1]+Dt[1]*Ot[3]+Ot[5]]}static applyInverseTransform(Dt,Ot){const pn=Ot[0]*Ot[3]-Ot[1]*Ot[2];return[(Dt[0]*Ot[3]-Dt[1]*Ot[2]+Ot[2]*Ot[5]-Ot[4]*Ot[3])/pn,(-Dt[0]*Ot[1]+Dt[1]*Ot[0]+Ot[4]*Ot[1]-Ot[5]*Ot[0])/pn]}static getAxialAlignedBoundingBox(Dt,Ot){const pn=bn.applyTransform(Dt,Ot),Vn=bn.applyTransform(Dt.slice(2,4),Ot),Yn=bn.applyTransform([Dt[0],Dt[3]],Ot),er=bn.applyTransform([Dt[2],Dt[1]],Ot);return[Math.min(pn[0],Vn[0],Yn[0],er[0]),Math.min(pn[1],Vn[1],Yn[1],er[1]),Math.max(pn[0],Vn[0],Yn[0],er[0]),Math.max(pn[1],Vn[1],Yn[1],er[1])]}static inverseTransform(Dt){const Ot=Dt[0]*Dt[3]-Dt[1]*Dt[2];return[Dt[3]/Ot,-Dt[1]/Ot,-Dt[2]/Ot,Dt[0]/Ot,(Dt[2]*Dt[5]-Dt[4]*Dt[3])/Ot,(Dt[4]*Dt[1]-Dt[5]*Dt[0])/Ot]}static apply3dTransform(Dt,Ot){return[Dt[0]*Ot[0]+Dt[1]*Ot[1]+Dt[2]*Ot[2],Dt[3]*Ot[0]+Dt[4]*Ot[1]+Dt[5]*Ot[2],Dt[6]*Ot[0]+Dt[7]*Ot[1]+Dt[8]*Ot[2]]}static singularValueDecompose2dScale(Dt){const Ot=[Dt[0],Dt[2],Dt[1],Dt[3]],pn=Dt[0]*Ot[0]+Dt[1]*Ot[2],er=Dt[2]*Ot[1]+Dt[3]*Ot[3],kn=(pn+er)/2,Mt=Math.sqrt((pn+er)**2-4*(pn*er-(Dt[2]*Ot[0]+Dt[3]*Ot[2])*(Dt[0]*Ot[1]+Dt[1]*Ot[3])))/2,mt=kn-Mt||1;return[Math.sqrt(kn+Mt||1),Math.sqrt(mt)]}static normalizeRect(Dt){const Ot=Dt.slice(0);return Dt[0]>Dt[2]&&(Ot[0]=Dt[2],Ot[2]=Dt[0]),Dt[1]>Dt[3]&&(Ot[1]=Dt[3],Ot[3]=Dt[1]),Ot}static intersect(Dt,Ot){const pn=Math.max(Math.min(Dt[0],Dt[2]),Math.min(Ot[0],Ot[2])),Vn=Math.min(Math.max(Dt[0],Dt[2]),Math.max(Ot[0],Ot[2]));if(pn>Vn)return null;const Yn=Math.max(Math.min(Dt[1],Dt[3]),Math.min(Ot[1],Ot[3])),er=Math.min(Math.max(Dt[1],Dt[3]),Math.max(Ot[1],Ot[3]));return Yn>er?null:[pn,Yn,Vn,er]}static bezierBoundingBox(Dt,Ot,pn,Vn,Yn,er,kn,Mt){const Gt=[],mt=[[],[]];let Et,Xt,_n,En,qt,nr,kr,Br;for(let Jn=0;Jn<2;++Jn)if(0===Jn?(Xt=6*Dt-12*pn+6*Yn,Et=-3*Dt+9*pn-9*Yn+3*kn,_n=3*pn-3*Dt):(Xt=6*Ot-12*Vn+6*er,Et=-3*Ot+9*Vn-9*er+3*Mt,_n=3*Vn-3*Ot),Math.abs(Et)<1e-12){if(Math.abs(Xt)<1e-12)continue;En=-_n/Xt,0{i(3)},(ve,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.isNodeJS=void 0;const i=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);h.isNodeJS=i},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(5),_display_utils=__w_pdfjs_require__(8),_font_loader=__w_pdfjs_require__(11),_canvas=__w_pdfjs_require__(12),_worker_options=__w_pdfjs_require__(15),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(16),_metadata=__w_pdfjs_require__(17),_optional_content_config=__w_pdfjs_require__(18),_transport_stream=__w_pdfjs_require__(19),_xfa_text=__w_pdfjs_require__(20);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:ve,NodeCMapReaderFactory:h,NodeStandardFontDataFactory:i}=__w_pdfjs_require__(21);exports.DefaultCanvasFactory=DefaultCanvasFactory=ve,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=h,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=i}function setPDFNetworkStreamFactory(ve){createPDFNetworkStream=ve}function getDocument(ve){const h=new PDFDocumentLoadingTask;let i;if("string"==typeof ve||ve instanceof URL)i={url:ve};else if((0,_util.isArrayBuffer)(ve))i={data:ve};else if(ve instanceof PDFDataRangeTransport)i={range:ve};else{if("object"!=typeof ve)throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!ve.url&&!ve.data&&!ve.range)throw new Error("Invalid parameter object: need either .data, .range or .url");i=ve}const n=Object.create(null);let o=null,d=null;for(const u in i){const e=i[u];switch(u){case"url":if(typeof window<"u")try{n[u]=new URL(e,window.location).href;continue}catch(l){(0,_util.warn)(`Cannot create valid URL: "${l}".`)}else if("string"==typeof e||e instanceof URL){n[u]=e.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":o=e;continue;case"worker":d=e;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&e instanceof Buffer)n[u]=new Uint8Array(e);else{if(e instanceof Uint8Array)break;if("string"==typeof e)n[u]=(0,_util.stringToBytes)(e);else if("object"!=typeof e||null===e||isNaN(e.length)){if(!(0,_util.isArrayBuffer)(e))throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");n[u]=new Uint8Array(e)}else n[u]=new Uint8Array(e)}continue}n[u]=e}if(n.CMapReaderFactory=n.CMapReaderFactory||DefaultCMapReaderFactory,n.StandardFontDataFactory=n.StandardFontDataFactory||DefaultStandardFontDataFactory,n.ignoreErrors=!0!==n.stopAtErrors,n.fontExtraProperties=!0===n.fontExtraProperties,n.pdfBug=!0===n.pdfBug,n.enableXfa=!0===n.enableXfa,(!Number.isInteger(n.rangeChunkSize)||n.rangeChunkSize<1)&&(n.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),("string"!=typeof n.docBaseUrl||(0,_display_utils.isDataScheme)(n.docBaseUrl))&&(n.docBaseUrl=null),(!Number.isInteger(n.maxImageSize)||n.maxImageSize<-1)&&(n.maxImageSize=-1),"string"!=typeof n.cMapUrl&&(n.cMapUrl=null),"string"!=typeof n.standardFontDataUrl&&(n.standardFontDataUrl=null),"boolean"!=typeof n.useWorkerFetch&&(n.useWorkerFetch=n.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&n.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof n.isEvalSupported&&(n.isEvalSupported=!0),"boolean"!=typeof n.disableFontFace&&(n.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof n.useSystemFonts&&(n.useSystemFonts=!_is_node.isNodeJS&&!n.disableFontFace),("object"!=typeof n.ownerDocument||null===n.ownerDocument)&&(n.ownerDocument=globalThis.document),"boolean"!=typeof n.disableRange&&(n.disableRange=!1),"boolean"!=typeof n.disableStream&&(n.disableStream=!1),"boolean"!=typeof n.disableAutoFetch&&(n.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(n.verbosity),!d){const u={verbosity:n.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};d=u.port?PDFWorker.fromPort(u):new PDFWorker(u),h._worker=d}const a=h.docId;return d.promise.then(function(){if(h.destroyed)throw new Error("Loading aborted");const u=_fetchDocument(d,n,o,a),e=new Promise(function(l){let c;o?c=new _transport_stream.PDFDataTransportStream({length:n.length,initialData:n.initialData,progressiveDone:n.progressiveDone,contentDispositionFilename:n.contentDispositionFilename,disableRange:n.disableRange,disableStream:n.disableStream},o):n.data||(c=createPDFNetworkStream({url:n.url,length:n.length,httpHeaders:n.httpHeaders,withCredentials:n.withCredentials,rangeChunkSize:n.rangeChunkSize,disableRange:n.disableRange,disableStream:n.disableStream})),l(c)});return Promise.all([u,e]).then(function([l,c]){if(h.destroyed)throw new Error("Loading aborted");const g=new _message_handler.MessageHandler(a,l,d.port),y=new WorkerTransport(g,h,c,n);h._transport=y,g.send("Ready",null)})}).catch(h._capability.reject),h}function _fetchDocument(ve,h,i,n){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(function*(ve,h,i,n){if(ve.destroyed)throw new Error("Worker was destroyed");i&&(h.length=i.length,h.initialData=i.initialData,h.progressiveDone=i.progressiveDone,h.contentDispositionFilename=i.contentDispositionFilename);const o=yield ve.messageHandler.sendWithPromise("GetDocRequest",{docId:n,apiVersion:"2.16.105",source:{data:h.data,url:h.url,password:h.password,disableAutoFetch:h.disableAutoFetch,rangeChunkSize:h.rangeChunkSize,length:h.length},maxImageSize:h.maxImageSize,disableFontFace:h.disableFontFace,docBaseUrl:h.docBaseUrl,ignoreErrors:h.ignoreErrors,isEvalSupported:h.isEvalSupported,fontExtraProperties:h.fontExtraProperties,enableXfa:h.enableXfa,useSystemFonts:h.useSystemFonts,cMapUrl:h.useWorkerFetch?h.cMapUrl:null,standardFontDataUrl:h.useWorkerFetch?h.standardFontDataUrl:null});if(h.data&&(h.data=null),ve.destroyed)throw new Error("Worker was destroyed");return o})).apply(this,arguments)}class PDFDocumentLoadingTask{static#e=0;constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.#e++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}destroy(){var h=this;return _asyncToGenerator(function*(){h.destroyed=!0,yield h._transport?.destroy(),h._transport=null,h._worker&&(h._worker.destroy(),h._worker=null)})()}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(h,i,n=!1,o=null){this.length=h,this.initialData=i,this.progressiveDone=n,this.contentDispositionFilename=o,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(h){this._rangeListeners.push(h)}addProgressListener(h){this._progressListeners.push(h)}addProgressiveReadListener(h){this._progressiveReadListeners.push(h)}addProgressiveDoneListener(h){this._progressiveDoneListeners.push(h)}onDataRange(h,i){for(const n of this._rangeListeners)n(h,i)}onDataProgress(h,i){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(h,i)})}onDataProgressiveRead(h){this._readyCapability.promise.then(()=>{for(const i of this._progressiveReadListeners)i(h)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const h of this._progressiveDoneListeners)h()})}transportReady(){this._readyCapability.resolve()}requestDataRange(h,i){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(h,i){var o,n=this;this._pdfInfo=h,this._transport=i,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(o=_asyncToGenerator(function*(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),n.stats||{streamTypes:{},fontTypes:{}}}),function(){return o.apply(this,arguments)})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(h){return this._transport.getPage(h)}getPageIndex(h){return this._transport.getPageIndex(h)}getDestinations(){return this._transport.getDestinations()}getDestination(h){return this._transport.getDestination(h)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(h=!1){return this._transport.startCleanup(h||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(h,i,n,o,d=!1){this._pageIndex=h,this._pageInfo=i,this._ownerDocument=o,this._transport=n,this._stats=d?new _display_utils.StatTimer:null,this._pdfBug=d,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:h,rotation:i=this.rotate,offsetX:n=0,offsetY:o=0,dontFlip:d=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:h,rotation:i,offsetX:n,offsetY:o,dontFlip:d})}getAnnotations({intent:h="display"}={}){const i=this._transport.getRenderingIntent(h);let n=this._annotationPromises.get(i.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,i.renderingIntent),this._annotationPromises.set(i.cacheKey,n),n=n.then(o=>{for(const d of o)void 0!==d.titleObj&&Object.defineProperty(d,"title",{get:()=>((0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),d.titleObj.str)}),void 0!==d.contentsObj&&Object.defineProperty(d,"contents",{get:()=>((0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),d.contentsObj.str)});return o})),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}getXfa(){var h=this;return _asyncToGenerator(function*(){return h._transport._htmlForXfa?.children[h._pageIndex]||null})()}render({canvasContext:h,viewport:i,intent:n="display",annotationMode:o=_util.AnnotationMode.ENABLE,transform:d=null,imageLayer:a=null,canvasFactory:u=null,background:e=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null,pageColors:g=null,printAnnotationStorage:y=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&o===_util.AnnotationMode.ENABLE&&(o=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&o===_util.AnnotationMode.ENABLE&&(o=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const _=this._transport.getRenderingIntent(n,o,y);this.pendingCleanup=!1,l||(l=this._transport.getOptionalContentConfig());let C=this._intentStates.get(_.cacheKey);C||(C=Object.create(null),this._intentStates.set(_.cacheKey,C)),C.streamReaderCancelTimeout&&(clearTimeout(C.streamReaderCancelTimeout),C.streamReaderCancelTimeout=null);const b=u||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),p=!!(_.renderingIntent&_util.RenderingIntentFlag.PRINT);C.displayReadyCapability||(C.displayReadyCapability=(0,_util.createPromiseCapability)(),C.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(_));const f=M=>{C.renderTasks.delete(S),(this.cleanupAfterRender||p)&&(this.pendingCleanup=!0),this._tryCleanup(),M?(S.capability.reject(M),this._abortOperatorList({intentState:C,reason:M instanceof Error?M:new Error(M)})):S.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},S=new InternalRenderTask({callback:f,params:{canvasContext:h,viewport:i,transform:d,imageLayer:a,background:e},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:C.operatorList,pageIndex:this._pageIndex,canvasFactory:b,useRequestAnimationFrame:!p,pdfBug:this._pdfBug,pageColors:g});(C.renderTasks||=new Set).add(S);const v=S.task;return Promise.all([C.displayReadyCapability.promise,l]).then(([M,E])=>{this.pendingCleanup?f():(this._stats&&this._stats.time("Rendering"),S.initializeGraphics({transparency:M,optionalContentConfig:E}),S.operatorListChanged())}).catch(f),v}getOperatorList({intent:h="display",annotationMode:i=_util.AnnotationMode.ENABLE,printAnnotationStorage:n=null}={}){const d=this._transport.getRenderingIntent(h,i,n,!0);let u,a=this._intentStates.get(d.cacheKey);return a||(a=Object.create(null),this._intentStates.set(d.cacheKey,a)),a.opListReadCapability||(u=Object.create(null),u.operatorListChanged=function o(){a.operatorList.lastChunk&&(a.opListReadCapability.resolve(a.operatorList),a.renderTasks.delete(u))},a.opListReadCapability=(0,_util.createPromiseCapability)(),(a.renderTasks||=new Set).add(u),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(d)),a.opListReadCapability.promise}streamTextContent({disableCombineTextItems:h=!1,includeMarkedContent:i=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:!0!==h,includeMarkedContent:!0===i},{highWaterMark:100,size:o=>o.items.length})}getTextContent(h={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>_xfa_text.XfaText.textContent(n));const i=this.streamTextContent(h);return new Promise(function(n,o){const a=i.getReader(),u={items:[],styles:Object.create(null)};!function d(){a.read().then(function({value:e,done:l}){l?n(u):(Object.assign(u.styles,e.styles),u.items.push(...e.items),d())},o)}()})}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const h=[];for(const i of this._intentStates.values())if(this._abortOperatorList({intentState:i,reason:new Error("Page was destroyed."),force:!0}),!i.opListReadCapability)for(const n of i.renderTasks)h.push(n.completed),n.cancel();this.objs.clear();for(const i of this._bitmaps)i.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(h)}cleanup(h=!1){return this.pendingCleanup=!0,this._tryCleanup(h)}_tryCleanup(h=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:i,operatorList:n}of this._intentStates.values())if(i.size>0||!n.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,h&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const i of this._bitmaps)i.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(h,i){const n=this._intentStates.get(i);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(h))}_renderPageChunk(h,i){for(let n=0,o=h.length;n{d.read().then(({value:e,done:l})=>{l?a.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,a),u())},e=>{if(a.streamReader=null,!this._transport.destroyed){if(a.operatorList){a.operatorList.lastChunk=!0;for(const l of a.renderTasks)l.operatorListChanged();this._tryCleanup()}if(a.displayReadyCapability)a.displayReadyCapability.reject(e);else{if(!a.opListReadCapability)throw e;a.opListReadCapability.reject(e)}}})};u()}_abortOperatorList({intentState:h,reason:i,force:n=!1}){if(h.streamReader){if(!n){if(h.renderTasks.size>0)return;if(i instanceof _display_utils.RenderingCancelledException)return void(h.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:h,reason:i,force:!0}),h.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT))}if(h.streamReader.cancel(new _util.AbortException(i.message)).catch(()=>{}),h.streamReader=null,!this._transport.destroyed){for(const[o,d]of this._intentStates)if(d===h){this._intentStates.delete(o);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(h,i){const n={data:structuredClone(h,i)};this._deferred.then(()=>{for(const o of this._listeners)o.call(this,n)})}addEventListener(h,i){this._listeners.push(i)}removeEventListener(h,i){const n=this._listeners.indexOf(i);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(exports.PDFWorkerUtil=PDFWorkerUtil,_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const ve=document?.currentScript?.src;ve&&(PDFWorkerUtil.fallbackWorkerSrc=ve.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(ve,h){let i;try{if(i=new URL(ve),!i.origin||"null"===i.origin)return!1}catch{return!1}const n=new URL(h,i);return i.origin===n.origin},PDFWorkerUtil.createCDNWrapper=function(ve){return URL.createObjectURL(new Blob([`importScripts("${ve}");`]))};class PDFWorker{static#workerPorts=new WeakMap;constructor({name:ve=null,port:h=null,verbosity:i=(0,_util.getVerbosityLevel)()}={}){if(h&&PDFWorker.#workerPorts.has(h))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=ve,this.destroyed=!1,this.verbosity=i,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,h)return PDFWorker.#workerPorts.set(h,this),void this._initializeFromPort(h);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(ve){this._port=ve,this._messageHandler=new _message_handler.MessageHandler("main","worker",ve),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:ve}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,ve)||(ve=PDFWorkerUtil.createCDNWrapper(new URL(ve,window.location).href));const h=new Worker(ve),i=new _message_handler.MessageHandler("main","worker",h),n=()=>{h.removeEventListener("error",o),i.destroy(),h.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=()=>{this._webWorker||n()};h.addEventListener("error",o),i.on("test",a=>{h.removeEventListener("error",o),this.destroyed?n():a?(this._messageHandler=i,this._port=h,this._webWorker=h,this._readyCapability.resolve(),i.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),i.destroy(),h.terminate())}),i.on("ready",a=>{if(h.removeEventListener("error",o),this.destroyed)n();else try{d()}catch{this._setupFakeWorker()}});const d=()=>{const a=new Uint8Array;i.send("test",a,[a.buffer])};return void d()}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(ve=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const h=new LoopbackPort;this._port=h;const i="fake"+PDFWorkerUtil.fakeWorkerId++,n=new _message_handler.MessageHandler(i+"_worker",i,h);ve.setup(n,h);const o=new _message_handler.MessageHandler(i,i+"_worker",h);this._messageHandler=o,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})}).catch(ve=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${ve.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker.#workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(ve){if(!ve?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this.#workerPorts.has(ve.port)?this.#workerPorts.get(ve.port):new PDFWorker(ve)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){var _this4=this;const loader=function(){var _ref2=_asyncToGenerator(function*(){const mainWorkerMessageHandler=_this4._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(_this4.workerSrc);return worker.WorkerMessageHandler}return yield(0,_display_utils.loadScript)(_this4.workerSrc),window.pdfjsWorker.WorkerMessageHandler});return function ve(){return _ref2.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(h,i,n,o){this.messageHandler=h,this.loadingTask=i,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:i.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:o.ownerDocument,styleElement:o.styleElement}),this._params=o,o.useWorkerFetch||(this.CMapReaderFactory=new o.CMapReaderFactory({baseUrl:o.cMapUrl,isCompressed:o.cMapPacked}),this.StandardFontDataFactory=new o.StandardFontDataFactory({baseUrl:o.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(h,i=_util.AnnotationMode.ENABLE,n=null,o=!1){let d=_util.RenderingIntentFlag.DISPLAY,a=null;switch(h){case"any":d=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":d=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${h}`)}switch(i){case _util.AnnotationMode.DISABLE:d+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:d+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:d+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,a=(d&_util.RenderingIntentFlag.PRINT&&n instanceof _annotation_storage.PrintAnnotationStorage?n:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${i}`)}return o&&(d+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:d,cacheKey:`${d}_${_annotation_storage.AnnotationStorage.getHash(a)}`,annotationStorageMap:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const h=[];for(const n of this.#t.values())h.push(n._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const i=this.messageHandler.sendWithPromise("Terminate",null);return h.push(i),Promise.all(h).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:h,loadingTask:i}=this;h.on("GetReader",(n,o)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=d=>{this._lastProgress={loaded:d.loaded,total:d.total}},o.onPull=()=>{this._fullReader.read().then(function({value:d,done:a}){a?o.close():((0,_util.assert)((0,_util.isArrayBuffer)(d),"GetReader - expected an ArrayBuffer."),o.enqueue(new Uint8Array(d),1,[d]))}).catch(d=>{o.error(d)})},o.onCancel=d=>{this._fullReader.cancel(d),o.ready.catch(a=>{if(!this.destroyed)throw a})}}),h.on("ReaderHeadersReady",n=>{const o=(0,_util.createPromiseCapability)(),d=this._fullReader;return d.headersReady.then(()=>{(!d.isStreamingSupported||!d.isRangeSupported)&&(this._lastProgress&&i.onProgress?.(this._lastProgress),d.onProgress=a=>{i.onProgress?.({loaded:a.loaded,total:a.total})}),o.resolve({isStreamingSupported:d.isStreamingSupported,isRangeSupported:d.isRangeSupported,contentLength:d.contentLength})},o.reject),o.promise}),h.on("GetRangeReader",(n,o)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const d=this._networkStream.getRangeReader(n.begin,n.end);d?(o.onPull=()=>{d.read().then(function({value:a,done:u}){u?o.close():((0,_util.assert)((0,_util.isArrayBuffer)(a),"GetRangeReader - expected an ArrayBuffer."),o.enqueue(new Uint8Array(a),1,[a]))}).catch(a=>{o.error(a)})},o.onCancel=a=>{d.cancel(a),o.ready.catch(u=>{if(!this.destroyed)throw u})}):o.close()}),h.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,i._capability.resolve(new PDFDocumentProxy(n,this))}),h.on("DocException",function(n){let o;switch(n.name){case"PasswordException":o=new _util.PasswordException(n.message,n.code);break;case"InvalidPDFException":o=new _util.InvalidPDFException(n.message);break;case"MissingPDFException":o=new _util.MissingPDFException(n.message);break;case"UnexpectedResponseException":o=new _util.UnexpectedResponseException(n.message,n.status);break;case"UnknownErrorException":o=new _util.UnknownErrorException(n.message,n.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}i._capability.reject(o)}),h.on("PasswordRequest",n=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),i.onPassword){const o=d=>{d instanceof Error?this._passwordCapability.reject(d):this._passwordCapability.resolve({password:d})};try{i.onPassword(o,n.code)}catch(d){this._passwordCapability.reject(d)}}else this._passwordCapability.reject(new _util.PasswordException(n.message,n.code));return this._passwordCapability.promise}),h.on("DataLoaded",n=>{i.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),h.on("StartRenderPage",n=>{this.destroyed||this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),h.on("commonobj",([n,o,d])=>{if(!this.destroyed&&!this.commonObjs.has(n))switch(o){case"Font":const a=this._params;if("error"in d){const l=d.error;(0,_util.warn)(`Error during font loading: ${l}`),this.commonObjs.resolve(n,l);break}let u=null;a.pdfBug&&globalThis.FontInspector?.enabled&&(u={registerFont(l,c){globalThis.FontInspector.fontAdded(l,c)}});const e=new _font_loader.FontFaceObject(d,{isEvalSupported:a.isEvalSupported,disableFontFace:a.disableFontFace,ignoreErrors:a.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:u});this.fontLoader.bind(e).catch(l=>h.sendWithPromise("FontFallback",{id:n})).finally(()=>{!a.fontExtraProperties&&e.data&&(e.data=null),this.commonObjs.resolve(n,e)});break;case"FontPath":case"Image":this.commonObjs.resolve(n,d);break;default:throw new Error(`Got unknown common object type ${o}`)}}),h.on("obj",([n,o,d,a])=>{if(this.destroyed)return;const u=this.#t.get(o);if(!u.objs.has(n))switch(d){case"Image":u.objs.resolve(n,a);const e=8e6;if(a){let l;if(a.bitmap){const{bitmap:c,width:g,height:y}=a;l=g*y*4,u._bitmaps.add(c)}else l=a.data?.length||0;l>e&&(u.cleanupAfterRender=!0)}break;case"Pattern":u.objs.resolve(n,a);break;default:throw new Error(`Got unknown object type ${d}`)}}),h.on("DocProgress",n=>{this.destroyed||i.onProgress?.({loaded:n.loaded,total:n.total})}),h.on("DocStats",n=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(n.streamTypes),fontTypes:Object.freeze(n.fontTypes)}))}),h.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),h.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),h.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature({featureId:h}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(h)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(h){if(!Number.isInteger(h)||h<=0||h>this._numPages)return Promise.reject(new Error("Invalid page request."));const i=h-1,n=this.#n.get(i);if(n)return n;const o=this.messageHandler.sendWithPromise("GetPage",{pageIndex:i}).then(d=>{if(this.destroyed)throw new Error("Transport destroyed");const a=new PDFPageProxy(i,d,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(i,a),a});return this.#n.set(i,o),o}getPageIndex(h){return"object"!=typeof h||null===h||!Number.isInteger(h.num)||h.num<0||!Number.isInteger(h.gen)||h.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:h.num,gen:h.gen})}getAnnotations(h,i){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:h,intent:i})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(h){return"string"!=typeof h?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:h})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(h){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:h})}getStructTree(h){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:h})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(h=>new _optional_content_config.OptionalContentConfig(h))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then(h=>({info:h[0],metadata:h[1]?new _metadata.Metadata(h[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}startCleanup(h=!1){var i=this;return _asyncToGenerator(function*(){if(yield i.messageHandler.sendWithPromise("Cleanup",null),!i.destroyed){for(const n of i.#t.values())if(!n.cleanup())throw new Error(`startCleanup: Page ${n.pageNumber} is currently rendering.`);i.commonObjs.clear(),h||i.fontLoader.clear(),i.#r=null,i._getFieldObjectsPromise=null,i._hasJSActionsPromise=null}})()}get loadingParams(){const h=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:h.disableAutoFetch,enableXfa:h.enableXfa})}}class PDFObjects{#e=Object.create(null);#t(h){return this.#e[h]||(this.#e[h]={capability:(0,_util.createPromiseCapability)(),data:null})}get(h,i=null){if(i){const o=this.#t(h);return o.capability.promise.then(()=>i(o.data)),null}const n=this.#e[h];if(!n?.capability.settled)throw new Error(`Requesting object that isn't resolved yet ${h}.`);return n.data}has(h){return this.#e[h]?.capability.settled||!1}resolve(h,i=null){const n=this.#t(h);n.data=i,n.capability.resolve()}clear(){this.#e=Object.create(null)}}class RenderTask{#e=null;constructor(h){this.#e=h,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(){this.#e.cancel()}get separateAnnots(){const{separateAnnots:h}=this.#e.operatorList;if(!h)return!1;const{annotationCanvasMap:i}=this.#e;return h.form||h.canvas&&i?.size>0}}exports.RenderTask=RenderTask;class InternalRenderTask{static#e=new WeakSet;constructor({callback:h,params:i,objs:n,commonObjs:o,annotationCanvasMap:d,operatorList:a,pageIndex:u,canvasFactory:e,useRequestAnimationFrame:l=!1,pdfBug:c=!1,pageColors:g=null}){this.callback=h,this.params=i,this.objs=n,this.commonObjs=o,this.annotationCanvasMap=d,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=u,this.canvasFactory=e,this._pdfBug=c,this.pageColors=g,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=i.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:h=!1,optionalContentConfig:i}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.#e.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.#e.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:o,transform:d,imageLayer:a,background:u}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,a,i,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:d,viewport:o,transparency:h,background:u}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(h=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.#e.delete(this._canvas),this.callback(h||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}_next(){var h=this;return _asyncToGenerator(function*(){h.cancelled||(h.operatorListIdx=h.gfx.executeOperatorList(h.operatorList,h.operatorListIdx,h._continueBound,h.stepper),h.operatorListIdx===h.operatorList.argsArray.length&&(h.running=!1,h.operatorList.lastChunk&&(h.gfx.endDrawing(),h._canvas&&InternalRenderTask.#e.delete(h._canvas),h.callback())))})()}}const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PrintAnnotationStorage=h.AnnotationStorage=void 0;var n=i(1),o=i(6),d=i(10);class a{constructor(){this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(l,c){const g=this._storage.get(l);return void 0===g?c:Object.assign(c,g)}getRawValue(l){return this._storage.get(l)}remove(l){if(this._storage.delete(l),0===this._storage.size&&this.resetModified(),"function"==typeof this.onAnnotationEditor){for(const c of this._storage.values())if(c instanceof o.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(l,c){const g=this._storage.get(l);let y=!1;if(void 0!==g)for(const[_,C]of Object.entries(c))g[_]!==C&&(y=!0,g[_]=C);else y=!0,this._storage.set(l,c);y&&this.#e(),c instanceof o.AnnotationEditor&&"function"==typeof this.onAnnotationEditor&&this.onAnnotationEditor(c.constructor._type)}has(l){return this._storage.has(l)}getAll(){return this._storage.size>0?(0,n.objectFromMap)(this._storage):null}get size(){return this._storage.size}#e(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get print(){return new u(this)}get serializable(){if(0===this._storage.size)return null;const l=new Map;for(const[c,g]of this._storage){const y=g instanceof o.AnnotationEditor?g.serialize():g;y&&l.set(c,y)}return l}static getHash(l){if(!l)return"";const c=new d.MurmurHash3_64;for(const[g,y]of l)c.update(`${g}:${JSON.stringify(y)}`);return c.hexdigest()}}h.AnnotationStorage=a;class u extends a{#e=null;constructor(l){super(),this.#e=structuredClone(l.serializable)}get print(){(0,n.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}h.PrintAnnotationStorage=u},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditor=void 0;var n=i(7),o=i(1);class d{#e=this.focusin.bind(this);#t=this.focusout.bind(this);#n=!1;#r=!1;#o=!1;#c=d._zIndex++;static _colorManager=new n.ColorManager;static _zIndex=1;constructor(u){this.constructor===d&&(0,o.unreachable)("Cannot initialize AnnotationEditor."),this.parent=u.parent,this.id=u.id,this.width=this.height=null,this.pageIndex=u.parent.pageIndex,this.name=u.name,this.div=null;const[e,l]=this.parent.viewportBaseDimensions;this.x=u.x/e,this.y=u.y/l,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,o.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#c}focusin(u){this.#n?this.#n=!1:this.parent.setSelected(this)}focusout(u){!this.isAttachedToDOM||u.relatedTarget?.closest(`#${this.id}`)||(u.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(u){const e=this.parent.div.getBoundingClientRect();this.startX=u.clientX-e.x,this.startY=u.clientY-e.y,u.dataTransfer.setData("text/plain",this.id),u.dataTransfer.effectAllowed="move"}setAt(u,e,l,c){const[g,y]=this.parent.viewportBaseDimensions;[l,c]=this.screenToPageTranslation(l,c),this.x=(u+l)/g,this.y=(e+c)/y,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}translate(u,e){const[l,c]=this.parent.viewportBaseDimensions;[u,e]=this.screenToPageTranslation(u,e),this.x+=u/l,this.y+=e/c,this.div.style.left=100*this.x+"%",this.div.style.top=100*this.y+"%"}screenToPageTranslation(u,e){const{rotation:l}=this.parent.viewport;switch(l){case 90:return[e,-u];case 180:return[-u,-e];case 270:return[-e,u];default:return[u,e]}}setDims(u,e){const[l,c]=this.parent.viewportBaseDimensions;this.div.style.width=100*u/l+"%",this.div.style.height=100*e/c+"%"}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",this.#e),this.div.addEventListener("focusout",this.#t);const[u,e]=this.getInitialTranslation();return this.translate(u,e),(0,n.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(u){const e=n.KeyboardManager.platform.isMac;0!==u.button||u.ctrlKey&&e?u.preventDefault():(u.ctrlKey&&!e||u.shiftKey||u.metaKey&&e?this.parent.toggleSelected(this):this.parent.setSelected(this),this.#n=!0)}getRect(u,e){const[l,c]=this.parent.viewportBaseDimensions,[g,y]=this.parent.pageDimensions,_=g*u/l,C=y*e/c,b=this.x*g,p=this.y*y,f=this.width*g,S=this.height*y;switch(this.rotation){case 0:return[b+_,y-p-C-S,b+_+f,y-p-C];case 90:return[b+C,y-p+_,b+C+S,y-p+_+f];case 180:return[b-_-f,y-p+C,b-_,y-p+C+S];case 270:return[b-C-S,y-p-_-f,b-C,y-p-_];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(u,e){const[l,c,g,y]=u,_=g-l,C=y-c;switch(this.rotation){case 0:return[l,e-y,_,C];case 90:return[l,e-c,C,_];case 180:return[g,e-c,_,C];case 270:return[g,e-y,C,_];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#o=!0}disableEditMode(){this.#o=!1}isInEditMode(){return this.#o}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){this.div?.addEventListener("focusin",this.#e)}serialize(){(0,o.unreachable)("An editor must be serializable")}static deserialize(u,e){const l=new this.prototype.constructor({parent:e,id:e.getNextId()});l.rotation=u.rotation;const[c,g]=e.pageDimensions,[y,_,C,b]=l.getRectInCurrentCoords(u.rect,g);return l.x=y/c,l.y=_/g,l.width=C/c,l.height=b/g,l}remove(){this.div.removeEventListener("focusin",this.#e),this.div.removeEventListener("focusout",this.#t),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){this.div?.classList.add("selectedEditor")}unselect(){this.div?.classList.remove("selectedEditor")}updateParams(u,e){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return this.#r}set isEditing(u){this.#r=u,u?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}h.AnnotationEditor=d},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.KeyboardManager=h.CommandManager=h.ColorManager=h.AnnotationEditorUIManager=void 0,h.bindEvents=function d(_,C,b){for(const p of b)C.addEventListener(p,_[p].bind(_))},h.opacityToHex=function a(_){return Math.round(Math.min(255,Math.max(1,255*_))).toString(16).padStart(2,"0")};var n=i(1),o=i(8);class u{#e=0;getId(){return`${n.AnnotationEditorPrefix}${this.#e++}`}}class e{#e=[];#t=!1;#n;#r=-1;constructor(C=128){this.#n=C}add({cmd:C,undo:b,mustExec:p,type:f=NaN,overwriteIfSameType:S=!1,keepUndo:v=!1}){if(p&&C(),this.#t)return;const M={cmd:C,undo:b,type:f};if(-1===this.#r)return this.#e.length>0&&(this.#e.length=0),this.#r=0,void this.#e.push(M);if(S&&this.#e[this.#r].type===f)return v&&(M.undo=this.#e[this.#r].undo),void(this.#e[this.#r]=M);const E=this.#r+1;E===this.#n?this.#e.splice(0,1):(this.#r=E,Eb.serialize()):this.#e=[C.serialize()],this.#e=this.#e.filter(b=>!!b),0===this.#e.length&&(this.#e=null))}paste(){return this.#e}isEmpty(){return null===this.#e}destroy(){this.#e=null}}class g{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const C=new Map([["CanvasText",null],["Canvas",null]]);return(0,o.getColorValues)(C),(0,n.shadow)(this,"_colors",C)}convert(C){const b=(0,o.getRGB)(C);if(!window.matchMedia("(forced-colors: active)").matches)return b;for(const[p,f]of this._colors)if(f.every((S,v)=>S===b[v]))return g._colorsMapping.get(p);return b}getHexCode(C){const b=this._colors.get(C);return b?n.Util.makeHexColor(...b):C}}h.ColorManager=g;class y{#e=null;#t=new Map;#n=new Map;#r=new c;#o=new e;#c=0;#a=null;#i=null;#h=new u;#u=!1;#l=n.AnnotationEditorType.NONE;#s=new Set;#g=this.keydown.bind(this);#f=this.onEditingAction.bind(this);#v=this.onPageChanging.bind(this);#p={isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1};#_=null;static _keyboardManager=new l([[["ctrl+a","mac+meta+a"],y.prototype.selectAll],[["ctrl+c","mac+meta+c"],y.prototype.copy],[["ctrl+v","mac+meta+v"],y.prototype.paste],[["ctrl+x","mac+meta+x"],y.prototype.cut],[["ctrl+z","mac+meta+z"],y.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],y.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],y.prototype.delete],[["Escape","mac+Escape"],y.prototype.unselectAll]]);constructor(C,b){this.#_=C,this.#i=b,this.#i._on("editingaction",this.#f),this.#i._on("pagechanging",this.#v)}destroy(){this.#b(),this.#i._off("editingaction",this.#f),this.#i._off("pagechanging",this.#v);for(const C of this.#n.values())C.destroy();this.#n.clear(),this.#t.clear(),this.#e=null,this.#s.clear(),this.#r.destroy(),this.#o.destroy()}onPageChanging({pageNumber:C}){this.#c=C-1}focusMainContainer(){this.#_.focus()}#S(){this.#_.addEventListener("keydown",this.#g)}#b(){this.#_.removeEventListener("keydown",this.#g)}keydown(C){this.getActive()?.shouldGetKeyboardEvents()||y._keyboardManager.exec(this,C)}onEditingAction(C){["undo","redo","cut","copy","paste","delete","selectAll"].includes(C.name)&&this[C.name]()}#d(C){Object.entries(C).some(([p,f])=>this.#p[p]!==f)&&this.#i.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#p,C)})}#M(C){this.#i.dispatch("annotationeditorparamschanged",{source:this,details:C})}setEditingState(C){C?(this.#S(),this.#d({isEditing:this.#l!==n.AnnotationEditorType.NONE,isEmpty:this.#y(),hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:this.#o.hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:this.#r.isEmpty()})):(this.#b(),this.#d({isEditing:!1}))}registerEditorTypes(C){this.#a=C;for(const b of this.#a)this.#M(b.defaultPropertiesToUpdate)}getId(){return this.#h.getId()}addLayer(C){this.#n.set(C.pageIndex,C),this.#u?C.enable():C.disable()}removeLayer(C){this.#n.delete(C.pageIndex)}updateMode(C){if(this.#l=C,C===n.AnnotationEditorType.NONE)this.setEditingState(!1),this.#m();else{this.setEditingState(!0),this.#A();for(const b of this.#n.values())b.updateMode(C)}}updateToolbar(C){C!==this.#l&&this.#i.dispatch("switchannotationeditormode",{source:this,mode:C})}updateParams(C,b){for(const p of this.#s)p.updateParams(C,b);for(const p of this.#a)p.updateDefaultParams(C,b)}#A(){if(!this.#u){this.#u=!0;for(const C of this.#n.values())C.enable()}}#m(){if(this.unselectAll(),this.#u){this.#u=!1;for(const C of this.#n.values())C.disable()}}getEditors(C){const b=[];for(const p of this.#t.values())p.pageIndex===C&&b.push(p);return b}getEditor(C){return this.#t.get(C)}addEditor(C){this.#t.set(C.id,C)}removeEditor(C){this.#t.delete(C.id),this.unselect(C)}#E(C){const b=this.#n.get(C.pageIndex);b?b.addOrRebuild(C):this.addEditor(C)}setActiveEditor(C){this.#e!==C&&(this.#e=C,C&&this.#M(C.propertiesToUpdate))}toggleSelected(C){if(this.#s.has(C))return this.#s.delete(C),C.unselect(),void this.#d({hasSelectedEditor:this.hasSelection});this.#s.add(C),C.select(),this.#M(C.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}setSelected(C){for(const b of this.#s)b!==C&&b.unselect();this.#s.clear(),this.#s.add(C),C.select(),this.#M(C.propertiesToUpdate),this.#d({hasSelectedEditor:!0})}isSelected(C){return this.#s.has(C)}unselect(C){C.unselect(),this.#s.delete(C),this.#d({hasSelectedEditor:this.hasSelection})}get hasSelection(){return 0!==this.#s.size}undo(){this.#o.undo(),this.#d({hasSomethingToUndo:this.#o.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#y()})}redo(){this.#o.redo(),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:this.#o.hasSomethingToRedo(),isEmpty:this.#y()})}addCommands(C){this.#o.add(C),this.#d({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#y()})}#y(){if(0===this.#t.size)return!0;if(1===this.#t.size)for(const C of this.#t.values())return C.isEmpty();return!1}delete(){if(this.#e&&this.#e.commitOrRemove(),!this.hasSelection)return;const C=[...this.#s];this.addCommands({cmd:()=>{for(const f of C)f.remove()},undo:()=>{for(const f of C)this.#E(f)},mustExec:!0})}copy(){if(this.#e&&this.#e.commitOrRemove(),this.hasSelection){const C=[];for(const b of this.#s)b.isEmpty()||C.push(b);if(0===C.length)return;this.#r.copy(C),this.#d({hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(this.#r.isEmpty())return;this.unselectAll();const C=this.#n.get(this.#c),b=this.#r.paste().map(S=>C.deserialize(S));this.addCommands({cmd:()=>{for(const S of b)this.#E(S);this.#C(b)},undo:()=>{for(const S of b)S.remove()},mustExec:!0})}#C(C){this.#s.clear();for(const b of C)b.isEmpty()||(this.#s.add(b),b.select());this.#d({hasSelectedEditor:!0})}selectAll(){for(const C of this.#s)C.commit();this.#C(this.#t.values())}unselectAll(){if(this.#e)this.#e.commitOrRemove();else if(0!==this.#C.size){for(const C of this.#s)C.unselect();this.#s.clear(),this.#d({hasSelectedEditor:!1})}}isActive(C){return this.#e===C}getActive(){return this.#e}getMode(){return this.#l}}h.AnnotationEditorUIManager=y},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.StatTimer=h.RenderingCancelledException=h.PixelsPerInch=h.PageViewport=h.PDFDateString=h.DOMStandardFontDataFactory=h.DOMSVGFactory=h.DOMCanvasFactory=h.DOMCMapReaderFactory=h.AnnotationPrefix=void 0,h.deprecated=function k(B){console.log("Deprecated API usage: "+B)},h.getColorValues=function I(B){const $=document.createElement("span");$.style.visibility="hidden",document.body.append($);for(const ee of B.keys()){$.style.color=ee;const le=window.getComputedStyle($).color;B.set(ee,P(le))}$.remove()},h.getCurrentTransform=function j(B){const{a:$,b:ee,c:le,d:se,e:K,f:Q}=B.getTransform();return[$,ee,le,se,K,Q]},h.getCurrentTransformInverse=function L(B){const{a:$,b:ee,c:le,d:se,e:K,f:Q}=B.getTransform().invertSelf();return[$,ee,le,se,K,Q]},h.getFilenameFromUrl=function S(B){const $=B.indexOf("#"),ee=B.indexOf("?"),le=Math.min($>0?$:B.length,ee>0?ee:B.length);return B.substring(B.lastIndexOf("/",le)+1,le)},h.getPdfFilenameFromUrl=function v(B,$="document.pdf"){if("string"!=typeof B)return $;if(p(B))return(0,o.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),$;const le=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,se=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(B);let K=le.exec(se[1])||le.exec(se[2])||le.exec(se[3]);if(K&&(K=K[0],K.includes("%")))try{K=le.exec(decodeURIComponent(K))[0]}catch{}return K||$},h.getRGB=P,h.getXfaPageViewport=function T(B,{scale:$=1,rotation:ee=0}){const{width:le,height:se}=B.attributes.style,K=[0,0,parseInt(le),parseInt(se)];return new C({viewBox:K,scale:$,rotation:ee})},h.isDataScheme=p,h.isPdfFile=function f(B){return"string"==typeof B&&/\.pdf$/i.test(B)},h.isValidFetchUrl=E,h.loadScript=function A(B,$=!1){return new Promise((ee,le)=>{const se=document.createElement("script");se.src=B,se.onload=function(K){$&&se.remove(),ee(K)},se.onerror=function(){le(new Error(`Cannot load script at: ${se.src}`))},(document.head||document.documentElement).append(se)})};var n=i(9),o=i(1);function l(B){return c.apply(this,arguments)}function c(){return(c=_asyncToGenerator(function*(B,$=!1){if(E(B,document.baseURI)){const ee=yield fetch(B);if(!ee.ok)throw new Error(ee.statusText);return $?new Uint8Array(yield ee.arrayBuffer()):(0,o.stringToBytes)(yield ee.text())}return new Promise((ee,le)=>{const se=new XMLHttpRequest;se.open("GET",B,!0),$&&(se.responseType="arraybuffer"),se.onreadystatechange=()=>{if(se.readyState===XMLHttpRequest.DONE){if(200===se.status||0===se.status){let K;if($&&se.response?K=new Uint8Array(se.response):!$&&se.responseText&&(K=(0,o.stringToBytes)(se.responseText)),K)return void ee(K)}le(new Error(se.statusText))}},se.send(null)})})).apply(this,arguments)}h.AnnotationPrefix="pdfjs_internal_id_",h.PixelsPerInch=class u{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF},h.DOMCanvasFactory=class e extends n.BaseCanvasFactory{constructor({ownerDocument:$=globalThis.document}={}){super(),this._document=$}_createCanvas($,ee){const le=this._document.createElement("canvas");return le.width=$,le.height=ee,le}},h.DOMCMapReaderFactory=class g extends n.BaseCMapReaderFactory{_fetchData($,ee){return l($,this.isCompressed).then(le=>({cMapData:le,compressionType:ee}))}},h.DOMStandardFontDataFactory=class y extends n.BaseStandardFontDataFactory{_fetchData($){return l($,!0)}},h.DOMSVGFactory=class _ extends n.BaseSVGFactory{_createSVG($){return document.createElementNS("http://www.w3.org/2000/svg",$)}};class C{constructor({viewBox:$,scale:ee,rotation:le,offsetX:se=0,offsetY:K=0,dontFlip:Q=!1}){this.viewBox=$,this.scale=ee,this.rotation=le,this.offsetX=se,this.offsetY=K;const re=($[2]+$[0])/2,X=($[3]+$[1])/2;let z,Y,q,de,me,Oe,Re,Ae;switch((le%=360)<0&&(le+=360),le){case 180:z=-1,Y=0,q=0,de=1;break;case 90:z=0,Y=1,q=1,de=0;break;case 270:z=0,Y=-1,q=-1,de=0;break;case 0:z=1,Y=0,q=0,de=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}Q&&(q=-q,de=-de),0===z?(me=Math.abs(X-$[1])*ee+se,Oe=Math.abs(re-$[0])*ee+K,Re=Math.abs($[3]-$[1])*ee,Ae=Math.abs($[2]-$[0])*ee):(me=Math.abs(re-$[0])*ee+se,Oe=Math.abs(X-$[1])*ee+K,Re=Math.abs($[2]-$[0])*ee,Ae=Math.abs($[3]-$[1])*ee),this.transform=[z*ee,Y*ee,q*ee,de*ee,me-z*ee*re-q*ee*X,Oe-Y*ee*re-de*ee*X],this.width=Re,this.height=Ae}clone({scale:$=this.scale,rotation:ee=this.rotation,offsetX:le=this.offsetX,offsetY:se=this.offsetY,dontFlip:K=!1}={}){return new C({viewBox:this.viewBox.slice(),scale:$,rotation:ee,offsetX:le,offsetY:se,dontFlip:K})}convertToViewportPoint($,ee){return o.Util.applyTransform([$,ee],this.transform)}convertToViewportRectangle($){const ee=o.Util.applyTransform([$[0],$[1]],this.transform),le=o.Util.applyTransform([$[2],$[3]],this.transform);return[ee[0],ee[1],le[0],le[1]]}convertToPdfPoint($,ee){return o.Util.applyInverseTransform([$,ee],this.transform)}}function p(B){const $=B.length;let ee=0;for(;ee<$&&""===B[ee].trim();)ee++;return"data:"===B.substring(ee,ee+5).toLowerCase()}function E(B,$){try{const{protocol:ee}=$?new URL(B,$):new URL(B);return"http:"===ee||"https:"===ee}catch{return!1}}let N;function P(B){if(B.startsWith("#")){const $=parseInt(B.slice(1),16);return[(16711680&$)>>16,(65280&$)>>8,255&$]}return B.startsWith("rgb(")?B.slice(4,-1).split(",").map($=>parseInt($)):B.startsWith("rgba(")?B.slice(5,-1).split(",").map($=>parseInt($)).slice(0,3):((0,o.warn)(`Not a valid color format: "${B}"`),[0,0,0])}h.PageViewport=C,h.RenderingCancelledException=class b extends o.BaseException{constructor($,ee){super($,"RenderingCancelledException"),this.type=ee}},h.StatTimer=class M{constructor(){this.started=Object.create(null),this.times=[]}time($){$ in this.started&&(0,o.warn)(`Timer is already running for ${$}`),this.started[$]=Date.now()}timeEnd($){$ in this.started||(0,o.warn)(`Timer has not been started for ${$}`),this.times.push({name:$,start:this.started[$],end:Date.now()}),delete this.started[$]}toString(){const $=[];let ee=0;for(const le of this.times){const se=le.name;se.length>ee&&(ee=se.length)}for(const le of this.times){const se=le.end-le.start;$.push(`${le.name.padEnd(ee)} ${se}ms\n`)}return $.join("")}},h.PDFDateString=class F{static toDateObject($){if(!$||"string"!=typeof $)return null;N||(N=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const ee=N.exec($);if(!ee)return null;const le=parseInt(ee[1],10);let se=parseInt(ee[2],10);se=se>=1&&se<=12?se-1:0;let K=parseInt(ee[3],10);K=K>=1&&K<=31?K:1;let Q=parseInt(ee[4],10);Q=Q>=0&&Q<=23?Q:0;let re=parseInt(ee[5],10);re=re>=0&&re<=59?re:0;let X=parseInt(ee[6],10);X=X>=0&&X<=59?X:0;const z=ee[7]||"Z";let Y=parseInt(ee[8],10);Y=Y>=0&&Y<=23?Y:0;let q=parseInt(ee[9],10)||0;return q=q>=0&&q<=59?q:0,"-"===z?(Q+=Y,re+=q):"+"===z&&(Q-=Y,re-=q),new Date(Date.UTC(le,se,K,Q,re,X))}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.BaseStandardFontDataFactory=h.BaseSVGFactory=h.BaseCanvasFactory=h.BaseCMapReaderFactory=void 0;var n=i(1);class o{constructor(){this.constructor===o&&(0,n.unreachable)("Cannot initialize BaseCanvasFactory.")}create(l,c){if(l<=0||c<=0)throw new Error("Invalid canvas size");const g=this._createCanvas(l,c);return{canvas:g,context:g.getContext("2d")}}reset(l,c,g){if(!l.canvas)throw new Error("Canvas is not specified");if(c<=0||g<=0)throw new Error("Invalid canvas size");l.canvas.width=c,l.canvas.height=g}destroy(l){if(!l.canvas)throw new Error("Canvas is not specified");l.canvas.width=0,l.canvas.height=0,l.canvas=null,l.context=null}_createCanvas(l,c){(0,n.unreachable)("Abstract method `_createCanvas` called.")}}h.BaseCanvasFactory=o;class d{constructor({baseUrl:l=null,isCompressed:c=!1}){this.constructor===d&&(0,n.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=l,this.isCompressed=c}fetch({name:l}){var c=this;return _asyncToGenerator(function*(){if(!c.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!l)throw new Error("CMap name must be specified.");const g=c.baseUrl+l+(c.isCompressed?".bcmap":"");return c._fetchData(g,c.isCompressed?n.CMapCompressionType.BINARY:n.CMapCompressionType.NONE).catch(_=>{throw new Error(`Unable to load ${c.isCompressed?"binary ":""}CMap at: ${g}`)})})()}_fetchData(l,c){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseCMapReaderFactory=d;class a{constructor({baseUrl:l=null}){this.constructor===a&&(0,n.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=l}fetch({filename:l}){var c=this;return _asyncToGenerator(function*(){if(!c.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!l)throw new Error("Font filename must be specified.");const g=`${c.baseUrl}${l}`;return c._fetchData(g).catch(y=>{throw new Error(`Unable to load font data at: ${g}`)})})()}_fetchData(l){(0,n.unreachable)("Abstract method `_fetchData` called.")}}h.BaseStandardFontDataFactory=a;class u{constructor(){this.constructor===u&&(0,n.unreachable)("Cannot initialize BaseSVGFactory.")}create(l,c,g=!1){if(l<=0||c<=0)throw new Error("Invalid SVG dimensions");const y=this._createSVG("svg:svg");return y.setAttribute("version","1.1"),g||(y.setAttribute("width",`${l}px`),y.setAttribute("height",`${c}px`)),y.setAttribute("preserveAspectRatio","none"),y.setAttribute("viewBox",`0 0 ${l} ${c}`),y}createElement(l){if("string"!=typeof l)throw new Error("Invalid SVG element type");return this._createSVG(l)}_createSVG(l){(0,n.unreachable)("Abstract method `_createSVG` called.")}}h.BaseSVGFactory=u},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MurmurHash3_64=void 0;var n=i(1);const o=3285377520,d=4294901760,a=65535;h.MurmurHash3_64=class u{constructor(l){this.h1=l?4294967295&l:o,this.h2=l?4294967295&l:o}update(l){let c,g;if("string"==typeof l){c=new Uint8Array(2*l.length),g=0;for(let k=0,N=l.length;k>>8,c[g++]=255&F)}}else{if(!(0,n.isArrayBuffer)(l))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");c=l.slice(),g=c.byteLength}const y=g>>2,_=g-4*y,C=new Uint32Array(c.buffer,0,y);let b=0,p=0,f=this.h1,S=this.h2;const v=3432918353,M=461845907,E=v&a,A=M&a;for(let k=0;k>>17,b=b*M&d|b*A&a,f^=b,f=f<<13|f>>>19,f=5*f+3864292196):(p=C[k],p=p*v&d|p*E&a,p=p<<15|p>>>17,p=p*M&d|p*A&a,S^=p,S=S<<13|S>>>19,S=5*S+3864292196);switch(b=0,_){case 3:b^=c[4*y+2]<<16;case 2:b^=c[4*y+1]<<8;case 1:b^=c[4*y],b=b*v&d|b*E&a,b=b<<15|b>>>17,b=b*M&d|b*A&a,1&y?f^=b:S^=b}this.h1=f,this.h2=S}hexdigest(){let l=this.h1,c=this.h2;l^=c>>>1,l=3981806797*l&d|36045*l&a,c=4283543511*c&d|(2950163797*(c<<16|l>>>16)&d)>>>16,l^=c>>>1,l=444984403*l&d|60499*l&a,c=3301882366*c&d|(3120437893*(c<<16|l>>>16)&d)>>>16,l^=c>>>1;const g=(l>>>0).toString(16),y=(c>>>0).toString(16);return g.padStart(8,"0")+y.padStart(8,"0")}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FontLoader=h.FontFaceObject=void 0;var n=i(1);class o{constructor({docId:e,onUnsupportedFeature:l,ownerDocument:c=globalThis.document,styleElement:g=null}){this.constructor===o&&(0,n.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=l,this._document=c,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let l=this.styleElement;l||(l=this.styleElement=this._document.createElement("style"),l.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(l));const c=l.sheet;c.insertRule(e,c.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}bind(e){var l=this;return _asyncToGenerator(function*(){if(e.attached||e.missingFile)return;if(e.attached=!0,l.isFontLoadingAPISupported){const g=e.createNativeFontFace();if(g){l.addNativeFontFace(g);try{yield g.loaded}catch(y){throw l._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,n.warn)(`Failed to load font '${g.family}': '${y}'.`),e.disableFontFace=!0,y}}return}const c=e.createFontFaceRule();if(c){if(l.insertRule(c),l.isSyncFontLoadingSupported)return;yield new Promise(g=>{const y=l._queueLoadingCallback(g);l._prepareFontLoadEvent([c],[e],y)})}})()}_queueLoadingCallback(e){(0,n.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){return(0,n.shadow)(this,"isFontLoadingAPISupported",!!this._document?.fonts)}get isSyncFontLoadingSupported(){(0,n.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,n.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,l,c){(0,n.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let d;h.FontLoader=d,h.FontLoader=d=class extends o{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return(typeof navigator>"u"||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,n.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const c=this.loadingContext,g={id:"pdfjs-font-loading-"+c.nextRequestId++,done:!1,complete:function l(){for((0,n.assert)(!g.done,"completeRequest() cannot be called twice."),g.done=!0;c.requests.length>0&&c.requests[0].done;){const y=c.requests.shift();setTimeout(y.callback,0)}},callback:e};return c.requests.push(g),g}get _loadTestFont(){return(0,n.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,l,c){function g(j,L){return j.charCodeAt(L)<<24|j.charCodeAt(L+1)<<16|j.charCodeAt(L+2)<<8|255&j.charCodeAt(L+3)}function y(j,L,B,$){return j.substring(0,L)+$+j.substring(L+B)}let _,C;const b=this._document.createElement("canvas");b.width=1,b.height=1;const p=b.getContext("2d");let f=0;const v=`lt${Date.now()}${this.loadTestFontId++}`;let M=this._loadTestFont;M=y(M,976,v.length,v);const k=1482184792;let N=g(M,16);for(_=0,C=v.length-3;_30)return(0,n.warn)("Load test font never loaded."),void L();p.font="30px "+j,p.fillText(".",0,20),p.getImageData(0,0,1,1).data[3]>0?L():setTimeout(S.bind(null,j,L))}(v,()=>{I.remove(),c.complete()})}},h.FontFaceObject=class a{constructor(e,{isEvalSupported:l=!0,disableFontFace:c=!1,ignoreErrors:g=!1,onUnsupportedFeature:y,fontRegistry:_=null}){this.compiledGlyphs=Object.create(null);for(const C in e)this[C]=e[C];this.isEvalSupported=!1!==l,this.disableFontFace=!0===c,this.ignoreErrors=!0===g,this._onUnsupportedFeature=y,this.fontRegistry=_}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const l={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(l.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,l)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,n.bytesToString)(this.data),l=`url(data:${this.mimetype};base64,${btoa(e)});`;let c;if(this.cssFontInfo){let g=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(g+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),c=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${g}src:${l}}`}else c=`@font-face {font-family:"${this.loadedName}";src:${l}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,l),c}getPathGenerator(e,l){if(void 0!==this.compiledGlyphs[l])return this.compiledGlyphs[l];let c;try{c=e.get(this.loadedName+"_path_"+l)}catch(g){if(!this.ignoreErrors)throw g;return this._onUnsupportedFeature({featureId:n.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,n.warn)(`getPathGenerator - ignoring character: "${g}".`),this.compiledGlyphs[l]=function(y,_){}}if(this.isEvalSupported&&n.FeatureTest.isEvalSupported){const g=[];for(const y of c){const _=void 0!==y.args?y.args.join(","):"";g.push("c.",y.cmd,"(",_,");\n")}return this.compiledGlyphs[l]=new Function("c","size",g.join(""))}return this.compiledGlyphs[l]=function(g,y){for(const _ of c)"scale"===_.cmd&&(_.args=[y,-y]),g[_.cmd].apply(g,_.args)}}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.CanvasGraphics=void 0;var n=i(8),o=i(1),d=i(13),a=i(14),u=i(3);const c=4096,_=u.isNodeJS&&typeof Path2D>"u"?-1:1e3,C=16;class p{constructor(K){this.canvasFactory=K,this.cache=Object.create(null)}getCanvas(K,Q,re){let X;return void 0!==this.cache[K]?(X=this.cache[K],this.canvasFactory.reset(X,Q,re)):(X=this.canvasFactory.create(Q,re),this.cache[K]=X),X}delete(K){delete this.cache[K]}clear(){for(const K in this.cache)this.canvasFactory.destroy(this.cache[K]),delete this.cache[K]}}function f(se,K,Q,re,X,z,Y,q,de,me){const[Oe,Re,Ae,ge,Ne,it]=(0,n.getCurrentTransform)(se);if(0===Re&&0===Ae){const je=Math.round(Y*Oe+Ne),bt=Math.round(q*ge+it),Ut=Math.abs(Math.round((Y+de)*Oe+Ne)-je)||1,un=Math.abs(Math.round((q+me)*ge+it)-bt)||1;return se.setTransform(Math.sign(Oe),0,0,Math.sign(ge),je,bt),se.drawImage(K,Q,re,X,z,0,0,Ut,un),se.setTransform(Oe,Re,Ae,ge,Ne,it),[Ut,un]}if(0===Oe&&0===ge){const je=Math.round(q*Ae+Ne),bt=Math.round(Y*Re+it),Ut=Math.abs(Math.round((q+me)*Ae+Ne)-je)||1,un=Math.abs(Math.round((Y+de)*Re+it)-bt)||1;return se.setTransform(0,Math.sign(Re),Math.sign(Ae),0,je,bt),se.drawImage(K,Q,re,X,z,0,0,un,Ut),se.setTransform(Oe,Re,Ae,ge,Ne,it),[un,Ut]}return se.drawImage(K,Q,re,X,z,Y,q,de,me),[Math.hypot(Oe,Re)*de,Math.hypot(Ae,ge)*me]}class v{constructor(K,Q){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=o.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=o.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=o.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,K,Q])}clone(){const K=Object.create(this);return K.clipBox=this.clipBox.slice(),K}setCurrentPoint(K,Q){this.x=K,this.y=Q}updatePathMinMax(K,Q,re){[Q,re]=o.Util.applyTransform([Q,re],K),this.minX=Math.min(this.minX,Q),this.minY=Math.min(this.minY,re),this.maxX=Math.max(this.maxX,Q),this.maxY=Math.max(this.maxY,re)}updateRectMinMax(K,Q){const re=o.Util.applyTransform(Q,K),X=o.Util.applyTransform(Q.slice(2),K);this.minX=Math.min(this.minX,re[0],X[0]),this.minY=Math.min(this.minY,re[1],X[1]),this.maxX=Math.max(this.maxX,re[0],X[0]),this.maxY=Math.max(this.maxY,re[1],X[1])}updateScalingPathMinMax(K,Q){o.Util.scaleMinMax(K,Q),this.minX=Math.min(this.minX,Q[0]),this.maxX=Math.max(this.maxX,Q[1]),this.minY=Math.min(this.minY,Q[2]),this.maxY=Math.max(this.maxY,Q[3])}updateCurvePathMinMax(K,Q,re,X,z,Y,q,de,me,Oe){const Re=o.Util.bezierBoundingBox(Q,re,X,z,Y,q,de,me);if(Oe)return Oe[0]=Math.min(Oe[0],Re[0],Re[2]),Oe[1]=Math.max(Oe[1],Re[0],Re[2]),Oe[2]=Math.min(Oe[2],Re[1],Re[3]),void(Oe[3]=Math.max(Oe[3],Re[1],Re[3]));this.updateRectMinMax(K,Re)}getPathBoundingBox(K=d.PathType.FILL,Q=null){const re=[this.minX,this.minY,this.maxX,this.maxY];if(K===d.PathType.STROKE){Q||(0,o.unreachable)("Stroke bounding box must include transform.");const X=o.Util.singularValueDecompose2dScale(Q),z=X[0]*this.lineWidth/2,Y=X[1]*this.lineWidth/2;re[0]-=z,re[1]-=Y,re[2]+=z,re[3]+=Y}return re}updateClipFromPath(){const K=o.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(K||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(K){this.clipBox=K,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(K=d.PathType.FILL,Q=null){return o.Util.intersect(this.clipBox,this.getPathBoundingBox(K,Q))}}function M(se,K,Q=null){if(typeof ImageData<"u"&&K instanceof ImageData)return void se.putImageData(K,0,0);const re=K.height,X=K.width,z=re%C,Y=(re-z)/C,q=0===z?Y:Y+1,de=se.createImageData(X,C);let Oe,me=0;const Re=K.data,Ae=de.data;let ge,Ne,it,qe,et,De,je,Ie;if(Q)switch(Q.length){case 1:et=Q[0],De=Q[0],je=Q[0],Ie=Q[0];break;case 4:et=Q[0],De=Q[1],je=Q[2],Ie=Q[3]}if(K.kind===o.ImageKind.GRAYSCALE_1BPP){const bt=Re.byteLength,Qe=new Uint32Array(Ae.buffer,0,Ae.byteLength>>2),Ut=Qe.length,sn=X+7>>3;let un=4294967295,Sn=o.FeatureTest.isLittleEndian?4278190080:255;for(Ie&&255===Ie[0]&&0===Ie[255]&&([un,Sn]=[Sn,un]),ge=0;gesn?X:8*bn-7,Fe=-8&jt;let Ee=0,ye=0;for(;kt>=1}for(;Oe=Y&&(it=z,qe=X*it),Oe=0,Ne=qe;Ne--;)Ae[Oe++]=Re[me++],Ae[Oe++]=Re[me++],Ae[Oe++]=Re[me++],Ae[Oe++]=255;if(bt)for(let Qe=0;Qe>8,se[z-2]=se[z-2]*Y+Q*q>>8,se[z-1]=se[z-1]*Y+re*q>>8}}}function F(se,K,Q){const re=se.length;for(let z=3;z>8]>>8:K[X]*z>>16}}function j(se,K){const Q=o.Util.singularValueDecompose2dScale(se);Q[0]=Math.fround(Q[0]),Q[1]=Math.fround(Q[1]);const re=Math.fround((globalThis.devicePixelRatio||1)*n.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==K?K:Q[0]<=re||Q[1]<=re}const L=["butt","round","square"],B=["miter","round","bevel"],$={},ee={};class le{constructor(K,Q,re,X,z,Y,q,de){this.ctx=K,this.current=new v(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=Q,this.objs=re,this.canvasFactory=X,this.imageLayer=z,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=Y,this.cachedCanvases=new p(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=q,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.backgroundColor=de?.background||null,this.foregroundColor=de?.foreground||null,this._cachedScaleForStroking=null,this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(K,Q=null){return"string"==typeof K?K.startsWith("g_")?this.commonObjs.get(K):this.objs.get(K):Q}beginDrawing({transform:K,viewport:Q,transparency:re=!1,background:X=null}){const z=this.ctx.canvas.width,Y=this.ctx.canvas.height,q=X||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const de=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const me=this.backgroundColor=this.ctx.fillStyle;let Oe=!0,Re=q;if(this.ctx.fillStyle=q,Re=this.ctx.fillStyle,Oe="string"==typeof Re&&/^#[0-9A-Fa-f]{6}$/.test(Re),"#000000"===de&&"#ffffff"===me||de===me||!Oe)this.foregroundColor=this.backgroundColor=null;else{const[Ae,ge,Ne]=(0,n.getRGB)(Re),it=et=>(et/=255)<=.03928?et/12.92:((et+.055)/1.055)**2.4,qe=Math.round(.2126*it(Ae)+.7152*it(ge)+.0722*it(Ne));this.selectColor=(et,De,je)=>{const Ie=.2126*it(et)+.7152*it(De)+.0722*it(je);return Math.round(Ie)===qe?me:de}}}if(this.ctx.fillStyle=this.backgroundColor||q,this.ctx.fillRect(0,0,z,Y),this.ctx.restore(),re){const de=this.cachedCanvases.getCanvas("transparent",z,Y);this.compositeCtx=this.ctx,this.transparentCanvas=de.canvas,this.ctx=de.context,this.ctx.save(),this.ctx.transform(...(0,n.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),k(this.ctx,this.foregroundColor),K&&(this.ctx.transform(...K),this.outputScaleX=K[0],this.outputScaleY=K[0]),this.ctx.transform(...Q.transform),this.viewportScale=Q.scale,this.baseTransform=(0,n.getCurrentTransform)(this.ctx),this.imageLayer&&((0,n.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(K,Q,re,X){const z=K.argsArray,Y=K.fnArray;let q=Q||0;const de=z.length;if(de===q)return q;const me=de-q>10&&"function"==typeof re,Oe=me?Date.now()+15:0;let Re=0;const Ae=this.commonObjs,ge=this.objs;let Ne;for(;;){if(void 0!==X&&q===X.nextBreakPoint)return X.breakIt(q,re),q;if(Ne=Y[q],Ne!==o.OPS.dependency)this[Ne].apply(this,z[q]);else for(const it of z[q]){const qe=it.startsWith("g_")?Ae:ge;if(!qe.has(it))return qe.get(it,re),q}if(q++,q===de)return q;if(me&&++Re>10){if(Date.now()>Oe)return re(),q;Re=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const K of this._cachedBitmapsMap.values()){for(const Q of K.values())typeof HTMLCanvasElement<"u"&&Q instanceof HTMLCanvasElement&&(Q.width=Q.height=0);K.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(K,Q){const re=K.width,X=K.height;let Oe,Re,z=Math.max(Math.hypot(Q[0],Q[1]),1),Y=Math.max(Math.hypot(Q[2],Q[3]),1),q=re,de=X,me="prescale1";for(;z>2&&q>1||Y>2&&de>1;){let Ae=q,ge=de;z>2&&q>1&&(Ae=Math.ceil(q/2),z/=q/Ae),Y>2&&de>1&&(ge=Math.ceil(de/2),Y/=de/ge),Oe=this.cachedCanvases.getCanvas(me,Ae,ge),Re=Oe.context,Re.clearRect(0,0,Ae,ge),Re.drawImage(K,0,0,q,de,0,0,Ae,ge),K=Oe.canvas,q=Ae,de=ge,me="prescale1"===me?"prescale2":"prescale1"}return{img:K,paintWidth:q,paintHeight:de}}_createMaskCanvas(K){const Q=this.ctx,{width:re,height:X}=K,z=this.current.fillColor,Y=this.current.patternFill,q=(0,n.getCurrentTransform)(Q);let de,me,Oe,Re;if((K.bitmap||K.data)&&K.count>1){const Ut=K.bitmap||K.data.buffer,sn=q.slice(0,4);me=JSON.stringify(Y?sn:[sn,z]),de=this._cachedBitmapsMap.get(Ut),de||(de=new Map,this._cachedBitmapsMap.set(Ut,de));const un=de.get(me);if(un&&!Y)return{canvas:un,offsetX:Math.round(Math.min(q[0],q[2])+q[4]),offsetY:Math.round(Math.min(q[1],q[3])+q[5])};Oe=un}Oe||(Re=this.cachedCanvases.getCanvas("maskCanvas",re,X),E(Re.context,K));let Ae=o.Util.transform(q,[1/re,0,0,-1/X,0,0]);Ae=o.Util.transform(Ae,[1,0,0,1,0,-X]);const ge=o.Util.applyTransform([0,0],Ae),Ne=o.Util.applyTransform([re,X],Ae),it=o.Util.normalizeRect([ge[0],ge[1],Ne[0],Ne[1]]),qe=Math.round(it[2]-it[0])||1,et=Math.round(it[3]-it[1])||1,De=this.cachedCanvases.getCanvas("fillCanvas",qe,et),je=De.context,Ie=Math.min(ge[0],Ne[0]),bt=Math.min(ge[1],Ne[1]);je.translate(-Ie,-bt),je.transform(...Ae),Oe||(Oe=this._scaleImage(Re.canvas,(0,n.getCurrentTransformInverse)(je)),Oe=Oe.img,de&&Y&&de.set(me,Oe)),je.imageSmoothingEnabled=j((0,n.getCurrentTransform)(je),K.interpolate),f(je,Oe,0,0,Oe.width,Oe.height,0,0,re,X),je.globalCompositeOperation="source-in";const Qe=o.Util.transform((0,n.getCurrentTransformInverse)(je),[1,0,0,1,-Ie,-bt]);return je.fillStyle=Y?z.getPattern(Q,this,Qe,d.PathType.FILL):z,je.fillRect(0,0,re,X),de&&!Y&&(this.cachedCanvases.delete("fillCanvas"),de.set(me,De.canvas)),{canvas:De.canvas,offsetX:Math.round(Ie),offsetY:Math.round(bt)}}setLineWidth(K){K!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=K,this.ctx.lineWidth=K}setLineCap(K){this.ctx.lineCap=L[K]}setLineJoin(K){this.ctx.lineJoin=B[K]}setMiterLimit(K){this.ctx.miterLimit=K}setDash(K,Q){const re=this.ctx;void 0!==re.setLineDash&&(re.setLineDash(K),re.lineDashOffset=Q)}setRenderingIntent(K){}setFlatness(K){}setGState(K){for(let Q=0,re=K.length;Q{se.save=se.__originalSave,se.restore=se.__originalRestore,se.rotate=se.__originalRotate,se.scale=se.__originalScale,se.translate=se.__originalTranslate,se.transform=se.__originalTransform,se.setTransform=se.__originalSetTransform,se.resetTransform=se.__originalResetTransform,se.clip=se.__originalClip,se.moveTo=se.__originalMoveTo,se.lineTo=se.__originalLineTo,se.bezierCurveTo=se.__originalBezierCurveTo,se.rect=se.__originalRect,se.closePath=se.__originalClosePath,se.beginPath=se.__originalBeginPath,delete se._removeMirroring},se.save=function(){K.save(),this.__originalSave()},se.restore=function(){K.restore(),this.__originalRestore()},se.translate=function(re,X){K.translate(re,X),this.__originalTranslate(re,X)},se.scale=function(re,X){K.scale(re,X),this.__originalScale(re,X)},se.transform=function(re,X,z,Y,q,de){K.transform(re,X,z,Y,q,de),this.__originalTransform(re,X,z,Y,q,de)},se.setTransform=function(re,X,z,Y,q,de){K.setTransform(re,X,z,Y,q,de),this.__originalSetTransform(re,X,z,Y,q,de)},se.resetTransform=function(){K.resetTransform(),this.__originalResetTransform()},se.rotate=function(re){K.rotate(re),this.__originalRotate(re)},se.clip=function(re){K.clip(re),this.__originalClip(re)},se.moveTo=function(Q,re){K.moveTo(Q,re),this.__originalMoveTo(Q,re)},se.lineTo=function(Q,re){K.lineTo(Q,re),this.__originalLineTo(Q,re)},se.bezierCurveTo=function(Q,re,X,z,Y,q){K.bezierCurveTo(Q,re,X,z,Y,q),this.__originalBezierCurveTo(Q,re,X,z,Y,q)},se.rect=function(Q,re,X,z){K.rect(Q,re,X,z),this.__originalRect(Q,re,X,z)},se.closePath=function(){K.closePath(),this.__originalClosePath()},se.beginPath=function(){K.beginPath(),this.__originalBeginPath()}}(z,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),A(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(K){this.current.activeSMask&&(K?(K[0]=Math.floor(K[0]),K[1]=Math.floor(K[1]),K[2]=Math.ceil(K[2]),K[3]=Math.ceil(K[3])):K=[0,0,this.ctx.canvas.width,this.ctx.canvas.height],function I(se,K,Q,re){const X=re[0],z=re[1],Y=re[2]-X,q=re[3]-z;0===Y||0===q||(function P(se,K,Q,re,X,z,Y,q,de,me,Oe){const Re=!!z,Ae=Re?z[0]:0,ge=Re?z[1]:0,Ne=Re?z[2]:0;let it;it="Luminosity"===X?T:F;const et=Math.min(re,Math.ceil(1048576/Q));for(let De=0;De100&&(me=100),this.current.fontSizeScale=Q/me,this.ctx.font=`${q} ${Y} ${me}px ${de}`}setTextRenderingMode(K){this.current.textRenderingMode=K}setTextRise(K){this.current.textRise=K}moveText(K,Q){this.current.x=this.current.lineX+=K,this.current.y=this.current.lineY+=Q}setLeadingMoveText(K,Q){this.setLeading(-Q),this.moveText(K,Q)}setTextMatrix(K,Q,re,X,z,Y){this.current.textMatrix=[K,Q,re,X,z,Y],this.current.textMatrixScale=Math.hypot(K,Q),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(K,Q,re,X){const z=this.ctx,Y=this.current,q=Y.font,de=Y.textRenderingMode,me=Y.fontSize/Y.fontSizeScale,Oe=de&o.TextRenderingMode.FILL_STROKE_MASK,Re=!!(de&o.TextRenderingMode.ADD_TO_PATH_FLAG),Ae=Y.patternFill&&!q.missingFile;let ge;(q.disableFontFace||Re||Ae)&&(ge=q.getPathGenerator(this.commonObjs,K)),q.disableFontFace||Ae?(z.save(),z.translate(Q,re),z.beginPath(),ge(z,me),X&&z.setTransform(...X),(Oe===o.TextRenderingMode.FILL||Oe===o.TextRenderingMode.FILL_STROKE)&&z.fill(),(Oe===o.TextRenderingMode.STROKE||Oe===o.TextRenderingMode.FILL_STROKE)&&z.stroke(),z.restore()):((Oe===o.TextRenderingMode.FILL||Oe===o.TextRenderingMode.FILL_STROKE)&&z.fillText(K,Q,re),(Oe===o.TextRenderingMode.STROKE||Oe===o.TextRenderingMode.FILL_STROKE)&&z.strokeText(K,Q,re)),Re&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,n.getCurrentTransform)(z),x:Q,y:re,fontSize:me,addToPath:ge})}get isFontSubpixelAAEnabled(){const{context:K}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);K.scale(1.5,1),K.fillText("I",0,10);const Q=K.getImageData(0,0,10,10).data;let re=!1;for(let X=3;X0&&Q[X]<255){re=!0;break}return(0,o.shadow)(this,"isFontSubpixelAAEnabled",re)}showText(K){const Q=this.current,re=Q.font;if(re.isType3Font)return this.showType3Text(K);const X=Q.fontSize;if(0===X)return;const z=this.ctx,Y=Q.fontSizeScale,q=Q.charSpacing,de=Q.wordSpacing,me=Q.fontDirection,Oe=Q.textHScale*me,Re=K.length,Ae=re.vertical,ge=Ae?1:-1,Ne=re.defaultVMetrics,it=X*Q.fontMatrix[0],qe=Q.textRenderingMode===o.TextRenderingMode.FILL&&!re.disableFontFace&&!Q.patternFill;let et;if(z.save(),z.transform(...Q.textMatrix),z.translate(Q.x,Q.y+Q.textRise),z.scale(Oe,me>0?-1:1),Q.patternFill){z.save();const Qe=Q.fillColor.getPattern(z,this,(0,n.getCurrentTransformInverse)(z),d.PathType.FILL);et=(0,n.getCurrentTransform)(z),z.restore(),z.fillStyle=Qe}let De=Q.lineWidth;const je=Q.textMatrixScale;if(0===je||0===De){const Qe=Q.textRenderingMode&o.TextRenderingMode.FILL_STROKE_MASK;(Qe===o.TextRenderingMode.STROKE||Qe===o.TextRenderingMode.FILL_STROKE)&&(De=this.getSinglePixelWidth())}else De/=je;1!==Y&&(z.scale(Y,Y),De/=Y),z.lineWidth=De;let bt,Ie=0;for(bt=0;bt0){const Ee=1e3*z.measureText(un).width/X*Y;if(jtnew le(Y,this.commonObjs,this.objs,this.canvasFactory)},X)}else Q=this._getPattern(K[1],K[2]);return Q}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(K,Q,re){const X=this.selectColor?.(K,Q,re)||o.Util.makeHexColor(K,Q,re);this.ctx.strokeStyle=X,this.current.strokeColor=X}setFillRGBColor(K,Q,re){const X=this.selectColor?.(K,Q,re)||o.Util.makeHexColor(K,Q,re);this.ctx.fillStyle=X,this.current.fillColor=X,this.current.patternFill=!1}_getPattern(K,Q=null){let re;return this.cachedPatterns.has(K)?re=this.cachedPatterns.get(K):(re=(0,d.getShadingPattern)(this.objs.get(K)),this.cachedPatterns.set(K,re)),Q&&(re.matrix=Q),re}shadingFill(K){if(!this.contentVisible)return;const Q=this.ctx;this.save();const re=this._getPattern(K);Q.fillStyle=re.getPattern(Q,this,(0,n.getCurrentTransformInverse)(Q),d.PathType.SHADING);const X=(0,n.getCurrentTransformInverse)(Q);if(X){const z=Q.canvas,Y=z.width,q=z.height,de=o.Util.applyTransform([0,0],X),me=o.Util.applyTransform([0,q],X),Oe=o.Util.applyTransform([Y,0],X),Re=o.Util.applyTransform([Y,q],X),Ae=Math.min(de[0],me[0],Oe[0],Re[0]),ge=Math.min(de[1],me[1],Oe[1],Re[1]),Ne=Math.max(de[0],me[0],Oe[0],Re[0]),it=Math.max(de[1],me[1],Oe[1],Re[1]);this.ctx.fillRect(Ae,ge,Ne-Ae,it-ge)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,o.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,o.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(K,Q){this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(K)&&6===K.length&&this.transform(...K),this.baseTransform=(0,n.getCurrentTransform)(this.ctx),Q)&&(this.ctx.rect(Q[0],Q[1],Q[2]-Q[0],Q[3]-Q[1]),this.current.updateRectMinMax((0,n.getCurrentTransform)(this.ctx),Q),this.clip(),this.endPath())}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(K){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const Q=this.ctx;K.isolated||(0,o.info)("TODO: Support non-isolated groups."),K.knockout&&(0,o.warn)("Knockout groups not supported.");const re=(0,n.getCurrentTransform)(Q);if(K.matrix&&Q.transform(...K.matrix),!K.bbox)throw new Error("Bounding box is required.");let X=o.Util.getAxialAlignedBoundingBox(K.bbox,(0,n.getCurrentTransform)(Q));X=o.Util.intersect(X,[0,0,Q.canvas.width,Q.canvas.height])||[0,0,0,0];const Y=Math.floor(X[0]),q=Math.floor(X[1]);let de=Math.max(Math.ceil(X[2])-Y,1),me=Math.max(Math.ceil(X[3])-q,1),Oe=1,Re=1;de>c&&(Oe=de/c,de=c),me>c&&(Re=me/c,me=c),this.current.startNewPathAndClipBox([0,0,de,me]);let Ae="groupAt"+this.groupLevel;K.smask&&(Ae+="_smask_"+this.smaskCounter++%2);const ge=this.cachedCanvases.getCanvas(Ae,de,me),Ne=ge.context;Ne.scale(1/Oe,1/Re),Ne.translate(-Y,-q),Ne.transform(...re),K.smask?this.smaskStack.push({canvas:ge.canvas,context:Ne,offsetX:Y,offsetY:q,scaleX:Oe,scaleY:Re,subtype:K.smask.subtype,backdrop:K.smask.backdrop,transferMap:K.smask.transferMap||null,startTransformInverse:null}):(Q.setTransform(1,0,0,1,0,0),Q.translate(Y,q),Q.scale(Oe,Re),Q.save()),A(Q,Ne),this.ctx=Ne,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(Q),this.groupLevel++}endGroup(K){if(!this.contentVisible)return;this.groupLevel--;const Q=this.ctx,re=this.groupStack.pop();if(this.ctx=re,this.ctx.imageSmoothingEnabled=!1,K.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const X=(0,n.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...X);const z=o.Util.getAxialAlignedBoundingBox([0,0,Q.canvas.width,Q.canvas.height],X);this.ctx.drawImage(Q.canvas,0,0),this.ctx.restore(),this.compose(z)}}beginAnnotation(K,Q,re,X,z){if(this.#e(),k(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(Q)&&4===Q.length){const Y=Q[2]-Q[0],q=Q[3]-Q[1];if(z&&this.annotationCanvasMap){(re=re.slice())[4]-=Q[0],re[5]-=Q[1],(Q=Q.slice())[0]=Q[1]=0,Q[2]=Y,Q[3]=q;const[de,me]=o.Util.singularValueDecompose2dScale((0,n.getCurrentTransform)(this.ctx)),{viewportScale:Oe}=this,Re=Math.ceil(Y*this.outputScaleX*Oe),Ae=Math.ceil(q*this.outputScaleY*Oe);this.annotationCanvas=this.canvasFactory.create(Re,Ae);const{canvas:ge,context:Ne}=this.annotationCanvas;this.annotationCanvasMap.set(K,ge),this.annotationCanvas.savedCtx=this.ctx,this.ctx=Ne,this.ctx.setTransform(de,0,0,-me,0,q*me),k(this.ctx,this.foregroundColor)}else k(this.ctx,this.foregroundColor),this.ctx.rect(Q[0],Q[1],Y,q),this.ctx.clip(),this.endPath()}this.current=new v(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...re),this.transform(...X)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(K){if(!this.contentVisible)return;const Q=K.count;(K=this.getObject(K.data,K)).count=Q;const re=this.ctx,X=this.processingType3;if(X&&(void 0===X.compiled&&(X.compiled=function S(se){const{width:K,height:Q}=se;if(K>_||Q>_)return null;const X=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),z=K+1;let q,de,me,Y=new Uint8Array(z*(Q+1));const Oe=K+7&-8;let Re=new Uint8Array(Oe*Q),Ae=0;for(const et of se.data){let De=128;for(;De>0;)Re[Ae++]=et&De?0:255,De>>=1}let ge=0;for(Ae=0,0!==Re[Ae]&&(Y[0]=1,++ge),de=1;de>2)+(Re[Ae+1]?4:0)+(Re[Ae-Oe+1]?8:0),X[et]&&(Y[me+de]=X[et],++ge),Ae++;if(Re[Ae-Oe]!==Re[Ae]&&(Y[me+de]=Re[Ae]?2:4,++ge),ge>1e3)return null}for(Ae=Oe*(Q-1),me=q*z,0!==Re[Ae]&&(Y[me]=8,++ge),de=1;de1e3)return null;const Ne=new Int32Array([0,z,-1,0,-z,0,0,0,1]),it=new Path2D;for(q=0;ge&&q<=Q;q++){let et=q*z;const De=et+K;for(;et>4,Y[et]&=Ie>>2|Ie<<2),it.lineTo(et%z,et/z|0),Y[et]||--ge}while(je!==et);--q}return Re=null,Y=null,function(et){et.save(),et.scale(1/K,-1/Q),et.translate(0,-Q),et.fill(it),et.beginPath(),et.restore()}}(K)),X.compiled))return void X.compiled(re);const z=this._createMaskCanvas(K),Y=z.canvas;re.save(),re.setTransform(1,0,0,1,0,0),re.drawImage(Y,z.offsetX,z.offsetY),re.restore(),this.compose()}paintImageMaskXObjectRepeat(K,Q,re=0,X=0,z,Y){if(!this.contentVisible)return;K=this.getObject(K.data,K);const q=this.ctx;q.save();const de=(0,n.getCurrentTransform)(q);q.transform(Q,re,X,z,0,0);const me=this._createMaskCanvas(K);q.setTransform(1,0,0,1,0,0);for(let Oe=0,Re=Y.length;Oede?q/de:1,X=Y>de?Y/de:1}}this._cachedScaleForStroking=[re,X]}return this._cachedScaleForStroking}rescaleAndStroke(K){const{ctx:Q}=this,{lineWidth:re}=this.current,[X,z]=this.getScaleForStroking();if(Q.lineWidth=re||1,1===X&&1===z)return void Q.stroke();let Y,q,de;K&&(Y=(0,n.getCurrentTransform)(Q),q=Q.getLineDash().slice(),de=Q.lineDashOffset),Q.scale(X,z);const me=Math.max(X,z);Q.setLineDash(Q.getLineDash().map(Oe=>Oe/me)),Q.lineDashOffset/=me,Q.stroke(),K&&(Q.setTransform(...Y),Q.setLineDash(q),Q.lineDashOffset=de)}isContentVisible(){for(let K=this.markedContentStack.length-1;K>=0;K--)if(!this.markedContentStack[K].visible)return!1;return!0}}h.CanvasGraphics=le;for(const se in o.OPS)void 0!==le.prototype[se]&&(le.prototype[o.OPS[se]]=le.prototype[se])},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TilingPattern=h.PathType=void 0,h.getShadingPattern=function C(f){switch(f[0]){case"RadialAxial":return new l(f);case"Mesh":return new y(f);case"Dummy":return new _}throw new Error(`Unknown IR type: ${f[0]}`)};var n=i(1),o=i(8),d=i(3);const a={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function u(f,S){if(!S||d.isNodeJS)return;const v=S[2]-S[0],M=S[3]-S[1],E=new Path2D;E.rect(S[0],S[1],v,M),f.clip(E)}h.PathType=a;class e{constructor(){this.constructor===e&&(0,n.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,n.unreachable)("Abstract method `getPattern` called.")}}class l extends e{constructor(S){super(),this._type=S[1],this._bbox=S[2],this._colorStops=S[3],this._p0=S[4],this._p1=S[5],this._r0=S[6],this._r1=S[7],this.matrix=null}_createGradient(S){let v;"axial"===this._type?v=S.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(v=S.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const M of this._colorStops)v.addColorStop(M[0],M[1]);return v}getPattern(S,v,M,E){let A;if(E===a.STROKE||E===a.FILL){const k=v.current.getClippedPathBoundingBox(E,(0,o.getCurrentTransform)(S))||[0,0,0,0],N=Math.ceil(k[2]-k[0])||1,F=Math.ceil(k[3]-k[1])||1,T=v.cachedCanvases.getCanvas("pattern",N,F,!0),P=T.context;P.clearRect(0,0,P.canvas.width,P.canvas.height),P.beginPath(),P.rect(0,0,P.canvas.width,P.canvas.height),P.translate(-k[0],-k[1]),M=n.Util.transform(M,[1,0,0,1,k[0],k[1]]),P.transform(...v.baseTransform),this.matrix&&P.transform(...this.matrix),u(P,this._bbox),P.fillStyle=this._createGradient(P),P.fill(),A=S.createPattern(T.canvas,"no-repeat");const I=new DOMMatrix(M);try{A.setTransform(I)}catch(j){(0,n.warn)(`RadialAxialShadingPattern.getPattern: "${j?.message}".`)}}else u(S,this._bbox),A=this._createGradient(S);return A}}function c(f,S,v,M,E,A,k,N){const F=S.coords,T=S.colors,P=f.data,I=4*f.width;let j;F[v+1]>F[M+1]&&(j=v,v=M,M=j,j=A,A=k,k=j),F[M+1]>F[E+1]&&(j=M,M=E,E=j,j=k,k=N,N=j),F[v+1]>F[M+1]&&(j=v,v=M,M=j,j=A,A=k,k=j);const L=(F[v]+S.offsetX)*S.scaleX,B=(F[v+1]+S.offsetY)*S.scaleY,$=(F[M]+S.offsetX)*S.scaleX,ee=(F[M+1]+S.offsetY)*S.scaleY,le=(F[E]+S.offsetX)*S.scaleX,se=(F[E+1]+S.offsetY)*S.scaleY;if(B>=se)return;const K=T[A],Q=T[A+1],re=T[A+2],X=T[k],z=T[k+1],Y=T[k+2],q=T[N],de=T[N+1],me=T[N+2],Oe=Math.round(B),Re=Math.round(se);let Ae,ge,Ne,it,qe,et,De,je;for(let Ie=Oe;Ie<=Re;Ie++){if(Iese?1:ee===se?0:(ee-Ie)/(ee-se),Ae=$-($-le)*un,ge=X-(X-q)*un,Ne=z-(z-de)*un,it=Y-(Y-me)*un}let bt;bt=Iese?1:(B-Ie)/(B-se),qe=L-(L-le)*bt,et=K-(K-q)*bt,De=Q-(Q-de)*bt,je=re-(re-me)*bt;const Qe=Math.round(Math.min(Ae,qe)),Ut=Math.round(Math.max(Ae,qe));let sn=I*Ie+4*Qe;for(let un=Qe;un<=Ut;un++)bt=(Ae-un)/(Ae-qe),bt<0?bt=0:bt>1&&(bt=1),P[sn++]=ge-(ge-et)*bt|0,P[sn++]=Ne-(Ne-De)*bt|0,P[sn++]=it-(it-je)*bt|0,P[sn++]=255}}function g(f,S,v){const M=S.coords,E=S.colors;let A,k;switch(S.type){case"lattice":const N=S.verticesPerRow,F=Math.floor(M.length/N)-1,T=N-1;for(A=0;A=E?A=E:M=A/S,{scale:M,size:A}}clipBbox(S,v,M,E,A){S.ctx.rect(v,M,E-v,A-M),S.current.updateRectMinMax((0,o.getCurrentTransform)(S.ctx),[v,M,E,A]),S.clip(),S.endPath()}setFillAndStrokeStyleToContext(S,v,M){const E=S.ctx,A=S.current;switch(v){case 1:const k=this.ctx;E.fillStyle=k.fillStyle,E.strokeStyle=k.strokeStyle,A.fillColor=k.fillStyle,A.strokeColor=k.strokeStyle;break;case 2:const N=n.Util.makeHexColor(M[0],M[1],M[2]);E.fillStyle=N,E.strokeStyle=N,A.fillColor=N,A.strokeColor=N;break;default:throw new n.FormatError(`Unsupported paint type: ${v}`)}}getPattern(S,v,M,E){let A=M;E!==a.SHADING&&(A=n.Util.transform(A,v.baseTransform),this.matrix&&(A=n.Util.transform(A,this.matrix)));const k=this.createPatternCanvas(v);let N=new DOMMatrix(A);N=N.translate(k.offsetX,k.offsetY),N=N.scale(1/k.scaleX,1/k.scaleY);const F=S.createPattern(k.canvas,"repeat");try{F.setTransform(N)}catch(T){(0,n.warn)(`TilingPattern.getPattern: "${T?.message}".`)}return F}}h.TilingPattern=p},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.applyMaskImageData=function o({src:d,srcPos:a=0,dest:u,destPos:e=0,width:l,height:c,inverseDecode:g=!1}){const y=n.FeatureTest.isLittleEndian?4278190080:255,[_,C]=g?[0,y]:[y,0],b=l>>3,p=7&l,f=d.length;u=new Uint32Array(u.buffer);for(let S=0;S{Object.defineProperty(h,"__esModule",{value:!0}),h.GlobalWorkerOptions=void 0;const i=Object.create(null);h.GlobalWorkerOptions=i,i.workerPort=void 0===i.workerPort?null:i.workerPort,i.workerSrc=void 0===i.workerSrc?"":i.workerSrc},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.MessageHandler=void 0;var n=i(1);function a(e){switch(e instanceof Error||"object"==typeof e&&null!==e||(0,n.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new n.AbortException(e.message);case"MissingPDFException":return new n.MissingPDFException(e.message);case"PasswordException":return new n.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new n.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new n.UnknownErrorException(e.message,e.details);default:return new n.UnknownErrorException(e.message,e.toString())}}h.MessageHandler=class u{constructor(l,c,g){this.sourceName=l,this.targetName=c,this.comObj=g,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=y=>{const _=y.data;if(_.targetName!==this.sourceName)return;if(_.stream)return void this._processStreamMessage(_);if(_.callback){const b=_.callbackId,p=this.callbackCapabilities[b];if(!p)throw new Error(`Cannot resolve callback ${b}`);if(delete this.callbackCapabilities[b],1===_.callback)p.resolve(_.data);else{if(2!==_.callback)throw new Error("Unexpected callback case");p.reject(a(_.reason))}return}const C=this.actionHandler[_.action];if(!C)throw new Error(`Unknown action from worker: ${_.action}`);if(_.callbackId){const b=this.sourceName,p=_.sourceName;new Promise(function(f){f(C(_.data))}).then(function(f){g.postMessage({sourceName:b,targetName:p,callback:1,callbackId:_.callbackId,data:f})},function(f){g.postMessage({sourceName:b,targetName:p,callback:2,callbackId:_.callbackId,reason:a(f)})})}else _.streamId?this._createStreamSink(_):C(_.data)},g.addEventListener("message",this._onComObjOnMessage)}on(l,c){const g=this.actionHandler;if(g[l])throw new Error(`There is already an actionName called "${l}"`);g[l]=c}send(l,c,g){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:l,data:c},g)}sendWithPromise(l,c,g){const y=this.callbackId++,_=(0,n.createPromiseCapability)();this.callbackCapabilities[y]=_;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:l,callbackId:y,data:c},g)}catch(C){_.reject(C)}return _.promise}sendWithStream(l,c,g,y){const _=this.streamId++,C=this.sourceName,b=this.targetName,p=this.comObj;return new ReadableStream({start:f=>{const S=(0,n.createPromiseCapability)();return this.streamControllers[_]={controller:f,startCall:S,pullCall:null,cancelCall:null,isClosed:!1},p.postMessage({sourceName:C,targetName:b,action:l,streamId:_,data:c,desiredSize:f.desiredSize},y),S.promise},pull:f=>{const S=(0,n.createPromiseCapability)();return this.streamControllers[_].pullCall=S,p.postMessage({sourceName:C,targetName:b,stream:6,streamId:_,desiredSize:f.desiredSize}),S.promise},cancel:f=>{(0,n.assert)(f instanceof Error,"cancel must have a valid reason");const S=(0,n.createPromiseCapability)();return this.streamControllers[_].cancelCall=S,this.streamControllers[_].isClosed=!0,p.postMessage({sourceName:C,targetName:b,stream:1,streamId:_,reason:a(f)}),S.promise}},g)}_createStreamSink(l){const c=l.streamId,g=this.sourceName,y=l.sourceName,_=this.comObj,C=this,b=this.actionHandler[l.action],p={enqueue(f,S=1,v){if(this.isCancelled)return;const M=this.desiredSize;this.desiredSize-=S,M>0&&this.desiredSize<=0&&(this.sinkCapability=(0,n.createPromiseCapability)(),this.ready=this.sinkCapability.promise),_.postMessage({sourceName:g,targetName:y,stream:4,streamId:c,chunk:f},v)},close(){this.isCancelled||(this.isCancelled=!0,_.postMessage({sourceName:g,targetName:y,stream:3,streamId:c}),delete C.streamSinks[c])},error(f){(0,n.assert)(f instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,_.postMessage({sourceName:g,targetName:y,stream:5,streamId:c,reason:a(f)}))},sinkCapability:(0,n.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:l.desiredSize,ready:null};p.sinkCapability.resolve(),p.ready=p.sinkCapability.promise,this.streamSinks[c]=p,new Promise(function(f){f(b(l.data,p))}).then(function(){_.postMessage({sourceName:g,targetName:y,stream:8,streamId:c,success:!0})},function(f){_.postMessage({sourceName:g,targetName:y,stream:8,streamId:c,reason:a(f)})})}_processStreamMessage(l){const c=l.streamId,g=this.sourceName,y=l.sourceName,_=this.comObj,C=this.streamControllers[c],b=this.streamSinks[c];switch(l.stream){case 8:l.success?C.startCall.resolve():C.startCall.reject(a(l.reason));break;case 7:l.success?C.pullCall.resolve():C.pullCall.reject(a(l.reason));break;case 6:if(!b){_.postMessage({sourceName:g,targetName:y,stream:7,streamId:c,success:!0});break}b.desiredSize<=0&&l.desiredSize>0&&b.sinkCapability.resolve(),b.desiredSize=l.desiredSize,new Promise(function(p){p(b.onPull&&b.onPull())}).then(function(){_.postMessage({sourceName:g,targetName:y,stream:7,streamId:c,success:!0})},function(p){_.postMessage({sourceName:g,targetName:y,stream:7,streamId:c,reason:a(p)})});break;case 4:if((0,n.assert)(C,"enqueue should have stream controller"),C.isClosed)break;C.controller.enqueue(l.chunk);break;case 3:if((0,n.assert)(C,"close should have stream controller"),C.isClosed)break;C.isClosed=!0,C.controller.close(),this._deleteStreamController(C,c);break;case 5:(0,n.assert)(C,"error should have stream controller"),C.controller.error(a(l.reason)),this._deleteStreamController(C,c);break;case 2:l.success?C.cancelCall.resolve():C.cancelCall.reject(a(l.reason)),this._deleteStreamController(C,c);break;case 1:if(!b)break;new Promise(function(p){p(b.onCancel&&b.onCancel(a(l.reason)))}).then(function(){_.postMessage({sourceName:g,targetName:y,stream:2,streamId:c,success:!0})},function(p){_.postMessage({sourceName:g,targetName:y,stream:2,streamId:c,reason:a(p)})}),b.sinkCapability.reject(a(l.reason)),b.isCancelled=!0,delete this.streamSinks[c];break;default:throw new Error("Unexpected stream case")}}_deleteStreamController(l,c){var g=this;return _asyncToGenerator(function*(){yield Promise.allSettled([l.startCall&&l.startCall.promise,l.pullCall&&l.pullCall.promise,l.cancelCall&&l.cancelCall.promise]),delete g.streamControllers[c]})()}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.Metadata=void 0;var n=i(1);h.Metadata=class o{#e;#t;constructor({parsedData:a,rawData:u}){this.#e=a,this.#t=u}getRaw(){return this.#t}get(a){return this.#e.get(a)??null}getAll(){return(0,n.objectFromMap)(this.#e)}has(a){return this.#e.has(a)}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.OptionalContentConfig=void 0;var n=i(1);const o=Symbol("INTERNAL");class d{#e=!0;constructor(e,l){this.name=e,this.intent=l}get visible(){return this.#e}_setVisible(e,l){e!==o&&(0,n.unreachable)("Internal method `_setVisible` called."),this.#e=l}}h.OptionalContentConfig=class a{#e=!0;#t=new Map;#n=null;#r=null;constructor(e){if(this.name=null,this.creator=null,null!==e){this.name=e.name,this.creator=e.creator,this.#r=e.order;for(const l of e.groups)this.#t.set(l.id,new d(l.name,l.intent));if("OFF"===e.baseState)for(const l of this.#t.values())l._setVisible(o,!1);for(const l of e.on)this.#t.get(l)._setVisible(o,!0);for(const l of e.off)this.#t.get(l)._setVisible(o,!1);this.#n=new Map;for(const[l,c]of this.#t)this.#n.set(l,c.visible)}}#o(e){const l=e.length;if(l<2)return!0;const c=e[0];for(let g=1;g0?(0,n.objectFromMap)(this.#t):null}getGroup(e){return this.#t.get(e)||null}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFDataTransportStream=void 0;var n=i(1),o=i(8);h.PDFDataTransportStream=class d{constructor(l,c){(0,n.assert)(c,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=l.progressiveDone||!1,this._contentDispositionFilename=l.contentDispositionFilename||null;const g=l.initialData;if(g?.length>0){const y=new Uint8Array(g).buffer;this._queuedChunks.push(y)}this._pdfDataRangeTransport=c,this._isStreamingSupported=!l.disableStream,this._isRangeSupported=!l.disableRange,this._contentLength=l.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((y,_)=>{this._onReceiveData({begin:y,chunk:_})}),this._pdfDataRangeTransport.addProgressListener((y,_)=>{this._onProgress({loaded:y,total:_})}),this._pdfDataRangeTransport.addProgressiveReadListener(y=>{this._onReceiveData({chunk:y})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(l){const c=new Uint8Array(l.chunk).buffer;if(void 0===l.begin)this._fullRequestReader?this._fullRequestReader._enqueue(c):this._queuedChunks.push(c);else{const g=this._rangeReaders.some(function(y){return y._begin===l.begin&&(y._enqueue(c),!0)});(0,n.assert)(g,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(l){if(void 0===l.total){const c=this._rangeReaders[0];c?.onProgress&&c.onProgress({loaded:l.loaded})}else{const c=this._fullRequestReader;c?.onProgress&&c.onProgress({loaded:l.loaded,total:l.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(l){const c=this._rangeReaders.indexOf(l);c>=0&&this._rangeReaders.splice(c,1)}getFullReader(){(0,n.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const l=this._queuedChunks;return this._queuedChunks=null,new a(this,l,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(l,c){if(c<=this._progressiveDataLength)return null;const g=new u(this,l,c);return this._pdfDataRangeTransport.requestDataRange(l,c),this._rangeReaders.push(g),g}cancelAllRequests(l){this._fullRequestReader&&this._fullRequestReader.cancel(l);for(const c of this._rangeReaders.slice(0))c.cancel(l);this._pdfDataRangeTransport.abort()}};class a{constructor(l,c,g=!1,y=null){this._stream=l,this._done=g||!1,this._filename=(0,o.isPdfFile)(y)?y:null,this._queuedChunks=c||[],this._loaded=0;for(const _ of this._queuedChunks)this._loaded+=_.byteLength;this._requests=[],this._headersReady=Promise.resolve(),l._fullRequestReader=this,this.onProgress=null}_enqueue(l){this._done||(this._requests.length>0?this._requests.shift().resolve({value:l,done:!1}):this._queuedChunks.push(l),this._loaded+=l.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}read(){var l=this;return _asyncToGenerator(function*(){if(l._queuedChunks.length>0)return{value:l._queuedChunks.shift(),done:!1};if(l._done)return{value:void 0,done:!0};const c=(0,n.createPromiseCapability)();return l._requests.push(c),c.promise})()}cancel(l){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class u{constructor(l,c,g){this._stream=l,this._begin=c,this._end=g,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(l){if(!this._done){if(0===this._requests.length)this._queuedChunk=l;else{this._requests.shift().resolve({value:l,done:!1});for(const g of this._requests)g.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}read(){var l=this;return _asyncToGenerator(function*(){if(l._queuedChunk){const g=l._queuedChunk;return l._queuedChunk=null,{value:g,done:!1}}if(l._done)return{value:void 0,done:!0};const c=(0,n.createPromiseCapability)();return l._requests.push(c),c.promise})()}cancel(l){this._done=!0;for(const c of this._requests)c.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(ve,h)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaText=void 0;class i{static textContent(o){const d=[],a={items:d,styles:Object.create(null)};return function u(e){if(!e)return;let l=null;const c=e.name;if("#text"===c)l=e.value;else{if(!i.shouldBuildText(c))return;e?.attributes?.textContent?l=e.attributes.textContent:e.value&&(l=e.value)}if(null!==l&&d.push({str:l}),e.children)for(const g of e.children)u(g)}(o),a}static shouldBuildText(o){return!("textarea"===o||"input"===o||"option"===o||"select"===o)}}h.XfaText=i},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.NodeStandardFontDataFactory=h.NodeCanvasFactory=h.NodeCMapReaderFactory=void 0;var n=i(9);const o=function(e){return new Promise((l,c)=>{__webpack_require__(45344).readFile(e,(y,_)=>{!y&&_?l(new Uint8Array(_)):c(new Error(y))})})};h.NodeCanvasFactory=class d extends n.BaseCanvasFactory{_createCanvas(l,c){return __webpack_require__(22892).createCanvas(l,c)}},h.NodeCMapReaderFactory=class a extends n.BaseCMapReaderFactory{_fetchData(l,c){return o(l).then(g=>({cMapData:g,compressionType:c}))}},h.NodeStandardFontDataFactory=class u extends n.BaseStandardFontDataFactory{_fetchData(l){return o(l)}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationEditorLayer=void 0;var n=i(7),o=i(1),d=i(23),a=i(24);h.AnnotationEditorLayer=(()=>{class e{#e;#t=!1;#n=this.pointerup.bind(this);#r=this.pointerdown.bind(this);#o=new Map;#c=!1;#a=!1;#i;static _initialized=!1;constructor(c){e._initialized||(e._initialized=!0,d.FreeTextEditor.initialize(c.l10n),a.InkEditor.initialize(c.l10n),c.uiManager.registerEditorTypes([d.FreeTextEditor,a.InkEditor])),this.#i=c.uiManager,this.annotationStorage=c.annotationStorage,this.pageIndex=c.pageIndex,this.div=c.div,this.#e=c.accessibilityManager,this.#i.addLayer(this)}updateToolbar(c){this.#i.updateToolbar(c)}updateMode(c=this.#i.getMode()){this.#s(),c===o.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),this.#i.unselectAll()}addInkEditorIfNeeded(c){if(c||this.#i.getMode()===o.AnnotationEditorType.INK){if(!c)for(const y of this.#o.values())if(y.isEmpty())return void y.setInBackground();this.#l({offsetX:0,offsetY:0}).setInBackground()}}setEditingState(c){this.#i.setEditingState(c)}addCommands(c){this.#i.addCommands(c)}enable(){this.div.style.pointerEvents="auto";for(const c of this.#o.values())c.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const c of this.#o.values())c.disableEditing()}setActiveEditor(c){this.#i.getActive()!==c&&this.#i.setActiveEditor(c)}enableClick(){this.div.addEventListener("pointerdown",this.#r),this.div.addEventListener("pointerup",this.#n)}disableClick(){this.div.removeEventListener("pointerdown",this.#r),this.div.removeEventListener("pointerup",this.#n)}attach(c){this.#o.set(c.id,c)}detach(c){this.#o.delete(c.id),this.#e?.removePointerInTextLayer(c.contentDiv)}remove(c){this.#i.removeEditor(c),this.detach(c),this.annotationStorage.remove(c.id),c.div.style.display="none",setTimeout(()=>{c.div.style.display="",c.div.remove(),c.isAttachedToDOM=!1,document.activeElement===document.body&&this.#i.focusMainContainer()},0),this.#a||this.addInkEditorIfNeeded(!1)}#h(c){c.parent!==this&&(this.attach(c),c.pageIndex=this.pageIndex,c.parent?.detach(c),c.parent=this,c.div&&c.isAttachedToDOM&&(c.div.remove(),this.div.append(c.div)))}add(c){if(this.#h(c),this.#i.addEditor(c),this.attach(c),!c.isAttachedToDOM){const g=c.render();this.div.append(g),c.isAttachedToDOM=!0}this.moveEditorInDOM(c),c.onceAdded(),this.addToAnnotationStorage(c)}moveEditorInDOM(c){this.#e?.moveElementInDOM(this.div,c.div,c.contentDiv,!0)}addToAnnotationStorage(c){!c.isEmpty()&&!this.annotationStorage.has(c.id)&&this.annotationStorage.setValue(c.id,c)}addOrRebuild(c){c.needsToBeRebuilt()?c.rebuild():this.add(c)}addANewEditor(c){this.addCommands({cmd:()=>{this.addOrRebuild(c)},undo:()=>{c.remove()},mustExec:!0})}addUndoableEditor(c){this.addCommands({cmd:()=>{this.addOrRebuild(c)},undo:()=>{c.remove()},mustExec:!1})}getNextId(){return this.#i.getId()}#u(c){switch(this.#i.getMode()){case o.AnnotationEditorType.FREETEXT:return new d.FreeTextEditor(c);case o.AnnotationEditorType.INK:return new a.InkEditor(c)}return null}deserialize(c){switch(c.annotationType){case o.AnnotationEditorType.FREETEXT:return d.FreeTextEditor.deserialize(c,this);case o.AnnotationEditorType.INK:return a.InkEditor.deserialize(c,this)}return null}#l(c){const g=this.getNextId(),y=this.#u({parent:this,id:g,x:c.offsetX,y:c.offsetY});return y&&this.add(y),y}setSelected(c){this.#i.setSelected(c)}toggleSelected(c){this.#i.toggleSelected(c)}isSelected(c){return this.#i.isSelected(c)}unselect(c){this.#i.unselect(c)}pointerup(c){if(!(0!==c.button||c.ctrlKey&&n.KeyboardManager.platform.isMac)&&c.target===this.div&&this.#c){if(this.#c=!1,!this.#t)return void(this.#t=!0);this.#l(c)}}pointerdown(c){if(0!==c.button||c.ctrlKey&&n.KeyboardManager.platform.isMac||c.target!==this.div)return;this.#c=!0;const y=this.#i.getActive();this.#t=!y||y.isEmpty()}drop(c){const g=c.dataTransfer.getData("text/plain"),y=this.#i.getEditor(g);if(!y)return;c.preventDefault(),c.dataTransfer.dropEffect="move",this.#h(y);const _=this.div.getBoundingClientRect();y.translate(c.clientX-_.x-y.startX,c.clientY-_.y-y.startY),this.moveEditorInDOM(y),y.div.focus()}dragover(c){c.preventDefault()}destroy(){this.#i.getActive()?.parent===this&&this.#i.setActiveEditor(null);for(const c of this.#o.values())this.#e?.removePointerInTextLayer(c.contentDiv),c.isAttachedToDOM=!1,c.div.remove(),c.parent=null;this.div=null,this.#o.clear(),this.#i.removeLayer(this)}#s(){this.#a=!0;for(const c of this.#o.values())c.isEmpty()&&c.remove();this.#a=!1}render(c){this.viewport=c.viewport,(0,n.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const g of this.#i.getEditors(this.pageIndex))this.add(g);this.updateMode()}update(c){this.viewport=c.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[c,g,y,_]=this.viewport.viewBox;return[y-c,_-g]}get viewportBaseDimensions(){const{width:c,height:g,rotation:y}=this.viewport;return y%180==0?[c,g]:[g,c]}setDimensions(){const{width:c,height:g,rotation:y}=this.viewport,_=y%180!=0,C=Math.floor(c)+"px",b=Math.floor(g)+"px";this.div.style.width=_?b:C,this.div.style.height=_?C:b,this.div.setAttribute("data-main-rotation",y)}}return e})()},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.FreeTextEditor=void 0;var n=i(1),o=i(7),d=i(6);class a extends d.AnnotationEditor{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#n=this.editorDivKeydown.bind(this);#r;#o="";#c=!1;#a;static _freeTextDefaultContent="";static _l10nPromise;static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static _keyboardManager=new o.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],a.prototype.commitOrRemove]]);static _type="freetext";constructor(e){super({...e,name:"freeTextEditor"}),this.#r=e.color||a._defaultColor||d.AnnotationEditor._defaultLineColor,this.#a=e.fontSize||a._defaultFontSize}static initialize(e){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(c=>[c,e.get(c)]));const l=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(l.getPropertyValue("--freetext-padding"))}static updateDefaultParams(e,l){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:a._defaultFontSize=l;break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:a._defaultColor=l}}updateParams(e,l){switch(e){case n.AnnotationEditorParamsType.FREETEXT_SIZE:this.#i(l);break;case n.AnnotationEditorParamsType.FREETEXT_COLOR:this.#h(l)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,a._defaultFontSize],[n.AnnotationEditorParamsType.FREETEXT_COLOR,a._defaultColor||d.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.FREETEXT_SIZE,this.#a],[n.AnnotationEditorParamsType.FREETEXT_COLOR,this.#r]]}#i(e){const l=g=>{this.editorDiv.style.fontSize=`calc(${g}px * var(--scale-factor))`,this.translate(0,-(g-this.#a)*this.parent.scaleFactor),this.#a=g,this.#l()},c=this.#a;this.parent.addCommands({cmd:()=>{l(e)},undo:()=>{l(c)},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#h(e){const l=this.#r;this.parent.addCommands({cmd:()=>{this.#r=e,this.editorDiv.style.color=e},undo:()=>{this.#r=l,this.editorDiv.style.color=l},mustExec:!0,type:n.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}getInitialTranslation(){return[-a._internalPadding*this.parent.scaleFactor,-(a._internalPadding+this.#a)*this.parent.scaleFactor]}rebuild(){super.rebuild(),null!==this.div&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(n.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",this.#n),this.editorDiv.addEventListener("focus",this.#t),this.editorDiv.addEventListener("blur",this.#e))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",this.#n),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.div.focus(),this.isEditing=!1)}focusin(e){super.focusin(e),e.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||""===this.editorDiv.innerText.trim()}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}#u(){const e=this.editorDiv.getElementsByTagName("div");if(0===e.length)return this.editorDiv.innerText;const l=[];for(let c=0,g=e.length;cthis.editorDiv?.setAttribute("aria-label",g)),a._l10nPromise.get("free_text_default_content").then(g=>this.editorDiv?.setAttribute("default-content",g)),this.editorDiv.contentEditable=!0;const{style:c}=this.editorDiv;if(c.fontSize=`calc(${this.#a}px * var(--scale-factor))`,c.color=this.#r,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,o.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[g,y]=this.parent.viewportBaseDimensions;this.setAt(e*g,l*y,this.width*g,this.height*y);for(const _ of this.#o.split("\n")){const C=document.createElement("div");C.append(_?document.createTextNode(_):document.createElement("br")),this.editorDiv.append(C)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(e,l){const c=super.deserialize(e,l);return c.#a=e.fontSize,c.#r=n.Util.makeHexColor(...e.color),c.#o=e.value,c}serialize(){if(this.isEmpty())return null;const e=a._internalPadding*this.parent.scaleFactor,l=this.getRect(e,e),c=d.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:n.AnnotationEditorType.FREETEXT,color:c,fontSize:this.#a,value:this.#o,pageIndex:this.parent.pageIndex,rect:l,rotation:this.rotation}}}h.FreeTextEditor=a},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.InkEditor=void 0,Object.defineProperty(h,"fitCurve",{enumerable:!0,get:function(){return d.fitCurve}});var n=i(1),o=i(6),d=i(25),a=i(7);const u=16;h.InkEditor=(()=>{class l extends o.AnnotationEditor{#e=0;#t=0;#n=0;#r=this.canvasPointermove.bind(this);#o=this.canvasPointerleave.bind(this);#c=this.canvasPointerup.bind(this);#a=this.canvasPointerdown.bind(this);#i=!1;#h=!1;#u=null;#l=null;#s=0;#g=0;#f=null;static _defaultColor=null;static _defaultOpacity=1;static _defaultThickness=1;static _l10nPromise;static _type="ink";constructor(g){super({...g,name:"inkEditor"}),this.color=g.color||null,this.thickness=g.thickness||null,this.opacity=g.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(g){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(y=>[y,g.get(y)]))}static updateDefaultParams(g,y){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:l._defaultThickness=y;break;case n.AnnotationEditorParamsType.INK_COLOR:l._defaultColor=y;break;case n.AnnotationEditorParamsType.INK_OPACITY:l._defaultOpacity=y/100}}updateParams(g,y){switch(g){case n.AnnotationEditorParamsType.INK_THICKNESS:this.#v(y);break;case n.AnnotationEditorParamsType.INK_COLOR:this.#p(y);break;case n.AnnotationEditorParamsType.INK_OPACITY:this.#_(y)}}static get defaultPropertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,l._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,l._defaultColor||o.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*l._defaultOpacity)]]}get propertiesToUpdate(){return[[n.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||l._defaultThickness],[n.AnnotationEditorParamsType.INK_COLOR,this.color||l._defaultColor||o.AnnotationEditor._defaultLineColor],[n.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*(this.opacity??l._defaultOpacity))]]}#v(g){const y=this.thickness;this.parent.addCommands({cmd:()=>{this.thickness=g,this.#D()},undo:()=>{this.thickness=y,this.#D()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}#p(g){const y=this.color;this.parent.addCommands({cmd:()=>{this.color=g,this.#m()},undo:()=>{this.color=y,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}#_(g){g/=100;const y=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=g,this.#m()},undo:()=>{this.opacity=y,this.#m()},mustExec:!0,type:n.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}rebuild(){super.rebuild(),null!==this.div&&(this.canvas||(this.#y(),this.#C()),this.isAttachedToDOM||(this.parent.add(this),this.#w()),this.#D())}remove(){null!==this.canvas&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,this.#l.disconnect(),this.#l=null,super.remove())}enableEditMode(){this.#i||null===this.canvas||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",this.#a),this.canvas.addEventListener("pointerup",this.#c))}disableEditMode(){!this.isInEditMode()||null===this.canvas||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",this.#a),this.canvas.removeEventListener("pointerup",this.#c))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return 0===this.paths.length||1===this.paths.length&&0===this.paths[0].length}#S(){const{width:g,height:y,rotation:_}=this.parent.viewport;switch(_){case 90:return[0,g,g,y];case 180:return[g,y,g,y];case 270:return[y,0,g,y];default:return[0,0,g,y]}}#b(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,a.opacityToHex)(this.opacity)}`}#d(g,y){this.isEditing=!0,this.#h||(this.#h=!0,this.#w(),this.thickness||=l._defaultThickness,this.color||=l._defaultColor||o.AnnotationEditor._defaultLineColor,this.opacity??=l._defaultOpacity),this.currentPath.push([g,y]),this.#u=null,this.#b(),this.ctx.beginPath(),this.ctx.moveTo(g,y),this.#f=()=>{this.#f&&(this.#u&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):this.#m(),this.ctx.lineTo(...this.#u),this.#u=null,this.ctx.stroke()),window.requestAnimationFrame(this.#f))},window.requestAnimationFrame(this.#f)}#M(g,y){const[_,C]=this.currentPath.at(-1);g===_&&y===C||(this.currentPath.push([g,y]),this.#u=[g,y])}#A(g,y){this.ctx.closePath(),this.#f=null,g=Math.min(Math.max(g,0),this.canvas.width),y=Math.min(Math.max(y,0),this.canvas.height);const[_,C]=this.currentPath.at(-1);let b;if((g!==_||y!==C)&&this.currentPath.push([g,y]),1!==this.currentPath.length)b=(0,d.fitCurve)(this.currentPath,30,null);else{const v=[g,y];b=[[v,v.slice(),v.slice(),v]]}const p=l.#k(b);this.currentPath.length=0,this.parent.addCommands({cmd:()=>{this.paths.push(b),this.bezierPath2D.push(p),this.rebuild()},undo:()=>{this.paths.pop(),this.bezierPath2D.pop(),0===this.paths.length?this.remove():(this.canvas||(this.#y(),this.#C()),this.#D())},mustExec:!0})}#m(){if(this.isEmpty())return void this.#T();this.#b();const{canvas:g,ctx:y}=this;y.setTransform(1,0,0,1,0,0),y.clearRect(0,0,g.width,g.height),this.#T();for(const _ of this.bezierPath2D)y.stroke(_)}commit(){this.#i||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),this.#i=!0,this.div.classList.add("disabled"),this.#D(!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(g){super.focusin(g),this.enableEditMode()}canvasPointerdown(g){0!==g.button||!this.isInEditMode()||this.#i||(this.setInForeground(),"mouse"!==g.type&&this.div.focus(),g.stopPropagation(),this.canvas.addEventListener("pointerleave",this.#o),this.canvas.addEventListener("pointermove",this.#r),this.#d(g.offsetX,g.offsetY))}canvasPointermove(g){g.stopPropagation(),this.#M(g.offsetX,g.offsetY)}canvasPointerup(g){0===g.button&&this.isInEditMode()&&0!==this.currentPath.length&&(g.stopPropagation(),this.#E(g),this.setInBackground())}canvasPointerleave(g){this.#E(g),this.setInBackground()}#E(g){this.#A(g.offsetX,g.offsetY),this.canvas.removeEventListener("pointerleave",this.#o),this.canvas.removeEventListener("pointermove",this.#r),this.parent.addToAnnotationStorage(this)}#y(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",l._l10nPromise.get("editor_ink_canvas_aria_label").then(g=>this.canvas?.setAttribute("aria-label",g)),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}#C(){this.#l=new ResizeObserver(g=>{const y=g[0].contentRect;y.width&&y.height&&this.setDimensions(y.width,y.height)}),this.#l.observe(this.div)}render(){if(this.div)return this.div;let g,y;this.width&&(g=this.x,y=this.y),super.render(),l._l10nPromise.get("editor_ink_aria_label").then(f=>this.div?.setAttribute("aria-label",f));const[_,C,b,p]=this.#S();if(this.setAt(_,C,0,0),this.setDims(b,p),this.#y(),this.width){const[f,S]=this.parent.viewportBaseDimensions;this.setAt(g*f,y*S,this.width*f,this.height*S),this.#h=!0,this.#w(),this.setDims(this.width*f,this.height*S),this.#m(),this.#O(),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return this.#C(),this.div}#w(){if(!this.#h)return;const[g,y]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*g),this.canvas.height=Math.ceil(this.height*y),this.#T()}setDimensions(g,y){const _=Math.round(g),C=Math.round(y);if(this.#s===_&&this.#g===C)return;this.#s=_,this.#g=C,this.canvas.style.visibility="hidden",this.#e&&Math.abs(this.#e-g/y)>.01&&(y=Math.ceil(g/this.#e),this.setDims(g,y));const[b,p]=this.parent.viewportBaseDimensions;this.width=g/b,this.height=y/p,this.#i&&this.#I(g,y),this.#w(),this.#m(),this.canvas.style.visibility="visible"}#I(g,y){const _=this.#P(),C=(g-_)/this.#n,b=(y-_)/this.#t;this.scaleFactor=Math.min(C,b)}#T(){const g=this.#P()/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+g,this.translationY*this.scaleFactor+g)}static#k(g){const y=new Path2D;for(let _=0,C=g.length;_=1?(g.minHeight="16px",g.minWidth=`${Math.round(this.#e*u)}px`):(g.minWidth="16px",g.minHeight=`${Math.round(u/this.#e)}px`)}static deserialize(g,y){const _=super.deserialize(g,y);_.thickness=g.thickness,_.color=n.Util.makeHexColor(...g.color),_.opacity=g.opacity;const[C,b]=y.pageDimensions,p=_.width*C,f=_.height*b,S=y.scaleFactor,v=g.thickness/2;_.#e=p/f,_.#i=!0,_.#s=Math.round(p),_.#g=Math.round(f);for(const{bezier:E}of g.paths){const A=[];_.paths.push(A);let k=S*(E[0]-v),N=S*(f-E[1]-v);for(let T=2,P=E.length;T{Object.defineProperty(h,"__esModule",{value:!0}),h.fitCurve=void 0;const n=i(26);h.fitCurve=n},ve=>{function i(C,b,p,f,S){var M,E,A,k,N,F,T,P,I,j,L,B,$;if(2===C.length)return B=y.vectorLen(y.subtract(C[0],C[1]))/3,[M=[C[0],y.addArrays(C[0],y.mulItems(b,B)),y.addArrays(C[1],y.mulItems(p,B)),C[1]]];if(E=function u(C){var p,f,S,b=[];return C.forEach((v,M)=>{p=M?f+y.vectorLen(y.subtract(v,S)):0,b.push(p),f=p,S=v}),b=b.map(v=>v/f)}(C),[M,k,F]=n(C,E,E,b,p,S),0===k||k.9999&&ee<1.0001)break}N=k,T=F}return L=[],(P=y.subtract(C[F-1],C[F+1])).every(ee=>0===ee)&&(P=y.subtract(C[F-1],C[F]),[P[0],P[1]]=[-P[1],P[0]]),I=y.normalize(P),j=y.mulItems(I,-1),(L=L.concat(i(C.slice(0,F+1),b,I,f,S))).concat(i(C.slice(F),j,p,f,S))}function n(C,b,p,f,S,v){var M,E,A;return M=function o(C,b,p,f){var S,v,M,E,A,k,T,P,I,j,L,B,$,ee,le,se=C[0],K=C[C.length-1];for(S=[se,null,null,K],v=y.zeros_Xx2x2(b.length),L=0,B=b.length;LS&&(S=f,v=E);return[S,v]}(C,M,b),v&&v({bez:M,points:C,params:b,maxErr:E,maxPoint:A}),[M,E,A]}function d(C,b,p){return p.map((f,S)=>function a(C,b,p){var f=y.subtract(_.q(C,p),b),S=_.qprime(C,p),v=y.mulMatrix(f,S),M=y.sum(y.squareItems(S))+2*y.mulMatrix(f,_.qprimeprime(C,p));return 0===M?p:p-v/M}(C,b[S],f))}var l=function(C,b){for(var p,f=[0],S=C[0],v=0,M=1;M<=b;M++)p=_.q(C,M/b),v+=y.vectorLen(y.subtract(p,S)),f.push(v),S=p;return f.map(E=>E/v)};function c(C,b,p,f){if(b<0)return 0;if(b>1)return 1;for(var v,E,A,k=1;k<=f;k++)if(b<=p[k]){A=(b-(v=p[k-1]))/(p[k]-v)*(k/f-(E=(k-1)/f))+E;break}return A}function g(C,b){return y.normalize(y.subtract(C,b))}class y{static zeros_Xx2x2(b){for(var p=[];b--;)p.push([0,0]);return p}static mulItems(b,p){return b.map(f=>f*p)}static mulMatrix(b,p){return b.reduce((f,S,v)=>f+S*p[v],0)}static subtract(b,p){return b.map((f,S)=>f-p[S])}static addArrays(b,p){return b.map((f,S)=>f+p[S])}static addItems(b,p){return b.map(f=>f+p)}static sum(b){return b.reduce((p,f)=>p+f)}static dot(b,p){return y.mulMatrix(b,p)}static vectorLen(b){return Math.hypot(...b)}static divItems(b,p){return b.map(f=>f/p)}static squareItems(b){return b.map(p=>p*p)}static normalize(b){return this.divItems(b,this.vectorLen(b))}}class _{static q(b,p){var f=1-p,S=y.mulItems(b[0],f*f*f),v=y.mulItems(b[1],3*f*f*p),M=y.mulItems(b[2],3*f*p*p),E=y.mulItems(b[3],p*p*p);return y.addArrays(y.addArrays(S,v),y.addArrays(M,E))}static qprime(b,p){var f=1-p,S=y.mulItems(y.subtract(b[1],b[0]),3*f*f),v=y.mulItems(y.subtract(b[2],b[1]),6*f*p),M=y.mulItems(y.subtract(b[3],b[2]),3*p*p);return y.addArrays(y.addArrays(S,v),M)}static qprimeprime(b,p){return y.addArrays(y.mulItems(y.addArrays(y.subtract(b[2],y.mulItems(b[1],2)),b[0]),6*(1-p)),y.mulItems(y.addArrays(y.subtract(b[3],y.mulItems(b[2],2)),b[1]),6*p))}}ve.exports=function h(C,b,p){if(!Array.isArray(C))throw new TypeError("First argument should be an array");if(C.forEach(M=>{if(!Array.isArray(M)||M.some(E=>"number"!=typeof E)||M.length!==C[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),(C=C.filter((M,E)=>0===E||!M.every((A,k)=>A===C[E-1][k]))).length<2)return[];const f=C.length,S=g(C[1],C[0]),v=g(C[f-2],C[f-1]);return i(C,S,v,b,p)},ve.exports.fitCubic=i,ve.exports.createTangent=g},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.AnnotationLayer=void 0;var n=i(1),o=i(8),d=i(5),a=i(28),u=i(29);const e=1e3,c=new WeakSet;function g(X){return{width:X[2]-X[0],height:X[3]-X[1]}}class y{static create(z){switch(z.data.annotationType){case n.AnnotationType.LINK:return new C(z);case n.AnnotationType.TEXT:return new b(z);case n.AnnotationType.WIDGET:switch(z.data.fieldType){case"Tx":return new f(z);case"Btn":return z.data.radioButton?new v(z):z.data.checkBox?new S(z):new M(z);case"Ch":return new E(z)}return new p(z);case n.AnnotationType.POPUP:return new A(z);case n.AnnotationType.FREETEXT:return new N(z);case n.AnnotationType.LINE:return new F(z);case n.AnnotationType.SQUARE:return new T(z);case n.AnnotationType.CIRCLE:return new P(z);case n.AnnotationType.POLYLINE:return new I(z);case n.AnnotationType.CARET:return new L(z);case n.AnnotationType.INK:return new B(z);case n.AnnotationType.POLYGON:return new j(z);case n.AnnotationType.HIGHLIGHT:return new $(z);case n.AnnotationType.UNDERLINE:return new ee(z);case n.AnnotationType.SQUIGGLY:return new le(z);case n.AnnotationType.STRIKEOUT:return new se(z);case n.AnnotationType.STAMP:return new K(z);case n.AnnotationType.FILEATTACHMENT:return new Q(z);default:return new _(z)}}}class _{constructor(z,{isRenderable:Y=!1,ignoreBorder:q=!1,createQuadrilaterals:de=!1}={}){this.isRenderable=Y,this.data=z.data,this.layer=z.layer,this.page=z.page,this.viewport=z.viewport,this.linkService=z.linkService,this.downloadManager=z.downloadManager,this.imageResourcesPath=z.imageResourcesPath,this.renderForms=z.renderForms,this.svgFactory=z.svgFactory,this.annotationStorage=z.annotationStorage,this.enableScripting=z.enableScripting,this.hasJSActions=z.hasJSActions,this._fieldObjects=z.fieldObjects,this._mouseState=z.mouseState,Y&&(this.container=this._createContainer(q)),de&&(this.quadrilaterals=this._createQuadrilaterals(q))}_createContainer(z=!1){const Y=this.data,q=this.page,de=this.viewport,me=document.createElement("section"),{width:Oe,height:Re}=g(Y.rect),[Ae,ge,Ne,it]=de.viewBox,qe=Ne-Ae,et=it-ge;me.setAttribute("data-annotation-id",Y.id);const De=n.Util.normalizeRect([Y.rect[0],q.view[3]-Y.rect[1]+q.view[1],Y.rect[2],q.view[3]-Y.rect[3]+q.view[1]]);if(!z&&Y.borderStyle.width>0){me.style.borderWidth=`${Y.borderStyle.width}px`;const Ie=Y.borderStyle.horizontalCornerRadius,bt=Y.borderStyle.verticalCornerRadius;switch(Ie>0||bt>0?me.style.borderRadius=`calc(${Ie}px * var(--scale-factor)) / calc(${bt}px * var(--scale-factor))`:this instanceof v&&(me.style.borderRadius=`calc(${Oe}px * var(--scale-factor)) / calc(${Re}px * var(--scale-factor))`),Y.borderStyle.style){case n.AnnotationBorderStyleType.SOLID:me.style.borderStyle="solid";break;case n.AnnotationBorderStyleType.DASHED:me.style.borderStyle="dashed";break;case n.AnnotationBorderStyleType.BEVELED:(0,n.warn)("Unimplemented border style: beveled");break;case n.AnnotationBorderStyleType.INSET:(0,n.warn)("Unimplemented border style: inset");break;case n.AnnotationBorderStyleType.UNDERLINE:me.style.borderBottomStyle="solid"}const Qe=Y.borderColor||null;Qe?me.style.borderColor=n.Util.makeHexColor(0|Qe[0],0|Qe[1],0|Qe[2]):me.style.borderWidth=0}me.style.left=100*(De[0]-Ae)/qe+"%",me.style.top=100*(De[1]-ge)/et+"%";const{rotation:je}=Y;return Y.hasOwnCanvas||0===je?(me.style.width=100*Oe/qe+"%",me.style.height=100*Re/et+"%"):this.setRotation(je,me),me}setRotation(z,Y=this.container){const[q,de,me,Oe]=this.viewport.viewBox,Re=me-q,Ae=Oe-de,{width:ge,height:Ne}=g(this.data.rect);let it,qe;z%180==0?(it=100*ge/Re,qe=100*Ne/Ae):(it=100*Ne/Re,qe=100*ge/Ae),Y.style.width=`${it}%`,Y.style.height=`${qe}%`,Y.setAttribute("data-main-rotation",(360-z)%360)}get _commonActions(){const z=(Y,q,de)=>{const me=de.detail[Y];de.target.style[q]=a.ColorConverters[`${me[0]}_HTML`](me.slice(1))};return(0,n.shadow)(this,"_commonActions",{display:Y=>{const q=Y.detail.display%2==1;this.container.style.visibility=q?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:q,print:0===Y.detail.display||3===Y.detail.display})},print:Y=>{this.annotationStorage.setValue(this.data.id,{print:Y.detail.print})},hidden:Y=>{this.container.style.visibility=Y.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:Y.detail.hidden})},focus:Y=>{setTimeout(()=>Y.target.focus({preventScroll:!1}),0)},userName:Y=>{Y.target.title=Y.detail.userName},readonly:Y=>{Y.detail.readonly?Y.target.setAttribute("readonly",""):Y.target.removeAttribute("readonly")},required:Y=>{this._setRequired(Y.target,Y.detail.required)},bgColor:Y=>{z("bgColor","backgroundColor",Y)},fillColor:Y=>{z("fillColor","backgroundColor",Y)},fgColor:Y=>{z("fgColor","color",Y)},textColor:Y=>{z("textColor","color",Y)},borderColor:Y=>{z("borderColor","borderColor",Y)},strokeColor:Y=>{z("strokeColor","borderColor",Y)},rotation:Y=>{const q=Y.detail.rotation;this.setRotation(q),this.annotationStorage.setValue(this.data.id,{rotation:q})}})}_dispatchEventFromSandbox(z,Y){const q=this._commonActions;for(const de of Object.keys(Y.detail)){const me=z[de]||q[de];me&&me(Y)}}_setDefaultPropertiesFromJS(z){if(!this.enableScripting)return;const Y=this.annotationStorage.getRawValue(this.data.id);if(!Y)return;const q=this._commonActions;for(const[de,me]of Object.entries(Y)){const Oe=q[de];Oe&&(Oe({detail:{[de]:me},target:z}),delete Y[de])}}_createQuadrilaterals(z=!1){if(!this.data.quadPoints)return null;const Y=[],q=this.data.rect;for(const de of this.data.quadPoints)this.data.rect=[de[2].x,de[2].y,de[1].x,de[1].y],Y.push(this._createContainer(z));return this.data.rect=q,Y}_createPopup(z,Y){let q=this.container;this.quadrilaterals&&(z=z||this.quadrilaterals,q=this.quadrilaterals[0]),z||((z=document.createElement("div")).className="popupTriggerArea",q.append(z));const me=new k({container:q,trigger:z,color:Y.color,titleObj:Y.titleObj,modificationDate:Y.modificationDate,contentsObj:Y.contentsObj,richText:Y.richText,hideWrapper:!0}).render();me.style.left="100%",q.append(me)}_renderQuadrilaterals(z){for(const Y of this.quadrilaterals)Y.className=z;return this.quadrilaterals}render(){(0,n.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(z,Y=null){const q=[];if(this._fieldObjects){const de=this._fieldObjects[z];if(de)for(const{page:me,id:Oe,exportValues:Re}of de){if(-1===me||Oe===Y)continue;const Ae="string"==typeof Re?Re:null,ge=document.querySelector(`[data-element-id="${Oe}"]`);!ge||c.has(ge)?q.push({id:Oe,exportValue:Ae,domElement:ge}):(0,n.warn)(`_getElementsByName - element not allowed: ${Oe}`)}return q}for(const de of document.getElementsByName(z)){const{id:me,exportValue:Oe}=de;me!==Y&&c.has(de)&&q.push({id:me,exportValue:Oe,domElement:de})}return q}static get platform(){const z=typeof navigator<"u"?navigator.platform:"";return(0,n.shadow)(this,"platform",{isWin:z.includes("Win"),isMac:z.includes("Mac")})}}class C extends _{constructor(z,Y=null){super(z,{isRenderable:!0,ignoreBorder:!!Y?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=z.data.isTooltipOnly}render(){const{data:z,linkService:Y}=this,q=document.createElement("a");q.setAttribute("data-element-id",z.id);let de=!1;return z.url?(Y.addLinkAttributes(q,z.url,z.newWindow),de=!0):z.action?(this._bindNamedAction(q,z.action),de=!0):z.dest?(this._bindLink(q,z.dest),de=!0):(z.actions&&(z.actions.Action||z.actions["Mouse Up"]||z.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(q,z),de=!0),z.resetForm?(this._bindResetFormAction(q,z.resetForm),de=!0):this.isTooltipOnly&&!de&&(this._bindLink(q,""),de=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((me,Oe)=>{const Re=0===Oe?q:q.cloneNode();return me.append(Re),me}):(this.container.className="linkAnnotation",de&&this.container.append(q),this.container)}_bindLink(z,Y){z.href=this.linkService.getDestinationHash(Y),z.onclick=()=>(Y&&this.linkService.goToDestination(Y),!1),(Y||""===Y)&&(z.className="internalLink")}_bindNamedAction(z,Y){z.href=this.linkService.getAnchorUrl(""),z.onclick=()=>(this.linkService.executeNamedAction(Y),!1),z.className="internalLink"}_bindJSAction(z,Y){z.href=this.linkService.getAnchorUrl("");const q=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const de of Object.keys(Y.actions)){const me=q.get(de);me&&(z[me]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y.id,name:de}}),!1))}z.onclick||(z.onclick=()=>!1),z.className="internalLink"}_bindResetFormAction(z,Y){const q=z.onclick;if(q||(z.href=this.linkService.getAnchorUrl("")),z.className="internalLink",!this._fieldObjects)return(0,n.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(q||(z.onclick=()=>!1));z.onclick=()=>{q&&q();const{fields:de,refs:me,include:Oe}=Y,Re=[];if(0!==de.length||0!==me.length){const Ne=new Set(me);for(const it of de){const qe=this._fieldObjects[it]||[];for(const{id:et}of qe)Ne.add(et)}for(const it of Object.values(this._fieldObjects))for(const qe of it)Ne.has(qe.id)===Oe&&Re.push(qe)}else for(const Ne of Object.values(this._fieldObjects))Re.push(...Ne);const Ae=this.annotationStorage,ge=[];for(const Ne of Re){const{id:it}=Ne;switch(ge.push(it),Ne.type){case"text":case"combobox":case"listbox":Ae.setValue(it,{value:Ne.defaultValue||""});break;case"checkbox":case"radiobutton":Ae.setValue(it,{value:Ne.defaultValue===Ne.exportValues});break;default:continue}const qe=document.querySelector(`[data-element-id="${it}"]`);qe&&(c.has(qe)?qe.dispatchEvent(new Event("resetform")):(0,n.warn)(`_bindResetFormAction - element not allowed: ${it}`))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:ge,name:"ResetForm"}}),!1}}}class b extends _{constructor(z){super(z,{isRenderable:!!(z.data.hasPopup||z.data.titleObj?.str||z.data.contentsObj?.str||z.data.richText?.str)})}render(){this.container.className="textAnnotation";const z=document.createElement("img");return z.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",z.alt="[{{type}} Annotation]",z.dataset.l10nId="text_annotation_type",z.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(z,this.data),this.container.append(z),this.container}}class p extends _{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(z){const{isWin:Y,isMac:q}=_.platform;return Y&&z.ctrlKey||q&&z.metaKey}_setEventListener(z,Y,q,de){Y.includes("mouse")?z.addEventListener(Y,me=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:q,value:de(me),shift:me.shiftKey,modifier:this._getKeyModifier(me)}})}):z.addEventListener(Y,me=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:q,value:de(me)}})})}_setEventListeners(z,Y,q){for(const[de,me]of Y)("Action"===me||this.data.actions?.[me])&&this._setEventListener(z,de,me,q)}_setBackgroundColor(z){const Y=this.data.backgroundColor||null;z.style.backgroundColor=null===Y?"transparent":n.Util.makeHexColor(Y[0],Y[1],Y[2])}_setTextStyle(z){const{fontColor:q}=this.data.defaultAppearanceData,de=this.data.defaultAppearanceData.fontSize||9,me=z.style;let Oe;if(this.data.multiLine){const Re=Math.abs(this.data.rect[3]-this.data.rect[1]),Ae=Math.round(Re/(n.LINE_FACTOR*de))||1;Oe=Math.min(de,Math.round(Re/Ae/n.LINE_FACTOR))}else{const Re=Math.abs(this.data.rect[3]-this.data.rect[1]);Oe=Math.min(de,Math.round(Re/n.LINE_FACTOR))}me.fontSize=`calc(${Oe}px * var(--scale-factor))`,me.color=n.Util.makeHexColor(q[0],q[1],q[2]),null!==this.data.textAlignment&&(me.textAlign=["left","center","right"][this.data.textAlignment])}_setRequired(z,Y){Y?z.setAttribute("required",!0):z.removeAttribute("required"),z.setAttribute("aria-required",Y)}}class f extends p{constructor(z){super(z,{isRenderable:z.renderForms||!z.data.hasAppearance&&!!z.data.fieldValue})}setPropertyOnSiblings(z,Y,q,de){const me=this.annotationStorage;for(const Oe of this._getElementsByName(z.name,z.id))Oe.domElement&&(Oe.domElement[Y]=q),me.setValue(Oe.id,{[de]:q})}render(){const z=this.annotationStorage,Y=this.data.id;this.container.className="textWidgetAnnotation";let q=null;if(this.renderForms){const de=z.getValue(Y,{value:this.data.fieldValue});let me=de.formattedValue||de.value||"";const Oe=z.getValue(Y,{charLimit:this.data.maxLen}).charLimit;Oe&&me.length>Oe&&(me=me.slice(0,Oe));const Re={userValue:me,formattedValue:null,valueOnFocus:""};this.data.multiLine?(q=document.createElement("textarea"),q.textContent=me,this.data.doNotScroll&&(q.style.overflowY="hidden")):(q=document.createElement("input"),q.type="text",q.setAttribute("value",me),this.data.doNotScroll&&(q.style.overflowX="hidden")),c.add(q),q.setAttribute("data-element-id",Y),q.disabled=this.data.readOnly,q.name=this.data.fieldName,q.tabIndex=e,this._setRequired(q,this.data.required),Oe&&(q.maxLength=Oe),q.addEventListener("input",ge=>{z.setValue(Y,{value:ge.target.value}),this.setPropertyOnSiblings(q,"value",ge.target.value,"value")}),q.addEventListener("resetform",ge=>{q.value=Re.userValue=this.data.defaultFieldValue??"",Re.formattedValue=null});let Ae=ge=>{const{formattedValue:Ne}=Re;null!=Ne&&(ge.target.value=Ne),ge.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){q.addEventListener("focus",Ne=>{Re.userValue&&(Ne.target.value=Re.userValue),Re.valueOnFocus=Ne.target.value}),q.addEventListener("updatefromsandbox",Ne=>{this._dispatchEventFromSandbox({value(qe){Re.userValue=qe.detail.value??"",z.setValue(Y,{value:Re.userValue.toString()}),qe.target.value=Re.userValue},formattedValue(qe){const{formattedValue:et}=qe.detail;Re.formattedValue=et,null!=et&&qe.target!==document.activeElement&&(qe.target.value=et),z.setValue(Y,{formattedValue:et})},selRange(qe){qe.target.setSelectionRange(...qe.detail.selRange)},charLimit:qe=>{const{charLimit:et}=qe.detail,{target:De}=qe;if(0===et)return void De.removeAttribute("maxLength");De.setAttribute("maxLength",et);let je=Re.userValue;!je||je.length<=et||(je=je.slice(0,et),De.value=Re.userValue=je,z.setValue(Y,{value:je}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:je,willCommit:!0,commitKey:1,selStart:De.selectionStart,selEnd:De.selectionEnd}}))}},Ne)}),q.addEventListener("keydown",Ne=>{let it=-1;if("Escape"===Ne.key?it=0:"Enter"===Ne.key?it=2:"Tab"===Ne.key&&(it=3),-1===it)return;const{value:qe}=Ne.target;Re.valueOnFocus!==qe&&(Re.userValue=qe,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:qe,willCommit:!0,commitKey:it,selStart:Ne.target.selectionStart,selEnd:Ne.target.selectionEnd}}))});const ge=Ae;Ae=null,q.addEventListener("blur",Ne=>{const{value:it}=Ne.target;Re.userValue=it,this._mouseState.isDown&&Re.valueOnFocus!==it&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:it,willCommit:!0,commitKey:1,selStart:Ne.target.selectionStart,selEnd:Ne.target.selectionEnd}}),ge(Ne)}),this.data.actions?.Keystroke&&q.addEventListener("beforeinput",Ne=>{const{data:it,target:qe}=Ne,{value:et,selectionStart:De,selectionEnd:je}=qe;let Ie=De,bt=je;switch(Ne.inputType){case"deleteWordBackward":{const Qe=et.substring(0,De).match(/\w*[^\w]*$/);Qe&&(Ie-=Qe[0].length);break}case"deleteWordForward":{const Qe=et.substring(De).match(/^[^\w]*\w*/);Qe&&(bt+=Qe[0].length);break}case"deleteContentBackward":De===je&&(Ie-=1);break;case"deleteContentForward":De===je&&(bt+=1)}Ne.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:et,change:it||"",willCommit:!1,selStart:Ie,selEnd:bt}})}),this._setEventListeners(q,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ne=>Ne.target.value)}if(Ae&&q.addEventListener("blur",Ae),this.data.comb){const Ne=(this.data.rect[2]-this.data.rect[0])/Oe;q.classList.add("comb"),q.style.letterSpacing=`calc(${Ne}px * var(--scale-factor) - 1ch)`}}else q=document.createElement("div"),q.textContent=this.data.fieldValue,q.style.verticalAlign="middle",q.style.display="table-cell";return this._setTextStyle(q),this._setBackgroundColor(q),this._setDefaultPropertiesFromJS(q),this.container.append(q),this.container}}class S extends p{constructor(z){super(z,{isRenderable:z.renderForms})}render(){const z=this.annotationStorage,Y=this.data,q=Y.id;let de=z.getValue(q,{value:Y.exportValue===Y.fieldValue}).value;"string"==typeof de&&(de="Off"!==de,z.setValue(q,{value:de})),this.container.className="buttonWidgetAnnotation checkBox";const me=document.createElement("input");return c.add(me),me.setAttribute("data-element-id",q),me.disabled=Y.readOnly,this._setRequired(me,this.data.required),me.type="checkbox",me.name=Y.fieldName,de&&me.setAttribute("checked",!0),me.setAttribute("exportValue",Y.exportValue),me.tabIndex=e,me.addEventListener("change",Oe=>{const{name:Re,checked:Ae}=Oe.target;for(const ge of this._getElementsByName(Re,q)){const Ne=Ae&&ge.exportValue===Y.exportValue;ge.domElement&&(ge.domElement.checked=Ne),z.setValue(ge.id,{value:Ne})}z.setValue(q,{value:Ae})}),me.addEventListener("resetform",Oe=>{Oe.target.checked=(Y.defaultFieldValue||"Off")===Y.exportValue}),this.enableScripting&&this.hasJSActions&&(me.addEventListener("updatefromsandbox",Oe=>{this._dispatchEventFromSandbox({value(Ae){Ae.target.checked="Off"!==Ae.detail.value,z.setValue(q,{value:Ae.target.checked})}},Oe)}),this._setEventListeners(me,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Oe=>Oe.target.checked)),this._setBackgroundColor(me),this._setDefaultPropertiesFromJS(me),this.container.append(me),this.container}}class v extends p{constructor(z){super(z,{isRenderable:z.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const z=this.annotationStorage,Y=this.data,q=Y.id;let de=z.getValue(q,{value:Y.fieldValue===Y.buttonValue}).value;"string"==typeof de&&(de=de!==Y.buttonValue,z.setValue(q,{value:de}));const me=document.createElement("input");if(c.add(me),me.setAttribute("data-element-id",q),me.disabled=Y.readOnly,this._setRequired(me,this.data.required),me.type="radio",me.name=Y.fieldName,de&&me.setAttribute("checked",!0),me.tabIndex=e,me.addEventListener("change",Oe=>{const{name:Re,checked:Ae}=Oe.target;for(const ge of this._getElementsByName(Re,q))z.setValue(ge.id,{value:!1});z.setValue(q,{value:Ae})}),me.addEventListener("resetform",Oe=>{const Re=Y.defaultFieldValue;Oe.target.checked=null!=Re&&Re===Y.buttonValue}),this.enableScripting&&this.hasJSActions){const Oe=Y.buttonValue;me.addEventListener("updatefromsandbox",Re=>{this._dispatchEventFromSandbox({value:ge=>{const Ne=Oe===ge.detail.value;for(const it of this._getElementsByName(ge.target.name)){const qe=Ne&&it.id===q;it.domElement&&(it.domElement.checked=qe),z.setValue(it.id,{value:qe})}}},Re)}),this._setEventListeners(me,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Re=>Re.target.checked)}return this._setBackgroundColor(me),this._setDefaultPropertiesFromJS(me),this.container.append(me),this.container}}class M extends C{constructor(z){super(z,{ignoreBorder:z.data.hasAppearance})}render(){const z=super.render();z.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(z.title=this.data.alternativeText);const Y=z.lastChild;return this.enableScripting&&this.hasJSActions&&Y&&(this._setDefaultPropertiesFromJS(Y),Y.addEventListener("updatefromsandbox",q=>{this._dispatchEventFromSandbox({},q)})),z}}class E extends p{constructor(z){super(z,{isRenderable:z.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const z=this.annotationStorage,Y=this.data.id,q=z.getValue(Y,{value:this.data.fieldValue}),de=document.createElement("select");c.add(de),de.setAttribute("data-element-id",Y),de.disabled=this.data.readOnly,this._setRequired(de,this.data.required),de.name=this.data.fieldName,de.tabIndex=e;let me=this.data.combo&&this.data.options.length>0;this.data.combo||(de.size=this.data.options.length,this.data.multiSelect&&(de.multiple=!0)),de.addEventListener("resetform",ge=>{const Ne=this.data.defaultFieldValue;for(const it of de.options)it.selected=it.value===Ne});for(const ge of this.data.options){const Ne=document.createElement("option");Ne.textContent=ge.displayValue,Ne.value=ge.exportValue,q.value.includes(ge.exportValue)&&(Ne.setAttribute("selected",!0),me=!1),de.append(Ne)}let Oe=null;if(me){const ge=document.createElement("option");ge.value=" ",ge.setAttribute("hidden",!0),ge.setAttribute("selected",!0),de.prepend(ge),Oe=()=>{ge.remove(),de.removeEventListener("input",Oe),Oe=null},de.addEventListener("input",Oe)}const Re=(ge,Ne)=>{const it=Ne?"value":"textContent",qe=ge.target.options;return ge.target.multiple?Array.prototype.filter.call(qe,et=>et.selected).map(et=>et[it]):-1===qe.selectedIndex?null:qe[qe.selectedIndex][it]},Ae=ge=>Array.prototype.map.call(ge.target.options,it=>({displayValue:it.textContent,exportValue:it.value}));return this.enableScripting&&this.hasJSActions?(de.addEventListener("updatefromsandbox",ge=>{this._dispatchEventFromSandbox({value(it){Oe?.();const qe=it.detail.value,et=new Set(Array.isArray(qe)?qe:[qe]);for(const De of de.options)De.selected=et.has(De.value);z.setValue(Y,{value:Re(it,!0)})},multipleSelection(it){de.multiple=!0},remove(it){const qe=de.options,et=it.detail.remove;qe[et].selected=!1,de.remove(et),qe.length>0&&-1===Array.prototype.findIndex.call(qe,je=>je.selected)&&(qe[0].selected=!0),z.setValue(Y,{value:Re(it,!0),items:Ae(it)})},clear(it){for(;0!==de.length;)de.remove(0);z.setValue(Y,{value:null,items:[]})},insert(it){const{index:qe,displayValue:et,exportValue:De}=it.detail.insert,je=de.children[qe],Ie=document.createElement("option");Ie.textContent=et,Ie.value=De,je?je.before(Ie):de.append(Ie),z.setValue(Y,{value:Re(it,!0),items:Ae(it)})},items(it){const{items:qe}=it.detail;for(;0!==de.length;)de.remove(0);for(const et of qe){const{displayValue:De,exportValue:je}=et,Ie=document.createElement("option");Ie.textContent=De,Ie.value=je,de.append(Ie)}de.options.length>0&&(de.options[0].selected=!0),z.setValue(Y,{value:Re(it,!0),items:Ae(it)})},indices(it){const qe=new Set(it.detail.indices);for(const et of it.target.options)et.selected=qe.has(et.index);z.setValue(Y,{value:Re(it,!0)})},editable(it){it.target.disabled=!it.detail.editable}},ge)}),de.addEventListener("input",ge=>{const Ne=Re(ge,!0),it=Re(ge,!1);z.setValue(Y,{value:Ne}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Y,name:"Keystroke",value:it,changeEx:Ne,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(de,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],ge=>ge.target.checked)):de.addEventListener("input",function(ge){z.setValue(Y,{value:Re(ge,!0)})}),this.data.combo&&this._setTextStyle(de),this._setBackgroundColor(de),this._setDefaultPropertiesFromJS(de),this.container.append(de),this.container}}class A extends _{constructor(z){super(z,{isRenderable:!!(z.data.titleObj?.str||z.data.contentsObj?.str||z.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const q=this.layer.querySelectorAll(`[data-annotation-id="${this.data.parentId}"]`);if(0===q.length)return this.container;const de=new k({container:this.container,trigger:Array.from(q),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),me=this.page,Oe=n.Util.normalizeRect([this.data.parentRect[0],me.view[3]-this.data.parentRect[1]+me.view[1],this.data.parentRect[2],me.view[3]-this.data.parentRect[3]+me.view[1]]),Re=Oe[0]+this.data.parentRect[2]-this.data.parentRect[0],Ae=Oe[1],[ge,Ne,it,qe]=this.viewport.viewBox,De=qe-Ne;return this.container.style.left=100*(Re-ge)/(it-ge)+"%",this.container.style.top=100*(Ae-Ne)/De+"%",this.container.append(de.render()),this.container}}class k{constructor(z){this.container=z.container,this.trigger=z.trigger,this.color=z.color,this.titleObj=z.titleObj,this.modificationDate=z.modificationDate,this.contentsObj=z.contentsObj,this.richText=z.richText,this.hideWrapper=z.hideWrapper||!1,this.pinned=!1}render(){const Y=document.createElement("div");Y.className="popupWrapper",this.hideElement=this.hideWrapper?Y:this.container,this.hideElement.hidden=!0;const q=document.createElement("div");q.className="popup";const de=this.color;de&&(q.style.backgroundColor=n.Util.makeHexColor(0|.7*(255-de[0])+de[0],0|.7*(255-de[1])+de[1],0|.7*(255-de[2])+de[2]));const me=document.createElement("h1");me.dir=this.titleObj.dir,me.textContent=this.titleObj.str,q.append(me);const Oe=o.PDFDateString.toDateObject(this.modificationDate);if(Oe){const Re=document.createElement("span");Re.className="popupDate",Re.textContent="{{date}}, {{time}}",Re.dataset.l10nId="annotation_date_string",Re.dataset.l10nArgs=JSON.stringify({date:Oe.toLocaleDateString(),time:Oe.toLocaleTimeString()}),q.append(Re)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const Re=this._formatContents(this.contentsObj);q.append(Re)}else u.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:q}),q.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Re of this.trigger)Re.addEventListener("click",this._toggle.bind(this)),Re.addEventListener("mouseover",this._show.bind(this,!1)),Re.addEventListener("mouseout",this._hide.bind(this,!1));return q.addEventListener("click",this._hide.bind(this,!0)),Y.append(q),Y}_formatContents({str:z,dir:Y}){const q=document.createElement("p");q.className="popupContent",q.dir=Y;const de=z.split(/(?:\r\n?|\n)/);for(let me=0,Oe=de.length;me{function i(o){return Math.floor(255*Math.max(0,Math.min(1,o))).toString(16).padStart(2,"0")}Object.defineProperty(h,"__esModule",{value:!0}),h.ColorConverters=void 0,h.ColorConverters=class n{static CMYK_G([d,a,u,e]){return["G",1-Math.min(1,.3*d+.59*u+.11*a+e)]}static G_CMYK([d]){return["CMYK",0,0,0,1-d]}static G_RGB([d]){return["RGB",d,d,d]}static G_HTML([d]){const a=i(d);return`#${a}${a}${a}`}static RGB_G([d,a,u]){return["G",.3*d+.59*a+.11*u]}static RGB_HTML([d,a,u]){return`#${i(d)}${i(a)}${i(u)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([d,a,u,e]){return["RGB",1-Math.min(1,d+e),1-Math.min(1,u+e),1-Math.min(1,a+e)]}static CMYK_HTML(d){const a=this.CMYK_RGB(d).slice(1);return this.RGB_HTML(a)}static RGB_CMYK([d,a,u]){const e=1-d,l=1-a,c=1-u;return["CMYK",e,l,c,Math.min(e,l,c)]}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.XfaLayer=void 0;var n=i(20);h.XfaLayer=class o{static setupStorage(a,u,e,l,c){const g=l.getValue(u,{value:null});switch(e.name){case"textarea":if(null!==g.value&&(a.textContent=g.value),"print"===c)break;a.addEventListener("input",y=>{l.setValue(u,{value:y.target.value})});break;case"input":if("radio"===e.attributes.type||"checkbox"===e.attributes.type){if(g.value===e.attributes.xfaOn?a.setAttribute("checked",!0):g.value===e.attributes.xfaOff&&a.removeAttribute("checked"),"print"===c)break;a.addEventListener("change",y=>{l.setValue(u,{value:y.target.getAttribute(y.target.checked?"xfaOn":"xfaOff")})})}else{if(null!==g.value&&a.setAttribute("value",g.value),"print"===c)break;a.addEventListener("input",y=>{l.setValue(u,{value:y.target.value})})}break;case"select":if(null!==g.value)for(const y of e.children)y.attributes.value===g.value&&(y.attributes.selected=!0);a.addEventListener("input",y=>{const _=y.target.options;l.setValue(u,{value:-1===_.selectedIndex?"":_[_.selectedIndex].value})})}}static setAttributes({html:a,element:u,storage:e=null,intent:l,linkService:c}){const{attributes:g}=u,y=a instanceof HTMLAnchorElement;"radio"===g.type&&(g.name=`${g.name}-${l}`);for(const[_,C]of Object.entries(g))if(null!=C)switch(_){case"class":C.length&&a.setAttribute(_,C.join(" "));break;case"dataId":break;case"id":a.setAttribute("data-element-id",C);break;case"style":Object.assign(a.style,C);break;case"textContent":a.textContent=C;break;default:(!y||"href"!==_&&"newWindow"!==_)&&a.setAttribute(_,C)}y&&c.addLinkAttributes(a,g.href,g.newWindow),e&&g.dataId&&this.setupStorage(a,g.dataId,u,e)}static render(a){const u=a.annotationStorage,e=a.linkService,l=a.xfaHtml,c=a.intent||"display",g=document.createElement(l.name);l.attributes&&this.setAttributes({html:g,element:l,intent:c,linkService:e});const y=[[l,-1,g]],_=a.div;if(_.append(g),a.viewport){const b=`matrix(${a.viewport.transform.join(",")})`;_.style.transform=b}"richText"!==c&&_.setAttribute("class","xfaLayer xfaFont");const C=[];for(;y.length>0;){const[b,p,f]=y.at(-1);if(p+1===b.children.length){y.pop();continue}const S=b.children[++y.at(-1)[1]];if(null===S)continue;const{name:v}=S;if("#text"===v){const E=document.createTextNode(S.value);C.push(E),f.append(E);continue}let M;if(M=S?.attributes?.xmlns?document.createElementNS(S.attributes.xmlns,v):document.createElement(v),f.append(M),S.attributes&&this.setAttributes({html:M,element:S,storage:u,intent:c,linkService:e}),S.children&&S.children.length>0)y.push([S,-1,M]);else if(S.value){const E=document.createTextNode(S.value);n.XfaText.shouldBuildText(v)&&C.push(E),M.append(E)}}for(const b of _.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))b.setAttribute("readOnly",!0);return{textDivs:C}}static update(a){const u=`matrix(${a.viewport.transform.join(",")})`;a.div.style.transform=u,a.div.hidden=!1}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.TextLayerRenderTask=void 0,h.renderTextLayer=function S(v){const M=new f({textContent:v.textContent,textContentStream:v.textContentStream,container:v.container,viewport:v.viewport,textDivs:v.textDivs,textContentItemsStr:v.textContentItemsStr,enhanceTextSelection:v.enhanceTextSelection});return M._render(v.timeout),M};var n=i(1),o=i(8);const a=30,e=new Map,l=/^\s+$/g;function g(v,M,E,A){const k=document.createElement("span"),N=v._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:""!==M.str,hasEOL:M.hasEOL,fontSize:0};v._textDivs.push(k);const F=n.Util.transform(v._viewport.transform,M.transform);let T=Math.atan2(F[1],F[0]);const P=E[M.fontName];P.vertical&&(T+=Math.PI/2);const I=Math.hypot(F[2],F[3]),j=I*function c(v,M){const E=e.get(v);if(E)return E;M.save(),M.font=`30px ${v}`;const A=M.measureText("");let k=A.fontBoundingBoxAscent,N=Math.abs(A.fontBoundingBoxDescent);if(k){M.restore();const T=k/(k+N);return e.set(v,T),T}M.strokeStyle="red",M.clearRect(0,0,a,a),M.strokeText("g",0,0);let F=M.getImageData(0,0,a,a).data;N=0;for(let T=F.length-1-3;T>=0;T-=4)if(F[T]>0){N=Math.ceil(T/4/a);break}M.clearRect(0,0,a,a),M.strokeText("A",0,a),F=M.getImageData(0,0,a,a).data,k=0;for(let T=0,P=F.length;T0){k=a-Math.floor(T/4/a);break}if(M.restore(),k){const T=k/(k+N);return e.set(v,T),T}return e.set(v,.8),.8}(P.fontFamily,A);let L,B;0===T?(L=F[4],B=F[5]-j):(L=F[4]+j*Math.sin(T),B=F[5]-j*Math.cos(T)),k.style.left=`${L}px`,k.style.top=`${B}px`,k.style.fontSize=`${I}px`,k.style.fontFamily=P.fontFamily,N.fontSize=I,k.setAttribute("role","presentation"),k.textContent=M.str,k.dir=M.dir,v._fontInspectorEnabled&&(k.dataset.fontName=M.fontName),0!==T&&(N.angle=T*(180/Math.PI));let $=!1;if(M.str.length>1||v._enhanceTextSelection&&l.test(M.str))$=!0;else if(" "!==M.str&&M.transform[0]!==M.transform[3]){const ee=Math.abs(M.transform[0]),le=Math.abs(M.transform[3]);ee!==le&&Math.max(ee,le)/Math.min(ee,le)>1.5&&($=!0)}if($&&(N.canvasWidth=P.vertical?M.height*v._viewport.scale:M.width*v._viewport.scale),v._textDivProperties.set(k,N),v._textContentStream&&v._layoutText(k),v._enhanceTextSelection&&N.hasText){let ee=1,le=0;0!==T&&(ee=Math.cos(T),le=Math.sin(T));const se=(P.vertical?M.height:M.width)*v._viewport.scale,K=I;let Q,re;0!==T?(Q=[ee,le,-le,ee,L,B],re=n.Util.getAxialAlignedBoundingBox([0,0,se,K],Q)):re=[L,B,L+se,B+K],v._bounds.push({left:re[0],top:re[1],right:re[2],bottom:re[3],div:k,size:[se,K],m:Q})}}function y(v){if(v._canceled)return;const M=v._textDivs,E=v._capability,A=M.length;if(A>1e5)return v._renderingDone=!0,void E.resolve();if(!v._textContentStream)for(let k=0;k0&&(A=A?Math.min(N,A):N)}return A}function p(v,M){M.sort(function(k,N){return k.x1-N.x1||k.index-N.index});const A=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const k of M){let N=0;for(;N=0&&A[F].start>=k.y2;)F--;let T,P,I,j,L=-1/0;for(I=N;I<=F;I++){let ee;T=A[I],P=T.boundary,ee=P.x2>k.x1?P.index>k.index?P.x1New:k.x1:void 0===P.x2New?(P.x2+k.x1)/2:P.x2New,ee>L&&(L=ee)}for(k.x1New=L,I=N;I<=F;I++)T=A[I],P=T.boundary,void 0===P.x2New?P.x2>k.x1?P.index>k.index&&(P.x2New=P.x2):P.x2New=L:P.x2New>L&&(P.x2New=Math.max(L,P.x2));const B=[];let $=null;for(I=N;I<=F;I++){T=A[I],P=T.boundary;const ee=P.x2>k.x2?P:k;$===ee?B.at(-1).end=T.end:(B.push({start:T.start,end:T.end,boundary:ee}),$=ee)}for(A[N].start=0&&A[j].start>=P.y1;j--)ee=A[j].boundary===P;for(j=F+1;!ee&&j{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new n.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(M,E){for(let A=0,k=M.length;A0){const T=this._devicePixelRatio*E.canvasWidth/F;this._enhanceTextSelection&&(E.scale=T),A=`scaleX(${T})`}}if(0!==E.angle&&(A=`rotate(${E.angle}deg) ${A}`),A.length>0&&(this._enhanceTextSelection&&(E.originalTransform=A),M.style.transform=A),E.hasText&&this._container.append(M),E.hasEOL){const k=document.createElement("br");k.setAttribute("role","presentation"),this._container.append(k)}}_render(M=0){const E=(0,n.createPromiseCapability)();let A=Object.create(null);const k=this._document.createElement("canvas");if(k.height=k.width=a,this._layoutTextCtx=k.getContext("2d",{alpha:!1}),this._textContent)this._processItems(this._textContent.items,this._textContent.styles),E.resolve();else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const N=()=>{this._reader.read().then(({value:F,done:T})=>{T?E.resolve():(Object.assign(A,F.styles),this._processItems(F.items,A),N())},E.reject)};this._reader=this._textContentStream.getReader(),N()}}E.promise.then(()=>{A=null,M?this._renderTimer=setTimeout(()=>{y(this),this._renderTimer=null},M):y(this)},this._capability.reject)}expandTextDivs(M=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(function C(v){const M=v._bounds,E=v._viewport,A=function b(v,M,E){const A=E.map(function(N,F){return{x1:N.left,y1:N.top,x2:N.right,y2:N.bottom,index:F,x1New:void 0,x2New:void 0}});p(v,A);const k=new Array(E.length);for(const N of A)k[N.index]={left:N.x1New,top:0,right:N.x2New,bottom:0};E.map(function(N,F){const T=k[F],P=A[F];P.x1=N.top,P.y1=v-T.right,P.x2=N.bottom,P.y2=v-T.left,P.index=F,P.x1New=void 0,P.x2New=void 0}),p(M,A);for(const N of A){const F=N.index;k[F].top=N.x1New,k[F].bottom=N.x2New}return k}(E.width,E.height,M);for(let k=0;k0?(A.push(`${T.paddingTop}px`),E.push(`translateY(${-T.paddingTop}px)`)):A.push(0),A.push(T.paddingRight>0?T.paddingRight/T.scale+"px":0),A.push(T.paddingBottom>0?`${T.paddingBottom}px`:0),T.paddingLeft>0?(A.push(T.paddingLeft/T.scale+"px"),E.push(`translateX(${-T.paddingLeft/T.scale}px)`)):A.push(0),F.style.padding=A.join(" "),E.length&&(F.style.transform=E.join(" "))):(F.style.padding=null,F.style.transform=T.originalTransform))}}}h.TextLayerRenderTask=f},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.SVGGraphics=void 0;var n=i(8),o=i(1),d=i(3);let a=class{constructor(){(0,o.unreachable)("Not implemented: SVGGraphics")}};h.SVGGraphics=a;{let b=function(E){let A=[];const k=[];for(const N of E)"save"!==N.fn?"restore"===N.fn?A=k.pop():A.push(N):(A.push({fnId:92,fn:"group",items:[]}),k.push(A),A=A.at(-1).items);return A},p=function(E){if(Number.isInteger(E))return E.toString();const A=E.toFixed(10);let k=A.length-1;if("0"!==A[k])return A;do{k--}while("0"===A[k]);return A.substring(0,"."===A[k]?k:k+1)},f=function(E){if(0===E[4]&&0===E[5]){if(0===E[1]&&0===E[2])return 1===E[0]&&1===E[3]?"":`scale(${p(E[0])} ${p(E[3])})`;if(E[0]===E[3]&&E[1]===-E[2]){const A=180*Math.acos(E[0])/Math.PI;return`rotate(${p(A)})`}}else if(1===E[0]&&0===E[1]&&0===E[2]&&1===E[3])return`translate(${p(E[4])} ${p(E[5])})`;return`matrix(${p(E[0])} ${p(E[1])} ${p(E[2])} ${p(E[3])} ${p(E[4])} ${p(E[5])})`};const u={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},e="http://www.w3.org/XML/1998/namespace",l="http://www.w3.org/1999/xlink",c=["butt","round","square"],g=["miter","round","bevel"],y=function(E,A="",k=!1){if(URL.createObjectURL&&typeof Blob<"u"&&!k)return URL.createObjectURL(new Blob([E],{type:A}));const N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let F=`data:${A};base64,`;for(let T=0,P=E.length;T>2]+N[(3&I)<<4|j>>4]+N[T+1>6:64]+N[T+2>1&2147483647:B>>1&2147483647;k[L]=B}function F(L,B,$,ee){let le=ee;const se=B.length;$[le]=se>>24&255,$[le+1]=se>>16&255,$[le+2]=se>>8&255,$[le+3]=255&se,le+=4,$[le]=255&L.charCodeAt(0),$[le+1]=255&L.charCodeAt(1),$[le+2]=255&L.charCodeAt(2),$[le+3]=255&L.charCodeAt(3),le+=4,$.set(B,le),le+=B.length;const K=function N(L,B,$){let ee=-1;for(let le=B;le<$;le++)ee=ee>>>8^k[255&(ee^L[le])];return-1^ee}($,ee+4,le);$[le]=K>>24&255,$[le+1]=K>>16&255,$[le+2]=K>>8&255,$[le+3]=255&K}function I(L){let B=L.length;const $=65535,ee=Math.ceil(B/$),le=new Uint8Array(2+B+5*ee+4);let se=0;le[se++]=120,le[se++]=156;let K=0;for(;B>$;)le[se++]=0,le[se++]=255,le[se++]=255,le[se++]=0,le[se++]=0,le.set(L.subarray(K,K+$),se),se+=$,K+=$,B-=$;le[se++]=1,le[se++]=255&B,le[se++]=B>>8&255,le[se++]=255&~B,le[se++]=(65535&~B)>>8&255,le.set(L.subarray(K),se),se+=L.length-K;const Q=function T(L,B,$){let ee=1,le=0;for(let se=B;se<$;++se)ee=(ee+(255&L[se]))%65521,le=(le+ee)%65521;return le<<16|ee}(L,0,L.length);return le[se++]=Q>>24&255,le[se++]=Q>>16&255,le[se++]=Q>>8&255,le[se++]=255&Q,le}return function(B,$,ee){return function j(L,B,$,ee){const le=L.width,se=L.height;let K,Q,re;const X=L.data;switch(B){case o.ImageKind.GRAYSCALE_1BPP:Q=0,K=1,re=le+7>>3;break;case o.ImageKind.RGB_24BPP:Q=2,K=8,re=3*le;break;case o.ImageKind.RGBA_32BPP:Q=6,K=8,re=4*le;break;default:throw new Error("invalid format")}const z=new Uint8Array((1+re)*se);let Y=0,q=0;for(let ge=0;ge>24&255,le>>16&255,le>>8&255,255&le,se>>24&255,se>>16&255,se>>8&255,255&se,K,Q,0,0,0]),me=function P(L){if(!d.isNodeJS)return I(L);try{let B;B=parseInt(process.versions.node)>=8?L:Buffer.from(L);const $=__webpack_require__(8160).deflateSync(B,{level:9});return $ instanceof Uint8Array?$:new Uint8Array($)}catch(B){(0,o.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+B)}return I(L)}(z),Re=new Uint8Array(E.length+36+de.length+me.length);let Ae=0;return Re.set(E,Ae),Ae+=E.length,F("IHDR",de,Re,Ae),Ae+=12+de.length,F("IDATA",me,Re,Ae),Ae+=12+me.length,F("IEND",new Uint8Array(0),Re,Ae),y(Re,"image/png",$)}(B,void 0===B.kind?o.ImageKind.GRAYSCALE_1BPP:B.kind,$,ee)}}();class C{constructor(){this.fontSizeScale=1,this.fontWeight=u.fontWeight,this.fontSize=0,this.textMatrix=o.IDENTITY_MATRIX,this.fontMatrix=o.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=o.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=u.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(A,k){this.x=A,this.y=k}}let S=0,v=0,M=0;h.SVGGraphics=a=class{constructor(E,A,k=!1){(0,n.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new n.DOMSVGFactory,this.current=new C,this.transformMatrix=o.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=E,this.objs=A,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!k,this._operatorIdMapping=[];for(const N in o.OPS)this._operatorIdMapping[o.OPS[N]]=N}save(){this.transformStack.push(this.transformMatrix);const E=this.current;this.extraStack.push(E),this.current=E.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(E){this.save(),this.executeOpTree(E),this.restore()}loadDependencies(E){const A=E.fnArray,k=E.argsArray;for(let N=0,F=A.length;N{P.get(T,j)});this.current.dependencies.push(I)}return Promise.all(this.current.dependencies)}transform(E,A,k,N,F,T){this.transformMatrix=o.Util.transform(this.transformMatrix,[E,A,k,N,F,T]),this.tgrp=null}getSVG(E,A){this.viewport=A;const k=this._initialize(A);return this.loadDependencies(E).then(()=>(this.transformMatrix=o.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(E)),k))}convertOpList(E){const A=this._operatorIdMapping,k=E.argsArray,N=E.fnArray,F=[];for(let T=0,P=N.length;T0&&(this.current.lineWidth=E)}setLineCap(E){this.current.lineCap=c[E]}setLineJoin(E){this.current.lineJoin=g[E]}setMiterLimit(E){this.current.miterLimit=E}setStrokeAlpha(E){this.current.strokeAlpha=E}setStrokeRGBColor(E,A,k){this.current.strokeColor=o.Util.makeHexColor(E,A,k)}setFillAlpha(E){this.current.fillAlpha=E}setFillRGBColor(E,A,k){this.current.fillColor=o.Util.makeHexColor(E,A,k),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(E){this.current.strokeColor=this._makeColorN_Pattern(E)}setFillColorN(E){this.current.fillColor=this._makeColorN_Pattern(E)}shadingFill(E){const A=this.viewport.width,k=this.viewport.height,N=o.Util.inverseTransform(this.transformMatrix),F=o.Util.applyTransform([0,0],N),T=o.Util.applyTransform([0,k],N),P=o.Util.applyTransform([A,0],N),I=o.Util.applyTransform([A,k],N),j=Math.min(F[0],T[0],P[0],I[0]),L=Math.min(F[1],T[1],P[1],I[1]),B=Math.max(F[0],T[0],P[0],I[0]),$=Math.max(F[1],T[1],P[1],I[1]),ee=this.svgFactory.createElement("svg:rect");ee.setAttributeNS(null,"x",j),ee.setAttributeNS(null,"y",L),ee.setAttributeNS(null,"width",B-j),ee.setAttributeNS(null,"height",$-L),ee.setAttributeNS(null,"fill",this._makeShadingPattern(E)),this.current.fillAlpha<1&&ee.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(ee)}_makeColorN_Pattern(E){return"TilingPattern"===E[0]?this._makeTilingPattern(E):this._makeShadingPattern(E)}_makeTilingPattern(E){const A=E[1],k=E[2],N=E[3]||o.IDENTITY_MATRIX,[F,T,P,I]=E[4],j=E[5],L=E[6],B=E[7],$="shading"+M++,[ee,le,se,K]=o.Util.normalizeRect([...o.Util.applyTransform([F,T],N),...o.Util.applyTransform([P,I],N)]),[Q,re]=o.Util.singularValueDecompose2dScale(N),X=j*Q,z=L*re,Y=this.svgFactory.createElement("svg:pattern");Y.setAttributeNS(null,"id",$),Y.setAttributeNS(null,"patternUnits","userSpaceOnUse"),Y.setAttributeNS(null,"width",X),Y.setAttributeNS(null,"height",z),Y.setAttributeNS(null,"x",`${ee}`),Y.setAttributeNS(null,"y",`${le}`);const q=this.svg,de=this.transformMatrix,me=this.current.fillColor,Oe=this.current.strokeColor,Re=this.svgFactory.create(se-ee,K-le);if(this.svg=Re,this.transformMatrix=N,2===B){const Ae=o.Util.makeHexColor(...A);this.current.fillColor=Ae,this.current.strokeColor=Ae}return this.executeOpTree(this.convertOpList(k)),this.svg=q,this.transformMatrix=de,this.current.fillColor=me,this.current.strokeColor=Oe,Y.append(Re.childNodes[0]),this.defs.append(Y),`url(#${$})`}_makeShadingPattern(E){switch("string"==typeof E&&(E=this.objs.get(E)),E[0]){case"RadialAxial":const A="shading"+M++,k=E[3];let N;switch(E[1]){case"axial":const F=E[4],T=E[5];N=this.svgFactory.createElement("svg:linearGradient"),N.setAttributeNS(null,"id",A),N.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),N.setAttributeNS(null,"x1",F[0]),N.setAttributeNS(null,"y1",F[1]),N.setAttributeNS(null,"x2",T[0]),N.setAttributeNS(null,"y2",T[1]);break;case"radial":const P=E[4],I=E[5],j=E[6],L=E[7];N=this.svgFactory.createElement("svg:radialGradient"),N.setAttributeNS(null,"id",A),N.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),N.setAttributeNS(null,"cx",I[0]),N.setAttributeNS(null,"cy",I[1]),N.setAttributeNS(null,"r",L),N.setAttributeNS(null,"fx",P[0]),N.setAttributeNS(null,"fy",P[1]),N.setAttributeNS(null,"fr",j);break;default:throw new Error(`Unknown RadialAxial type: ${E[1]}`)}for(const F of k){const T=this.svgFactory.createElement("svg:stop");T.setAttributeNS(null,"offset",F[0]),T.setAttributeNS(null,"stop-color",F[1]),N.append(T)}return this.defs.append(N),`url(#${A})`;case"Mesh":return(0,o.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${E[0]}`)}}setDash(E,A){this.current.dashArray=E,this.current.dashPhase=A}constructPath(E,A){const k=this.current;let N=k.x,F=k.y,T=[],P=0;for(const I of E)switch(0|I){case o.OPS.rectangle:N=A[P++],F=A[P++];const B=N+A[P++],$=F+A[P++];T.push("M",p(N),p(F),"L",p(B),p(F),"L",p(B),p($),"L",p(N),p($),"Z");break;case o.OPS.moveTo:N=A[P++],F=A[P++],T.push("M",p(N),p(F));break;case o.OPS.lineTo:N=A[P++],F=A[P++],T.push("L",p(N),p(F));break;case o.OPS.curveTo:N=A[P+4],F=A[P+5],T.push("C",p(A[P]),p(A[P+1]),p(A[P+2]),p(A[P+3]),p(N),p(F)),P+=6;break;case o.OPS.curveTo2:T.push("C",p(N),p(F),p(A[P]),p(A[P+1]),p(A[P+2]),p(A[P+3])),N=A[P+2],F=A[P+3],P+=4;break;case o.OPS.curveTo3:N=A[P+2],F=A[P+3],T.push("C",p(A[P]),p(A[P+1]),p(N),p(F),p(N),p(F)),P+=4;break;case o.OPS.closePath:T.push("Z")}T=T.join(" "),k.path&&E.length>0&&E[0]!==o.OPS.rectangle&&E[0]!==o.OPS.moveTo?T=k.path.getAttributeNS(null,"d")+T:(k.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(k.path)),k.path.setAttributeNS(null,"d",T),k.path.setAttributeNS(null,"fill","none"),k.element=k.path,k.setCurrentPoint(N,F)}endPath(){const E=this.current;if(E.path=null,!this.pendingClip)return;if(!E.element)return void(this.pendingClip=null);const A="clippath"+S++,k=this.svgFactory.createElement("svg:clipPath");k.setAttributeNS(null,"id",A),k.setAttributeNS(null,"transform",f(this.transformMatrix));const N=E.element.cloneNode(!0);if(N.setAttributeNS(null,"clip-rule","evenodd"===this.pendingClip?"evenodd":"nonzero"),this.pendingClip=null,k.append(N),this.defs.append(k),E.activeClipUrl){E.clipGroup=null;for(const F of this.extraStack)F.clipGroup=null;k.setAttributeNS(null,"clip-path",E.activeClipUrl)}E.activeClipUrl=`url(#${A})`,this.tgrp=null}clip(E){this.pendingClip=E}closePath(){const E=this.current;if(E.path){const A=`${E.path.getAttributeNS(null,"d")}Z`;E.path.setAttributeNS(null,"d",A)}}setLeading(E){this.current.leading=-E}setTextRise(E){this.current.textRise=E}setTextRenderingMode(E){this.current.textRenderingMode=E}setHScale(E){this.current.textHScale=E/100}setRenderingIntent(E){}setFlatness(E){}setGState(E){for(const[A,k]of E)switch(A){case"LW":this.setLineWidth(k);break;case"LC":this.setLineCap(k);break;case"LJ":this.setLineJoin(k);break;case"ML":this.setMiterLimit(k);break;case"D":this.setDash(k[0],k[1]);break;case"RI":this.setRenderingIntent(k);break;case"FL":this.setFlatness(k);break;case"Font":this.setFont(k);break;case"CA":this.setStrokeAlpha(k);break;case"ca":this.setFillAlpha(k);break;default:(0,o.warn)(`Unimplemented graphic state operator ${A}`)}}fill(){const E=this.current;E.element&&(E.element.setAttributeNS(null,"fill",E.fillColor),E.element.setAttributeNS(null,"fill-opacity",E.fillAlpha),this.endPath())}stroke(){const E=this.current;E.element&&(this._setStrokeAttributes(E.element),E.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(E,A=1){const k=this.current;let N=k.dashArray;1!==A&&N.length>0&&(N=N.map(function(F){return A*F})),E.setAttributeNS(null,"stroke",k.strokeColor),E.setAttributeNS(null,"stroke-opacity",k.strokeAlpha),E.setAttributeNS(null,"stroke-miterlimit",p(k.miterLimit)),E.setAttributeNS(null,"stroke-linecap",k.lineCap),E.setAttributeNS(null,"stroke-linejoin",k.lineJoin),E.setAttributeNS(null,"stroke-width",p(A*k.lineWidth)+"px"),E.setAttributeNS(null,"stroke-dasharray",N.map(p).join(" ")),E.setAttributeNS(null,"stroke-dashoffset",p(A*k.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const E=this.svgFactory.createElement("svg:rect");E.setAttributeNS(null,"x","0"),E.setAttributeNS(null,"y","0"),E.setAttributeNS(null,"width","1px"),E.setAttributeNS(null,"height","1px"),E.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(E)}paintImageXObject(E){const A=E.startsWith("g_")?this.commonObjs.get(E):this.objs.get(E);A?this.paintInlineImageXObject(A):(0,o.warn)(`Dependent image with object ID ${E} is not ready yet`)}paintInlineImageXObject(E,A){const k=E.width,N=E.height,F=_(E,this.forceDataSchema,!!A),T=this.svgFactory.createElement("svg:rect");T.setAttributeNS(null,"x","0"),T.setAttributeNS(null,"y","0"),T.setAttributeNS(null,"width",p(k)),T.setAttributeNS(null,"height",p(N)),this.current.element=T,this.clip("nonzero");const P=this.svgFactory.createElement("svg:image");P.setAttributeNS(l,"xlink:href",F),P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y",p(-N)),P.setAttributeNS(null,"width",p(k)+"px"),P.setAttributeNS(null,"height",p(N)+"px"),P.setAttributeNS(null,"transform",`scale(${p(1/k)} ${p(-1/N)})`),A?A.append(P):this._ensureTransformGroup().append(P)}paintImageMaskXObject(E){const A=this.current,k=E.width,N=E.height,F=A.fillColor;A.maskId="mask"+v++;const T=this.svgFactory.createElement("svg:mask");T.setAttributeNS(null,"id",A.maskId);const P=this.svgFactory.createElement("svg:rect");P.setAttributeNS(null,"x","0"),P.setAttributeNS(null,"y","0"),P.setAttributeNS(null,"width",p(k)),P.setAttributeNS(null,"height",p(N)),P.setAttributeNS(null,"fill",F),P.setAttributeNS(null,"mask",`url(#${A.maskId})`),this.defs.append(T),this._ensureTransformGroup().append(P),this.paintInlineImageXObject(E,T)}paintFormXObjectBegin(E,A){if(Array.isArray(E)&&6===E.length&&this.transform(E[0],E[1],E[2],E[3],E[4],E[5]),A){const k=A[2]-A[0],N=A[3]-A[1],F=this.svgFactory.createElement("svg:rect");F.setAttributeNS(null,"x",A[0]),F.setAttributeNS(null,"y",A[1]),F.setAttributeNS(null,"width",p(k)),F.setAttributeNS(null,"height",p(N)),this.current.element=F,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(E){const A=this.svgFactory.create(E.width,E.height),k=this.svgFactory.createElement("svg:defs");A.append(k),this.defs=k;const N=this.svgFactory.createElement("svg:g");return N.setAttributeNS(null,"transform",f(E.transform)),A.append(N),this.svg=N,A}_ensureClipGroup(){if(!this.current.clipGroup){const E=this.svgFactory.createElement("svg:g");E.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(E),this.current.clipGroup=E}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",f(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNodeStream=void 0;var n=i(1),o=i(33);const d=__webpack_require__(45344),a=__webpack_require__(10440),u=__webpack_require__(22224),e=__webpack_require__(65724),l=/^file:\/\/\/[a-zA-Z]:\//;h.PDFNodeStream=class g{constructor(M){this.source=M,this.url=function c(v){const M=e.parse(v);return"file:"===M.protocol||M.host?M:/^[a-z]:[/\\]/i.test(v)?e.parse(`file:///${v}`):(M.host||(M.protocol="file:"),M)}(M.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&M.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new f(this):new b(this),this._fullRequestReader}getRangeReader(M,E){if(E<=this._progressiveDataLength)return null;const A=this.isFsUrl?new S(this,M,E):new p(this,M,E);return this._rangeRequestReaders.push(A),A}cancelAllRequests(M){this._fullRequestReader&&this._fullRequestReader.cancel(M);for(const E of this._rangeRequestReaders.slice(0))E.cancel(M)}};class y{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null;const E=M.source;this._contentLength=E.length,this._loaded=0,this._filename=null,this._disableRange=E.disableRange||!1,this._rangeChunkSize=E.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!E.disableStream,this._isRangeSupported=!E.disableRange,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._headersCapability=(0,n.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const E=M._readableStream.read();return null===E?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=E.length,M.onProgress&&M.onProgress({loaded:M._loaded,total:M._contentLength}),{value:new Uint8Array(E).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",E=>{this._error(E)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new n.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class _{constructor(M){this._url=M.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!M.source.disableStream}get isStreamingSupported(){return this._isStreamingSupported}read(){var M=this;return _asyncToGenerator(function*(){if(yield M._readCapability.promise,M._done)return{value:void 0,done:!0};if(M._storedError)throw M._storedError;const E=M._readableStream.read();return null===E?(M._readCapability=(0,n.createPromiseCapability)(),M.read()):(M._loaded+=E.length,M.onProgress&&M.onProgress({loaded:M._loaded}),{value:new Uint8Array(E).buffer,done:!1})})()}cancel(M){this._readableStream?this._readableStream.destroy(M):this._error(M)}_error(M){this._storedError=M,this._readCapability.resolve()}_setReadableStream(M){this._readableStream=M,M.on("readable",()=>{this._readCapability.resolve()}),M.on("end",()=>{M.destroy(),this._done=!0,this._readCapability.resolve()}),M.on("error",E=>{this._error(E)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function C(v,M){return{protocol:v.protocol,auth:v.auth,host:v.hostname,port:v.port,path:v.path,method:"GET",headers:M}}class b extends y{constructor(M){super(M);const E=A=>{if(404===A.statusCode){const T=new n.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=T,void this._headersCapability.reject(T)}this._headersCapability.resolve(),this._setReadableStream(A);const k=T=>this._readableStream.headers[T.toLowerCase()],{allowRangeRequests:N,suggestedLength:F}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:k,isHttp:M.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=N,this._contentLength=F||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(k)};this._request=null,this._request="http:"===this._url.protocol?a.request(C(this._url,M.httpHeaders),E):u.request(C(this._url,M.httpHeaders),E),this._request.on("error",A=>{this._storedError=A,this._headersCapability.reject(A)}),this._request.end()}}class p extends _{constructor(M,E,A){super(M),this._httpHeaders={};for(const N in M.httpHeaders){const F=M.httpHeaders[N];typeof F>"u"||(this._httpHeaders[N]=F)}this._httpHeaders.Range=`bytes=${E}-${A-1}`;const k=N=>{if(404!==N.statusCode)this._setReadableStream(N);else{const F=new n.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=F}};this._request=null,this._request="http:"===this._url.protocol?a.request(C(this._url,this._httpHeaders),k):u.request(C(this._url,this._httpHeaders),k),this._request.on("error",N=>{this._storedError=N}),this._request.end()}}class f extends y{constructor(M){super(M);let E=decodeURIComponent(this._url.path);l.test(this._url.href)&&(E=E.replace(/^\//,"")),d.lstat(E,(A,k)=>{if(A)return"ENOENT"===A.code&&(A=new n.MissingPDFException(`Missing PDF "${E}".`)),this._storedError=A,void this._headersCapability.reject(A);this._contentLength=k.size,this._setReadableStream(d.createReadStream(E)),this._headersCapability.resolve()})}}class S extends _{constructor(M,E,A){super(M);let k=decodeURIComponent(this._url.path);l.test(this._url.href)&&(k=k.replace(/^\//,"")),this._setReadableStream(d.createReadStream(k,{start:E,end:A-1}))}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.createResponseStatusError=function e(c,g){return 404===c||0===c&&g.startsWith("file:")?new n.MissingPDFException('Missing PDF "'+g+'".'):new n.UnexpectedResponseException(`Unexpected server response (${c}) while retrieving PDF "${g}".`,c)},h.extractFilenameFromHeader=function u(c){const g=c("Content-Disposition");if(g){let y=(0,o.getFilenameFromContentDispositionHeader)(g);if(y.includes("%"))try{y=decodeURIComponent(y)}catch{}if((0,d.isPdfFile)(y))return y}return null},h.validateRangeRequestCapabilities=function a({getResponseHeader:c,isHttp:g,rangeChunkSize:y,disableRange:_}){const C={allowRangeRequests:!1,suggestedLength:void 0},b=parseInt(c("Content-Length"),10);return!Number.isInteger(b)||(C.suggestedLength=b,b<=2*y)||_||!g||"bytes"!==c("Accept-Ranges")||"identity"!==(c("Content-Encoding")||"identity")||(C.allowRangeRequests=!0),C},h.validateResponseStatus=function l(c){return 200===c||206===c};var n=i(1),o=i(34),d=i(8)},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.getFilenameFromContentDispositionHeader=function o(d){let a=!0,u=e("filename\\*","i").exec(d);if(u){u=u[1];let b=y(u);return b=unescape(b),b=_(b),b=C(b),c(b)}if(u=function g(b){const p=[];let f;const S=e("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(f=S.exec(b));){let[,M,E,A]=f;if(M=parseInt(M,10),M in p){if(0===M)break}else p[M]=[E,A]}const v=[];for(let M=0;M{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFNetworkStream=void 0;var n=i(1),o=i(33);class e{constructor(_,C={}){this.url=_,this.isHttp=/^https?:/i.test(_),this.httpHeaders=this.isHttp&&C.httpHeaders||Object.create(null),this.withCredentials=C.withCredentials||!1,this.getXhr=C.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(_,C,b){const p={begin:_,end:C};for(const f in b)p[f]=b[f];return this.request(p)}requestFull(_){return this.request(_)}request(_){const C=this.getXhr(),b=this.currXhrId++,p=this.pendingRequests[b]={xhr:C};C.open("GET",this.url),C.withCredentials=this.withCredentials;for(const f in this.httpHeaders){const S=this.httpHeaders[f];typeof S>"u"||C.setRequestHeader(f,S)}return this.isHttp&&"begin"in _&&"end"in _?(C.setRequestHeader("Range",`bytes=${_.begin}-${_.end-1}`),p.expectedStatus=206):p.expectedStatus=200,C.responseType="arraybuffer",_.onError&&(C.onerror=function(f){_.onError(C.status)}),C.onreadystatechange=this.onStateChange.bind(this,b),C.onprogress=this.onProgress.bind(this,b),p.onHeadersReceived=_.onHeadersReceived,p.onDone=_.onDone,p.onError=_.onError,p.onProgress=_.onProgress,C.send(null),b}onProgress(_,C){const b=this.pendingRequests[_];b&&b.onProgress?.(C)}onStateChange(_,C){const b=this.pendingRequests[_];if(!b)return;const p=b.xhr;if(p.readyState>=2&&b.onHeadersReceived&&(b.onHeadersReceived(),delete b.onHeadersReceived),4!==p.readyState||!(_ in this.pendingRequests))return;if(delete this.pendingRequests[_],0===p.status&&this.isHttp)return void b.onError?.(p.status);const f=p.status||200;if((200!==f||206!==b.expectedStatus)&&f!==b.expectedStatus)return void b.onError?.(p.status);const v=function u(y){const _=y.response;return"string"!=typeof _?_:(0,n.stringToBytes)(_).buffer}(p);if(206===f){const M=p.getResponseHeader("Content-Range"),E=/bytes (\d+)-(\d+)\/(\d+)/.exec(M);b.onDone({begin:parseInt(E[1],10),chunk:v})}else v?b.onDone({begin:0,chunk:v}):b.onError?.(p.status)}getRequestXhr(_){return this.pendingRequests[_].xhr}isPendingRequest(_){return _ in this.pendingRequests}abortRequest(_){const C=this.pendingRequests[_].xhr;delete this.pendingRequests[_],C.abort()}}h.PDFNetworkStream=class l{constructor(_){this._source=_,this._manager=new e(_.url,{httpHeaders:_.httpHeaders,withCredentials:_.withCredentials}),this._rangeChunkSize=_.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(_){const C=this._rangeRequestReaders.indexOf(_);C>=0&&this._rangeRequestReaders.splice(C,1)}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new c(this._manager,this._source),this._fullRequestReader}getRangeReader(_,C){const b=new g(this._manager,_,C);return b.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(b),b}cancelAllRequests(_){this._fullRequestReader?.cancel(_);for(const C of this._rangeRequestReaders.slice(0))C.cancel(_)}};class c{constructor(_,C){this._manager=_;const b={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=C.url,this._fullRequestId=_.requestFull(b),this._headersReceivedCapability=(0,n.createPromiseCapability)(),this._disableRange=C.disableRange||!1,this._contentLength=C.length,this._rangeChunkSize=C.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const _=this._fullRequestId,C=this._manager.getRequestXhr(_),b=S=>C.getResponseHeader(S),{allowRangeRequests:p,suggestedLength:f}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:b,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});p&&(this._isRangeSupported=!0),this._contentLength=f||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(b),this._isRangeSupported&&this._manager.abortRequest(_),this._headersReceivedCapability.resolve()}_onDone(_){if(_&&(this._requests.length>0?this._requests.shift().resolve({value:_.chunk,done:!1}):this._cachedChunks.push(_.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(_){this._storedError=(0,o.createResponseStatusError)(_,this._url),this._headersReceivedCapability.reject(this._storedError);for(const C of this._requests)C.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(_){this.onProgress?.({loaded:_.loaded,total:_.lengthComputable?_.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}read(){var _=this;return _asyncToGenerator(function*(){if(_._storedError)throw _._storedError;if(_._cachedChunks.length>0)return{value:_._cachedChunks.shift(),done:!1};if(_._done)return{value:void 0,done:!0};const C=(0,n.createPromiseCapability)();return _._requests.push(C),C.promise})()}cancel(_){this._done=!0,this._headersReceivedCapability.reject(_);for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class g{constructor(_,C,b){this._manager=_;const p={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=_.url,this._requestId=_.requestRange(C,b,p),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(_){const C=_.chunk;this._requests.length>0?this._requests.shift().resolve({value:C,done:!1}):this._queuedChunk=C,this._done=!0;for(const b of this._requests)b.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(_){this._storedError=(0,o.createResponseStatusError)(_,this._url);for(const C of this._requests)C.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(_){this.isStreamingSupported||this.onProgress?.({loaded:_.loaded})}get isStreamingSupported(){return!1}read(){var _=this;return _asyncToGenerator(function*(){if(_._storedError)throw _._storedError;if(null!==_._queuedChunk){const b=_._queuedChunk;return _._queuedChunk=null,{value:b,done:!1}}if(_._done)return{value:void 0,done:!0};const C=(0,n.createPromiseCapability)();return _._requests.push(C),C.promise})()}cancel(_){this._done=!0;for(const C of this._requests)C.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(ve,h,i)=>{Object.defineProperty(h,"__esModule",{value:!0}),h.PDFFetchStream=void 0;var n=i(1),o=i(33);function d(c,g,y){return{method:"GET",headers:c,signal:y.signal,mode:"cors",credentials:g?"include":"same-origin",redirect:"follow"}}function a(c){const g=new Headers;for(const y in c){const _=c[y];typeof _>"u"||g.append(y,_)}return g}h.PDFFetchStream=class u{constructor(g){this.source=g,this.isHttp=/^https?:/i.test(g.url),this.httpHeaders=this.isHttp&&g.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,n.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new e(this),this._fullRequestReader}getRangeReader(g,y){if(y<=this._progressiveDataLength)return null;const _=new l(this,g,y);return this._rangeRequestReaders.push(_),_}cancelAllRequests(g){this._fullRequestReader&&this._fullRequestReader.cancel(g);for(const y of this._rangeRequestReaders.slice(0))y.cancel(g)}};class e{constructor(g){this._stream=g,this._reader=null,this._loaded=0,this._filename=null;const y=g.source;this._withCredentials=y.withCredentials||!1,this._contentLength=y.length,this._headersCapability=(0,n.createPromiseCapability)(),this._disableRange=y.disableRange||!1,this._rangeChunkSize=y.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!y.disableStream,this._isRangeSupported=!y.disableRange,this._headers=a(this._stream.httpHeaders);const _=y.url;fetch(_,d(this._headers,this._withCredentials,this._abortController)).then(C=>{if(!(0,o.validateResponseStatus)(C.status))throw(0,o.createResponseStatusError)(C.status,_);this._reader=C.body.getReader(),this._headersCapability.resolve();const b=S=>C.headers.get(S),{allowRangeRequests:p,suggestedLength:f}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:b,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=p,this._contentLength=f||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(b),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new n.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._headersCapability.promise;const{value:y,done:_}=yield g._reader.read();return _?{value:y,done:_}:(g._loaded+=y.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded,total:g._contentLength}),{value:new Uint8Array(y).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}class l{constructor(g,y,_){this._stream=g,this._reader=null,this._loaded=0;const C=g.source;this._withCredentials=C.withCredentials||!1,this._readCapability=(0,n.createPromiseCapability)(),this._isStreamingSupported=!C.disableStream,this._abortController=new AbortController,this._headers=a(this._stream.httpHeaders),this._headers.append("Range",`bytes=${y}-${_-1}`);const b=C.url;fetch(b,d(this._headers,this._withCredentials,this._abortController)).then(p=>{if(!(0,o.validateResponseStatus)(p.status))throw(0,o.createResponseStatusError)(p.status,b);this._readCapability.resolve(),this._reader=p.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}read(){var g=this;return _asyncToGenerator(function*(){yield g._readCapability.promise;const{value:y,done:_}=yield g._reader.read();return _?{value:y,done:_}:(g._loaded+=y.byteLength,g.onProgress&&g.onProgress({loaded:g._loaded}),{value:new Uint8Array(y).buffer,done:!1})})()}cancel(g){this._reader&&this._reader.cancel(g),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(ve){var h=__webpack_module_cache__[ve];if(void 0!==h)return h.exports;var i=__webpack_module_cache__[ve]={exports:{}};return __webpack_modules__[ve](i,i.exports,__w_pdfjs_require__),i.exports}var __nested_webpack_exports__={};return(()=>{var ve=__nested_webpack_exports__;Object.defineProperty(ve,"__esModule",{value:!0}),Object.defineProperty(ve,"AnnotationEditorLayer",{enumerable:!0,get:function(){return o.AnnotationEditorLayer}}),Object.defineProperty(ve,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return h.AnnotationEditorParamsType}}),Object.defineProperty(ve,"AnnotationEditorType",{enumerable:!0,get:function(){return h.AnnotationEditorType}}),Object.defineProperty(ve,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return d.AnnotationEditorUIManager}}),Object.defineProperty(ve,"AnnotationLayer",{enumerable:!0,get:function(){return a.AnnotationLayer}}),Object.defineProperty(ve,"AnnotationMode",{enumerable:!0,get:function(){return h.AnnotationMode}}),Object.defineProperty(ve,"CMapCompressionType",{enumerable:!0,get:function(){return h.CMapCompressionType}}),Object.defineProperty(ve,"GlobalWorkerOptions",{enumerable:!0,get:function(){return u.GlobalWorkerOptions}}),Object.defineProperty(ve,"InvalidPDFException",{enumerable:!0,get:function(){return h.InvalidPDFException}}),Object.defineProperty(ve,"LoopbackPort",{enumerable:!0,get:function(){return i.LoopbackPort}}),Object.defineProperty(ve,"MissingPDFException",{enumerable:!0,get:function(){return h.MissingPDFException}}),Object.defineProperty(ve,"OPS",{enumerable:!0,get:function(){return h.OPS}}),Object.defineProperty(ve,"PDFDataRangeTransport",{enumerable:!0,get:function(){return i.PDFDataRangeTransport}}),Object.defineProperty(ve,"PDFDateString",{enumerable:!0,get:function(){return n.PDFDateString}}),Object.defineProperty(ve,"PDFWorker",{enumerable:!0,get:function(){return i.PDFWorker}}),Object.defineProperty(ve,"PasswordResponses",{enumerable:!0,get:function(){return h.PasswordResponses}}),Object.defineProperty(ve,"PermissionFlag",{enumerable:!0,get:function(){return h.PermissionFlag}}),Object.defineProperty(ve,"PixelsPerInch",{enumerable:!0,get:function(){return n.PixelsPerInch}}),Object.defineProperty(ve,"RenderingCancelledException",{enumerable:!0,get:function(){return n.RenderingCancelledException}}),Object.defineProperty(ve,"SVGGraphics",{enumerable:!0,get:function(){return c.SVGGraphics}}),Object.defineProperty(ve,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return h.UNSUPPORTED_FEATURES}}),Object.defineProperty(ve,"UnexpectedResponseException",{enumerable:!0,get:function(){return h.UnexpectedResponseException}}),Object.defineProperty(ve,"Util",{enumerable:!0,get:function(){return h.Util}}),Object.defineProperty(ve,"VerbosityLevel",{enumerable:!0,get:function(){return h.VerbosityLevel}}),Object.defineProperty(ve,"XfaLayer",{enumerable:!0,get:function(){return g.XfaLayer}}),Object.defineProperty(ve,"build",{enumerable:!0,get:function(){return i.build}}),Object.defineProperty(ve,"createPromiseCapability",{enumerable:!0,get:function(){return h.createPromiseCapability}}),Object.defineProperty(ve,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return h.createValidAbsoluteUrl}}),Object.defineProperty(ve,"getDocument",{enumerable:!0,get:function(){return i.getDocument}}),Object.defineProperty(ve,"getFilenameFromUrl",{enumerable:!0,get:function(){return n.getFilenameFromUrl}}),Object.defineProperty(ve,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return n.getPdfFilenameFromUrl}}),Object.defineProperty(ve,"getXfaPageViewport",{enumerable:!0,get:function(){return n.getXfaPageViewport}}),Object.defineProperty(ve,"isPdfFile",{enumerable:!0,get:function(){return n.isPdfFile}}),Object.defineProperty(ve,"loadScript",{enumerable:!0,get:function(){return n.loadScript}}),Object.defineProperty(ve,"renderTextLayer",{enumerable:!0,get:function(){return l.renderTextLayer}}),Object.defineProperty(ve,"shadow",{enumerable:!0,get:function(){return h.shadow}}),Object.defineProperty(ve,"version",{enumerable:!0,get:function(){return i.version}});var h=__w_pdfjs_require__(1),i=__w_pdfjs_require__(4),n=__w_pdfjs_require__(8),o=__w_pdfjs_require__(22),d=__w_pdfjs_require__(7),a=__w_pdfjs_require__(27),u=__w_pdfjs_require__(15),e=__w_pdfjs_require__(3),l=__w_pdfjs_require__(30),c=__w_pdfjs_require__(31),g=__w_pdfjs_require__(29);if(e.isNodeJS){const{PDFNodeStream:C}=__w_pdfjs_require__(32);(0,i.setPDFNetworkStreamFactory)(b=>new C(b))}else{const{PDFNetworkStream:C}=__w_pdfjs_require__(35),{PDFFetchStream:b}=__w_pdfjs_require__(36);(0,i.setPDFNetworkStreamFactory)(p=>(0,n.isValidFetchUrl)(p.url)?new b(p):new C(p))}})(),__nested_webpack_exports__})(),module.exports=i()},6472:(ve,h,i)=>{var n=i(1196).default;globalThis,ve.exports=(()=>{"use strict";var o=[,(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.DefaultXfaLayerFactory=l.DefaultTextLayerFactory=l.DefaultStructTreeLayerFactory=l.DefaultAnnotationLayerFactory=l.DefaultAnnotationEditorLayerFactory=void 0;var g=c(2),y=c(5),_=c(4),C=c(6),b=c(8),p=c(9),f=c(10);l.DefaultAnnotationLayerFactory=class S{createAnnotationLayerBuilder({pageDiv:N,pdfPage:F,annotationStorage:T=null,imageResourcesPath:P="",renderForms:I=!0,l10n:j=_.NullL10n,enableScripting:L=!1,hasJSActionsPromise:B=null,mouseState:$=null,fieldObjectsPromise:ee=null,annotationCanvasMap:le=null,accessibilityManager:se=null}){return new y.AnnotationLayerBuilder({pageDiv:N,pdfPage:F,imageResourcesPath:P,renderForms:I,linkService:new C.SimpleLinkService,l10n:j,annotationStorage:T,enableScripting:L,hasJSActionsPromise:B,fieldObjectsPromise:ee,mouseState:$,annotationCanvasMap:le,accessibilityManager:se})}},l.DefaultAnnotationEditorLayerFactory=class v{createAnnotationEditorLayerBuilder({uiManager:N=null,pageDiv:F,pdfPage:T,accessibilityManager:P=null,l10n:I,annotationStorage:j=null}){return new g.AnnotationEditorLayerBuilder({uiManager:N,pageDiv:F,pdfPage:T,accessibilityManager:P,l10n:I,annotationStorage:j})}},l.DefaultStructTreeLayerFactory=class M{createStructTreeLayerBuilder({pdfPage:N}){return new b.StructTreeLayerBuilder({pdfPage:N})}},l.DefaultTextLayerFactory=class E{createTextLayerBuilder({textLayerDiv:N,pageIndex:F,viewport:T,enhanceTextSelection:P=!1,eventBus:I,highlighter:j,accessibilityManager:L=null}){return new p.TextLayerBuilder({textLayerDiv:N,pageIndex:F,viewport:T,enhanceTextSelection:P,eventBus:I,highlighter:j,accessibilityManager:L})}},l.DefaultXfaLayerFactory=class A{createXfaLayerBuilder({pageDiv:N,pdfPage:F,annotationStorage:T=null}){return new f.XfaLayerBuilder({pageDiv:N,pdfPage:F,annotationStorage:T,linkService:new C.SimpleLinkService})}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.AnnotationEditorLayerBuilder=void 0;var g=c(3),y=c(4);l.AnnotationEditorLayerBuilder=class _{#e;constructor(b){this.pageDiv=b.pageDiv,this.pdfPage=b.pdfPage,this.annotationStorage=b.annotationStorage||null,this.accessibilityManager=b.accessibilityManager,this.l10n=b.l10n||y.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,this.#e=b.uiManager}render(b,p="display"){var f=this;return n(function*(){if("display"!==p||f._cancelled)return;const S=b.clone({dontFlip:!0});if(f.div)return f.annotationEditorLayer.update({viewport:S}),void f.show();f.div=document.createElement("div"),f.div.className="annotationEditorLayer",f.div.tabIndex=0,f.pageDiv.append(f.div),f.annotationEditorLayer=new g.AnnotationEditorLayer({uiManager:f.#e,div:f.div,annotationStorage:f.annotationStorage,accessibilityManager:f.accessibilityManager,pageIndex:f.pdfPage._pageIndex,l10n:f.l10n,viewport:S}),f.annotationEditorLayer.render({viewport:S,div:f.div,annotations:null,intent:p})})()}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}},e=>{let l;l=typeof window<"u"&&window["pdfjs-dist/build/pdf"]?window["pdfjs-dist/build/pdf"]:i(35584),e.exports=l},(e,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.NullL10n=void 0,l.fixupLangCode=function _(p){return y[p?.toLowerCase()]||p},l.getL10nFallback=g;const c={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} \xd7 {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} \xd7 {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading\u2026",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text\u2026",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function g(p,f){switch(p){case"find_match_count":p=`find_match_count[${1===f.total?"one":"other"}]`;break;case"find_match_count_limit":p=`find_match_count_limit[${1===f.limit?"one":"other"}]`}return c[p]||""}const y={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};l.NullL10n={getLanguage:()=>n(function*(){return"en-us"})(),getDirection:()=>n(function*(){return"ltr"})(),get:(p,f=null,S=g(p,f))=>n(function*(){return function C(p,f){return f?p.replace(/\{\{\s*(\w+)\s*\}\}/g,(S,v)=>v in f?f[v]:"{{"+v+"}}"):p}(S,f)})(),translate:p=>n(function*(){})()}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.AnnotationLayerBuilder=void 0;var g=c(3),y=c(4);l.AnnotationLayerBuilder=class _{constructor({pageDiv:b,pdfPage:p,linkService:f,downloadManager:S,annotationStorage:v=null,imageResourcesPath:M="",renderForms:E=!0,l10n:A=y.NullL10n,enableScripting:k=!1,hasJSActionsPromise:N=null,fieldObjectsPromise:F=null,mouseState:T=null,annotationCanvasMap:P=null,accessibilityManager:I=null}){this.pageDiv=b,this.pdfPage=p,this.linkService=f,this.downloadManager=S,this.imageResourcesPath=M,this.renderForms=E,this.l10n=A,this.annotationStorage=v,this.enableScripting=k,this._hasJSActionsPromise=N,this._fieldObjectsPromise=F,this._mouseState=T,this._annotationCanvasMap=P,this._accessibilityManager=I,this.div=null,this._cancelled=!1}render(b,p="display"){var f=this;return n(function*(){const[S,v=!1,M=null]=yield Promise.all([f.pdfPage.getAnnotations({intent:p}),f._hasJSActionsPromise,f._fieldObjectsPromise]);if(f._cancelled||0===S.length)return;const E={viewport:b.clone({dontFlip:!0}),div:f.div,annotations:S,page:f.pdfPage,imageResourcesPath:f.imageResourcesPath,renderForms:f.renderForms,linkService:f.linkService,downloadManager:f.downloadManager,annotationStorage:f.annotationStorage,enableScripting:f.enableScripting,hasJSActions:v,fieldObjects:M,mouseState:f._mouseState,annotationCanvasMap:f._annotationCanvasMap,accessibilityManager:f._accessibilityManager};f.div?g.AnnotationLayer.update(E):(f.div=document.createElement("div"),f.div.className="annotationLayer",f.pageDiv.append(f.div),E.div=f.div,g.AnnotationLayer.render(E),f.l10n.translate(f.div))})()}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.SimpleLinkService=l.PDFLinkService=l.LinkTarget=void 0;var g=c(7);const _={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function C(f,{url:S,target:v,rel:M,enabled:E=!0}={}){if(!S||"string"!=typeof S)throw new Error('A valid "url" parameter must provided.');const A=(0,g.removeNullCharacters)(S);E?f.href=f.title=A:(f.href="",f.title=`Disabled: ${A}`,f.onclick=()=>!1);let k="";switch(v){case _.NONE:break;case _.SELF:k="_self";break;case _.BLANK:k="_blank";break;case _.PARENT:k="_parent";break;case _.TOP:k="_top"}f.target=k,f.rel="string"==typeof M?M:"noopener noreferrer nofollow"}l.LinkTarget=_;class b{#e=new Map;constructor({eventBus:S,externalLinkTarget:v=null,externalLinkRel:M=null,ignoreDestinationZoom:E=!1}={}){this.eventBus=S,this.externalLinkTarget=v,this.externalLinkRel=M,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=E,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(S,v=null){this.baseUrl=v,this.pdfDocument=S,this.#e.clear()}setViewer(S){this.pdfViewer=S}setHistory(S){this.pdfHistory=S}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(S){this.pdfViewer.currentPageNumber=S}get rotation(){return this.pdfViewer.pagesRotation}set rotation(S){this.pdfViewer.pagesRotation=S}#t(S,v=null,M){const E=M[0];let A;if("object"==typeof E&&null!==E){if(A=this._cachedPageNumber(E),!A)return void this.pdfDocument.getPageIndex(E).then(k=>{this.cachePageRef(k+1,E),this.#t(S,v,M)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${E}" is not a valid page reference, for dest="${S}".`)})}else{if(!Number.isInteger(E))return void console.error(`PDFLinkService.#goToDestinationHelper: "${E}" is not a valid destination reference, for dest="${S}".`);A=E+1}!A||A<1||A>this.pagesCount?console.error(`PDFLinkService.#goToDestinationHelper: "${A}" is not a valid page number, for dest="${S}".`):(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:v,explicitDest:M,pageNumber:A})),this.pdfViewer.scrollPageIntoView({pageNumber:A,destArray:M,ignoreDestinationZoom:this._ignoreDestinationZoom}))}goToDestination(S){var v=this;return n(function*(){if(!v.pdfDocument)return;let M,E;"string"==typeof S?(M=S,E=yield v.pdfDocument.getDestination(S)):(M=null,E=yield S),Array.isArray(E)?v.#t(S,M,E):console.error(`PDFLinkService.goToDestination: "${E}" is not a valid destination array, for dest="${S}".`)})()}goToPage(S){if(!this.pdfDocument)return;const v="string"==typeof S&&this.pdfViewer.pageLabelToPageNumber(S)||0|S;Number.isInteger(v)&&v>0&&v<=this.pagesCount?(this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(v)),this.pdfViewer.scrollPageIntoView({pageNumber:v})):console.error(`PDFLinkService.goToPage: "${S}" is not a valid page.`)}addLinkAttributes(S,v,M=!1){C(S,{url:v,target:M?_.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(S){if("string"==typeof S){if(S.length>0)return this.getAnchorUrl("#"+escape(S))}else if(Array.isArray(S)){const v=JSON.stringify(S);if(v.length>0)return this.getAnchorUrl("#"+escape(v))}return this.getAnchorUrl("")}getAnchorUrl(S){return(this.baseUrl||"")+S}setHash(S){if(!this.pdfDocument)return;let v,M;if(S.includes("=")){const E=(0,g.parseQueryString)(S);if(E.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:E.get("search").replace(/"/g,""),phraseSearch:"true"===E.get("phrase")}),E.has("page")&&(v=0|E.get("page")||1),E.has("zoom")){const A=E.get("zoom").split(","),k=A[0],N=parseFloat(k);k.includes("Fit")?"Fit"===k||"FitB"===k?M=[null,{name:k}]:"FitH"===k||"FitBH"===k||"FitV"===k||"FitBV"===k?M=[null,{name:k},A.length>1?0|A[1]:null]:"FitR"===k?5!==A.length?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):M=[null,{name:k},0|A[1],0|A[2],0|A[3],0|A[4]]:console.error(`PDFLinkService.setHash: "${k}" is not a valid zoom value.`):M=[null,{name:"XYZ"},A.length>1?0|A[1]:null,A.length>2?0|A[2]:null,N?N/100:k]}M?this.pdfViewer.scrollPageIntoView({pageNumber:v||this.page,destArray:M,allowNegativeOffset:!0}):v&&(this.page=v),E.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:E.get("pagemode")}),E.has("nameddest")&&this.goToDestination(E.get("nameddest"))}else{M=unescape(S);try{M=JSON.parse(M),Array.isArray(M)||(M=M.toString())}catch{}if("string"==typeof M||b.#n(M))return void this.goToDestination(M);console.error(`PDFLinkService.setHash: "${unescape(S)}" is not a valid destination.`)}}executeNamedAction(S){switch(S){case"GoBack":this.pdfHistory?.back();break;case"GoForward":this.pdfHistory?.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1}this.eventBus.dispatch("namedaction",{source:this,action:S})}cachePageRef(S,v){v&&this.#e.set(0===v.gen?`${v.num}R`:`${v.num}R${v.gen}`,S)}_cachedPageNumber(S){return S&&this.#e.get(0===S.gen?`${S.num}R`:`${S.num}R${S.gen}`)||null}isPageVisible(S){return this.pdfViewer.isPageVisible(S)}isPageCached(S){return this.pdfViewer.isPageCached(S)}static#n(S){if(!Array.isArray(S))return!1;const v=S.length;if(v<2)return!1;const M=S[0];if(!("object"==typeof M&&Number.isInteger(M.num)&&Number.isInteger(M.gen)||Number.isInteger(M)&&M>=0))return!1;const E=S[1];if("object"!=typeof E||"string"!=typeof E.name)return!1;let A=!0;switch(E.name){case"XYZ":if(5!==v)return!1;break;case"Fit":case"FitB":return 2===v;case"FitH":case"FitBH":case"FitV":case"FitBV":if(3!==v)return!1;break;case"FitR":if(6!==v)return!1;A=!1;break;default:return!1}for(let k=2;k{Object.defineProperty(l,"__esModule",{value:!0}),l.animationStarted=l.VERTICAL_PADDING=l.UNKNOWN_SCALE=l.TextLayerMode=l.SpreadMode=l.SidebarView=l.ScrollMode=l.SCROLLBAR_PADDING=l.RenderingStates=l.RendererType=l.ProgressBar=l.PresentationModeState=l.OutputScale=l.MIN_SCALE=l.MAX_SCALE=l.MAX_AUTO_SCALE=l.DEFAULT_SCALE_VALUE=l.DEFAULT_SCALE_DELTA=l.DEFAULT_SCALE=l.AutoPrintRegExp=void 0,l.apiPageLayoutToViewerModes=function et(je){let Ie=N.VERTICAL,bt=F.NONE;switch(je){case"SinglePage":Ie=N.PAGE;break;case"OneColumn":break;case"TwoPageLeft":Ie=N.PAGE;case"TwoColumnLeft":bt=F.ODD;break;case"TwoPageRight":Ie=N.PAGE;case"TwoColumnRight":bt=F.EVEN}return{scrollMode:Ie,spreadMode:bt}},l.apiPageModeToSidebarView=function De(je){switch(je){case"UseNone":return E.NONE;case"UseThumbs":return E.THUMBS;case"UseOutlines":return E.OUTLINE;case"UseAttachments":return E.ATTACHMENTS;case"UseOC":return E.LAYERS}return E.NONE},l.approximateFraction=function se(je){if(Math.floor(je)===je)return[je,1];const Ie=1/je;if(Ie>8)return[1,8];if(Math.floor(Ie)===Ie)return[1,Ie];const Qe=je>1?Ie:je;let bn,Ut=0,sn=1,un=1,Sn=1;for(;;){const kt=Ut+un,jt=sn+Sn;if(jt>8)break;Qe<=kt/jt?(un=kt,Sn=jt):(Ut=kt,sn=jt)}return bn=Qe-Ut/snSn}:function kt(Bt){const Zt=Bt.div;return Zt.offsetTop+Zt.clientTop+Zt.clientHeight>sn});Ce>0&&Ce=un&&(Ge=er);else if((Qe?Dt:Ot)>Ge)break;if(er<=sn||Ot>=un||Yn<=Sn||Dt>=bn)continue;const kn=Math.max(0,sn-Ot)+Math.max(0,er-un),mt=(pn-(Math.max(0,Sn-Dt)+Math.max(0,Yn-bn)))/pn;Fe.push({id:Zt.id,x:Dt,y:Ot,view:Zt,percent:(Vn-kn)/Vn*mt*100|0,widthPercent:100*mt|0}),Ee.add(Zt.id)}const Je=Fe[0],vt=Fe.at(-1);return bt&&Fe.sort(function(Bt,Zt){const Rt=Bt.percent-Zt.percent;return Math.abs(Rt)>.001?-Rt:Bt.id-Zt.id}),{first:Je,last:vt,views:Fe,ids:Ee}},l.isPortraitOrientation=function Re(je){return je.width<=je.height},l.isValidRotation=function de(je){return Number.isInteger(je)&&je%90==0},l.isValidScrollMode=function me(je){return Number.isInteger(je)&&Object.values(N).includes(je)&&je!==N.UNKNOWN},l.isValidSpreadMode=function Oe(je){return Number.isInteger(je)&&Object.values(F).includes(je)&&je!==F.UNKNOWN},l.noContextMenuHandler=function z(je){je.preventDefault()},l.normalizeWheelEventDelta=function q(je){let Ie=Y(je);return 0===je.deltaMode?Ie/=900:1===je.deltaMode&&(Ie/=30),Ie},l.normalizeWheelEventDirection=Y,l.parseQueryString=function L(je){const Ie=new Map;for(const[bt,Qe]of new URLSearchParams(je))Ie.set(bt.toLowerCase(),Qe);return Ie},l.removeNullCharacters=function ee(je,Ie=!1){return"string"!=typeof je?(console.error("The argument must be a string."),je):(Ie&&(je=je.replace($," ")),je.replace(B,""))},l.roundToDivide=function K(je,Ie){const bt=je%Ie;return 0===bt?je:Math.round(je-bt+Ie)},l.scrollIntoView=function I(je,Ie,bt=!1){let Qe=je.offsetParent;if(!Qe)return void console.error("offsetParent is not set -- cannot scroll");let Ut=je.offsetTop+je.clientTop,sn=je.offsetLeft+je.clientLeft;for(;Qe.clientHeight===Qe.scrollHeight&&Qe.clientWidth===Qe.scrollWidth||bt&&(Qe.classList.contains("markedContent")||"hidden"===getComputedStyle(Qe).overflow);)if(Ut+=Qe.offsetTop,sn+=Qe.offsetLeft,Qe=Qe.offsetParent,!Qe)return;Ie&&(void 0!==Ie.top&&(Ut+=Ie.top),void 0!==Ie.left&&(sn+=Ie.left,Qe.scrollLeft=sn)),Qe.scrollTop=Ut},l.watchScroll=function j(je,Ie){const bt=function(sn){Ut||(Ut=window.requestAnimationFrame(function(){Ut=null;const Sn=je.scrollLeft,bn=Qe.lastX;Sn!==bn&&(Qe.right=Sn>bn),Qe.lastX=Sn;const kt=je.scrollTop,jt=Qe.lastY;kt!==jt&&(Qe.down=kt>jt),Qe.lastY=kt,Ie(Qe)}))},Qe={right:!0,down:!0,lastX:je.scrollLeft,lastY:je.scrollTop,_eventHandler:bt};let Ut=null;return je.addEventListener("scroll",bt,!0),Qe},l.DEFAULT_SCALE_VALUE="auto",l.DEFAULT_SCALE=1,l.DEFAULT_SCALE_DELTA=1.1,l.MIN_SCALE=.1,l.MAX_SCALE=10,l.UNKNOWN_SCALE=0,l.MAX_AUTO_SCALE=1.25,l.SCROLLBAR_PADDING=40,l.VERTICAL_PADDING=5,l.RenderingStates={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3},l.PresentationModeState={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};const E={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};l.SidebarView=E,l.RendererType={CANVAS:"canvas",SVG:"svg"},l.TextLayerMode={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};const N={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};l.ScrollMode=N;const F={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};l.SpreadMode=F,l.AutoPrintRegExp=/\bprint\s*\(/,l.OutputScale=class P{constructor(){const Ie=window.devicePixelRatio||1;this.sx=Ie,this.sy=Ie}get scaled(){return 1!==this.sx||1!==this.sy}};const B=/\x00/g,$=/[\x01-\x1F]/g;function le(je,Ie,bt=0){let Qe=bt,Ut=je.length-1;if(Ut<0||!Ie(je[Ut]))return je.length;if(Ie(je[Qe]))return Qe;for(;Qe>1;Ie(je[sn])?Ut=sn:Qe=sn+1}return Qe}function re(je,Ie,bt){if(je<2)return je;let Qe=Ie[je].div,Ut=Qe.offsetTop+Qe.clientTop;Ut>=bt&&(Qe=Ie[je-1].div,Ut=Qe.offsetTop+Qe.clientTop);for(let sn=je-2;sn>=0&&(Qe=Ie[sn].div,!(Qe.offsetTop+Qe.clientTop+Qe.clientHeight<=Ut));--sn)je=sn;return je}function Y(je){let Ie=Math.hypot(je.deltaX,je.deltaY);const bt=Math.atan2(je.deltaY,je.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const bt=document.getElementById(Ie);this.#e=bt.classList}get percent(){return this.#t}set percent(Ie){this.#t=function Ne(je,Ie,bt){return Math.min(Math.max(je,Ie),bt)}(Ie,0,100),isNaN(Ie)?this.#e.add("indeterminate"):(this.#e.remove("indeterminate"),ge.setProperty("--progressBar-percent",`${this.#t}%`))}setWidth(Ie){if(!Ie)return;const Qe=Ie.parentNode.offsetWidth-Ie.offsetWidth;Qe>0&&ge.setProperty("--progressBar-end-offset",`${Qe}px`)}hide(){this.#n&&(this.#n=!1,this.#e.add("hidden"))}show(){this.#n||(this.#n=!0,this.#e.remove("hidden"))}}},(e,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.StructTreeLayerBuilder=void 0;const c={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},g=/^H(\d+)$/;l.StructTreeLayerBuilder=class y{constructor({pdfPage:C}){this.pdfPage=C}render(C){return this._walk(C)}_setAttributes(C,b){void 0!==C.alt&&b.setAttribute("aria-label",C.alt),void 0!==C.id&&b.setAttribute("aria-owns",C.id),void 0!==C.lang&&b.setAttribute("lang",C.lang)}_walk(C){if(!C)return null;const b=document.createElement("span");if("role"in C){const{role:p}=C,f=p.match(g);f?(b.setAttribute("role","heading"),b.setAttribute("aria-level",f[1])):c[p]&&b.setAttribute("role",c[p])}if(this._setAttributes(C,b),C.children)if(1===C.children.length&&"id"in C.children[0])this._setAttributes(C.children[0],b);else for(const p of C.children)b.append(this._walk(p));return b}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.TextLayerBuilder=void 0;var g=c(3);l.TextLayerBuilder=class _{constructor({textLayerDiv:b,eventBus:p,pageIndex:f,viewport:S,highlighter:v=null,enhanceTextSelection:M=!1,accessibilityManager:E=null}){this.textLayerDiv=b,this.eventBus=p,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=f+1,this.viewport=S,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=v,this.enhanceTextSelection=M,this.accessibilityManager=E,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const b=document.createElement("div");b.className="endOfContent",this.textLayerDiv.append(b)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(b=0){if(!this.textContent&&!this.textContentStream||this.renderingDone)return;this.cancel(),this.textDivs.length=0,this.highlighter?.setTextMapping(this.textDivs,this.textContentItemsStr),this.accessibilityManager?.setTextMapping(this.textDivs);const p=document.createDocumentFragment();this.textLayerRenderTask=(0,g.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:p,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:b,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{this.textLayerDiv.append(p),this._finishRendering(),this.highlighter?.enable(),this.accessibilityManager?.enable()},function(f){})}cancel(){this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),this.highlighter?.disable(),this.accessibilityManager?.disable()}setTextContentStream(b){this.cancel(),this.textContentStream=b}setTextContent(b){this.cancel(),this.textContent=b}_bindMouse(){const b=this.textLayerDiv;let p=null;b.addEventListener("mousedown",f=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return this.textLayerRenderTask.expandTextDivs(!0),void(p&&(clearTimeout(p),p=null));const S=b.querySelector(".endOfContent");if(!S)return;let v=f.target!==b;if(v=v&&"none"!==window.getComputedStyle(S).getPropertyValue("-moz-user-select"),v){const M=b.getBoundingClientRect(),E=Math.max(0,(f.pageY-M.top)/M.height);S.style.top=(100*E).toFixed(2)+"%"}S.classList.add("active")}),b.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask)return void(p=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),p=null},300));const f=b.querySelector(".endOfContent");f&&(f.style.top="",f.classList.remove("active"))})}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.XfaLayerBuilder=void 0;var g=c(3);l.XfaLayerBuilder=class y{constructor({pageDiv:C,pdfPage:b,annotationStorage:p=null,linkService:f,xfaHtml:S=null}){this.pageDiv=C,this.pdfPage=b,this.annotationStorage=p,this.linkService=f,this.xfaHtml=S,this.div=null,this._cancelled=!1}render(C,b="display"){if("print"===b){const p={viewport:C.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:b},f=document.createElement("div");this.pageDiv.append(f),p.div=f;const S=g.XfaLayer.render(p);return Promise.resolve(S)}return this.pdfPage.getXfa().then(p=>{if(this._cancelled||!p)return{textDivs:[]};const f={viewport:C.clone({dontFlip:!0}),div:this.div,xfaHtml:p,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:b};return this.div?g.XfaLayer.update(f):(this.div=document.createElement("div"),this.pageDiv.append(this.div),f.div=this.div,g.XfaLayer.render(f))}).catch(p=>{console.error(p)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.PDFViewer=l.PDFSinglePageViewer=void 0;var g=c(7),y=c(12);l.PDFViewer=class _ extends y.BaseViewer{},l.PDFSinglePageViewer=class C extends y.BaseViewer{_resetView(){super._resetView(),this._scrollMode=g.ScrollMode.PAGE,this._spreadMode=g.SpreadMode.NONE}set scrollMode(p){}_updateScrollMode(){}set spreadMode(p){}_updateSpreadMode(){}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.PagesCountLimit=l.PDFPageViewBuffer=l.BaseViewer=void 0;var g=c(3),y=c(7),_=c(2),C=c(5),b=c(4),p=c(13),f=c(16),S=c(6),v=c(8),M=c(17),E=c(9),A=c(10);const N="enablePermissions",F={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};function T(j){return Object.values(g.AnnotationEditorType).includes(j)&&j!==g.AnnotationEditorType.DISABLE}l.PagesCountLimit=F;class P{#e=new Set;#t=0;constructor(L){this.#t=L}push(L){const B=this.#e;B.has(L)&&B.delete(L),B.add(L),B.size>this.#t&&this.#n()}resize(L,B=null){this.#t=L;const $=this.#e;if(B){const ee=$.size;let le=1;for(const se of $)if(B.has(se.id)&&($.delete(se),$.add(se)),++le>ee)break}for(;$.size>this.#t;)this.#n()}has(L){return this.#e.has(L)}[Symbol.iterator](){return this.#e.keys()}#n(){const L=this.#e.keys().next().value;L?.destroy(),this.#e.delete(L)}}l.PDFPageViewBuffer=P;class I{#e=null;#t=g.AnnotationEditorType.DISABLE;#n=null;#r=g.AnnotationMode.ENABLE_FORMS;#o=!1;#c=0;#a=null;#i=null;constructor(L){if(this.constructor===I)throw new Error("Cannot initialize BaseViewer.");const B="2.16.105";if(g.version!==B)throw new Error(`The API version "${g.version}" does not match the Viewer version "${B}".`);if(this.container=L.container,this.viewer=L.viewer||L.container.firstElementChild,"DIV"!==this.container?.tagName.toUpperCase()||"DIV"!==this.viewer?.tagName.toUpperCase())throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&"absolute"!==getComputedStyle(this.container).position)throw new Error("The `container` must be absolutely positioned.");this.eventBus=L.eventBus,this.linkService=L.linkService||new S.SimpleLinkService,this.downloadManager=L.downloadManager||null,this.findController=L.findController||null,this._scriptingManager=L.scriptingManager||null,this.removePageBorders=L.removePageBorders||!1,this.textLayerMode=L.textLayerMode??y.TextLayerMode.ENABLE,this.#r=L.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.#t=L.annotationEditorMode??g.AnnotationEditorType.DISABLE,this.imageResourcesPath=L.imageResourcesPath||"",this.enablePrintAutoRotate=L.enablePrintAutoRotate||!1,this.renderer=L.renderer||y.RendererType.CANVAS,this.useOnlyCssZoom=L.useOnlyCssZoom||!1,this.maxCanvasPixels=L.maxCanvasPixels,this.l10n=L.l10n||b.NullL10n,this.#o=L.enablePermissions||!1,this.pageColors=L.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!L.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new f.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=L.renderingQueue,this.scroll=(0,y.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=y.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(L){return this._pages[L]}get pageViewsReady(){return!!this._pagesCapability.settled&&this._pages.every(function(L){return L?.pdfPage})}get renderForms(){return this.#r===g.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(L){if(!Number.isInteger(L))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(L,!0)||console.error(`currentPageNumber: "${L}" is not a valid page.`))}_setCurrentPageNumber(L,B=!1){if(this._currentPageNumber===L)return B&&this.#f(),!0;if(!(0=0&&(B=$+1)}this._setCurrentPageNumber(B,!0)||console.error(`currentPageLabel: "${L}" is not a valid page.`)}get currentScale(){return this._currentScale!==y.UNKNOWN_SCALE?this._currentScale:y.DEFAULT_SCALE}set currentScale(L){if(isNaN(L))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(L,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(L){this.pdfDocument&&this._setScale(L,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(L){if(!(0,y.isValidRotation)(L))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||((L%=360)<0&&(L+=360),this._pagesRotation===L))return;this._pagesRotation=L;const B=this._currentPageNumber,$={rotation:L};for(const ee of this._pages)ee.update($);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:L,pageNumber:B}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}#h(L){const B={annotationEditorMode:this.#t,annotationMode:this.#r,textLayerMode:this.textLayerMode};return L&&(L.includes(g.PermissionFlag.COPY)||this.viewer.classList.add(N),L.includes(g.PermissionFlag.MODIFY_CONTENTS)||(B.annotationEditorMode=g.AnnotationEditorType.DISABLE),!L.includes(g.PermissionFlag.MODIFY_ANNOTATIONS)&&!L.includes(g.PermissionFlag.FILL_INTERACTIVE_FORMS)&&this.#r===g.AnnotationMode.ENABLE_FORMS&&(B.annotationMode=g.AnnotationMode.ENABLE)),B}#u(){if("hidden"===document.visibilityState||!this.container.offsetParent||0===this._getVisiblePages().views.length)return Promise.resolve();const L=new Promise(B=>{this.#i=()=>{"hidden"===document.visibilityState&&(B(),document.removeEventListener("visibilitychange",this.#i),this.#i=null)},document.addEventListener("visibilitychange",this.#i)});return Promise.race([this._onePageRenderedCapability.promise,L])}setDocument(L){var B=this;if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),this.#n&&(this.#n.destroy(),this.#n=null)),this.pdfDocument=L,!L)return;const $=L.isPureXfa,ee=L.numPages,le=L.getPage(1),se=L.getOptionalContentConfig(),K=this.#o?L.getPermissions():Promise.resolve();if(ee>F.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Q=this._scrollMode=y.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Q})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:ee})},()=>{}),this._onBeforeDraw=Q=>{const re=this._pages[Q.pageNumber-1];re&&this.#e.push(re)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=Q=>{Q.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:Q.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([le,K]).then(([Q,re])=>{if(L!==this.pdfDocument)return;this._firstPageCapability.resolve(Q),this._optionalContentConfigPromise=se;const{annotationEditorMode:X,annotationMode:z,textLayerMode:Y}=this.#h(re);if(X!==g.AnnotationEditorType.DISABLE){const it=X;$?console.warn("Warning: XFA-editing is not implemented."):T(it)?(this.#n=new g.AnnotationEditorUIManager(this.container,this.eventBus),it!==g.AnnotationEditorType.NONE&&this.#n.updateMode(it)):console.error(`Invalid AnnotationEditor mode: ${it}`)}const q=this._scrollMode===y.ScrollMode.PAGE?null:this.viewer,de=this.currentScale,me=Q.getViewport({scale:de*g.PixelsPerInch.PDF_TO_CSS_UNITS}),Oe=Y===y.TextLayerMode.DISABLE||$?null:this,Re=z!==g.AnnotationMode.DISABLE?this:null,Ae=$?this:null,ge=this.#n?this:null;for(let it=1;it<=ee;++it){const qe=new p.PDFPageView({container:q,eventBus:this.eventBus,id:it,scale:de,defaultViewport:me.clone(),optionalContentConfigPromise:se,renderingQueue:this.renderingQueue,textLayerFactory:Oe,textLayerMode:Y,annotationLayerFactory:Re,annotationMode:z,xfaLayerFactory:Ae,annotationEditorLayerFactory:ge,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(qe)}const Ne=this._pages[0];Ne&&(Ne.setPdfPage(Q),this.linkService.cachePageRef(1,Q.ref)),this._scrollMode===y.ScrollMode.PAGE?this.#l():this._spreadMode!==y.SpreadMode.NONE&&this._updateSpreadMode(),this.#u().then(n(function*(){if(B.findController&&B.findController.setDocument(L),B._scriptingManager&&B._scriptingManager.setDocument(L),B.#n&&B.eventBus.dispatch("annotationeditormodechanged",{source:B,mode:B.#t}),L.loadingParams.disableAutoFetch||ee>F.FORCE_LAZY_PAGE_INIT)return void B._pagesCapability.resolve();let it=ee-1;if(it<=0)B._pagesCapability.resolve();else for(let qe=2;qe<=ee;++qe){const et=L.getPage(qe).then(De=>{const je=B._pages[qe-1];je.pdfPage||je.setPdfPage(De),B.linkService.cachePageRef(qe,De.ref),0==--it&&B._pagesCapability.resolve()},De=>{console.error(`Unable to get page ${qe} to initialize viewer`,De),0==--it&&B._pagesCapability.resolve()});qe%F.PAUSE_EAGER_PAGE_INIT==0&&(yield et)}})),this.eventBus.dispatch("pagesinit",{source:this}),L.getMetadata().then(({info:it})=>{L===this.pdfDocument&&it.Language&&(this.viewer.lang=it.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Q=>{console.error("Unable to initialize viewer",Q),this._pagesCapability.reject(Q)})}setPageLabels(L){if(this.pdfDocument){L?Array.isArray(L)&&this.pdfDocument.numPages===L.length?this._pageLabels=L:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let B=0,$=this._pages.length;B<$;B++)this._pages[B].setPageLabel(this._pageLabels?.[B]??null)}}_resetView(){this._pages=[],this._currentPageNumber=1,this._currentScale=y.UNKNOWN_SCALE,this._currentScaleValue=null,this._pageLabels=null,this.#e=new P(10),this._location=null,this._pagesRotation=0,this._optionalContentConfigPromise=null,this._firstPageCapability=(0,g.createPromiseCapability)(),this._onePageRenderedCapability=(0,g.createPromiseCapability)(),this._pagesCapability=(0,g.createPromiseCapability)(),this._scrollMode=y.ScrollMode.VERTICAL,this._previousScrollMode=y.ScrollMode.UNKNOWN,this._spreadMode=y.SpreadMode.NONE,this.#a={previousPageNumber:1,scrollDown:!0,pages:[]},this._onBeforeDraw&&(this.eventBus._off("pagerender",this._onBeforeDraw),this._onBeforeDraw=null),this._onAfterDraw&&(this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null),this.#i&&(document.removeEventListener("visibilitychange",this.#i),this.#i=null),this.viewer.textContent="",this._updateScrollMode(),this.viewer.removeAttribute("lang"),this.viewer.classList.remove(N)}#l(){if(this._scrollMode!==y.ScrollMode.PAGE)throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");const L=this._currentPageNumber,B=this.#a,$=this.viewer;if($.textContent="",B.pages.length=0,this._spreadMode!==y.SpreadMode.NONE||this.isInPresentationMode){const ee=new Set,le=this._spreadMode-1;-1===le?ee.add(L-1):L%2!==le?(ee.add(L-1),ee.add(L)):(ee.add(L-2),ee.add(L-1));const se=document.createElement("div");if(se.className="spread",this.isInPresentationMode){const K=document.createElement("div");K.className="dummyPage",se.append(K)}for(const K of ee){const Q=this._pages[K];Q&&(se.append(Q.div),B.pages.push(Q))}$.append(se)}else{const ee=this._pages[L-1];$.append(ee.div),B.pages.push(ee)}B.scrollDown=L>=B.previousPageNumber,B.previousPageNumber=L}_scrollUpdate(){0!==this.pagesCount&&this.update()}#s(L,B=null){const{div:$,id:ee}=L;if(this._scrollMode===y.ScrollMode.PAGE&&(this._setCurrentPageNumber(ee),this.#l(),this.update()),!B&&!this.isInPresentationMode){const le=$.offsetLeft+$.clientLeft,se=le+$.clientWidth,{scrollLeft:K,clientWidth:Q}=this.container;(this._scrollMode===y.ScrollMode.HORIZONTAL||leK+Q)&&(B={left:0,top:0})}(0,y.scrollIntoView)($,B)}#g(L){return L===this._currentScale||Math.abs(L-this._currentScale)<1e-15}_setScaleUpdatePages(L,B,$=!1,ee=!1){if(this._currentScaleValue=B.toString(),this.#g(L))return void(ee&&this.eventBus.dispatch("scalechanging",{source:this,scale:L,presetValue:B}));y.docStyle.setProperty("--scale-factor",L*g.PixelsPerInch.PDF_TO_CSS_UNITS);const le={scale:L};for(const se of this._pages)se.update(le);if(this._currentScale=L,!$){let K,se=this._currentPageNumber;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(se=this._location.pageNumber,K=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:se,destArray:K,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:L,presetValue:ee?B:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==y.SpreadMode.NONE&&this._scrollMode!==y.ScrollMode.HORIZONTAL?2:1}_setScale(L,B=!1){let $=parseFloat(L);if($>0)this._setScaleUpdatePages($,L,B,!1);else{const ee=this._pages[this._currentPageNumber-1];if(!ee)return;let le=y.SCROLLBAR_PADDING,se=y.VERTICAL_PADDING;this.isInPresentationMode?le=se=4:this.removePageBorders?le=se=0:this._scrollMode===y.ScrollMode.HORIZONTAL&&([le,se]=[se,le]);const K=(this.container.clientWidth-le)/ee.width*ee.scale/this._pageWidthScaleFactor,Q=(this.container.clientHeight-se)/ee.height*ee.scale;switch(L){case"page-actual":$=1;break;case"page-width":$=K;break;case"page-height":$=Q;break;case"page-fit":$=Math.min(K,Q);break;case"auto":const re=(0,y.isPortraitOrientation)(ee)?K:Math.min(Q,K);$=Math.min(y.MAX_AUTO_SCALE,re);break;default:return void console.error(`_setScale: "${L}" is an unknown zoom value.`)}this._setScaleUpdatePages($,L,B,!0)}}#f(){const L=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),this.#s(L)}pageLabelToPageNumber(L){if(!this._pageLabels)return null;const B=this._pageLabels.indexOf(L);return B<0?null:B+1}scrollPageIntoView({pageNumber:L,destArray:B=null,allowNegativeOffset:$=!1,ignoreDestinationZoom:ee=!1}){if(!this.pdfDocument)return;const le=Number.isInteger(L)&&this._pages[L-1];if(!le)return void console.error(`scrollPageIntoView: "${L}" is not a valid pageNumber parameter.`);if(this.isInPresentationMode||!B)return void this._setCurrentPageNumber(L,!0);let X,z,se=0,K=0,Q=0,re=0;const Y=le.rotation%180!=0,q=(Y?le.height:le.width)/le.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS,de=(Y?le.width:le.height)/le.scale/g.PixelsPerInch.PDF_TO_CSS_UNITS;let me=0;switch(B[1].name){case"XYZ":se=B[2],K=B[3],me=B[4],se=null!==se?se:0,K=null!==K?K:de;break;case"Fit":case"FitB":me="page-fit";break;case"FitH":case"FitBH":K=B[2],me="page-width",null===K&&this._location?(se=this._location.left,K=this._location.top):("number"!=typeof K||K<0)&&(K=de);break;case"FitV":case"FitBV":se=B[2],Q=q,re=de,me="page-height";break;case"FitR":se=B[2],K=B[3],Q=B[4]-se,re=B[5]-K,X=(this.container.clientWidth-(this.removePageBorders?0:y.SCROLLBAR_PADDING))/Q/g.PixelsPerInch.PDF_TO_CSS_UNITS,z=(this.container.clientHeight-(this.removePageBorders?0:y.VERTICAL_PADDING))/re/g.PixelsPerInch.PDF_TO_CSS_UNITS,me=Math.min(Math.abs(X),Math.abs(z));break;default:return void console.error(`scrollPageIntoView: "${B[1].name}" is not a valid destination type.`)}if(ee||(me&&me!==this._currentScale?this.currentScaleValue=me:this._currentScale===y.UNKNOWN_SCALE&&(this.currentScaleValue=y.DEFAULT_SCALE_VALUE)),"page-fit"===me&&!B[4])return void this.#s(le);const Oe=[le.viewport.convertToViewportPoint(se,K),le.viewport.convertToViewportPoint(se+Q,K+re)];let Re=Math.min(Oe[0][0],Oe[1][0]),Ae=Math.min(Oe[0][1],Oe[1][1]);$||(Re=Math.max(Re,0),Ae=Math.max(Ae,0)),this.#s(le,{left:Re,top:Ae})}_updateLocation(L){const B=this._currentScale,$=this._currentScaleValue,ee=parseFloat($)===B?Math.round(1e4*B)/100:$,le=L.id,K=this.container,Q=this._pages[le-1].getPagePoint(K.scrollLeft-L.x,K.scrollTop-L.y),re=Math.round(Q[0]),X=Math.round(Q[1]);let z=`#page=${le}`;this.isInPresentationMode||(z+=`&zoom=${ee},${re},${X}`),this._location={pageNumber:le,scale:ee,top:X,left:re,rotation:this._pagesRotation,pdfOpenParams:z}}update(){const L=this._getVisiblePages(),B=L.views,$=B.length;if(0===$)return;const ee=Math.max(10,2*$+1);this.#e.resize(ee,L.ids),this.renderingQueue.renderHighestPriority(L);const le=this._spreadMode===y.SpreadMode.NONE&&(this._scrollMode===y.ScrollMode.PAGE||this._scrollMode===y.ScrollMode.VERTICAL),se=this._currentPageNumber;let K=!1;for(const Q of B){if(Q.percent<100)break;if(Q.id===se&&le){K=!0;break}}this._setCurrentPageNumber(K?se:B[0].id),this._updateLocation(L.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(L){return this.container.contains(L)}focus(){this.container.focus()}get _isContainerRtl(){return"rtl"===getComputedStyle(this.container).direction}get isInPresentationMode(){return this.presentationModeState===y.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===y.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return!this.isInPresentationMode&&this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const L=this._scrollMode===y.ScrollMode.PAGE?this.#a.pages:this._pages,B=this._scrollMode===y.ScrollMode.HORIZONTAL;return(0,y.getVisibleElements)({scrollEl:this.container,views:L,sortByVisibility:!0,horizontal:B,rtl:B&&this._isContainerRtl})}isPageVisible(L){return!!this.pdfDocument&&(Number.isInteger(L)&&L>0&&L<=this.pagesCount?this._getVisiblePages().ids.has(L):(console.error(`isPageVisible: "${L}" is not a valid page.`),!1))}isPageCached(L){return!!this.pdfDocument&&(Number.isInteger(L)&&L>0&&L<=this.pagesCount?this.#e.has(this._pages[L-1]):(console.error(`isPageCached: "${L}" is not a valid page.`),!1))}cleanup(){for(const L of this._pages)L.renderingState!==y.RenderingStates.FINISHED&&L.reset()}_cancelRendering(){for(const L of this._pages)L.cancelRendering()}#v(L){var B=this;return n(function*(){if(L.pdfPage)return L.pdfPage;try{const $=yield B.pdfDocument.getPage(L.id);return L.pdfPage||L.setPdfPage($),B.linkService._cachedPageNumber?.($.ref)||B.linkService.cachePageRef(L.id,$.ref),$}catch($){return console.error("Unable to get page for page view",$),null}})()}#p(L){if(1===L.first?.id)return!0;if(L.last?.id===this.pagesCount)return!1;switch(this._scrollMode){case y.ScrollMode.PAGE:return this.#a.scrollDown;case y.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}#_(L){for(const B of L)this._pages[B-1]?.toggleLoadingIconSpinner(!0);for(const B of this.#e)L.has(B.id)||B.toggleLoadingIconSpinner(!1)}forceRendering(L){const B=L||this._getVisiblePages(),$=this.#p(B),le=this.renderingQueue.getHighestPriority(B,this._pages,$,this._spreadMode!==y.SpreadMode.NONE&&this._scrollMode!==y.ScrollMode.HORIZONTAL);return this.#_(B.ids),!!le&&(this.#v(le).then(()=>{this.renderingQueue.renderView(le)}),!0)}createTextLayerBuilder({textLayerDiv:L,pageIndex:B,viewport:$,enhanceTextSelection:ee=!1,eventBus:le,highlighter:se,accessibilityManager:K=null}){return new E.TextLayerBuilder({textLayerDiv:L,eventBus:le,pageIndex:B,viewport:$,enhanceTextSelection:!this.isInPresentationMode&&ee,highlighter:se,accessibilityManager:K})}createTextHighlighter({pageIndex:L,eventBus:B}){return new M.TextHighlighter({eventBus:B,pageIndex:L,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder({pageDiv:L,pdfPage:B,annotationStorage:$=this.pdfDocument?.annotationStorage,imageResourcesPath:ee="",renderForms:le=!0,l10n:se=b.NullL10n,enableScripting:K=this.enableScripting,hasJSActionsPromise:Q=this.pdfDocument?.hasJSActions(),mouseState:re=this._scriptingManager?.mouseState,fieldObjectsPromise:X=this.pdfDocument?.getFieldObjects(),annotationCanvasMap:z=null,accessibilityManager:Y=null}){return new C.AnnotationLayerBuilder({pageDiv:L,pdfPage:B,annotationStorage:$,imageResourcesPath:ee,renderForms:le,linkService:this.linkService,downloadManager:this.downloadManager,l10n:se,enableScripting:K,hasJSActionsPromise:Q,mouseState:re,fieldObjectsPromise:X,annotationCanvasMap:z,accessibilityManager:Y})}createAnnotationEditorLayerBuilder({uiManager:L=this.#n,pageDiv:B,pdfPage:$,accessibilityManager:ee=null,l10n:le,annotationStorage:se=this.pdfDocument?.annotationStorage}){return new _.AnnotationEditorLayerBuilder({uiManager:L,pageDiv:B,pdfPage:$,annotationStorage:se,accessibilityManager:ee,l10n:le})}createXfaLayerBuilder({pageDiv:L,pdfPage:B,annotationStorage:$=this.pdfDocument?.annotationStorage}){return new A.XfaLayerBuilder({pageDiv:L,pdfPage:B,annotationStorage:$,linkService:this.linkService})}createStructTreeLayerBuilder({pdfPage:L}){return new v.StructTreeLayerBuilder({pdfPage:L})}get hasEqualPageSizes(){const L=this._pages[0];for(let B=1,$=this._pages.length;B<$;++B){const ee=this._pages[B];if(ee.width!==L.width||ee.height!==L.height)return!1}return!0}getPagesOverview(){return this._pages.map(L=>{const B=L.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,y.isPortraitOrientation)(B)?{width:B.width,height:B.height,rotation:B.rotation}:{width:B.height,height:B.width,rotation:(B.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(L){if(!(L instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${L}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=L;const B={optionalContentConfigPromise:L};for(const $ of this._pages)$.update(B);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:L})}get scrollMode(){return this._scrollMode}set scrollMode(L){if(this._scrollMode!==L){if(!(0,y.isValidScrollMode)(L))throw new Error(`Invalid scroll mode: ${L}`);this.pagesCount>F.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=L,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:L}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(L=null){const B=this._scrollMode,$=this.viewer;$.classList.toggle("scrollHorizontal",B===y.ScrollMode.HORIZONTAL),$.classList.toggle("scrollWrapped",B===y.ScrollMode.WRAPPED),this.pdfDocument&&L&&(B===y.ScrollMode.PAGE?this.#l():this._previousScrollMode===y.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(L,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(L){if(this._spreadMode!==L){if(!(0,y.isValidSpreadMode)(L))throw new Error(`Invalid spread mode: ${L}`);this._spreadMode=L,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:L}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(L=null){if(!this.pdfDocument)return;const B=this.viewer,$=this._pages;if(this._scrollMode===y.ScrollMode.PAGE)this.#l();else if(B.textContent="",this._spreadMode===y.SpreadMode.NONE)for(const ee of this._pages)B.append(ee.div);else{const ee=this._spreadMode-1;let le=null;for(let se=0,K=$.length;se=re;Q--){const z=le[Q+1]-1;if(le[Q]z)return z-L}if(B){const Q=le[0];if(QL)return Q-L+1}break}break}case y.ScrollMode.HORIZONTAL:break;case y.ScrollMode.PAGE:case y.ScrollMode.VERTICAL:{if(this._spreadMode===y.SpreadMode.NONE)break;const $=this._spreadMode-1;if(B&&L%2!==$)break;if(!B&&L%2===$)break;const{views:ee}=this._getVisiblePages(),le=B?L-1:L+1;for(const{id:se,percent:K,widthPercent:Q}of ee)if(se===le){if(K>0&&100===Q)return 2;break}break}}return 1}nextPage(){const L=this._currentPageNumber,B=this.pagesCount;if(L>=B)return!1;const $=this._getPageAdvance(L,!1)||1;return this.currentPageNumber=Math.min(L+$,B),!0}previousPage(){const L=this._currentPageNumber;if(L<=1)return!1;const B=this._getPageAdvance(L,!0)||1;return this.currentPageNumber=Math.max(L-B,1),!0}increaseScale(L=1){let B=this._currentScale;do{B=(B*y.DEFAULT_SCALE_DELTA).toFixed(2),B=Math.ceil(10*B)/10,B=Math.min(y.MAX_SCALE,B)}while(--L>0&&B0&&B>y.MIN_SCALE);this.currentScaleValue=B}updateContainerHeightCss(){const L=this.container.clientHeight;L!==this.#c&&(this.#c=L,y.docStyle.setProperty("--viewer-container-height",`${L}px`))}get annotationEditorMode(){return this.#n?this.#t:g.AnnotationEditorType.DISABLE}set annotationEditorMode(L){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");if(this.#t!==L){if(!T(L))throw new Error(`Invalid AnnotationEditor mode: ${L}`);this.pdfDocument&&(this.#t=L,this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:L}),this.#n.updateMode(L))}}set annotationEditorParams({type:L,value:B}){if(!this.#n)throw new Error("The AnnotationEditor is not enabled.");this.#n.updateParams(L,B)}refresh(){if(!this.pdfDocument)return;const L={};for(const B of this._pages)B.update(L);this.update()}}l.BaseViewer=I},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.PDFPageView=void 0;var g=c(3),y=c(7),_=c(14),C=c(4),b=c(15);const p=_.compatibilityParams.maxCanvasPixels||16777216;l.PDFPageView=class f{#e=g.AnnotationMode.ENABLE_FORMS;#t={initialOptionalContent:!0,regularAnnotations:!0};constructor(v){const M=v.container,E=v.defaultViewport;this.id=v.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=v.scale||y.DEFAULT_SCALE,this.viewport=E,this.pdfPageRotate=E.rotation,this._optionalContentConfigPromise=v.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=v.textLayerMode??y.TextLayerMode.ENABLE,this.#e=v.annotationMode??g.AnnotationMode.ENABLE_FORMS,this.imageResourcesPath=v.imageResourcesPath||"",this.useOnlyCssZoom=v.useOnlyCssZoom||!1,this.maxCanvasPixels=v.maxCanvasPixels||p,this.pageColors=v.pageColors||null,this.eventBus=v.eventBus,this.renderingQueue=v.renderingQueue,this.textLayerFactory=v.textLayerFactory,this.annotationLayerFactory=v.annotationLayerFactory,this.annotationEditorLayerFactory=v.annotationEditorLayerFactory,this.xfaLayerFactory=v.xfaLayerFactory,this.textHighlighter=v.textHighlighterFactory?.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=v.structTreeLayerFactory,this.renderer=v.renderer||y.RendererType.CANVAS,this.l10n=v.l10n||C.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=y.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!this.renderingQueue?.hasViewer(),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const A=document.createElement("div");if(A.className="page",A.style.width=Math.floor(this.viewport.width)+"px",A.style.height=Math.floor(this.viewport.height)+"px",A.setAttribute("data-page-number",this.id),A.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(k=>{A.setAttribute("aria-label",k)}),this.div=A,M?.append(A),this._isStandalone){const{optionalContentConfigPromise:k}=v;k&&k.then(N=>{k===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=N.hasInitialVisibility)})}}setPdfPage(v){this.pdfPage=v,this.pdfPageRotate=v.rotate,this.viewport=v.getViewport({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}_renderAnnotationLayer(){var v=this;return n(function*(){let M=null;try{yield v.annotationLayer.render(v.viewport,"display")}catch(E){console.error(`_renderAnnotationLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("annotationlayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_renderAnnotationEditorLayer(){var v=this;return n(function*(){let M=null;try{yield v.annotationEditorLayer.render(v.viewport,"display")}catch(E){console.error(`_renderAnnotationEditorLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("annotationeditorlayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_renderXfaLayer(){var v=this;return n(function*(){let M=null;try{const E=yield v.xfaLayer.render(v.viewport,"display");v.textHighlighter&&v._buildXfaTextContentItems(E.textDivs)}catch(E){console.error(`_renderXfaLayer: "${E}".`),M=E}finally{v.eventBus.dispatch("xfalayerrendered",{source:v,pageNumber:v.id,error:M})}})()}_buildXfaTextContentItems(v){var M=this;return n(function*(){const E=yield M.pdfPage.getTextContent(),A=[];for(const k of E.items)A.push(k.str);M.textHighlighter.setTextMapping(v,A),M.textHighlighter.enable()})()}_resetZoomLayer(v=!1){if(!this.zoomLayer)return;const M=this.zoomLayer.firstChild;this.paintedViewportMap.delete(M),M.width=0,M.height=0,v&&this.zoomLayer.remove(),this.zoomLayer=null}reset({keepZoomLayer:v=!1,keepAnnotationLayer:M=!1,keepAnnotationEditorLayer:E=!1,keepXfaLayer:A=!1}={}){this.cancelRendering({keepAnnotationLayer:M,keepAnnotationEditorLayer:E,keepXfaLayer:A}),this.renderingState=y.RenderingStates.INITIAL;const k=this.div;k.style.width=Math.floor(this.viewport.width)+"px",k.style.height=Math.floor(this.viewport.height)+"px";const N=k.childNodes,F=v&&this.zoomLayer||null,T=M&&this.annotationLayer?.div||null,P=E&&this.annotationEditorLayer?.div||null,I=A&&this.xfaLayer?.div||null;for(let j=N.length-1;j>=0;j--){const L=N[j];switch(L){case F:case T:case P:case I:continue}L.remove()}k.removeAttribute("data-loaded"),T&&this.annotationLayer.hide(),P?this.annotationEditorLayer.hide():this.annotationEditorLayer?.destroy(),I&&this.xfaLayer.hide(),F||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(j=>{this.loadingIconDiv?.setAttribute("aria-label",j)}),k.append(this.loadingIconDiv)}update({scale:v=0,rotation:M=null,optionalContentConfigPromise:E=null}){if(this.scale=v||this.scale,"number"==typeof M&&(this.rotation=M),E instanceof Promise&&(this._optionalContentConfigPromise=E,E.then(N=>{E===this._optionalContentConfigPromise&&(this.#t.initialOptionalContent=N.hasInitialVisibility)})),this.viewport=this.viewport.clone({scale:this.scale*g.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:(this.rotation+this.pdfPageRotate)%360}),this._isStandalone&&y.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg)return this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});let k=!1;if(this.canvas&&this.maxCanvasPixels>0){const N=this.outputScale;(Math.floor(this.viewport.width)*N.sx|0)*(Math.floor(this.viewport.height)*N.sy|0)>this.maxCanvasPixels&&(k=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&k)return this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),void this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering({keepAnnotationLayer:v=!1,keepAnnotationEditorLayer:M=!1,keepXfaLayer:E=!1}={}){this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!v||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!M||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!E||!this.xfaLayer.div)&&(this.xfaLayer.cancel(),this.xfaLayer=null,this.textHighlighter?.disable()),this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform({target:v,redrawAnnotationLayer:M=!1,redrawAnnotationEditorLayer:E=!1,redrawXfaLayer:A=!1}){const k=this.viewport.width,N=this.viewport.height,F=this.div;v.style.width=v.parentNode.style.width=F.style.width=Math.floor(k)+"px",v.style.height=v.parentNode.style.height=F.style.height=Math.floor(N)+"px";const T=this.viewport.rotation-this.paintedViewportMap.get(v).rotation,P=Math.abs(T);let I=1,j=1;if((90===P||270===P)&&(I=N/k,j=k/N),v.style.transform=`rotate(${T}deg) scale(${I}, ${j})`,this.textLayer){const L=this.textLayer.viewport,$=Math.abs(this.viewport.rotation-L.rotation);let ee=k/L.width;(90===$||270===$)&&(ee=k/L.height);const le=this.textLayer.textLayerDiv;let se,K;switch($){case 0:se=K=0;break;case 90:se=0,K="-"+le.style.height;break;case 180:se="-"+le.style.width,K="-"+le.style.height;break;case 270:se="-"+le.style.width,K=0;break;default:console.error("Bad rotation value.")}le.style.transform=`rotate(${$}deg) scale(${ee}) translate(${se}, ${K})`,le.style.transformOrigin="0% 0%"}M&&this.annotationLayer&&this._renderAnnotationLayer(),E&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),A&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(v,M){return this.viewport.convertToPdfPoint(v,M)}toggleLoadingIconSpinner(v=!1){this.loadingIconDiv?.classList.toggle("notVisible",!v)}draw(){var v=this;this.renderingState!==y.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:M,pdfPage:E}=this;if(!E)return this.renderingState=y.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=y.RenderingStates.RUNNING;const A=document.createElement("div");A.style.width=M.style.width,A.style.height=M.style.height,A.classList.add("canvasWrapper");const k=this.annotationLayer?.div||this.annotationEditorLayer?.div;k?k.before(A):M.append(A);let N=null;if(this.textLayerMode!==y.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||=new b.TextAccessibilityManager;const j=document.createElement("div");j.className="textLayer",j.style.width=A.style.width,j.style.height=A.style.height,k?k.before(j):M.append(j),N=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:j,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===y.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=N,this.#e!==g.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||=new Map,this.annotationLayer||=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:M,pdfPage:E,imageResourcesPath:this.imageResourcesPath,renderForms:this.#e===g.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager})),this.xfaLayer?.div&&M.append(this.xfaLayer.div);let F=null;this.renderingQueue&&(F=j=>{if(!this.renderingQueue.isHighestPriority(this))return this.renderingState=y.RenderingStates.PAUSED,void(this.resume=()=>{this.renderingState=y.RenderingStates.RUNNING,j()});j()});const T=function(){var j=n(function*(L=null){if(P===v.paintTask&&(v.paintTask=null),L instanceof g.RenderingCancelledException)v._renderError=null;else if(v._renderError=L,v.renderingState=y.RenderingStates.FINISHED,v.loadingIconDiv&&(v.loadingIconDiv.remove(),delete v.loadingIconDiv),v._resetZoomLayer(!0),v.#t.regularAnnotations=!P.separateAnnots,v.eventBus.dispatch("pagerendered",{source:v,pageNumber:v.id,cssTransform:!1,timestamp:performance.now(),error:v._renderError}),L)throw L});return function(){return j.apply(this,arguments)}}(),P=this.renderer===y.RendererType.SVG?this.paintOnSvg(A):this.paintOnCanvas(A);P.onRenderContinue=F,this.paintTask=P;const I=P.promise.then(()=>T(null).then(()=>{if(N){const j=E.streamTextContent({includeMarkedContent:!0});N.setTextContentStream(j),N.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:M,pdfPage:E,l10n:this.l10n,accessibilityManager:this._accessibilityManager}),this._renderAnnotationEditorLayer())})}),function(j){return T(j)});return this.xfaLayerFactory&&(this.xfaLayer||=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:M,pdfPage:E}),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=j=>{j.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(L=>{if(!L||!this.canvas)return;const B=this.structTreeLayer.render(L);B.classList.add("structTree"),this.canvas.append(B)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:E})),M.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),I}paintOnCanvas(v){const M=(0,g.createPromiseCapability)(),E={promise:M.promise,onRenderContinue(ee){ee()},cancel(){$.cancel()},get separateAnnots(){return $.separateAnnots}},A=this.viewport,k=document.createElement("canvas");k.setAttribute("role","presentation"),k.hidden=!0;let N=!0;const F=function(){N&&(k.hidden=!1,N=!1)};v.append(k),this.canvas=k;const T=k.getContext("2d",{alpha:!1}),P=this.outputScale=new y.OutputScale;if(this.useOnlyCssZoom){const ee=A.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});P.sx*=ee.width/A.width,P.sy*=ee.height/A.height}if(this.maxCanvasPixels>0){const le=Math.sqrt(this.maxCanvasPixels/(A.width*A.height));P.sx>le||P.sy>le?(P.sx=le,P.sy=le,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const I=(0,y.approximateFraction)(P.sx),j=(0,y.approximateFraction)(P.sy);k.width=(0,y.roundToDivide)(A.width*P.sx,I[0]),k.height=(0,y.roundToDivide)(A.height*P.sy,j[0]),k.style.width=(0,y.roundToDivide)(A.width,I[1])+"px",k.style.height=(0,y.roundToDivide)(A.height,j[1])+"px",this.paintedViewportMap.set(k,A);const B={canvasContext:T,transform:P.scaled?[P.sx,0,0,P.sy,0,0]:null,viewport:this.viewport,annotationMode:this.#e,optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},$=this.pdfPage.render(B);return $.onContinue=function(ee){F(),E.onRenderContinue?E.onRenderContinue(ee):ee()},$.promise.then(function(){F(),M.resolve()},function(ee){F(),M.reject(ee)}),E}paintOnSvg(v){let M=!1;const E=()=>{if(M)throw new g.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},A=this.pdfPage,k=this.viewport.clone({scale:g.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:A.getOperatorList({annotationMode:this.#e}).then(F=>(E(),new g.SVGGraphics(A.commonObjs,A.objs).getSVG(F,k).then(P=>{E(),this.svg=P,this.paintedViewportMap.set(P,k),P.style.width=v.style.width,P.style.height=v.style.height,this.renderingState=y.RenderingStates.FINISHED,v.append(P)}))),onRenderContinue(F){F()},cancel(){M=!0},get separateAnnots(){return!1}}}setPageLabel(v){this.pageLabel="string"==typeof v?v:null,null!==this.pageLabel?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:v,regularAnnotations:M}=this.#t;return v&&M?this.canvas:null}}},(e,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.compatibilityParams=l.OptionKind=l.AppOptions=void 0;const c=Object.create(null);l.compatibilityParams=c;{const b=navigator.userAgent||"",p=navigator.platform||"",f=navigator.maxTouchPoints||1,S=/Android/.test(b);(/\b(iPad|iPhone|iPod)(?=;)/.test(b)||"MacIntel"===p&&f>1||S)&&(c.maxCanvasPixels=5242880)}const g={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};l.OptionKind=g;const y={annotationEditorMode:{value:-1,kind:g.VIEWER+g.PREFERENCE},annotationMode:{value:2,kind:g.VIEWER+g.PREFERENCE},cursorToolOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},defaultZoomValue:{value:"",kind:g.VIEWER+g.PREFERENCE},disableHistory:{value:!1,kind:g.VIEWER},disablePageLabels:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePermissions:{value:!1,kind:g.VIEWER+g.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:g.VIEWER+g.PREFERENCE},enableScripting:{value:!0,kind:g.VIEWER+g.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:g.VIEWER},externalLinkTarget:{value:0,kind:g.VIEWER+g.PREFERENCE},historyUpdateUrl:{value:!1,kind:g.VIEWER+g.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},imageResourcesPath:{value:"./images/",kind:g.VIEWER},maxCanvasPixels:{value:16777216,kind:g.VIEWER},forcePageColors:{value:!1,kind:g.VIEWER+g.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:g.VIEWER+g.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:g.VIEWER+g.PREFERENCE},pdfBugEnabled:{value:!1,kind:g.VIEWER+g.PREFERENCE},printResolution:{value:150,kind:g.VIEWER},sidebarViewOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},scrollModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},spreadModeOnLoad:{value:-1,kind:g.VIEWER+g.PREFERENCE},textLayerMode:{value:1,kind:g.VIEWER+g.PREFERENCE},useOnlyCssZoom:{value:!1,kind:g.VIEWER+g.PREFERENCE},viewerCssTheme:{value:0,kind:g.VIEWER+g.PREFERENCE},viewOnLoad:{value:0,kind:g.VIEWER+g.PREFERENCE},cMapPacked:{value:!0,kind:g.API},cMapUrl:{value:"../web/cmaps/",kind:g.API},disableAutoFetch:{value:!1,kind:g.API+g.PREFERENCE},disableFontFace:{value:!1,kind:g.API+g.PREFERENCE},disableRange:{value:!1,kind:g.API+g.PREFERENCE},disableStream:{value:!1,kind:g.API+g.PREFERENCE},docBaseUrl:{value:"",kind:g.API},enableXfa:{value:!0,kind:g.API+g.PREFERENCE},fontExtraProperties:{value:!1,kind:g.API},isEvalSupported:{value:!0,kind:g.API},maxImageSize:{value:-1,kind:g.API},pdfBug:{value:!1,kind:g.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:g.API},verbosity:{value:1,kind:g.API},workerPort:{value:null,kind:g.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:g.WORKER}};y.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:g.VIEWER},y.disablePreferences={value:!1,kind:g.VIEWER},y.locale={value:navigator.language||"en-US",kind:g.VIEWER},y.renderer={value:"canvas",kind:g.VIEWER+g.PREFERENCE},y.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:g.VIEWER};const _=Object.create(null);l.AppOptions=class C{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(p){const f=_[p];if(void 0!==f)return f;const S=y[p];return void 0!==S?c[p]??S.value:void 0}static getAll(p=null){const f=Object.create(null);for(const S in y){const v=y[S];if(p){if(!(p&v.kind))continue;if(p===g.PREFERENCE){const E=v.value,A=typeof E;if("boolean"===A||"string"===A||"number"===A&&Number.isInteger(E)){f[S]=E;continue}throw new Error(`Invalid type for preference: ${S}`)}}const M=_[S];f[S]=void 0!==M?M:c[S]??v.value}return f}static set(p,f){_[p]=f}static setAll(p){for(const f in p)_[f]=p[f]}static remove(p){delete _[p]}static _hasUserOptions(){return Object.keys(_).length>0}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.TextAccessibilityManager=void 0;var g=c(7);class y{#e=!1;#t=null;#n=new Map;#r=new Map;setTextMapping(C){this.#t=C}static#o(C,b){const p=C.getBoundingClientRect(),f=b.getBoundingClientRect();if(0===p.width&&0===p.height)return 1;if(0===f.width&&0===f.height)return-1;const M=p.y+p.height/2,k=f.y+f.height/2;return M<=f.y&&k>=p.y+p.height?-1:k<=p.y&&M>=f.y+f.height?1:p.x+p.width/2-(f.x+f.width/2)}enable(){if(this.#e)throw new Error("TextAccessibilityManager is already enabled.");if(!this.#t)throw new Error("Text divs and strings have not been set.");if(this.#e=!0,this.#t=this.#t.slice(),this.#t.sort(y.#o),this.#n.size>0){const C=this.#t;for(const[b,p]of this.#n)document.getElementById(b)?this.#c(b,C[p]):this.#n.delete(b)}for(const[C,b]of this.#r)this.addPointerInTextLayer(C,b);this.#r.clear()}disable(){this.#e&&(this.#r.clear(),this.#t=null,this.#e=!1)}removePointerInTextLayer(C){if(!this.#e)return void this.#r.delete(C);const b=this.#t;if(!b||0===b.length)return;const{id:p}=C,f=this.#n.get(p);if(void 0===f)return;const S=b[f];this.#n.delete(p);let v=S.getAttribute("aria-owns");v?.includes(p)&&(v=v.split(" ").filter(M=>M!==p).join(" "),v?S.setAttribute("aria-owns",v):(S.removeAttribute("aria-owns"),S.setAttribute("role","presentation")))}#c(C,b){const p=b.getAttribute("aria-owns");p?.includes(C)||b.setAttribute("aria-owns",p?`${p} ${C}`:C),b.removeAttribute("role")}addPointerInTextLayer(C,b){const{id:p}=C;if(!p)return;if(!this.#e)return void this.#r.set(C,b);b&&this.removePointerInTextLayer(C);const f=this.#t;if(!f||0===f.length)return;const S=(0,g.binarySearchFirstItem)(f,M=>y.#o(C,M)<0),v=Math.max(0,S-1);this.#c(p,f[v]),this.#n.set(p,v)}moveElementInDOM(C,b,p,f){if(this.addPointerInTextLayer(p,f),!C.hasChildNodes())return void C.append(b);const S=Array.from(C.childNodes).filter(E=>E!==b);if(0===S.length)return;const v=p||b,M=(0,g.binarySearchFirstItem)(S,E=>y.#o(v,E)<0);0===M?S[0].before(b):S[M-1].after(b)}}l.TextAccessibilityManager=y},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.PDFRenderingQueue=void 0;var g=c(3),y=c(7);l.PDFRenderingQueue=class C{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(p){this.pdfViewer=p}setThumbnailViewer(p){this.pdfThumbnailViewer=p}isHighestPriority(p){return this.highestPriorityPage===p.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(p){this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(p)&&(this.isThumbnailViewEnabled&&this.pdfThumbnailViewer?.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),3e4)))}getHighestPriority(p,f,S,v=!1){const M=p.views,E=M.length;if(0===E)return null;for(let T=0;TE){const T=p.ids;for(let P=1,I=k-A;P{this.renderHighestPriority()}).catch(f=>{f instanceof g.RenderingCancelledException||console.error(`renderView: "${f}"`)})}return!0}}},(e,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.TextHighlighter=void 0,l.TextHighlighter=class c{constructor({findController:y,eventBus:_,pageIndex:C}){this.findController=y,this.matches=[],this.eventBus=_,this.pageIdx=C,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(y,_){this.textDivs=y,this.textContentItemsStr=_}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=y=>{(y.pageIndex===this.pageIdx||-1===y.pageIndex)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(y,_){if(!y)return[];const{textContentItemsStr:C}=this;let b=0,p=0;const f=C.length-1,S=[];for(let v=0,M=y.length;v=p+C[b].length;)p+=C[b].length,b++;b===C.length&&console.error("Could not find a matching mapping");const A={begin:{divIdx:b,offset:E-p}};for(E+=_[v];b!==f&&E>p+C[b].length;)p+=C[b].length,b++;A.end={divIdx:b,offset:E-p},S.push(A)}return S}_renderMatches(y){if(0===y.length)return;const{findController:_,pageIdx:C}=this,{textContentItemsStr:b,textDivs:p}=this,f=C===_.selected.pageIdx,S=_.selected.matchIdx;let M=null;function A(T,P){const I=T.divIdx;return p[I].textContent="",k(I,0,T.offset,P)}function k(T,P,I,j){let L=p[T];if(L.nodeType===Node.TEXT_NODE){const ee=document.createElement("span");L.before(ee),ee.append(L),p[T]=ee,L=ee}const B=b[T].substring(P,I),$=document.createTextNode(B);if(j){const ee=document.createElement("span");return ee.className=`${j} appended`,ee.append($),L.append(ee),j.includes("selected")?ee.offsetLeft:0}return L.append($),0}let N=S,F=N+1;if(_.state.highlightAll)N=0,F=y.length;else if(!f)return;for(let T=N;T{Object.defineProperty(l,"__esModule",{value:!0}),l.DownloadManager=void 0;var g=c(3);function y(C,b){const p=document.createElement("a");if(!p.click)throw new Error('DownloadManager: "a.click()" is not supported.');p.href=C,p.target="_parent","download"in p&&(p.download=b),(document.body||document.documentElement).append(p),p.click(),p.remove()}l.DownloadManager=class _{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(b,p){(0,g.createValidAbsoluteUrl)(b,"http://example.com")?y(b+"#pdfjs.action=download",p):console.error(`downloadUrl - not a valid URL: ${b}`)}downloadData(b,p,f){y(URL.createObjectURL(new Blob([b],{type:f})),p)}openOrDownloadData(b,p,f){const S=(0,g.isPdfFile)(f),v=S?"application/pdf":"";if(S){let E,M=this._openBlobUrls.get(b);M||(M=URL.createObjectURL(new Blob([p],{type:v})),this._openBlobUrls.set(b,M)),E="?file="+encodeURIComponent(M+"#"+f);try{return window.open(E),!0}catch(A){console.error(`openOrDownloadData: ${A}`),URL.revokeObjectURL(M),this._openBlobUrls.delete(b)}}return this.downloadData(p,f,v),!1}download(b,p,f){y(URL.createObjectURL(b),f)}}},(e,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.WaitOnType=l.EventBus=l.AutomationEventBus=void 0,l.waitOnEventOrTimeout=function g({target:C,name:b,delay:p=0}){return new Promise(function(f,S){if("object"!=typeof C||!b||"string"!=typeof b||!(Number.isInteger(p)&&p>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function v(k){C instanceof y?C._off(b,M):C.removeEventListener(b,M),A&&clearTimeout(A),f(k)}const M=v.bind(null,c.EVENT);C instanceof y?C._on(b,M):C.addEventListener(b,M);const E=v.bind(null,c.TIMEOUT),A=setTimeout(E,p)})};const c={EVENT:"event",TIMEOUT:"timeout"};l.WaitOnType=c;class y{constructor(){this._listeners=Object.create(null)}on(b,p,f=null){this._on(b,p,{external:!0,once:f?.once})}off(b,p,f=null){this._off(b,p,{external:!0,once:f?.once})}dispatch(b,p){const f=this._listeners[b];if(!f||0===f.length)return;let S;for(const{listener:v,external:M,once:E}of f.slice(0))E&&this._off(b,v),M?(S||=[]).push(v):v(p);if(S){for(const v of S)v(p);S=null}}_on(b,p,f=null){(this._listeners[b]||=[]).push({listener:p,external:!0===f?.external,once:!0===f?.once})}_off(b,p,f=null){const S=this._listeners[b];if(S)for(let v=0,M=S.length;v{Object.defineProperty(l,"__esModule",{value:!0}),l.GenericL10n=void 0,c(21);var g=c(4);const y=document.webL10n;l.GenericL10n=class _{constructor(b){this._lang=b,this._ready=new Promise((p,f)=>{y.setLanguage((0,g.fixupLangCode)(b),()=>{p(y)})})}getLanguage(){var b=this;return n(function*(){return(yield b._ready).getLanguage()})()}getDirection(){var b=this;return n(function*(){return(yield b._ready).getDirection()})()}get(b,p=null,f=(0,g.getL10nFallback)(b,p)){var S=this;return n(function*(){return(yield S._ready).get(b,p,f)})()}translate(b){var p=this;return n(function*(){return(yield p._ready).translate(b)})()}}},()=>{document.webL10n=function(e,l,c){var g={},y="",_="textContent",C="",b={},p="loading",f=!0;function A(ee,le,se){le=le||function(re){},se=se||function(){};var K=new XMLHttpRequest;K.open("GET",ee,f),K.overrideMimeType&&K.overrideMimeType("text/plain; charset=utf-8"),K.onreadystatechange=function(){4==K.readyState&&(200==K.status||0===K.status?le(K.responseText):se())},K.onerror=se,K.ontimeout=se;try{K.send(null)}catch{se()}}function N(ee,le){ee&&(ee=ee.toLowerCase()),le=le||function(){},function F(){g={},y="",C=""}(),C=ee;var se=function S(){return l.querySelectorAll('link[type="application/l10n"]')}(),K=se.length;if(0!==K){var z,Y=0;z=function(){++Y>=K&&(le(),p="complete")};for(var de=0;de0?(de=q.substring(0,Oe),me=q.substring(Oe+1)):(de=q,me=_),g[de]||(g[de]={}),g[de][me]=Y[q]}se&&se()})},K)}(Re,Ae,ge,function(){console.warn(Re+" not found."),console.warn('"'+Ae+'" resource not found'),C="",ge()})}}}function P(ee,le,se){var K=g[ee];if(!K){if(console.warn("#"+ee+" is undefined."),!se)return null;K=se}var Q={};for(var re in K){var X=K[re];X=j(X=I(X,le,ee,re),le,ee),Q[re]=X}return Q}function I(ee,le,se,K){var re=/\{\[\s*([a-zA-Z]+)\(([a-zA-Z]+)\)\s*\]\}/.exec(ee);if(!re||!re.length)return ee;var Y,X=re[1],z=re[2];return le&&z in le?Y=le[z]:z in g&&(Y=g[z]),X in b&&(ee=(0,b[X])(ee,Y,se,K)),ee}function j(ee,le,se){return ee.replace(/\{\{\s*(.+?)\s*\}\}/g,function(Q,re){return le&&re in le?le[re]:re in g?g[re]:(console.log("argument {{"+re+"}} for #"+se+" is undefined."),Q)})}function L(ee){var le=function E(ee){if(!ee)return{};var le=ee.getAttribute("data-l10n-id"),se=ee.getAttribute("data-l10n-args"),K={};if(se)try{K=JSON.parse(se)}catch{console.warn("could not parse arguments for #"+le)}return{id:le,args:K}}(ee);if(le.id){var se=P(le.id,le.args);if(!se)return void console.warn("#"+le.id+" is undefined.");if(se[_]){if(0===function B(ee){if(ee.children)return ee.children.length;if(typeof ee.childElementCount<"u")return ee.childElementCount;for(var le=0,se=0;se0&&(Q=ee.substring(K+1),ee=ee.substring(0,K)),se&&((re={})[Q]=se);var X=P(ee,le,re);return X&&Q in X?X[Q]:"{{"+ee+"}}"},getData:function(){return g},getText:function(){return y},getLanguage:function(){return C},setLanguage:function(ee,le){N(ee,function(){le&&le()})},getDirection:function(){var le=C.split("-",1)[0];return["ar","he","fa","ps","ur"].indexOf(le)>=0?"rtl":"ltr"},translate:function $(ee){for(var le=function M(ee){return ee?ee.querySelectorAll("*[data-l10n-id]"):[]}(ee=ee||l.documentElement),se=le.length,K=0;K{Object.defineProperty(l,"__esModule",{value:!0}),l.PDFFindController=l.FindState=void 0;var g=c(7),y=c(3),_=c(23);const C={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};l.FindState=C;const S={"\u2010":"-","\u2018":"'","\u2019":"'","\u201a":"'","\u201b":"'","\u201c":'"',"\u201d":'"',"\u201e":'"',"\u201f":'"',"\xbc":"1/4","\xbd":"1/2","\xbe":"3/4"},v=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),M=[...v.values()].map(ee=>String.fromCharCode(ee)).join(""),E=new RegExp("\\p{M}+","gu"),A=new RegExp("([.*+?^${}()|[\\]\\\\])|(\\p{P})|(\\s+)|(\\p{M})|(\\p{L})","gu"),k=new RegExp("([^\\p{M}])\\p{M}*$","u"),N=new RegExp("^\\p{M}*([^\\p{M}])","u"),F=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,T=new Map;let I=null,j=null;function L(ee){const le=[];let se,K;for(;null!==(se=F.exec(ee));){let{index:Re}=se;for(const Ae of se[0]){let ge=T.get(Ae);ge||(ge=Ae.normalize("NFD").length,T.set(Ae,ge)),le.push([ge,Re++])}}if(0===le.length&&I)K=I;else if(le.length>0&&j)K=j;else{const Ae=`([${Object.keys(S).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;K=0===le.length?I=new RegExp(Ae+"|(\\u0000)","gum"):j=new RegExp(Ae+"|([\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f])","gum")}const Q=[];for(;null!==(se=E.exec(ee));)Q.push([se[0].length,se.index]);let re=ee.normalize("NFD");const X=[[0,0]];let z=0,Y=0,q=0,de=0,me=0,Oe=!1;return re=re.replace(K,(Re,Ae,ge,Ne,it,qe,et)=>{if(et-=de,Ae){const De=S[Re],je=De.length;for(let Ie=1;Iez[0]>=K);ee[re][0]>K&&--re;let X=(0,g.binarySearchFirstItem)(ee,z=>z[0]>=Q,re);return ee[X][0]>Q&&--X,[K+ee[re][1],se+ee[X][1]-ee[re][1]]}l.PDFFindController=class ${constructor({linkService:le,eventBus:se}){this._linkService=le,this._eventBus=se,this.#t(),se._on("find",this.#e.bind(this)),se._on("findbarclose",this.#_.bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(le){this._pdfDocument&&this.#t(),le&&(this._pdfDocument=le,this._firstPageCapability.resolve())}#e(le){if(!le)return;const se=this._pdfDocument,{type:K}=le;(null===this._state||this.#r(le))&&(this._dirtyMatch=!0),this._state=le,"highlightallchange"!==K&&this.#d(C.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||se&&this._pdfDocument!==se)return;this.#h();const Q=!this._highlightMatches,re=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),K?this._dirtyMatch?this.#s():"again"===K?(this.#s(),Q&&this._state.highlightAll&&this.#l()):"highlightallchange"===K?(re?this.#s():this._highlightMatches=!0,this.#l()):this.#s():this._findTimeout=setTimeout(()=>{this.#s(),this._findTimeout=null},250)})}scrollMatchIntoView({element:le=null,selectedLeft:se=0,pageIndex:K=-1,matchIndex:Q=-1}){this._scrollMatches&&le&&-1!==Q&&Q===this._selected.matchIdx&&-1!==K&&K===this._selected.pageIdx&&(this._scrollMatches=!1,(0,g.scrollIntoView)(le,{top:-50,left:se+-400},!0))}#t(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,y.createPromiseCapability)()}get#n(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=L(this._state.query)),this._normalizedQuery}#r(le){if(le.query!==this._state.query)return!0;switch(le.type){case"again":const se=this._selected.pageIdx+1,K=this._linkService;return se>=1&&se<=K.pagesCount&&se!==K.page&&!K.isPageVisible(se);case"highlightallchange":return!1}return!0}#o(le,se,K){let Q=le.slice(0,se).match(k);if(Q){const re=le.charCodeAt(se),X=Q[1].charCodeAt(0);if((0,_.getCharacterType)(re)===(0,_.getCharacterType)(X))return!1}if(Q=le.slice(se+K).match(N),Q){const re=le.charCodeAt(se+K-1),X=Q[1].charCodeAt(0);if((0,_.getCharacterType)(re)===(0,_.getCharacterType)(X))return!1}return!0}#c(le,se,K,Q){const re=[],X=[],z=this._pageDiffs[K];let Y;for(;null!==(Y=le.exec(Q));){if(se&&!this.#o(Q,Y.index,Y[0].length))continue;const[q,de]=B(z,Y.index,Y[0].length);de&&(re.push(q),X.push(de))}this._pageMatches[K]=re,this._pageMatchesLength[K]=X}#a(le,se){const{matchDiacritics:K}=this._state;let Q=!1;return(le=le.replace(A,(X,z,Y,q,de,me)=>z?`[ ]*\\${z}[ ]*`:Y?`[ ]*${Y}[ ]*`:q?"[ ]+":K?de||me:de?v.has(de.charCodeAt(0))?de:"":se?(Q=!0,`${me}\\p{M}*`):me)).endsWith("[ ]*")&&(le=le.slice(0,le.length-4)),K&&se&&(Q=!0,le=`${le}(?=[${M}]|[^\\p{M}]|$)`),[Q,le]}#i(le){let se=this.#n;if(0===se.length)return;const{caseSensitive:K,entireWord:Q,phraseSearch:re}=this._state,X=this._pageContents[le],z=this._hasDiacritics[le];let Y=!1;if(re)[Y,se]=this.#a(se,z);else{const me=se.match(/\S+/g);me&&(se=me.sort().reverse().map(Oe=>{const[Re,Ae]=this.#a(Oe,z);return Y||=Re,`(${Ae})`}).join("|"))}se=new RegExp(se,`g${Y?"u":""}${K?"":"i"}`),this.#c(se,Q,le,X),this._state.highlightAll&&this.#u(le),this._resumePageIdx===le&&(this._resumePageIdx=null,this.#f());const de=this._pageMatches[le].length;de>0&&(this._matchesCountTotal+=de,this.#b())}#h(){if(this._extractTextPromises.length>0)return;let le=Promise.resolve();for(let se=0,K=this._linkService.pagesCount;sethis._pdfDocument.getPage(se+1).then(re=>re.getTextContent()).then(re=>{const X=[];for(const z of re.items)X.push(z.str),z.hasEOL&&X.push("\n");[this._pageContents[se],this._pageDiffs[se],this._hasDiacritics[se]]=L(X.join("")),Q.resolve()},re=>{console.error(`Unable to get text content for page ${se+1}`,re),this._pageContents[se]="",this._pageDiffs[se]=null,this._hasDiacritics[se]=!1,Q.resolve()}))}}#u(le){this._scrollMatches&&this._selected.pageIdx===le&&(this._linkService.page=le+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:le})}#l(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}#s(){const le=this._state.findPrevious,se=this._linkService.page-1,K=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=se,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,this.#l();for(let re=0;re{this._pendingFindMatches.delete(re),this.#i(re)}))}if(""===this.#n)return void this.#d(C.FOUND);if(this._resumePageIdx)return;const Q=this._offset;if(this._pagesToSearch=K,null!==Q.matchIdx){if(!le&&Q.matchIdx+10)return Q.matchIdx=le?Q.matchIdx-1:Q.matchIdx+1,void this.#p(!0);this.#v(le)}this.#f()}#g(le){const se=this._offset,K=le.length,Q=this._state.findPrevious;return K?(se.matchIdx=Q?K-1:0,this.#p(!0),!0):(this.#v(Q),!!(se.wrapped&&(se.matchIdx=null,this._pagesToSearch<0))&&(this.#p(!1),!0))}#f(){null!==this._resumePageIdx&&console.error("There can only be one pending page.");let le=null;do{const se=this._offset.pageIdx;if(le=this._pageMatches[se],!le){this._resumePageIdx=se;break}}while(!this.#g(le))}#v(le){const se=this._offset,K=this._linkService.pagesCount;se.pageIdx=le?se.pageIdx-1:se.pageIdx+1,se.matchIdx=null,this._pagesToSearch--,(se.pageIdx>=K||se.pageIdx<0)&&(se.pageIdx=le?K-1:0,se.wrapped=!0)}#p(le=!1){let se=C.NOT_FOUND;const K=this._offset.wrapped;if(this._offset.wrapped=!1,le){const Q=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,se=K?C.WRAPPED:C.FOUND,-1!==Q&&Q!==this._selected.pageIdx&&this.#u(Q)}this.#d(se,this._state.findPrevious),-1!==this._selected.pageIdx&&(this._scrollMatches=!0,this.#u(this._selected.pageIdx))}#_(le){const se=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||se&&this._pdfDocument!==se||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),this.#d(C.FOUND),this._highlightMatches=!1,this.#l())})}#S(){const{pageIdx:le,matchIdx:se}=this._selected;let K=0,Q=this._matchesCountTotal;if(-1!==se){for(let re=0;reQ)&&(K=Q=0),{current:K,total:Q}}#b(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:this.#S()})}#d(le,se=!1){this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:le,previous:se,matchesCount:this.#S(),rawQuery:this._state?.query??null})}}},(e,l)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.CharacterType=void 0,l.getCharacterType=function E(A){return function g(A){return A<11904}(A)?function y(A){return 0==(65408&A)}(A)?function b(A){return 32===A||9===A||13===A||10===A}(A)?c.SPACE:function _(A){return A>=97&&A<=122||A>=65&&A<=90}(A)||function C(A){return A>=48&&A<=57}(A)||95===A?c.ALPHA_LETTER:c.PUNCT:function M(A){return 3584==(65408&A)}(A)?c.THAI_LETTER:160===A?c.SPACE:c.ALPHA_LETTER:function p(A){return A>=13312&&A<=40959||A>=63744&&A<=64255}(A)?c.HAN_LETTER:function f(A){return A>=12448&&A<=12543}(A)?c.KATAKANA_LETTER:function S(A){return A>=12352&&A<=12447}(A)?c.HIRAGANA_LETTER:function v(A){return A>=65376&&A<=65439}(A)?c.HALFWIDTH_KATAKANA_LETTER:c.ALPHA_LETTER};const c={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};l.CharacterType=c},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.PDFHistory=void 0,l.isDestArraysEqual=v,l.isDestHashesEqual=S;var g=c(7),y=c(19);function p(){return document.location.hash}function S(M,E){return"string"==typeof M&&"string"==typeof E&&(M===E||(0,g.parseQueryString)(M).get("nameddest")===E)}function v(M,E){function A(k,N){if(typeof k!=typeof N||Array.isArray(k)||Array.isArray(N))return!1;if(null!==k&&"object"==typeof k&&null!==N){if(Object.keys(k).length!==Object.keys(N).length)return!1;for(const F in k)if(!A(k[F],N[F]))return!1;return!0}return k===N||Number.isNaN(k)&&Number.isNaN(N)}if(!Array.isArray(M)||!Array.isArray(E)||M.length!==E.length)return!1;for(let k=0,N=M.length;k{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",k=>{this._isPagesLoaded=!!k.pagesCount},{once:!0})})}initialize({fingerprint:E,resetHistory:A=!1,updateUrl:k=!1}){if(!E||"string"!=typeof E)return void console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');this._initialized&&this.reset();const N=""!==this._fingerprint&&this._fingerprint!==E;this._fingerprint=E,this._updateUrl=!0===k,this._initialized=!0,this._bindEvents();const F=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=p(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(F,!0)||A){const{hash:P,page:I,rotation:j}=this._parseCurrentHash(!0);return!P||N||A?void this._pushOrReplaceState(null,!0):void this._pushOrReplaceState({hash:P,page:I,rotation:j},!0)}const T=F.destination;this._updateInternalState(T,F.uid,!0),void 0!==T.rotation&&(this._initialRotation=T.rotation),T.dest?(this._initialBookmark=JSON.stringify(T.dest),this._destination.page=null):T.hash?this._initialBookmark=T.hash:T.page&&(this._initialBookmark=`page=${T.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push({namedDest:E=null,explicitDest:A,pageNumber:k}){if(!this._initialized)return;if(E&&"string"!=typeof E)return void console.error(`PDFHistory.push: "${E}" is not a valid namedDest parameter.`);if(!Array.isArray(A))return void console.error(`PDFHistory.push: "${A}" is not a valid explicitDest parameter.`);if(!this._isValidPage(k)&&(null!==k||this._destination))return void console.error(`PDFHistory.push: "${k}" is not a valid pageNumber parameter.`);const N=E||JSON.stringify(A);if(!N)return;let F=!1;if(this._destination&&(S(this._destination.hash,N)||v(this._destination.dest,A))){if(this._destination.page)return;F=!0}this._popStateInProgress&&!F||(this._pushOrReplaceState({dest:A,hash:N,page:k,rotation:this.linkService.rotation},F),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(E){if(this._initialized){if(!this._isValidPage(E))return void console.error(`PDFHistory.pushPage: "${E}" is not a valid page number.`);this._destination?.page!==E&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${E}`,page:E,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const E=window.history.state;this._isValidState(E)&&E.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const E=window.history.state;this._isValidState(E)&&E.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(E,A=!1){const k=A||!this._destination,N={fingerprint:this._fingerprint,uid:k?this._uid:this._uid+1,destination:E};let F;if(this._updateInternalState(E,N.uid),this._updateUrl&&E?.hash){const T=document.location.href.split("#")[0];T.startsWith("file://")||(F=`${T}#${E.hash}`)}k?window.history.replaceState(N,"",F):window.history.pushState(N,"",F)}_tryPushCurrentPosition(E=!1){if(!this._position)return;let A=this._position;if(E&&(A=Object.assign(Object.create(null),this._position),A.temporary=!0),!this._destination)return void this._pushOrReplaceState(A);if(this._destination.temporary)return void this._pushOrReplaceState(A,!0);if(this._destination.hash===A.hash||!this._destination.page&&this._numPositionUpdates<=50)return;let k=!1;if(this._destination.page>=A.first&&this._destination.page<=A.page){if(void 0!==this._destination.dest||!this._destination.first)return;k=!0}this._pushOrReplaceState(A,k)}_isValidPage(E){return Number.isInteger(E)&&E>0&&E<=this.linkService.pagesCount}_isValidState(E,A=!1){if(!E)return!1;if(E.fingerprint!==this._fingerprint){if(!A)return!1;{if("string"!=typeof E.fingerprint||E.fingerprint.length!==this._fingerprint.length)return!1;const[k]=performance.getEntriesByType("navigation");if("reload"!==k?.type)return!1}}return!(!Number.isInteger(E.uid)||E.uid<0||null===E.destination||"object"!=typeof E.destination)}_updateInternalState(E,A,k=!1){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),k&&E?.temporary&&delete E.temporary,this._destination=E,this._uid=A,this._maxUid=Math.max(this._maxUid,A),this._numPositionUpdates=0}_parseCurrentHash(E=!1){const A=unescape(p()).substring(1),k=(0,g.parseQueryString)(A),N=k.get("nameddest")||"";let F=0|k.get("page");return(!this._isValidPage(F)||E&&N.length>0)&&(F=null),{hash:A,page:F,rotation:this.linkService.rotation}}_updateViewarea({location:E}){this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:E.pdfOpenParams.substring(1),page:this.linkService.page,first:E.pageNumber,rotation:E.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},1e3))}_popState({state:E}){const A=p(),k=this._currentHash!==A;if(this._currentHash=A,!E){this._uid++;const{hash:F,page:T,rotation:P}=this._parseCurrentHash();return void this._pushOrReplaceState({hash:F,page:T,rotation:P},!0)}if(!this._isValidState(E))return;this._popStateInProgress=!0,k&&(this._blockHashChange++,(0,y.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:1e3}).then(()=>{this._blockHashChange--}));const N=E.destination;this._updateInternalState(N,E.uid,!0),(0,g.isValidRotation)(N.rotation)&&(this.linkService.rotation=N.rotation),N.dest?this.linkService.goToDestination(N.dest):N.hash?this.linkService.setHash(N.hash):N.page&&(this.linkService.page=N.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.PDFScriptingManager=void 0;var g=c(7),y=c(3);l.PDFScriptingManager=class _{constructor({eventBus:b,sandboxBundleSrc:p=null,scriptingFactory:f=null,docPropertiesLookup:S=null}){this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=b,this._sandboxBundleSrc=p,this._scriptingFactory=f,this._docPropertiesLookup=S,this._scriptingFactory||window.addEventListener("updatefromsandbox",v=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:v.detail})})}setViewer(b){this._pdfViewer=b}setDocument(b){var p=this;return n(function*(){if(p._pdfDocument&&(yield p._destroyScripting()),p._pdfDocument=b,!b)return;const[f,S,v]=yield Promise.all([b.getFieldObjects(),b.getCalculationOrderIds(),b.getJSActions()]);if(f||v){if(b===p._pdfDocument){try{p._scripting=p._createScripting()}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield p._destroyScripting())}p._internalEvents.set("updatefromsandbox",M=>{M?.source===window&&p._updateFromSandbox(M.detail)}),p._internalEvents.set("dispatcheventinsandbox",M=>{p._scripting?.dispatchEventInSandbox(M.detail)}),p._internalEvents.set("pagechanging",({pageNumber:M,previous:E})=>{M!==E&&(p._dispatchPageClose(E),p._dispatchPageOpen(M))}),p._internalEvents.set("pagerendered",({pageNumber:M})=>{p._pageOpenPending.has(M)&&M===p._pdfViewer.currentPageNumber&&p._dispatchPageOpen(M)}),p._internalEvents.set("pagesdestroy",function(){var M=n(function*(E){yield p._dispatchPageClose(p._pdfViewer.currentPageNumber),yield p._scripting?.dispatchEventInSandbox({id:"doc",name:"WillClose"}),p._closeCapability?.resolve()});return function(E){return M.apply(this,arguments)}}()),p._domEvents.set("mousedown",M=>{p._mouseState.isDown=!0}),p._domEvents.set("mouseup",M=>{p._mouseState.isDown=!1});for(const[M,E]of p._internalEvents)p._eventBus._on(M,E);for(const[M,E]of p._domEvents)window.addEventListener(M,E,!0);try{const M=yield p._getDocProperties();if(b!==p._pdfDocument)return;yield p._scripting.createSandbox({objects:f,calculationOrder:S,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...M,actions:v}}),p._eventBus.dispatch("sandboxcreated",{source:p})}catch(M){return console.error(`PDFScriptingManager.setDocument: "${M?.message}".`),void(yield p._destroyScripting())}yield p._scripting?.dispatchEventInSandbox({id:"doc",name:"Open"}),yield p._dispatchPageOpen(p._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{b===p._pdfDocument&&(p._ready=!0)})}}else yield p._destroyScripting()})()}dispatchWillSave(b){var p=this;return n(function*(){return p._scripting?.dispatchEventInSandbox({id:"doc",name:"WillSave"})})()}dispatchDidSave(b){var p=this;return n(function*(){return p._scripting?.dispatchEventInSandbox({id:"doc",name:"DidSave"})})()}dispatchWillPrint(b){var p=this;return n(function*(){return p._scripting?.dispatchEventInSandbox({id:"doc",name:"WillPrint"})})()}dispatchDidPrint(b){var p=this;return n(function*(){return p._scripting?.dispatchEventInSandbox({id:"doc",name:"DidPrint"})})()}get mouseState(){return this._mouseState}get destroyPromise(){return this._destroyCapability?.promise||null}get ready(){return this._ready}get _internalEvents(){return(0,y.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,y.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,y.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,y.shadow)(this,"_visitedPages",new Map)}_updateFromSandbox(b){var p=this;return n(function*(){const f=p._pdfViewer.isInPresentationMode||p._pdfViewer.isChangingPresentationMode,{id:S,siblings:v,command:M,value:E}=b;if(!S){switch(M){case"clear":console.clear();break;case"error":console.error(E);break;case"layout":if(f)return;const k=(0,g.apiPageLayoutToViewerModes)(E);p._pdfViewer.spreadMode=k.spreadMode;break;case"page-num":p._pdfViewer.currentPageNumber=E+1;break;case"print":yield p._pdfViewer.pagesPromise,p._eventBus.dispatch("print",{source:p});break;case"println":console.log(E);break;case"zoom":if(f)return;p._pdfViewer.currentScaleValue=E;break;case"SaveAs":p._eventBus.dispatch("download",{source:p});break;case"FirstPage":p._pdfViewer.currentPageNumber=1;break;case"LastPage":p._pdfViewer.currentPageNumber=p._pdfViewer.pagesCount;break;case"NextPage":p._pdfViewer.nextPage();break;case"PrevPage":p._pdfViewer.previousPage();break;case"ZoomViewIn":if(f)return;p._pdfViewer.increaseScale();break;case"ZoomViewOut":if(f)return;p._pdfViewer.decreaseScale()}return}if(f&&b.focus)return;delete b.id,delete b.siblings;const A=v?[S,...v]:[S];for(const k of A){const N=document.querySelector(`[data-element-id="${k}"]`);N?N.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:b})):p._pdfDocument?.annotationStorage.setValue(k,b)}})()}_dispatchPageOpen(b,p=!1){var f=this;return n(function*(){const S=f._pdfDocument,v=f._visitedPages;if(p&&(f._closeCapability=(0,y.createPromiseCapability)()),!f._closeCapability)return;const M=f._pdfViewer.getPageView(b-1);if(M?.renderingState!==g.RenderingStates.FINISHED)return void f._pageOpenPending.add(b);f._pageOpenPending.delete(b);const E=n(function*(){const A=yield v.has(b)?null:M.pdfPage?.getJSActions();S===f._pdfDocument&&(yield f._scripting?.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:b,actions:A}))})();v.set(b,E)})()}_dispatchPageClose(b){var p=this;return n(function*(){const f=p._pdfDocument,S=p._visitedPages;if(!p._closeCapability||p._pageOpenPending.has(b))return;const v=S.get(b);v&&(S.set(b,null),yield v,f===p._pdfDocument&&(yield p._scripting?.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:b})))})()}_getDocProperties(){var b=this;return n(function*(){if(b._docPropertiesLookup)return b._docPropertiesLookup(b._pdfDocument);const{docPropertiesLookup:p}=c(26);return p(b._pdfDocument)})()}_createScripting(){if(this._destroyCapability=(0,y.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:b}=c(26);return new b(this._sandboxBundleSrc)}_destroyScripting(){var b=this;return n(function*(){if(!b._scripting)return b._pdfDocument=null,void b._destroyCapability?.resolve();b._closeCapability&&(yield Promise.race([b._closeCapability.promise,new Promise(p=>{setTimeout(p,1e3)})]).catch(p=>{}),b._closeCapability=null),b._pdfDocument=null;try{yield b._scripting.destroySandbox()}catch{}for(const[p,f]of b._internalEvents)b._eventBus._off(p,f);b._internalEvents.clear();for(const[p,f]of b._domEvents)window.removeEventListener(p,f,!0);b._domEvents.clear(),b._pageOpenPending.clear(),b._visitedPages.clear(),b._scripting=null,delete b._mouseState.isDown,b._ready=!1,b._destroyCapability?.resolve()})()}}},(e,l,c)=>{Object.defineProperty(l,"__esModule",{value:!0}),l.GenericScripting=void 0,l.docPropertiesLookup=function y(b){return _.apply(this,arguments)};var g=c(3);function _(){return(_=n(function*(b){const f="".split("#")[0];let{info:S,metadata:v,contentDispositionFilename:M,contentLength:E}=yield b.getMetadata();if(!E){const{length:A}=yield b.getDownloadInfo();E=A}return{...S,baseURL:f,filesize:E,filename:M||(0,g.getPdfFilenameFromUrl)(""),metadata:v?.getRaw(),authors:v?.get("dc:creator"),numPages:b.numPages,URL:""}})).apply(this,arguments)}l.GenericScripting=class C{constructor(p){this._ready=(0,g.loadScript)(p,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}createSandbox(p){var f=this;return n(function*(){(yield f._ready).create(p)})()}dispatchEventInSandbox(p){var f=this;return n(function*(){const S=yield f._ready;setTimeout(()=>S.dispatchEvent(p),0)})()}destroySandbox(){var p=this;return n(function*(){(yield p._ready).nukeSandbox()})()}}}],d={};function a(e){var l=d[e];if(void 0!==l)return l.exports;var c=d[e]={exports:{}};return o[e](c,c.exports,a),c.exports}var u={};return(()=>{var e=u;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return _.AnnotationLayerBuilder}}),Object.defineProperty(e,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return l.DefaultAnnotationLayerFactory}}),Object.defineProperty(e,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return l.DefaultStructTreeLayerFactory}}),Object.defineProperty(e,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return l.DefaultTextLayerFactory}}),Object.defineProperty(e,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return l.DefaultXfaLayerFactory}}),Object.defineProperty(e,"DownloadManager",{enumerable:!0,get:function(){return C.DownloadManager}}),Object.defineProperty(e,"EventBus",{enumerable:!0,get:function(){return b.EventBus}}),Object.defineProperty(e,"GenericL10n",{enumerable:!0,get:function(){return p.GenericL10n}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return c.LinkTarget}}),Object.defineProperty(e,"NullL10n",{enumerable:!0,get:function(){return f.NullL10n}}),Object.defineProperty(e,"PDFFindController",{enumerable:!0,get:function(){return S.PDFFindController}}),Object.defineProperty(e,"PDFHistory",{enumerable:!0,get:function(){return v.PDFHistory}}),Object.defineProperty(e,"PDFLinkService",{enumerable:!0,get:function(){return c.PDFLinkService}}),Object.defineProperty(e,"PDFPageView",{enumerable:!0,get:function(){return M.PDFPageView}}),Object.defineProperty(e,"PDFScriptingManager",{enumerable:!0,get:function(){return E.PDFScriptingManager}}),Object.defineProperty(e,"PDFSinglePageViewer",{enumerable:!0,get:function(){return y.PDFSinglePageViewer}}),Object.defineProperty(e,"PDFViewer",{enumerable:!0,get:function(){return y.PDFViewer}}),Object.defineProperty(e,"ProgressBar",{enumerable:!0,get:function(){return g.ProgressBar}}),Object.defineProperty(e,"RenderingStates",{enumerable:!0,get:function(){return g.RenderingStates}}),Object.defineProperty(e,"ScrollMode",{enumerable:!0,get:function(){return g.ScrollMode}}),Object.defineProperty(e,"SimpleLinkService",{enumerable:!0,get:function(){return c.SimpleLinkService}}),Object.defineProperty(e,"SpreadMode",{enumerable:!0,get:function(){return g.SpreadMode}}),Object.defineProperty(e,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return A.StructTreeLayerBuilder}}),Object.defineProperty(e,"TextLayerBuilder",{enumerable:!0,get:function(){return k.TextLayerBuilder}}),Object.defineProperty(e,"XfaLayerBuilder",{enumerable:!0,get:function(){return N.XfaLayerBuilder}}),Object.defineProperty(e,"parseQueryString",{enumerable:!0,get:function(){return g.parseQueryString}});var l=a(1),c=a(6),g=a(7),y=a(11),_=a(5),C=a(18),b=a(19),p=a(20),f=a(4),S=a(22),v=a(24),M=a(13),E=a(25),A=a(8),k=a(9),N=a(10)})(),u})()},80103:function(ve,h,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(_i,xi,qr,ar){void 0===ar&&(ar=qr),Object.defineProperty(_i,ar,{enumerable:!0,get:function(){return xi[qr]}})}:function(_i,xi,qr,ar){void 0===ar&&(ar=qr),_i[ar]=xi[qr]}),o=this&&this.__exportStar||function(_i,xi){for(var qr in _i)"default"!==qr&&!Object.prototype.hasOwnProperty.call(xi,qr)&&n(xi,_i,qr)};Object.defineProperty(h,"__esModule",{value:!0}),h.interval=h.iif=h.generate=h.fromEventPattern=h.fromEvent=h.from=h.forkJoin=h.empty=h.defer=h.connectable=h.concat=h.combineLatest=h.bindNodeCallback=h.bindCallback=h.UnsubscriptionError=h.TimeoutError=h.SequenceError=h.ObjectUnsubscribedError=h.NotFoundError=h.EmptyError=h.ArgumentOutOfRangeError=h.firstValueFrom=h.lastValueFrom=h.isObservable=h.identity=h.noop=h.pipe=h.NotificationKind=h.Notification=h.Subscriber=h.Subscription=h.Scheduler=h.VirtualAction=h.VirtualTimeScheduler=h.animationFrameScheduler=h.animationFrame=h.queueScheduler=h.queue=h.asyncScheduler=h.async=h.asapScheduler=h.asap=h.AsyncSubject=h.ReplaySubject=h.BehaviorSubject=h.Subject=h.animationFrames=h.observable=h.ConnectableObservable=h.Observable=void 0,h.filter=h.expand=h.exhaustMap=h.exhaustAll=h.exhaust=h.every=h.endWith=h.elementAt=h.distinctUntilKeyChanged=h.distinctUntilChanged=h.distinct=h.dematerialize=h.delayWhen=h.delay=h.defaultIfEmpty=h.debounceTime=h.debounce=h.count=h.connect=h.concatWith=h.concatMapTo=h.concatMap=h.concatAll=h.combineLatestWith=h.combineLatestAll=h.combineAll=h.catchError=h.bufferWhen=h.bufferToggle=h.bufferTime=h.bufferCount=h.buffer=h.auditTime=h.audit=h.config=h.NEVER=h.EMPTY=h.scheduled=h.zip=h.using=h.timer=h.throwError=h.range=h.race=h.partition=h.pairs=h.onErrorResumeNext=h.of=h.never=h.merge=void 0,h.switchMap=h.switchAll=h.subscribeOn=h.startWith=h.skipWhile=h.skipUntil=h.skipLast=h.skip=h.single=h.shareReplay=h.share=h.sequenceEqual=h.scan=h.sampleTime=h.sample=h.refCount=h.retryWhen=h.retry=h.repeatWhen=h.repeat=h.reduce=h.raceWith=h.publishReplay=h.publishLast=h.publishBehavior=h.publish=h.pluck=h.pairwise=h.onErrorResumeNextWith=h.observeOn=h.multicast=h.min=h.mergeWith=h.mergeScan=h.mergeMapTo=h.mergeMap=h.flatMap=h.mergeAll=h.max=h.materialize=h.mapTo=h.map=h.last=h.isEmpty=h.ignoreElements=h.groupBy=h.first=h.findIndex=h.find=h.finalize=void 0,h.zipWith=h.zipAll=h.withLatestFrom=h.windowWhen=h.windowToggle=h.windowTime=h.windowCount=h.window=h.toArray=h.timestamp=h.timeoutWith=h.timeout=h.timeInterval=h.throwIfEmpty=h.throttleTime=h.throttle=h.tap=h.takeWhile=h.takeUntil=h.takeLast=h.take=h.switchScan=h.switchMapTo=void 0;var d=i(15448);Object.defineProperty(h,"Observable",{enumerable:!0,get:function(){return d.Observable}});var a=i(42416);Object.defineProperty(h,"ConnectableObservable",{enumerable:!0,get:function(){return a.ConnectableObservable}});var u=i(72064);Object.defineProperty(h,"observable",{enumerable:!0,get:function(){return u.observable}});var e=i(72444);Object.defineProperty(h,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var l=i(90120);Object.defineProperty(h,"Subject",{enumerable:!0,get:function(){return l.Subject}});var c=i(60488);Object.defineProperty(h,"BehaviorSubject",{enumerable:!0,get:function(){return c.BehaviorSubject}});var g=i(38640);Object.defineProperty(h,"ReplaySubject",{enumerable:!0,get:function(){return g.ReplaySubject}});var y=i(70408);Object.defineProperty(h,"AsyncSubject",{enumerable:!0,get:function(){return y.AsyncSubject}});var _=i(24860);Object.defineProperty(h,"asap",{enumerable:!0,get:function(){return _.asap}}),Object.defineProperty(h,"asapScheduler",{enumerable:!0,get:function(){return _.asapScheduler}});var C=i(69252);Object.defineProperty(h,"async",{enumerable:!0,get:function(){return C.async}}),Object.defineProperty(h,"asyncScheduler",{enumerable:!0,get:function(){return C.asyncScheduler}});var b=i(72056);Object.defineProperty(h,"queue",{enumerable:!0,get:function(){return b.queue}}),Object.defineProperty(h,"queueScheduler",{enumerable:!0,get:function(){return b.queueScheduler}});var p=i(70232);Object.defineProperty(h,"animationFrame",{enumerable:!0,get:function(){return p.animationFrame}}),Object.defineProperty(h,"animationFrameScheduler",{enumerable:!0,get:function(){return p.animationFrameScheduler}});var f=i(45992);Object.defineProperty(h,"VirtualTimeScheduler",{enumerable:!0,get:function(){return f.VirtualTimeScheduler}}),Object.defineProperty(h,"VirtualAction",{enumerable:!0,get:function(){return f.VirtualAction}});var S=i(25784);Object.defineProperty(h,"Scheduler",{enumerable:!0,get:function(){return S.Scheduler}});var v=i(40576);Object.defineProperty(h,"Subscription",{enumerable:!0,get:function(){return v.Subscription}});var M=i(41596);Object.defineProperty(h,"Subscriber",{enumerable:!0,get:function(){return M.Subscriber}});var E=i(12032);Object.defineProperty(h,"Notification",{enumerable:!0,get:function(){return E.Notification}}),Object.defineProperty(h,"NotificationKind",{enumerable:!0,get:function(){return E.NotificationKind}});var A=i(19512);Object.defineProperty(h,"pipe",{enumerable:!0,get:function(){return A.pipe}});var k=i(48320);Object.defineProperty(h,"noop",{enumerable:!0,get:function(){return k.noop}});var N=i(55184);Object.defineProperty(h,"identity",{enumerable:!0,get:function(){return N.identity}});var F=i(38104);Object.defineProperty(h,"isObservable",{enumerable:!0,get:function(){return F.isObservable}});var T=i(59452);Object.defineProperty(h,"lastValueFrom",{enumerable:!0,get:function(){return T.lastValueFrom}});var P=i(79632);Object.defineProperty(h,"firstValueFrom",{enumerable:!0,get:function(){return P.firstValueFrom}});var I=i(32929);Object.defineProperty(h,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return I.ArgumentOutOfRangeError}});var j=i(51544);Object.defineProperty(h,"EmptyError",{enumerable:!0,get:function(){return j.EmptyError}});var L=i(15496);Object.defineProperty(h,"NotFoundError",{enumerable:!0,get:function(){return L.NotFoundError}});var B=i(92304);Object.defineProperty(h,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return B.ObjectUnsubscribedError}});var $=i(71016);Object.defineProperty(h,"SequenceError",{enumerable:!0,get:function(){return $.SequenceError}});var ee=i(20268);Object.defineProperty(h,"TimeoutError",{enumerable:!0,get:function(){return ee.TimeoutError}});var le=i(9560);Object.defineProperty(h,"UnsubscriptionError",{enumerable:!0,get:function(){return le.UnsubscriptionError}});var se=i(1856);Object.defineProperty(h,"bindCallback",{enumerable:!0,get:function(){return se.bindCallback}});var K=i(78872);Object.defineProperty(h,"bindNodeCallback",{enumerable:!0,get:function(){return K.bindNodeCallback}});var Q=i(60128);Object.defineProperty(h,"combineLatest",{enumerable:!0,get:function(){return Q.combineLatest}});var re=i(24560);Object.defineProperty(h,"concat",{enumerable:!0,get:function(){return re.concat}});var X=i(7976);Object.defineProperty(h,"connectable",{enumerable:!0,get:function(){return X.connectable}});var z=i(71896);Object.defineProperty(h,"defer",{enumerable:!0,get:function(){return z.defer}});var Y=i(31456);Object.defineProperty(h,"empty",{enumerable:!0,get:function(){return Y.empty}});var q=i(93052);Object.defineProperty(h,"forkJoin",{enumerable:!0,get:function(){return q.forkJoin}});var de=i(38485);Object.defineProperty(h,"from",{enumerable:!0,get:function(){return de.from}});var me=i(85e3);Object.defineProperty(h,"fromEvent",{enumerable:!0,get:function(){return me.fromEvent}});var Oe=i(46744);Object.defineProperty(h,"fromEventPattern",{enumerable:!0,get:function(){return Oe.fromEventPattern}});var Re=i(92560);Object.defineProperty(h,"generate",{enumerable:!0,get:function(){return Re.generate}});var Ae=i(46696);Object.defineProperty(h,"iif",{enumerable:!0,get:function(){return Ae.iif}});var ge=i(2071);Object.defineProperty(h,"interval",{enumerable:!0,get:function(){return ge.interval}});var Ne=i(14152);Object.defineProperty(h,"merge",{enumerable:!0,get:function(){return Ne.merge}});var it=i(15672);Object.defineProperty(h,"never",{enumerable:!0,get:function(){return it.never}});var qe=i(41536);Object.defineProperty(h,"of",{enumerable:!0,get:function(){return qe.of}});var et=i(9460);Object.defineProperty(h,"onErrorResumeNext",{enumerable:!0,get:function(){return et.onErrorResumeNext}});var De=i(15292);Object.defineProperty(h,"pairs",{enumerable:!0,get:function(){return De.pairs}});var je=i(91792);Object.defineProperty(h,"partition",{enumerable:!0,get:function(){return je.partition}});var Ie=i(84048);Object.defineProperty(h,"race",{enumerable:!0,get:function(){return Ie.race}});var bt=i(12384);Object.defineProperty(h,"range",{enumerable:!0,get:function(){return bt.range}});var Qe=i(3312);Object.defineProperty(h,"throwError",{enumerable:!0,get:function(){return Qe.throwError}});var Ut=i(34168);Object.defineProperty(h,"timer",{enumerable:!0,get:function(){return Ut.timer}});var sn=i(28684);Object.defineProperty(h,"using",{enumerable:!0,get:function(){return sn.using}});var un=i(59172);Object.defineProperty(h,"zip",{enumerable:!0,get:function(){return un.zip}});var Sn=i(44232);Object.defineProperty(h,"scheduled",{enumerable:!0,get:function(){return Sn.scheduled}});var bn=i(31456);Object.defineProperty(h,"EMPTY",{enumerable:!0,get:function(){return bn.EMPTY}});var kt=i(15672);Object.defineProperty(h,"NEVER",{enumerable:!0,get:function(){return kt.NEVER}}),o(i(68828),h);var jt=i(90584);Object.defineProperty(h,"config",{enumerable:!0,get:function(){return jt.config}});var Fe=i(18380);Object.defineProperty(h,"audit",{enumerable:!0,get:function(){return Fe.audit}});var Ee=i(1393);Object.defineProperty(h,"auditTime",{enumerable:!0,get:function(){return Ee.auditTime}});var ye=i(42744);Object.defineProperty(h,"buffer",{enumerable:!0,get:function(){return ye.buffer}});var Ce=i(57864);Object.defineProperty(h,"bufferCount",{enumerable:!0,get:function(){return Ce.bufferCount}});var Ge=i(42704);Object.defineProperty(h,"bufferTime",{enumerable:!0,get:function(){return Ge.bufferTime}});var Je=i(21964);Object.defineProperty(h,"bufferToggle",{enumerable:!0,get:function(){return Je.bufferToggle}});var vt=i(16323);Object.defineProperty(h,"bufferWhen",{enumerable:!0,get:function(){return vt.bufferWhen}});var Bt=i(11708);Object.defineProperty(h,"catchError",{enumerable:!0,get:function(){return Bt.catchError}});var Zt=i(25184);Object.defineProperty(h,"combineAll",{enumerable:!0,get:function(){return Zt.combineAll}});var Rt=i(86576);Object.defineProperty(h,"combineLatestAll",{enumerable:!0,get:function(){return Rt.combineLatestAll}});var Dt=i(71480);Object.defineProperty(h,"combineLatestWith",{enumerable:!0,get:function(){return Dt.combineLatestWith}});var Ot=i(26608);Object.defineProperty(h,"concatAll",{enumerable:!0,get:function(){return Ot.concatAll}});var pn=i(68584);Object.defineProperty(h,"concatMap",{enumerable:!0,get:function(){return pn.concatMap}});var Vn=i(38776);Object.defineProperty(h,"concatMapTo",{enumerable:!0,get:function(){return Vn.concatMapTo}});var Yn=i(23332);Object.defineProperty(h,"concatWith",{enumerable:!0,get:function(){return Yn.concatWith}});var er=i(59056);Object.defineProperty(h,"connect",{enumerable:!0,get:function(){return er.connect}});var kn=i(95572);Object.defineProperty(h,"count",{enumerable:!0,get:function(){return kn.count}});var Mt=i(42568);Object.defineProperty(h,"debounce",{enumerable:!0,get:function(){return Mt.debounce}});var Gt=i(86275);Object.defineProperty(h,"debounceTime",{enumerable:!0,get:function(){return Gt.debounceTime}});var mt=i(14707);Object.defineProperty(h,"defaultIfEmpty",{enumerable:!0,get:function(){return mt.defaultIfEmpty}});var Et=i(99592);Object.defineProperty(h,"delay",{enumerable:!0,get:function(){return Et.delay}});var Xt=i(59304);Object.defineProperty(h,"delayWhen",{enumerable:!0,get:function(){return Xt.delayWhen}});var _n=i(84204);Object.defineProperty(h,"dematerialize",{enumerable:!0,get:function(){return _n.dematerialize}});var En=i(51256);Object.defineProperty(h,"distinct",{enumerable:!0,get:function(){return En.distinct}});var qt=i(21544);Object.defineProperty(h,"distinctUntilChanged",{enumerable:!0,get:function(){return qt.distinctUntilChanged}});var nr=i(61544);Object.defineProperty(h,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return nr.distinctUntilKeyChanged}});var kr=i(51808);Object.defineProperty(h,"elementAt",{enumerable:!0,get:function(){return kr.elementAt}});var Br=i(48568);Object.defineProperty(h,"endWith",{enumerable:!0,get:function(){return Br.endWith}});var sr=i(21592);Object.defineProperty(h,"every",{enumerable:!0,get:function(){return sr.every}});var Mr=i(53704);Object.defineProperty(h,"exhaust",{enumerable:!0,get:function(){return Mr.exhaust}});var br=i(34288);Object.defineProperty(h,"exhaustAll",{enumerable:!0,get:function(){return br.exhaustAll}});var Jn=i(44632);Object.defineProperty(h,"exhaustMap",{enumerable:!0,get:function(){return Jn.exhaustMap}});var xn=i(84624);Object.defineProperty(h,"expand",{enumerable:!0,get:function(){return xn.expand}});var oi=i(39840);Object.defineProperty(h,"filter",{enumerable:!0,get:function(){return oi.filter}});var Sr=i(99440);Object.defineProperty(h,"finalize",{enumerable:!0,get:function(){return Sr.finalize}});var pr=i(70939);Object.defineProperty(h,"find",{enumerable:!0,get:function(){return pr.find}});var Xn=i(69496);Object.defineProperty(h,"findIndex",{enumerable:!0,get:function(){return Xn.findIndex}});var qn=i(11848);Object.defineProperty(h,"first",{enumerable:!0,get:function(){return qn.first}});var Or=i(17909);Object.defineProperty(h,"groupBy",{enumerable:!0,get:function(){return Or.groupBy}});var pi=i(77392);Object.defineProperty(h,"ignoreElements",{enumerable:!0,get:function(){return pi.ignoreElements}});var Qt=i(73564);Object.defineProperty(h,"isEmpty",{enumerable:!0,get:function(){return Qt.isEmpty}});var Rn=i(2696);Object.defineProperty(h,"last",{enumerable:!0,get:function(){return Rn.last}});var Kn=i(784);Object.defineProperty(h,"map",{enumerable:!0,get:function(){return Kn.map}});var or=i(89224);Object.defineProperty(h,"mapTo",{enumerable:!0,get:function(){return or.mapTo}});var ui=i(6832);Object.defineProperty(h,"materialize",{enumerable:!0,get:function(){return ui.materialize}});var Ir=i(34808);Object.defineProperty(h,"max",{enumerable:!0,get:function(){return Ir.max}});var ct=i(50304);Object.defineProperty(h,"mergeAll",{enumerable:!0,get:function(){return ct.mergeAll}});var Tt=i(98924);Object.defineProperty(h,"flatMap",{enumerable:!0,get:function(){return Tt.flatMap}});var St=i(33480);Object.defineProperty(h,"mergeMap",{enumerable:!0,get:function(){return St.mergeMap}});var Jt=i(73232);Object.defineProperty(h,"mergeMapTo",{enumerable:!0,get:function(){return Jt.mergeMapTo}});var an=i(3380);Object.defineProperty(h,"mergeScan",{enumerable:!0,get:function(){return an.mergeScan}});var Cn=i(57308);Object.defineProperty(h,"mergeWith",{enumerable:!0,get:function(){return Cn.mergeWith}});var yn=i(87832);Object.defineProperty(h,"min",{enumerable:!0,get:function(){return yn.min}});var Qn=i(66752);Object.defineProperty(h,"multicast",{enumerable:!0,get:function(){return Qn.multicast}});var Un=i(33752);Object.defineProperty(h,"observeOn",{enumerable:!0,get:function(){return Un.observeOn}});var Tr=i(19184);Object.defineProperty(h,"onErrorResumeNextWith",{enumerable:!0,get:function(){return Tr.onErrorResumeNextWith}});var Er=i(74612);Object.defineProperty(h,"pairwise",{enumerable:!0,get:function(){return Er.pairwise}});var Hn=i(64712);Object.defineProperty(h,"pluck",{enumerable:!0,get:function(){return Hn.pluck}});var ur=i(70320);Object.defineProperty(h,"publish",{enumerable:!0,get:function(){return ur.publish}});var Ei=i(40360);Object.defineProperty(h,"publishBehavior",{enumerable:!0,get:function(){return Ei.publishBehavior}});var on=i(64960);Object.defineProperty(h,"publishLast",{enumerable:!0,get:function(){return on.publishLast}});var H=i(23944);Object.defineProperty(h,"publishReplay",{enumerable:!0,get:function(){return H.publishReplay}});var W=i(53424);Object.defineProperty(h,"raceWith",{enumerable:!0,get:function(){return W.raceWith}});var ae=i(39980);Object.defineProperty(h,"reduce",{enumerable:!0,get:function(){return ae.reduce}});var He=i(90532);Object.defineProperty(h,"repeat",{enumerable:!0,get:function(){return He.repeat}});var Pe=i(15696);Object.defineProperty(h,"repeatWhen",{enumerable:!0,get:function(){return Pe.repeatWhen}});var fe=i(584);Object.defineProperty(h,"retry",{enumerable:!0,get:function(){return fe.retry}});var Te=i(46856);Object.defineProperty(h,"retryWhen",{enumerable:!0,get:function(){return Te.retryWhen}});var ot=i(60300);Object.defineProperty(h,"refCount",{enumerable:!0,get:function(){return ot.refCount}});var ht=i(64968);Object.defineProperty(h,"sample",{enumerable:!0,get:function(){return ht.sample}});var Ct=i(97792);Object.defineProperty(h,"sampleTime",{enumerable:!0,get:function(){return Ct.sampleTime}});var Lt=i(17752);Object.defineProperty(h,"scan",{enumerable:!0,get:function(){return Lt.scan}});var Kt=i(43904);Object.defineProperty(h,"sequenceEqual",{enumerable:!0,get:function(){return Kt.sequenceEqual}});var dn=i(95912);Object.defineProperty(h,"share",{enumerable:!0,get:function(){return dn.share}});var fn=i(20468);Object.defineProperty(h,"shareReplay",{enumerable:!0,get:function(){return fn.shareReplay}});var mn=i(43952);Object.defineProperty(h,"single",{enumerable:!0,get:function(){return mn.single}});var ln=i(98196);Object.defineProperty(h,"skip",{enumerable:!0,get:function(){return ln.skip}});var Yt=i(47832);Object.defineProperty(h,"skipLast",{enumerable:!0,get:function(){return Yt.skipLast}});var Ln=i(36840);Object.defineProperty(h,"skipUntil",{enumerable:!0,get:function(){return Ln.skipUntil}});var lr=i(49856);Object.defineProperty(h,"skipWhile",{enumerable:!0,get:function(){return lr.skipWhile}});var cr=i(59612);Object.defineProperty(h,"startWith",{enumerable:!0,get:function(){return cr.startWith}});var Nr=i(67992);Object.defineProperty(h,"subscribeOn",{enumerable:!0,get:function(){return Nr.subscribeOn}});var Lr=i(63368);Object.defineProperty(h,"switchAll",{enumerable:!0,get:function(){return Lr.switchAll}});var ut=i(39876);Object.defineProperty(h,"switchMap",{enumerable:!0,get:function(){return ut.switchMap}});var lo=i(57168);Object.defineProperty(h,"switchMapTo",{enumerable:!0,get:function(){return lo.switchMapTo}});var vi=i(19980);Object.defineProperty(h,"switchScan",{enumerable:!0,get:function(){return vi.switchScan}});var _r=i(38120);Object.defineProperty(h,"take",{enumerable:!0,get:function(){return _r.take}});var wn=i(32224);Object.defineProperty(h,"takeLast",{enumerable:!0,get:function(){return wn.takeLast}});var $n=i(91540);Object.defineProperty(h,"takeUntil",{enumerable:!0,get:function(){return $n.takeUntil}});var si=i(35408);Object.defineProperty(h,"takeWhile",{enumerable:!0,get:function(){return si.takeWhile}});var Pr=i(46748);Object.defineProperty(h,"tap",{enumerable:!0,get:function(){return Pr.tap}});var ai=i(66720);Object.defineProperty(h,"throttle",{enumerable:!0,get:function(){return ai.throttle}});var On=i(44236);Object.defineProperty(h,"throttleTime",{enumerable:!0,get:function(){return On.throttleTime}});var ti=i(51056);Object.defineProperty(h,"throwIfEmpty",{enumerable:!0,get:function(){return ti.throwIfEmpty}});var Zr=i(39500);Object.defineProperty(h,"timeInterval",{enumerable:!0,get:function(){return Zr.timeInterval}});var Xr=i(20268);Object.defineProperty(h,"timeout",{enumerable:!0,get:function(){return Xr.timeout}});var Vi=i(88536);Object.defineProperty(h,"timeoutWith",{enumerable:!0,get:function(){return Vi.timeoutWith}});var hr=i(37248);Object.defineProperty(h,"timestamp",{enumerable:!0,get:function(){return hr.timestamp}});var Yi=i(29316);Object.defineProperty(h,"toArray",{enumerable:!0,get:function(){return Yi.toArray}});var ko=i(40560);Object.defineProperty(h,"window",{enumerable:!0,get:function(){return ko.window}});var go=i(79068);Object.defineProperty(h,"windowCount",{enumerable:!0,get:function(){return go.windowCount}});var Jr=i(11984);Object.defineProperty(h,"windowTime",{enumerable:!0,get:function(){return Jr.windowTime}});var zi=i(97776);Object.defineProperty(h,"windowToggle",{enumerable:!0,get:function(){return zi.windowToggle}});var qi=i(36872);Object.defineProperty(h,"windowWhen",{enumerable:!0,get:function(){return qi.windowWhen}});var ro=i(95780);Object.defineProperty(h,"withLatestFrom",{enumerable:!0,get:function(){return ro.withLatestFrom}});var Rr=i(71120);Object.defineProperty(h,"zipAll",{enumerable:!0,get:function(){return Rr.zipAll}});var mo=i(56824);Object.defineProperty(h,"zipWith",{enumerable:!0,get:function(){return mo.zipWith}})},70408:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncSubject=void 0;var d=function(a){function u(){var e=null!==a&&a.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(u,a),u.prototype._checkFinalizedStatuses=function(e){var l=this,g=l._hasValue,y=l._value,C=l.isStopped,b=l._isComplete;l.hasError?e.error(l.thrownError):(C||b)&&(g&&e.next(y),e.complete())},u.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},u.prototype.complete=function(){var e=this,l=e._hasValue,c=e._value;e._isComplete||(this._isComplete=!0,l&&a.prototype.next.call(this,c),a.prototype.complete.call(this))},u}(i(90120).Subject);h.AsyncSubject=d},60488:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.BehaviorSubject=void 0;var d=function(a){function u(e){var l=a.call(this)||this;return l._value=e,l}return n(u,a),Object.defineProperty(u.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),u.prototype._subscribe=function(e){var l=a.prototype._subscribe.call(this,e);return!l.closed&&e.next(this._value),l},u.prototype.getValue=function(){var e=this,g=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),g},u.prototype.next=function(e){a.prototype.next.call(this,this._value=e)},u}(i(90120).Subject);h.BehaviorSubject=d},12032:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeNotification=h.Notification=h.NotificationKind=void 0;var c,n=i(31456),o=i(41536),d=i(3312),a=i(82360);(c=h.NotificationKind||(h.NotificationKind={})).NEXT="N",c.ERROR="E",c.COMPLETE="C";var e=function(){function c(g,y,_){this.kind=g,this.value=y,this.error=_,this.hasValue="N"===g}return c.prototype.observe=function(g){return l(this,g)},c.prototype.do=function(g,y,_){var C=this,b=C.kind,p=C.value,f=C.error;return"N"===b?g?.(p):"E"===b?y?.(f):_?.()},c.prototype.accept=function(g,y,_){var C;return a.isFunction(null===(C=g)||void 0===C?void 0:C.next)?this.observe(g):this.do(g,y,_)},c.prototype.toObservable=function(){var g=this,y=g.kind,C=g.error,b="N"===y?o.of(g.value):"E"===y?d.throwError(function(){return C}):"C"===y?n.EMPTY:0;if(!b)throw new TypeError("Unexpected notification kind "+y);return b},c.createNext=function(g){return new c("N",g)},c.createError=function(g){return new c("E",void 0,g)},c.createComplete=function(){return c.completeNotification},c.completeNotification=new c("C"),c}();function l(c,g){var y,_,C,p=c.kind,f=c.value,S=c.error;if("string"!=typeof p)throw new TypeError('Invalid notification, missing "kind"');"N"===p?null===(y=g.next)||void 0===y||y.call(g,f):"E"===p?null===(_=g.error)||void 0===_||_.call(g,S):null===(C=g.complete)||void 0===C||C.call(g)}h.Notification=e,h.observeNotification=l},62640:(ve,h)=>{"use strict";function o(d,a,u){return{kind:d,value:a,error:u}}Object.defineProperty(h,"__esModule",{value:!0}),h.createNotification=h.nextNotification=h.errorNotification=h.COMPLETE_NOTIFICATION=void 0,h.COMPLETE_NOTIFICATION=o("C",void 0,void 0),h.errorNotification=function i(d){return o("E",void 0,d)},h.nextNotification=function n(d){return o("N",d,void 0)},h.createNotification=o},15448:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Observable=void 0;var n=i(41596),o=i(40576),d=i(72064),a=i(19512),u=i(90584),e=i(82360),l=i(49664),c=function(){function C(b){b&&(this._subscribe=b)}return C.prototype.lift=function(b){var p=new C;return p.source=this,p.operator=b,p},C.prototype.subscribe=function(b,p,f){var S=this,v=function _(C){return C&&C instanceof n.Subscriber||function y(C){return C&&e.isFunction(C.next)&&e.isFunction(C.error)&&e.isFunction(C.complete)}(C)&&o.isSubscription(C)}(b)?b:new n.SafeSubscriber(b,p,f);return l.errorContext(function(){var E=S.operator,A=S.source;v.add(E?E.call(v,A):A?S._subscribe(v):S._trySubscribe(v))}),v},C.prototype._trySubscribe=function(b){try{return this._subscribe(b)}catch(p){b.error(p)}},C.prototype.forEach=function(b,p){var f=this;return new(p=g(p))(function(S,v){var M=new n.SafeSubscriber({next:function(E){try{b(E)}catch(A){v(A),M.unsubscribe()}},error:v,complete:S});f.subscribe(M)})},C.prototype._subscribe=function(b){var p;return null===(p=this.source)||void 0===p?void 0:p.subscribe(b)},C.prototype[d.observable]=function(){return this},C.prototype.pipe=function(){for(var b=[],p=0;p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.Scheduler=void 0;var n=i(8764),o=function(){function d(a,u){void 0===u&&(u=d.now),this.schedulerActionCtor=a,this.now=u}return d.prototype.schedule=function(a,u,e){return void 0===u&&(u=0),new this.schedulerActionCtor(this,a).schedule(e,u)},d.now=n.dateTimestampProvider.now,d}();h.Scheduler=o},90120:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var y=function(_,C){return(y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,p){b.__proto__=p}||function(b,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(b[f]=p[f])})(_,C)};return function(_,C){if("function"!=typeof C&&null!==C)throw new TypeError("Class extends value "+String(C)+" is not a constructor or null");function b(){this.constructor=_}y(_,C),_.prototype=null===C?Object.create(C):(b.prototype=C.prototype,new b)}}(),o=this&&this.__values||function(y){var _="function"==typeof Symbol&&Symbol.iterator,C=_&&y[_],b=0;if(C)return C.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&b>=y.length&&(y=void 0),{value:y&&y[b++],done:!y}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.AnonymousSubject=h.Subject=void 0;var d=i(15448),a=i(40576),u=i(92304),e=i(39852),l=i(49664),c=function(y){function _(){var C=y.call(this)||this;return C.closed=!1,C.currentObservers=null,C.observers=[],C.isStopped=!1,C.hasError=!1,C.thrownError=null,C}return n(_,y),_.prototype.lift=function(C){var b=new g(this,this);return b.operator=C,b},_.prototype._throwIfClosed=function(){if(this.closed)throw new u.ObjectUnsubscribedError},_.prototype.next=function(C){var b=this;l.errorContext(function(){var p,f;if(b._throwIfClosed(),!b.isStopped){b.currentObservers||(b.currentObservers=Array.from(b.observers));try{for(var S=o(b.currentObservers),v=S.next();!v.done;v=S.next())v.value.next(C)}catch(E){p={error:E}}finally{try{v&&!v.done&&(f=S.return)&&f.call(S)}finally{if(p)throw p.error}}}})},_.prototype.error=function(C){var b=this;l.errorContext(function(){if(b._throwIfClosed(),!b.isStopped){b.hasError=b.isStopped=!0,b.thrownError=C;for(var p=b.observers;p.length;)p.shift().error(C)}})},_.prototype.complete=function(){var C=this;l.errorContext(function(){if(C._throwIfClosed(),!C.isStopped){C.isStopped=!0;for(var b=C.observers;b.length;)b.shift().complete()}})},_.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(_.prototype,"observed",{get:function(){var C;return(null===(C=this.observers)||void 0===C?void 0:C.length)>0},enumerable:!1,configurable:!0}),_.prototype._trySubscribe=function(C){return this._throwIfClosed(),y.prototype._trySubscribe.call(this,C)},_.prototype._subscribe=function(C){return this._throwIfClosed(),this._checkFinalizedStatuses(C),this._innerSubscribe(C)},_.prototype._innerSubscribe=function(C){var b=this,p=this,v=p.observers;return p.hasError||p.isStopped?a.EMPTY_SUBSCRIPTION:(this.currentObservers=null,v.push(C),new a.Subscription(function(){b.currentObservers=null,e.arrRemove(v,C)}))},_.prototype._checkFinalizedStatuses=function(C){var b=this,S=b.isStopped;b.hasError?C.error(b.thrownError):S&&C.complete()},_.prototype.asObservable=function(){var C=new d.Observable;return C.source=this,C},_.create=function(C,b){return new g(C,b)},_}(d.Observable);h.Subject=c;var g=function(y){function _(C,b){var p=y.call(this)||this;return p.destination=C,p.source=b,p}return n(_,y),_.prototype.next=function(C){var b,p;null===(p=null===(b=this.destination)||void 0===b?void 0:b.next)||void 0===p||p.call(b,C)},_.prototype.error=function(C){var b,p;null===(p=null===(b=this.destination)||void 0===b?void 0:b.error)||void 0===p||p.call(b,C)},_.prototype.complete=function(){var C,b;null===(b=null===(C=this.destination)||void 0===C?void 0:C.complete)||void 0===b||b.call(C)},_.prototype._subscribe=function(C){var b,p;return null!==(p=null===(b=this.source)||void 0===b?void 0:b.subscribe(C))&&void 0!==p?p:a.EMPTY_SUBSCRIPTION},_}(c);h.AnonymousSubject=g},41596:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var M=function(E,A){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(k,N){k.__proto__=N}||function(k,N){for(var F in N)Object.prototype.hasOwnProperty.call(N,F)&&(k[F]=N[F])})(E,A)};return function(E,A){if("function"!=typeof A&&null!==A)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function k(){this.constructor=E}M(E,A),E.prototype=null===A?Object.create(A):(k.prototype=A.prototype,new k)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.EMPTY_OBSERVER=h.SafeSubscriber=h.Subscriber=void 0;var o=i(82360),d=i(40576),a=i(90584),u=i(50131),e=i(48320),l=i(62640),c=i(82480),g=i(49664),y=function(M){function E(A){var k=M.call(this)||this;return k.isStopped=!1,A?(k.destination=A,d.isSubscription(A)&&A.add(k)):k.destination=h.EMPTY_OBSERVER,k}return n(E,M),E.create=function(A,k,N){return new p(A,k,N)},E.prototype.next=function(A){this.isStopped?v(l.nextNotification(A),this):this._next(A)},E.prototype.error=function(A){this.isStopped?v(l.errorNotification(A),this):(this.isStopped=!0,this._error(A))},E.prototype.complete=function(){this.isStopped?v(l.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},E.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,M.prototype.unsubscribe.call(this),this.destination=null)},E.prototype._next=function(A){this.destination.next(A)},E.prototype._error=function(A){try{this.destination.error(A)}finally{this.unsubscribe()}},E.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},E}(d.Subscription);h.Subscriber=y;var _=Function.prototype.bind;function C(M,E){return _.call(M,E)}var b=function(){function M(E){this.partialObserver=E}return M.prototype.next=function(E){var A=this.partialObserver;if(A.next)try{A.next(E)}catch(k){f(k)}},M.prototype.error=function(E){var A=this.partialObserver;if(A.error)try{A.error(E)}catch(k){f(k)}else f(E)},M.prototype.complete=function(){var E=this.partialObserver;if(E.complete)try{E.complete()}catch(A){f(A)}},M}(),p=function(M){function E(A,k,N){var T,P,F=M.call(this)||this;return o.isFunction(A)||!A?T={next:A??void 0,error:k??void 0,complete:N??void 0}:F&&a.config.useDeprecatedNextContext?((P=Object.create(A)).unsubscribe=function(){return F.unsubscribe()},T={next:A.next&&C(A.next,P),error:A.error&&C(A.error,P),complete:A.complete&&C(A.complete,P)}):T=A,F.destination=new b(T),F}return n(E,M),E}(y);function f(M){a.config.useDeprecatedSynchronousErrorHandling?g.captureError(M):u.reportUnhandledError(M)}function v(M,E){var A=a.config.onStoppedNotification;A&&c.timeoutProvider.setTimeout(function(){return A(M,E)})}h.SafeSubscriber=p,h.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function S(M){throw M},complete:e.noop}},40576:function(ve,h,i){"use strict";var n=this&&this.__values||function(y){var _="function"==typeof Symbol&&Symbol.iterator,C=_&&y[_],b=0;if(C)return C.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&b>=y.length&&(y=void 0),{value:y&&y[b++],done:!y}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__read||function(y,_){var C="function"==typeof Symbol&&y[Symbol.iterator];if(!C)return y;var p,S,b=C.call(y),f=[];try{for(;(void 0===_||_-- >0)&&!(p=b.next()).done;)f.push(p.value)}catch(v){S={error:v}}finally{try{p&&!p.done&&(C=b.return)&&C.call(b)}finally{if(S)throw S.error}}return f},d=this&&this.__spreadArray||function(y,_){for(var C=0,b=_.length,p=y.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.config=void 0,h.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.firstValueFrom=void 0;var n=i(51544),o=i(41596);h.firstValueFrom=function d(a,u){var e="object"==typeof u;return new Promise(function(l,c){var g=new o.SafeSubscriber({next:function(y){l(y),g.unsubscribe()},error:c,complete:function(){e?l(u.defaultValue):c(new n.EmptyError)}});a.subscribe(g)})}},59452:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.lastValueFrom=void 0;var n=i(51544);h.lastValueFrom=function o(d,a){var u="object"==typeof a;return new Promise(function(e,l){var g,c=!1;d.subscribe({next:function(y){g=y,c=!0},error:l,complete:function(){c?e(g):u?e(a.defaultValue):l(new n.EmptyError)}})})}},42416:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var c=function(g,y){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,C){_.__proto__=C}||function(_,C){for(var b in C)Object.prototype.hasOwnProperty.call(C,b)&&(_[b]=C[b])})(g,y)};return function(g,y){if("function"!=typeof y&&null!==y)throw new TypeError("Class extends value "+String(y)+" is not a constructor or null");function _(){this.constructor=g}c(g,y),g.prototype=null===y?Object.create(y):(_.prototype=y.prototype,new _)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.ConnectableObservable=void 0;var o=i(15448),d=i(40576),a=i(60300),u=i(35744),e=i(66080),l=function(c){function g(y,_){var C=c.call(this)||this;return C.source=y,C.subjectFactory=_,C._subject=null,C._refCount=0,C._connection=null,e.hasLift(y)&&(C.lift=y.lift),C}return n(g,c),g.prototype._subscribe=function(y){return this.getSubject().subscribe(y)},g.prototype.getSubject=function(){var y=this._subject;return(!y||y.isStopped)&&(this._subject=this.subjectFactory()),this._subject},g.prototype._teardown=function(){this._refCount=0;var y=this._connection;this._subject=this._connection=null,y?.unsubscribe()},g.prototype.connect=function(){var y=this,_=this._connection;if(!_){_=this._connection=new d.Subscription;var C=this.getSubject();_.add(this.source.subscribe(u.createOperatorSubscriber(C,void 0,function(){y._teardown(),C.complete()},function(b){y._teardown(),C.error(b)},function(){return y._teardown()}))),_.closed&&(this._connection=null,_=d.Subscription.EMPTY)}return _},g.prototype.refCount=function(){return a.refCount()(this)},g}(o.Observable);h.ConnectableObservable=l},1856:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindCallback=void 0;var n=i(98140);h.bindCallback=function o(d,a,u){return n.bindCallbackInternals(!1,d,a,u)}},98140:function(ve,h,i){"use strict";var n=this&&this.__read||function(y,_){var C="function"==typeof Symbol&&y[Symbol.iterator];if(!C)return y;var p,S,b=C.call(y),f=[];try{for(;(void 0===_||_-- >0)&&!(p=b.next()).done;)f.push(p.value)}catch(v){S={error:v}}finally{try{p&&!p.done&&(C=b.return)&&C.call(b)}finally{if(S)throw S.error}}return f},o=this&&this.__spreadArray||function(y,_){for(var C=0,b=_.length,p=y.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bindNodeCallback=void 0;var n=i(98140);h.bindNodeCallback=function o(d,a,u){return n.bindCallbackInternals(!0,d,a,u)}},60128:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestInit=h.combineLatest=void 0;var n=i(15448),o=i(75352),d=i(38485),a=i(55184),u=i(82664),e=i(69724),l=i(7788),c=i(35744),g=i(61760);function _(b,p,f){return void 0===f&&(f=a.identity),function(S){C(p,function(){for(var v=b.length,M=new Array(v),E=v,A=v,k=function(F){C(p,function(){var T=d.from(b[F],p),P=!1;T.subscribe(c.createOperatorSubscriber(S,function(I){M[F]=I,P||(P=!0,A--),A||S.next(f(M.slice()))},function(){--E||S.complete()}))},S)},N=0;N{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concat=void 0;var n=i(26608),o=i(69724),d=i(38485);h.concat=function a(){for(var u=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connectable=void 0;var n=i(90120),o=i(15448),d=i(71896),a={connector:function(){return new n.Subject},resetOnDisconnect:!0};h.connectable=function u(e,l){void 0===l&&(l=a);var c=null,g=l.connector,y=l.resetOnDisconnect,_=void 0===y||y,C=g(),b=new o.Observable(function(p){return C.subscribe(p)});return b.connect=function(){return(!c||c.closed)&&(c=d.defer(function(){return e}).subscribe(C),_&&c.add(function(){return C=g()})),c},b}},71896:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defer=void 0;var n=i(15448),o=i(81280);h.defer=function d(a){return new n.Observable(function(u){o.innerFrom(a()).subscribe(u)})}},72444:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrames=void 0;var n=i(15448),o=i(68424),d=i(24352);function u(l){return new n.Observable(function(c){var g=l||o.performanceTimestampProvider,y=g.now(),_=0,C=function(){c.closed||(_=d.animationFrameProvider.requestAnimationFrame(function(b){_=0;var p=g.now();c.next({timestamp:l?p:b,elapsed:p-y}),C()}))};return C(),function(){_&&d.animationFrameProvider.cancelAnimationFrame(_)}})}h.animationFrames=function a(l){return l?u(l):e};var e=u()},31456:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.empty=h.EMPTY=void 0;var n=i(15448);h.EMPTY=new n.Observable(function(a){return a.complete()}),h.empty=function o(a){return a?function d(a){return new n.Observable(function(u){return a.schedule(function(){return u.complete()})})}(a):h.EMPTY}},93052:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.forkJoin=void 0;var n=i(15448),o=i(75352),d=i(81280),a=i(69724),u=i(35744),e=i(82664),l=i(7788);h.forkJoin=function c(){for(var g=[],y=0;y{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.from=void 0;var n=i(44232),o=i(81280);h.from=function d(a,u){return u?n.scheduled(a,u):o.innerFrom(a)}},85e3:function(ve,h,i){"use strict";var n=this&&this.__read||function(S,v){var M="function"==typeof Symbol&&S[Symbol.iterator];if(!M)return S;var A,N,E=M.call(S),k=[];try{for(;(void 0===v||v-- >0)&&!(A=E.next()).done;)k.push(A.value)}catch(F){N={error:F}}finally{try{A&&!A.done&&(M=E.return)&&M.call(E)}finally{if(N)throw N.error}}return k};Object.defineProperty(h,"__esModule",{value:!0}),h.fromEvent=void 0;var o=i(81280),d=i(15448),a=i(33480),u=i(18224),e=i(82360),l=i(82664),c=["addListener","removeListener"],g=["addEventListener","removeEventListener"],y=["on","off"];function C(S,v){return function(M){return function(E){return S[M](v,E)}}}h.fromEvent=function _(S,v,M,E){if(e.isFunction(M)&&(E=M,M=void 0),E)return _(S,v,M).pipe(l.mapOneOrManyArgs(E));var A=n(function f(S){return e.isFunction(S.addEventListener)&&e.isFunction(S.removeEventListener)}(S)?g.map(function(F){return function(T){return S[F](v,T,M)}}):function b(S){return e.isFunction(S.addListener)&&e.isFunction(S.removeListener)}(S)?c.map(C(S,v)):function p(S){return e.isFunction(S.on)&&e.isFunction(S.off)}(S)?y.map(C(S,v)):[],2),k=A[0],N=A[1];if(!k&&u.isArrayLike(S))return a.mergeMap(function(F){return _(F,v,M)})(o.innerFrom(S));if(!k)throw new TypeError("Invalid event target");return new d.Observable(function(F){var T=function(){for(var P=[],I=0;I{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromEventPattern=void 0;var n=i(15448),o=i(82360),d=i(82664);h.fromEventPattern=function a(u,e,l){return l?a(u,e).pipe(d.mapOneOrManyArgs(l)):new n.Observable(function(c){var g=function(){for(var _=[],C=0;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.fromSubscribable=void 0;var n=i(15448);h.fromSubscribable=function o(d){return new n.Observable(function(a){return d.subscribe(a)})}},92560:function(ve,h,i){"use strict";var n=this&&this.__generator||function(l,c){var y,_,C,b,g={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return b={next:p(0),throw:p(1),return:p(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function p(S){return function(v){return function f(S){if(y)throw new TypeError("Generator is already executing.");for(;g;)try{if(y=1,_&&(C=2&S[0]?_.return:S[0]?_.throw||((C=_.return)&&C.call(_),0):_.next)&&!(C=C.call(_,S[1])).done)return C;switch(_=0,C&&(S=[2&S[0],C.value]),S[0]){case 0:case 1:C=S;break;case 4:return g.label++,{value:S[1],done:!1};case 5:g.label++,_=S[1],S=[0];continue;case 7:S=g.ops.pop(),g.trys.pop();continue;default:if(!(C=(C=g.trys).length>0&&C[C.length-1])&&(6===S[0]||2===S[0])){g=0;continue}if(3===S[0]&&(!C||S[1]>C[0]&&S[1]{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.iif=void 0;var n=i(71896);h.iif=function o(d,a,u){return n.defer(function(){return d()?a:u})}},81280:function(ve,h,i){"use strict";var n=this&&this.__awaiter||function(T,P,I,j){return new(I||(I=Promise))(function(B,$){function ee(K){try{se(j.next(K))}catch(Q){$(Q)}}function le(K){try{se(j.throw(K))}catch(Q){$(Q)}}function se(K){K.done?B(K.value):function L(B){return B instanceof I?B:new I(function($){$(B)})}(K.value).then(ee,le)}se((j=j.apply(T,P||[])).next())})},o=this&&this.__generator||function(T,P){var j,L,B,$,I={label:0,sent:function(){if(1&B[0])throw B[1];return B[1]},trys:[],ops:[]};return $={next:ee(0),throw:ee(1),return:ee(2)},"function"==typeof Symbol&&($[Symbol.iterator]=function(){return this}),$;function ee(se){return function(K){return function le(se){if(j)throw new TypeError("Generator is already executing.");for(;I;)try{if(j=1,L&&(B=2&se[0]?L.return:se[0]?L.throw||((B=L.return)&&B.call(L),0):L.next)&&!(B=B.call(L,se[1])).done)return B;switch(L=0,B&&(se=[2&se[0],B.value]),se[0]){case 0:case 1:B=se;break;case 4:return I.label++,{value:se[1],done:!1};case 5:I.label++,L=se[1],se=[0];continue;case 7:se=I.ops.pop(),I.trys.pop();continue;default:if(!(B=(B=I.trys).length>0&&B[B.length-1])&&(6===se[0]||2===se[0])){I=0;continue}if(3===se[0]&&(!B||se[1]>B[0]&&se[1]=T.length&&(T=void 0),{value:T&&T[j++],done:!T}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.fromReadableStreamLike=h.fromAsyncIterable=h.fromIterable=h.fromPromise=h.fromArrayLike=h.fromInteropObservable=h.innerFrom=void 0;var u=i(18224),e=i(28296),l=i(15448),c=i(18440),g=i(37156),y=i(34088),_=i(30640),C=i(11416),b=i(82360),p=i(50131),f=i(72064);function v(T){return new l.Observable(function(P){var I=T[f.observable]();if(b.isFunction(I.subscribe))return I.subscribe(P);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function M(T){return new l.Observable(function(P){for(var I=0;I{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.interval=void 0;var n=i(69252),o=i(34168);h.interval=function d(a,u){return void 0===a&&(a=0),void 0===u&&(u=n.asyncScheduler),a<0&&(a=0),o.timer(a,a,u)}},14152:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.merge=void 0;var n=i(50304),o=i(81280),d=i(31456),a=i(69724),u=i(38485);h.merge=function e(){for(var l=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.never=h.NEVER=void 0;var n=i(15448),o=i(48320);h.NEVER=new n.Observable(o.noop),h.never=function d(){return h.NEVER}},41536:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.of=void 0;var n=i(69724),o=i(38485);h.of=function d(){for(var a=[],u=0;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.onErrorResumeNext=void 0;var n=i(15448),o=i(50652),d=i(35744),a=i(48320),u=i(81280);h.onErrorResumeNext=function e(){for(var l=[],c=0;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairs=void 0;var n=i(38485);h.pairs=function o(d,a){return n.from(Object.entries(d),a)}},91792:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.partition=void 0;var n=i(37700),o=i(39840),d=i(81280);h.partition=function a(u,e,l){return[o.filter(e,l)(d.innerFrom(u)),o.filter(n.not(e,l))(d.innerFrom(u))]}},84048:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.raceInit=h.race=void 0;var n=i(15448),o=i(81280),d=i(50652),a=i(35744);function e(l){return function(c){for(var g=[],y=function(C){g.push(o.innerFrom(l[C]).subscribe(a.createOperatorSubscriber(c,function(b){if(g){for(var p=0;p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.range=void 0;var n=i(15448),o=i(31456);h.range=function d(a,u,e){if(null==u&&(u=a,a=0),u<=0)return o.EMPTY;var l=u+a;return new n.Observable(e?function(c){var g=a;return e.schedule(function(){g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwError=void 0;var n=i(15448),o=i(82360);h.throwError=function d(a,u){var e=o.isFunction(a)?a:function(){return a},l=function(c){return c.error(e())};return new n.Observable(u?function(c){return u.schedule(l,0,c)}:l)}},34168:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timer=void 0;var n=i(15448),o=i(69252),d=i(76964),a=i(42384);h.timer=function u(e,l,c){void 0===e&&(e=0),void 0===c&&(c=o.async);var g=-1;return null!=l&&(d.isScheduler(l)?c=l:g=l),new n.Observable(function(y){var _=a.isValidDate(e)?+e-c.now():e;_<0&&(_=0);var C=0;return c.schedule(function(){y.closed||(y.next(C++),0<=g?this.schedule(void 0,g):y.complete())},_)})}},28684:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.using=void 0;var n=i(15448),o=i(81280),d=i(31456);h.using=function a(u,e){return new n.Observable(function(l){var c=u(),g=e(c);return(g?o.innerFrom(g):d.EMPTY).subscribe(l),function(){c&&c.unsubscribe()}})}},59172:function(ve,h,i){"use strict";var n=this&&this.__read||function(y,_){var C="function"==typeof Symbol&&y[Symbol.iterator];if(!C)return y;var p,S,b=C.call(y),f=[];try{for(;(void 0===_||_-- >0)&&!(p=b.next()).done;)f.push(p.value)}catch(v){S={error:v}}finally{try{p&&!p.done&&(C=b.return)&&C.call(b)}finally{if(S)throw S.error}}return f},o=this&&this.__spreadArray||function(y,_){for(var C=0,b=_.length,p=y.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.audit=void 0;var n=i(66080),o=i(81280),d=i(35744);h.audit=function a(u){return n.operate(function(e,l){var c=!1,g=null,y=null,_=!1,C=function(){if(y?.unsubscribe(),y=null,c){c=!1;var p=g;g=null,l.next(p)}_&&l.complete()},b=function(){y=null,_&&l.complete()};e.subscribe(d.createOperatorSubscriber(l,function(p){c=!0,g=p,y||o.innerFrom(u(p)).subscribe(y=d.createOperatorSubscriber(l,C,b))},function(){_=!0,(!c||!y||y.closed)&&l.complete()}))})}},1393:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.auditTime=void 0;var n=i(69252),o=i(18380),d=i(34168);h.auditTime=function a(u,e){return void 0===e&&(e=n.asyncScheduler),o.audit(function(){return d.timer(u,e)})}},42744:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.buffer=void 0;var n=i(66080),o=i(48320),d=i(35744),a=i(81280);h.buffer=function u(e){return n.operate(function(l,c){var g=[];return l.subscribe(d.createOperatorSubscriber(c,function(y){return g.push(y)},function(){c.next(g),c.complete()})),a.innerFrom(e).subscribe(d.createOperatorSubscriber(c,function(){var y=g;g=[],c.next(y)},o.noop)),function(){g=null}})}},57864:function(ve,h,i){"use strict";var n=this&&this.__values||function(e){var l="function"==typeof Symbol&&Symbol.iterator,c=l&&e[l],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferCount=void 0;var o=i(66080),d=i(35744),a=i(39852);h.bufferCount=function u(e,l){return void 0===l&&(l=null),l=l??e,o.operate(function(c,g){var y=[],_=0;c.subscribe(d.createOperatorSubscriber(g,function(C){var b,p,f,S,v=null;_++%l==0&&y.push([]);try{for(var M=n(y),E=M.next();!E.done;E=M.next())(A=E.value).push(C),e<=A.length&&(v=v??[]).push(A)}catch(F){b={error:F}}finally{try{E&&!E.done&&(p=M.return)&&p.call(M)}finally{if(b)throw b.error}}if(v)try{for(var k=n(v),N=k.next();!N.done;N=k.next()){var A;a.arrRemove(y,A=N.value),g.next(A)}}catch(F){f={error:F}}finally{try{N&&!N.done&&(S=k.return)&&S.call(k)}finally{if(f)throw f.error}}},function(){var C,b;try{for(var p=n(y),f=p.next();!f.done;f=p.next())g.next(f.value)}catch(v){C={error:v}}finally{try{f&&!f.done&&(b=p.return)&&b.call(p)}finally{if(C)throw C.error}}g.complete()},void 0,function(){y=null}))})}},42704:function(ve,h,i){"use strict";var n=this&&this.__values||function(y){var _="function"==typeof Symbol&&Symbol.iterator,C=_&&y[_],b=0;if(C)return C.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&b>=y.length&&(y=void 0),{value:y&&y[b++],done:!y}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferTime=void 0;var o=i(40576),d=i(66080),a=i(35744),u=i(39852),e=i(69252),l=i(69724),c=i(61760);h.bufferTime=function g(y){for(var _,C,b=[],p=1;p=0?c.executeSchedule(E,f,F,S,!0):k=!0,F();var T=a.createOperatorSubscriber(E,function(P){var I,j,L=A.slice();try{for(var B=n(L),$=B.next();!$.done;$=B.next()){var ee=$.value,le=ee.buffer;le.push(P),v<=le.length&&N(ee)}}catch(se){I={error:se}}finally{try{$&&!$.done&&(j=B.return)&&j.call(B)}finally{if(I)throw I.error}}},function(){for(;A?.length;)E.next(A.shift().buffer);T?.unsubscribe(),E.complete(),E.unsubscribe()},void 0,function(){return A=null});M.subscribe(T)})}},21964:function(ve,h,i){"use strict";var n=this&&this.__values||function(g){var y="function"==typeof Symbol&&Symbol.iterator,_=y&&g[y],C=0;if(_)return _.call(g);if(g&&"number"==typeof g.length)return{next:function(){return g&&C>=g.length&&(g=void 0),{value:g&&g[C++],done:!g}}};throw new TypeError(y?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.bufferToggle=void 0;var o=i(40576),d=i(66080),a=i(81280),u=i(35744),e=i(48320),l=i(39852);h.bufferToggle=function c(g,y){return d.operate(function(_,C){var b=[];a.innerFrom(g).subscribe(u.createOperatorSubscriber(C,function(p){var f=[];b.push(f);var S=new o.Subscription;S.add(a.innerFrom(y(p)).subscribe(u.createOperatorSubscriber(C,function(){l.arrRemove(b,f),C.next(f),S.unsubscribe()},e.noop)))},e.noop)),_.subscribe(u.createOperatorSubscriber(C,function(p){var f,S;try{for(var v=n(b),M=v.next();!M.done;M=v.next())M.value.push(p)}catch(A){f={error:A}}finally{try{M&&!M.done&&(S=v.return)&&S.call(v)}finally{if(f)throw f.error}}},function(){for(;b.length>0;)C.next(b.shift());C.complete()}))})}},16323:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.bufferWhen=void 0;var n=i(66080),o=i(48320),d=i(35744),a=i(81280);h.bufferWhen=function u(e){return n.operate(function(l,c){var g=null,y=null,_=function(){y?.unsubscribe();var C=g;g=[],C&&c.next(C),a.innerFrom(e()).subscribe(y=d.createOperatorSubscriber(c,_,o.noop))};_(),l.subscribe(d.createOperatorSubscriber(c,function(C){return g?.push(C)},function(){g&&c.next(g),c.complete()},void 0,function(){return g=y=null}))})}},11708:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.catchError=void 0;var n=i(81280),o=i(35744),d=i(66080);h.catchError=function a(u){return d.operate(function(e,l){var y,c=null,g=!1;c=e.subscribe(o.createOperatorSubscriber(l,void 0,void 0,function(_){y=n.innerFrom(u(_,a(u)(e))),c?(c.unsubscribe(),c=null,y.subscribe(l)):g=!0})),g&&(c.unsubscribe(),c=null,y.subscribe(l))})}},25184:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineAll=void 0;var n=i(86576);h.combineAll=n.combineLatestAll},31384:function(ve,h,i){"use strict";var n=this&&this.__read||function(y,_){var C="function"==typeof Symbol&&y[Symbol.iterator];if(!C)return y;var p,S,b=C.call(y),f=[];try{for(;(void 0===_||_-- >0)&&!(p=b.next()).done;)f.push(p.value)}catch(v){S={error:v}}finally{try{p&&!p.done&&(C=b.return)&&C.call(b)}finally{if(S)throw S.error}}return f},o=this&&this.__spreadArray||function(y,_){for(var C=0,b=_.length,p=y.length;C{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.combineLatestAll=void 0;var n=i(60128),o=i(28400);h.combineLatestAll=function d(a){return o.joinAllInternals(n.combineLatest,a)}},71480:function(ve,h,i){"use strict";var n=this&&this.__read||function(u,e){var l="function"==typeof Symbol&&u[Symbol.iterator];if(!l)return u;var g,_,c=l.call(u),y=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)y.push(g.value)}catch(C){_={error:C}}finally{try{g&&!g.done&&(l=c.return)&&l.call(c)}finally{if(_)throw _.error}}return y},o=this&&this.__spreadArray||function(u,e){for(var l=0,c=e.length,g=u.length;l0)&&!(C=_.next()).done;)b.push(C.value)}catch(f){p={error:f}}finally{try{C&&!C.done&&(y=_.return)&&y.call(_)}finally{if(p)throw p.error}}return b},o=this&&this.__spreadArray||function(c,g){for(var y=0,_=g.length,C=c.length;y<_;y++,C++)c[C]=g[y];return c};Object.defineProperty(h,"__esModule",{value:!0}),h.concat=void 0;var d=i(66080),a=i(26608),u=i(69724),e=i(38485);h.concat=function l(){for(var c=[],g=0;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatAll=void 0;var n=i(50304);h.concatAll=function o(){return n.mergeAll(1)}},68584:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMap=void 0;var n=i(33480),o=i(82360);h.concatMap=function d(a,u){return o.isFunction(u)?n.mergeMap(a,u,1):n.mergeMap(a,1)}},38776:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.concatMapTo=void 0;var n=i(68584),o=i(82360);h.concatMapTo=function d(a,u){return o.isFunction(u)?n.concatMap(function(){return a},u):n.concatMap(function(){return a})}},23332:function(ve,h,i){"use strict";var n=this&&this.__read||function(u,e){var l="function"==typeof Symbol&&u[Symbol.iterator];if(!l)return u;var g,_,c=l.call(u),y=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)y.push(g.value)}catch(C){_={error:C}}finally{try{g&&!g.done&&(l=c.return)&&l.call(c)}finally{if(_)throw _.error}}return y},o=this&&this.__spreadArray||function(u,e){for(var l=0,c=e.length,g=u.length;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.connect=void 0;var n=i(90120),o=i(81280),d=i(66080),a=i(28544),u={connector:function(){return new n.Subject}};h.connect=function e(l,c){void 0===c&&(c=u);var g=c.connector;return d.operate(function(y,_){var C=g();o.innerFrom(l(a.fromSubscribable(C))).subscribe(_),_.add(y.subscribe(C))})}},95572:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.count=void 0;var n=i(39980);h.count=function o(d){return n.reduce(function(a,u,e){return!d||d(u,e)?a+1:a},0)}},42568:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounce=void 0;var n=i(66080),o=i(48320),d=i(35744),a=i(81280);h.debounce=function u(e){return n.operate(function(l,c){var g=!1,y=null,_=null,C=function(){if(_?.unsubscribe(),_=null,g){g=!1;var b=y;y=null,c.next(b)}};l.subscribe(d.createOperatorSubscriber(c,function(b){_?.unsubscribe(),g=!0,y=b,_=d.createOperatorSubscriber(c,C,o.noop),a.innerFrom(e(b)).subscribe(_)},function(){C(),c.complete()},void 0,function(){y=_=null}))})}},86275:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.debounceTime=void 0;var n=i(69252),o=i(66080),d=i(35744);h.debounceTime=function a(u,e){return void 0===e&&(e=n.asyncScheduler),o.operate(function(l,c){var g=null,y=null,_=null,C=function(){if(g){g.unsubscribe(),g=null;var p=y;y=null,c.next(p)}};function b(){var p=_+u,f=e.now();if(f{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.defaultIfEmpty=void 0;var n=i(66080),o=i(35744);h.defaultIfEmpty=function d(a){return n.operate(function(u,e){var l=!1;u.subscribe(o.createOperatorSubscriber(e,function(c){l=!0,e.next(c)},function(){l||e.next(a),e.complete()}))})}},99592:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delay=void 0;var n=i(69252),o=i(59304),d=i(34168);h.delay=function a(u,e){void 0===e&&(e=n.asyncScheduler);var l=d.timer(u,e);return o.delayWhen(function(){return l})}},59304:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.delayWhen=void 0;var n=i(24560),o=i(38120),d=i(77392),a=i(89224),u=i(33480),e=i(81280);h.delayWhen=function l(c,g){return g?function(y){return n.concat(g.pipe(o.take(1),d.ignoreElements()),y.pipe(l(c)))}:u.mergeMap(function(y,_){return e.innerFrom(c(y,_)).pipe(o.take(1),a.mapTo(y))})}},84204:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dematerialize=void 0;var n=i(12032),o=i(66080),d=i(35744);h.dematerialize=function a(){return o.operate(function(u,e){u.subscribe(d.createOperatorSubscriber(e,function(l){return n.observeNotification(l,e)}))})}},51256:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinct=void 0;var n=i(66080),o=i(35744),d=i(48320),a=i(81280);h.distinct=function u(e,l){return n.operate(function(c,g){var y=new Set;c.subscribe(o.createOperatorSubscriber(g,function(_){var C=e?e(_):_;y.has(C)||(y.add(C),g.next(_))})),l&&a.innerFrom(l).subscribe(o.createOperatorSubscriber(g,function(){return y.clear()},d.noop))})}},21544:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilChanged=void 0;var n=i(55184),o=i(66080),d=i(35744);function u(e,l){return e===l}h.distinctUntilChanged=function a(e,l){return void 0===l&&(l=n.identity),e=e??u,o.operate(function(c,g){var y,_=!0;c.subscribe(d.createOperatorSubscriber(g,function(C){var b=l(C);(_||!e(y,b))&&(_=!1,y=b,g.next(C))}))})}},61544:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.distinctUntilKeyChanged=void 0;var n=i(21544);h.distinctUntilKeyChanged=function o(d,a){return n.distinctUntilChanged(function(u,e){return a?a(u[d],e[d]):u[d]===e[d]})}},51808:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.elementAt=void 0;var n=i(32929),o=i(39840),d=i(51056),a=i(14707),u=i(38120);h.elementAt=function e(l,c){if(l<0)throw new n.ArgumentOutOfRangeError;var g=arguments.length>=2;return function(y){return y.pipe(o.filter(function(_,C){return C===l}),u.take(1),g?a.defaultIfEmpty(c):d.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(ve,h,i){"use strict";var n=this&&this.__read||function(e,l){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var y,C,g=c.call(e),_=[];try{for(;(void 0===l||l-- >0)&&!(y=g.next()).done;)_.push(y.value)}catch(b){C={error:b}}finally{try{y&&!y.done&&(c=g.return)&&c.call(g)}finally{if(C)throw C.error}}return _},o=this&&this.__spreadArray||function(e,l){for(var c=0,g=l.length,y=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.every=void 0;var n=i(66080),o=i(35744);h.every=function d(a,u){return n.operate(function(e,l){var c=0;e.subscribe(o.createOperatorSubscriber(l,function(g){a.call(u,g,c++,e)||(l.next(!1),l.complete())},function(){l.next(!0),l.complete()}))})}},53704:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaust=void 0;var n=i(34288);h.exhaust=n.exhaustAll},34288:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustAll=void 0;var n=i(44632),o=i(55184);h.exhaustAll=function d(){return n.exhaustMap(o.identity)}},44632:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.exhaustMap=void 0;var n=i(784),o=i(81280),d=i(66080),a=i(35744);h.exhaustMap=function u(e,l){return l?function(c){return c.pipe(u(function(g,y){return o.innerFrom(e(g,y)).pipe(n.map(function(_,C){return l(g,_,y,C)}))}))}:d.operate(function(c,g){var y=0,_=null,C=!1;c.subscribe(a.createOperatorSubscriber(g,function(b){_||(_=a.createOperatorSubscriber(g,void 0,function(){_=null,C&&g.complete()}),o.innerFrom(e(b,y++)).subscribe(_))},function(){C=!0,!_&&g.complete()}))})}},84624:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.expand=void 0;var n=i(66080),o=i(46972);h.expand=function d(a,u,e){return void 0===u&&(u=1/0),u=(u||0)<1?1/0:u,n.operate(function(l,c){return o.mergeInternals(l,c,a,u,void 0,!0,e)})}},39840:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.filter=void 0;var n=i(66080),o=i(35744);h.filter=function d(a,u){return n.operate(function(e,l){var c=0;e.subscribe(o.createOperatorSubscriber(l,function(g){return a.call(u,g,c++)&&l.next(g)}))})}},99440:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.finalize=void 0;var n=i(66080);h.finalize=function o(d){return n.operate(function(a,u){try{a.subscribe(u)}finally{u.add(d)}})}},70939:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createFind=h.find=void 0;var n=i(66080),o=i(35744);function a(u,e,l){var c="index"===l;return function(g,y){var _=0;g.subscribe(o.createOperatorSubscriber(y,function(C){var b=_++;u.call(e,C,b,g)&&(y.next(c?b:C),y.complete())},function(){y.next(c?-1:void 0),y.complete()}))}}h.find=function d(u,e){return n.operate(a(u,e,"value"))},h.createFind=a},69496:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.findIndex=void 0;var n=i(66080),o=i(70939);h.findIndex=function d(a,u){return n.operate(o.createFind(a,u,"index"))}},11848:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.first=void 0;var n=i(51544),o=i(39840),d=i(38120),a=i(14707),u=i(51056),e=i(55184);h.first=function l(c,g){var y=arguments.length>=2;return function(_){return _.pipe(c?o.filter(function(C,b){return c(C,b,_)}):e.identity,d.take(1),y?a.defaultIfEmpty(g):u.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.flatMap=void 0;var n=i(33480);h.flatMap=n.mergeMap},17909:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.groupBy=void 0;var n=i(15448),o=i(81280),d=i(90120),a=i(66080),u=i(35744);h.groupBy=function e(l,c,g,y){return a.operate(function(_,C){var b;c&&"function"!=typeof c?(g=c.duration,b=c.element,y=c.connector):b=c;var p=new Map,f=function(k){p.forEach(k),k(C)},S=function(k){return f(function(N){return N.error(k)})},v=0,M=!1,E=new u.OperatorSubscriber(C,function(k){try{var N=l(k),F=p.get(N);if(!F){p.set(N,F=y?y():new d.Subject);var T=function A(k,N){var F=new n.Observable(function(T){v++;var P=N.subscribe(T);return function(){P.unsubscribe(),0==--v&&M&&E.unsubscribe()}});return F.key=k,F}(N,F);if(C.next(T),g){var P=u.createOperatorSubscriber(F,function(){F.complete(),P?.unsubscribe()},void 0,void 0,function(){return p.delete(N)});E.add(o.innerFrom(g(T)).subscribe(P))}}F.next(b?b(k):k)}catch(I){S(I)}},function(){return f(function(k){return k.complete()})},S,function(){return p.clear()},function(){return M=!0,0===v});_.subscribe(E)})}},77392:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ignoreElements=void 0;var n=i(66080),o=i(35744),d=i(48320);h.ignoreElements=function a(){return n.operate(function(u,e){u.subscribe(o.createOperatorSubscriber(e,d.noop))})}},73564:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isEmpty=void 0;var n=i(66080),o=i(35744);h.isEmpty=function d(){return n.operate(function(a,u){a.subscribe(o.createOperatorSubscriber(u,function(){u.next(!1),u.complete()},function(){u.next(!0),u.complete()}))})}},28400:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.joinAllInternals=void 0;var n=i(55184),o=i(82664),d=i(19512),a=i(33480),u=i(29316);h.joinAllInternals=function e(l,c){return d.pipe(u.toArray(),a.mergeMap(function(g){return l(g)}),c?o.mapOneOrManyArgs(c):n.identity)}},2696:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.last=void 0;var n=i(51544),o=i(39840),d=i(32224),a=i(51056),u=i(14707),e=i(55184);h.last=function l(c,g){var y=arguments.length>=2;return function(_){return _.pipe(c?o.filter(function(C,b){return c(C,b,_)}):e.identity,d.takeLast(1),y?u.defaultIfEmpty(g):a.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.map=void 0;var n=i(66080),o=i(35744);h.map=function d(a,u){return n.operate(function(e,l){var c=0;e.subscribe(o.createOperatorSubscriber(l,function(g){l.next(a.call(u,g,c++))}))})}},89224:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mapTo=void 0;var n=i(784);h.mapTo=function o(d){return n.map(function(){return d})}},6832:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.materialize=void 0;var n=i(12032),o=i(66080),d=i(35744);h.materialize=function a(){return o.operate(function(u,e){u.subscribe(d.createOperatorSubscriber(e,function(l){e.next(n.Notification.createNext(l))},function(){e.next(n.Notification.createComplete()),e.complete()},function(l){e.next(n.Notification.createError(l)),e.complete()}))})}},34808:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.max=void 0;var n=i(39980),o=i(82360);h.max=function d(a){return n.reduce(o.isFunction(a)?function(u,e){return a(u,e)>0?u:e}:function(u,e){return u>e?u:e})}},38884:function(ve,h,i){"use strict";var n=this&&this.__read||function(g,y){var _="function"==typeof Symbol&&g[Symbol.iterator];if(!_)return g;var b,f,C=_.call(g),p=[];try{for(;(void 0===y||y-- >0)&&!(b=C.next()).done;)p.push(b.value)}catch(S){f={error:S}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(f)throw f.error}}return p},o=this&&this.__spreadArray||function(g,y){for(var _=0,C=y.length,b=g.length;_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeAll=void 0;var n=i(33480),o=i(55184);h.mergeAll=function d(a){return void 0===a&&(a=1/0),n.mergeMap(o.identity,a)}},46972:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeInternals=void 0;var n=i(81280),o=i(61760),d=i(35744);h.mergeInternals=function a(u,e,l,c,g,y,_,C){var b=[],p=0,f=0,S=!1,v=function(){S&&!b.length&&!p&&e.complete()},M=function(A){return p{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMap=void 0;var n=i(784),o=i(81280),d=i(66080),a=i(46972),u=i(82360);h.mergeMap=function e(l,c,g){return void 0===g&&(g=1/0),u.isFunction(c)?e(function(y,_){return n.map(function(C,b){return c(y,C,_,b)})(o.innerFrom(l(y,_)))},g):("number"==typeof c&&(g=c),d.operate(function(y,_){return a.mergeInternals(y,_,l,g)}))}},73232:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeMapTo=void 0;var n=i(33480),o=i(82360);h.mergeMapTo=function d(a,u,e){return void 0===e&&(e=1/0),o.isFunction(u)?n.mergeMap(function(){return a},u,e):("number"==typeof u&&(e=u),n.mergeMap(function(){return a},e))}},3380:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.mergeScan=void 0;var n=i(66080),o=i(46972);h.mergeScan=function d(a,u,e){return void 0===e&&(e=1/0),n.operate(function(l,c){var g=u;return o.mergeInternals(l,c,function(y,_){return a(g,y,_)},e,function(y){g=y},!1,void 0,function(){return g=null})})}},57308:function(ve,h,i){"use strict";var n=this&&this.__read||function(u,e){var l="function"==typeof Symbol&&u[Symbol.iterator];if(!l)return u;var g,_,c=l.call(u),y=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)y.push(g.value)}catch(C){_={error:C}}finally{try{g&&!g.done&&(l=c.return)&&l.call(c)}finally{if(_)throw _.error}}return y},o=this&&this.__spreadArray||function(u,e){for(var l=0,c=e.length,g=u.length;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.min=void 0;var n=i(39980),o=i(82360);h.min=function d(a){return n.reduce(o.isFunction(a)?function(u,e){return a(u,e)<0?u:e}:function(u,e){return u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.multicast=void 0;var n=i(42416),o=i(82360),d=i(59056);h.multicast=function a(u,e){var l=o.isFunction(u)?u:function(){return u};return o.isFunction(e)?d.connect(e,{connector:l}):function(c){return new n.ConnectableObservable(c,l)}}},33752:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observeOn=void 0;var n=i(61760),o=i(66080),d=i(35744);h.observeOn=function a(u,e){return void 0===e&&(e=0),o.operate(function(l,c){l.subscribe(d.createOperatorSubscriber(c,function(g){return n.executeSchedule(c,u,function(){return c.next(g)},e)},function(){return n.executeSchedule(c,u,function(){return c.complete()},e)},function(g){return n.executeSchedule(c,u,function(){return c.error(g)},e)}))})}},19184:function(ve,h,i){"use strict";var n=this&&this.__read||function(e,l){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var y,C,g=c.call(e),_=[];try{for(;(void 0===l||l-- >0)&&!(y=g.next()).done;)_.push(y.value)}catch(b){C={error:b}}finally{try{y&&!y.done&&(c=g.return)&&c.call(g)}finally{if(C)throw C.error}}return _},o=this&&this.__spreadArray||function(e,l){for(var c=0,g=l.length,y=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pairwise=void 0;var n=i(66080),o=i(35744);h.pairwise=function d(){return n.operate(function(a,u){var e,l=!1;a.subscribe(o.createOperatorSubscriber(u,function(c){var g=e;e=c,l&&u.next([g,c]),l=!0}))})}},64712:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pluck=void 0;var n=i(784);h.pluck=function o(){for(var d=[],a=0;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publish=void 0;var n=i(90120),o=i(66752),d=i(59056);h.publish=function a(u){return u?function(e){return d.connect(u)(e)}:function(e){return o.multicast(new n.Subject)(e)}}},40360:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishBehavior=void 0;var n=i(60488),o=i(42416);h.publishBehavior=function d(a){return function(u){var e=new n.BehaviorSubject(a);return new o.ConnectableObservable(u,function(){return e})}}},64960:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishLast=void 0;var n=i(70408),o=i(42416);h.publishLast=function d(){return function(a){var u=new n.AsyncSubject;return new o.ConnectableObservable(a,function(){return u})}}},23944:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.publishReplay=void 0;var n=i(38640),o=i(66752),d=i(82360);h.publishReplay=function a(u,e,l,c){l&&!d.isFunction(l)&&(c=l);var g=d.isFunction(l)?l:void 0;return function(y){return o.multicast(new n.ReplaySubject(u,e,c),g)(y)}}},53424:function(ve,h,i){"use strict";var n=this&&this.__read||function(l,c){var g="function"==typeof Symbol&&l[Symbol.iterator];if(!g)return l;var _,b,y=g.call(l),C=[];try{for(;(void 0===c||c-- >0)&&!(_=y.next()).done;)C.push(_.value)}catch(p){b={error:p}}finally{try{_&&!_.done&&(g=y.return)&&g.call(y)}finally{if(b)throw b.error}}return C},o=this&&this.__spreadArray||function(l,c){for(var g=0,y=c.length,_=l.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reduce=void 0;var n=i(56500),o=i(66080);h.reduce=function d(a,u){return o.operate(n.scanInternals(a,u,arguments.length>=2,!1,!0))}},60300:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.refCount=void 0;var n=i(66080),o=i(35744);h.refCount=function d(){return n.operate(function(a,u){var e=null;a._refCount++;var l=o.createOperatorSubscriber(u,void 0,void 0,void 0,function(){if(!a||a._refCount<=0||0<--a._refCount)e=null;else{var c=a._connection,g=e;e=null,c&&(!g||c===g)&&c.unsubscribe(),u.unsubscribe()}});a.subscribe(l),l.closed||(e=a.connect())})}},90532:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeat=void 0;var n=i(31456),o=i(66080),d=i(35744),a=i(81280),u=i(34168);h.repeat=function e(l){var c,y,g=1/0;return null!=l&&("object"==typeof l?(g=void 0===(c=l.count)?1/0:c,y=l.delay):g=l),g<=0?function(){return n.EMPTY}:o.operate(function(_,C){var p,b=0,f=function(){if(p?.unsubscribe(),p=null,null!=y){var v="number"==typeof y?u.timer(y):a.innerFrom(y(b)),M=d.createOperatorSubscriber(C,function(){M.unsubscribe(),S()});v.subscribe(M)}else S()},S=function(){var v=!1;p=_.subscribe(d.createOperatorSubscriber(C,void 0,function(){++b{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.repeatWhen=void 0;var n=i(81280),o=i(90120),d=i(66080),a=i(35744);h.repeatWhen=function u(e){return d.operate(function(l,c){var g,_,y=!1,C=!1,b=!1,p=function(){return b&&C&&(c.complete(),!0)},S=function(){b=!1,g=l.subscribe(a.createOperatorSubscriber(c,void 0,function(){b=!0,!p()&&(_||(_=new o.Subject,n.innerFrom(e(_)).subscribe(a.createOperatorSubscriber(c,function(){g?S():y=!0},function(){C=!0,p()}))),_).next()})),y&&(g.unsubscribe(),g=null,y=!1,S())};S()})}},584:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retry=void 0;var n=i(66080),o=i(35744),d=i(55184),a=i(34168),u=i(81280);h.retry=function e(l){var c;void 0===l&&(l=1/0);var g=(c=l&&"object"==typeof l?l:{count:l}).count,y=void 0===g?1/0:g,_=c.delay,C=c.resetOnSuccess,b=void 0!==C&&C;return y<=0?d.identity:n.operate(function(p,f){var v,S=0,M=function(){var E=!1;v=p.subscribe(o.createOperatorSubscriber(f,function(A){b&&(S=0),f.next(A)},void 0,function(A){if(S++{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.retryWhen=void 0;var n=i(81280),o=i(90120),d=i(66080),a=i(35744);h.retryWhen=function u(e){return d.operate(function(l,c){var g,_,y=!1,C=function(){g=l.subscribe(a.createOperatorSubscriber(c,void 0,void 0,function(b){_||(_=new o.Subject,n.innerFrom(e(_)).subscribe(a.createOperatorSubscriber(c,function(){return g?C():y=!0}))),_&&_.next(b)})),y&&(g.unsubscribe(),g=null,y=!1,C())};C()})}},64968:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sample=void 0;var n=i(81280),o=i(66080),d=i(48320),a=i(35744);h.sample=function u(e){return o.operate(function(l,c){var g=!1,y=null;l.subscribe(a.createOperatorSubscriber(c,function(_){g=!0,y=_})),n.innerFrom(e).subscribe(a.createOperatorSubscriber(c,function(){if(g){g=!1;var _=y;y=null,c.next(_)}},d.noop))})}},97792:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sampleTime=void 0;var n=i(69252),o=i(64968),d=i(2071);h.sampleTime=function a(u,e){return void 0===e&&(e=n.asyncScheduler),o.sample(d.interval(u,e))}},17752:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scan=void 0;var n=i(66080),o=i(56500);h.scan=function d(a,u){return n.operate(o.scanInternals(a,u,arguments.length>=2,!0))}},56500:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scanInternals=void 0;var n=i(35744);h.scanInternals=function o(d,a,u,e,l){return function(c,g){var y=u,_=a,C=0;c.subscribe(n.createOperatorSubscriber(g,function(b){var p=C++;_=y?d(_,b,p):(y=!0,b),e&&g.next(_)},l&&function(){y&&g.next(_),g.complete()}))}}},43904:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.sequenceEqual=void 0;var n=i(66080),o=i(35744),d=i(81280);h.sequenceEqual=function a(e,l){return void 0===l&&(l=function(c,g){return c===g}),n.operate(function(c,g){var y={buffer:[],complete:!1},_={buffer:[],complete:!1},C=function(p){g.next(p),g.complete()},b=function(p,f){var S=o.createOperatorSubscriber(g,function(v){var M=f.buffer;0===M.length?f.complete?C(!1):p.buffer.push(v):!l(v,M.shift())&&C(!1)},function(){p.complete=!0,f.complete&&C(0===f.buffer.length),S?.unsubscribe()});return S};c.subscribe(b(y,_)),d.innerFrom(e).subscribe(b(_,y))})}},95912:function(ve,h,i){"use strict";var n=this&&this.__read||function(g,y){var _="function"==typeof Symbol&&g[Symbol.iterator];if(!_)return g;var b,f,C=_.call(g),p=[];try{for(;(void 0===y||y-- >0)&&!(b=C.next()).done;)p.push(b.value)}catch(S){f={error:S}}finally{try{b&&!b.done&&(_=C.return)&&_.call(C)}finally{if(f)throw f.error}}return p},o=this&&this.__spreadArray||function(g,y){for(var _=0,C=y.length,b=g.length;_0&&(E=new u.SafeSubscriber({next:function(ee){return $.next(ee)},error:function(ee){T=!0,P(),A=c(I,b,ee),$.error(ee)},complete:function(){F=!0,P(),A=c(I,f),$.complete()}}),d.innerFrom(L).subscribe(E))})(M)}}},20468:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.shareReplay=void 0;var n=i(38640),o=i(95912);h.shareReplay=function d(a,u,e){var l,c,g,y,_=!1;return a&&"object"==typeof a?(y=void 0===(l=a.bufferSize)?1/0:l,u=void 0===(c=a.windowTime)?1/0:c,_=void 0!==(g=a.refCount)&&g,e=a.scheduler):y=a??1/0,o.share({connector:function(){return new n.ReplaySubject(y,u,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:_})}},43952:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.single=void 0;var n=i(51544),o=i(71016),d=i(15496),a=i(66080),u=i(35744);h.single=function e(l){return a.operate(function(c,g){var _,y=!1,C=!1,b=0;c.subscribe(u.createOperatorSubscriber(g,function(p){C=!0,(!l||l(p,b++,c))&&(y&&g.error(new o.SequenceError("Too many matching values")),y=!0,_=p)},function(){y?(g.next(_),g.complete()):g.error(C?new d.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skip=void 0;var n=i(39840);h.skip=function o(d){return n.filter(function(a,u){return d<=u})}},47832:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipLast=void 0;var n=i(55184),o=i(66080),d=i(35744);h.skipLast=function a(u){return u<=0?n.identity:o.operate(function(e,l){var c=new Array(u),g=0;return e.subscribe(d.createOperatorSubscriber(l,function(y){var _=g++;if(_{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipUntil=void 0;var n=i(66080),o=i(35744),d=i(81280),a=i(48320);h.skipUntil=function u(e){return n.operate(function(l,c){var g=!1,y=o.createOperatorSubscriber(c,function(){y?.unsubscribe(),g=!0},a.noop);d.innerFrom(e).subscribe(y),l.subscribe(o.createOperatorSubscriber(c,function(_){return g&&c.next(_)}))})}},49856:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.skipWhile=void 0;var n=i(66080),o=i(35744);h.skipWhile=function d(a){return n.operate(function(u,e){var l=!1,c=0;u.subscribe(o.createOperatorSubscriber(e,function(g){return(l||(l=!a(g,c++)))&&e.next(g)}))})}},59612:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.startWith=void 0;var n=i(24560),o=i(69724),d=i(66080);h.startWith=function a(){for(var u=[],e=0;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.subscribeOn=void 0;var n=i(66080);h.subscribeOn=function o(d,a){return void 0===a&&(a=0),n.operate(function(u,e){e.add(d.schedule(function(){return u.subscribe(e)},a))})}},63368:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchAll=void 0;var n=i(39876),o=i(55184);h.switchAll=function d(){return n.switchMap(o.identity)}},39876:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMap=void 0;var n=i(81280),o=i(66080),d=i(35744);h.switchMap=function a(u,e){return o.operate(function(l,c){var g=null,y=0,_=!1,C=function(){return _&&!g&&c.complete()};l.subscribe(d.createOperatorSubscriber(c,function(b){g?.unsubscribe();var p=0,f=y++;n.innerFrom(u(b,f)).subscribe(g=d.createOperatorSubscriber(c,function(S){return c.next(e?e(b,S,f,p++):S)},function(){g=null,C()}))},function(){_=!0,C()}))})}},57168:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchMapTo=void 0;var n=i(39876),o=i(82360);h.switchMapTo=function d(a,u){return o.isFunction(u)?n.switchMap(function(){return a},u):n.switchMap(function(){return a})}},19980:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.switchScan=void 0;var n=i(39876),o=i(66080);h.switchScan=function d(a,u){return o.operate(function(e,l){var c=u;return n.switchMap(function(g,y){return a(c,g,y)},function(g,y){return c=y,y})(e).subscribe(l),function(){c=null}})}},38120:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.take=void 0;var n=i(31456),o=i(66080),d=i(35744);h.take=function a(u){return u<=0?function(){return n.EMPTY}:o.operate(function(e,l){var c=0;e.subscribe(d.createOperatorSubscriber(l,function(g){++c<=u&&(l.next(g),u<=c&&l.complete())}))})}},32224:function(ve,h,i){"use strict";var n=this&&this.__values||function(e){var l="function"==typeof Symbol&&Symbol.iterator,c=l&&e[l],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.takeLast=void 0;var o=i(31456),d=i(66080),a=i(35744);h.takeLast=function u(e){return e<=0?function(){return o.EMPTY}:d.operate(function(l,c){var g=[];l.subscribe(a.createOperatorSubscriber(c,function(y){g.push(y),e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeUntil=void 0;var n=i(66080),o=i(35744),d=i(81280),a=i(48320);h.takeUntil=function u(e){return n.operate(function(l,c){d.innerFrom(e).subscribe(o.createOperatorSubscriber(c,function(){return c.complete()},a.noop)),!c.closed&&l.subscribe(c)})}},35408:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.takeWhile=void 0;var n=i(66080),o=i(35744);h.takeWhile=function d(a,u){return void 0===u&&(u=!1),n.operate(function(e,l){var c=0;e.subscribe(o.createOperatorSubscriber(l,function(g){var y=a(g,c++);(y||u)&&l.next(g),!y&&l.complete()}))})}},46748:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.tap=void 0;var n=i(82360),o=i(66080),d=i(35744),a=i(55184);h.tap=function u(e,l,c){var g=n.isFunction(e)||l||c?{next:e,error:l,complete:c}:e;return g?o.operate(function(y,_){var C;null===(C=g.subscribe)||void 0===C||C.call(g);var b=!0;y.subscribe(d.createOperatorSubscriber(_,function(p){var f;null===(f=g.next)||void 0===f||f.call(g,p),_.next(p)},function(){var p;b=!1,null===(p=g.complete)||void 0===p||p.call(g),_.complete()},function(p){var f;b=!1,null===(f=g.error)||void 0===f||f.call(g,p),_.error(p)},function(){var p,f;b&&(null===(p=g.unsubscribe)||void 0===p||p.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.identity}},66720:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttle=void 0;var n=i(66080),o=i(35744),d=i(81280);h.throttle=function a(u,e){return n.operate(function(l,c){var g=e??{},y=g.leading,_=void 0===y||y,C=g.trailing,b=void 0!==C&&C,p=!1,f=null,S=null,v=!1,M=function(){S?.unsubscribe(),S=null,b&&(k(),v&&c.complete())},E=function(){S=null,v&&c.complete()},A=function(N){return S=d.innerFrom(u(N)).subscribe(o.createOperatorSubscriber(c,M,E))},k=function(){if(p){p=!1;var N=f;f=null,c.next(N),!v&&A(N)}};l.subscribe(o.createOperatorSubscriber(c,function(N){p=!0,f=N,(!S||S.closed)&&(_?k():A(N))},function(){v=!0,(!(b&&p&&S)||S.closed)&&c.complete()}))})}},44236:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throttleTime=void 0;var n=i(69252),o=i(66720),d=i(34168);h.throttleTime=function a(u,e,l){void 0===e&&(e=n.asyncScheduler);var c=d.timer(u,e);return o.throttle(function(){return c},l)}},51056:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.throwIfEmpty=void 0;var n=i(51544),o=i(66080),d=i(35744);function u(){return new n.EmptyError}h.throwIfEmpty=function a(e){return void 0===e&&(e=u),o.operate(function(l,c){var g=!1;l.subscribe(d.createOperatorSubscriber(c,function(y){g=!0,c.next(y)},function(){return g?c.complete():c.error(e())}))})}},39500:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TimeInterval=h.timeInterval=void 0;var n=i(69252),o=i(66080),d=i(35744);h.timeInterval=function a(e){return void 0===e&&(e=n.asyncScheduler),o.operate(function(l,c){var g=e.now();l.subscribe(d.createOperatorSubscriber(c,function(y){var _=e.now(),C=_-g;g=_,c.next(new u(y,C))}))})};var u=function(){return function e(l,c){this.value=l,this.interval=c}}();h.TimeInterval=u},20268:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeout=h.TimeoutError=void 0;var n=i(69252),o=i(42384),d=i(66080),a=i(81280),u=i(26624),e=i(35744),l=i(61760);function g(y){throw new h.TimeoutError(y)}h.TimeoutError=u.createErrorClass(function(y){return function(C){void 0===C&&(C=null),y(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=C}}),h.timeout=function c(y,_){var C=o.isValidDate(y)?{first:y}:"number"==typeof y?{each:y}:y,b=C.first,p=C.each,f=C.with,S=void 0===f?g:f,v=C.scheduler,M=void 0===v?_??n.asyncScheduler:v,E=C.meta,A=void 0===E?null:E;if(null==b&&null==p)throw new TypeError("No timeout provided.");return d.operate(function(k,N){var F,T,P=null,I=0,j=function(L){T=l.executeSchedule(N,M,function(){try{F.unsubscribe(),a.innerFrom(S({meta:A,lastValue:P,seen:I})).subscribe(N)}catch(B){N.error(B)}},L)};F=k.subscribe(e.createOperatorSubscriber(N,function(L){T?.unsubscribe(),I++,N.next(P=L),p>0&&j(p)},void 0,void 0,function(){T?.closed||T?.unsubscribe(),P=null})),!I&&j(null!=b?"number"==typeof b?b:+b-M.now():p)})}},88536:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timeoutWith=void 0;var n=i(69252),o=i(42384),d=i(20268);h.timeoutWith=function a(u,e,l){var c,g,y;if(l=l??n.async,o.isValidDate(u)?c=u:"number"==typeof u&&(g=u),!e)throw new TypeError("No observable provided to switch to");if(y=function(){return e},null==c&&null==g)throw new TypeError("No timeout provided.");return d.timeout({first:c,each:g,scheduler:l,with:y})}},37248:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.timestamp=void 0;var n=i(8764),o=i(784);h.timestamp=function d(a){return void 0===a&&(a=n.dateTimestampProvider),o.map(function(u){return{value:u,timestamp:a.now()}})}},29316:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.toArray=void 0;var n=i(39980),o=i(66080),d=function(u,e){return u.push(e),u};h.toArray=function a(){return o.operate(function(u,e){n.reduce(d,[])(u).subscribe(e)})}},40560:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.window=void 0;var n=i(90120),o=i(66080),d=i(35744),a=i(48320),u=i(81280);h.window=function e(l){return o.operate(function(c,g){var y=new n.Subject;g.next(y.asObservable());var _=function(C){y.error(C),g.error(C)};return c.subscribe(d.createOperatorSubscriber(g,function(C){return y?.next(C)},function(){y.complete(),g.complete()},_)),u.innerFrom(l).subscribe(d.createOperatorSubscriber(g,function(){y.complete(),g.next(y=new n.Subject)},a.noop,_)),function(){y?.unsubscribe(),y=null}})}},79068:function(ve,h,i){"use strict";var n=this&&this.__values||function(e){var l="function"==typeof Symbol&&Symbol.iterator,c=l&&e[l],g=0;if(c)return c.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&g>=e.length&&(e=void 0),{value:e&&e[g++],done:!e}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowCount=void 0;var o=i(90120),d=i(66080),a=i(35744);h.windowCount=function u(e,l){void 0===l&&(l=0);var c=l>0?l:e;return d.operate(function(g,y){var _=[new o.Subject],b=0;y.next(_[0].asObservable()),g.subscribe(a.createOperatorSubscriber(y,function(p){var f,S;try{for(var v=n(_),M=v.next();!M.done;M=v.next())M.value.next(p)}catch(N){f={error:N}}finally{try{M&&!M.done&&(S=v.return)&&S.call(v)}finally{if(f)throw f.error}}var A=b-e+1;if(A>=0&&A%c==0&&_.shift().complete(),++b%c==0){var k=new o.Subject;_.push(k),y.next(k.asObservable())}},function(){for(;_.length>0;)_.shift().complete();y.complete()},function(p){for(;_.length>0;)_.shift().error(p);y.error(p)},function(){_=null}))})}},11984:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowTime=void 0;var n=i(90120),o=i(69252),d=i(40576),a=i(66080),u=i(35744),e=i(39852),l=i(69724),c=i(61760);h.windowTime=function g(y){for(var _,C,b=[],p=1;p=0?c.executeSchedule(E,f,F,S,!0):k=!0,F();var T=function(I){return A.slice().forEach(I)},P=function(I){T(function(j){return I(j.window)}),I(E),E.unsubscribe()};return M.subscribe(u.createOperatorSubscriber(E,function(I){T(function(j){j.window.next(I),v<=++j.seen&&N(j)})},function(){return P(function(I){return I.complete()})},function(I){return P(function(j){return j.error(I)})})),function(){A=null}})}},97776:function(ve,h,i){"use strict";var n=this&&this.__values||function(y){var _="function"==typeof Symbol&&Symbol.iterator,C=_&&y[_],b=0;if(C)return C.call(y);if(y&&"number"==typeof y.length)return{next:function(){return y&&b>=y.length&&(y=void 0),{value:y&&y[b++],done:!y}}};throw new TypeError(_?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(h,"__esModule",{value:!0}),h.windowToggle=void 0;var o=i(90120),d=i(40576),a=i(66080),u=i(81280),e=i(35744),l=i(48320),c=i(39852);h.windowToggle=function g(y,_){return a.operate(function(C,b){var p=[],f=function(S){for(;0{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.windowWhen=void 0;var n=i(90120),o=i(66080),d=i(35744),a=i(81280);h.windowWhen=function u(e){return o.operate(function(l,c){var g,y,_=function(b){g.error(b),c.error(b)},C=function(){var b;y?.unsubscribe(),g?.complete(),g=new n.Subject,c.next(g.asObservable());try{b=a.innerFrom(e())}catch(p){return void _(p)}b.subscribe(y=d.createOperatorSubscriber(c,C,C,_))};C(),l.subscribe(d.createOperatorSubscriber(c,function(b){return g.next(b)},function(){g.complete(),c.complete()},_,function(){y?.unsubscribe(),g=null}))})}},95780:function(ve,h,i){"use strict";var n=this&&this.__read||function(y,_){var C="function"==typeof Symbol&&y[Symbol.iterator];if(!C)return y;var p,S,b=C.call(y),f=[];try{for(;(void 0===_||_-- >0)&&!(p=b.next()).done;)f.push(p.value)}catch(v){S={error:v}}finally{try{p&&!p.done&&(C=b.return)&&C.call(b)}finally{if(S)throw S.error}}return f},o=this&&this.__spreadArray||function(y,_){for(var C=0,b=_.length,p=y.length;C0)&&!(y=g.next()).done;)_.push(y.value)}catch(b){C={error:b}}finally{try{y&&!y.done&&(c=g.return)&&c.call(g)}finally{if(C)throw C.error}}return _},o=this&&this.__spreadArray||function(e,l){for(var c=0,g=l.length,y=e.length;c{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.zipAll=void 0;var n=i(59172),o=i(28400);h.zipAll=function d(a){return o.joinAllInternals(n.zip,a)}},56824:function(ve,h,i){"use strict";var n=this&&this.__read||function(u,e){var l="function"==typeof Symbol&&u[Symbol.iterator];if(!l)return u;var g,_,c=l.call(u),y=[];try{for(;(void 0===e||e-- >0)&&!(g=c.next()).done;)y.push(g.value)}catch(C){_={error:C}}finally{try{g&&!g.done&&(l=c.return)&&l.call(c)}finally{if(_)throw _.error}}return y},o=this&&this.__spreadArray||function(u,e){for(var l=0,c=e.length,g=u.length;l{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleArray=void 0;var n=i(15448);h.scheduleArray=function o(d,a){return new n.Observable(function(u){var e=0;return a.schedule(function(){e===d.length?u.complete():(u.next(d[e++]),u.closed||this.schedule())})})}},37360:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleAsyncIterable=void 0;var n=i(15448),o=i(61760);h.scheduleAsyncIterable=function d(a,u){if(!a)throw new Error("Iterable cannot be null");return new n.Observable(function(e){o.executeSchedule(e,u,function(){var l=a[Symbol.asyncIterator]();o.executeSchedule(e,u,function(){l.next().then(function(c){c.done?e.complete():e.next(c.value)})},0,!0)})})}},66589:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleIterable=void 0;var n=i(15448),o=i(71040),d=i(82360),a=i(61760);h.scheduleIterable=function u(e,l){return new n.Observable(function(c){var g;return a.executeSchedule(c,l,function(){g=e[o.iterator](),a.executeSchedule(c,l,function(){var y,_,C;try{_=(y=g.next()).value,C=y.done}catch(b){return void c.error(b)}C?c.complete():c.next(_)},0,!0)}),function(){return d.isFunction(g?.return)&&g.return()}})}},90996:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleObservable=void 0;var n=i(81280),o=i(33752),d=i(67992);h.scheduleObservable=function a(u,e){return n.innerFrom(u).pipe(d.subscribeOn(e),o.observeOn(e))}},23219:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.schedulePromise=void 0;var n=i(81280),o=i(33752),d=i(67992);h.schedulePromise=function a(u,e){return n.innerFrom(u).pipe(d.subscribeOn(e),o.observeOn(e))}},95196:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduleReadableStreamLike=void 0;var n=i(37360),o=i(11416);h.scheduleReadableStreamLike=function d(a,u){return n.scheduleAsyncIterable(o.readableStreamLikeToAsyncGenerator(a),u)}},44232:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.scheduled=void 0;var n=i(90996),o=i(23219),d=i(24920),a=i(66589),u=i(37360),e=i(18440),l=i(28296),c=i(18224),g=i(30640),y=i(37156),_=i(34088),C=i(11416),b=i(95196);h.scheduled=function p(f,S){if(null!=f){if(e.isInteropObservable(f))return n.scheduleObservable(f,S);if(c.isArrayLike(f))return d.scheduleArray(f,S);if(l.isPromise(f))return o.schedulePromise(f,S);if(y.isAsyncIterable(f))return u.scheduleAsyncIterable(f,S);if(g.isIterable(f))return a.scheduleIterable(f,S);if(C.isReadableStreamLike(f))return b.scheduleReadableStreamLike(f,S)}throw _.createInvalidObservableTypeError(f)}},30576:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.Action=void 0;var d=function(a){function u(e,l){return a.call(this)||this}return n(u,a),u.prototype.schedule=function(e,l){return void 0===l&&(l=0),this},u}(i(40576).Subscription);h.Action=d},70079:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var u=function(e,l){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&(c[y]=g[y])})(e,l)};return function(e,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function c(){this.constructor=e}u(e,l),e.prototype=null===l?Object.create(l):(c.prototype=l.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameAction=void 0;var o=i(6972),d=i(24352),a=function(u){function e(l,c){var g=u.call(this,l,c)||this;return g.scheduler=l,g.work=c,g}return n(e,u),e.prototype.requestAsyncId=function(l,c,g){return void 0===g&&(g=0),null!==g&&g>0?u.prototype.requestAsyncId.call(this,l,c,g):(l.actions.push(this),l._scheduled||(l._scheduled=d.animationFrameProvider.requestAnimationFrame(function(){return l.flush(void 0)})))},e.prototype.recycleAsyncId=function(l,c,g){var y;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return u.prototype.recycleAsyncId.call(this,l,c,g);var _=l.actions;null!=c&&(null===(y=_[_.length-1])||void 0===y?void 0:y.id)!==c&&(d.animationFrameProvider.cancelAnimationFrame(c),l._scheduled=void 0)},e}(o.AsyncAction);h.AnimationFrameAction=a},41752:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AnimationFrameScheduler=void 0;var d=function(a){function u(){return null!==a&&a.apply(this,arguments)||this}return n(u,a),u.prototype.flush=function(e){this._active=!0;var l=this._scheduled;this._scheduled=void 0;var g,c=this.actions;e=e||c.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=c[0])&&e.id===l&&c.shift());if(this._active=!1,g){for(;(e=c[0])&&e.id===l&&c.shift();)e.unsubscribe();throw g}},u}(i(16660).AsyncScheduler);h.AnimationFrameScheduler=d},48368:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var u=function(e,l){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,g){c.__proto__=g}||function(c,g){for(var y in g)Object.prototype.hasOwnProperty.call(g,y)&&(c[y]=g[y])})(e,l)};return function(e,l){if("function"!=typeof l&&null!==l)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");function c(){this.constructor=e}u(e,l),e.prototype=null===l?Object.create(l):(c.prototype=l.prototype,new c)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapAction=void 0;var o=i(6972),d=i(7832),a=function(u){function e(l,c){var g=u.call(this,l,c)||this;return g.scheduler=l,g.work=c,g}return n(e,u),e.prototype.requestAsyncId=function(l,c,g){return void 0===g&&(g=0),null!==g&&g>0?u.prototype.requestAsyncId.call(this,l,c,g):(l.actions.push(this),l._scheduled||(l._scheduled=d.immediateProvider.setImmediate(l.flush.bind(l,void 0))))},e.prototype.recycleAsyncId=function(l,c,g){var y;if(void 0===g&&(g=0),null!=g?g>0:this.delay>0)return u.prototype.recycleAsyncId.call(this,l,c,g);var _=l.actions;null!=c&&(null===(y=_[_.length-1])||void 0===y?void 0:y.id)!==c&&(d.immediateProvider.clearImmediate(c),l._scheduled===c&&(l._scheduled=void 0))},e}(o.AsyncAction);h.AsapAction=a},32400:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsapScheduler=void 0;var d=function(a){function u(){return null!==a&&a.apply(this,arguments)||this}return n(u,a),u.prototype.flush=function(e){this._active=!0;var l=this._scheduled;this._scheduled=void 0;var g,c=this.actions;e=e||c.shift();do{if(g=e.execute(e.state,e.delay))break}while((e=c[0])&&e.id===l&&c.shift());if(this._active=!1,g){for(;(e=c[0])&&e.id===l&&c.shift();)e.unsubscribe();throw g}},u}(i(16660).AsyncScheduler);h.AsapScheduler=d},6972:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var e=function(l,c){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,y){g.__proto__=y}||function(g,y){for(var _ in y)Object.prototype.hasOwnProperty.call(y,_)&&(g[_]=y[_])})(l,c)};return function(l,c){if("function"!=typeof c&&null!==c)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");function g(){this.constructor=l}e(l,c),l.prototype=null===c?Object.create(c):(g.prototype=c.prototype,new g)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncAction=void 0;var o=i(30576),d=i(61691),a=i(39852),u=function(e){function l(c,g){var y=e.call(this,c,g)||this;return y.scheduler=c,y.work=g,y.pending=!1,y}return n(l,e),l.prototype.schedule=function(c,g){var y;if(void 0===g&&(g=0),this.closed)return this;this.state=c;var _=this.id,C=this.scheduler;return null!=_&&(this.id=this.recycleAsyncId(C,_,g)),this.pending=!0,this.delay=g,this.id=null!==(y=this.id)&&void 0!==y?y:this.requestAsyncId(C,this.id,g),this},l.prototype.requestAsyncId=function(c,g,y){return void 0===y&&(y=0),d.intervalProvider.setInterval(c.flush.bind(c,this),y)},l.prototype.recycleAsyncId=function(c,g,y){if(void 0===y&&(y=0),null!=y&&this.delay===y&&!1===this.pending)return g;null!=g&&d.intervalProvider.clearInterval(g)},l.prototype.execute=function(c,g){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var y=this._execute(c,g);if(y)return y;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},l.prototype._execute=function(c,g){var _,y=!1;try{this.work(c)}catch(C){y=!0,_=C||new Error("Scheduled action threw falsy error")}if(y)return this.unsubscribe(),_},l.prototype.unsubscribe=function(){if(!this.closed){var g=this.id,y=this.scheduler,_=y.actions;this.work=this.state=this.scheduler=null,this.pending=!1,a.arrRemove(_,this),null!=g&&(this.id=this.recycleAsyncId(y,g,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},l}(o.Action);h.AsyncAction=u},16660:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.AsyncScheduler=void 0;var o=i(25784),d=function(a){function u(e,l){void 0===l&&(l=o.Scheduler.now);var c=a.call(this,e,l)||this;return c.actions=[],c._active=!1,c}return n(u,a),u.prototype.flush=function(e){var l=this.actions;if(this._active)l.push(e);else{var c;this._active=!0;do{if(c=e.execute(e.state,e.delay))break}while(e=l.shift());if(this._active=!1,c){for(;e=l.shift();)e.unsubscribe();throw c}}},u}(o.Scheduler);h.AsyncScheduler=d},71688:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueAction=void 0;var d=function(a){function u(e,l){var c=a.call(this,e,l)||this;return c.scheduler=e,c.work=l,c}return n(u,a),u.prototype.schedule=function(e,l){return void 0===l&&(l=0),l>0?a.prototype.schedule.call(this,e,l):(this.delay=l,this.state=e,this.scheduler.flush(this),this)},u.prototype.execute=function(e,l){return l>0||this.closed?a.prototype.execute.call(this,e,l):this._execute(e,l)},u.prototype.requestAsyncId=function(e,l,c){return void 0===c&&(c=0),null!=c&&c>0||null==c&&this.delay>0?a.prototype.requestAsyncId.call(this,e,l,c):(e.flush(this),0)},u}(i(6972).AsyncAction);h.QueueAction=d},36148:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var a=function(u,e){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,c){l.__proto__=c}||function(l,c){for(var g in c)Object.prototype.hasOwnProperty.call(c,g)&&(l[g]=c[g])})(u,e)};return function(u,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function l(){this.constructor=u}a(u,e),u.prototype=null===e?Object.create(e):(l.prototype=e.prototype,new l)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.QueueScheduler=void 0;var d=function(a){function u(){return null!==a&&a.apply(this,arguments)||this}return n(u,a),u}(i(16660).AsyncScheduler);h.QueueScheduler=d},45992:function(ve,h,i){"use strict";var n=this&&this.__extends||function(){var l=function(c,g){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,_){y.__proto__=_}||function(y,_){for(var C in _)Object.prototype.hasOwnProperty.call(_,C)&&(y[C]=_[C])})(c,g)};return function(c,g){if("function"!=typeof g&&null!==g)throw new TypeError("Class extends value "+String(g)+" is not a constructor or null");function y(){this.constructor=c}l(c,g),c.prototype=null===g?Object.create(g):(y.prototype=g.prototype,new y)}}();Object.defineProperty(h,"__esModule",{value:!0}),h.VirtualAction=h.VirtualTimeScheduler=void 0;var o=i(6972),d=i(40576),u=function(l){function c(g,y){void 0===g&&(g=e),void 0===y&&(y=1/0);var _=l.call(this,g,function(){return _.frame})||this;return _.maxFrames=y,_.frame=0,_.index=-1,_}return n(c,l),c.prototype.flush=function(){for(var C,b,y=this.actions,_=this.maxFrames;(b=y[0])&&b.delay<=_&&(y.shift(),this.frame=b.delay,!(C=b.execute(b.state,b.delay))););if(C){for(;b=y.shift();)b.unsubscribe();throw C}},c.frameTimeFactor=10,c}(i(16660).AsyncScheduler);h.VirtualTimeScheduler=u;var e=function(l){function c(g,y,_){void 0===_&&(_=g.index+=1);var C=l.call(this,g,y)||this;return C.scheduler=g,C.work=y,C.index=_,C.active=!0,C.index=g.index=_,C}return n(c,l),c.prototype.schedule=function(g,y){if(void 0===y&&(y=0),Number.isFinite(y)){if(!this.id)return l.prototype.schedule.call(this,g,y);this.active=!1;var _=new c(this.scheduler,this.work);return this.add(_),_.schedule(g,y)}return d.Subscription.EMPTY},c.prototype.requestAsyncId=function(g,y,_){void 0===_&&(_=0),this.delay=g.frame+_;var C=g.actions;return C.push(this),C.sort(c.sortActions),1},c.prototype.recycleAsyncId=function(g,y,_){void 0===_&&(_=0)},c.prototype._execute=function(g,y){if(!0===this.active)return l.prototype._execute.call(this,g,y)},c.sortActions=function(g,y){return g.delay===y.delay?g.index===y.index?0:g.index>y.index?1:-1:g.delay>y.delay?1:-1},c}(o.AsyncAction);h.VirtualAction=e},70232:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.animationFrame=h.animationFrameScheduler=void 0;var n=i(70079),o=i(41752);h.animationFrameScheduler=new o.AnimationFrameScheduler(n.AnimationFrameAction),h.animationFrame=h.animationFrameScheduler},24352:function(ve,h,i){"use strict";var n=this&&this.__read||function(a,u){var e="function"==typeof Symbol&&a[Symbol.iterator];if(!e)return a;var c,y,l=e.call(a),g=[];try{for(;(void 0===u||u-- >0)&&!(c=l.next()).done;)g.push(c.value)}catch(_){y={error:_}}finally{try{c&&!c.done&&(e=l.return)&&e.call(l)}finally{if(y)throw y.error}}return g},o=this&&this.__spreadArray||function(a,u){for(var e=0,l=u.length,c=a.length;e{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.asap=h.asapScheduler=void 0;var n=i(48368),o=i(32400);h.asapScheduler=new o.AsapScheduler(n.AsapAction),h.asap=h.asapScheduler},69252:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.async=h.asyncScheduler=void 0;var n=i(6972),o=i(16660);h.asyncScheduler=new o.AsyncScheduler(n.AsyncAction),h.async=h.asyncScheduler},8764:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.dateTimestampProvider=void 0,h.dateTimestampProvider={now:function(){return(h.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(ve,h,i){"use strict";var n=this&&this.__read||function(e,l){var c="function"==typeof Symbol&&e[Symbol.iterator];if(!c)return e;var y,C,g=c.call(e),_=[];try{for(;(void 0===l||l-- >0)&&!(y=g.next()).done;)_.push(y.value)}catch(b){C={error:b}}finally{try{y&&!y.done&&(c=g.return)&&c.call(g)}finally{if(C)throw C.error}}return _},o=this&&this.__spreadArray||function(e,l){for(var c=0,g=l.length,y=e.length;c0)&&!(e=u.next()).done;)l.push(e.value)}catch(g){c={error:g}}finally{try{e&&!e.done&&(a=u.return)&&a.call(u)}finally{if(c)throw c.error}}return l},n=this&&this.__spreadArray||function(o,d){for(var a=0,u=d.length,e=o.length;a{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.performanceTimestampProvider=void 0,h.performanceTimestampProvider={now:function(){return(h.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.queue=h.queueScheduler=void 0;var n=i(71688),o=i(36148);h.queueScheduler=new o.QueueScheduler(n.QueueAction),h.queue=h.queueScheduler},82480:function(ve,h){"use strict";var i=this&&this.__read||function(o,d){var a="function"==typeof Symbol&&o[Symbol.iterator];if(!a)return o;var e,c,u=a.call(o),l=[];try{for(;(void 0===d||d-- >0)&&!(e=u.next()).done;)l.push(e.value)}catch(g){c={error:g}}finally{try{e&&!e.done&&(a=u.return)&&a.call(u)}finally{if(c)throw c.error}}return l},n=this&&this.__spreadArray||function(o,d){for(var a=0,u=d.length,e=o.length;a{"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(h,"__esModule",{value:!0}),h.iterator=h.getSymbolIterator=void 0,h.getSymbolIterator=i,h.iterator=i()},72064:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.observable=void 0,h.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0})},32929:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ArgumentOutOfRangeError=void 0;var n=i(26624);h.ArgumentOutOfRangeError=n.createErrorClass(function(o){return function(){o(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.EmptyError=void 0;var n=i(26624);h.EmptyError=n.createErrorClass(function(o){return function(){o(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.TestTools=h.Immediate=void 0;var n,i=1,o={};function d(a){return a in o&&(delete o[a],!0)}h.Immediate={setImmediate:function(a){var u=i++;return o[u]=!0,n||(n=Promise.resolve()),n.then(function(){return d(u)&&a()}),u},clearImmediate:function(a){d(a)}},h.TestTools={pending:function(){return Object.keys(o).length}}},15496:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.NotFoundError=void 0;var n=i(26624);h.NotFoundError=n.createErrorClass(function(o){return function(a){o(this),this.name="NotFoundError",this.message=a}})},92304:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.ObjectUnsubscribedError=void 0;var n=i(26624);h.ObjectUnsubscribedError=n.createErrorClass(function(o){return function(){o(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.SequenceError=void 0;var n=i(26624);h.SequenceError=n.createErrorClass(function(o){return function(a){o(this),this.name="SequenceError",this.message=a}})},9560:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.UnsubscriptionError=void 0;var n=i(26624);h.UnsubscriptionError=n.createErrorClass(function(o){return function(a){o(this),this.message=a?a.length+" errors occurred during unsubscription:\n"+a.map(function(u,e){return e+1+") "+u.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=a}})},69724:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.popNumber=h.popScheduler=h.popResultSelector=void 0;var n=i(82360),o=i(76964);function d(l){return l[l.length-1]}h.popResultSelector=function a(l){return n.isFunction(d(l))?l.pop():void 0},h.popScheduler=function u(l){return o.isScheduler(d(l))?l.pop():void 0},h.popNumber=function e(l,c){return"number"==typeof d(l)?l.pop():c}},75352:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsArgArrayOrObject=void 0;var i=Array.isArray,n=Object.getPrototypeOf,o=Object.prototype,d=Object.keys;h.argsArgArrayOrObject=function a(e){if(1===e.length){var l=e[0];if(i(l))return{args:l,keys:null};if(function u(e){return e&&"object"==typeof e&&n(e)===o}(l)){var c=d(l);return{args:c.map(function(g){return l[g]}),keys:c}}}return{args:e,keys:null}}},50652:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.argsOrArgArray=void 0;var i=Array.isArray;h.argsOrArgArray=function n(o){return 1===o.length&&i(o[0])?o[0]:o}},39852:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.arrRemove=void 0,h.arrRemove=function i(n,o){if(n){var d=n.indexOf(o);0<=d&&n.splice(d,1)}}},26624:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createErrorClass=void 0,h.createErrorClass=function i(n){var d=n(function(a){Error.call(a),a.stack=(new Error).stack});return d.prototype=Object.create(Error.prototype),d.prototype.constructor=d,d}},7788:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createObject=void 0,h.createObject=function i(n,o){return n.reduce(function(d,a,u){return d[a]=o[u],d},{})}},49664:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.captureError=h.errorContext=void 0;var n=i(90584),o=null;h.errorContext=function d(u){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!o;if(e&&(o={errorThrown:!1,error:null}),u(),e){var l=o;if(o=null,l.errorThrown)throw l.error}}else u()},h.captureError=function a(u){n.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=u)}},61760:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.executeSchedule=void 0,h.executeSchedule=function i(n,o,d,a,u){void 0===a&&(a=0),void 0===u&&(u=!1);var e=o.schedule(function(){d(),u?n.add(this.schedule(null,a)):this.unsubscribe()},a);if(n.add(e),!u)return e}},55184:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.identity=void 0,h.identity=function i(n){return n}},18224:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isArrayLike=void 0,h.isArrayLike=function(i){return i&&"number"==typeof i.length&&"function"!=typeof i}},37156:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isAsyncIterable=void 0;var n=i(82360);h.isAsyncIterable=function o(d){return Symbol.asyncIterator&&n.isFunction(d?.[Symbol.asyncIterator])}},42384:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isValidDate=void 0,h.isValidDate=function i(n){return n instanceof Date&&!isNaN(n)}},82360:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isFunction=void 0,h.isFunction=function i(n){return"function"==typeof n}},18440:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isInteropObservable=void 0;var n=i(72064),o=i(82360);h.isInteropObservable=function d(a){return o.isFunction(a[n.observable])}},30640:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isIterable=void 0;var n=i(71040),o=i(82360);h.isIterable=function d(a){return o.isFunction(a?.[n.iterator])}},38104:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isObservable=void 0;var n=i(15448),o=i(82360);h.isObservable=function d(a){return!!a&&(a instanceof n.Observable||o.isFunction(a.lift)&&o.isFunction(a.subscribe))}},28296:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isPromise=void 0;var n=i(82360);h.isPromise=function o(d){return n.isFunction(d?.then)}},11416:function(ve,h,i){"use strict";var n=this&&this.__generator||function(l,c){var y,_,C,b,g={label:0,sent:function(){if(1&C[0])throw C[1];return C[1]},trys:[],ops:[]};return b={next:p(0),throw:p(1),return:p(2)},"function"==typeof Symbol&&(b[Symbol.iterator]=function(){return this}),b;function p(S){return function(v){return function f(S){if(y)throw new TypeError("Generator is already executing.");for(;g;)try{if(y=1,_&&(C=2&S[0]?_.return:S[0]?_.throw||((C=_.return)&&C.call(_),0):_.next)&&!(C=C.call(_,S[1])).done)return C;switch(_=0,C&&(S=[2&S[0],C.value]),S[0]){case 0:case 1:C=S;break;case 4:return g.label++,{value:S[1],done:!1};case 5:g.label++,_=S[1],S=[0];continue;case 7:S=g.ops.pop(),g.trys.pop();continue;default:if(!(C=(C=g.trys).length>0&&C[C.length-1])&&(6===S[0]||2===S[0])){g=0;continue}if(3===S[0]&&(!C||S[1]>C[0]&&S[1]1||p(E,A)})})}function p(E,A){try{!function f(E){E.value instanceof o?Promise.resolve(E.value.v).then(S,v):M(C[0][2],E)}(y[E](A))}catch(k){M(C[0][3],k)}}function S(E){p("next",E)}function v(E){p("throw",E)}function M(E,A){E(A),C.shift(),C.length&&p(C[0][0],C[0][1])}};Object.defineProperty(h,"__esModule",{value:!0}),h.isReadableStreamLike=h.readableStreamLikeToAsyncGenerator=void 0;var a=i(82360);h.readableStreamLikeToAsyncGenerator=function u(l){return d(this,arguments,function(){var g,y,_;return n(this,function(b){switch(b.label){case 0:g=l.getReader(),b.label=1;case 1:b.trys.push([1,,9,10]),b.label=2;case 2:return[4,o(g.read())];case 3:return y=b.sent(),_=y.value,y.done?[4,o(void 0)]:[3,5];case 4:return[2,b.sent()];case 5:return[4,o(_)];case 6:return[4,b.sent()];case 7:return b.sent(),[3,2];case 8:return[3,10];case 9:return g.releaseLock(),[7];case 10:return[2]}})})},h.isReadableStreamLike=function e(l){return a.isFunction(l?.getReader)}},76964:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.isScheduler=void 0;var n=i(82360);h.isScheduler=function o(d){return d&&n.isFunction(d.schedule)}},66080:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.operate=h.hasLift=void 0;var n=i(82360);function o(a){return n.isFunction(a?.lift)}h.hasLift=o,h.operate=function d(a){return function(u){if(o(u))return u.lift(function(e){try{return a(e,this)}catch(l){this.error(l)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(ve,h,i){"use strict";var n=this&&this.__read||function(l,c){var g="function"==typeof Symbol&&l[Symbol.iterator];if(!g)return l;var _,b,y=g.call(l),C=[];try{for(;(void 0===c||c-- >0)&&!(_=y.next()).done;)C.push(_.value)}catch(p){b={error:p}}finally{try{_&&!_.done&&(g=y.return)&&g.call(y)}finally{if(b)throw b.error}}return C},o=this&&this.__spreadArray||function(l,c){for(var g=0,y=c.length,_=l.length;g{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.noop=void 0,h.noop=function i(){}},37700:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.not=void 0,h.not=function i(n,o){return function(d,a){return!n.call(o,d,a)}}},19512:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.pipeFromArray=h.pipe=void 0;var n=i(55184);function d(a){return 0===a.length?n.identity:1===a.length?a[0]:function(e){return a.reduce(function(l,c){return c(l)},e)}}h.pipe=function o(){for(var a=[],u=0;u{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.reportUnhandledError=void 0;var n=i(90584),o=i(82480);h.reportUnhandledError=function d(a){o.timeoutProvider.setTimeout(function(){var u=n.config.onUnhandledError;if(!u)throw a;u(a)})}},34088:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.createInvalidObservableTypeError=void 0,h.createInvalidObservableTypeError=function i(n){return new TypeError("You provided "+(null!==n&&"object"==typeof n?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},46700:(ve,h,i)=>{"use strict";i.d(h,{g:()=>o});var n=i(95657);class o extends n.E{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const u=super._subscribe(a);return!u.closed&&a.next(this._value),u}getValue(){const{hasError:a,thrownError:u,_value:e}=this;if(a)throw u;return this._throwIfClosed(),e}next(a){super.next(this._value=a)}}},53252:(ve,h,i)=>{"use strict";i.d(h,{_:()=>c});var n=i(41760),o=i(46928),d=i(90472),a=i(83928),u=i(74491),e=i(38880),l=i(92075);let c=(()=>{class C{constructor(p){p&&(this._subscribe=p)}lift(p){const f=new C;return f.source=this,f.operator=p,f}subscribe(p,f,S){const v=function _(C){return C&&C instanceof n.yR||function y(C){return C&&(0,e.m)(C.next)&&(0,e.m)(C.error)&&(0,e.m)(C.complete)}(C)&&(0,o.GI)(C)}(p)?p:new n.ot(p,f,S);return(0,l.c)(()=>{const{operator:M,source:E}=this;v.add(M?M.call(v,E):E?this._subscribe(v):this._trySubscribe(v))}),v}_trySubscribe(p){try{return this._subscribe(p)}catch(f){p.error(f)}}forEach(p,f){return new(f=g(f))((S,v)=>{const M=new n.ot({next:E=>{try{p(E)}catch(A){v(A),M.unsubscribe()}},error:v,complete:S});this.subscribe(M)})}_subscribe(p){var f;return null===(f=this.source)||void 0===f?void 0:f.subscribe(p)}[d.a](){return this}pipe(...p){return(0,a.Y)(p)(this)}toPromise(p){return new(p=g(p))((f,S)=>{let v;this.subscribe(M=>v=M,M=>S(M),()=>f(v))})}}return C.create=b=>new C(b),C})();function g(C){var b;return null!==(b=C??u.config.Promise)&&void 0!==b?b:Promise}},22540:(ve,h,i)=>{"use strict";i.d(h,{o:()=>d});var n=i(95657),o=i(35960);class d extends n.E{constructor(u=1/0,e=1/0,l=o.K){super(),this._bufferSize=u,this._windowTime=e,this._timestampProvider=l,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,u),this._windowTime=Math.max(1,e)}next(u){const{isStopped:e,_buffer:l,_infiniteTimeWindow:c,_timestampProvider:g,_windowTime:y}=this;e||(l.push(u),!c&&l.push(g.now()+y)),this._trimBuffer(),super.next(u)}_subscribe(u){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(u),{_infiniteTimeWindow:l,_buffer:c}=this,g=c.slice();for(let y=0;y{"use strict";i.d(h,{E:()=>l});var n=i(53252),o=i(46928);const a=(0,i(14912).w)(g=>function(){g(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var u=i(41248),e=i(92075);let l=(()=>{class g extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(_){const C=new c(this,this);return C.operator=_,C}_throwIfClosed(){if(this.closed)throw new a}next(_){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const C of this.currentObservers)C.next(_)}})}error(_){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=_;const{observers:C}=this;for(;C.length;)C.shift().error(_)}})}complete(){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:_}=this;for(;_.length;)_.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var _;return(null===(_=this.observers)||void 0===_?void 0:_.length)>0}_trySubscribe(_){return this._throwIfClosed(),super._trySubscribe(_)}_subscribe(_){return this._throwIfClosed(),this._checkFinalizedStatuses(_),this._innerSubscribe(_)}_innerSubscribe(_){const{hasError:C,isStopped:b,observers:p}=this;return C||b?o.au:(this.currentObservers=null,p.push(_),new o.wH(()=>{this.currentObservers=null,(0,u.k)(p,_)}))}_checkFinalizedStatuses(_){const{hasError:C,thrownError:b,isStopped:p}=this;C?_.error(b):p&&_.complete()}asObservable(){const _=new n._;return _.source=this,_}}return g.create=(y,_)=>new c(y,_),g})();class c extends l{constructor(y,_){super(),this.destination=y,this.source=_}next(y){var _,C;null===(C=null===(_=this.destination)||void 0===_?void 0:_.next)||void 0===C||C.call(_,y)}error(y){var _,C;null===(C=null===(_=this.destination)||void 0===_?void 0:_.error)||void 0===C||C.call(_,y)}complete(){var y,_;null===(_=null===(y=this.destination)||void 0===y?void 0:y.complete)||void 0===_||_.call(y)}_subscribe(y){var _,C;return null!==(C=null===(_=this.source)||void 0===_?void 0:_.subscribe(y))&&void 0!==C?C:o.au}}},41760:(ve,h,i)=>{"use strict";i.d(h,{ot:()=>S,yR:()=>C});var n=i(38880),o=i(46928),d=i(74491),a=i(31984),u=i(20308);const e=g("C",void 0,void 0);function g(k,N,F){return{kind:k,value:N,error:F}}var y=i(43376),_=i(92075);class C extends o.wH{constructor(N){super(),this.isStopped=!1,N?(this.destination=N,(0,o.GI)(N)&&N.add(this)):this.destination=A}static create(N,F,T){return new S(N,F,T)}next(N){this.isStopped?E(function c(k){return g("N",k,void 0)}(N),this):this._next(N)}error(N){this.isStopped?E(function l(k){return g("E",void 0,k)}(N),this):(this.isStopped=!0,this._error(N))}complete(){this.isStopped?E(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(N){this.destination.next(N)}_error(N){try{this.destination.error(N)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const b=Function.prototype.bind;function p(k,N){return b.call(k,N)}class f{constructor(N){this.partialObserver=N}next(N){const{partialObserver:F}=this;if(F.next)try{F.next(N)}catch(T){v(T)}}error(N){const{partialObserver:F}=this;if(F.error)try{F.error(N)}catch(T){v(T)}else v(N)}complete(){const{partialObserver:N}=this;if(N.complete)try{N.complete()}catch(F){v(F)}}}class S extends C{constructor(N,F,T){let P;if(super(),(0,n.m)(N)||!N)P={next:N??void 0,error:F??void 0,complete:T??void 0};else{let I;this&&d.config.useDeprecatedNextContext?(I=Object.create(N),I.unsubscribe=()=>this.unsubscribe(),P={next:N.next&&p(N.next,I),error:N.error&&p(N.error,I),complete:N.complete&&p(N.complete,I)}):P=N}this.destination=new f(P)}}function v(k){d.config.useDeprecatedSynchronousErrorHandling?(0,_.q)(k):(0,a.U)(k)}function E(k,N){const{onStoppedNotification:F}=d.config;F&&y.u.setTimeout(()=>F(k,N))}const A={closed:!0,next:u.K,error:function M(k){throw k},complete:u.K}},46928:(ve,h,i)=>{"use strict";i.d(h,{au:()=>e,wH:()=>u,GI:()=>l});var n=i(38880);const d=(0,i(14912).w)(g=>function(_){g(this),this.message=_?`${_.length} errors occurred during unsubscription:\n${_.map((C,b)=>`${b+1}) ${C.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=_});var a=i(41248);class u{constructor(y){this.initialTeardown=y,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let y;if(!this.closed){this.closed=!0;const{_parentage:_}=this;if(_)if(this._parentage=null,Array.isArray(_))for(const p of _)p.remove(this);else _.remove(this);const{initialTeardown:C}=this;if((0,n.m)(C))try{C()}catch(p){y=p instanceof d?p.errors:[p]}const{_finalizers:b}=this;if(b){this._finalizers=null;for(const p of b)try{c(p)}catch(f){y=y??[],f instanceof d?y=[...y,...f.errors]:y.push(f)}}if(y)throw new d(y)}}add(y){var _;if(y&&y!==this)if(this.closed)c(y);else{if(y instanceof u){if(y.closed||y._hasParent(this))return;y._addParent(this)}(this._finalizers=null!==(_=this._finalizers)&&void 0!==_?_:[]).push(y)}}_hasParent(y){const{_parentage:_}=this;return _===y||Array.isArray(_)&&_.includes(y)}_addParent(y){const{_parentage:_}=this;this._parentage=Array.isArray(_)?(_.push(y),_):_?[_,y]:y}_removeParent(y){const{_parentage:_}=this;_===y?this._parentage=null:Array.isArray(_)&&(0,a.k)(_,y)}remove(y){const{_finalizers:_}=this;_&&(0,a.k)(_,y),y instanceof u&&y._removeParent(this)}}u.EMPTY=(()=>{const g=new u;return g.closed=!0,g})();const e=u.EMPTY;function l(g){return g instanceof u||g&&"closed"in g&&(0,n.m)(g.remove)&&(0,n.m)(g.add)&&(0,n.m)(g.unsubscribe)}function c(g){(0,n.m)(g)?g():g.unsubscribe()}},74491:(ve,h,i)=>{"use strict";i.d(h,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(ve,h,i)=>{"use strict";i.d(h,{E:()=>y});var n=i(53252),o=i(64300),d=i(74496),a=i(528),u=i(74187),e=i(59472),l=i(67904),c=i(87773),g=i(69399);function y(...b){const p=(0,e.e_)(b),f=(0,e.yu)(b),{args:S,keys:v}=(0,o.Q)(b);if(0===S.length)return(0,d.Q)([],p);const M=new n._(function _(b,p,f=a.Z){return S=>{C(p,()=>{const{length:v}=b,M=new Array(v);let E=v,A=v;for(let k=0;k{const N=(0,d.Q)(b[k],p);let F=!1;N.subscribe((0,c.e)(S,T=>{M[k]=T,F||(F=!0,A--),A||S.next(f(M.slice()))},()=>{--E||S.complete()}))},S)},S)}}(S,p,v?E=>(0,l.q)(v,E):a.Z));return f?M.pipe((0,u.j)(f)):M}function C(b,p,f){b?(0,g._)(f,b,p):p()}},41424:(ve,h,i)=>{"use strict";i.d(h,{Q:()=>d});var n=i(53252),o=i(50560);function d(a){return new n._(u=>{(0,o.Uv)(a()).subscribe(u)})}},28960:(ve,h,i)=>{"use strict";i.d(h,{k:()=>o});const o=new(i(53252)._)(u=>u.complete())},74496:(ve,h,i)=>{"use strict";i.d(h,{Q:()=>T});var n=i(50560),o=i(69399),d=i(95448),a=i(87773);function u(P,I=0){return(0,d.i)((j,L)=>{j.subscribe((0,a.e)(L,B=>(0,o._)(L,P,()=>L.next(B),I),()=>(0,o._)(L,P,()=>L.complete(),I),B=>(0,o._)(L,P,()=>L.error(B),I)))})}function e(P,I=0){return(0,d.i)((j,L)=>{L.add(P.schedule(()=>j.subscribe(L),I))})}var g=i(53252),_=i(23835),C=i(38880);function p(P,I){if(!P)throw new Error("Iterable cannot be null");return new g._(j=>{(0,o._)(j,I,()=>{const L=P[Symbol.asyncIterator]();(0,o._)(j,I,()=>{L.next().then(B=>{B.done?j.complete():j.next(B.value)})},0,!0)})})}var f=i(35099),S=i(55432),v=i(45428),M=i(61688),E=i(60376),A=i(58272),k=i(45832);function T(P,I){return I?function F(P,I){if(null!=P){if((0,f.O)(P))return function l(P,I){return(0,n.Uv)(P).pipe(e(I),u(I))}(P,I);if((0,v.G)(P))return function y(P,I){return new g._(j=>{let L=0;return I.schedule(function(){L===P.length?j.complete():(j.next(P[L++]),j.closed||this.schedule())})})}(P,I);if((0,S.u)(P))return function c(P,I){return(0,n.Uv)(P).pipe(e(I),u(I))}(P,I);if((0,E.E)(P))return p(P,I);if((0,M.i)(P))return function b(P,I){return new g._(j=>{let L;return(0,o._)(j,I,()=>{L=P[_.w](),(0,o._)(j,I,()=>{let B,$;try{({value:B,done:$}=L.next())}catch(ee){return void j.error(ee)}$?j.complete():j.next(B)},0,!0)}),()=>(0,C.m)(L?.return)&&L.return()})}(P,I);if((0,k.K)(P))return function N(P,I){return p((0,k._)(P),I)}(P,I)}throw(0,A.W)(P)}(P,I):(0,n.Uv)(P)}},70800:(ve,h,i)=>{"use strict";i.d(h,{w:()=>y});var n=i(50560),o=i(53252),d=i(7400),a=i(45428),u=i(38880),e=i(74187);const l=["addListener","removeListener"],c=["addEventListener","removeEventListener"],g=["on","off"];function y(f,S,v,M){if((0,u.m)(v)&&(M=v,v=void 0),M)return y(f,S,v).pipe((0,e.j)(M));const[E,A]=function p(f){return(0,u.m)(f.addEventListener)&&(0,u.m)(f.removeEventListener)}(f)?c.map(k=>N=>f[k](S,N,v)):function C(f){return(0,u.m)(f.addListener)&&(0,u.m)(f.removeListener)}(f)?l.map(_(f,S)):function b(f){return(0,u.m)(f.on)&&(0,u.m)(f.off)}(f)?g.map(_(f,S)):[];if(!E&&(0,a.G)(f))return(0,d.O)(k=>y(k,S,v))((0,n.Uv)(f));if(!E)throw new TypeError("Invalid event target");return new o._(k=>{const N=(...F)=>k.next(1A(N)})}function _(f,S){return v=>M=>f[v](S,M)}},50560:(ve,h,i)=>{"use strict";i.d(h,{Uv:()=>b});var n=i(81316),o=i(45428),d=i(55432),a=i(53252),u=i(35099),e=i(60376),l=i(58272),c=i(61688),g=i(45832),y=i(38880),_=i(31984),C=i(90472);function b(k){if(k instanceof a._)return k;if(null!=k){if((0,u.O)(k))return function p(k){return new a._(N=>{const F=k[C.a]();if((0,y.m)(F.subscribe))return F.subscribe(N);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(k);if((0,o.G)(k))return function f(k){return new a._(N=>{for(let F=0;F{k.then(F=>{N.closed||(N.next(F),N.complete())},F=>N.error(F)).then(null,_.U)})}(k);if((0,e.E)(k))return M(k);if((0,c.i)(k))return function v(k){return new a._(N=>{for(const F of k)if(N.next(F),N.closed)return;N.complete()})}(k);if((0,g.K)(k))return function E(k){return M((0,g._)(k))}(k)}throw(0,l.W)(k)}function M(k){return new a._(N=>{(function A(k,N){var F,T,P,I;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(F=(0,n.__asyncValues)(k);!(T=yield F.next()).done;)if(N.next(T.value),N.closed)return}catch(j){P={error:j}}finally{try{T&&!T.done&&(I=F.return)&&(yield I.call(F))}finally{if(P)throw P.error}}N.complete()})})(k,N).catch(F=>N.error(F))})}},82700:(ve,h,i)=>{"use strict";i.d(h,{of:()=>d});var n=i(59472),o=i(74496);function d(...a){const u=(0,n.e_)(a);return(0,o.Q)(a,u)}},87773:(ve,h,i)=>{"use strict";i.d(h,{e:()=>o});var n=i(41760);function o(a,u,e,l,c){return new d(a,u,e,l,c)}class d extends n.yR{constructor(u,e,l,c,g,y){super(u),this.onFinalize=g,this.shouldUnsubscribe=y,this._next=e?function(_){try{e(_)}catch(C){u.error(C)}}:super._next,this._error=c?function(_){try{c(_)}catch(C){u.error(C)}finally{this.unsubscribe()}}:super._error,this._complete=l?function(){try{l()}catch(_){u.error(_)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var u;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(u=this.onFinalize)||void 0===u||u.call(this))}}}},39144:(ve,h,i)=>{"use strict";i.d(h,{a:()=>a});var n=i(50560),o=i(87773),d=i(95448);function a(u){return(0,d.i)((e,l)=>{let y,c=null,g=!1;c=e.subscribe((0,o.e)(l,void 0,void 0,_=>{y=(0,n.Uv)(u(_,a(u)(e))),c?(c.unsubscribe(),c=null,y.subscribe(l)):g=!0})),g&&(c.unsubscribe(),c=null,y.subscribe(l))})}},26020:(ve,h,i)=>{"use strict";i.d(h,{m:()=>d});var n=i(7400),o=i(38880);function d(a,u){return(0,o.m)(u)?(0,n.O)(a,u,1):(0,n.O)(a,1)}},22156:(ve,h,i)=>{"use strict";i.d(h,{G:()=>d});var n=i(95448),o=i(87773);function d(a){return(0,n.i)((u,e)=>{let l=!1;u.subscribe((0,o.e)(e,c=>{l=!0,e.next(c)},()=>{l||e.next(a),e.complete()}))})}},66684:(ve,h,i)=>{"use strict";i.d(h,{I:()=>d});var n=i(95448),o=i(87773);function d(a,u){return(0,n.i)((e,l)=>{let c=0;e.subscribe((0,o.e)(l,g=>a.call(u,g,c++)&&l.next(g)))})}},68824:(ve,h,i)=>{"use strict";i.d(h,{U:()=>o});var n=i(95448);function o(d){return(0,n.i)((a,u)=>{try{a.subscribe(u)}finally{u.add(d)}})}},75084:(ve,h,i)=>{"use strict";i.d(h,{K:()=>l});var n=i(37696),o=i(66684),d=i(3992),a=i(22156),u=i(98124),e=i(528);function l(c,g){const y=arguments.length>=2;return _=>_.pipe(c?(0,o.I)((C,b)=>c(C,b,_)):e.Z,(0,d.U)(1),y?(0,a.G)(g):(0,u._)(()=>new n.G))}},54704:(ve,h,i)=>{"use strict";i.d(h,{k:()=>d});var n=i(95448),o=i(87773);function d(a,u){return(0,n.i)((e,l)=>{let c=0;e.subscribe((0,o.e)(l,g=>{l.next(a.call(u,g,c++))}))})}},32700:(ve,h,i)=>{"use strict";i.d(h,{e:()=>o});var n=i(54704);function o(d){return(0,n.k)(()=>d)}},7400:(ve,h,i)=>{"use strict";i.d(h,{O:()=>c});var n=i(54704),o=i(50560),d=i(95448),a=i(69399),u=i(87773),l=i(38880);function c(g,y,_=1/0){return(0,l.m)(y)?c((C,b)=>(0,n.k)((p,f)=>y(C,p,b,f))((0,o.Uv)(g(C,b))),_):("number"==typeof y&&(_=y),(0,d.i)((C,b)=>function e(g,y,_,C,b,p,f,S){const v=[];let M=0,E=0,A=!1;const k=()=>{A&&!v.length&&!M&&y.complete()},N=T=>M{p&&y.next(T),M++;let P=!1;(0,o.Uv)(_(T,E++)).subscribe((0,u.e)(y,I=>{b?.(I),p?N(I):y.next(I)},()=>{P=!0},void 0,()=>{if(P)try{for(M--;v.length&&MF(I)):F(I)}k()}catch(I){y.error(I)}}))};return g.subscribe((0,u.e)(y,N,()=>{A=!0,k()})),()=>{S?.()}}(C,b,g,_)))}},17368:(ve,h,i)=>{"use strict";i.d(h,{G:()=>a});var n=i(50560),o=i(95448),d=i(87773);function a(u,e){return(0,o.i)((l,c)=>{let g=null,y=0,_=!1;const C=()=>_&&!g&&c.complete();l.subscribe((0,d.e)(c,b=>{g?.unsubscribe();let p=0;const f=y++;(0,n.Uv)(u(b,f)).subscribe(g=(0,d.e)(c,S=>c.next(e?e(b,S,f,p++):S),()=>{g=null,C()}))},()=>{_=!0,C()}))})}},3992:(ve,h,i)=>{"use strict";i.d(h,{U:()=>a});var n=i(28960),o=i(95448),d=i(87773);function a(u){return u<=0?()=>n.k:(0,o.i)((e,l)=>{let c=0;e.subscribe((0,d.e)(l,g=>{++c<=u&&(l.next(g),u<=c&&l.complete())}))})}},53616:(ve,h,i)=>{"use strict";i.d(h,{a:()=>u});var n=i(95448),o=i(87773),d=i(50560),a=i(20308);function u(e){return(0,n.i)((l,c)=>{(0,d.Uv)(e).subscribe((0,o.e)(c,()=>c.complete(),a.K)),!c.closed&&l.subscribe(c)})}},19212:(ve,h,i)=>{"use strict";i.d(h,{y:()=>u});var n=i(38880),o=i(95448),d=i(87773),a=i(528);function u(e,l,c){const g=(0,n.m)(e)||l||c?{next:e,error:l,complete:c}:e;return g?(0,o.i)((y,_)=>{var C;null===(C=g.subscribe)||void 0===C||C.call(g);let b=!0;y.subscribe((0,d.e)(_,p=>{var f;null===(f=g.next)||void 0===f||f.call(g,p),_.next(p)},()=>{var p;b=!1,null===(p=g.complete)||void 0===p||p.call(g),_.complete()},p=>{var f;b=!1,null===(f=g.error)||void 0===f||f.call(g,p),_.error(p)},()=>{var p,f;b&&(null===(p=g.unsubscribe)||void 0===p||p.call(g)),null===(f=g.finalize)||void 0===f||f.call(g)}))}):a.Z}},98124:(ve,h,i)=>{"use strict";i.d(h,{_:()=>a});var n=i(37696),o=i(95448),d=i(87773);function a(e=u){return(0,o.i)((l,c)=>{let g=!1;l.subscribe((0,d.e)(c,y=>{g=!0,c.next(y)},()=>g?c.complete():c.error(e())))})}function u(){return new n.G}},35960:(ve,h,i)=>{"use strict";i.d(h,{K:()=>n});const n={now:()=>(n.delegate||Date).now(),delegate:void 0}},43376:(ve,h,i)=>{"use strict";i.d(h,{u:()=>n});const n={setTimeout(o,d,...a){const{delegate:u}=n;return u?.setTimeout?u.setTimeout(o,d,...a):setTimeout(o,d,...a)},clearTimeout(o){const{delegate:d}=n;return(d?.clearTimeout||clearTimeout)(o)},delegate:void 0}},23835:(ve,h,i)=>{"use strict";i.d(h,{w:()=>o});const o=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(ve,h,i)=>{"use strict";i.d(h,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(ve,h,i)=>{"use strict";i.d(h,{G:()=>o});const o=(0,i(14912).w)(d=>function(){d(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(ve,h,i)=>{"use strict";i.d(h,{yu:()=>a,e_:()=>u});var n=i(38880);function d(l){return l[l.length-1]}function a(l){return(0,n.m)(d(l))?l.pop():void 0}function u(l){return function o(l){return l&&(0,n.m)(l.schedule)}(d(l))?l.pop():void 0}},64300:(ve,h,i)=>{"use strict";i.d(h,{Q:()=>u});const{isArray:n}=Array,{getPrototypeOf:o,prototype:d,keys:a}=Object;function u(l){if(1===l.length){const c=l[0];if(n(c))return{args:c,keys:null};if(function e(l){return l&&"object"==typeof l&&o(l)===d}(c)){const g=a(c);return{args:g.map(y=>c[y]),keys:g}}}return{args:l,keys:null}}},41248:(ve,h,i)=>{"use strict";function n(o,d){if(o){const a=o.indexOf(d);0<=a&&o.splice(a,1)}}i.d(h,{k:()=>n})},14912:(ve,h,i)=>{"use strict";function n(o){const a=o(u=>{Error.call(u),u.stack=(new Error).stack});return a.prototype=Object.create(Error.prototype),a.prototype.constructor=a,a}i.d(h,{w:()=>n})},67904:(ve,h,i)=>{"use strict";function n(o,d){return o.reduce((a,u,e)=>(a[u]=d[e],a),{})}i.d(h,{q:()=>n})},92075:(ve,h,i)=>{"use strict";i.d(h,{c:()=>d,q:()=>a});var n=i(74491);let o=null;function d(u){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!o;if(e&&(o={errorThrown:!1,error:null}),u(),e){const{errorThrown:l,error:c}=o;if(o=null,l)throw c}}else u()}function a(u){n.config.useDeprecatedSynchronousErrorHandling&&o&&(o.errorThrown=!0,o.error=u)}},69399:(ve,h,i)=>{"use strict";function n(o,d,a,u=0,e=!1){const l=d.schedule(function(){a(),e?o.add(this.schedule(null,u)):this.unsubscribe()},u);if(o.add(l),!e)return l}i.d(h,{_:()=>n})},528:(ve,h,i)=>{"use strict";function n(o){return o}i.d(h,{Z:()=>n})},45428:(ve,h,i)=>{"use strict";i.d(h,{G:()=>n});const n=o=>o&&"number"==typeof o.length&&"function"!=typeof o},60376:(ve,h,i)=>{"use strict";i.d(h,{E:()=>o});var n=i(38880);function o(d){return Symbol.asyncIterator&&(0,n.m)(d?.[Symbol.asyncIterator])}},38880:(ve,h,i)=>{"use strict";function n(o){return"function"==typeof o}i.d(h,{m:()=>n})},35099:(ve,h,i)=>{"use strict";i.d(h,{O:()=>d});var n=i(90472),o=i(38880);function d(a){return(0,o.m)(a[n.a])}},61688:(ve,h,i)=>{"use strict";i.d(h,{i:()=>d});var n=i(23835),o=i(38880);function d(a){return(0,o.m)(a?.[n.w])}},55432:(ve,h,i)=>{"use strict";i.d(h,{u:()=>o});var n=i(38880);function o(d){return(0,n.m)(d?.then)}},45832:(ve,h,i)=>{"use strict";i.d(h,{K:()=>a,_:()=>d});var n=i(81316),o=i(38880);function d(u){return(0,n.__asyncGenerator)(this,arguments,function*(){const l=u.getReader();try{for(;;){const{value:c,done:g}=yield(0,n.__await)(l.read());if(g)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(c)}}finally{l.releaseLock()}})}function a(u){return(0,o.m)(u?.getReader)}},95448:(ve,h,i)=>{"use strict";i.d(h,{e:()=>o,i:()=>d});var n=i(38880);function o(a){return(0,n.m)(a?.lift)}function d(a){return u=>{if(o(u))return u.lift(function(e){try{return a(e,this)}catch(l){this.error(l)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(ve,h,i)=>{"use strict";i.d(h,{j:()=>a});var n=i(54704);const{isArray:o}=Array;function a(u){return(0,n.k)(e=>function d(u,e){return o(e)?u(...e):u(e)}(u,e))}},20308:(ve,h,i)=>{"use strict";function n(){}i.d(h,{K:()=>n})},83928:(ve,h,i)=>{"use strict";i.d(h,{W:()=>o,Y:()=>d});var n=i(528);function o(...a){return d(a)}function d(a){return 0===a.length?n.Z:1===a.length?a[0]:function(e){return a.reduce((l,c)=>c(l),e)}}},31984:(ve,h,i)=>{"use strict";i.d(h,{U:()=>d});var n=i(74491),o=i(43376);function d(a){o.u.setTimeout(()=>{const{onUnhandledError:u}=n.config;if(!u)throw a;u(a)})}},58272:(ve,h,i)=>{"use strict";function n(o){return new TypeError(`You provided ${null!==o&&"object"==typeof o?"an invalid object":`'${o}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}i.d(h,{W:()=>n})},16213:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),Object.defineProperty(h,"NIL",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(h,"parse",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(h,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(h,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(h,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(h,"v4",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(h,"v5",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(h,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(h,"version",{enumerable:!0,get:function(){return e.default}});var n=y(i(14400)),o=y(i(86664)),d=y(i(35368)),a=y(i(52632)),u=y(i(936)),e=y(i(54424)),l=y(i(54e3)),c=y(i(6944)),g=y(i(92612));function y(_){return _&&_.__esModule?_:{default:_}}},75440:(ve,h)=>{"use strict";function o(b){return 14+(b+64>>>9<<4)+1}function u(b,p){const f=(65535&b)+(65535&p);return(b>>16)+(p>>16)+(f>>16)<<16|65535&f}function l(b,p,f,S,v,M){return u(function e(b,p){return b<>>32-p}(u(u(p,b),u(S,M)),v),f)}function c(b,p,f,S,v,M,E){return l(p&f|~p&S,b,p,v,M,E)}function g(b,p,f,S,v,M,E){return l(p&S|f&~S,b,p,v,M,E)}function y(b,p,f,S,v,M,E){return l(p^f^S,b,p,v,M,E)}function _(b,p,f,S,v,M,E){return l(f^(p|~S),b,p,v,M,E)}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function i(b){if("string"==typeof b){const p=unescape(encodeURIComponent(b));b=new Uint8Array(p.length);for(let f=0;f>5]>>>v%32&255,E=parseInt(S.charAt(M>>>4&15)+S.charAt(15&M),16);p.push(E)}return p}(function d(b,p){b[p>>5]|=128<>5]|=(255&b[S/8])<{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};h.default=n},936:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default="00000000-0000-0000-0000-000000000000"},92612:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function o(u){return u&&u.__esModule?u:{default:u}}(i(54e3));h.default=function d(u){if(!(0,n.default)(u))throw TypeError("Invalid UUID");let e;const l=new Uint8Array(16);return l[0]=(e=parseInt(u.slice(0,8),16))>>>24,l[1]=e>>>16&255,l[2]=e>>>8&255,l[3]=255&e,l[4]=(e=parseInt(u.slice(9,13),16))>>>8,l[5]=255&e,l[6]=(e=parseInt(u.slice(14,18),16))>>>8,l[7]=255&e,l[8]=(e=parseInt(u.slice(19,23),16))>>>8,l[9]=255&e,l[10]=(e=parseInt(u.slice(24,36),16))/1099511627776&255,l[11]=e/4294967296&255,l[12]=e>>>24&255,l[13]=e>>>16&255,l[14]=e>>>8&255,l[15]=255&e,l}},18280:(ve,h)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},98256:(ve,h)=>{"use strict";let i;Object.defineProperty(h,"__esModule",{value:!0}),h.default=function o(){if(!i&&(i=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!i))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return i(n)};const n=new Uint8Array(16)},18780:(ve,h)=>{"use strict";function i(a,u,e,l){switch(a){case 0:return u&e^~u&l;case 1:case 3:return u^e^l;case 2:return u&e^u&l^e&l}}function n(a,u){return a<>>32-u}Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.default=function o(a){const u=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof a){const y=unescape(encodeURIComponent(a));a=[];for(let _=0;_>>0;S=f,f=p,p=n(b,30)>>>0,b=C,C=E}e[0]=e[0]+C>>>0,e[1]=e[1]+b>>>0,e[2]=e[2]+p>>>0,e[3]=e[3]+f>>>0,e[4]=e[4]+S>>>0}return[e[0]>>24&255,e[0]>>16&255,e[0]>>8&255,255&e[0],e[1]>>24&255,e[1]>>16&255,e[1]>>8&255,255&e[1],e[2]>>24&255,e[2]>>16&255,e[2]>>8&255,255&e[2],e[3]>>24&255,e[3]>>16&255,e[3]>>8&255,255&e[3],e[4]>>24&255,e[4]>>16&255,e[4]>>8&255,255&e[4]]}},6944:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0,h.unsafeStringify=a;var n=function o(l){return l&&l.__esModule?l:{default:l}}(i(54e3));const d=[];for(let l=0;l<256;++l)d.push((l+256).toString(16).slice(1));function a(l,c=0){return d[l[c+0]]+d[l[c+1]]+d[l[c+2]]+d[l[c+3]]+"-"+d[l[c+4]]+d[l[c+5]]+"-"+d[l[c+6]]+d[l[c+7]]+"-"+d[l[c+8]]+d[l[c+9]]+"-"+d[l[c+10]]+d[l[c+11]]+d[l[c+12]]+d[l[c+13]]+d[l[c+14]]+d[l[c+15]]}h.default=function u(l,c=0){const g=a(l,c);if(!(0,n.default)(g))throw TypeError("Stringified UUID is invalid");return g}},14400:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function d(y){return y&&y.__esModule?y:{default:y}}(i(98256)),o=i(6944);let a,u,e=0,l=0;h.default=function c(y,_,C){let b=_&&C||0;const p=_||new Array(16);let f=(y=y||{}).node||a,S=void 0!==y.clockseq?y.clockseq:u;if(null==f||null==S){const N=y.random||(y.rng||n.default)();null==f&&(f=a=[1|N[0],N[1],N[2],N[3],N[4],N[5]]),null==S&&(S=u=16383&(N[6]<<8|N[7]))}let v=void 0!==y.msecs?y.msecs:Date.now(),M=void 0!==y.nsecs?y.nsecs:l+1;const E=v-e+(M-l)/1e4;if(E<0&&void 0===y.clockseq&&(S=S+1&16383),(E<0||v>e)&&void 0===y.nsecs&&(M=0),M>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=v,l=M,u=S,v+=122192928e5;const A=(1e4*(268435455&v)+M)%4294967296;p[b++]=A>>>24&255,p[b++]=A>>>16&255,p[b++]=A>>>8&255,p[b++]=255&A;const k=v/4294967296*1e4&268435455;p[b++]=k>>>8&255,p[b++]=255&k,p[b++]=k>>>24&15|16,p[b++]=k>>>16&255,p[b++]=S>>>8|128,p[b++]=255&S;for(let N=0;N<6;++N)p[b+N]=f[N];return _||(0,o.unsafeStringify)(p)}},86664:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(i(65432)),o=d(i(75440));function d(e){return e&&e.__esModule?e:{default:e}}var u=(0,n.default)("v3",48,o.default);h.default=u},65432:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.URL=h.DNS=void 0,h.default=function l(c,g,y){function _(C,b,p,f){var S;if("string"==typeof C&&(C=function a(c){c=unescape(encodeURIComponent(c));const g=[];for(let y=0;y{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=a(i(24400)),o=a(i(98256)),d=i(6944);function a(l){return l&&l.__esModule?l:{default:l}}h.default=function u(l,c,g){if(n.default.randomUUID&&!c&&!l)return n.default.randomUUID();const y=(l=l||{}).random||(l.rng||o.default)();if(y[6]=15&y[6]|64,y[8]=63&y[8]|128,c){g=g||0;for(let _=0;_<16;++_)c[g+_]=y[_];return c}return(0,d.unsafeStringify)(y)}},52632:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=d(i(65432)),o=d(i(18780));function d(e){return e&&e.__esModule?e:{default:e}}var u=(0,n.default)("v5",80,o.default);h.default=u},54e3:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function o(u){return u&&u.__esModule?u:{default:u}}(i(18280));h.default=function d(u){return"string"==typeof u&&n.default.test(u)}},54424:(ve,h,i)=>{"use strict";Object.defineProperty(h,"__esModule",{value:!0}),h.default=void 0;var n=function o(u){return u&&u.__esModule?u:{default:u}}(i(54e3));h.default=function d(u){if(!(0,n.default)(u))throw TypeError("Invalid UUID");return parseInt(u.slice(14,15),16)}},21480:(ve,h,i)=>{var n={"./ion-accordion_2.entry.js":[28956,9312,8956],"./ion-action-sheet.entry.js":[6736,9312,6736],"./ion-alert.entry.js":[41644,9312,1644],"./ion-app_8.entry.js":[63936,9312,3936],"./ion-avatar_3.entry.js":[79428,9428],"./ion-back-button.entry.js":[66932,9312,6932],"./ion-backdrop.entry.js":[38019,8019],"./ion-breadcrumb_2.entry.js":[67752,9312,7752],"./ion-button_2.entry.js":[9580,9580],"./ion-card_5.entry.js":[71048,1048],"./ion-checkbox.entry.js":[43752,9312,3752],"./ion-chip.entry.js":[1492,1492],"./ion-col_3.entry.js":[49584,9584],"./ion-datetime-button.entry.js":[17864,1136,7864],"./ion-datetime_3.entry.js":[38048,1136,9312,8048],"./ion-fab_3.entry.js":[61812,9312,1812],"./ion-img.entry.js":[73296,3296],"./ion-infinite-scroll_2.entry.js":[11488,9312,1488],"./ion-input.entry.js":[93500,9312,3500],"./ion-item-option_3.entry.js":[42448,9312,2448],"./ion-item_8.entry.js":[8772,9312,8772],"./ion-loading.entry.js":[82948,9312,2948],"./ion-menu_3.entry.js":[47676,9312,7676],"./ion-modal.entry.js":[96824,9312,6824],"./ion-nav_2.entry.js":[2372,2372],"./ion-picker-column-internal.entry.js":[88232,9312,8232],"./ion-picker-internal.entry.js":[74656,4656],"./ion-popover.entry.js":[24168,9312,4168],"./ion-progress-bar.entry.js":[83264,3264],"./ion-radio_2.entry.js":[57176,9312,7176],"./ion-range.entry.js":[63180,9312,3180],"./ion-refresher_2.entry.js":[32e3,9312,2e3],"./ion-reorder_2.entry.js":[93604,9312,3604],"./ion-ripple-effect.entry.js":[43667,3667],"./ion-route_4.entry.js":[54284,4284],"./ion-searchbar.entry.js":[82580,9312,2580],"./ion-segment_2.entry.js":[47528,9312,7528],"./ion-select_3.entry.js":[44272,9312,4272],"./ion-spinner.entry.js":[71172,9312,1172],"./ion-split-pane.entry.js":[42624,2624],"./ion-tab-bar_2.entry.js":[31708,9312,1708],"./ion-tab_2.entry.js":[95956,5956],"./ion-text.entry.js":[55828,5828],"./ion-textarea.entry.js":[9440,9312,9440],"./ion-toast.entry.js":[39836,9312,9836],"./ion-toggle.entry.js":[42776,9312,2776]};function o(d){if(!i.o(n,d))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+d+"'");throw e.code="MODULE_NOT_FOUND",e});var a=n[d],u=a[0];return Promise.all(a.slice(1).map(i.e)).then(()=>i(u))}o.keys=()=>Object.keys(n),o.id=21480,ve.exports=o},92348:(ve,h,i)=>{var n={"./af":25140,"./af.js":25140,"./ar":17276,"./ar-dz":17096,"./ar-dz.js":17096,"./ar-kw":32200,"./ar-kw.js":32200,"./ar-ly":97252,"./ar-ly.js":97252,"./ar-ma":39568,"./ar-ma.js":39568,"./ar-ps":13068,"./ar-ps.js":13068,"./ar-sa":89052,"./ar-sa.js":89052,"./ar-tn":93956,"./ar-tn.js":93956,"./ar.js":17276,"./az":88240,"./az.js":88240,"./be":77796,"./be.js":77796,"./bg":89880,"./bg.js":89880,"./bm":84328,"./bm.js":84328,"./bn":60536,"./bn-bd":45104,"./bn-bd.js":45104,"./bn.js":60536,"./bo":51108,"./bo.js":51108,"./br":51296,"./br.js":51296,"./bs":2032,"./bs.js":2032,"./ca":20096,"./ca.js":20096,"./cs":41152,"./cs.js":41152,"./cv":69568,"./cv.js":69568,"./cy":78875,"./cy.js":78875,"./da":45424,"./da.js":45424,"./de":20992,"./de-at":72604,"./de-at.js":72604,"./de-ch":79168,"./de-ch.js":79168,"./de.js":20992,"./dv":67300,"./dv.js":67300,"./el":84400,"./el.js":84400,"./en-au":83536,"./en-au.js":83536,"./en-ca":39379,"./en-ca.js":39379,"./en-gb":47032,"./en-gb.js":47032,"./en-ie":71832,"./en-ie.js":71832,"./en-il":404,"./en-il.js":404,"./en-in":25716,"./en-in.js":25716,"./en-nz":15312,"./en-nz.js":15312,"./en-sg":53320,"./en-sg.js":53320,"./eo":96392,"./eo.js":96392,"./es":41964,"./es-do":38540,"./es-do.js":38540,"./es-mx":93504,"./es-mx.js":93504,"./es-us":69224,"./es-us.js":69224,"./es.js":41964,"./et":90596,"./et.js":90596,"./eu":8060,"./eu.js":8060,"./fa":68184,"./fa.js":68184,"./fi":36736,"./fi.js":36736,"./fil":49264,"./fil.js":49264,"./fo":48299,"./fo.js":48299,"./fr":51964,"./fr-ca":84584,"./fr-ca.js":84584,"./fr-ch":8024,"./fr-ch.js":8024,"./fr.js":51964,"./fy":22672,"./fy.js":22672,"./ga":26476,"./ga.js":26476,"./gd":35148,"./gd.js":35148,"./gl":32176,"./gl.js":32176,"./gom-deva":27260,"./gom-deva.js":27260,"./gom-latn":3772,"./gom-latn.js":3772,"./gu":39528,"./gu.js":39528,"./he":86832,"./he.js":86832,"./hi":95592,"./hi.js":95592,"./hr":56208,"./hr.js":56208,"./hu":33697,"./hu.js":33697,"./hy-am":2e4,"./hy-am.js":2e4,"./id":57840,"./id.js":57840,"./is":31496,"./is.js":31496,"./it":6336,"./it-ch":45736,"./it-ch.js":45736,"./it.js":6336,"./ja":58008,"./ja.js":58008,"./jv":30108,"./jv.js":30108,"./ka":61844,"./ka.js":61844,"./kk":78980,"./kk.js":78980,"./km":48544,"./km.js":48544,"./kn":70096,"./kn.js":70096,"./ko":87420,"./ko.js":87420,"./ku":60200,"./ku-kmr":4740,"./ku-kmr.js":4740,"./ku.js":60200,"./ky":44976,"./ky.js":44976,"./lb":4652,"./lb.js":4652,"./lo":53984,"./lo.js":53984,"./lt":8792,"./lt.js":8792,"./lv":6296,"./lv.js":6296,"./me":58256,"./me.js":58256,"./mi":29284,"./mi.js":29284,"./mk":33196,"./mk.js":33196,"./ml":45896,"./ml.js":45896,"./mn":32460,"./mn.js":32460,"./mr":80132,"./mr.js":80132,"./ms":73136,"./ms-my":88060,"./ms-my.js":88060,"./ms.js":73136,"./mt":46227,"./mt.js":46227,"./my":88300,"./my.js":88300,"./nb":14784,"./nb.js":14784,"./ne":75060,"./ne.js":75060,"./nl":4971,"./nl-be":94796,"./nl-be.js":94796,"./nl.js":4971,"./nn":18984,"./nn.js":18984,"./oc-lnc":59928,"./oc-lnc.js":59928,"./pa-in":76440,"./pa-in.js":76440,"./pl":96768,"./pl.js":96768,"./pt":18968,"./pt-br":51528,"./pt-br.js":51528,"./pt.js":18968,"./ro":5760,"./ro.js":5760,"./ru":19760,"./ru.js":19760,"./sd":53804,"./sd.js":53804,"./se":44100,"./se.js":44100,"./si":95301,"./si.js":95301,"./sk":79992,"./sk.js":79992,"./sl":35208,"./sl.js":35208,"./sq":27408,"./sq.js":27408,"./sr":10656,"./sr-cyrl":1128,"./sr-cyrl.js":1128,"./sr.js":10656,"./ss":10864,"./ss.js":10864,"./sv":16900,"./sv.js":16900,"./sw":81636,"./sw.js":81636,"./ta":24180,"./ta.js":24180,"./te":97008,"./te.js":97008,"./tet":50744,"./tet.js":50744,"./tg":58084,"./tg.js":58084,"./th":81672,"./th.js":81672,"./tk":57232,"./tk.js":57232,"./tl-ph":89480,"./tl-ph.js":89480,"./tlh":58512,"./tlh.js":58512,"./tr":56020,"./tr.js":56020,"./tzl":36240,"./tzl.js":36240,"./tzm":33064,"./tzm-latn":53384,"./tzm-latn.js":53384,"./tzm.js":33064,"./ug-cn":45852,"./ug-cn.js":45852,"./uk":12480,"./uk.js":12480,"./ur":63877,"./ur.js":63877,"./uz":91712,"./uz-latn":20108,"./uz-latn.js":20108,"./uz.js":91712,"./vi":9984,"./vi.js":9984,"./x-pseudo":45708,"./x-pseudo.js":45708,"./yo":78476,"./yo.js":78476,"./zh-cn":3676,"./zh-cn.js":3676,"./zh-hk":49880,"./zh-hk.js":49880,"./zh-mo":41968,"./zh-mo.js":41968,"./zh-tw":33632,"./zh-tw.js":33632};function o(a){var u=d(a);return i(u)}function d(a){if(!i.o(n,a)){var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}return n[a]}o.keys=function(){return Object.keys(n)},o.resolve=d,ve.exports=o,o.id=92348},22892:()=>{},45344:()=>{},10440:()=>{},22224:()=>{},65724:()=>{},8160:()=>{},1196:ve=>{function h(n,o,d,a,u,e,l){try{var c=n[e](l),g=c.value}catch(y){return void d(y)}c.done?o(g):Promise.resolve(g).then(a,u)}ve.exports=function i(n){return function(){var o=this,d=arguments;return new Promise(function(a,u){var e=n.apply(o,d);function l(g){h(e,a,u,l,c,"next",g)}function c(g){h(e,a,u,l,c,"throw",g)}l(void 0)})}},ve.exports.__esModule=!0,ve.exports.default=ve.exports},91368:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{APP_BASE_HREF:()=>f,AsyncPipe:()=>Yt,BrowserPlatformLocation:()=>y,CommonModule:()=>go,CurrencyPipe:()=>Xr,DATE_PIPE_DEFAULT_OPTIONS:()=>lo,DATE_PIPE_DEFAULT_TIMEZONE:()=>ut,DOCUMENT:()=>l,DatePipe:()=>vi,DecimalPipe:()=>ti,FormStyle:()=>I,FormatWidth:()=>L,HashLocationStrategy:()=>v,I18nPluralPipe:()=>wn,I18nSelectPipe:()=>$n,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>Zi,JsonPipe:()=>si,KeyValuePipe:()=>ai,LOCATION_INITIALIZED:()=>g,Location:()=>M,LocationStrategy:()=>p,LowerCasePipe:()=>Ln,NgClass:()=>an,NgComponentOutlet:()=>Cn,NgFor:()=>Un,NgForOf:()=>Un,NgForOfContext:()=>Qn,NgIf:()=>Hn,NgIfContext:()=>ur,NgLocaleLocalization:()=>Ir,NgLocalization:()=>or,NgOptimizedImage:()=>gn,NgPlural:()=>Te,NgPluralCase:()=>ot,NgStyle:()=>ht,NgSwitch:()=>W,NgSwitchCase:()=>ae,NgSwitchDefault:()=>He,NgTemplateOutlet:()=>Ct,NumberFormatStyle:()=>T,NumberSymbol:()=>B,PRECONNECT_CHECK_BLOCKLIST:()=>Zo,PathLocationStrategy:()=>S,PercentPipe:()=>Zr,PlatformLocation:()=>c,Plural:()=>P,SlicePipe:()=>Yi,TitleCasePipe:()=>cr,TranslationWidth:()=>j,UpperCasePipe:()=>Nr,VERSION:()=>qr,ViewportScroller:()=>ar,WeekDay:()=>$,XhrFactory:()=>Eo,formatCurrency:()=>pr,formatDate:()=>Fe,formatNumber:()=>qn,formatPercent:()=>Xn,getCurrencySymbol:()=>bt,getLocaleCurrencyCode:()=>Ae,getLocaleCurrencyName:()=>Re,getLocaleCurrencySymbol:()=>Oe,getLocaleDateFormat:()=>z,getLocaleDateTimeFormat:()=>q,getLocaleDayNames:()=>se,getLocaleDayPeriods:()=>le,getLocaleDirection:()=>De,getLocaleEraNames:()=>Q,getLocaleExtraDayPeriodRules:()=>qe,getLocaleExtraDayPeriods:()=>et,getLocaleFirstDayOfWeek:()=>re,getLocaleId:()=>ee,getLocaleMonthNames:()=>K,getLocaleNumberFormat:()=>me,getLocaleNumberSymbol:()=>de,getLocalePluralCase:()=>Ne,getLocaleTimeFormat:()=>Y,getLocaleWeekEndRange:()=>X,getNumberOfCurrencyDigits:()=>Ut,isPlatformBrowser:()=>Rr,isPlatformServer:()=>mo,isPlatformWorkerApp:()=>_i,isPlatformWorkerUi:()=>xi,provideCloudflareLoader:()=>Co,provideCloudinaryLoader:()=>ns,provideImageKitLoader:()=>cs,provideImgixLoader:()=>hs,provideNetlifyLoader:()=>dt,registerLocaleData:()=>ct,\u0275DomAdapter:()=>u,\u0275NullViewportScroller:()=>yi,\u0275PLATFORM_BROWSER_ID:()=>Jr,\u0275PLATFORM_SERVER_ID:()=>zi,\u0275PLATFORM_WORKER_APP_ID:()=>qi,\u0275PLATFORM_WORKER_UI_ID:()=>ro,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>d,\u0275normalizeQueryParams:()=>b,\u0275parseCookieValue:()=>Tt,\u0275setRootDomAdapter:()=>a});var n=i(54496);let o=null;function d(){return o}function a(J){o??=J}class u{}let e=(()=>{class J{static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>window.navigation,providedIn:"platform"})}return J})();const l=new n.InjectionToken("");let c=(()=>{class J{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(y),providedIn:"platform"})}return J})();const g=new n.InjectionToken("");let y=(()=>{class J extends c{constructor(){super(),this._doc=(0,n.inject)(l),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return d().getBaseHref(this._doc)}onPopState(Se){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("popstate",Se,!1),()=>Ue.removeEventListener("popstate",Se)}onHashChange(Se){const Ue=d().getGlobalEventTarget(this._doc,"window");return Ue.addEventListener("hashchange",Se,!1),()=>Ue.removeEventListener("hashchange",Se)}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(Se){this._location.pathname=Se}pushState(Se,Ue,_t){this._history.pushState(Se,Ue,_t)}replaceState(Se,Ue,_t){this._history.replaceState(Se,Ue,_t)}forward(){this._history.forward()}back(){this._history.back()}historyGo(Se=0){this._history.go(Se)}getState(){return this._history.state}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>new J,providedIn:"platform"})}return J})();function _(J,ze){if(0==J.length)return ze;if(0==ze.length)return J;let Se=0;return J.endsWith("/")&&Se++,ze.startsWith("/")&&Se++,2==Se?J+ze.substring(1):1==Se?J+ze:J+"/"+ze}function C(J){const ze=J.match(/#|\?|$/),Se=ze&&ze.index||J.length;return J.slice(0,Se-("/"===J[Se-1]?1:0))+J.slice(Se)}function b(J){return J&&"?"!==J[0]?"?"+J:J}let p=(()=>{class J{historyGo(Se){throw new Error("")}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>(0,n.inject)(S),providedIn:"root"})}return J})();const f=new n.InjectionToken("");let S=(()=>{class J extends p{constructor(Se,Ue){super(),this._platformLocation=Se,this._removeListenerFns=[],this._baseHref=Ue??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(l).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}prepareExternalUrl(Se){return _(this._baseHref,Se)}path(Se=!1){const Ue=this._platformLocation.pathname+b(this._platformLocation.search),_t=this._platformLocation.hash;return _t&&Se?`${Ue}${_t}`:Ue}pushState(Se,Ue,_t,$t){const tn=this.prepareExternalUrl(_t+b($t));this._platformLocation.pushState(Se,Ue,tn)}replaceState(Se,Ue,_t,$t){const tn=this.prepareExternalUrl(_t+b($t));this._platformLocation.replaceState(Se,Ue,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(c),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})(),v=(()=>{class J extends p{constructor(Se,Ue){super(),this._platformLocation=Se,this._baseHref="",this._removeListenerFns=[],null!=Ue&&(this._baseHref=Ue)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(Se){this._removeListenerFns.push(this._platformLocation.onPopState(Se),this._platformLocation.onHashChange(Se))}getBaseHref(){return this._baseHref}path(Se=!1){const Ue=this._platformLocation.hash??"#";return Ue.length>0?Ue.substring(1):Ue}prepareExternalUrl(Se){const Ue=_(this._baseHref,Se);return Ue.length>0?"#"+Ue:Ue}pushState(Se,Ue,_t,$t){let tn=this.prepareExternalUrl(_t+b($t));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.pushState(Se,Ue,tn)}replaceState(Se,Ue,_t,$t){let tn=this.prepareExternalUrl(_t+b($t));0==tn.length&&(tn=this._platformLocation.pathname),this._platformLocation.replaceState(Se,Ue,tn)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(Se=0){this._platformLocation.historyGo?.(Se)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(c),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})(),M=(()=>{class J{constructor(Se){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=Se;const Ue=this._locationStrategy.getBaseHref();this._basePath=function N(J){if(new RegExp("^(https?:)?//").test(J)){const[,Se]=J.split(/\/\/[^\/]+/);return Se}return J}(C(k(Ue))),this._locationStrategy.onPopState(_t=>{this._subject.emit({url:this.path(!0),pop:!0,state:_t.state,type:_t.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(Se=!1){return this.normalize(this._locationStrategy.path(Se))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(Se,Ue=""){return this.path()==this.normalize(Se+b(Ue))}normalize(Se){return J.stripTrailingSlash(function A(J,ze){if(!J||!ze.startsWith(J))return ze;const Se=ze.substring(J.length);return""===Se||["/",";","?","#"].includes(Se[0])?Se:ze}(this._basePath,k(Se)))}prepareExternalUrl(Se){return Se&&"/"!==Se[0]&&(Se="/"+Se),this._locationStrategy.prepareExternalUrl(Se)}go(Se,Ue="",_t=null){this._locationStrategy.pushState(_t,"",Se,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+b(Ue)),_t)}replaceState(Se,Ue="",_t=null){this._locationStrategy.replaceState(_t,"",Se,Ue),this._notifyUrlChangeListeners(this.prepareExternalUrl(Se+b(Ue)),_t)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(Se=0){this._locationStrategy.historyGo?.(Se)}onUrlChange(Se){return this._urlChangeListeners.push(Se),this._urlChangeSubscription??=this.subscribe(Ue=>{this._notifyUrlChangeListeners(Ue.url,Ue.state)}),()=>{const Ue=this._urlChangeListeners.indexOf(Se);this._urlChangeListeners.splice(Ue,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(Se="",Ue){this._urlChangeListeners.forEach(_t=>_t(Se,Ue))}subscribe(Se,Ue,_t){return this._subject.subscribe({next:Se,error:Ue,complete:_t})}static#e=this.normalizeQueryParams=b;static#t=this.joinWithSlash=_;static#n=this.stripTrailingSlash=C;static#r=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(p))};static#o=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:()=>function E(){return new M((0,n.\u0275\u0275inject)(p))}(),providedIn:"root"})}return J})();function k(J){return J.replace(/\/index.html$/,"")}const F={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var T=function(J){return J[J.Decimal=0]="Decimal",J[J.Percent=1]="Percent",J[J.Currency=2]="Currency",J[J.Scientific=3]="Scientific",J}(T||{}),P=function(J){return J[J.Zero=0]="Zero",J[J.One=1]="One",J[J.Two=2]="Two",J[J.Few=3]="Few",J[J.Many=4]="Many",J[J.Other=5]="Other",J}(P||{}),I=function(J){return J[J.Format=0]="Format",J[J.Standalone=1]="Standalone",J}(I||{}),j=function(J){return J[J.Narrow=0]="Narrow",J[J.Abbreviated=1]="Abbreviated",J[J.Wide=2]="Wide",J[J.Short=3]="Short",J}(j||{}),L=function(J){return J[J.Short=0]="Short",J[J.Medium=1]="Medium",J[J.Long=2]="Long",J[J.Full=3]="Full",J}(L||{}),B=function(J){return J[J.Decimal=0]="Decimal",J[J.Group=1]="Group",J[J.List=2]="List",J[J.PercentSign=3]="PercentSign",J[J.PlusSign=4]="PlusSign",J[J.MinusSign=5]="MinusSign",J[J.Exponential=6]="Exponential",J[J.SuperscriptingExponent=7]="SuperscriptingExponent",J[J.PerMille=8]="PerMille",J[J.Infinity=9]="Infinity",J[J.NaN=10]="NaN",J[J.TimeSeparator=11]="TimeSeparator",J[J.CurrencyDecimal=12]="CurrencyDecimal",J[J.CurrencyGroup=13]="CurrencyGroup",J}(B||{}),$=function(J){return J[J.Sunday=0]="Sunday",J[J.Monday=1]="Monday",J[J.Tuesday=2]="Tuesday",J[J.Wednesday=3]="Wednesday",J[J.Thursday=4]="Thursday",J[J.Friday=5]="Friday",J[J.Saturday=6]="Saturday",J}($||{});function ee(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.LocaleId]}function le(J,ze,Se){const Ue=(0,n.\u0275findLocaleData)(J),$t=je([Ue[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ue[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],ze);return je($t,Se)}function se(J,ze,Se){const Ue=(0,n.\u0275findLocaleData)(J),$t=je([Ue[n.\u0275LocaleDataIndex.DaysFormat],Ue[n.\u0275LocaleDataIndex.DaysStandalone]],ze);return je($t,Se)}function K(J,ze,Se){const Ue=(0,n.\u0275findLocaleData)(J),$t=je([Ue[n.\u0275LocaleDataIndex.MonthsFormat],Ue[n.\u0275LocaleDataIndex.MonthsStandalone]],ze);return je($t,Se)}function Q(J,ze){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Eras],ze)}function re(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function X(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.WeekendRange]}function z(J,ze){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateFormat],ze)}function Y(J,ze){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.TimeFormat],ze)}function q(J,ze){return je((0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.DateTimeFormat],ze)}function de(J,ze){const Se=(0,n.\u0275findLocaleData)(J),Ue=Se[n.\u0275LocaleDataIndex.NumberSymbols][ze];if(typeof Ue>"u"){if(ze===B.CurrencyDecimal)return Se[n.\u0275LocaleDataIndex.NumberSymbols][B.Decimal];if(ze===B.CurrencyGroup)return Se[n.\u0275LocaleDataIndex.NumberSymbols][B.Group]}return Ue}function me(J,ze){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.NumberFormats][ze]}function Oe(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Re(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.CurrencyName]||null}function Ae(J){return(0,n.\u0275getLocaleCurrencyCode)(J)}const Ne=n.\u0275getLocalePluralCase;function it(J){if(!J[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${J[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qe(J){const ze=(0,n.\u0275findLocaleData)(J);return it(ze),(ze[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ue=>"string"==typeof Ue?Ie(Ue):[Ie(Ue[0]),Ie(Ue[1])])}function et(J,ze,Se){const Ue=(0,n.\u0275findLocaleData)(J);it(Ue);const $t=je([Ue[n.\u0275LocaleDataIndex.ExtraData][0],Ue[n.\u0275LocaleDataIndex.ExtraData][1]],ze)||[];return je($t,Se)||[]}function De(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Directionality]}function je(J,ze){for(let Se=ze;Se>-1;Se--)if(typeof J[Se]<"u")return J[Se];throw new Error("Locale data API: locale data undefined")}function Ie(J){const[ze,Se]=J.split(":");return{hours:+ze,minutes:+Se}}function bt(J,ze,Se="en"){const Ue=function ge(J){return(0,n.\u0275findLocaleData)(J)[n.\u0275LocaleDataIndex.Currencies]}(Se)[J]||F[J]||[],_t=Ue[1];return"narrow"===ze&&"string"==typeof _t?_t:Ue[0]||J}const Qe=2;function Ut(J){let ze;const Se=F[J];return Se&&(ze=Se[2]),"number"==typeof ze?ze:Qe}const sn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,un={},Sn=/((?:[^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]*)/;var bn=function(J){return J[J.Short=0]="Short",J[J.ShortGMT=1]="ShortGMT",J[J.Long=2]="Long",J[J.Extended=3]="Extended",J}(bn||{}),kt=function(J){return J[J.FullYear=0]="FullYear",J[J.Month=1]="Month",J[J.Date=2]="Date",J[J.Hours=3]="Hours",J[J.Minutes=4]="Minutes",J[J.Seconds=5]="Seconds",J[J.FractionalSeconds=6]="FractionalSeconds",J[J.Day=7]="Day",J}(kt||{}),jt=function(J){return J[J.DayPeriods=0]="DayPeriods",J[J.Days=1]="Days",J[J.Months=2]="Months",J[J.Eras=3]="Eras",J}(jt||{});function Fe(J,ze,Se,Ue){let _t=function _n(J){if(qt(J))return J;if("number"==typeof J&&!isNaN(J))return new Date(J);if("string"==typeof J){if(J=J.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(J)){const[_t,$t=1,tn=1]=J.split("-").map(Dn=>+Dn);return Ee(_t,$t-1,tn)}const Se=parseFloat(J);if(!isNaN(J-Se))return new Date(Se);let Ue;if(Ue=J.match(sn))return function En(J){const ze=new Date(0);let Se=0,Ue=0;const _t=J[8]?ze.setUTCFullYear:ze.setFullYear,$t=J[8]?ze.setUTCHours:ze.setHours;J[9]&&(Se=Number(J[9]+J[10]),Ue=Number(J[9]+J[11])),_t.call(ze,Number(J[1]),Number(J[2])-1,Number(J[3]));const tn=Number(J[4]||0)-Se,Dn=Number(J[5]||0)-Ue,gr=Number(J[6]||0),yr=Math.floor(1e3*parseFloat("0."+(J[7]||0)));return $t.call(ze,tn,Dn,gr,yr),ze}(Ue)}const ze=new Date(J);if(!qt(ze))throw new Error(`Unable to convert "${J}" into a date`);return ze}(J);ze=ye(Se,ze)||ze;let Dn,tn=[];for(;ze;){if(Dn=Sn.exec(ze),!Dn){tn.push(ze);break}{tn=tn.concat(Dn.slice(1));const $r=tn.pop();if(!$r)break;ze=$r}}let gr=_t.getTimezoneOffset();Ue&&(gr=mt(Ue,gr),_t=function Xt(J,ze,Se){const Ue=Se?-1:1,_t=J.getTimezoneOffset();return function Et(J,ze){return(J=new Date(J.getTime())).setMinutes(J.getMinutes()+ze),J}(J,Ue*(mt(ze,_t)-_t))}(_t,Ue,!0));let yr="";return tn.forEach($r=>{const Cr=function Gt(J){if(Mt[J])return Mt[J];let ze;switch(J){case"G":case"GG":case"GGG":ze=Zt(jt.Eras,j.Abbreviated);break;case"GGGG":ze=Zt(jt.Eras,j.Wide);break;case"GGGGG":ze=Zt(jt.Eras,j.Narrow);break;case"y":ze=vt(kt.FullYear,1,0,!1,!0);break;case"yy":ze=vt(kt.FullYear,2,0,!0,!0);break;case"yyy":ze=vt(kt.FullYear,3,0,!1,!0);break;case"yyyy":ze=vt(kt.FullYear,4,0,!1,!0);break;case"Y":ze=kn(1);break;case"YY":ze=kn(2,!0);break;case"YYY":ze=kn(3);break;case"YYYY":ze=kn(4);break;case"M":case"L":ze=vt(kt.Month,1,1);break;case"MM":case"LL":ze=vt(kt.Month,2,1);break;case"MMM":ze=Zt(jt.Months,j.Abbreviated);break;case"MMMM":ze=Zt(jt.Months,j.Wide);break;case"MMMMM":ze=Zt(jt.Months,j.Narrow);break;case"LLL":ze=Zt(jt.Months,j.Abbreviated,I.Standalone);break;case"LLLL":ze=Zt(jt.Months,j.Wide,I.Standalone);break;case"LLLLL":ze=Zt(jt.Months,j.Narrow,I.Standalone);break;case"w":ze=er(1);break;case"ww":ze=er(2);break;case"W":ze=er(1,!0);break;case"d":ze=vt(kt.Date,1);break;case"dd":ze=vt(kt.Date,2);break;case"c":case"cc":ze=vt(kt.Day,1);break;case"ccc":ze=Zt(jt.Days,j.Abbreviated,I.Standalone);break;case"cccc":ze=Zt(jt.Days,j.Wide,I.Standalone);break;case"ccccc":ze=Zt(jt.Days,j.Narrow,I.Standalone);break;case"cccccc":ze=Zt(jt.Days,j.Short,I.Standalone);break;case"E":case"EE":case"EEE":ze=Zt(jt.Days,j.Abbreviated);break;case"EEEE":ze=Zt(jt.Days,j.Wide);break;case"EEEEE":ze=Zt(jt.Days,j.Narrow);break;case"EEEEEE":ze=Zt(jt.Days,j.Short);break;case"a":case"aa":case"aaa":ze=Zt(jt.DayPeriods,j.Abbreviated);break;case"aaaa":ze=Zt(jt.DayPeriods,j.Wide);break;case"aaaaa":ze=Zt(jt.DayPeriods,j.Narrow);break;case"b":case"bb":case"bbb":ze=Zt(jt.DayPeriods,j.Abbreviated,I.Standalone,!0);break;case"bbbb":ze=Zt(jt.DayPeriods,j.Wide,I.Standalone,!0);break;case"bbbbb":ze=Zt(jt.DayPeriods,j.Narrow,I.Standalone,!0);break;case"B":case"BB":case"BBB":ze=Zt(jt.DayPeriods,j.Abbreviated,I.Format,!0);break;case"BBBB":ze=Zt(jt.DayPeriods,j.Wide,I.Format,!0);break;case"BBBBB":ze=Zt(jt.DayPeriods,j.Narrow,I.Format,!0);break;case"h":ze=vt(kt.Hours,1,-12);break;case"hh":ze=vt(kt.Hours,2,-12);break;case"H":ze=vt(kt.Hours,1);break;case"HH":ze=vt(kt.Hours,2);break;case"m":ze=vt(kt.Minutes,1);break;case"mm":ze=vt(kt.Minutes,2);break;case"s":ze=vt(kt.Seconds,1);break;case"ss":ze=vt(kt.Seconds,2);break;case"S":ze=vt(kt.FractionalSeconds,1);break;case"SS":ze=vt(kt.FractionalSeconds,2);break;case"SSS":ze=vt(kt.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":ze=Dt(bn.Short);break;case"ZZZZZ":ze=Dt(bn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":ze=Dt(bn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":ze=Dt(bn.Long);break;default:return null}return Mt[J]=ze,ze}($r);yr+=Cr?Cr(_t,Se,gr):"''"===$r?"'":$r.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),yr}function Ee(J,ze,Se){const Ue=new Date(0);return Ue.setFullYear(J,ze,Se),Ue.setHours(0,0,0),Ue}function ye(J,ze){const Se=ee(J);if(un[Se]??={},un[Se][ze])return un[Se][ze];let Ue="";switch(ze){case"shortDate":Ue=z(J,L.Short);break;case"mediumDate":Ue=z(J,L.Medium);break;case"longDate":Ue=z(J,L.Long);break;case"fullDate":Ue=z(J,L.Full);break;case"shortTime":Ue=Y(J,L.Short);break;case"mediumTime":Ue=Y(J,L.Medium);break;case"longTime":Ue=Y(J,L.Long);break;case"fullTime":Ue=Y(J,L.Full);break;case"short":const _t=ye(J,"shortTime"),$t=ye(J,"shortDate");Ue=Ce(q(J,L.Short),[_t,$t]);break;case"medium":const tn=ye(J,"mediumTime"),Dn=ye(J,"mediumDate");Ue=Ce(q(J,L.Medium),[tn,Dn]);break;case"long":const gr=ye(J,"longTime"),yr=ye(J,"longDate");Ue=Ce(q(J,L.Long),[gr,yr]);break;case"full":const $r=ye(J,"fullTime"),Cr=ye(J,"fullDate");Ue=Ce(q(J,L.Full),[$r,Cr])}return Ue&&(un[Se][ze]=Ue),Ue}function Ce(J,ze){return ze&&(J=J.replace(/\{([^}]+)}/g,function(Se,Ue){return null!=ze&&Ue in ze?ze[Ue]:Se})),J}function Ge(J,ze,Se="-",Ue,_t){let $t="";(J<0||_t&&J<=0)&&(_t?J=1-J:(J=-J,$t=Se));let tn=String(J);for(;tn.length0||Dn>-Se)&&(Dn+=Se),J===kt.Hours)0===Dn&&-12===Se&&(Dn=12);else if(J===kt.FractionalSeconds)return function Je(J,ze){return Ge(J,3).substring(0,ze)}(Dn,ze);const gr=de(tn,B.MinusSign);return Ge(Dn,ze,gr,Ue,_t)}}function Zt(J,ze,Se=I.Format,Ue=!1){return function(_t,$t){return function Rt(J,ze,Se,Ue,_t,$t){switch(Se){case jt.Months:return K(ze,_t,Ue)[J.getMonth()];case jt.Days:return se(ze,_t,Ue)[J.getDay()];case jt.DayPeriods:const tn=J.getHours(),Dn=J.getMinutes();if($t){const yr=qe(ze),$r=et(ze,_t,Ue),Cr=yr.findIndex(Qr=>{if(Array.isArray(Qr)){const[Hr,Ri]=Qr,eo=tn>=Hr.hours&&Dn>=Hr.minutes,Vo=tn0?Math.floor(_t/60):Math.ceil(_t/60);switch(J){case bn.Short:return(_t>=0?"+":"")+Ge(tn,2,$t)+Ge(Math.abs(_t%60),2,$t);case bn.ShortGMT:return"GMT"+(_t>=0?"+":"")+Ge(tn,1,$t);case bn.Long:return"GMT"+(_t>=0?"+":"")+Ge(tn,2,$t)+":"+Ge(Math.abs(_t%60),2,$t);case bn.Extended:return 0===Ue?"Z":(_t>=0?"+":"")+Ge(tn,2,$t)+":"+Ge(Math.abs(_t%60),2,$t);default:throw new Error(`Unknown zone width "${J}"`)}}}const Ot=0,pn=4;function Yn(J){const ze=J.getDay(),Se=0===ze?-3:pn-ze;return Ee(J.getFullYear(),J.getMonth(),J.getDate()+Se)}function er(J,ze=!1){return function(Se,Ue){let _t;if(ze){const $t=new Date(Se.getFullYear(),Se.getMonth(),1).getDay()-1,tn=Se.getDate();_t=1+Math.floor((tn+$t)/7)}else{const $t=Yn(Se),tn=function Vn(J){const ze=Ee(J,Ot,1).getDay();return Ee(J,0,1+(ze<=pn?pn:pn+7)-ze)}($t.getFullYear()),Dn=$t.getTime()-tn.getTime();_t=1+Math.round(Dn/6048e5)}return Ge(_t,J,de(Ue,B.MinusSign))}}function kn(J,ze=!1){return function(Se,Ue){return Ge(Yn(Se).getFullYear(),J,de(Ue,B.MinusSign),ze)}}const Mt={};function mt(J,ze){J=J.replace(/:/g,"");const Se=Date.parse("Jan 01, 1970 00:00:00 "+J)/6e4;return isNaN(Se)?ze:Se}function qt(J){return J instanceof Date&&!isNaN(J.valueOf())}const nr=/^(\d+)?\.((\d+)(-(\d+))?)?$/,kr=22,Br=".",sr="0",Mr=";",br=",",Jn="#",xn="\xa4",oi="%";function Sr(J,ze,Se,Ue,_t,$t,tn=!1){let Dn="",gr=!1;if(isFinite(J)){let yr=function Qt(J){let Ue,_t,$t,tn,Dn,ze=Math.abs(J)+"",Se=0;for((_t=ze.indexOf(Br))>-1&&(ze=ze.replace(Br,"")),($t=ze.search(/e/i))>0?(_t<0&&(_t=$t),_t+=+ze.slice($t+1),ze=ze.substring(0,$t)):_t<0&&(_t=ze.length),$t=0;ze.charAt($t)===sr;$t++);if($t===(Dn=ze.length))Ue=[0],_t=1;else{for(Dn--;ze.charAt(Dn)===sr;)Dn--;for(_t-=$t,Ue=[],tn=0;$t<=Dn;$t++,tn++)Ue[tn]=Number(ze.charAt($t))}return _t>kr&&(Ue=Ue.splice(0,kr-1),Se=_t-1,_t=1),{digits:Ue,exponent:Se,integerLen:_t}}(J);tn&&(yr=function pi(J){if(0===J.digits[0])return J;const ze=J.digits.length-J.integerLen;return J.exponent?J.exponent+=2:(0===ze?J.digits.push(0,0):1===ze&&J.digits.push(0),J.integerLen+=2),J}(yr));let $r=ze.minInt,Cr=ze.minFrac,Qr=ze.maxFrac;if($t){const fo=$t.match(nr);if(null===fo)throw new Error(`${$t} is not a valid digit info`);const so=fo[1],Yo=fo[3],hi=fo[5];null!=so&&($r=Kn(so)),null!=Yo&&(Cr=Kn(Yo)),null!=hi?Qr=Kn(hi):null!=Yo&&Cr>Qr&&(Qr=Cr)}!function Rn(J,ze,Se){if(ze>Se)throw new Error(`The minimum number of digits after fraction (${ze}) is higher than the maximum (${Se}).`);let Ue=J.digits,_t=Ue.length-J.integerLen;const $t=Math.min(Math.max(ze,_t),Se);let tn=$t+J.integerLen,Dn=Ue[tn];if(tn>0){Ue.splice(Math.max(J.integerLen,tn));for(let Cr=tn;Cr=5)if(tn-1<0){for(let Cr=0;Cr>tn;Cr--)Ue.unshift(0),J.integerLen++;Ue.unshift(1),J.integerLen++}else Ue[tn-1]++;for(;_t=yr?Ri.pop():gr=!1),Qr>=10?1:0},0);$r&&(Ue.unshift($r),J.integerLen++)}(yr,Cr,Qr);let Hr=yr.digits,Ri=yr.integerLen;const eo=yr.exponent;let Vo=[];for(gr=Hr.every(fo=>!fo);Ri<$r;Ri++)Hr.unshift(0);for(;Ri<0;Ri++)Hr.unshift(0);Ri>0?Vo=Hr.splice(Ri,Hr.length):(Vo=Hr,Hr=[0]);const gs=[];for(Hr.length>=ze.lgSize&&gs.unshift(Hr.splice(-ze.lgSize,Hr.length).join(""));Hr.length>ze.gSize;)gs.unshift(Hr.splice(-ze.gSize,Hr.length).join(""));Hr.length&&gs.unshift(Hr.join("")),Dn=gs.join(de(Se,Ue)),Vo.length&&(Dn+=de(Se,_t)+Vo.join("")),eo&&(Dn+=de(Se,B.Exponential)+"+"+eo)}else Dn=de(Se,B.Infinity);return Dn=J<0&&!gr?ze.negPre+Dn+ze.negSuf:ze.posPre+Dn+ze.posSuf,Dn}function pr(J,ze,Se,Ue,_t){const tn=Or(me(ze,T.Currency),de(ze,B.MinusSign));return tn.minFrac=Ut(Ue),tn.maxFrac=tn.minFrac,Sr(J,tn,ze,B.CurrencyGroup,B.CurrencyDecimal,_t).replace(xn,Se).replace(xn,"").trim()}function Xn(J,ze,Se){return Sr(J,Or(me(ze,T.Percent),de(ze,B.MinusSign)),ze,B.Group,B.Decimal,Se,!0).replace(new RegExp(oi,"g"),de(ze,B.PercentSign))}function qn(J,ze,Se){return Sr(J,Or(me(ze,T.Decimal),de(ze,B.MinusSign)),ze,B.Group,B.Decimal,Se)}function Or(J,ze="-"){const Se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ue=J.split(Mr),_t=Ue[0],$t=Ue[1],tn=-1!==_t.indexOf(Br)?_t.split(Br):[_t.substring(0,_t.lastIndexOf(sr)+1),_t.substring(_t.lastIndexOf(sr)+1)],Dn=tn[0],gr=tn[1]||"";Se.posPre=Dn.substring(0,Dn.indexOf(Jn));for(let $r=0;$r{class J{static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:function(Ue){let _t=null;return Ue?_t=new Ue:($t=n.\u0275\u0275inject(n.LOCALE_ID),_t=new Ir($t)),_t;var $t},providedIn:"root"})}return J})();function ui(J,ze,Se,Ue){let _t=`=${J}`;if(ze.indexOf(_t)>-1||(_t=Se.getPluralCategory(J,Ue),ze.indexOf(_t)>-1))return _t;if(ze.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${J}"`)}let Ir=(()=>{class J extends or{constructor(Se){super(),this.locale=Se}getPluralCategory(Se,Ue){switch(Ne(Ue||this.locale)(Se)){case P.Zero:return"zero";case P.One:return"one";case P.Two:return"two";case P.Few:return"few";case P.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac})}return J})();function ct(J,ze,Se){return(0,n.\u0275registerLocaleData)(J,ze,Se)}function Tt(J,ze){ze=encodeURIComponent(ze);for(const Se of J.split(";")){const Ue=Se.indexOf("="),[_t,$t]=-1==Ue?[Se,""]:[Se.slice(0,Ue),Se.slice(Ue+1)];if(_t.trim()===ze)return decodeURIComponent($t)}return null}const St=/\s+/,Jt=[];let an=(()=>{class J{constructor(Se,Ue){this._ngEl=Se,this._renderer=Ue,this.initialClasses=Jt,this.stateMap=new Map}set klass(Se){this.initialClasses=null!=Se?Se.trim().split(St):Jt}set ngClass(Se){this.rawClass="string"==typeof Se?Se.trim().split(St):Se}ngDoCheck(){for(const Ue of this.initialClasses)this._updateState(Ue,!0);const Se=this.rawClass;if(Array.isArray(Se)||Se instanceof Set)for(const Ue of Se)this._updateState(Ue,!0);else if(null!=Se)for(const Ue of Object.keys(Se))this._updateState(Ue,!!Se[Ue]);this._applyStateDiff()}_updateState(Se,Ue){const _t=this.stateMap.get(Se);void 0!==_t?(_t.enabled!==Ue&&(_t.changed=!0,_t.enabled=Ue),_t.touched=!0):this.stateMap.set(Se,{enabled:Ue,changed:!0,touched:!0})}_applyStateDiff(){for(const Se of this.stateMap){const Ue=Se[0],_t=Se[1];_t.changed?(this._toggleClass(Ue,_t.enabled),_t.changed=!1):_t.touched||(_t.enabled&&this._toggleClass(Ue,!1),this.stateMap.delete(Ue)),_t.touched=!1}}_toggleClass(Se,Ue){(Se=Se.trim()).length>0&&Se.split(St).forEach(_t=>{Ue?this._renderer.addClass(this._ngEl.nativeElement,_t):this._renderer.removeClass(this._ngEl.nativeElement,_t)})}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return J})(),Cn=(()=>{class J{constructor(Se){this._viewContainerRef=Se,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(Se){return void 0!==Se.ngComponentOutletNgModule||void 0!==Se.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(Se){return void 0!==Se.ngComponentOutlet||void 0!==Se.ngComponentOutletContent||void 0!==Se.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(Se)}ngOnChanges(Se){if(this._needToReCreateComponentInstance(Se)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const Ue=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(Se)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,yn(Ue)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(yn(Ue)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Ue,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const Se of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(Se,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){this._moduleRef?.destroy()}_applyInputStateDiff(Se){for(const[Ue,_t]of this._inputsUsed)_t?(Se.setInput(Ue,this.ngComponentOutletInputs[Ue]),this._inputsUsed.set(Ue,!1)):(Se.setInput(Ue,void 0),this._inputsUsed.delete(Ue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function yn(J){return J.get(n.NgModuleRef).injector}class Qn{constructor(ze,Se,Ue,_t){this.$implicit=ze,this.ngForOf=Se,this.index=Ue,this.count=_t}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 Un=(()=>{class J{set ngForOf(Se){this._ngForOf=Se,this._ngForOfDirty=!0}set ngForTrackBy(Se){this._trackByFn=Se}get ngForTrackBy(){return this._trackByFn}constructor(Se,Ue,_t){this._viewContainer=Se,this._template=Ue,this._differs=_t,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(Se){Se&&(this._template=Se)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const Se=this._ngForOf;!this._differ&&Se&&(this._differ=this._differs.find(Se).create(this.ngForTrackBy))}if(this._differ){const Se=this._differ.diff(this._ngForOf);Se&&this._applyChanges(Se)}}_applyChanges(Se){const Ue=this._viewContainer;Se.forEachOperation((_t,$t,tn)=>{if(null==_t.previousIndex)Ue.createEmbeddedView(this._template,new Qn(_t.item,this._ngForOf,-1,-1),null===tn?void 0:tn);else if(null==tn)Ue.remove(null===$t?void 0:$t);else if(null!==$t){const Dn=Ue.get($t);Ue.move(Dn,tn),Tr(Dn,_t)}});for(let _t=0,$t=Ue.length;_t<$t;_t++){const Dn=Ue.get(_t).context;Dn.index=_t,Dn.count=$t,Dn.ngForOf=this._ngForOf}Se.forEachIdentityChange(_t=>{Tr(Ue.get(_t.currentIndex),_t)})}static ngTemplateContextGuard(Se,Ue){return!0}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return J})();function Tr(J,ze){J.context.$implicit=ze.item}let Hn=(()=>{class J{constructor(Se,Ue){this._viewContainer=Se,this._context=new ur,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ue}set ngIf(Se){this._context.$implicit=this._context.ngIf=Se,this._updateView()}set ngIfThen(Se){Ei("ngIfThen",Se),this._thenTemplateRef=Se,this._thenViewRef=null,this._updateView()}set ngIfElse(Se){Ei("ngIfElse",Se),this._elseTemplateRef=Se,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 ngTemplateContextGuard(Se,Ue){return!0}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return J})();class ur{constructor(){this.$implicit=null,this.ngIf=null}}function Ei(J,ze){if(ze&&!ze.createEmbeddedView)throw new Error(`${J} must be a TemplateRef, but received '${(0,n.\u0275stringify)(ze)}'.`)}class H{constructor(ze,Se){this._viewContainerRef=ze,this._templateRef=Se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(ze){ze&&!this._created?this.create():!ze&&this._created&&this.destroy()}}let W=(()=>{class J{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(Se){this._ngSwitch=Se,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(Se){this._defaultViews.push(Se)}_matchCase(Se){const Ue=Se===this._ngSwitch;return this._lastCasesMatched||=Ue,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ue}_updateDefaultCases(Se){if(this._defaultViews.length>0&&Se!==this._defaultUsed){this._defaultUsed=Se;for(const Ue of this._defaultViews)Ue.enforceState(Se)}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return J})(),ae=(()=>{class J{constructor(Se,Ue,_t){this.ngSwitch=_t,_t._addCase(),this._view=new H(Se,Ue)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(W,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return J})(),He=(()=>{class J{constructor(Se,Ue,_t){_t._addDefault(new H(Se,Ue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(W,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return J})(),Te=(()=>{class J{constructor(Se){this._localization=Se,this._caseViews={}}set ngPlural(Se){this._updateView(Se)}addCase(Se,Ue){this._caseViews[Se]=Ue}_updateView(Se){this._clearViews();const _t=ui(Se,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[_t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(Se){Se&&(this._activeView=Se,this._activeView.create())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(or))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return J})(),ot=(()=>{class J{constructor(Se,Ue,_t,$t){this.value=Se;const tn=!isNaN(Number(Se));$t.addCase(tn?`=${Se}`:Se,new H(_t,Ue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(Te,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngPluralCase",""]],standalone:!0})}return J})(),ht=(()=>{class J{constructor(Se,Ue,_t){this._ngEl=Se,this._differs=Ue,this._renderer=_t,this._ngStyle=null,this._differ=null}set ngStyle(Se){this._ngStyle=Se,!this._differ&&Se&&(this._differ=this._differs.find(Se).create())}ngDoCheck(){if(this._differ){const Se=this._differ.diff(this._ngStyle);Se&&this._applyChanges(Se)}}_setStyle(Se,Ue){const[_t,$t]=Se.split("."),tn=-1===_t.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ue?this._renderer.setStyle(this._ngEl.nativeElement,_t,$t?`${Ue}${$t}`:Ue,tn):this._renderer.removeStyle(this._ngEl.nativeElement,_t,tn)}_applyChanges(Se){Se.forEachRemovedItem(Ue=>this._setStyle(Ue.key,null)),Se.forEachAddedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue)),Se.forEachChangedItem(Ue=>this._setStyle(Ue.key,Ue.currentValue))}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return J})(),Ct=(()=>{class J{constructor(Se){this._viewContainerRef=Se,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(Se){if(this._shouldRecreateView(Se)){const Ue=this._viewContainerRef;if(this._viewRef&&Ue.remove(Ue.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const _t=this._createContextForwardProxy();this._viewRef=Ue.createEmbeddedView(this.ngTemplateOutlet,_t,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(Se){return!!Se.ngTemplateOutlet||!!Se.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(Se,Ue,_t)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ue,_t),get:(Se,Ue,_t)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ue,_t)}})}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return J})();function Kt(J,ze){return new n.\u0275RuntimeError(2100,!1)}class dn{createSubscription(ze,Se){return(0,n.untracked)(()=>ze.subscribe({next:Se,error:Ue=>{throw Ue}}))}dispose(ze){(0,n.untracked)(()=>ze.unsubscribe())}}class fn{createSubscription(ze,Se){return ze.then(Se,Ue=>{throw Ue})}dispose(ze){}}const mn=new fn,ln=new dn;let Yt=(()=>{class J{constructor(Se){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=Se}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(Se){if(!this._obj){if(Se)try{this.markForCheckOnValueUpdate=!1,this._subscribe(Se)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return Se!==this._obj?(this._dispose(),this.transform(Se)):this._latestValue}_subscribe(Se){this._obj=Se,this._strategy=this._selectStrategy(Se),this._subscription=this._strategy.createSubscription(Se,Ue=>this._updateLatestValue(Se,Ue))}_selectStrategy(Se){if((0,n.\u0275isPromise)(Se))return mn;if((0,n.\u0275isSubscribable)(Se))return ln;throw Kt()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(Se,Ue){Se===this._obj&&(this._latestValue=Ue,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:J,pure:!1,standalone:!0})}return J})(),Ln=(()=>{class J{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Kt();return Se.toLowerCase()}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:J,pure:!0,standalone:!0})}return J})();const lr=/(?:[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\u0EB3\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 cr=(()=>{class J{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Kt();return Se.replace(lr,Ue=>Ue[0].toUpperCase()+Ue.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:J,pure:!0,standalone:!0})}return J})(),Nr=(()=>{class J{transform(Se){if(null==Se)return null;if("string"!=typeof Se)throw Kt();return Se.toUpperCase()}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:J,pure:!0,standalone:!0})}return J})();const ut=new n.InjectionToken(""),lo=new n.InjectionToken("");let vi=(()=>{class J{constructor(Se,Ue,_t){this.locale=Se,this.defaultTimezone=Ue,this.defaultOptions=_t}transform(Se,Ue,_t,$t){if(null==Se||""===Se||Se!=Se)return null;try{return Fe(Se,Ue??this.defaultOptions?.dateFormat??"mediumDate",$t||this.locale,_t??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(tn){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(ut,24),n.\u0275\u0275directiveInject(lo,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:J,pure:!0,standalone:!0})}return J})();const _r=/#/g;let wn=(()=>{class J{constructor(Se){this._localization=Se}transform(Se,Ue,_t){if(null==Se)return"";if("object"!=typeof Ue||null===Ue)throw Kt();return Ue[ui(Se,Object.keys(Ue),this._localization,_t)].replace(_r,Se.toString())}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(or,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:J,pure:!0,standalone:!0})}return J})(),$n=(()=>{class J{transform(Se,Ue){if(null==Se)return"";if("object"!=typeof Ue||"string"!=typeof Se)throw Kt();return Ue.hasOwnProperty(Se)?Ue[Se]:Ue.hasOwnProperty("other")?Ue.other:""}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:J,pure:!0,standalone:!0})}return J})(),si=(()=>{class J{transform(Se){return JSON.stringify(Se,null,2)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:J,pure:!1,standalone:!0})}return J})(),ai=(()=>{class J{constructor(Se){this.differs=Se,this.keyValues=[],this.compareFn=On}transform(Se,Ue=On){if(!Se||!(Se instanceof Map)&&"object"!=typeof Se)return null;this.differ??=this.differs.find(Se).create();const _t=this.differ.diff(Se),$t=Ue!==this.compareFn;return _t&&(this.keyValues=[],_t.forEachItem(tn=>{this.keyValues.push(function Pr(J,ze){return{key:J,value:ze}}(tn.key,tn.currentValue))})),(_t||$t)&&(this.keyValues.sort(Ue),this.compareFn=Ue),this.keyValues}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:J,pure:!1,standalone:!0})}return J})();function On(J,ze){const Se=J.key,Ue=ze.key;if(Se===Ue)return 0;if(void 0===Se)return 1;if(void 0===Ue)return-1;if(null===Se)return 1;if(null===Ue)return-1;if("string"==typeof Se&&"string"==typeof Ue)return Se{class J{constructor(Se){this._locale=Se}transform(Se,Ue,_t){if(!Vi(Se))return null;_t||=this._locale;try{return qn(hr(Se),_t,Ue)}catch($t){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:J,pure:!0,standalone:!0})}return J})(),Zr=(()=>{class J{constructor(Se){this._locale=Se}transform(Se,Ue,_t){if(!Vi(Se))return null;_t||=this._locale;try{return Xn(hr(Se),_t,Ue)}catch($t){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:J,pure:!0,standalone:!0})}return J})(),Xr=(()=>{class J{constructor(Se,Ue="USD"){this._locale=Se,this._defaultCurrencyCode=Ue}transform(Se,Ue=this._defaultCurrencyCode,_t="symbol",$t,tn){if(!Vi(Se))return null;tn||=this._locale,"boolean"==typeof _t&&(_t=_t?"symbol":"code");let Dn=Ue||this._defaultCurrencyCode;"code"!==_t&&(Dn="symbol"===_t||"symbol-narrow"===_t?bt(Dn,"symbol"===_t?"wide":"narrow",tn):_t);try{return pr(hr(Se),tn,Dn,Ue,$t)}catch(gr){throw Kt()}}static#e=this.\u0275fac=function(Ue){return new(Ue||J)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(n.DEFAULT_CURRENCY_CODE,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"currency",type:J,pure:!0,standalone:!0})}return J})();function Vi(J){return!(null==J||""===J||J!=J)}function hr(J){if("string"==typeof J&&!isNaN(Number(J)-parseFloat(J)))return Number(J);if("number"!=typeof J)throw new Error(`${J} is not a number`);return J}let Yi=(()=>{class J{transform(Se,Ue,_t){if(null==Se)return null;if(!this.supports(Se))throw Kt();return Se.slice(Ue,_t)}supports(Se){return"string"==typeof Se||Array.isArray(Se)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:J,pure:!1,standalone:!0})}return J})(),go=(()=>{class J{static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:J});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return J})();const Jr="browser",zi="server",qi="browserWorkerApp",ro="browserWorkerUi";function Rr(J){return J===Jr}function mo(J){return J===zi}function _i(J){return J===qi}function xi(J){return J===ro}const qr=new n.Version("17.2.3");let ar=(()=>{class J{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:J,providedIn:"root",factory:()=>Rr((0,n.inject)(n.PLATFORM_ID))?new yo((0,n.inject)(l),window):new yi})}return J})();class yo{constructor(ze,Se){this.document=ze,this.window=Se,this.offset=()=>[0,0]}setOffset(ze){this.offset=Array.isArray(ze)?()=>ze:ze}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(ze){this.window.scrollTo(ze[0],ze[1])}scrollToAnchor(ze){const Se=function wi(J,ze){const Se=J.getElementById(ze)||J.getElementsByName(ze)[0];if(Se)return Se;if("function"==typeof J.createTreeWalker&&J.body&&"function"==typeof J.body.attachShadow){const Ue=J.createTreeWalker(J.body,NodeFilter.SHOW_ELEMENT);let _t=Ue.currentNode;for(;_t;){const $t=_t.shadowRoot;if($t){const tn=$t.getElementById(ze)||$t.querySelector(`[name="${ze}"]`);if(tn)return tn}_t=Ue.nextNode()}}return null}(this.document,ze);Se&&(this.scrollToElement(Se),Se.focus())}setHistoryScrollRestoration(ze){this.window.history.scrollRestoration=ze}scrollToElement(ze){const Se=ze.getBoundingClientRect(),Ue=Se.left+this.window.pageXOffset,_t=Se.top+this.window.pageYOffset,$t=this.offset();this.window.scrollTo(Ue-$t[0],_t-$t[1])}}class yi{setOffset(ze){}getScrollPosition(){return[0,0]}scrollToPosition(ze){}scrollToAnchor(ze){}setHistoryScrollRestoration(ze){}}class Eo{}function zr(J){return/^https?:\/\//.test(J)}function Ni(J){if("string"!=typeof J||""===J.trim())return!1;try{return new URL(J),!0}catch{return!1}}function Lo(J){return J.startsWith("/")?J.slice(1):J}const Oi=J=>J.src,Zi=new n.InjectionToken("",{providedIn:"root",factory:()=>Oi});function Li(J,ze){return function(Ue){return Ni(Ue)||function Gi(J,ze){throw new n.\u0275RuntimeError(2959,!1)}(),Ue=function Gr(J){return J.endsWith("/")?J.slice(0,-1):J}(Ue),[{provide:Zi,useValue:tn=>(zr(tn.src)&&function $o(J,ze){throw new n.\u0275RuntimeError(2959,!1)}(),J(Ue,{...tn,src:Lo(tn.src)}))}]}}const Co=Li(Ro);function Ro(J,ze){let Se="format=auto";return ze.width&&(Se+=`,width=${ze.width}`),`${J}/cdn-cgi/image/${Se}/${ze.src}`}const ns=Li(rs);function rs(J,ze){let Se="f_auto,q_auto";return ze.width&&(Se+=`,w_${ze.width}`),`${J}/image/upload/${Se}/${ze.src}`}const cs=Li(co);function co(J,ze){const{src:Se,width:Ue}=ze;let _t;return _t=Ue?[J,`tr:w-${Ue}`,Se]:[J,Se],_t.join("/")}const hs=Li(Qo);function Qo(J,ze){const Se=new URL(`${J}/${ze.src}`);return Se.searchParams.set("auto","format"),ze.width&&Se.searchParams.set("w",ze.width.toString()),Se.href}function dt(J){if(J&&!Ni(J))throw new n.\u0275RuntimeError(2959,!1);return J&&(J=new URL(J).origin),[{provide:Zi,useValue:Ue=>function zn(J,ze){const Se=new URL(ze??"https://a/");Se.pathname="/.netlify/images",!zr(J.src)&&!J.src.startsWith("/")&&(J.src="/"+J.src),Se.searchParams.set("url",J.src),J.width&&Se.searchParams.set("w",J.width.toString());for(const[Ue,_t]of Object.entries(J.loaderParams??{}))wt.has(Ue)&&Se.searchParams.set(wt.get(Ue),_t.toString());return"a"===Se.hostname?Se.href.replace(Se.origin,""):Se.href}(Ue,J)}]}const wt=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Zo=new n.InjectionToken(""),xo=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let _o=(()=>{class J{constructor(){this.preloadedImages=(0,n.inject)(xo),this.document=(0,n.inject)(l)}createPreloadLinkTag(Se,Ue,_t,$t){if(this.preloadedImages.has(Ue))return;this.preloadedImages.add(Ue);const tn=Se.createElement("link");Se.setAttribute(tn,"as","image"),Se.setAttribute(tn,"href",Ue),Se.setAttribute(tn,"rel","preload"),Se.setAttribute(tn,"fetchpriority","high"),$t&&Se.setAttribute(tn,"imageSizes",$t),_t&&Se.setAttribute(tn,"imageSrcset",_t),Se.appendChild(this.document.head,tn)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:J,factory:J.\u0275fac,providedIn:"root"})}return J})();const To=/^((\s*\d+w\s*(,|$)){1,})$/,fs=[1,2];let gn=(()=>{class J{constructor(){this.imageLoader=(0,n.inject)(Zi),this.config=function Wn(J){let ze={};return J.breakpoints&&(ze.breakpoints=J.breakpoints.sort((Se,Ue)=>Se-Ue)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,J,ze)}((0,n.inject)(n.\u0275IMAGE_CONFIG)),this.renderer=(0,n.inject)(n.Renderer2),this.imgElement=(0,n.inject)(n.ElementRef).nativeElement,this.injector=(0,n.inject)(n.Injector),this.isServer=mo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(_o),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){(0,n.\u0275performanceMarkFeature)("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||="100vw":(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const Se=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),Se,this.sizes)}ngOnChanges(Se){if(Se.ngSrc&&!Se.ngSrc.isFirstChange()){const Ue=this._renderedSrc;this.updateSrcAndSrcset(!0);const _t=this._renderedSrc;null!==this.lcpObserver&&Ue&&_t&&Ue!==_t&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Ue,_t)})}}callImageLoader(Se){let Ue=Se;return this.loaderParams&&(Ue.loaderParams=this.loaderParams),this.imageLoader(Ue)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){return this._renderedSrc||(this._renderedSrc=this.callImageLoader({src:this.ngSrc})),this._renderedSrc}getRewrittenSrcset(){const Se=To.test(this.ngSrcset);return this.ngSrcset.split(",").filter(_t=>""!==_t).map(_t=>{_t=_t.trim();const $t=Se?parseFloat(_t):parseFloat(_t)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:$t})} ${_t}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:Se}=this.config;let Ue=Se;return"100vw"===this.sizes?.trim()&&(Ue=Se.filter($t=>$t>=640)),Ue.map($t=>`${this.callImageLoader({src:this.ngSrc,width:$t})} ${$t}w`).join(", ")}updateSrcAndSrcset(Se=!1){Se&&(this._renderedSrc=null);const Ue=this.getRewrittenSrc();let _t;return this.setHostAttribute("src",Ue),this.ngSrcset?_t=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(_t=this.getAutomaticSrcset()),_t&&this.setHostAttribute("srcset",_t),_t}getFixedSrcset(){return fs.map(Ue=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Ue})} ${Ue}x`).join(", ")}shouldGenerateAutomaticSrcset(){let Se=!1;return this.sizes||(Se=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Oi&&!Se}generatePlaceholder(Se){const{placeholderResolution:Ue}=this.config;return!0===Se?`url(${this.callImageLoader({src:this.ngSrc,width:Ue,isPlaceholder:!0})})`:"string"==typeof Se&&Se.startsWith("data:")?`url(${Se})`:null}shouldBlurPlaceholder(Se){return!Se||!Se.hasOwnProperty("blur")||!!Se.blur}removePlaceholderOnLoad(Se){const Ue=()=>{const tn=this.injector.get(n.ChangeDetectorRef);_t(),$t(),this.placeholder=!1,tn.markForCheck()},_t=this.renderer.listen(Se,"load",Ue),$t=this.renderer.listen(Se,"error",Ue)}ngOnDestroy(){}setHostAttribute(Se,Ue){this.renderer.setAttribute(this.imgElement,Se,Ue)}static#e=this.\u0275fac=function(Ue){return new(Ue||J)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:J,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Ue,_t){2&Ue&&n.\u0275\u0275styleProp("position",_t.fill?"absolute":null)("width",_t.fill?"100%":null)("height",_t.fill?"100%":null)("inset",_t.fill?"0":null)("background-size",_t.placeholder?"cover":null)("background-position",_t.placeholder?"50% 50%":null)("background-repeat",_t.placeholder?"no-repeat":null)("background-image",_t.placeholder?_t.generatePlaceholder(_t.placeholder):null)("filter",_t.placeholder&&_t.shouldBlurPlaceholder(_t.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",xt],ngSrcset:"ngSrcset",sizes:"sizes",width:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"width","width",n.numberAttribute],height:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"height","height",n.numberAttribute],loading:"loading",priority:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"priority","priority",n.booleanAttribute],loaderParams:"loaderParams",disableOptimizedSrcset:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",n.booleanAttribute],fill:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"fill","fill",n.booleanAttribute],placeholder:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",rn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return J})();function xt(J){return"string"==typeof J?J:(0,n.\u0275unwrapSafeValue)(J)}function rn(J){return"string"==typeof J&&J.startsWith("data:")?J:(0,n.booleanAttribute)(J)}},97048:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{FetchBackend:()=>Oe,HTTP_INTERCEPTORS:()=>et,HttpBackend:()=>p,HttpClient:()=>Y,HttpClientJsonpModule:()=>Jn,HttpClientModule:()=>br,HttpClientXsrfModule:()=>Mr,HttpContext:()=>P,HttpContextToken:()=>T,HttpErrorResponse:()=>re,HttpEventType:()=>le,HttpFeatureKind:()=>Gt,HttpHandler:()=>b,HttpHeaderResponse:()=>K,HttpHeaders:()=>f,HttpParams:()=>F,HttpRequest:()=>ee,HttpResponse:()=>Q,HttpResponseBase:()=>se,HttpStatusCode:()=>X,HttpUrlEncodingCodec:()=>v,HttpXhrBackend:()=>Zt,HttpXsrfTokenExtractor:()=>Yn,JsonpClientBackend:()=>Ce,JsonpInterceptor:()=>Je,provideHttpClient:()=>Et,withFetch:()=>sr,withInterceptors:()=>Xt,withInterceptorsFromDi:()=>En,withJsonpSupport:()=>kr,withNoXsrfProtection:()=>nr,withRequestsMadeViaParent:()=>Br,withXsrfConfiguration:()=>qt,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>je,\u0275HttpInterceptingHandler:()=>sn,\u0275HttpInterceptorHandler:()=>sn,\u0275PRIMARY_HTTP_BACKEND:()=>Ie,\u0275withHttpTransferCache:()=>ui});var n=i(1528),o=i(54496),d=i(82700),a=i(53252),u=i(74496),e=i(26020),l=i(66684),c=i(54704),g=i(68824),y=i(17368),_=i(19212),C=i(91368);class b{}class p{}class f{constructor(Tt){this.normalizedNames=new Map,this.lazyUpdate=null,Tt?"string"==typeof Tt?this.lazyInit=()=>{this.headers=new Map,Tt.split("\n").forEach(St=>{const Jt=St.indexOf(":");if(Jt>0){const an=St.slice(0,Jt),Cn=an.toLowerCase(),yn=St.slice(Jt+1).trim();this.maybeSetNormalizedName(an,Cn),this.headers.has(Cn)?this.headers.get(Cn).push(yn):this.headers.set(Cn,[yn])}})}:typeof Headers<"u"&&Tt instanceof Headers?(this.headers=new Map,Tt.forEach((St,Jt)=>{this.setHeaderEntries(Jt,St)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(Tt).forEach(([St,Jt])=>{this.setHeaderEntries(St,Jt)})}:this.headers=new Map}has(Tt){return this.init(),this.headers.has(Tt.toLowerCase())}get(Tt){this.init();const St=this.headers.get(Tt.toLowerCase());return St&&St.length>0?St[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(Tt){return this.init(),this.headers.get(Tt.toLowerCase())||null}append(Tt,St){return this.clone({name:Tt,value:St,op:"a"})}set(Tt,St){return this.clone({name:Tt,value:St,op:"s"})}delete(Tt,St){return this.clone({name:Tt,value:St,op:"d"})}maybeSetNormalizedName(Tt,St){this.normalizedNames.has(St)||this.normalizedNames.set(St,Tt)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(Tt=>this.applyUpdate(Tt)),this.lazyUpdate=null))}copyFrom(Tt){Tt.init(),Array.from(Tt.headers.keys()).forEach(St=>{this.headers.set(St,Tt.headers.get(St)),this.normalizedNames.set(St,Tt.normalizedNames.get(St))})}clone(Tt){const St=new f;return St.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,St.lazyUpdate=(this.lazyUpdate||[]).concat([Tt]),St}applyUpdate(Tt){const St=Tt.name.toLowerCase();switch(Tt.op){case"a":case"s":let Jt=Tt.value;if("string"==typeof Jt&&(Jt=[Jt]),0===Jt.length)return;this.maybeSetNormalizedName(Tt.name,St);const an=("a"===Tt.op?this.headers.get(St):void 0)||[];an.push(...Jt),this.headers.set(St,an);break;case"d":const Cn=Tt.value;if(Cn){let yn=this.headers.get(St);if(!yn)return;yn=yn.filter(Qn=>-1===Cn.indexOf(Qn)),0===yn.length?(this.headers.delete(St),this.normalizedNames.delete(St)):this.headers.set(St,yn)}else this.headers.delete(St),this.normalizedNames.delete(St)}}setHeaderEntries(Tt,St){const Jt=(Array.isArray(St)?St:[St]).map(Cn=>Cn.toString()),an=Tt.toLowerCase();this.headers.set(an,Jt),this.maybeSetNormalizedName(Tt,an)}forEach(Tt){this.init(),Array.from(this.normalizedNames.keys()).forEach(St=>Tt(this.normalizedNames.get(St),this.headers.get(St)))}}class v{encodeKey(Tt){return k(Tt)}encodeValue(Tt){return k(Tt)}decodeKey(Tt){return decodeURIComponent(Tt)}decodeValue(Tt){return decodeURIComponent(Tt)}}const E=/%(\d[a-f0-9])/gi,A={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function k(ct){return encodeURIComponent(ct).replace(E,(Tt,St)=>A[St]??Tt)}function N(ct){return`${ct}`}class F{constructor(Tt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=Tt.encoder||new v,Tt.fromString){if(Tt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function M(ct,Tt){const St=new Map;return ct.length>0&&ct.replace(/^\?/,"").split("&").forEach(an=>{const Cn=an.indexOf("="),[yn,Qn]=-1==Cn?[Tt.decodeKey(an),""]:[Tt.decodeKey(an.slice(0,Cn)),Tt.decodeValue(an.slice(Cn+1))],Un=St.get(yn)||[];Un.push(Qn),St.set(yn,Un)}),St}(Tt.fromString,this.encoder)}else Tt.fromObject?(this.map=new Map,Object.keys(Tt.fromObject).forEach(St=>{const Jt=Tt.fromObject[St],an=Array.isArray(Jt)?Jt.map(N):[N(Jt)];this.map.set(St,an)})):this.map=null}has(Tt){return this.init(),this.map.has(Tt)}get(Tt){this.init();const St=this.map.get(Tt);return St?St[0]:null}getAll(Tt){return this.init(),this.map.get(Tt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(Tt,St){return this.clone({param:Tt,value:St,op:"a"})}appendAll(Tt){const St=[];return Object.keys(Tt).forEach(Jt=>{const an=Tt[Jt];Array.isArray(an)?an.forEach(Cn=>{St.push({param:Jt,value:Cn,op:"a"})}):St.push({param:Jt,value:an,op:"a"})}),this.clone(St)}set(Tt,St){return this.clone({param:Tt,value:St,op:"s"})}delete(Tt,St){return this.clone({param:Tt,value:St,op:"d"})}toString(){return this.init(),this.keys().map(Tt=>{const St=this.encoder.encodeKey(Tt);return this.map.get(Tt).map(Jt=>St+"="+this.encoder.encodeValue(Jt)).join("&")}).filter(Tt=>""!==Tt).join("&")}clone(Tt){const St=new F({encoder:this.encoder});return St.cloneFrom=this.cloneFrom||this,St.updates=(this.updates||[]).concat(Tt),St}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(Tt=>this.map.set(Tt,this.cloneFrom.map.get(Tt))),this.updates.forEach(Tt=>{switch(Tt.op){case"a":case"s":const St=("a"===Tt.op?this.map.get(Tt.param):void 0)||[];St.push(N(Tt.value)),this.map.set(Tt.param,St);break;case"d":if(void 0===Tt.value){this.map.delete(Tt.param);break}{let Jt=this.map.get(Tt.param)||[];const an=Jt.indexOf(N(Tt.value));-1!==an&&Jt.splice(an,1),Jt.length>0?this.map.set(Tt.param,Jt):this.map.delete(Tt.param)}}}),this.cloneFrom=this.updates=null)}}class T{constructor(Tt){this.defaultValue=Tt}}class P{constructor(){this.map=new Map}set(Tt,St){return this.map.set(Tt,St),this}get(Tt){return this.map.has(Tt)||this.map.set(Tt,Tt.defaultValue()),this.map.get(Tt)}delete(Tt){return this.map.delete(Tt),this}has(Tt){return this.map.has(Tt)}keys(){return this.map.keys()}}function j(ct){return typeof ArrayBuffer<"u"&&ct instanceof ArrayBuffer}function L(ct){return typeof Blob<"u"&&ct instanceof Blob}function B(ct){return typeof FormData<"u"&&ct instanceof FormData}class ee{constructor(Tt,St,Jt,an){let Cn;if(this.url=St,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=Tt.toUpperCase(),function I(ct){switch(ct){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||an?(this.body=void 0!==Jt?Jt:null,Cn=an):Cn=Jt,Cn&&(this.reportProgress=!!Cn.reportProgress,this.withCredentials=!!Cn.withCredentials,Cn.responseType&&(this.responseType=Cn.responseType),Cn.headers&&(this.headers=Cn.headers),Cn.context&&(this.context=Cn.context),Cn.params&&(this.params=Cn.params),this.transferCache=Cn.transferCache),this.headers??=new f,this.context??=new P,this.params){const yn=this.params.toString();if(0===yn.length)this.urlWithParams=St;else{const Qn=St.indexOf("?");this.urlWithParams=St+(-1===Qn?"?":QnHn.set(ur,Tt.setHeaders[ur]),Un)),Tt.setParams&&(Tr=Object.keys(Tt.setParams).reduce((Hn,ur)=>Hn.set(ur,Tt.setParams[ur]),Tr)),new ee(St,Jt,Cn,{params:Tr,headers:Un,context:Er,reportProgress:Qn,responseType:an,withCredentials:yn})}}var le=function(ct){return ct[ct.Sent=0]="Sent",ct[ct.UploadProgress=1]="UploadProgress",ct[ct.ResponseHeader=2]="ResponseHeader",ct[ct.DownloadProgress=3]="DownloadProgress",ct[ct.Response=4]="Response",ct[ct.User=5]="User",ct}(le||{});class se{constructor(Tt,St=X.Ok,Jt="OK"){this.headers=Tt.headers||new f,this.status=void 0!==Tt.status?Tt.status:St,this.statusText=Tt.statusText||Jt,this.url=Tt.url||null,this.ok=this.status>=200&&this.status<300}}class K extends se{constructor(Tt={}){super(Tt),this.type=le.ResponseHeader}clone(Tt={}){return new K({headers:Tt.headers||this.headers,status:void 0!==Tt.status?Tt.status:this.status,statusText:Tt.statusText||this.statusText,url:Tt.url||this.url||void 0})}}class Q extends se{constructor(Tt={}){super(Tt),this.type=le.Response,this.body=void 0!==Tt.body?Tt.body:null}clone(Tt={}){return new Q({body:void 0!==Tt.body?Tt.body:this.body,headers:Tt.headers||this.headers,status:void 0!==Tt.status?Tt.status:this.status,statusText:Tt.statusText||this.statusText,url:Tt.url||this.url||void 0})}}class re extends se{constructor(Tt){super(Tt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${Tt.url||"(unknown url)"}`:`Http failure response for ${Tt.url||"(unknown url)"}: ${Tt.status} ${Tt.statusText}`,this.error=Tt.error||null}}var X=function(ct){return ct[ct.Continue=100]="Continue",ct[ct.SwitchingProtocols=101]="SwitchingProtocols",ct[ct.Processing=102]="Processing",ct[ct.EarlyHints=103]="EarlyHints",ct[ct.Ok=200]="Ok",ct[ct.Created=201]="Created",ct[ct.Accepted=202]="Accepted",ct[ct.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",ct[ct.NoContent=204]="NoContent",ct[ct.ResetContent=205]="ResetContent",ct[ct.PartialContent=206]="PartialContent",ct[ct.MultiStatus=207]="MultiStatus",ct[ct.AlreadyReported=208]="AlreadyReported",ct[ct.ImUsed=226]="ImUsed",ct[ct.MultipleChoices=300]="MultipleChoices",ct[ct.MovedPermanently=301]="MovedPermanently",ct[ct.Found=302]="Found",ct[ct.SeeOther=303]="SeeOther",ct[ct.NotModified=304]="NotModified",ct[ct.UseProxy=305]="UseProxy",ct[ct.Unused=306]="Unused",ct[ct.TemporaryRedirect=307]="TemporaryRedirect",ct[ct.PermanentRedirect=308]="PermanentRedirect",ct[ct.BadRequest=400]="BadRequest",ct[ct.Unauthorized=401]="Unauthorized",ct[ct.PaymentRequired=402]="PaymentRequired",ct[ct.Forbidden=403]="Forbidden",ct[ct.NotFound=404]="NotFound",ct[ct.MethodNotAllowed=405]="MethodNotAllowed",ct[ct.NotAcceptable=406]="NotAcceptable",ct[ct.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",ct[ct.RequestTimeout=408]="RequestTimeout",ct[ct.Conflict=409]="Conflict",ct[ct.Gone=410]="Gone",ct[ct.LengthRequired=411]="LengthRequired",ct[ct.PreconditionFailed=412]="PreconditionFailed",ct[ct.PayloadTooLarge=413]="PayloadTooLarge",ct[ct.UriTooLong=414]="UriTooLong",ct[ct.UnsupportedMediaType=415]="UnsupportedMediaType",ct[ct.RangeNotSatisfiable=416]="RangeNotSatisfiable",ct[ct.ExpectationFailed=417]="ExpectationFailed",ct[ct.ImATeapot=418]="ImATeapot",ct[ct.MisdirectedRequest=421]="MisdirectedRequest",ct[ct.UnprocessableEntity=422]="UnprocessableEntity",ct[ct.Locked=423]="Locked",ct[ct.FailedDependency=424]="FailedDependency",ct[ct.TooEarly=425]="TooEarly",ct[ct.UpgradeRequired=426]="UpgradeRequired",ct[ct.PreconditionRequired=428]="PreconditionRequired",ct[ct.TooManyRequests=429]="TooManyRequests",ct[ct.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",ct[ct.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",ct[ct.InternalServerError=500]="InternalServerError",ct[ct.NotImplemented=501]="NotImplemented",ct[ct.BadGateway=502]="BadGateway",ct[ct.ServiceUnavailable=503]="ServiceUnavailable",ct[ct.GatewayTimeout=504]="GatewayTimeout",ct[ct.HttpVersionNotSupported=505]="HttpVersionNotSupported",ct[ct.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",ct[ct.InsufficientStorage=507]="InsufficientStorage",ct[ct.LoopDetected=508]="LoopDetected",ct[ct.NotExtended=510]="NotExtended",ct[ct.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",ct}(X||{});function z(ct,Tt){return{body:Tt,headers:ct.headers,context:ct.context,observe:ct.observe,params:ct.params,reportProgress:ct.reportProgress,responseType:ct.responseType,withCredentials:ct.withCredentials,transferCache:ct.transferCache}}let Y=(()=>{class ct{constructor(St){this.handler=St}request(St,Jt,an={}){let Cn;if(St instanceof ee)Cn=St;else{let Un,Tr;Un=an.headers instanceof f?an.headers:new f(an.headers),an.params&&(Tr=an.params instanceof F?an.params:new F({fromObject:an.params})),Cn=new ee(St,Jt,void 0!==an.body?an.body:null,{headers:Un,context:an.context,params:Tr,reportProgress:an.reportProgress,responseType:an.responseType||"json",withCredentials:an.withCredentials,transferCache:an.transferCache})}const yn=(0,d.of)(Cn).pipe((0,e.m)(Un=>this.handler.handle(Un)));if(St instanceof ee||"events"===an.observe)return yn;const Qn=yn.pipe((0,l.I)(Un=>Un instanceof Q));switch(an.observe||"body"){case"body":switch(Cn.responseType){case"arraybuffer":return Qn.pipe((0,c.k)(Un=>{if(null!==Un.body&&!(Un.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Un.body}));case"blob":return Qn.pipe((0,c.k)(Un=>{if(null!==Un.body&&!(Un.body instanceof Blob))throw new Error("Response is not a Blob.");return Un.body}));case"text":return Qn.pipe((0,c.k)(Un=>{if(null!==Un.body&&"string"!=typeof Un.body)throw new Error("Response is not a string.");return Un.body}));default:return Qn.pipe((0,c.k)(Un=>Un.body))}case"response":return Qn;default:throw new Error(`Unreachable: unhandled observe type ${an.observe}}`)}}delete(St,Jt={}){return this.request("DELETE",St,Jt)}get(St,Jt={}){return this.request("GET",St,Jt)}head(St,Jt={}){return this.request("HEAD",St,Jt)}jsonp(St,Jt){return this.request("JSONP",St,{params:(new F).append(Jt,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(St,Jt={}){return this.request("OPTIONS",St,Jt)}patch(St,Jt,an={}){return this.request("PATCH",St,z(an,Jt))}post(St,Jt,an={}){return this.request("POST",St,z(an,Jt))}put(St,Jt,an={}){return this.request("PUT",St,z(an,Jt))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(b))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const q=/^\)\]\}',?\n/;function me(ct){if(ct.url)return ct.url;const Tt="X-Request-URL".toLocaleLowerCase();return ct.headers.get(Tt)}let Oe=(()=>{class ct{constructor(){this.fetchImpl=(0,o.inject)(Re,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,o.inject)(o.NgZone)}handle(St){return new a._(Jt=>{const an=new AbortController;return this.doRequest(St,an.signal,Jt).then(Ae,Cn=>Jt.error(new re({error:Cn}))),()=>an.abort()})}doRequest(St,Jt,an){var Cn=this;return(0,n.c)(function*(){const yn=Cn.createRequestInit(St);let Qn;try{const on=Cn.fetchImpl(St.urlWithParams,{signal:Jt,...yn});(function ge(ct){ct.then(Ae,Ae)})(on),an.next({type:le.Sent}),Qn=yield on}catch(on){return void an.error(new re({error:on,status:on.status??0,statusText:on.statusText,url:St.urlWithParams,headers:on.headers}))}const Un=new f(Qn.headers),Tr=Qn.statusText,Er=me(Qn)??St.urlWithParams;let Hn=Qn.status,ur=null;if(St.reportProgress&&an.next(new K({headers:Un,status:Hn,statusText:Tr,url:Er})),Qn.body){const on=Qn.headers.get("content-length"),H=[],W=Qn.body.getReader();let He,Pe,ae=0;const fe=typeof Zone<"u"&&Zone.current;yield Cn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:ot,value:ht}=yield W.read();if(ot)break;if(H.push(ht),ae+=ht.length,St.reportProgress){Pe="text"===St.responseType?(Pe??"")+(He??=new TextDecoder).decode(ht,{stream:!0}):void 0;const Ct=()=>an.next({type:le.DownloadProgress,total:on?+on:void 0,loaded:ae,partialText:Pe});fe?fe.run(Ct):Ct()}}}));const Te=Cn.concatChunks(H,ae);try{const ot=Qn.headers.get("Content-Type")??"";ur=Cn.parseBody(St,Te,ot)}catch(ot){return void an.error(new re({error:ot,headers:new f(Qn.headers),status:Qn.status,statusText:Qn.statusText,url:me(Qn)??St.urlWithParams}))}}0===Hn&&(Hn=ur?X.Ok:0),Hn>=200&&Hn<300?(an.next(new Q({body:ur,headers:Un,status:Hn,statusText:Tr,url:Er})),an.complete()):an.error(new re({error:ur,headers:Un,status:Hn,statusText:Tr,url:Er}))})()}parseBody(St,Jt,an){switch(St.responseType){case"json":const Cn=(new TextDecoder).decode(Jt).replace(q,"");return""===Cn?null:JSON.parse(Cn);case"text":return(new TextDecoder).decode(Jt);case"blob":return new Blob([Jt],{type:an});case"arraybuffer":return Jt.buffer}}createRequestInit(St){const Jt={},an=St.withCredentials?"include":void 0;if(St.headers.forEach((Cn,yn)=>Jt[Cn]=yn.join(",")),Jt.Accept??="application/json, text/plain, */*",!Jt["Content-Type"]){const Cn=St.detectContentTypeHeader();null!==Cn&&(Jt["Content-Type"]=Cn)}return{body:St.serializeBody(),method:St.method,headers:Jt,credentials:an}}concatChunks(St,Jt){const an=new Uint8Array(Jt);let Cn=0;for(const yn of St)an.set(yn,Cn),Cn+=yn.length;return an}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();class Re{}function Ae(){}function Ne(ct,Tt){return Tt(ct)}function it(ct,Tt){return(St,Jt)=>Tt.intercept(St,{handle:an=>ct(an,Jt)})}const et=new o.InjectionToken(""),De=new o.InjectionToken(""),je=new o.InjectionToken(""),Ie=new o.InjectionToken("");function bt(){let ct=null;return(Tt,St)=>{null===ct&&(ct=((0,o.inject)(et,{optional:!0})??[]).reduceRight(it,Ne));const Jt=(0,o.inject)(o.\u0275PendingTasks),an=Jt.add();return ct(Tt,St).pipe((0,g.U)(()=>Jt.remove(an)))}}let Sn,sn=(()=>{class ct extends b{constructor(St,Jt){super(),this.backend=St,this.injector=Jt,this.chain=null,this.pendingTasks=(0,o.inject)(o.\u0275PendingTasks);const an=(0,o.inject)(Ie,{optional:!0});this.backend=an??St}handle(St){if(null===this.chain){const an=Array.from(new Set([...this.injector.get(De),...this.injector.get(je,[])]));this.chain=an.reduceRight((Cn,yn)=>function qe(ct,Tt,St){return(Jt,an)=>(0,o.runInInjectionContext)(St,()=>Tt(Jt,Cn=>ct(Cn,an)))}(Cn,yn,this.injector),Ne)}const Jt=this.pendingTasks.add();return this.chain(St,an=>this.backend.handle(an)).pipe((0,g.U)(()=>this.pendingTasks.remove(Jt)))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(p),o.\u0275\u0275inject(o.EnvironmentInjector))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})(),un=0;class Ee{}function ye(){return"object"==typeof window?window:{}}let Ce=(()=>{class ct{constructor(St,Jt){this.callbackMap=St,this.document=Jt,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+un++}handle(St){if("JSONP"!==St.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==St.responseType)throw new Error("JSONP requests must use Json response type.");if(St.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new a._(Jt=>{const an=this.nextCallback(),Cn=St.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${an}$1`),yn=this.document.createElement("script");yn.src=Cn;let Qn=null,Un=!1;this.callbackMap[an]=ur=>{delete this.callbackMap[an],Qn=ur,Un=!0};const Tr=()=>{yn.parentNode&&yn.parentNode.removeChild(yn),delete this.callbackMap[an]};return yn.addEventListener("load",ur=>{this.resolvedPromise.then(()=>{Tr(),Un?(Jt.next(new Q({body:Qn,status:X.Ok,statusText:"OK",url:Cn})),Jt.complete()):Jt.error(new re({url:Cn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),yn.addEventListener("error",ur=>{Tr(),Jt.error(new re({error:ur,status:0,statusText:"JSONP Error",url:Cn}))}),this.document.body.appendChild(yn),Jt.next({type:le.Sent}),()=>{Un||this.removeListeners(yn),Tr()}})}removeListeners(St){Sn??=this.document.implementation.createHTMLDocument(),Sn.adoptNode(St)}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(Ee),o.\u0275\u0275inject(C.DOCUMENT))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function Ge(ct,Tt){return"JSONP"===ct.method?(0,o.inject)(Ce).handle(ct):Tt(ct)}let Je=(()=>{class ct{constructor(St){this.injector=St}intercept(St,Jt){return(0,o.runInInjectionContext)(this.injector,()=>Ge(St,an=>Jt.handle(an)))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(o.EnvironmentInjector))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const vt=/^\)\]\}',?\n/;let Zt=(()=>{class ct{constructor(St){this.xhrFactory=St}handle(St){if("JSONP"===St.method)throw new o.\u0275RuntimeError(-2800,!1);const Jt=this.xhrFactory;return(Jt.\u0275loadImpl?(0,u.Q)(Jt.\u0275loadImpl()):(0,d.of)(null)).pipe((0,y.G)(()=>new a._(Cn=>{const yn=Jt.build();if(yn.open(St.method,St.urlWithParams),St.withCredentials&&(yn.withCredentials=!0),St.headers.forEach((H,W)=>yn.setRequestHeader(H,W.join(","))),St.headers.has("Accept")||yn.setRequestHeader("Accept","application/json, text/plain, */*"),!St.headers.has("Content-Type")){const H=St.detectContentTypeHeader();null!==H&&yn.setRequestHeader("Content-Type",H)}if(St.responseType){const H=St.responseType.toLowerCase();yn.responseType="json"!==H?H:"text"}const Qn=St.serializeBody();let Un=null;const Tr=()=>{if(null!==Un)return Un;const H=yn.statusText||"OK",W=new f(yn.getAllResponseHeaders()),ae=function Bt(ct){return"responseURL"in ct&&ct.responseURL?ct.responseURL:/^X-Request-URL:/m.test(ct.getAllResponseHeaders())?ct.getResponseHeader("X-Request-URL"):null}(yn)||St.url;return Un=new K({headers:W,status:yn.status,statusText:H,url:ae}),Un},Er=()=>{let{headers:H,status:W,statusText:ae,url:He}=Tr(),Pe=null;W!==X.NoContent&&(Pe=typeof yn.response>"u"?yn.responseText:yn.response),0===W&&(W=Pe?X.Ok:0);let fe=W>=200&&W<300;if("json"===St.responseType&&"string"==typeof Pe){const Te=Pe;Pe=Pe.replace(vt,"");try{Pe=""!==Pe?JSON.parse(Pe):null}catch(ot){Pe=Te,fe&&(fe=!1,Pe={error:ot,text:Pe})}}fe?(Cn.next(new Q({body:Pe,headers:H,status:W,statusText:ae,url:He||void 0})),Cn.complete()):Cn.error(new re({error:Pe,headers:H,status:W,statusText:ae,url:He||void 0}))},Hn=H=>{const{url:W}=Tr(),ae=new re({error:H,status:yn.status||0,statusText:yn.statusText||"Unknown Error",url:W||void 0});Cn.error(ae)};let ur=!1;const Ei=H=>{ur||(Cn.next(Tr()),ur=!0);let W={type:le.DownloadProgress,loaded:H.loaded};H.lengthComputable&&(W.total=H.total),"text"===St.responseType&&yn.responseText&&(W.partialText=yn.responseText),Cn.next(W)},on=H=>{let W={type:le.UploadProgress,loaded:H.loaded};H.lengthComputable&&(W.total=H.total),Cn.next(W)};return yn.addEventListener("load",Er),yn.addEventListener("error",Hn),yn.addEventListener("timeout",Hn),yn.addEventListener("abort",Hn),St.reportProgress&&(yn.addEventListener("progress",Ei),null!==Qn&&yn.upload&&yn.upload.addEventListener("progress",on)),yn.send(Qn),Cn.next({type:le.Sent}),()=>{yn.removeEventListener("error",Hn),yn.removeEventListener("abort",Hn),yn.removeEventListener("load",Er),yn.removeEventListener("timeout",Hn),St.reportProgress&&(yn.removeEventListener("progress",Ei),null!==Qn&&yn.upload&&yn.upload.removeEventListener("progress",on)),yn.readyState!==yn.DONE&&yn.abort()}})))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(C.XhrFactory))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();const Rt=new o.InjectionToken(""),Dt="XSRF-TOKEN",Ot=new o.InjectionToken("",{providedIn:"root",factory:()=>Dt}),pn="X-XSRF-TOKEN",Vn=new o.InjectionToken("",{providedIn:"root",factory:()=>pn});class Yn{}let er=(()=>{class ct{constructor(St,Jt,an){this.doc=St,this.platform=Jt,this.cookieName=an,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const St=this.doc.cookie||"";return St!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,C.\u0275parseCookieValue)(St,this.cookieName),this.lastCookieString=St),this.lastToken}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(C.DOCUMENT),o.\u0275\u0275inject(o.PLATFORM_ID),o.\u0275\u0275inject(Ot))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();function kn(ct,Tt){const St=ct.url.toLowerCase();if(!(0,o.inject)(Rt)||"GET"===ct.method||"HEAD"===ct.method||St.startsWith("http://")||St.startsWith("https://"))return Tt(ct);const Jt=(0,o.inject)(Yn).getToken(),an=(0,o.inject)(Vn);return null!=Jt&&!ct.headers.has(an)&&(ct=ct.clone({headers:ct.headers.set(an,Jt)})),Tt(ct)}let Mt=(()=>{class ct{constructor(St){this.injector=St}intercept(St,Jt){return(0,o.runInInjectionContext)(this.injector,()=>kn(St,an=>Jt.handle(an)))}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)(o.\u0275\u0275inject(o.EnvironmentInjector))};static#t=this.\u0275prov=o.\u0275\u0275defineInjectable({token:ct,factory:ct.\u0275fac})}return ct})();var Gt=function(ct){return ct[ct.Interceptors=0]="Interceptors",ct[ct.LegacyInterceptors=1]="LegacyInterceptors",ct[ct.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",ct[ct.NoXsrfProtection=3]="NoXsrfProtection",ct[ct.JsonpSupport=4]="JsonpSupport",ct[ct.RequestsMadeViaParent=5]="RequestsMadeViaParent",ct[ct.Fetch=6]="Fetch",ct}(Gt||{});function mt(ct,Tt){return{\u0275kind:ct,\u0275providers:Tt}}function Et(...ct){const Tt=[Y,Zt,sn,{provide:b,useExisting:sn},{provide:p,useExisting:Zt},{provide:De,useValue:kn,multi:!0},{provide:Rt,useValue:!0},{provide:Yn,useClass:er}];for(const St of ct)Tt.push(...St.\u0275providers);return(0,o.makeEnvironmentProviders)(Tt)}function Xt(ct){return mt(Gt.Interceptors,ct.map(Tt=>({provide:De,useValue:Tt,multi:!0})))}const _n=new o.InjectionToken("");function En(){return mt(Gt.LegacyInterceptors,[{provide:_n,useFactory:bt},{provide:De,useExisting:_n,multi:!0}])}function qt({cookieName:ct,headerName:Tt}){const St=[];return void 0!==ct&&St.push({provide:Ot,useValue:ct}),void 0!==Tt&&St.push({provide:Vn,useValue:Tt}),mt(Gt.CustomXsrfConfiguration,St)}function nr(){return mt(Gt.NoXsrfProtection,[{provide:Rt,useValue:!1}])}function kr(){return mt(Gt.JsonpSupport,[Ce,{provide:Ee,useFactory:ye},{provide:De,useValue:Ge,multi:!0}])}function Br(){return mt(Gt.RequestsMadeViaParent,[{provide:p,useFactory:()=>(0,o.inject)(b,{skipSelf:!0,optional:!0})}])}function sr(){return mt(Gt.Fetch,[Oe,{provide:p,useExisting:Oe},{provide:Ie,useExisting:Oe}])}let Mr=(()=>{class ct{static disable(){return{ngModule:ct,providers:[nr().\u0275providers]}}static withOptions(St={}){return{ngModule:ct,providers:qt(St).\u0275providers}}static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275mod=o.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=o.\u0275\u0275defineInjector({providers:[Mt,{provide:et,useExisting:Mt,multi:!0},{provide:Yn,useClass:er},qt({cookieName:Dt,headerName:pn}).\u0275providers,{provide:Rt,useValue:!0}]})}return ct})(),br=(()=>{class ct{static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275mod=o.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=o.\u0275\u0275defineInjector({providers:[Et(En())]})}return ct})(),Jn=(()=>{class ct{static#e=this.\u0275fac=function(Jt){return new(Jt||ct)};static#t=this.\u0275mod=o.\u0275\u0275defineNgModule({type:ct});static#n=this.\u0275inj=o.\u0275\u0275defineInjector({providers:[kr().\u0275providers]})}return ct})();const xn="b",oi="h",Sr="s",pr="st",Xn="u",qn="rt",Or=new o.InjectionToken(""),pi=["GET","HEAD"];function Qt(ct,Tt){const{isCacheActive:St,...Jt}=(0,o.inject)(Or),{transferCache:an,method:Cn}=ct;if(!St||"POST"===Cn&&!Jt.includePostRequests&&!an||"POST"!==Cn&&!pi.includes(Cn)||!1===an||!1===Jt.filter?.(ct))return Tt(ct);const yn=(0,o.inject)(o.TransferState),Qn=function Kn(ct){const{params:Tt,method:St,responseType:Jt,url:an,body:Cn}=ct,Tr=function or(ct){let Tt=0;for(const St of ct)Tt=Math.imul(31,Tt)+St.charCodeAt(0)<<0;return Tt+=2147483648,Tt.toString()}([St,Jt,an,"string"==typeof Cn?Cn:"",Tt.keys().sort().map(Er=>`${Er}=${Tt.getAll(Er)}`).join("&")].join("|"));return(0,o.makeStateKey)(Tr)}(ct),Un=yn.get(Qn,null);let Tr=Jt.includeHeaders;if("object"==typeof an&&an.includeHeaders&&(Tr=an.includeHeaders),Un){const{[xn]:Er,[qn]:Hn,[oi]:ur,[Sr]:Ei,[pr]:on,[Xn]:H}=Un;let W=Er;switch(Hn){case"arraybuffer":W=(new TextEncoder).encode(Er).buffer;break;case"blob":W=new Blob([Er])}let ae=new f(ur);return(0,d.of)(new Q({body:W,headers:ae,status:Ei,statusText:on,url:H}))}return Tt(ct).pipe((0,_.y)(Er=>{Er instanceof Q&&yn.set(Qn,{[xn]:Er.body,[oi]:Rn(Er.headers,Tr),[Sr]:Er.status,[pr]:Er.statusText,[Xn]:Er.url||"",[qn]:ct.responseType})}))}function Rn(ct,Tt){if(!Tt)return{};const St={};for(const Jt of Tt){const an=ct.getAll(Jt);null!==an&&(St[Jt]=an)}return St}function ui(ct){return[{provide:Or,useFactory:()=>((0,o.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...ct})},{provide:je,useValue:Qt,multi:!0,deps:[o.TransferState,Or]},{provide:o.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const Tt=(0,o.inject)(o.ApplicationRef),St=(0,o.inject)(Or);return()=>{(0,o.\u0275whenStable)(Tt).then(()=>{St.isCacheActive=!1})}}}]}},54496:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{ANIMATION_MODULE_TYPE:()=>di,APP_BOOTSTRAP_LISTENER:()=>hy,APP_ID:()=>At,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>Ka,ApplicationInitStatus:()=>_g,ApplicationModule:()=>My,ApplicationRef:()=>ja,Attribute:()=>am,COMPILER_OPTIONS:()=>yw,CSP_NONCE:()=>vo,CUSTOM_ELEMENTS_SCHEMA:()=>jb,ChangeDetectionStrategy:()=>Mr,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>bw,Component:()=>NP,ComponentFactory:()=>Ju,ComponentFactoryResolver:()=>qu,ComponentRef:()=>Xh,ContentChild:()=>Y1,ContentChildren:()=>V1,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Ld,DebugEventListener:()=>Fw,DebugNode:()=>Mg,DefaultIterableDiffer:()=>z0,DestroyRef:()=>xc,Directive:()=>WE,ENVIRONMENT_INITIALIZER:()=>Is,ElementRef:()=>as,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>Js,ErrorHandler:()=>Fs,EventEmitter:()=>Ee,Host:()=>Kd,HostBinding:()=>BP,HostListener:()=>iy,INJECTOR:()=>Qd,Inject:()=>Ya,InjectFlags:()=>vt,Injectable:()=>gb,InjectionToken:()=>st,Injector:()=>Rs,Input:()=>jP,IterableDiffers:()=>bp,KeyValueDiffers:()=>nd,LOCALE_ID:()=>bg,MissingTranslationStrategy:()=>Aw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>Bb,NgModule:()=>UP,NgModuleFactory:()=>JC,NgModuleRef:()=>kl,NgProbeToken:()=>tI,NgZone:()=>Oo,Optional:()=>$d,Output:()=>du,PACKAGE_ROOT_URL:()=>xr,PLATFORM_ID:()=>Zn,PLATFORM_INITIALIZER:()=>nn,Pipe:()=>$E,PlatformRef:()=>py,Query:()=>Fc,QueryList:()=>il,Renderer2:()=>fp,RendererFactory2:()=>B0,RendererStyleFlags2:()=>Ah,Sanitizer:()=>gp,SecurityContext:()=>Ml,Self:()=>Tu,SimpleChange:()=>Hy,SkipSelf:()=>Gd,TRANSLATIONS:()=>iI,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Ku,Testability:()=>eI,TestabilityRegistry:()=>hw,TransferState:()=>Mu,Type:()=>rh,VERSION:()=>KE,Version:()=>GE,ViewChild:()=>W1,ViewChildren:()=>z1,ViewContainerRef:()=>lf,ViewEncapsulation:()=>br,ViewRef:()=>Lw,afterNextRender:()=>iC,afterRender:()=>wp,asNativeElements:()=>lI,assertInInjectionContext:()=>pl,assertNotInReactiveContext:()=>b1,assertPlatform:()=>Pw,booleanAttribute:()=>Tk,computed:()=>a1,contentChild:()=>U1,contentChildren:()=>RC,createComponent:()=>Bk,createEnvironmentInjector:()=>zp,createNgModule:()=>qC,createNgModuleRef:()=>eS,createPlatform:()=>vy,createPlatformFactory:()=>Tw,defineInjectable:()=>ql,destroyPlatform:()=>oI,effect:()=>Sp,enableProdMode:()=>sI,forwardRef:()=>to,getDebugNode:()=>Ui,getModuleFactory:()=>Ow,getNgModuleById:()=>aI,getPlatform:()=>Od,importProvidersFrom:()=>ds,inject:()=>lt,input:()=>Je,isDevMode:()=>xw,isSignal:()=>mp,isStandalone:()=>lr,makeEnvironmentProviders:()=>Pu,makeStateKey:()=>Xs,mergeApplicationConfig:()=>Hk,model:()=>jC,numberAttribute:()=>Pk,platformCore:()=>Ds,provideZoneChangeDetection:()=>Ew,reflectComponentType:()=>Uk,resolveForwardRef:()=>Dr,runInInjectionContext:()=>Xg,setTestabilityGetter:()=>ly,signal:()=>Po,untracked:()=>u1,viewChild:()=>LC,viewChildren:()=>j1,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_y,\u0275AfterRenderEventManager:()=>Il,\u0275CONTAINER_HEADER_OFFSET:()=>zr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>Ju,\u0275Console:()=>QE,\u0275DEFAULT_LOCALE_ID:()=>qa,\u0275DEFER_BLOCK_CONFIG:()=>CS,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fT,\u0275DeferBlockBehavior:()=>Mf,\u0275DeferBlockState:()=>Io,\u0275EffectScheduler:()=>q0,\u0275IMAGE_CONFIG:()=>Hs,\u0275IMAGE_CONFIG_DEFAULTS:()=>da,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>bn,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>_c,\u0275LContext:()=>Eh,\u0275LifecycleHooksFeature:()=>gC,\u0275LocaleDataIndex:()=>qc,\u0275NG_COMP_DEF:()=>pi,\u0275NG_DIR_DEF:()=>Qt,\u0275NG_ELEMENT_ID:()=>ui,\u0275NG_INJ_DEF:()=>ue,\u0275NG_MOD_DEF:()=>Kn,\u0275NG_PIPE_DEF:()=>Rn,\u0275NG_PROV_DEF:()=>be,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ed,\u0275NO_CHANGE:()=>ri,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Ep,\u0275PendingTasks:()=>fd,\u0275ReflectionCapabilities:()=>Uy,\u0275Render3ComponentFactory:()=>Lc,\u0275Render3ComponentRef:()=>af,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>Qe,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>wu,\u0275TESTABILITY:()=>ay,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Tl,\u0275XSS_SECURITY_URL:()=>bt,\u0275_sanitizeHtml:()=>Pb,\u0275_sanitizeUrl:()=>yh,\u0275allowSanitizationBypassAndThrow:()=>Cl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>Mb,\u0275bypassSanitizationTrustResourceUrl:()=>fm,\u0275bypassSanitizationTrustScript:()=>ID,\u0275bypassSanitizationTrustStyle:()=>PD,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LE,\u0275compileDirective:()=>ny,\u0275compileNgModule:()=>AE,\u0275compileNgModuleDefs:()=>Jv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>zE,\u0275convertToBitFlags:()=>Ht,\u0275createInjector:()=>mh,\u0275defaultIterableDiffers:()=>ks,\u0275defaultKeyValueDiffers:()=>v1,\u0275depsTracker:()=>Oc,\u0275devModeEqual:()=>Q0,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DE,\u0275formatRuntimeError:()=>Ut,\u0275generateStandaloneInDeclarationsError:()=>TE,\u0275getAsyncClassMetadataFn:()=>iT,\u0275getDebugNode:()=>Ui,\u0275getDeferBlocks:()=>Ag,\u0275getDirectives:()=>oE,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Ao,\u0275getHostElement:()=>Dd,\u0275getInjectableDef:()=>Ea,\u0275getLContext:()=>Ms,\u0275getLocaleCurrencyCode:()=>BT,\u0275getLocalePluralCase:()=>Zf,\u0275getSanitizationBypassType:()=>Sb,\u0275getUnknownElementStrictMode:()=>_a,\u0275getUnknownPropertyStrictMode:()=>eA,\u0275global:()=>xn,\u0275injectChangeDetectorRef:()=>kc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>Ho,\u0275isBoundToModule:()=>Na,\u0275isComponentDefPendingResolution:()=>HC,\u0275isEnvironmentProviders:()=>nc,\u0275isInjectable:()=>Nn,\u0275isNgModule:()=>Qa,\u0275isPromise:()=>uy,\u0275isSubscribable:()=>dy,\u0275noSideEffects:()=>Jn,\u0275output:()=>ye,\u0275patchComponentDefWithScope:()=>ey,\u0275performanceMarkFeature:()=>zs,\u0275provideZonelessChangeDetection:()=>Ua,\u0275queueStateUpdate:()=>jr,\u0275readHydrationInfo:()=>Ug,\u0275registerLocaleData:()=>jT,\u0275renderDeferBlockState:()=>Ra,\u0275resetCompiledComponents:()=>kP,\u0275resetJitOptions:()=>wE,\u0275resolveComponentResources:()=>UC,\u0275restoreComponentResolutionQueue:()=>G1,\u0275setAllowDuplicateNgModuleIdsForTest:()=>Z1,\u0275setAlternateWeakRefImpl:()=>gi,\u0275setClassDebugInfo:()=>ME,\u0275setClassMetadata:()=>rS,\u0275setClassMetadataAsync:()=>hd,\u0275setCurrentInjector:()=>V,\u0275setDocument:()=>pu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>ho,\u0275setInjectorProfilerContext:()=>tc,\u0275setLocaleId:()=>j_,\u0275setUnknownElementStrictMode:()=>Dl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>WM,\u0275stringify:()=>Bt,\u0275transitiveScopesFor:()=>Yl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>Rt,\u0275unregisterLocaleData:()=>hM,\u0275unwrapSafeValue:()=>Pa,\u0275unwrapWritableSignal:()=>l1,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>KC,\u0275\u0275FactoryTarget:()=>_l,\u0275\u0275HostDirectivesFeature:()=>dd,\u0275\u0275InheritDefinitionFeature:()=>gf,\u0275\u0275InputFlags:()=>ct,\u0275\u0275InputTransformsFeature:()=>XC,\u0275\u0275NgOnChangesFeature:()=>qg,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>o0,\u0275\u0275attribute:()=>l_,\u0275\u0275attributeInterpolate1:()=>c_,\u0275\u0275attributeInterpolate2:()=>xf,\u0275\u0275attributeInterpolate3:()=>u_,\u0275\u0275attributeInterpolate4:()=>d_,\u0275\u0275attributeInterpolate5:()=>Of,\u0275\u0275attributeInterpolate6:()=>h_,\u0275\u0275attributeInterpolate7:()=>f_,\u0275\u0275attributeInterpolate8:()=>Lf,\u0275\u0275attributeInterpolateV:()=>g_,\u0275\u0275classMap:()=>M_,\u0275\u0275classMapInterpolate1:()=>A_,\u0275\u0275classMapInterpolate2:()=>XS,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>JS,\u0275\u0275classMapInterpolate5:()=>T_,\u0275\u0275classMapInterpolate6:()=>qS,\u0275\u0275classMapInterpolate7:()=>eM,\u0275\u0275classMapInterpolate8:()=>Ul,\u0275\u0275classMapInterpolateV:()=>tM,\u0275\u0275classProp:()=>S_,\u0275\u0275componentInstance:()=>nM,\u0275\u0275conditional:()=>iM,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YM,\u0275\u0275defer:()=>SS,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>AS,\u0275\u0275deferOnIdle:()=>ES,\u0275\u0275deferOnImmediate:()=>wS,\u0275\u0275deferOnInteraction:()=>TS,\u0275\u0275deferOnTimer:()=>DS,\u0275\u0275deferOnViewport:()=>If,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>Pf,\u0275\u0275deferPrefetchOnInteraction:()=>PS,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>IS,\u0275\u0275deferPrefetchWhen:()=>MS,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>ht,\u0275\u0275defineDirective:()=>fn,\u0275\u0275defineInjectable:()=>ni,\u0275\u0275defineInjector:()=>Us,\u0275\u0275defineNgModule:()=>Kt,\u0275\u0275definePipe:()=>mn,\u0275\u0275directiveInject:()=>Ec,\u0275\u0275disableBindings:()=>Ti,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>$f,\u0275\u0275elementContainerStart:()=>Jc,\u0275\u0275elementEnd:()=>vd,\u0275\u0275elementStart:()=>Wf,\u0275\u0275enableBindings:()=>Ai,\u0275\u0275getComponentDepsFactory:()=>Zv,\u0275\u0275getCurrentView:()=>uM,\u0275\u0275getInheritedFactory:()=>ob,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LM,\u0275\u0275i18nAttributes:()=>OM,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>eg,\u0275\u0275i18nPostprocess:()=>RM,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>xe,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>a0,\u0275\u0275invalidFactoryDep:()=>$e,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VM,\u0275\u0275namespaceHTML:()=>Ks,\u0275\u0275namespaceMathML:()=>$l,\u0275\u0275namespaceSVG:()=>ss,\u0275\u0275nextContext:()=>jM,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Ik,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>jk,\u0275\u0275pipe:()=>_E,\u0275\u0275pipeBind1:()=>yE,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>bE,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CE,\u0275\u0275projection:()=>UM,\u0275\u0275projectionDef:()=>BM,\u0275\u0275property:()=>b_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>wd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tg,\u0275\u0275propertyInterpolate4:()=>sv,\u0275\u0275propertyInterpolate5:()=>ng,\u0275\u0275propertyInterpolate6:()=>av,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rg,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cE,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uE,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dE,\u0275\u0275pureFunction6:()=>zv,\u0275\u0275pureFunction7:()=>hE,\u0275\u0275pureFunction8:()=>Wv,\u0275\u0275pureFunctionV:()=>fE,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>zf,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>sM,\u0275\u0275resetView:()=>Pi,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Im,\u0275\u0275resolveWindow:()=>Vb,\u0275\u0275restoreView:()=>Qi,\u0275\u0275sanitizeHtml:()=>_m,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>bm,\u0275\u0275sanitizeStyle:()=>vm,\u0275\u0275sanitizeUrl:()=>ym,\u0275\u0275sanitizeUrlOrResourceUrl:()=>xa,\u0275\u0275setComponentScope:()=>tE,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>xs,\u0275\u0275styleMapInterpolate1:()=>$M,\u0275\u0275styleMapInterpolate2:()=>gv,\u0275\u0275styleMapInterpolate3:()=>GM,\u0275\u0275styleMapInterpolate4:()=>mv,\u0275\u0275styleMapInterpolate5:()=>KM,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QM,\u0275\u0275styleMapInterpolate8:()=>ZM,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>jf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>ig,\u0275\u0275stylePropInterpolate3:()=>yv,\u0275\u0275stylePropInterpolate4:()=>bv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>ou,\u0275\u0275stylePropInterpolate7:()=>Sv,\u0275\u0275stylePropInterpolate8:()=>og,\u0275\u0275stylePropInterpolateV:()=>Mv,\u0275\u0275syntheticHostListener:()=>Ed,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Bc,\u0275\u0275templateRefExtractor:()=>SE,\u0275\u0275text:()=>Ev,\u0275\u0275textInterpolate:()=>sg,\u0275\u0275textInterpolate1:()=>ag,\u0275\u0275textInterpolate2:()=>su,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Av,\u0275\u0275textInterpolate6:()=>Tv,\u0275\u0275textInterpolate7:()=>Pv,\u0275\u0275textInterpolate8:()=>lg,\u0275\u0275textInterpolateV:()=>Iv,\u0275\u0275trustConstantHtml:()=>Ib,\u0275\u0275trustConstantResourceUrl:()=>Cm,\u0275\u0275twoWayBindingSet:()=>JM,\u0275\u0275twoWayListener:()=>ug,\u0275\u0275twoWayProperty:()=>cg,\u0275\u0275validateIframeAttribute:()=>ud,\u0275\u0275viewQuery:()=>HM,\u0275\u0275viewQuerySignal:()=>zM});var n=i(1528);function o(t,r){return Object.is(t,r)}let d=null,a=!1,u=1;const e=Symbol("SIGNAL");function l(t){const r=d;return d=t,r}const _={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function C(t){if(a)throw new Error("");if(null===d)return;d.consumerOnSignalRead(t);const r=d.nextProducerIndex++;P(d),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function A(t){P(t);for(let r=0;r0}function P(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function I(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function j(t){const r=Object.create(ee);r.computation=t;const s=()=>{if(p(r),C(r),r.value===$)throw r.error;return r.value};return s[e]=r,s}const L=Symbol("UNSET"),B=Symbol("COMPUTING"),$=Symbol("ERRORED"),ee={..._,value:L,dirty:!0,error:null,equal:o,producerMustRecompute:t=>t.value===L||t.value===B,producerRecomputeValue(t){if(t.value===B)throw new Error("Detected cycle in computations.");const r=t.value;t.value=B;const s=M(t);let m;try{m=t.computation()}catch(D){m=$,t.error=D}finally{E(t,s)}r!==L&&r!==$&&m!==$&&t.equal(r,m)?t.value=r:(t.value=m,t.version++)}};let se=function le(){throw new Error};function K(){se()}let re=null;function q(t,r){S()||K(),t.equal(t.value,r)||(t.value=r,function Oe(t){t.version++,function b(){u++}(),f(t),re?.()}(t))}const me={..._,equal:o,value:void 0};const Ae=()=>{},ge={..._,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:Ae};var it=i(95657),qe=i(46928),et=i(46700),De=i(54704),je=i(75084);const bt="https://g.co/ng/security#xss";class Qe extends Error{constructor(r,s){super(Ut(r,s)),this.code=r}}function Ut(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const sn=Symbol("InputSignalNode#UNSET"),un={...me,transformFn:void 0,applyValueToInputSignal(t,r){q(t,r)}},bn=Symbol();function kt(t,r){const s=Object.create(un);function m(){if(C(s),s.value===sn)throw new Qe(-950,!1);return s.value}return s.value=t,s.transformFn=r?.transform,m[e]=s,m}function Fe(t){return r=>{setTimeout(t,void 0,r)}}const Ee=class jt extends it.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,s,m){let D=r,O=s||(()=>null),G=m;if(r&&"object"==typeof r){const _e=r;D=_e.next?.bind(_e),O=_e.error?.bind(_e),G=_e.complete?.bind(_e)}this.__isAsync&&(O=Fe(O),D&&(D=Fe(D)),G&&(G=Fe(G)));const ie=super.subscribe({next:D,error:O,complete:G});return r instanceof qe.wH&&r.add(ie),ie}};function ye(t){return new Ee}function Ce(t,r){return kt(t,r)}const Je=(Ce.required=function Ge(t){return kt(sn,t)},Ce);var vt=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}(vt||{});function Bt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Bt).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const r=t.toString();if(null==r)return""+r;const s=r.indexOf("\n");return-1===s?r:r.substring(0,s)}function Zt(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function Rt(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const s=Math.round(r/2);return t.substring(0,s)+"..."+t.substring(t.length-s)}function qt(t,r,s,m){throw new Error(`ASSERTION ERROR: ${t}`+(null==m?"":` [Expected=> ${s} ${m} ${r} <=Actual]`))}var Mr=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Mr||{}),br=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(br||{});function Jn(t){return{toString:t}.toString()}const xn=globalThis,pr={},Xn=[];function qn(t){for(let r in t)if(t[r]===qn)return r;throw Error("Could not find renamed property on target object.")}function Or(t,r){for(const s in r)r.hasOwnProperty(s)&&!t.hasOwnProperty(s)&&(t[s]=r[s])}const pi=qn({\u0275cmp:qn}),Qt=qn({\u0275dir:qn}),Rn=qn({\u0275pipe:qn}),Kn=qn({\u0275mod:qn}),or=qn({\u0275fac:qn}),ui=qn({__NG_ELEMENT_ID__:qn}),Ir=qn({__NG_ENV_ID__:qn});var ct=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(ct||{});function Tt(t,r,s){let m=t.length;for(;;){const D=t.indexOf(r,s);if(-1===D)return D;if(0===D||t.charCodeAt(D-1)<=32){const O=r.length;if(D+O===m||t.charCodeAt(D+O)<=32)return D}s=D+1}}function St(t,r,s){let m=0;for(;mr){G=O-1;break}}}for(;OO?"":D[pt+1].toLowerCase();const Wt=8&m?Ft:null;if(Wt&&-1!==Tt(Wt,Ve,0)||2&m&&Ve!==Ft){if(ur(m))return!1;G=!0}}}}else{if(!G&&!ur(m)&&!ur(_e))return!1;if(G&&ur(_e))continue;G=!1,m=_e|1&m}}return ur(m)||G}function ur(t){return 0==(1&t)}function Ei(t,r,s,m){if(null===r)return-1;let D=0;if(m||!s){let O=!1;for(;D-1)for(s++;s0?'="'+ie+'"':"")+"]"}else 8&m?D+="."+G:4&m&&(D+=" "+G);else""!==D&&!ur(G)&&(r+=Pe(O,D),D=""),m=G,O=O||!ur(m);s++}return""!==D&&(r+=Pe(O,D)),r}function ht(t){return Jn(()=>{const r=Nr(t),s={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Mr.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||br.Emulated,styles:t.styles||Xn,_:null,schemas:t.schemas||null,tView:null,id:""};Lr(s);const m=t.dependencies;return s.directiveDefs=ut(m,!1),s.pipeDefs=ut(m,!0),s.id=function vi(t){let r=0;const s=[t.selectors,t.ngContentSelectors,t.hostVars,t.hostAttrs,t.consts,t.vars,t.decls,t.encapsulation,t.standalone,t.signals,t.exportAs,JSON.stringify(t.inputs),JSON.stringify(t.outputs),Object.getOwnPropertyNames(t.type.prototype),!!t.contentQueries,!!t.viewQuery].join("|");for(const D of s)r=Math.imul(31,r)+D.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(s),s})}function Ct(t){return ln(t)||Yt(t)}function Lt(t){return null!==t}function Kt(t){return Jn(()=>({type:t.type,bootstrap:t.bootstrap||Xn,declarations:t.declarations||Xn,imports:t.imports||Xn,exports:t.exports||Xn,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function dn(t,r){if(null==t)return pr;const s={};for(const m in t)if(t.hasOwnProperty(m)){const D=t[m];let O,G,ie=ct.None;Array.isArray(D)?(ie=D[0],O=D[1],G=D[2]??O):(O=D,G=D),r?(s[O]=ie!==ct.None?[m,ie]:m,r[O]=G):s[O]=m}return s}function fn(t){return Jn(()=>{const r=Nr(t);return Lr(r),r})}function mn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,standalone:!0===t.standalone,onDestroy:t.type.prototype.ngOnDestroy||null}}function ln(t){return t[pi]||null}function Yt(t){return t[Qt]||null}function Ln(t){return t[Rn]||null}function lr(t){const r=ln(t)||Yt(t)||Ln(t);return null!==r&&r.standalone}function cr(t,r){const s=t[Kn]||null;if(!s&&!0===r)throw new Error(`Type ${Bt(t)} does not have '\u0275mod' property.`);return s}function Nr(t){const r={};return{type:t.type,providersResolver:null,factory:null,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputTransforms:null,inputConfig:t.inputs||pr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||Xn,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:dn(t.inputs,r),outputs:dn(t.outputs),debugInfo:null}}function Lr(t){t.features?.forEach(r=>r(t))}function ut(t,r){if(!t)return null;const s=r?Ln:Ct;return()=>("function"==typeof t?t():t).map(m=>s(m)).filter(Lt)}const lo=new Map,_r=0,wn=1,$n=2,si=3,Pr=4,ai=5,On=6,ti=7,Zr=8,Xr=9,Vi=10,hr=11,Yi=12,ko=13,go=14,Jr=15,zi=16,qi=17,ro=18,Rr=19,mo=20,_i=21,xi=22,qr=23,ar=25,yo=1,wi=6,yi=7,po=9,zr=10;var bo=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(bo||{});function Ni(t){return Array.isArray(t)&&"object"==typeof t[yo]}function Gr(t){return Array.isArray(t)&&!0===t[yo]}function Lo(t){return 0!=(4&t.flags)}function Oi(t){return t.componentOffset>-1}function Zi(t){return 1==(1&t.flags)}function Li(t){return!!t.template}function Gi(t){return 0!=(512&t[$n])}function $o(t){return 16==(16&t.type)}function Ro(t){return 256==(256&t[$n])}const Bn="svg",Wi="math";let Mo=!1;function Ao(){return Mo}function ho(t){Mo=t}function Ur(t){for(;Array.isArray(t);)t=t[_r];return t}function Zo(t){for(;Array.isArray(t);){if("object"==typeof t[yo])return t;t=t[_r]}return null}function is(t,r){return Ur(r[t])}function Xi(t,r){return Ur(r[t.index])}function xo(t,r){return t.data[r]}function _o(t,r){return t[r]}function Di(t,r){const s=r[t];return Ni(s)?s:s[_r]}function Cs(t){return 128==(128&t[$n])}function io(t,r){return null==r?null:t[r]}function fs(t){t[qi]=0}function rt(t){1024&t[$n]||(t[$n]|=1024,Cs(t)&&nt(t))}function ne(t,r){for(;t>0;)r=r[go],t--;return r}function pe(t){return!!(9216&t[$n]||t[qr]?.dirty)}function Be(t){pe(t)?nt(t):64&t[$n]&&(Ao()?(t[$n]|=1024,nt(t)):t[Vi].changeDetectionScheduler?.notify())}function nt(t){t[Vi].changeDetectionScheduler?.notify();let r=Nt(t);for(;null!==r&&!(8192&r[$n])&&(r[$n]|=8192,Cs(r));)r=Nt(r)}function yt(t,r){if(256==(256&t[$n]))throw new Qe(911,!1);null===t[_i]&&(t[_i]=[]),t[_i].push(r)}function It(t,r){if(null===t[_i])return;const s=t[_i].indexOf(r);-1!==s&&t[_i].splice(s,1)}function Nt(t){const r=t[si];return Gr(r)?r[si]:r}const Vt={lFrame:Ri(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function tr(){return Vt.bindingsEnabled}function vr(){return null!==Vt.skipHydrationRootTNode}function Ai(){Vt.bindingsEnabled=!0}function Ti(){Vt.bindingsEnabled=!1}function vn(){return Vt.lFrame.lView}function wr(){return Vt.lFrame.tView}function Qi(t){return Vt.lFrame.contextLView=t,t[Zr]}function Pi(t){return Vt.lFrame.contextLView=null,t}function ei(){let t=oo();for(;null!==t&&64===t.type;)t=t.parent;return t}function oo(){return Vt.lFrame.currentTNode}function Ye(){const t=Vt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function at(t,r){const s=Vt.lFrame;s.currentTNode=t,s.isParent=r}function R(){return Vt.lFrame.isParent}function te(){Vt.lFrame.isParent=!1}function ft(){const t=Vt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function xt(){return Vt.lFrame.bindingIndex}function rn(t){return Vt.lFrame.bindingIndex=t}function J(){return Vt.lFrame.bindingIndex++}function ze(t){const r=Vt.lFrame,s=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,s}function Ue(t){Vt.lFrame.inI18n=t}function _t(t,r){const s=Vt.lFrame;s.bindingIndex=s.bindingRootIndex=t,tn(r)}function tn(t){Vt.lFrame.currentDirectiveIndex=t}function Dn(t){const r=Vt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function gr(){return Vt.lFrame.currentQueryIndex}function yr(t){Vt.lFrame.currentQueryIndex=t}function $r(t){const r=t[wn];return 2===r.type?r.declTNode:1===r.type?t[ai]:null}function Cr(t,r,s){if(s&vt.SkipSelf){let D=r,O=t;for(;!(D=D.parent,null!==D||s&vt.Host||(D=$r(O),null===D||(O=O[go],10&D.type))););if(null===D)return!1;r=D,t=O}const m=Vt.lFrame=Hr();return m.currentTNode=r,m.lView=t,!0}function Qr(t){const r=Hr(),s=t[wn];Vt.lFrame=r,r.currentTNode=s.firstChild,r.lView=t,r.tView=s,r.contextLView=t,r.bindingIndex=s.bindingStartIndex,r.inI18n=!1}function Hr(){const t=Vt.lFrame,r=null===t?null:t.child;return null===r?Ri(t):r}function Ri(t){const r={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:t,child:null,inI18n:!1};return null!==t&&(t.child=r),r}function eo(){const t=Vt.lFrame;return Vt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const Vo=eo;function gs(){const t=eo();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function so(){return Vt.lFrame.selectedIndex}function Yo(t){Vt.lFrame.selectedIndex=t}function hi(){const t=Vt.lFrame;return xo(t.tView,t.selectedIndex)}function ss(){Vt.lFrame.currentNamespace=Bn}function $l(){Vt.lFrame.currentNamespace=Wi}function Ks(){!function Gl(){Vt.lFrame.currentNamespace=null}()}function el(){return Vt.lFrame.currentNamespace}let tl=!0;function Qs(){return tl}function Os(t){tl=t}function fu(){return Jo(ei(),vn())}function Jo(t,r){return new as(Xi(t,r))}let as=(()=>{class t{constructor(s){this.nativeElement=s}static#e=this.__NG_ELEMENT_ID__=fu}return t})();function Kl(t){return t instanceof as?t.nativeElement:t}function ls(t){return t.flat(Number.POSITIVE_INFINITY)}function oa(t,r){t.forEach(s=>Array.isArray(s)?oa(s,r):r(s))}function nl(t,r,s){r>=t.length?t.push(s):t.splice(r,0,s)}function Sa(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function sa(t,r){const s=[];for(let m=0;mr;)t[D]=t[D-2],D--;t[r]=s,t[r+1]=m}}function zo(t,r,s){let m=ca(t,r);return m>=0?t[1|m]=s:(m=~m,Ql(t,m,r,s)),m}function la(t,r){const s=ca(t,r);if(s>=0)return t[1|s]}function ca(t,r){return function rl(t,r,s){let m=0,D=t.length>>s;for(;D!==m;){const O=m+(D-m>>1),G=t[O<r?D=O:m=O+1}return~(D<cn}),cn="ng",nn=new st(""),Zn=new st("",{providedIn:"platform",factory:()=>"unknown"}),xr=new st(""),di=new st(""),vo=new st("",{providedIn:"root",factory:()=>No().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),da={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},Hs=new st("",{providedIn:"root",factory:()=>da}),ha=qn({__forward_ref__:qn});function to(t){return t.__forward_ref__=to,t.toString=function(){return Bt(this())},t}function Dr(t){return Ha(t)?t():t}function Ha(t){return"function"==typeof t&&t.hasOwnProperty(ha)&&t.__forward_ref__===to}let _u,ll;function tc(t){qt("setInjectorProfilerContext should never be called in production mode");const r=_u;return _u=t,r}function nc(t){return t&&!!t.\u0275providers}function Vr(t){return"string"==typeof t?t:null==t?"":String(t)}function Bi(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Vr(t)}function bu(t,r){throw new Qe(-201,!1)}function Ud(){return ll}function Wo(t){const r=ll;return ll=t,r}function Hd(t,r,s){const m=Ea(t);return m&&"root"==m.providedIn?void 0===m.value?m.value=m.factory():m.value:s&vt.Optional?null:void 0!==r?r:void bu()}const ul={},Cu="__NG_DI_FLAG__",rc="ngTempTokenPath",xg=/\n/gm,Da="__source";let Zs;function V(t){const r=Zs;return Zs=t,r}function he(t,r=vt.Default){if(void 0===Zs)throw new Qe(-203,!1);return null===Zs?Hd(t,void 0,r):Zs.get(t,r&vt.Optional?null:void 0,r)}function xe(t,r=vt.Default){return(Ud()||he)(Dr(t),r)}function $e(t){throw new Qe(202,!1)}function lt(t,r=vt.Default){return xe(t,Ht(r))}function Ht(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Mn(t){const r=[];for(let s=0;s{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:ga});get(s,m){return void 0!==this.store[s]?this.store[s]:m}set(s,m){this.store[s]=m}remove(s){delete this.store[s]}hasKey(s){return this.store.hasOwnProperty(s)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(s,m){this.onSerializeCallbacks[s]=m}toJson(){for(const s in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(s))try{this.store[s]=this.onSerializeCallbacks[s]()}catch(m){console.warn("Exception in onSerialize callback: ",m)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,s=!1){let m=t.getAttribute(Eu);if(null==m)return null;const[D,O]=m.split("|");if(m=s?O:D,!m)return null;const ie=s?D:O?`|${O}`:"";let _e={};if(""!==m){const tt=r.get(Mu,null,{optional:!0});null!==tt&&(_e=tt.get(jg,[])[Number(m)])}const Ve={data:_e,firstChild:t.firstChild??null};return s&&(Ve.firstChild=t,Yd(Ve,0,t.nextSibling)),ie?t.setAttribute(Eu,ie):t.removeAttribute(Eu),Ve}function Bg(t,r,s=!1){return ky(t,r,s)}function xy(t){let r=t._lView;return 2===r[wn].type?null:(Gi(r)&&(r=r[ar]),r)}const fl="__ngDebugHydrationInfo__";function Ug(t){return t[fl]??null}function Yd(t,r,s){t.segmentHeads??={},t.segmentHeads[r]=s}function Hg(t,r){return t.segmentHeads?.[r]??null}function Ry(t,r){return t.data[ma]?.[r]??null}function zd(t,r){const s=Ry(t,r)??[];let m=0;for(let D of s)m+=D[oc]*(D[dl]??1);return m}function Wd(t,r){if(typeof t.disconnectedNodes>"u"){const s=t.data[Vd];t.disconnectedNodes=s?new Set(s):null}return!!t.disconnectedNodes?.has(r)}const Si="__annotations__",lc="__parameters__",Ls="__prop__metadata__";function Au(t,r,s,m,D){return Jn(()=>{const O=Vg(r);function G(...ie){if(this instanceof G)return O.call(this,...ie),this;const _e=new G(...ie);return function(tt){return D&&D(tt,...ie),(tt.hasOwnProperty(Si)?tt[Si]:Object.defineProperty(tt,Si,{value:[]})[Si]).push(_e),m&&m(tt),tt}}return s&&(G.prototype=Object.create(s.prototype)),G.prototype.ngMetadataName=t,G.annotationCls=G,G})}function Vg(t){return function(...s){if(t){const m=t(...s);for(const D in m)this[D]=m[D]}}}function Ss(t,r,s){return Jn(()=>{const m=Vg(r);function D(...O){if(this instanceof D)return m.apply(this,O),this;const G=new D(...O);return ie.annotation=G,ie;function ie(_e,Ve,tt){const pt=_e.hasOwnProperty(lc)?_e[lc]:Object.defineProperty(_e,lc,{value:[]})[lc];for(;pt.length<=tt;)pt.push(null);return(pt[tt]=pt[tt]||[]).push(G),_e}}return s&&(D.prototype=Object.create(s.prototype)),D.prototype.ngMetadataName=t,D.annotationCls=D,D})}function Va(t,r,s,m){return Jn(()=>{const D=Vg(r);function O(...G){if(this instanceof O)return D.apply(this,G),this;const ie=new O(...G);return function _e(Ve,tt){if(void 0===Ve)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const pt=Ve.constructor,Ft=pt.hasOwnProperty(Ls)?pt[Ls]:Object.defineProperty(pt,Ls,{value:{}})[Ls];Ft[tt]=Ft.hasOwnProperty(tt)&&Ft[tt]||[],Ft[tt].unshift(ie),m&&m(Ve,tt,...G)}}return s&&(O.prototype=Object.create(s.prototype)),O.prototype.ngMetadataName=t,O.annotationCls=O,O})}const Ya=rr(Ss("Inject",t=>({token:t})),-1),$d=rr(Ss("Optional"),8),Tu=rr(Ss("Self"),2),Gd=rr(Ss("SkipSelf"),4),Kd=rr(Ss("Host"),1);function gl(t,r){return t.hasOwnProperty(or)?t[or]:null}const Is=new st(""),Qd=new st("",-1),Yg=new st("");class Zd{get(r,s=ul){if(s===ul){const m=new Error(`NullInjectorError: No provider for ${Bt(r)}!`);throw m.name="NullInjectorError",m}return s}}function Pu(t){return{\u0275providers:t}}function ds(...t){return{\u0275providers:zg(0,t),\u0275fromNgModule:!0}}function zg(t,...r){const s=[],m=new Set;let D;const O=G=>{s.push(G)};return oa(r,G=>{const ie=G;Jd(ie,O,[],m)&&(D||=[],D.push(ie))}),void 0!==D&&Xd(D,O),s}function Xd(t,r){for(let s=0;s{r(O,m)})}}function Jd(t,r,s,m){if(!(t=Dr(t)))return!1;let D=null,O=oe(t);const G=!O&&ln(t);if(O||G){if(G&&!G.standalone)return!1;D=t}else{const _e=t.ngModule;if(O=oe(_e),!O)return!1;D=_e}const ie=m.has(D);if(G){if(ie)return!1;if(m.add(D),G.dependencies){const _e="function"==typeof G.dependencies?G.dependencies():G.dependencies;for(const Ve of _e)Jd(Ve,r,s,m)}}else{if(!O)return!1;{if(null!=O.imports&&!ie){let Ve;m.add(D);try{oa(O.imports,tt=>{Jd(tt,r,s,m)&&(Ve||=[],Ve.push(tt))})}finally{}void 0!==Ve&&Xd(Ve,r)}if(!ie){const Ve=gl(D)||(()=>new D);r({provide:D,useFactory:Ve,deps:Xn},D),r({provide:Yg,useValue:D,multi:!0},D),r({provide:Is,useValue:()=>xe(D),multi:!0},D)}const _e=O.providers;if(null!=_e&&!ie){const Ve=t;Wg(_e,tt=>{r(tt,Ve)})}}}return D!==t&&void 0!==t.providers}function Wg(t,r){for(let s of t)nc(s)&&(s=s.\u0275providers),Array.isArray(s)?Wg(s,r):r(s)}const Fy=qn({provide:String,useValue:qn});function $g(t){return null!==t&&"object"==typeof t&&Fy in t}function ml(t){return"function"==typeof t}const qd=new st(""),eh={},tD={};let Gg;function Aa(){return void 0===Gg&&(Gg=new Zd),Gg}class Js{}class cc extends Js{get destroyed(){return this._destroyed}constructor(r,s,m,D){super(),this.parent=s,this.source=m,this.scopes=D,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zg(r,G=>this.processProvider(G)),this.records.set(Qd,uc(void 0,this)),D.has("environment")&&this.records.set(Js,uc(void 0,this));const O=this.records.get(qd);null!=O&&"string"==typeof O.value&&this.scopes.add(O.value),this.injectorDefTypes=new Set(this.get(Yg,Xn,vt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const s of this._ngOnDestroyHooks)s.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const s of r)s()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(r){return this.assertNotDestroyed(),this._onDestroyHooks.push(r),()=>this.removeOnDestroy(r)}runInContext(r){this.assertNotDestroyed();const s=V(this),m=Wo(void 0);try{return r()}finally{V(s),Wo(m)}}get(r,s=ul,m=vt.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Ir))return r[Ir](this);m=Ht(m);const O=V(this),G=Wo(void 0);try{if(!(m&vt.SkipSelf)){let _e=this.records.get(r);if(void 0===_e){const Ve=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof st}(r)&&Ea(r);_e=Ve&&this.injectableDefInScope(Ve)?uc(Kg(r),eh):null,this.records.set(r,_e)}if(null!=_e)return this.hydrate(r,_e)}return(m&vt.Self?Aa():this.parent).get(r,s=m&vt.Optional&&s===ul?null:s)}catch(ie){if("NullInjectorError"===ie.name){if((ie[rc]=ie[rc]||[]).unshift(Bt(r)),O)throw ie;return function fi(t,r,s,m){const D=t[rc];throw r[Da]&&D.unshift(r[Da]),t.message=function us(t,r,s,m=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let D=Bt(r);if(Array.isArray(r))D=r.map(Bt).join(" -> ");else if("object"==typeof r){let O=[];for(let G in r)if(r.hasOwnProperty(G)){let ie=r[G];O.push(G+":"+("string"==typeof ie?JSON.stringify(ie):Bt(ie)))}D=`{${O.join(", ")}}`}return`${s}${m?"("+m+")":""}[${D}]: ${t.replace(xg,"\n ")}`}("\n"+t.message,D,s,m),t.ngTokenPath=D,t[rc]=null,t}(ie,r,"R3InjectorError",this.source)}throw ie}finally{Wo(G),V(O)}}resolveInjectorInitializers(){const r=V(this),s=Wo(void 0);try{const D=this.get(Is,Xn,vt.Self);for(const O of D)O()}finally{V(r),Wo(s)}}toString(){const r=[],s=this.records;for(const m of s.keys())r.push(Bt(m));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Qe(205,!1)}processProvider(r){let s=ml(r=Dr(r))?r:Dr(r&&r.provide);const m=function nD(t){return $g(t)?uc(void 0,t.useValue):uc(nh(t),eh)}(r);if(!ml(r)&&!0===r.multi){let D=this.records.get(s);D||(D=uc(void 0,eh,!0),D.factory=()=>Mn(D.multi),this.records.set(s,D)),s=r,D.multi.push(r)}this.records.set(s,m)}hydrate(r,s){return s.value===eh&&(s.value=tD,s.value=s.factory()),"object"==typeof s.value&&s.value&&function Qg(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(s.value)&&this._ngOnDestroyHooks.add(s.value),s.value}injectableDefInScope(r){if(!r.providedIn)return!1;const s=Dr(r.providedIn);return"string"==typeof s?"any"===s||this.scopes.has(s):this.injectorDefTypes.has(s)}removeOnDestroy(r){const s=this._onDestroyHooks.indexOf(r);-1!==s&&this._onDestroyHooks.splice(s,1)}}function Kg(t){const r=Ea(t),s=null!==r?r.factory:gl(t);if(null!==s)return s;if(t instanceof st)throw new Qe(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new Qe(204,!1);const s=function ms(t){return t&&(t[be]||t[Me])||null}(t);return null!==s?()=>s.factory(t):()=>new t}(t);throw new Qe(204,!1)}function nh(t,r,s){let m;if(ml(t)){const D=Dr(t);return gl(D)||Kg(D)}if($g(t))m=()=>Dr(t.useValue);else if(function Ny(t){return!(!t||!t.useFactory)}(t))m=()=>t.useFactory(...Mn(t.deps||[]));else if(function Iu(t){return!(!t||!t.useExisting)}(t))m=()=>xe(Dr(t.useExisting));else{const D=Dr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return gl(D)||Kg(D);m=()=>new D(...Mn(t.deps))}return m}function uc(t,r,s=!1){return{factory:t,value:r,multi:s?[]:void 0}}function Zg(t,r){for(const s of t)Array.isArray(s)?Zg(s,r):s&&nc(s)?Zg(s.\u0275providers,r):r(s)}function Xg(t,r){t instanceof cc&&t.assertNotDestroyed();const m=V(t),D=Wo(void 0);try{return r()}finally{V(m),Wo(D)}}function pl(t){if(!Ud()&&!function Ci(){return Zs}())throw new Qe(-203,!1)}var _l=function(t){return t[t.Directive=0]="Directive",t[t.Component=1]="Component",t[t.Injectable=2]="Injectable",t[t.Pipe=3]="Pipe",t[t.NgModule=4]="NgModule",t}(_l||{});function qo(t){const r=xn.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const By={\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275inject:xe,\u0275\u0275invalidFactoryDep:$e,resolveForwardRef:Dr},rh=Function;function dc(t){return"function"==typeof t}const sD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,Vs=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,aD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Wa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Uy{constructor(r){this._reflect=r||xn.Reflect}factory(r){return(...s)=>new r(...s)}_zipTypesAndAnnotations(r,s){let m;m=sa(typeof r>"u"?s.length:r.length);for(let D=0;D"u"?[]:r[D]&&r[D]!=Object?[r[D]]:[],s&&null!=s[D]&&(m[D]=m[D].concat(s[D]));return m}_ownParameters(r,s){if(function lD(t){return sD.test(t)||Wa.test(t)||Vs.test(t)&&!aD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==s.parameters)return r.parameters;const D=r.ctorParameters;if(D&&D!==s.ctorParameters){const ie="function"==typeof D?D():D,_e=ie.map(tt=>tt&&tt.type),Ve=ie.map(tt=>tt&&Jg(tt.decorators));return this._zipTypesAndAnnotations(_e,Ve)}const O=r.hasOwnProperty(lc)&&r[lc],G=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return G||O?this._zipTypesAndAnnotations(G,O):sa(r.length)}parameters(r){if(!dc(r))return[];const s=ih(r);let m=this._ownParameters(r,s);return!m&&s!==Object&&(m=this.parameters(s)),m||[]}_ownAnnotations(r,s){if(r.annotations&&r.annotations!==s.annotations){let m=r.annotations;return"function"==typeof m&&m.annotations&&(m=m.annotations),m}return r.decorators&&r.decorators!==s.decorators?Jg(r.decorators):r.hasOwnProperty(Si)?r[Si]:null}annotations(r){if(!dc(r))return[];const s=ih(r),m=this._ownAnnotations(r,s)||[];return(s!==Object?this.annotations(s):[]).concat(m)}_ownPropMetadata(r,s){if(r.propMetadata&&r.propMetadata!==s.propMetadata){let m=r.propMetadata;return"function"==typeof m&&m.propMetadata&&(m=m.propMetadata),m}if(r.propDecorators&&r.propDecorators!==s.propDecorators){const m=r.propDecorators,D={};return Object.keys(m).forEach(O=>{D[O]=Jg(m[O])}),D}return r.hasOwnProperty(Ls)?r[Ls]:null}propMetadata(r){if(!dc(r))return{};const s=ih(r),m={};if(s!==Object){const O=this.propMetadata(s);Object.keys(O).forEach(G=>{m[G]=O[G]})}const D=this._ownPropMetadata(r,s);return D&&Object.keys(D).forEach(O=>{const G=[];m.hasOwnProperty(O)&&G.push(...m[O]),G.push(...D[O]),m[O]=G}),m}ownPropMetadata(r){return dc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,s){return r instanceof rh&&s in r.prototype}}function Jg(t){return t?t.map(r=>new(0,r.type.annotationCls)(...r.args?r.args:[])):[]}function ih(t){const r=t.prototype?Object.getPrototypeOf(t.prototype):null;return(r?r.constructor:null)||Object}class Hy{constructor(r,s,m){this.previousValue=r,this.currentValue=s,this.firstChange=m}isFirstChange(){return this.firstChange}}function Vy(t,r,s,m){null!==r?r.applyValueToInputSignal(r,m):t[s]=m}function qg(){return Yy}function Yy(t){return t.type.prototype.ngOnChanges&&(t.setInput=hc),cD}function cD(){const t=Wy(this),r=t?.current;if(r){const s=t.previous;if(s===pr)t.previous=r;else for(let m in r)s[m]=r[m];t.current=null,this.ngOnChanges(r)}}function hc(t,r,s,m,D){const O=this.declaredInputs[m],G=Wy(t)||function $y(t,r){return t[zy]=r}(t,{previous:pr,current:null}),ie=G.current||(G.current={}),_e=G.previous,Ve=_e[O];ie[O]=new Hy(Ve&&Ve.currentValue,s,_e===pr),Vy(t,r,D,s)}qg.ngInherit=!0;const zy="__ngSimpleChanges__";function Wy(t){return t[zy]||null}const pa=function(t,r,s){};function oh(t,r){for(let s=r.directiveStart,m=r.directiveEnd;s=m)break}else r[_e]<0&&(t[qi]+=65536),(ie>14>16&&(3&t[$n])===r&&(t[$n]+=16384,tm(ie,O)):tm(ie,O)}const vl=-1;class xu{constructor(r,s,m){this.factory=r,this.resolving=!1,this.canSeeViewProviders=s,this.injectImpl=m}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function nm(t){return t!==vl}function Ou(t){return 32767&t}function Lu(t,r){let s=function qs(t){return t>>16}(t),m=r;for(;s>0;)m=m[go],s--;return m}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Zy=255,uh=5;let mD=0;const Ys={};function gc(t,r){const s=Xy(t,r);if(-1!==s)return s;const m=r[wn];m.firstCreatePass&&(t.injectorIndex=r.length,im(m.data,t),im(r,null),im(m.blueprint,null));const D=dh(t,r),O=t.injectorIndex;if(nm(D)){const G=Ou(D),ie=Lu(D,r),_e=ie[wn].data;for(let Ve=0;Ve<8;Ve++)r[O+Ve]=ie[G+Ve]|_e[G+Ve]}return r[O+8]=D,O}function im(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Xy(t,r){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===r[t.injectorIndex+8]?-1:t.injectorIndex}function dh(t,r){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let s=0,m=null,D=r;for(;null!==D;){if(m=sb(D),null===m)return vl;if(s++,D=D[go],-1!==m.injectorIndex)return m.injectorIndex|s<<16}return vl}function om(t,r,s){!function pD(t,r,s){let m;"string"==typeof s?m=s.charCodeAt(0)||0:s.hasOwnProperty(ui)&&(m=s[ui]),null==m&&(m=s[ui]=mD++);const D=m&Zy;r.data[t+(D>>uh)]|=1<=0?r&Zy:ib:r}(s);if("function"==typeof O){if(!Cr(r,t,m))return m&vt.Host?Jy(D,0,m):qy(r,s,m,D);try{let G;if(G=O(m),null!=G||m&vt.Optional)return G;bu()}finally{Vo()}}else if("number"==typeof O){let G=null,ie=Xy(t,r),_e=vl,Ve=m&vt.Host?r[Jr][ai]:null;for((-1===ie||m&vt.SkipSelf)&&(_e=-1===ie?dh(t,r):r[ie+8],_e!==vl&&rb(m,!1)?(G=r[wn],ie=Ou(_e),r=Lu(_e,r)):ie=-1);-1!==ie;){const tt=r[wn];if(nb(O,ie,tt.data)){const pt=vD(ie,r,s,G,m,Ve);if(pt!==Ys)return pt}_e=r[ie+8],_e!==vl&&rb(m,r[wn].data[ie+8]===Ve)&&nb(O,ie,r)?(G=tt,ie=Ou(_e),r=Lu(_e,r)):ie=-1}}return D}function vD(t,r,s,m,D,O){const G=r[wn],ie=G.data[t+8],tt=hh(ie,G,s,null==m?Oi(ie)&&lh:m!=G&&0!=(3&ie.type),D&vt.Host&&O===ie);return null!==tt?Ta(r,G,tt,ie):Ys}function hh(t,r,s,m,D){const O=t.providerIndexes,G=r.data,ie=1048575&O,_e=t.directiveStart,tt=O>>20,Ft=D?ie+tt:t.directiveEnd;for(let Wt=m?ie:ie+tt;Wt=_e&&hn.type===s)return Wt}if(D){const Wt=G[_e];if(Wt&&Li(Wt)&&Wt.type===s)return _e}return null}function Ta(t,r,s,m){let D=t[s];const O=r.data;if(function Qy(t){return t instanceof xu}(D)){const G=D;G.resolving&&function Bd(t,r){throw r&&r.join(" > "),new Qe(-200,t)}(Bi(O[s]));const ie=ch(G.canSeeViewProviders);G.resolving=!0;const Ve=G.injectImpl?Wo(G.injectImpl):null;Cr(t,m,vt.Default);try{D=t[s]=G.factory(void 0,O,t,m),r.firstCreatePass&&s>=m.directiveStart&&function dD(t,r,s){const{ngOnChanges:m,ngOnInit:D,ngDoCheck:O}=r.type.prototype;if(m){const G=Yy(r);(s.preOrderHooks??=[]).push(t,G),(s.preOrderCheckHooks??=[]).push(t,G)}D&&(s.preOrderHooks??=[]).push(0-t,D),O&&((s.preOrderHooks??=[]).push(t,O),(s.preOrderCheckHooks??=[]).push(t,O))}(s,O[s],r)}finally{null!==Ve&&Wo(Ve),ch(ie),G.resolving=!1,Vo()}}return D}function nb(t,r,s){return!!(s[r+(t>>uh)]&1<{const r=t.prototype.constructor,s=r[or]||sm(r),m=Object.prototype;let D=Object.getPrototypeOf(t.prototype).constructor;for(;D&&D!==m;){const O=D[or]||sm(D);if(O&&O!==s)return O;D=Object.getPrototypeOf(D)}return O=>new O})}function sm(t){return Ha(t)?()=>{const r=sm(Dr(t));return r&&r()}:gl(t)}function sb(t){const r=t[wn],s=r.type;return 2===s?r.declTNode:1===s?t[ai]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const s=t.attrs;if(s){const m=s.length;let D=0;for(;D({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let ab=null;function lm(){return ab=ab||new Uy}function gh(t){return lb(lm().parameters(t))}function lb(t){return t.map(r=>function cb(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let s=0;sfunction CD(t,r){let s=null,m=null;t.hasOwnProperty(be)||Object.defineProperty(t,be,{get:()=>(null===s&&(s=qo().compileInjectable(By,`ng:///${t.name}/\u0275prov.js`,function SD(t,r){const s=r||{providedIn:null},m={name:t.name,type:t,typeArgumentCount:0,providedIn:s.providedIn};return(cm(s)||hb(s))&&void 0!==s.deps&&(m.deps=lb(s.deps)),cm(s)?m.useClass=s.useClass:function db(t){return ub in t}(s)?m.useValue=s.useValue:hb(s)?m.useFactory=s.useFactory:function fb(t){return void 0!==t.useExisting}(s)&&(m.useExisting=s.useExisting),m}(t,r))),s)}),t.hasOwnProperty(or)||Object.defineProperty(t,or,{get:()=>{if(null===m){const D=qo();m=D.compileFactory(By,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Injectable})}return m},configurable:!0})}(t,r));function mh(t,r=null,s=null,m){const D=mb(t,r,s,m);return D.resolveInjectorInitializers(),D}function mb(t,r=null,s=null,m,D=new Set){const O=[s||Xn,ds(t)];return m=m||("object"==typeof t?void 0:Bt(t)),new cc(O,r||Aa(),m||null,D)}let Rs=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=ul;static#t=this.NULL=new Zd;static create(s,m){if(Array.isArray(s))return mh({name:""},m,s,"");{const D=s.name??"";return mh({name:D},s.parent,s.providers,D)}}static#n=this.\u0275prov=ni({token:t,providedIn:"any",factory:()=>xe(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Fs{constructor(){this._console=console}handleError(r){const s=this._findOriginalError(r);this._console.error("ERROR",r),s&&this._console.error("ORIGINAL ERROR",s)}_findOriginalError(r){let s=r&&ph(r);for(;s&&ph(s);)s=ph(s);return s||null}}const _b=new st("",{providedIn:"root",factory:()=>lt(Fs).handleError.bind(void 0)}),_c=new st(""),um=new st("",{providedIn:"root",factory:()=>!1});let Ru,vh;function _h(){if(void 0===Ru&&(Ru=null,xn.trustedTypes))try{Ru=xn.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Ru}function yl(t){return _h()?.createHTML(t)||t}function dm(){if(void 0===vh&&(vh=null,xn.trustedTypes))try{vh=xn.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function yb(t){return dm()?.createHTML(t)||t}function bb(t){return dm()?.createScript(t)||t}function Cb(t){return dm()?.createScriptURL(t)||t}class bl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${bt})`}}class hm extends bl{getTypeName(){return"HTML"}}class DD extends bl{getTypeName(){return"Style"}}class AD extends bl{getTypeName(){return"Script"}}class TD extends bl{getTypeName(){return"URL"}}class vc extends bl{getTypeName(){return"ResourceURL"}}function Pa(t){return t instanceof bl?t.changingThisBreaksApplicationSecurity:t}function Cl(t,r){const s=Sb(t);if(null!=s&&s!==r){if("ResourceURL"===s&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${s} (see ${bt})`)}return s===r}function Sb(t){return t instanceof bl&&t.getTypeName()||null}function Mb(t){return new hm(t)}function PD(t){return new DD(t)}function ID(t){return new AD(t)}function kD(t){return new TD(t)}function fm(t){return new vc(t)}function Eb(t){const r=new xD(t);return function gm(){try{return!!(new window.DOMParser).parseFromString(yl(""),"text/html")}catch{return!1}}()?new wb(r):r}class wb{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const s=(new window.DOMParser).parseFromString(yl(r),"text/html").body;return null===s?this.inertDocumentHelper.getInertBodyElement(r):(s.removeChild(s.firstChild),s)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const s=this.inertDocument.createElement("template");return s.innerHTML=yl(r),s}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function yh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Ia(t){const r={};for(const s of t.split(","))r[s]=!0;return r}function yc(...t){const r={};for(const s of t)for(const m in s)s.hasOwnProperty(m)&&(r[m]=!0);return r}const Db=Ia("area,br,col,hr,img,wbr"),$a=Ia("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ab=Ia("rp,rt"),mm=yc(Db,yc($a,Ia("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")),yc(Ab,Ia("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")),yc(Ab,$a)),pm=Ia("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Tb=yc(pm,Ia("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"),Ia("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")),RD=Ia("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let s=r.firstChild,m=!0;for(;s;)if(s.nodeType===Node.ELEMENT_NODE?m=this.startElement(s):s.nodeType===Node.TEXT_NODE?this.chars(s.nodeValue):this.sanitizedSomething=!0,m&&s.firstChild)s=s.firstChild;else for(;s;){s.nodeType===Node.ELEMENT_NODE&&this.endElement(s);let D=this.checkClobberedElement(s,s.nextSibling);if(D){s=D;break}s=this.checkClobberedElement(s,s.parentNode)}return this.buf.join("")}startElement(r){const s=r.nodeName.toLowerCase();if(!mm.hasOwnProperty(s))return this.sanitizedSomething=!0,!RD.hasOwnProperty(s);this.buf.push("<"),this.buf.push(s);const m=r.attributes;for(let D=0;D"),!0}endElement(r){const s=r.nodeName.toLowerCase();mm.hasOwnProperty(s)&&!Db.hasOwnProperty(s)&&(this.buf.push(""))}chars(r){this.buf.push(Sl(r))}checkClobberedElement(r,s){if(s&&(r.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${r.outerHTML}`);return s}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,jD=/([^\#-~ |!])/g;function Sl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(jD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let ka;function Pb(t,r){let s=null;try{ka=ka||Eb(t);let m=r?String(r):"";s=ka.getInertBodyElement(m);let D=5,O=m;do{if(0===D)throw new Error("Failed to sanitize html because the input is unstable");D--,m=O,O=s.innerHTML,s=ka.getInertBodyElement(m)}while(m!==O);return yl((new FD).sanitizeChildren(bh(s)||s))}finally{if(s){const m=bh(s)||s;for(;m.firstChild;)m.removeChild(m.firstChild)}}}function bh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ml=function(t){return t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL",t}(Ml||{});function _m(t){const r=Fu();return r?yb(r.sanitize(Ml.HTML,t)||""):Cl(t,"HTML")?yb(Pa(t)):Pb(No(),Vr(t))}function vm(t){const r=Fu();return r?r.sanitize(Ml.STYLE,t)||"":Cl(t,"Style")?Pa(t):Vr(t)}function ym(t){const r=Fu();return r?r.sanitize(Ml.URL,t)||"":Cl(t,"URL")?Pa(t):yh(Vr(t))}function Ch(t){const r=Fu();if(r)return Cb(r.sanitize(Ml.RESOURCE_URL,t)||"");if(Cl(t,"ResourceURL"))return Cb(Pa(t));throw new Qe(904,!1)}function bm(t){const r=Fu();if(r)return bb(r.sanitize(Ml.SCRIPT,t)||"");if(Cl(t,"Script"))return bb(Pa(t));throw new Qe(905,!1)}function Ib(t){return yl(t[0])}function Cm(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function xa(t,r,s){return function UD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:ym}(r,s)(t)}function Fu(){const t=vn();return t&&t[Vi].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Mh=new Map;let GD=0;function Mm(t){return Mh.get(t)||null}class Eh{get lView(){return Mm(this.lViewId)}constructor(r,s,m){this.lViewId=r,this.nodeIndex=s,this.native=m}}function Ms(t){let r=El(t);if(r){if(Ni(r)){const s=r;let m,D,O;if(wl(t)){if(m=function Em(t,r){const s=t[wn].components;if(s)for(let m=0;m=0){const ie=Ur(O[G]),_e=Nu(O,G,ie);_s(ie,_e),r=_e;break}}}}return r||null}function Nu(t,r,s){return new Eh(t[Rr],r,s)}const ju="__ngContext__";function _s(t,r){Ni(r)?(t[ju]=r[Rr],function QD(t){Mh.set(t[Rr],t)}(r)):t[ju]=r}function El(t){const r=t[ju];return"number"==typeof r?Mm(r):r||null}function wl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Rb(t,r){const s=t[wn];for(let m=ar;mr.replace(kb,VD))}(r))}function Ph(t,r,s){return t.createElement(r,s)}function $b(t,r){Lh(t,r,r[hr],2,null,null)}function Rm(t,r){const s=t[po],m=s.indexOf(r);s.splice(m,1)}function Bu(t,r){if(t.length<=zr)return;const s=zr+r,m=t[s];if(m){const D=m[zi];null!==D&&D!==t&&Rm(D,m),r>0&&(t[s-1][Pr]=m[Pr]);const O=Sa(t,zr+r);!function iA(t,r){$b(t,r),r[_r]=null,r[ai]=null}(m[wn],m);const G=O[ro];null!==G&&G.detachView(O[wn]),m[si]=null,m[Pr]=null,m[$n]&=-129}return m}function Ih(t,r){if(!(256&r[$n])){const s=r[hr];s.destroyNode&&Lh(t,r,s,3,null,null),function sA(t){let r=t[Yi];if(!r)return Fm(t[wn],t);for(;r;){let s=null;if(Ni(r))s=r[Yi];else{const m=r[zr];m&&(s=m)}if(!s){for(;r&&!r[Pr]&&r!==t;)Ni(r)&&Fm(r[wn],r),r=r[si];null===r&&(r=t),Ni(r)&&Fm(r[wn],r),s=r&&r[Pr]}r=s}}(r)}}function Fm(t,r){if(!(256&r[$n])){r[$n]&=-129,r[$n]|=256,r[qr]&&k(r[qr]),function cA(t,r){let s;if(null!=t&&null!=(s=t.destroyHooks))for(let m=0;m=0?m[G]():m[-G].unsubscribe(),O+=2}else s[O].call(m[s[O+1]]);null!==m&&(r[ti]=null);const D=r[_i];if(null!==D){r[_i]=null;for(let O=0;O-1){const{encapsulation:O}=t.data[m.directiveStart+D];if(O===br.None||O===br.Emulated)return null}return Xi(m,s)}}function Al(t,r,s,m,D){t.insertBefore(r,s,m,D)}function Qb(t,r,s){t.appendChild(r,s)}function Nm(t,r,s,m,D){null!==m?Al(t,r,s,m,D):Qb(t,r,s)}function kh(t,r){return t.parentNode(r)}function Xb(t,r,s){return Jb(t,r,s)}function jm(t,r,s){return 40&t.type?Xi(t,s):null}let Bm,Jb=jm;function qb(t,r){Jb=t,Bm=r}function xh(t,r,s,m){const D=Uu(t,m,r),O=r[hr],ie=Xb(m.parent||r[ai],m,r);if(null!=D)if(Array.isArray(s))for(let _e=0;_ear&&s0(t,r,ar,!1),pa(G?2:0,D),s(m,D)}finally{Yo(O),pa(G?3:1,D)}}function Rh(t,r,s){if(Lo(r)){const m=l(null);try{const O=r.directiveEnd;for(let G=r.directiveStart;Gnull;function bA(t){Jl(t)?Hm(t):function Xw(t){const r=No(),s=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(O){const G=function Zw(t){return t.textContent?.replace(/\s/gm,"")}(O);return"ngetn"===G||"ngtns"===G?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let m;const D=[];for(;m=s.nextNode();)D.push(m);for(const O of D)"ngetn"===O.textContent?O.replaceWith(r.createTextNode("")):O.remove()}(t)}function Nh(t,r,s,m,D){for(let O in r){if(!r.hasOwnProperty(O))continue;const G=r[O];if(void 0===G)continue;m??={};let ie,_e=ct.None;Array.isArray(G)?(ie=G[0],_e=G[1]):ie=G;let Ve=O;if(null!==D){if(!D.hasOwnProperty(O))continue;Ve=D[O]}0===t?h0(m,s,Ve,ie,_e):h0(m,s,Ve,ie)}return m}function h0(t,r,s,m,D){let O;t.hasOwnProperty(s)?(O=t[s]).push(r,m):O=t[s]=[r,m],void 0!==D&&O.push(D)}function Es(t,r,s,m,D,O,G,ie){const _e=Xi(r,s);let tt,Ve=r.inputs;!ie&&null!=Ve&&(tt=Ve[m])?(Zm(t,s,tt,m,D),Oi(r)&&function EA(t,r){const s=Di(r,t);16&s[$n]||(s[$n]|=64)}(s,r.index)):3&r.type&&(m=function MA(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(m),D=null!=G?G(D,r.value||"",m):D,O.setProperty(_e,m,D))}function $m(t,r,s,m){if(tr()){const D=null===m?null:{"":-1},O=function Vu(t,r){const s=t.directiveRegistry;let m=null,D=null;if(s)for(let O=0;O0;){const s=t[--r];if("number"==typeof s&&s<0)return s}return 0})(G)!=ie&&G.push(ie),G.push(s,m,O)}}(t,r,m,Hu(t,s,D.hostVars,ri),D)}function va(t,r,s,m,D,O){const G=Xi(t,r);wc(r[hr],G,O,t.value,s,m,D)}function wc(t,r,s,m,D,O,G){if(null==O)t.removeAttribute(r,D,s);else{const ie=null==G?Vr(O):G(O,m||"",D);t.setAttribute(r,D,ie,s)}}function kA(t,r,s,m,D,O){const G=O[r];if(null!==G)for(let ie=0;ie0&&(s[D-1][Pr]=r),m{nt(t.lView)},consumerOnSignalRead(){this.lView[qr]=this}};function $u(t){return D0(t[Yi])}function w0(t){return D0(t[Pr])}function D0(t){for(;null!==t&&!Gr(t);)t=t[Pr];return t}function Ac(t,r=!0,s=0){const m=t[Vi],D=m.rendererFactory;D.begin?.();try{!function NA(t,r){ip(t,r);let s=0;for(;pe(t);){if(100===s)throw new Qe(103,!1);s++,ip(t,1)}}(t,s)}catch(G){throw r&&Vh(t,G),G}finally{D.end?.(),m.inlineEffectRunner?.flush()}}function BA(t,r,s,m){const D=r[$n];if(256==(256&D))return;r[Vi].inlineEffectRunner?.flush(),Qr(r);let G=null,ie=null;(function np(t){return 2!==t.type})(t)&&(ie=function Yh(t){return t[qr]??function LA(t){const r=tp.pop()??Object.create(RA);return r.lView=t,r}(t)}(r),G=M(ie));try{fs(r),rn(t.bindingStartIndex),null!==s&&c0(t,r,s,2,m);const _e=3==(3&D);if(_e){const pt=t.preOrderCheckHooks;null!==pt&&sh(r,pt,null)}else{const pt=t.preOrderHooks;null!==pt&&fc(r,pt,0,null),ku(r,0)}if(function P0(t){for(let r=$u(t);null!==r;r=w0(r)){if(!(r[$n]&bo.HasTransplantedViews))continue;const s=r[po];for(let m=0;m-1&&(Bu(r,m),Sa(s,m))}this._attachedToViewContainer=!1}Ih(this._lView[wn],this._lView)}onDestroy(r){yt(this._lView,r)}markForCheck(){Gu(this._cdRefInjectingView||this._lView)}detach(){this._lView[$n]&=-129}reattach(){Be(this._lView),this._lView[$n]|=128}detectChanges(){this._lView[$n]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Qe(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,$b(this._lView[wn],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new Qe(902,!1);this._appRef=r,Be(this._lView)}}let Ku=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=VA}return t})();const zh=Ku,HA=class extends zh{constructor(r,s,m){super(),this._declarationLView=r,this._declarationTContainer=s,this.elementRef=m}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,s){return this.createEmbeddedViewImpl(r,s)}createEmbeddedViewImpl(r,s,m){const D=Yu(this._declarationLView,this._declarationTContainer,r,{injector:s,dehydratedView:m});return new Tl(D)}};function VA(){return Wh(ei(),vn())}function Wh(t,r){return 4&t.type?new HA(r,t,Jo(t,r)):null}const $h="<-- AT THIS LOCATION";function $A(t){const m=`During serialization, Angular detected DOM nodes that were created outside of Angular context and provided as projectable nodes (likely via \`ViewContainerRef.createComponent\` or \`createComponent\` APIs). Hydration is not supported for such cases, consider refactoring the code to avoid this pattern or using \`ngSkipHydration\` on the host element of the component.\n\n${function Gh(t){const r=" ";let s="";const m=t;return m.previousSibling&&(s+=" \u2026\n",s+=r+Tc(m.previousSibling)+"\n"),s+=r+Tc(m)+` ${$h}\n`,t.nextSibling&&(s+=" \u2026\n"),t.parentNode&&(s=Tc(m.parentNode,"\n"+s)),s}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new Qe(-503,m)}const KA=new Set(["ngh","ng-version","ng-server-context"]);function op(t,r="\u2026"){switch(t.type){case 1:return"#text"+(t.value?`(${t.value})`:"");case 2:const m=function GA(t){const r=[];if(t.attrs)for(let s=0;s${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function YA(t){switch(t){case 4:return"view container";case 2:return"element";case 8:return"ng-container";case 32:return"icu";case 64:return"i18n";case 16:return"projection";case 1:return"text";default:return""}}(t.type)})`}}function Tc(t,r="\u2026"){const s=t;switch(s.nodeType){case Node.ELEMENT_NODE:const m=s.tagName.toLowerCase(),D=function O0(t){const r=[];for(let s=0;s${r}`;case Node.TEXT_NODE:const O=s.textContent?Pc(s.textContent):"";return"#text"+(O?`(${O})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${Pc(s.textContent??"")} --\x3e`;default:return`#node(${s.nodeType})`}}function Pc(t,r=50){return t?(t=function QA(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function R0(t){const r=t[wi]??[],m=t[si][hr];for(const D of r)ZA(D,m);t[wi]=Xn}function ZA(t,r){let s=0,m=t.firstChild;if(m){const D=t.data[oc];for(;s0&&s[D-1]===m?s[D]=(s[D]||1)+1:s.push(m,"")}return s.join("")}(s,m)}function j0(t,r){let m,D,O,s=t.parent;for(;null!==s&&Xu(s,r);)s=s.parent;null!==s&&3&s.type?(m=s.index,D=Ur(r[m]),O=Vr(m-ar)):(m=O=Og,D=r[Jr][_r]);let G=Ur(r[t.index]);if(12&t.type){const _e=Mc(r,t);_e&&(G=_e)}let ie=N0(D,G,O);if(null===ie&&D!==G&&(ie=N0(D.ownerDocument.body,G,Lg),null===ie))throw function WA(t,r){const m=`${function sp(t,r,s){const m=" ";let D="";r.prev?(D+=" \u2026\n",D+=m+op(r.prev)+"\n"):r.type&&12&r.type&&(D+=" \u2026\n"),s?(D+=m+op(r)+"\n",D+=m+`\x3c!-- container --\x3e ${$h}\n`):D+=m+op(r)+` ${$h}\n`,D+=" \u2026\n";const O=r.type?Uu(t[wn],r,t):null;return O&&(D=Tc(O,"\n"+D)),D}(t,r,!1)}\n\n`,D=function Qu(t){return`To fix this problem:\n * check ${t?`the "${t}"`:"corresponding"} component for hydration-related issues\n * check to see if your template has valid HTML structure\n * or skip hydration by adding the \`ngSkipHydration\` attribute to its host node in a template\n\n`}();throw new Qe(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+m+D)}(r,t);return ie}let up=()=>null;function r1(t,r){const s=t[wi];return r&&null!==s&&0!==s.length?s[0].data[hl]===r?s.shift():(R0(t),null):null}function Pl(t,r){return up(t,r)}class hp{}class Xh{}class Ju{}class o1{resolveComponentFactory(r){throw function i1(t){const r=Error(`No component factory found for ${Bt(t)}.`);return r.ngComponent=t,r}(r)}}let qu=(()=>{class t{static#e=this.NULL=new o1}return t})();class B0{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function s1(){const t=vn(),s=Di(ei().index,t);return(Ni(s)?s:t)[hr]}()}return t})(),gp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>null})}return t})();const ed={};function mp(t){return"function"==typeof t&&void 0!==t[e]}const U0=new Set;function zs(t){U0.has(t)||(U0.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function a1(t,r){zs("NgSignals");const s=j(t);return r?.equal&&(s[e].equal=r.equal),s}function l1(t){return null}function Po(t,r){zs("NgSignals");const s=function X(t){const r=Object.create(me);r.value=t;const s=()=>(C(r),r.value);return s[e]=r,s}(t),m=s[e];return r?.equal&&(m.equal=r.equal),s.set=D=>q(m,D),s.update=D=>function de(t,r){S()||K(),q(t,r(t.value))}(m,D),s.asReadonly=c1.bind(s),s}function c1(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Jh(t){return mp(t)&&"function"==typeof t.set}function u1(t){const r=l(null);try{return t()}finally{l(r)}}function qh(t){return!!td(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function td(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new z0(r)}}const h1=(t,r)=>r;class z0{constructor(r){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=r||h1}forEachItem(r){let s;for(s=this._itHead;null!==s;s=s._next)r(s)}forEachOperation(r){let s=this._itHead,m=this._removalsHead,D=0,O=null;for(;s||m;){const G=!m||s&&s.currentIndex{G=this._trackByFn(D,ie),null!==s&&Object.is(s.trackById,G)?(m&&(s=this._verifyReinsertion(s,ie,G,D)),Object.is(s.item,ie)||this._addIdentityChange(s,ie)):(s=this._mismatch(s,ie,G,D),m=!0),s=s._next,D++}),this.length=D;return this._truncate(s),this.collection=r,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let r;for(r=this._previousItHead=this._itHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._additionsHead;null!==r;r=r._nextAdded)r.previousIndex=r.currentIndex;for(this._additionsHead=this._additionsTail=null,r=this._movesHead;null!==r;r=r._nextMoved)r.previousIndex=r.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(r,s,m,D){let O;return null===r?O=this._itTail:(O=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._reinsertAfter(r,O,D)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(m,D))?(Object.is(r.item,s)||this._addIdentityChange(r,s),this._moveAfter(r,O,D)):r=this._addAfter(new _p(s,m),O,D),r}_verifyReinsertion(r,s,m,D){let O=null===this._unlinkedRecords?null:this._unlinkedRecords.get(m,null);return null!==O?r=this._reinsertAfter(O,r._prev,D):r.currentIndex!=D&&(r.currentIndex=D,this._addToMoves(r,D)),r}_truncate(r){for(;null!==r;){const s=r._next;this._addToRemovals(this._unlink(r)),r=s}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(r,s,m){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const D=r._prevRemoved,O=r._nextRemoved;return null===D?this._removalsHead=O:D._nextRemoved=O,null===O?this._removalsTail=D:O._prevRemoved=D,this._insertAfter(r,s,m),this._addToMoves(r,m),r}_moveAfter(r,s,m){return this._unlink(r),this._insertAfter(r,s,m),this._addToMoves(r,m),r}_addAfter(r,s,m){return this._insertAfter(r,s,m),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,s,m){const D=null===s?this._itHead:s._next;return r._next=D,r._prev=s,null===D?this._itTail=r:D._prev=r,null===s?this._itHead=r:s._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=m,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const s=r._prev,m=r._next;return null===s?this._itHead=m:s._next=m,null===m?this._itTail=s:m._prev=s,r}_addToMoves(r,s){return r.previousIndex===s||(this._movesTail=null===this._movesTail?this._movesHead=r:this._movesTail._nextMoved=r),r}_addToRemovals(r){return null===this._unlinkedRecords&&(this._unlinkedRecords=new vp),this._unlinkedRecords.put(r),r.currentIndex=null,r._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=r,r._prevRemoved=null):(r._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=r),r}_addIdentityChange(r,s){return r.item=s,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,s){this.item=r,this.trackById=s,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class f1{constructor(){this._head=null,this._tail=null}add(r){null===this._head?(this._head=this._tail=r,r._nextDup=null,r._prevDup=null):(this._tail._nextDup=r,r._prevDup=this._tail,r._nextDup=null,this._tail=r)}get(r,s){let m;for(m=this._head;null!==m;m=m._nextDup)if((null===s||s<=m.currentIndex)&&Object.is(m.trackById,r))return m;return null}remove(r){const s=r._prevDup,m=r._nextDup;return null===s?this._head=m:s._nextDup=m,null===m?this._tail=s:m._prevDup=s,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const s=r.trackById;let m=this.map.get(s);m||(m=new f1,this.map.set(s,m)),m.add(r)}get(r,s){const D=this.map.get(r);return D?D.get(r,s):null}remove(r){const s=r.trackById;return this.map.get(s).remove(r)&&this.map.delete(s),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function W0(t,r,s){const m=t.previousIndex;if(null===m)return m;let D=0;return s&&m{if(s&&s.key===D)this._maybeAddToChanges(s,m),this._appendAfter=s,s=s._next;else{const O=this._getOrCreateRecordForKey(D,m);s=this._insertBeforeOrAppend(s,O)}}),s){s._prev&&(s._prev._next=null),this._removalsHead=s;for(let m=s;null!==m;m=m._nextRemoved)m===this._mapHead&&(this._mapHead=null),this._records.delete(m.key),m._nextRemoved=m._next,m.previousValue=m.currentValue,m.currentValue=null,m._prev=null,m._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,s){if(r){const m=r._prev;return s._next=r,s._prev=m,r._prev=s,m&&(m._next=s),r===this._mapHead&&(this._mapHead=s),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=s,s._prev=this._appendAfter):this._mapHead=s,this._appendAfter=s,null}_getOrCreateRecordForKey(r,s){if(this._records.has(r)){const D=this._records.get(r);this._maybeAddToChanges(D,s);const O=D._prev,G=D._next;return O&&(O._next=G),G&&(G._prev=O),D._next=null,D._prev=null,D}const m=new g1(r);return this._records.set(r,m),m.currentValue=s,this._addToAdditions(m),m}_reset(){if(this.isDirty){let r;for(this._previousMapHead=this._mapHead,r=this._previousMapHead;null!==r;r=r._next)r._nextPrevious=r._next;for(r=this._changesHead;null!==r;r=r._nextChanged)r.previousValue=r.currentValue;for(r=this._additionsHead;null!=r;r=r._nextAdded)r.previousValue=r.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(r,s){Object.is(s,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=s,this._addToChanges(r))}_addToAdditions(r){null===this._additionsHead?this._additionsHead=this._additionsTail=r:(this._additionsTail._nextAdded=r,this._additionsTail=r)}_addToChanges(r){null===this._changesHead?this._changesHead=this._changesTail=r:(this._changesTail._nextChanged=r,this._changesTail=r)}_forEach(r,s){r instanceof Map?r.forEach(s):Object.keys(r).forEach(m=>s(r[m],m))}}class g1{constructor(r){this.key=r,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function yp(){return new bp([new pp])}let bp=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:yp});constructor(s){this.factories=s}static create(s,m){if(null!=m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||yp()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(null!=m)return m;throw new Qe(901,!1)}}return t})();function K0(){return new nd([new $0])}let nd=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:K0});constructor(s){this.factories=s}static create(s,m){if(m){const D=m.factories.slice();s=s.concat(D)}return new t(s)}static extend(s){return{provide:t,useFactory:m=>t.create(s,m||K0()),deps:[[t,new Gd,new $d]]}}find(s){const m=this.factories.find(D=>D.supports(s));if(m)return m;throw new Qe(901,!1)}}return t})();function Q0(t,r){const s=qh(t),m=qh(r);return s&&m?function d1(t,r,s){const m=t[Symbol.iterator](),D=r[Symbol.iterator]();for(;;){const O=m.next(),G=D.next();if(O.done&&G.done)return!0;if(O.done||G.done||!s(O.value,G.value))return!1}}(t,r,Q0):!(s||!t||"object"!=typeof t&&"function"!=typeof t||m||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=kc}return t})();function kc(t){return function p1(t,r,s){if(Oi(t)&&!s){const m=Di(t.index,r);return new Tl(m,m)}return 47&t.type?new Tl(r[Jr],r):null}(ei(),vn(),16==(16&t))}const Z0=[new $0],ks=new bp([new pp]),v1=new nd(Z0);let xc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=X0;static#t=this.__NG_ENV_ID__=s=>s}return t})();class y1 extends xc{constructor(r){super(),this._lView=r}onDestroy(r){return yt(this._lView,r),()=>It(this._lView,r)}}function X0(){return new y1(vn())}function b1(t,r){if(null!==function c(){return d}())throw new Qe(-602,!1)}const J0=new st("",{providedIn:"root",factory:()=>lt(q0)});let q0=(()=>{class t{static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new eC})}return t})();class eC{constructor(){this.hasQueuedFlush=!1,this.queuedEffectCount=0,this.queues=new Map}scheduleEffect(r){this.enqueue(r),this.hasQueuedFlush||(queueMicrotask(()=>this.flush()),this.hasQueuedFlush=!1)}enqueue(r){const s=r.creationZone;this.queues.has(s)||this.queues.set(s,new Set);const m=this.queues.get(s);m.has(r)||(this.queuedEffectCount++,m.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,s]of this.queues)null===r?this.flushQueue(s):r.run(()=>this.flushQueue(s))}flushQueue(r){for(const s of r)r.delete(s),this.queuedEffectCount--,s.run()}}class C1{constructor(r,s,m,D,O,G){this.scheduler=r,this.effectFn=s,this.creationZone=m,this.injector=O,this.watcher=function Re(t,r,s){const m=Object.create(ge);s&&(m.consumerAllowSignalWrites=!0),m.fn=t,m.schedule=r;const D=_e=>{m.cleanupFn=_e};return m.ref={notify:()=>v(m),run:()=>{if(null===m.fn)return;if(function g(){return a}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(m.dirty=!1,m.hasRun&&!A(m))return;m.hasRun=!0;const _e=M(m);try{m.cleanupFn(),m.cleanupFn=Ae,m.fn(D)}finally{E(m,_e)}},cleanup:()=>m.cleanupFn(),destroy:()=>function G(_e){(function O(_e){return null===_e.fn&&null===_e.schedule})(_e)||(k(_e),_e.cleanupFn(),_e.fn=null,_e.schedule=null,_e.cleanupFn=Ae)}(m),[e]:m},m.ref}(ie=>this.runEffect(ie),()=>this.schedule(),G),this.unregisterOnDestroy=D?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(s){this.injector.get(Fs,null,{optional:!0})?.handleError(s)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Sp(t,r){zs("NgSignals"),!r?.injector&&pl();const s=r?.injector??lt(Rs),m=!0!==r?.manualCleanup?s.get(xc):null,D=new C1(s.get(J0),t,typeof Zone>"u"?null:Zone.current,m,s,r?.allowSignalWrites??!1),O=s.get(Cp,null,{optional:!0});return O&&8&O._lView[$n]?(O._lView[xi]??=[]).push(D.watcher.notify):D.watcher.notify(),D}function tC(...t){}class Oo{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:s=!1,shouldCoalesceRunChangeDetection:m=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Ee(!1),this.onMicrotaskEmpty=new Ee(!1),this.onStable=new Ee(!1),this.onError=new Ee(!1),typeof Zone>"u")throw new Qe(908,!1);Zone.assertZonePatched();const D=this;D._nesting=0,D._outer=D._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(D._inner=D._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(D._inner=D._inner.fork(Zone.longStackTraceZoneSpec)),D.shouldCoalesceEventChangeDetection=!m&&s,D.shouldCoalesceRunChangeDetection=m,D.lastRequestAnimationFrameId=-1,D.nativeRequestAnimationFrame=function ef(){const t="function"==typeof xn.requestAnimationFrame;let r=xn[t?"requestAnimationFrame":"setTimeout"],s=xn[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&s){const m=r[Zone.__symbol__("OriginalDelegate")];m&&(r=m);const D=s[Zone.__symbol__("OriginalDelegate")];D&&(s=D)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:s}}().nativeRequestAnimationFrame,function ba(t){const r=()=>{!function M1(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(xn,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Mp(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Mp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(s,m,D,O,G,ie)=>{if(function E1(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(ie))return s.invokeTask(D,O,G,ie);try{return rd(t),s.invokeTask(D,O,G,ie)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===O.type||t.shouldCoalesceRunChangeDetection)&&r(),nC(t)}},onInvoke:(s,m,D,O,G,ie,_e)=>{try{return rd(t),s.invoke(D,O,G,ie,_e)}finally{t.shouldCoalesceRunChangeDetection&&r(),nC(t)}},onHasTask:(s,m,D,O)=>{s.hasTask(D,O),m===D&&("microTask"==O.change?(t._hasPendingMicrotasks=O.microTask,Mp(t),tf(t)):"macroTask"==O.change&&(t.hasPendingMacrotasks=O.macroTask))},onHandleError:(s,m,D,O)=>(s.handleError(D,O),t.runOutsideAngular(()=>t.onError.emit(O)),!1)})}(D)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Oo.isInAngularZone())throw new Qe(909,!1)}static assertNotInAngularZone(){if(Oo.isInAngularZone())throw new Qe(909,!1)}run(r,s,m){return this._inner.run(r,s,m)}runTask(r,s,m,D){const O=this._inner,G=O.scheduleEventTask("NgZoneEvent: "+D,r,S1,tC,tC);try{return O.runTask(G,s,m)}finally{O.cancelTask(G)}}runGuarded(r,s,m){return this._inner.runGuarded(r,s,m)}runOutsideAngular(r){return this._outer.run(r)}}const S1={};function tf(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function Mp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function rd(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function nC(t){t._nesting--,tf(t)}class Ep{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Ee,this.onMicrotaskEmpty=new Ee,this.onStable=new Ee,this.onError=new Ee}run(r,s,m){return r.apply(s,m)}runGuarded(r,s,m){return r.apply(s,m)}runOutsideAngular(r){return r()}runTask(r,s,m,D){return r.apply(s,m)}}var Ka=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(Ka||{});const nf={destroy(){}};function rf(t,r){const s=r?.injector??lt(Rs);(r?.runOnServer||Ga(s))&&s.get(Il).internalCallbacks.push(t)}function wp(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;zs("NgAfterRender");const m=s.get(Il),D=m.handler??=new oC,O=r?.phase??Ka.MixedReadWrite,G=()=>{D.unregister(_e),ie()},ie=s.get(xc).onDestroy(G),_e=new id(s,O,t);return D.register(_e),{destroy:G}}function iC(t,r){!r&&pl();const s=r?.injector??lt(Rs);if(!Ga(s))return nf;zs("NgAfterNextRender");const m=s.get(Il),D=m.handler??=new oC,O=r?.phase??Ka.MixedReadWrite,G=()=>{D.unregister(_e),ie()},ie=s.get(xc).onDestroy(G),_e=new id(s,O,()=>{G(),t()});return D.register(_e),{destroy:G}}class id{constructor(r,s,m){this.phase=s,this.callbackFn=m,this.zone=r.get(Oo),this.errorHandler=r.get(Fs,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class oC{constructor(){this.executingCallbacks=!1,this.buckets={[Ka.EarlyRead]:new Set,[Ka.Write]:new Set,[Ka.MixedReadWrite]:new Set,[Ka.Read]:new Set},this.deferredCallbacks=new Set}register(r){(this.executingCallbacks?this.deferredCallbacks:this.buckets[r.phase]).add(r)}unregister(r){this.buckets[r.phase].delete(r),this.deferredCallbacks.delete(r)}execute(){this.executingCallbacks=!0;for(const r of Object.values(this.buckets))for(const s of r)s.invoke();this.executingCallbacks=!1;for(const r of this.deferredCallbacks)this.buckets[r.phase].add(r);this.deferredCallbacks.clear()}destroy(){for(const r of Object.values(this.buckets))r.clear();this.deferredCallbacks.clear()}}let Il=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const s=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const m of s)m()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function Qa(t){return!!cr(t)}function of(t){return!!Ln(t)}function sC(t){return!!Yt(t)}function od(t){return!!ln(t)}function D1(t,r){if(Ha(t)&&!(t=Dr(t)))throw new Error(`Expected forwardRef function, imported from "${Bi(r)}", to return a standalone entity or NgModule but got "${Bi(t)||t}".`);if(null==cr(t)){const s=ln(t)||Yt(t)||Ln(t);if(null==s)throw Dp(t)?new Error(`A module with providers was imported from "${Bi(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${Bi(t)}" type, imported from "${Bi(r)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!s.standalone)throw new Error(`The "${Bi(t)}" ${function w1(t){return ln(t)?"component":Yt(t)?"directive":Ln(t)?"pipe":"type"}(t)}, imported from "${Bi(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class aC{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const r of this.ngModulesWithSomeUnresolvedDecls){const s=cr(r);if(s?.declarations)for(const m of Ns(s.declarations))od(m)&&this.ownerNgModule.set(m,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,s){this.resolveNgModulesDecls();const m=ln(r);if(null===m)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(m.standalone){const D=this.getStandaloneComponentScope(r,s);return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes,...D.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const D=this.getNgModuleScope(this.ownerNgModule.get(r));return D.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...D.compilation.directives,...D.compilation.pipes]}}}registerNgModule(r,s){if(!Qa(r))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${r}`);this.ngModulesWithSomeUnresolvedDecls.add(r)}clearScopeCacheFor(r){this.ngModulesScopeCache.delete(r),this.standaloneComponentsScopeCache.delete(r)}getNgModuleScope(r){if(this.ngModulesScopeCache.has(r))return this.ngModulesScopeCache.get(r);const s=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,s),s}computeNgModuleScope(r){const s=cr(r,!0),m={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const D of Ns(s.imports))if(Qa(D)){const O=this.getNgModuleScope(D);na(O.exported.directives,m.compilation.directives),na(O.exported.pipes,m.compilation.pipes)}else{if(!lr(D)){m.compilation.isPoisoned=!0;break}if(sC(D)||od(D))m.compilation.directives.add(D);else{if(!of(D))throw new Qe(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");m.compilation.pipes.add(D)}}if(!m.compilation.isPoisoned)for(const D of Ns(s.declarations)){if(Qa(D)||lr(D)){m.compilation.isPoisoned=!0;break}of(D)?m.compilation.pipes.add(D):m.compilation.directives.add(D)}for(const D of Ns(s.exports))if(Qa(D)){const O=this.getNgModuleScope(D);na(O.exported.directives,m.exported.directives),na(O.exported.pipes,m.exported.pipes),na(O.exported.directives,m.compilation.directives),na(O.exported.pipes,m.compilation.pipes)}else of(D)?m.exported.pipes.add(D):m.exported.directives.add(D);return m}getStandaloneComponentScope(r,s){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const m=this.computeStandaloneComponentScope(r,s);return this.standaloneComponentsScopeCache.set(r,m),m}computeStandaloneComponentScope(r,s){const m={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const D of ls(s??[])){const O=Dr(D);try{D1(O,r)}catch{return m.compilation.isPoisoned=!0,m}if(Qa(O)){m.compilation.ngModules.add(O);const G=this.getNgModuleScope(O);if(G.exported.isPoisoned)return m.compilation.isPoisoned=!0,m;na(G.exported.directives,m.compilation.directives),na(G.exported.pipes,m.compilation.pipes)}else if(of(O))m.compilation.pipes.add(O);else{if(!sC(O)&&!od(O))return m.compilation.isPoisoned=!0,m;m.compilation.directives.add(O)}}return m}isOrphanComponent(r){const s=ln(r);return!(!s||s.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function na(t,r){for(const s of t)r.add(s)}const Oc=new aC;function sf(t,r,s){let m=s?t.styles:null,D=s?t.classes:null,O=0;if(null!==r)for(let G=0;G0&&n0(t,s,O.join(" "))}}(Ft,Fi,hn,m),void 0!==s&&function fC(t,r,s){const m=t.projection=[];for(let D=0;D{class t{static#e=this.__NG_ELEMENT_ID__=k1}return t})();function k1(){return vC(ei(),vn())}const mC=lf,pC=class extends mC{constructor(r,s,m){super(),this._lContainer=r,this._hostTNode=s,this._hostLView=m}get element(){return Jo(this._hostTNode,this._hostLView)}get injector(){return new es(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(nm(r)){const s=Lu(r,this._hostLView),m=Ou(r);return new es(s[wn].data[m+8],s)}return new es(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const s=_C(this._lContainer);return null!==s&&s[r]||null}get length(){return this._lContainer.length-zr}createEmbeddedView(r,s,m){let D,O;"number"==typeof m?D=m:null!=m&&(D=m.index,O=m.injector);const G=Pl(this._lContainer,r.ssrId),ie=r.createEmbeddedViewImpl(s||{},O,G);return this.insertImpl(ie,D,Dc(this._hostTNode,G)),ie}createComponent(r,s,m,D,O){const G=r&&!dc(r);let ie;if(G)ie=s;else{const hn=s||{};ie=hn.index,m=hn.injector,D=hn.projectableNodes,O=hn.environmentInjector||hn.ngModuleRef}const _e=G?r:new Lc(ln(r)),Ve=m||this.parentInjector;if(!O&&null==_e.ngModule){const An=(G?Ve:this.parentInjector).get(Js,null);An&&(O=An)}const tt=ln(_e.componentType??{}),pt=Pl(this._lContainer,tt?.id??null),Wt=_e.create(Ve,D,pt?.firstChild??null,O);return this.insertImpl(Wt.hostView,ie,Dc(this._hostTNode,pt)),Wt}insert(r,s){return this.insertImpl(r,s,!0)}insertImpl(r,s,m){const D=r._lView;if(function os(t){return Gr(t[si])}(D)){const ie=this.indexOf(r);if(-1!==ie)this.detach(ie);else{const _e=D[si],Ve=new pC(_e,_e[ai],_e[si]);Ve.detach(Ve.indexOf(r))}}const O=this._adjustIndex(s),G=this._lContainer;return zu(G,D,O,m),r.attachToViewContainerRef(),nl(ad(G),O,r),r}move(r,s){return this.insert(r,s)}indexOf(r){const s=_C(this._lContainer);return null!==s?s.indexOf(r):-1}remove(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);m&&(Sa(ad(this._lContainer),s),Ih(m[wn],m))}detach(r){const s=this._adjustIndex(r,-1),m=Bu(this._lContainer,s);return m&&null!=Sa(ad(this._lContainer),s)?new Tl(m):null}_adjustIndex(r,s=0){return r??this.length+s}};function _C(t){return t[8]}function ad(t){return t[8]||(t[8]=[])}function vC(t,r){let s;const m=r[t.index];return Gr(m)?s=m:(s=p0(m,r,null,t),r[t.index]=s,Hh(r,s)),yC(s,r,t,m),new pC(s,t,r)}let yC=Tp,cf=()=>!1;function bC(t,r,s){return cf(t,r,s)}function Tp(t,r,s,m){if(t[yi])return;let D;D=8&s.type?Ur(m):function x1(t,r){const s=t[hr],m=s.createComment(""),D=Xi(r,t);return Al(s,kh(s,D),m,function dA(t,r){return t.nextSibling(r)}(s,D),!1),m}(r,s),t[yi]=D}function O1(t,r,s){if(t[yi]&&t[wi])return!0;const m=s[On],D=r.index-ar;if(!m||$i(r)||Wd(m,D))return!1;const G=Hg(m,D),ie=m.data[ma]?.[D],[_e,Ve]=function n1(t,r){const s=[];for(const m of r)for(let D=0;D<(m[dl]??1);D++){const O={data:m,firstChild:null};m[oc]>0&&(O.firstChild=t,t=Qh(m[oc],t)),s.push(O)}return[t,s]}(G,ie);return t[yi]=_e,t[wi]=Ve,!0}function CC(t,r,s,m){cf(t,s,r)||Tp(t,r,s,m)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Pp{constructor(r=[]){this.queries=r}createEmbeddedView(r){const s=r.queries;if(null!==s){const m=null!==r.contentQueries?r.contentQueries[0]:s.length,D=[];for(let O=0;Or.trim())}(r):r}}class ld{constructor(r=[]){this.queries=r}elementStart(r,s){for(let m=0;m0)m.push(G[ie/2]);else{const Ve=O[ie+1],tt=r[-_e];for(let pt=zr;pt{s._dirtyCounter();const D=function xC(t,r){const s=t._lView,m=t._queryIndex;if(void 0===s||void 0===m||4&s[$n])return r?void 0:Xn;const D=Op(s,m),O=cd(s,m);return D.reset(O,Kl),r?D.first:D._changesDetected||void 0===t._flatValue?t._flatValue=D.toArray():t._flatValue}(s,t);if(r&&void 0===D)throw new Qe(-951,!1);return D});return s=m[e],s._dirtyCounter=Po(0),s._flatValue=void 0,m}function Fp(){return Rp(!0,!1)}function IC(){return Rp(!0,!0)}function Rc(){return Rp(!1,!1)}function kC(t,r){const s=t[e];s._lView=vn(),s._queryIndex=r,s._queryList=Op(s._lView,r),s._queryList.onDirty(()=>s._dirtyCounter.update(m=>m+1))}function OC(t,r){return Fp()}const LC=(OC.required=function N1(t,r){return IC()},OC);function j1(t,r){return Rc()}function Np(t,r){return Fp()}const U1=(Np.required=function B1(t,r){return IC()},Np);function RC(t,r){return Rc()}function FC(t){const r=[],s=Object.create(un);function m(){return C(s),jp(s.value),s.value}return s.value=t,m[e]=s,m.asReadonly=()=>m(),m.set=O=>{s.equal(s.value,O)||(q(s,O),function D(O){for(let G=0;G{jp(s.value),m.set(O(s.value))},m.subscribe=O=>(r.push(O),()=>{const G=r.indexOf(O);G>-1&&r.splice(G,1)}),m}function jp(t){if(t===sn)throw new Qe(-952,!1)}function NC(t){return FC(t)}const jC=(NC.required=function H1(){return FC(sn)},NC);class Fc{}const V1=Va("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Fc),Y1=Va("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Fc),z1=Va("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Fc),W1=Va("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Fc);function UC(t){const r=[],s=new Map;function m(D){let O=s.get(D);if(!O){const G=t(D);s.set(D,O=G.then(K1))}return O}return Nc.forEach((D,O)=>{const G=[];D.templateUrl&&G.push(m(D.templateUrl).then(Ve=>{D.template=Ve}));const ie="string"==typeof D.styles?[D.styles]:D.styles||[];if(D.styles=ie,D.styleUrl&&D.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(D.styleUrls?.length){const Ve=D.styles.length,tt=D.styleUrls;D.styleUrls.forEach((pt,Ft)=>{ie.push(""),G.push(m(pt).then(Wt=>{ie[Ve+Ft]=Wt,tt.splice(tt.indexOf(pt),1),0==tt.length&&(D.styleUrls=void 0)}))})}else D.styleUrl&&G.push(m(D.styleUrl).then(Ve=>{ie.push(Ve),D.styleUrl=void 0}));const _e=Promise.all(G).then(()=>function zC(t){jc.delete(t)}(O));r.push(_e)}),Bp(),Promise.all(r).then(()=>{})}let Nc=new Map;const jc=new Set;function HC(t){return jc.has(t)}function VC(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Nc;return Nc=new Map,t}function G1(t){jc.clear(),t.forEach((r,s)=>jc.add(s)),Nc=t}function K1(t){return"string"==typeof t?t:t.text()}const hf=new Map;let Up=!0;function ff(t,r){(function Q1(t,r,s){if(r&&r!==s&&Up)throw new Error(`Duplicate module registered for ${t} - ${Bt(r)} vs ${Bt(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function Z1(t){Up=!t}function ud(t,r,s){const m=vn(),D=hi(),O=Xi(D,m);if(2===D.type&&"iframe"===r.toLowerCase()){const G=O;throw G.src="",G.srcdoc=yl(""),Oh(m[hr],G),new Qe(-910,!1)}return t}function WC(t){return Object.getPrototypeOf(t.prototype).constructor}function gf(t){let r=WC(t.type),s=!0;const m=[t];for(;r;){let D;if(Li(t))D=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new Qe(903,!1);D=r.\u0275dir}if(D){if(s){m.push(D);const G=t;G.inputs=mf(t.inputs),G.inputTransforms=mf(t.inputTransforms),G.declaredInputs=mf(t.declaredInputs),G.outputs=mf(t.outputs);const ie=D.hostBindings;ie&&GC(t,ie);const _e=D.viewQuery,Ve=D.contentQueries;if(_e&&J1(t,_e),Ve&&q1(t,Ve),X1(t,D),Or(t.outputs,D.outputs),Li(D)&&D.data.animation){const tt=t.data;tt.animation=(tt.animation||[]).concat(D.data.animation)}}const O=D.features;if(O)for(let G=0;G=0;m--){const D=t[m];D.hostVars=r+=D.hostVars,D.hostAttrs=Cn(D.hostAttrs,s=Cn(s,D.hostAttrs))}}(m)}function X1(t,r){for(const s in r.inputs){if(!r.inputs.hasOwnProperty(s)||t.inputs.hasOwnProperty(s))continue;const m=r.inputs[s];if(void 0!==m&&(t.inputs[s]=m,t.declaredInputs[s]=r.declaredInputs[s],null!==r.inputTransforms)){const D=Array.isArray(m)?m[0]:m;if(!r.inputTransforms.hasOwnProperty(D))continue;t.inputTransforms??={},t.inputTransforms[D]=r.inputTransforms[D]}}}function mf(t){return t===pr?{}:t===Xn?[]:t}function J1(t,r){const s=t.viewQuery;t.viewQuery=s?(m,D)=>{r(m,D),s(m,D)}:r}function q1(t,r){const s=t.contentQueries;t.contentQueries=s?(m,D,O)=>{r(m,D,O),s(m,D,O)}:r}function GC(t,r){const s=t.hostBindings;t.hostBindings=s?(m,D)=>{r(m,D),s(m,D)}:r}const eT=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function KC(t){let s,r=WC(t.type);s=Li(t)?r.\u0275cmp:r.\u0275dir;const m=t;for(const D of eT)m[D]=s[D];if(Li(s))for(const D of Vp)m[D]=s[D]}function dd(t){const r=s=>{const m=(Array.isArray(t)?t:t()).map(D=>"function"==typeof D?{directive:Dr(D),inputs:pr,outputs:pr}:{directive:Dr(D.directive),inputs:Yp(D.inputs),outputs:Yp(D.outputs)});null===s.hostDirectives?(s.findHostDirectiveDefs=QC,s.hostDirectives=m):s.hostDirectives.unshift(...m)};return r.ngInherit=!0,r}function QC(t,r,s){if(null!==t.hostDirectives)for(const m of t.hostDirectives){const D=Yt(m.directive);tT(D.declaredInputs,m.inputs),QC(D,r,s),s.set(D,m),r.push(D)}}function Yp(t){if(void 0===t||0===t.length)return pr;const r={};for(let s=0;ss()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends JC{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tS extends kl{constructor(r){super(),this.componentFactoryResolver=new lC(this),this.instance=null;const s=new cc([...r.providers,{provide:kl,useValue:this},{provide:qu,useValue:this.componentFactoryResolver}],r.parent||Aa(),r.debugName,new Set(["environment"]));this.injector=s,r.runEnvironmentInitializers&&s.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function zp(t,r,s=null){return new tS({providers:t,parent:r,debugName:s,runEnvironmentInitializers:!0}).injector}let nS=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(s,m,D,O){if(!this.cachedInjectors.has(s)){const G=D.length>0?zp(D,m,O):null;this.cachedInjectors.set(s,G)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iT(t){return t[vf]??null}function hd(t,r,s){const m=t;return m[vf]=()=>Promise.all(r()).then(D=>(s(...D),m[vf]=null,D)),m[vf]}function rS(t,r,s,m){return Jn(()=>{const D=t;null!==r&&(D.hasOwnProperty("decorators")&&void 0!==D.decorators?D.decorators.push(...r):D.decorators=r),null!==s&&(D.ctorParameters=s),null!==m&&(D.propDecorators=D.hasOwnProperty("propDecorators")&&void 0!==D.propDecorators?{...D.propDecorators,...m}:m)})}let fd=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new et.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const s=this.taskId++;return this.pendingTasks.add(s),s}remove(s){this.pendingTasks.delete(s),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vs(t,r,s){return t[r]=s}function gd(t,r){return t[r]}function jo(t,r,s){return!Object.is(t[r],s)&&(t[r]=s,!0)}function Za(t,r,s,m){const D=jo(t,r,s);return jo(t,r+1,m)||D}function yf(t,r,s,m,D){const O=Za(t,r,s,m);return jo(t,r+2,D)||O}function Ws(t,r,s,m,D,O){const G=Za(t,r,s,m);return Za(t,r+2,D,O)||G}function Bc(t,r,s,m,D,O,G,ie){const _e=vn(),Ve=wr(),tt=t+ar,pt=Ve.firstCreatePass?function oS(t,r,s,m,D,O,G,ie,_e){const Ve=r.consts,tt=Oa(r,t,4,G||null,io(Ve,ie));$m(r,s,tt,io(Ve,_e)),oh(r,tt);const pt=tt.tView=Fh(2,tt,m,D,O,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ve,null);return null!==r.queries&&(r.queries.template(r,tt),pt.queries=r.queries.embeddedTView(tt)),tt}(tt,Ve,_e,r,s,m,D,O,G):Ve.data[tt];at(pt,!1);const Ft=Wp(Ve,_e,pt,t);Qs()&&xh(Ve,_e,Ft,pt),_s(Ft,_e);const Wt=p0(Ft,_e,Ft,pt);return _e[tt]=Wt,Hh(_e,Wt),bC(Wt,pt,_e),Zi(pt)&&Ym(Ve,_e,pt),null!=G&&zm(_e,pt,ie),Bc}let Wp=sS;function sS(t,r,s,m){return Os(!0),r[hr].createComment("")}function oT(t,r,s,m){const D=r[On],O=!D||vr()||Wd(D,m);if(Os(O),O)return sS(0,r);const G=D.data[Fg]?.[m]??null;null!==G&&null!==s.tView&&null===s.tView.ssrId&&(s.tView.ssrId=G);const ie=ta(D,t,r,s);return Yd(D,m,ie),Qh(zd(D,m),ie)}var Bo=function(t){return t[t.NOT_STARTED=0]="NOT_STARTED",t[t.IN_PROGRESS=1]="IN_PROGRESS",t[t.COMPLETE=2]="COMPLETE",t[t.FAILED=3]="FAILED",t}(Bo||{});const bf=0,sT=1;var Io=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(Io||{}),md=function(t){return t[t.Initial=-1]="Initial",t}(md||{});const xl=0,Cf=1,Uc=2,Sf=3,aS=4,lS=5;var Mf=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Mf||{});function Ef(t,r,s){const m=1===t?lS:aS;null===r[m]&&(r[m]=[]),r[m].push(s)}function Gp(t,r){const s=1===t?lS:aS,m=r[s];if(null!==m){for(const D of m)D();r[s]=null}}function cS(t){Gp(1,t),Gp(0,t)}function pd(t){return t+1}function Xa(t,r){return t[pd(r.index)]}function js(t,r){const s=pd(r.index);return t.data[s]}function Kp(t,r){return r===Io.Placeholder?t.placeholderBlockConfig?.[bf]??null:r===Io.Loading?t.loadingBlockConfig?.[bf]??null:null}function Qp(t){return t.loadingBlockConfig?.[sT]??null}function dS(t,r){if(!t||0===t.length)return r;const s=new Set(t);for(const m of r)s.add(m);return t.length===s.size?t:Array.from(s)}function hS(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Zp=new WeakMap,Hc=new WeakMap,fS=["click","keydown"],Xp=["mouseenter","focusin"];let Vc=null,Af=0;class Jp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function gS(t,r){let s=Zp.get(t);if(!s){s=new Jp,Zp.set(t,s);for(const m of fS)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){Zp.delete(t);for(const O of fS)t.removeEventListener(O,D,wf)}}}function qp(t,r){let s=Df.get(t);if(!s){s=new Jp,Df.set(t,s);for(const m of Xp)t.addEventListener(m,s.listener,wf)}return s.callbacks.add(r),()=>{const{callbacks:m,listener:D}=s;if(m.delete(r),0===m.size){for(const O of Xp)t.removeEventListener(O,D,wf);Df.delete(t)}}}function mS(t,r,s){const m=s.get(Oo);let D=Hc.get(t);return Vc=Vc||m.runOutsideAngular(()=>new IntersectionObserver(O=>{for(const G of O)G.isIntersecting&&Hc.has(G.target)&&m.run(Hc.get(G.target).listener)})),D||(D=new Jp,m.runOutsideAngular(()=>Vc.observe(t)),Hc.set(t,D),Af++),D.callbacks.add(r),()=>{Hc.has(t)&&(D.callbacks.delete(r),0===D.callbacks.size&&(Vc?.unobserve(t),Hc.delete(t),Af--),0===Af&&(Vc?.disconnect(),Vc=null))}}function Ol(t,r,s,m,D,O,G){const ie=t[Xr];rf(function _e(){if(Ro(t))return;const Ve=Xa(t,r),tt=Ve[Cf];if(tt!==md.Initial&&tt!==Io.Placeholder)return;const pt=function cT(t,r,s){return null==s?t:s>=0?ne(s,t):t[r.index][zr]??null}(t,r,m);if(!pt)return void rf(_e,{injector:ie});if(Ro(pt))return;const Ft=function uT(t,r){return is(ar+r,t)}(pt,s),Wt=D(Ft,()=>{t!==pt&&It(pt,Wt),O()},ie);t!==pt&&yt(pt,Wt),Ef(G,Ve,Wt)},{injector:ie})}function pS(t,r){const m=r[Xr].get(vS);return m.add(t),()=>m.remove(t)}let vS=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=lt(Oo),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(s){(this.executingCallbacks?this.deferred:this.current).add(s),null===this.idleId&&this.scheduleIdleCallback()}remove(s){const{current:m,deferred:D}=this;m.delete(s),D.delete(s),0===m.size&&0===D.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const s=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const m of this.current)m();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const m of this.deferred)this.current.add(m);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(s))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();function yS(t){return(r,s)=>bS(t,r,s)}function bS(t,r,s){const D=s[Xr].get(hT);return D.add(t,r),()=>D.remove(r)}let hT=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(s,m){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+s,m),this.scheduleTimer()}remove(s){const{current:m,deferred:D}=this;-1===this.removeFromQueue(m,s)&&this.removeFromQueue(D,s),0===m.length&&0===D.length&&this.clearTimeout()}addToQueue(s,m,D){let O=s.length;for(let G=0;Gm){O=G;break}Ql(s,O,m,D)}removeFromQueue(s,m){let D=-1;for(let O=0;O-1&&aa(s,D,2),D}scheduleTimer(){const s=()=>{this.clearTimeout(),this.executingCallbacks=!0;const D=[...this.current],O=Date.now();for(let ie=0;ie=0&&aa(this.current,0,G+1),this.executingCallbacks=!1,this.deferred.length>0){for(let ie=0;ie0){const D=Date.now(),O=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-O>16){this.clearTimeout();const G=Math.max(O-D,16);this.invokeTimerAt=O,this.timeoutId=setTimeout(s,G)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}static#e=this.\u0275prov=ni({token:t,providedIn:"root",factory:()=>new t})}return t})();const fT=new st("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CS=new st("");function Tf(t){return t.get(CS,null,{optional:!0})?.behavior!==Mf.Manual&&Ga(t)}let e_=null;function t_(t,r,s,m){const D=t.consts;null!=s&&(r.placeholderBlockConfig=io(D,s)),null!=m&&(r.loadingBlockConfig=io(D,m)),null===e_&&(e_=gT)}function SS(t,r,s,m,D,O,G,ie,_e){const Ve=vn(),tt=wr(),pt=t+ar;if(Bc(t,null,0,0),tt.firstCreatePass){zs("NgDefer");const jn={primaryTmplIndex:r,loadingTmplIndex:m??null,placeholderTmplIndex:D??null,errorTmplIndex:O??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:s??null,loadingState:Bo.NOT_STARTED,loadingPromise:null,providers:null};_e?.(tt,jn,ie,G),function lT(t,r,s){const m=pd(r);t.data[m]=s}(tt,pt,jn)}const Ft=ei();bC(Ve[pt],Ft,Ve);const hn=[null,md.Initial,null,null,null,null];!function aT(t,r,s){t[pd(r)]=s}(Ve,pt,hn);const An=()=>cS(hn);Ef(0,hn,()=>It(Ve,An)),yt(Ve,An)}function n_(t){const r=vn();if(jo(r,J(),t)){const m=l(null);try{const D=!!t,O=hi(),ie=Xa(r,O)[Cf];!1===D&&ie===md.Initial?Ll(r,O):!0===D&&(ie===md.Initial||ie===Io.Placeholder)&&zc(r,O)}finally{l(m)}}}function MS(t){const r=vn();if(jo(r,J(),t)){const m=l(null);try{const D=!!t,O=r[wn],G=hi(),ie=js(O,G);!0===D&&ie.loadingState===Bo.NOT_STARTED&&Yc(ie,r,G)}finally{l(m)}}}function ES(){s_(pS)}function r_(){kS(pS)}function wS(){const t=vn(),r=ei(),m=t[Xr],D=js(t[wn],r);(!Tf(m)||null===D.loadingTmplIndex)&&Ll(t,r),zc(t,r)}function Pf(){const t=vn(),r=ei(),m=js(t[wn],r);m.loadingState===Bo.NOT_STARTED&&kf(m,t,r)}function DS(t){s_(yS(t))}function i_(t){kS(yS(t))}function AS(t,r){const s=vn(),m=ei();Ll(s,m),Ol(s,m,t,r,qp,()=>zc(s,m),0)}function o_(t,r){const s=vn(),m=ei(),O=js(s[wn],m);O.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,qp,()=>Yc(O,s,m),1)}function TS(t,r){const s=vn(),m=ei();Ll(s,m),Ol(s,m,t,r,gS,()=>zc(s,m),0)}function PS(t,r){const s=vn(),m=ei(),O=js(s[wn],m);O.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,gS,()=>Yc(O,s,m),1)}function If(t,r){const s=vn(),m=ei();Ll(s,m),Ol(s,m,t,r,mS,()=>zc(s,m),0)}function IS(t,r){const s=vn(),m=ei(),O=js(s[wn],m);O.loadingState===Bo.NOT_STARTED&&Ol(s,m,t,r,mS,()=>Yc(O,s,m),1)}function s_(t){const r=vn(),s=ei();Ll(r,s);const m=t(()=>zc(r,s),r);Ef(0,Xa(r,s),m)}function kS(t){const r=vn(),s=ei(),D=js(r[wn],s);D.loadingState===Bo.NOT_STARTED&&Ef(1,Xa(r,s),t(()=>Yc(D,r,s),r))}function Ra(t,r,s,m=!1){const D=s[si],O=D[wn];if(Ro(D))return;const G=Xa(D,r);if(OS(G[Cf],t)&&OS(G[xl]??-1,t)){const _e=js(O,r),tt=m||null===Qp(_e)&&null===Kp(_e,Io.Loading)&&!Kp(_e,Io.Placeholder)?xS:e_;try{tt(t,G,s,r,D)}catch(pt){Vh(D,pt)}}}function xS(t,r,s,m,D){const O=function uS(t,r,s){const D=js(r[wn],s);switch(t){case Io.Complete:return D.primaryTmplIndex;case Io.Loading:return D.loadingTmplIndex;case Io.Error:return D.errorTmplIndex;case Io.Placeholder:return D.placeholderTmplIndex;default:return null}}(t,D,m);if(null!==O){r[Cf]=t;const G=D[wn],_e=xo(G,O+ar),Ve=0;let tt;if(qm(s,Ve),t===Io.Complete){const Wt=js(G,m),hn=Wt.providers;if(hn&&hn.length>0){const jn=D[Xr].get(Js);tt=jn.get(nS).getOrCreateInjector(Wt,jn,hn,"")}}const pt=Pl(s,_e.tView.ssrId),Ft=Yu(D,_e,null,{dehydratedView:pt,injector:tt});zu(s,Ft,Ve,Dc(_e,pt)),Gu(Ft)}}function gT(t,r,s,m,D){const O=Date.now(),ie=js(D[wn],m);if(null===r[Uc]||r[Uc]<=O){r[Uc]=null;const _e=Qp(ie),Ve=null!==r[Sf];if(t!==Io.Loading||null===_e||Ve){t>Io.Loading&&Ve&&(r[Sf](),r[Sf]=null,r[xl]=null),xS(t,r,s,m,D);const tt=Kp(ie,t);null!==tt&&(r[Uc]=O+tt,a_(tt,r,m,s,D))}else{r[xl]=t;const tt=a_(_e,r,m,s,D);r[Sf]=tt}}else r[xl]=t}function a_(t,r,s,m,D){return bS(t,()=>{const G=r[xl];r[Uc]=null,r[xl]=null,null!==G&&Ra(G,s,m)},D)}function OS(t,r){return t{let pt=!1;const Ft=[],Wt=[];for(const hn of tt){if("fulfilled"!==hn.status){pt=!0;break}{const An=hn.value,jn=ln(An)||Yt(An);if(jn)Ft.push(jn);else{const dr=Ln(An);dr&&Wt.push(dr)}}}if(t.loadingPromise=null,_e.remove(Ve),pt){if(t.loadingState=Bo.FAILED,null===t.errorTmplIndex){Pm(r);const An=new Qe(750,!1);Vh(r,An)}}else{t.loadingState=Bo.COMPLETE;const hn=G.tView;if(Ft.length>0){hn.directiveRegistry=dS(hn.directiveRegistry,Ft);const jn=zg(!1,...Ft.map(dr=>dr.type));t.providers=jn}Wt.length>0&&(hn.pipeRegistry=dS(hn.pipeRegistry,Wt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Bo.COMPLETE,_e.remove(Ve)})}function Ll(t,r){Ra(Io.Placeholder,r,t[r.index])}function LS(t,r,s){t.loadingPromise.then(()=>{t.loadingState===Bo.COMPLETE?Ra(Io.Complete,r,s):t.loadingState===Bo.FAILED&&Ra(Io.Error,r,s)})}function zc(t,r){const s=t[wn],m=t[r.index];if(!Tf(t[Xr]))return;const O=Xa(t,r),G=js(s,r);switch(cS(O),G.loadingState){case Bo.NOT_STARTED:Ra(Io.Loading,r,m),kf(G,t,r),G.loadingState===Bo.IN_PROGRESS&&LS(G,r,m);break;case Bo.IN_PROGRESS:Ra(Io.Loading,r,m),LS(G,r,m);break;case Bo.COMPLETE:Ra(Io.Complete,r,m);break;case Bo.FAILED:Ra(Io.Error,r,m)}}function l_(t,r,s,m){const D=vn();return jo(D,J(),r)&&(wr(),va(hi(),D,t,r,s,m)),l_}function Rl(t,r){let s=!1,m=xt();for(let O=1;O>17&32767}function Ff(t){return 2|t}function Bl(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function m_(t){return 1|t}function NS(t,r,s,m){const D=t[s+1],O=null===r;let G=m?Ja(D):Bl(D),ie=!1;for(;0!==G&&(!1===ie||O);){const Ve=t[G+1];jS(t[G],r)&&(ie=!0,t[G+1]=m?m_(Ve):Ff(Ve)),G=m?Ja(Ve):Bl(Ve)}ie&&(t[s+1]=m?Ff(D):m_(D))}function jS(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&ca(t,r)>=0}const ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ts.key,ts.keyEnd)}function vT(t){return t.substring(ts.value,ts.valueEnd)}function BS(t,r){const s=ts.textEnd;return s===r?-1:(r=ts.keyEnd=function VS(t,r,s){for(;r32;)r++;return r}(t,ts.key=r,s),Qc(t,r,s))}function HS(t,r){const s=ts.textEnd;let m=ts.key=Qc(t,r,s);return s===m?-1:(m=ts.keyEnd=function yT(t,r,s){let m;for(;r=65&&(-33&m)<=90||m>=48&&m<=57);)r++;return r}(t,m,s),m=y_(t,m,s),m=ts.value=Qc(t,m,s),m=ts.valueEnd=function bT(t,r,s){let m=-1,D=-1,O=-1,G=r,ie=G;for(;G32&&(ie=G),O=D,D=m,m=-33&_e}return ie}(t,m,s),y_(t,m,s))}function v_(t){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=t.length}function Qc(t,r,s){for(;r=0;s=HS(r,s))w_(t,p_(r),vT(r))}function M_(t){ra(DT,Ca,t,!0)}function Ca(t,r){for(let s=function __(t){return v_(t),BS(t,Qc(t,0,ts.textEnd))}(r);s>=0;s=BS(r,s))zo(t,p_(r),!0)}function $s(t,r,s,m){const D=vn(),O=wr(),G=ze(2);O.firstUpdatePass&&zS(O,t,G,m),r!==ri&&jo(D,G,r)&&KS(O,O.data[so()],D,D[hr],t,D[G+1]=function QS(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=Bt(Pa(t)))),t}(r,s),m,G)}function ra(t,r,s,m){const D=wr(),O=ze(2);D.firstUpdatePass&&zS(D,null,O,m);const G=vn();if(s!==ri&&jo(G,O,s)){const ie=D.data[so()];if(ZS(ie,m)&&!Bf(D,O)){let _e=m?ie.classesWithoutHost:ie.stylesWithoutHost;null!==_e&&(s=Zt(_e,s||"")),C_(D,ie,G,s,m)}else!function GS(t,r,s,m,D,O,G,ie){D===ri&&(D=Xn);let _e=0,Ve=0,tt=0=t.expandoStartIndex}function zS(t,r,s,m){const D=t.data;if(null===D[s+1]){const O=D[so()],G=Bf(t,s);ZS(O,m)&&null===r&&!G&&(r=!1),r=function MT(t,r,s,m){const D=Dn(t);let O=m?r.residualClasses:r.residualStyles;if(null===D)0===(m?r.classBindings:r.styleBindings)&&(s=Zc(s=E_(null,t,r,s,m),r.attrs,m),O=null);else{const G=r.directiveStylingLast;if(-1===G||t[G]!==D)if(s=E_(D,t,r,s,m),null===O){let _e=function WS(t,r,s){const m=s?r.classBindings:r.styleBindings;if(0!==Bl(m))return t[Ja(m)]}(t,r,m);void 0!==_e&&Array.isArray(_e)&&(_e=E_(null,t,r,_e[1],m),_e=Zc(_e,r.attrs,m),function ET(t,r,s,m){t[Ja(s?r.classBindings:r.styleBindings)]=m}(t,r,m,_e))}else O=function $S(t,r,s){let m;const D=r.directiveEnd;for(let O=1+r.directiveStylingLast;O0)&&(Ve=!0)):tt=s,D)if(0!==_e){const Ft=Ja(t[ie+1]);t[m+1]=Rf(Ft,ie),0!==Ft&&(t[Ft+1]=Nf(t[Ft+1],m)),t[ie+1]=function mT(t,r){return 131071&t|r<<17}(t[ie+1],m)}else t[m+1]=Rf(ie,0),0!==ie&&(t[ie+1]=Nf(t[ie+1],m)),ie=m;else t[m+1]=Rf(_e,0),0===ie?ie=m:t[_e+1]=Nf(t[_e+1],m),_e=m;Ve&&(t[m+1]=Ff(t[m+1])),NS(t,tt,m,!0),NS(t,tt,m,!1),function FS(t,r,s,m,D){const O=D?t.residualClasses:t.residualStyles;null!=O&&"string"==typeof r&&ca(O,r)>=0&&(s[m+1]=m_(s[m+1]))}(r,tt,t,m,O),G=Rf(ie,_e),O?r.classBindings=G:r.styleBindings=G}(D,O,r,s,G,m)}}function E_(t,r,s,m,D){let O=null;const G=s.directiveEnd;let ie=s.directiveStylingLast;for(-1===ie?ie=s.directiveStart:ie++;ie0;){const _e=t[D],Ve=Array.isArray(_e),tt=Ve?_e[1]:_e,pt=null===tt;let Ft=s[D+1];Ft===ri&&(Ft=pt?Xn:void 0);let Wt=pt?la(Ft,m):tt===m?Ft:void 0;if(Ve&&!Uf(Wt)&&(Wt=la(_e,m)),Uf(Wt)&&(ie=Wt,G))return ie;const hn=t[D+1];D=G?Ja(hn):Bl(hn)}if(null!==r){let _e=O?r.residualClasses:r.residualStyles;null!=_e&&(ie=la(_e,m))}return ie}function Uf(t){return void 0!==t}function ZS(t,r){return 0!=(t.flags&(r?8:16))}function A_(t,r,s){ra(zo,Ca,Wc(vn(),t,r,s),!0)}function XS(t,r,s,m,D){ra(zo,Ca,Fa(vn(),t,r,s,m,D),!0)}function Hf(t,r,s,m,D,O,G){ra(zo,Ca,Fl(vn(),t,r,s,m,D,O,G),!0)}function JS(t,r,s,m,D,O,G,ie,_e){ra(zo,Ca,$c(vn(),t,r,s,m,D,O,G,ie,_e),!0)}function T_(t,r,s,m,D,O,G,ie,_e,Ve,tt){ra(zo,Ca,Nl(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt),!0)}function qS(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft){ra(zo,Ca,Gc(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft),!0)}function eM(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn){ra(zo,Ca,jl(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn),!0)}function Ul(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn){ra(zo,Ca,Kc(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn),!0)}function tM(t){ra(zo,Ca,Rl(vn(),t),!0)}function nM(){return vn()[Jr][Zr]}class AT{destroy(r){}updateValue(r,s){}swap(r,s){const m=Math.min(r,s),D=Math.max(r,s),O=this.detach(D);if(D-m>1){const G=this.detach(m);this.attach(m,O),this.attach(D,G)}else this.attach(m,O)}move(r,s){this.attach(s,this.detach(r))}}function P_(t,r,s,m,D){return t===s&&Object.is(r,m)?1:Object.is(D(t,r),D(s,m))?-1:0}function k_(t,r,s,m){return!(void 0===r||!r.has(m)||(t.attach(s,r.get(m)),r.delete(m),0))}function Vf(t,r,s,m,D){if(k_(t,r,m,s(m,D)))t.updateValue(m,D);else{const O=t.create(m,D);t.attach(m,O)}}function rM(t,r,s,m){const D=new Set;for(let O=r;O<=s;O++)D.add(m(O,t.at(O)));return D}class Yf{constructor(){this.kvMap=new Map,this._vMap=void 0}has(r){return this.kvMap.has(r)}delete(r){if(!this.has(r))return!1;const s=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(s)?(this.kvMap.set(r,this._vMap.get(s)),this._vMap.delete(s)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,s){if(this.kvMap.has(r)){let m=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const D=this._vMap;for(;D.has(m);)m=D.get(m);D.set(m,s)}else this.kvMap.set(r,s)}forEach(r){for(let[s,m]of this.kvMap)if(r(m,s),void 0!==this._vMap){const D=this._vMap;for(;D.has(m);)m=D.get(m),r(m,s)}}}function iM(t,r,s){zs("NgControlFlow");const m=vn(),D=J(),O=L_(m,ar+t);if(jo(m,D,r)){const ie=l(null);try{if(qm(O,0),-1!==r){const _e=R_(m[wn],ar+r),Ve=Pl(O,_e.tView.ssrId);zu(O,Yu(m,_e,s,{dehydratedView:Ve}),0,Dc(_e,Ve))}}finally{l(ie)}}else{const ie=S0(O,0);void 0!==ie&&(ie[Zr]=s)}}class oM{constructor(r,s,m){this.lContainer=r,this.$implicit=s,this.$index=m}get $count(){return this.lContainer.length-zr}}function sM(t){return t}function x_(t,r){return r}class TT{constructor(r,s,m){this.hasEmptyBlock=r,this.trackByFn=s,this.liveCollection=m}}function O_(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft){zs("NgControlFlow");const Wt=void 0!==_e,hn=vn(),An=ie?G.bind(hn[Jr][Zr]):G,jn=new TT(Wt,An);hn[ar+t]=jn,Bc(t+1,r,s,m,D,O),Wt&&Bc(t+2,_e,Ve,tt,pt,Ft)}class PT extends AT{constructor(r,s,m){super(),this.lContainer=r,this.hostLView=s,this.templateTNode=m,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-zr}at(r){return this.getLView(r)[Zr].$implicit}attach(r,s){const m=s[On];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,s,r,Dc(this.templateTNode,m))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function IT(t,r){return Bu(t,r)}(this.lContainer,r)}create(r,s){const m=Pl(this.lContainer,this.templateTNode.tView.ssrId);return Yu(this.hostLView,this.templateTNode,new oM(this.lContainer,s,r),{dehydratedView:m})}destroy(r){Ih(r[wn],r)}updateValue(r,s){this.getLView(r)[Zr].$implicit=s}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(ie)})}(G,t,O.trackByFn),G.updateIndexes(),O.hasEmptyBlock){const ie=J(),_e=0===G.length;if(jo(m,ie,_e)){const Ve=s+2,tt=L_(m,Ve);if(_e){const pt=R_(D,Ve),Ft=Pl(tt,pt.tView.ssrId);zu(tt,Yu(m,pt,void 0,{dehydratedView:Ft}),0,Dc(pt,Ft))}else qm(tt,0)}}}finally{l(r)}}function L_(t,r){return t[r]}function R_(t,r){return xo(t,r)}function Wf(t,r,s,m){const D=vn(),O=wr(),G=ar+t,ie=D[hr],_e=O.firstCreatePass?function xT(t,r,s,m,D,O){const G=r.consts,_e=Oa(r,t,2,m,io(G,D));return $m(r,s,_e,io(G,O)),null!==_e.attrs&&sf(_e,_e.attrs,!1),null!==_e.mergedAttrs&&sf(_e,_e.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,_e),_e}(G,O,D,r,s,m):O.data[G],Ve=Xc(O,D,_e,ie,r,t);D[G]=Ve;const tt=Zi(_e);return at(_e,!0),r0(ie,Ve,_e),32!=(32&_e.flags)&&Qs()&&xh(O,D,Ve,_e),0===function Gn(){return Vt.lFrame.elementDepthCount}()&&_s(Ve,D),function Wr(){Vt.lFrame.elementDepthCount++}(),tt&&(Ym(O,D,_e),Rh(O,_e,D)),null!==m&&zm(D,_e),Wf}function vd(){let t=ei();R()?te():(t=t.parent,at(t,!1));const r=t;(function mi(t){return Vt.skipHydrationRootTNode===t})(r)&&function Ji(){Vt.skipHydrationRootTNode=null}(),function fr(){Vt.lFrame.elementDepthCount--}();const s=wr();return s.firstCreatePass&&(oh(s,t),Lo(t)&&s.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(s,r,vn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function gD(t){return 0!=(16&t.flags)}(r)&&C_(s,r,vn(),r.stylesWithoutHost,!1),vd}function F_(t,r,s,m){return Wf(t,r,s,m),vd(),F_}let Xc=(t,r,s,m,D,O)=>(Os(!0),Ph(m,D,el()));function OT(t,r,s,m,D,O){const G=r[On],ie=!G||vr()||Wd(G,O);if(Os(ie),ie)return Ph(m,D,el());const _e=ta(G,t,r,s);return Ry(G,O)&&Yd(G,O,_e.nextSibling),G&&(Xl(s)||Jl(_e))&&Oi(s)&&(function ji(t){Vt.skipHydrationRootTNode=t}(s),Hm(_e)),_e}function Jc(t,r,s){const m=vn(),D=wr(),O=t+ar,G=D.firstCreatePass?function LT(t,r,s,m,D){const O=r.consts,G=io(O,m),ie=Oa(r,t,8,"ng-container",G);return null!==G&&sf(ie,G,!0),$m(r,s,ie,io(O,D)),null!==r.queries&&r.queries.elementStart(r,ie),ie}(O,D,m,r,s):D.data[O];at(G,!0);const ie=lM(D,m,G,t);return m[O]=ie,Qs()&&xh(D,m,ie,G),_s(ie,m),Zi(G)&&(Ym(D,m,G),Rh(D,G,m)),null!=s&&zm(m,G),Jc}function $f(){let t=ei();const r=wr();return R()?te():(t=t.parent,at(t,!1)),r.firstCreatePass&&(oh(r,t),Lo(t)&&r.queries.elementEnd(t)),$f}function Gf(t,r,s){return Jc(t,r,s),$f(),Gf}let lM=(t,r,s,m)=>(Os(!0),Lm(r[hr],""));function cM(t,r,s,m){let D;const O=r[On],G=!O||vr();if(Os(G),G)return Lm(r[hr],"");const ie=ta(O,t,r,s),_e=function qw(t,r){const s=t.data;let m=s[Rg]?.[r]??null;return null===m&&s[ma]?.[r]&&(m=zd(t,r)),m}(O,m);return Yd(O,m,ie),D=Qh(_e,ie),D}function uM(){return vn()}function N_(t,r,s){const m=vn();return jo(m,J(),r)&&Es(wr(),hi(),m,t,r,m[hr],s,!0),N_}function Kf(t,r,s){const m=vn();if(jo(m,J(),r)){const O=wr(),G=hi();Es(O,G,m,t,r,b0(Dn(O.data),G,m),s,!0)}return Kf}const Hl=void 0;var NT=["en",[["a","p"],["AM","PM"],Hl],[["AM","PM"],Hl,Hl],[["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"]],Hl,[["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"]],Hl,[["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}",Hl,"{1} 'at' {0}",Hl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FT(t){const s=Math.floor(Math.abs(t)),m=t.toString().replace(/^[^.]*\.?/,"").length;return 1===s&&0===m?1:5}];let Vl={};function jT(t,r,s){"string"!=typeof r&&(s=r,r=t[qc.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Vl[r]=t,s&&(Vl[r][qc.ExtraData]=s)}function Qf(t){const r=function UT(t){return t.toLowerCase().replace(/_/g,"-")}(t);let s=dM(r);if(s)return s;const m=r.split("-")[0];if(s=dM(m),s)return s;if("en"===m)return NT;throw new Qe(701,!1)}function BT(t){return Qf(t)[qc.CurrencyCode]||null}function Zf(t){return Qf(t)[qc.PluralCase]}function dM(t){return t in Vl||(Vl[t]=xn.ng&&xn.ng.common&&xn.ng.common.locales&&xn.ng.common.locales[t]),Vl[t]}function hM(){Vl={}}var qc=function(t){return t[t.LocaleId=0]="LocaleId",t[t.DayPeriodsFormat=1]="DayPeriodsFormat",t[t.DayPeriodsStandalone=2]="DayPeriodsStandalone",t[t.DaysFormat=3]="DaysFormat",t[t.DaysStandalone=4]="DaysStandalone",t[t.MonthsFormat=5]="MonthsFormat",t[t.MonthsStandalone=6]="MonthsStandalone",t[t.Eras=7]="Eras",t[t.FirstDayOfWeek=8]="FirstDayOfWeek",t[t.WeekendRange=9]="WeekendRange",t[t.DateFormat=10]="DateFormat",t[t.TimeFormat=11]="TimeFormat",t[t.DateTimeFormat=12]="DateTimeFormat",t[t.NumberSymbols=13]="NumberSymbols",t[t.NumberFormats=14]="NumberFormats",t[t.CurrencyCode=15]="CurrencyCode",t[t.CurrencySymbol=16]="CurrencySymbol",t[t.CurrencyName=17]="CurrencyName",t[t.Currencies=18]="Currencies",t[t.Directionality=19]="Directionality",t[t.PluralCase=20]="PluralCase",t[t.ExtraData=21]="ExtraData",t}(qc||{});const HT=["zero","one","two","few","many"],qa="en-US",yd={marker:"element"},Xf={marker:"ICU"};var ws=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(ws||{});let fM=qa;function j_(t){"string"==typeof t&&(fM=t.toLowerCase().replace(/_/g,"-"))}function Jf(t,r,s){const m=r.insertBeforeIndex,D=Array.isArray(m)?m[0]:m;return null===D?jm(t,0,s):Ur(s[D])}function gM(t,r,s,m,D){const O=r.insertBeforeIndex;if(Array.isArray(O)){let G=m,ie=null;if(3&r.type||(ie=G,G=D),null!==G&&-1===r.componentOffset)for(let _e=1;_e1)for(let s=t.length-2;s>=0;s--){const m=t[s];B_(m)||WT(m,r)&&null===$T(m)&>(m,r.index)}}function B_(t){return!(64&t.type)}function WT(t,r){return B_(r)||t.index>r.index}function $T(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GT(t,r){const s=t.insertBeforeIndex;Array.isArray(s)?s[0]=r:(qb(Jf,gM),t.insertBeforeIndex=r)}function bd(t,r){const s=t.data[r];return null===s||"string"==typeof s?null:s.hasOwnProperty("currentCaseLViewIndex")?s:s.value}function U_(t,r,s){const m=ea(t,s,64,null,null);return mM(r,m),m}function eu(t,r){const s=r[t.currentCaseLViewIndex];return null===s?s:s<0?~s:s}function pM(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Cd=0,tu=0;function yM(t,r,s,m){const D=s[hr];let G,O=null;for(let ie=0;ie>>1,s),null,null,Wt,hn,null)}else switch(_e){case Xf:const Ve=r[++ie],tt=r[++ie];null===s[tt]&&_s(s[tt]=Lm(D,Ve),s);break;case yd:const pt=r[++ie],Ft=r[++ie];null===s[Ft]&&_s(s[Ft]=Ph(D,pt,null),s)}}}function Y_(t,r,s,m,D){for(let O=0;O>>2;switch(3&tt){case 1:const Ft=s[++Ve],Wt=s[++Ve],hn=t.data[pt];"string"==typeof hn?wc(r[hr],r[pt],null,hn,Ft,_e,Wt):Es(t,hn,r,Ft,_e,r[hr],Wt,!1);break;case 0:const An=r[pt];null!==An&&Wb(r[hr],An,_e);break;case 2:JT(t,bd(t,pt),r,_e);break;case 3:bM(t,bd(t,pt),m,r)}}}}else{const _e=s[O+1];if(_e>0&&3==(3&_e)){const tt=bd(t,_e>>>2);r[tt.currentCaseLViewIndex]<0&&bM(t,tt,m,r)}}O+=ie}}function bM(t,r,s,m){let D=m[r.currentCaseLViewIndex];if(null!==D){let O=Cd;D<0&&(D=m[r.currentCaseLViewIndex]=~D,O=-1),Y_(t,m,r.update[D],s,O)}}function JT(t,r,s,m){const D=function nu(t,r){let s=t.cases.indexOf(r);if(-1===s)switch(t.type){case 1:{const m=function VT(t,r){const s=Zf(r)(parseInt(t,10)),m=HT[s];return void 0!==m?m:"other"}(r,function zT(){return fM}());s=t.cases.indexOf(m),-1===s&&"other"!==m&&(s=t.cases.indexOf("other"));break}case 0:s=t.cases.indexOf("other")}return-1===s?null:s}(r,m);if(eu(r,s)!==D&&(CM(t,r,s),s[r.currentCaseLViewIndex]=null===D?null:~D,null!==D)){const G=s[r.anchorIdx];G&&yM(t,r.create[D],s,G)}}function CM(t,r,s){let m=eu(r,s);if(null!==m){const D=r.remove[m];for(let O=0;O0){const ie=is(G,s);null!==ie&&Oh(s[hr],ie)}else CM(t,bd(t,~G),s)}}}function qT(){const t=[];let s,m,r=-1;function O(ie,_e){r=0;const Ve=eu(ie,_e);m=null!==Ve?ie.remove[Ve]:Xn}function G(){if(r0?s[ie]:(t.push(r,m),O(s[wn].data[~ie],s),G())}return 0===t.length?null:(m=t.pop(),r=t.pop(),G())}return function D(ie,_e){for(s=_e;t.length;)t.pop();return O(ie.value,_e),G}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eP=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,MM=/\ufffd(\d+)\ufffd/,EM=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ru="\ufffd",tP=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nP=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rP=/\uE500/g;function qf(t,r,s,m,D,O,G){const ie=Hu(t,m,1,null);let _e=ie<s.length&&s.push(_e)}return{type:m,mainBinding:D,cases:r,values:s}}function Md(t){if(!t)return[];let r=0;const s=[],m=[],D=/[{}]/g;let O;for(D.lastIndex=0;O=D.exec(t);){const ie=O.index;if("}"==O[0]){if(s.pop(),0==s.length){const _e=t.substring(r,ie);EM.test(_e)?m.push(lP(_e)):m.push(_e),r=ie+1}}else{if(0==s.length){const _e=t.substring(r,ie);m.push(_e),r=ie+1}s.push("{")}}const G=t.substring(r);return m.push(G),m}function cP(t,r,s,m,D,O,G,ie){const _e=[],Ve=[],tt=[];r.cases.push(O),r.create.push(_e),r.remove.push(Ve),r.update.push(tt);const Ft=Eb(No()).getInertBodyElement(G),Wt=bh(Ft)||Ft;return Wt?Q_(t,r,s,m,_e,Ve,tt,Wt,D,ie,0):0}function Q_(t,r,s,m,D,O,G,ie,_e,Ve,tt){let pt=0,Ft=ie.firstChild;for(;Ft;){const Wt=Hu(t,s,1,null);switch(Ft.nodeType){case Node.ELEMENT_NODE:const hn=Ft,An=hn.tagName.toLowerCase();if(mm.hasOwnProperty(An)){Z_(D,yd,An,_e,Wt),t.data[Wt]=An;const ci=hn.attributes;for(let ki=0;ki>>ws.SHIFT;let pt=t[tt];null===pt&&(pt=t[tt]=(G&ws.COMMENT)===ws.COMMENT?D.createComment(ie):Th(D,ie)),Ve&&null!==s&&Al(D,s,pt,m,!1)}})(D,_e.create,tt,ie&&8&ie.type?D[ie.index]:null),Ue(!0)}function ev(){Ue(!1)}function tv(t,r,s){q_(t,r,s),ev()}function OM(t,r){const s=wr(),m=io(s.consts,r);!function $_(t,r,s){const D=ei().index,O=[];if(t.firstCreatePass&&null===t.data[r]){for(let G=0;G0){const m=t.data[s];Y_(t,r,Array.isArray(m)?m:m.update,xt()-tu-1,Cd)}Cd=0,tu=0}(wr(),vn(),t+ar)}function RM(t,r={}){return function mP(t,r={}){let s=t;if(J_.test(t)){const m={},D=[PM];s=s.replace(hP,(O,G,ie)=>{const _e=G||ie,Ve=m[_e]||[];if(Ve.length||(_e.split("|").forEach(An=>{const jn=An.match(xM),dr=jn?parseInt(jn[1],10):PM,In=gP.test(An);Ve.push([dr,In,An])}),m[_e]=Ve),!Ve.length)throw new Error(`i18n postprocess: unmatched placeholder - ${_e}`);const tt=D[D.length-1];let pt=0;for(let An=0;Anr.hasOwnProperty(O)?`${D}${r[O]}${_e}`:m),s=s.replace(fP,(m,D)=>r.hasOwnProperty(D)?r[D]:m),s=s.replace(kM,(m,D)=>{if(r.hasOwnProperty(D)){const O=r[D];if(!O.length)throw new Error(`i18n postprocess: unmatched ICU - ${m} with key: ${D}`);return O.shift()}return m})),s}(t,r)}function nv(t,r,s,m){const D=vn(),O=wr(),G=ei();return rv(O,D,D[hr],G,t,r,m),nv}function Ed(t,r){const s=ei(),m=vn(),D=wr();return rv(D,m,b0(Dn(D.data),s,m),s,t,r),Ed}function rv(t,r,s,m,D,O,G){const ie=Zi(m),Ve=t.firstCreatePass&&y0(t),tt=r[Zr],pt=v0(r);let Ft=!0;if(3&m.type||G){const An=Xi(m,r),jn=G?G(An):An,dr=pt.length,In=G?ki=>G(Ur(ki[m.index])):m.index;let ci=null;if(!G&&ie&&(ci=function pP(t,r,s,m){const D=t.cleanup;if(null!=D)for(let O=0;O_e?ie[_e]:null}"string"==typeof G&&(O+=2)}return null}(t,r,D,m.index)),null!==ci)(ci.__ngLastListenerFn__||ci).__ngNextListenerFn__=O,ci.__ngLastListenerFn__=O,Ft=!1;else{O=NM(m,r,tt,O,!1);const ki=s.listen(jn,D,O);pt.push(O,ki),Ve&&Ve.push(D,In,dr,dr+1)}}else O=NM(m,r,tt,O,!1);const Wt=m.outputs;let hn;if(Ft&&null!==Wt&&(hn=Wt[D])){const An=hn.length;if(An)for(let jn=0;jn-1?Di(t.index,r):r);let _e=FM(r,s,m,G),Ve=O.__ngNextListenerFn__;for(;Ve;)_e=FM(r,s,Ve,G)&&_e,Ve=Ve.__ngNextListenerFn__;return D&&!1===_e&&G.preventDefault(),_e}}function jM(t=1){return function fo(t){return(Vt.lFrame.contextLView=ne(t,Vt.lFrame.contextLView))[Zr]}(t)}function vP(t,r){let s=null;const m=function H(t){const r=t.attrs;if(null!=r){const s=r.indexOf(5);if(!(1&s))return r[s+1]}return null}(t);for(let D=0;D=t.data.length&&(t.data[s]=null,t.blueprint[s]=null),r[s]=m}function fv(t){return _o(function U(){return Vt.lFrame.contextLView}(),ar+t)}function $M(t,r,s){xs(Wc(vn(),t,r,s))}function gv(t,r,s,m,D){xs(Fa(vn(),t,r,s,m,D))}function GM(t,r,s,m,D,O,G){xs(Fl(vn(),t,r,s,m,D,O,G))}function mv(t,r,s,m,D,O,G,ie,_e){xs($c(vn(),t,r,s,m,D,O,G,ie,_e))}function KM(t,r,s,m,D,O,G,ie,_e,Ve,tt){xs(Nl(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt))}function pv(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft){xs(Gc(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft))}function QM(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn){xs(jl(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn))}function ZM(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn){xs(Kc(vn(),t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn))}function _v(t){xs(Rl(vn(),t))}function vv(t,r,s,m,D){return $s(t,Wc(vn(),r,s,m),D,!1),vv}function ig(t,r,s,m,D,O,G){return $s(t,Fa(vn(),r,s,m,D,O),G,!1),ig}function yv(t,r,s,m,D,O,G,ie,_e){return $s(t,Fl(vn(),r,s,m,D,O,G,ie),_e,!1),yv}function bv(t,r,s,m,D,O,G,ie,_e,Ve,tt){return $s(t,$c(vn(),r,s,m,D,O,G,ie,_e,Ve),tt,!1),bv}function Cv(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft){return $s(t,Nl(vn(),r,s,m,D,O,G,ie,_e,Ve,tt,pt),Ft,!1),Cv}function ou(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn){return $s(t,Gc(vn(),r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt),hn,!1),ou}function Sv(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn){return $s(t,jl(vn(),r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An),jn,!1),Sv}function og(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn,dr,In){return $s(t,Kc(vn(),r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn,dr),In,!1),og}function Mv(t,r,s){return $s(t,Rl(vn(),r),s,!1),Mv}function Ev(t,r=""){const s=vn(),m=wr(),D=t+ar,O=m.firstCreatePass?Oa(m,D,1,r,null):m.data[D],G=XM(m,s,O,r,t);s[D]=G,Qs()&&xh(m,s,G,O),at(O,!1)}let XM=(t,r,s,m,D)=>(Os(!0),Th(r[hr],m));function yP(t,r,s,m,D){const O=r[On],G=!O||vr()||Wd(O,D);return Os(G),G?Th(r[hr],m):ta(O,t,r,s)}function sg(t){return ag("",t,""),sg}function ag(t,r,s){const m=vn(),D=Wc(m,t,r,s);return D!==ri&&La(m,so(),D),ag}function su(t,r,s,m,D){const O=vn(),G=Fa(O,t,r,s,m,D);return G!==ri&&La(O,so(),G),su}function wv(t,r,s,m,D,O,G){const ie=vn(),_e=Fl(ie,t,r,s,m,D,O,G);return _e!==ri&&La(ie,so(),_e),wv}function Dv(t,r,s,m,D,O,G,ie,_e){const Ve=vn(),tt=$c(Ve,t,r,s,m,D,O,G,ie,_e);return tt!==ri&&La(Ve,so(),tt),Dv}function Av(t,r,s,m,D,O,G,ie,_e,Ve,tt){const pt=vn(),Ft=Nl(pt,t,r,s,m,D,O,G,ie,_e,Ve,tt);return Ft!==ri&&La(pt,so(),Ft),Av}function Tv(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft){const Wt=vn(),hn=Gc(Wt,t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft);return hn!==ri&&La(Wt,so(),hn),Tv}function Pv(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn){const An=vn(),jn=jl(An,t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn);return jn!==ri&&La(An,so(),jn),Pv}function lg(t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn){const dr=vn(),In=Kc(dr,t,r,s,m,D,O,G,ie,_e,Ve,tt,pt,Ft,Wt,hn,An,jn);return In!==ri&&La(dr,so(),In),lg}function Iv(t){const r=vn(),s=Rl(r,t);return s!==ri&&La(r,so(),s),Iv}function cg(t,r,s){Jh(r)&&(r=r());const m=vn();return jo(m,J(),r)&&Es(wr(),hi(),m,t,r,m[hr],s,!1),cg}function JM(t,r){const s=Jh(t);return s&&t.set(r),s}function ug(t,r){const s=vn(),m=wr(),D=ei();return rv(m,s,s[hr],D,t,r),ug}function kv(t,r,s,m,D){if(t=Dr(t),Array.isArray(t))for(let O=0;O>20;if(ml(t)||!t.multi){const Wt=new xu(Ve,D,Ec),hn=Ov(_e,r,D?tt:tt+Ft,pt);-1===hn?(om(gc(ie,G),O,_e),xv(O,t,r.length),r.push(_e),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(Wt),G.push(Wt)):(s[hn]=Wt,G[hn]=Wt)}else{const Wt=Ov(_e,r,tt+Ft,pt),hn=Ov(_e,r,tt,tt+Ft),jn=hn>=0&&s[hn];if(D&&!jn||!D&&!(Wt>=0&&s[Wt])){om(gc(ie,G),O,_e);const dr=function MP(t,r,s,m,D){const O=new xu(t,s,Ec);return O.multi=[],O.index=r,O.componentProviders=0,qM(O,D,m&&!s),O}(D?SP:eE,s.length,D,m,Ve);!D&&jn&&(s[hn].providerFactory=dr),xv(O,t,r.length,0),r.push(_e),ie.directiveStart++,ie.directiveEnd++,D&&(ie.providerIndexes+=1048576),s.push(dr),G.push(dr)}else xv(O,t,Wt>-1?Wt:hn,qM(s[D?hn:Wt],Ve,!D&&m));!D&&m&&jn&&s[hn].componentProviders++}}}function xv(t,r,s,m){const D=ml(r),O=function eD(t){return!!t.useClass}(r);if(D||O){const _e=(O?Dr(r.useClass):r).prototype.ngOnDestroy;if(_e){const Ve=t.destroyHooks||(t.destroyHooks=[]);if(!D&&r.multi){const tt=Ve.indexOf(s);-1===tt?Ve.push(s,[m,_e]):Ve[tt+1].push(m,_e)}else Ve.push(s,_e)}}}function qM(t,r,s){return s&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,s,m){for(let D=s;D{s.providersResolver=(m,D)=>function CP(t,r,s){const m=wr();if(m.firstCreatePass){const D=Li(t);kv(s,m.data,m.blueprint,D,!0),kv(r,m.data,m.blueprint,D,!1)}}(m,D?D(t):t,r)}}let EP=(()=>{class t{constructor(s){this._injector=s,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(s){if(!s.standalone)return null;if(!this.cachedInjectors.has(s)){const m=zg(0,s.type),D=m.length>0?zp([m],this._injector,`Standalone[${s.type.name}]`):null;this.cachedInjectors.set(s,D)}return this.cachedInjectors.get(s)}ngOnDestroy(){try{for(const s of this.cachedInjectors.values())null!==s&&s.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=ni({token:t,providedIn:"environment",factory:()=>new t(xe(Js))})}return t})();function Fv(t){zs("NgStandalone"),t.getStandaloneInjector=r=>r.get(EP).getOrCreateStandaloneInjector(t)}function tE(t,r,s){const m=t.\u0275cmp;m.directiveDefs=ut(r,!1),m.pipeDefs=ut(s,!0)}function Nv(t,r){return Jn(()=>{const s=cr(t,!0);s.declarations=dg(r.declarations||Xn),s.imports=dg(r.imports||Xn),s.exports=dg(r.exports||Xn),r.bootstrap&&(s.bootstrap=dg(r.bootstrap)),Oc.registerNgModule(t,r)})}function dg(t){if("function"==typeof t)return t;const r=ls(t);return r.some(Ha)?()=>r.map(Dr).map(nE):r.map(nE)}function nE(t){return Dp(t)?t.ngModule:t}function jv(t){const r=Ms(t);if(null===r)return null;if(void 0===r.component){const s=r.lView;if(null===s)return null;r.component=function XD(t,r){const s=r[wn].data[t],{directiveStart:m,componentOffset:D}=s;return D>-1?r[m+D]:null}(r.nodeIndex,s)}return r.component}function oE(t){if(t instanceof Text)return[];const r=Ms(t),s=r?r.lView:null;if(null===s)return[];const m=s[wn],D=r.nodeIndex;return m?.data[D]?(void 0===r.directives&&(r.directives=wm(D,s)),null===r.directives?[]:[...r.directives]):[]}function Dd(t){return Ms(t).native}function TP(t,r){return t.name==r.name?0:t.name=0;s--){const m=r[s];if(t===m.name)return m}}(r,s.pipeRegistry),s.data[D]=m,m.onDestroy&&(s.destroyHooks??=[]).push(D,m.onDestroy)):m=s.data[D];const O=m.factory||(m.factory=gl(m.type)),ie=Wo(Ec);try{const _e=ch(!1),Ve=O();return ch(_e),WM(s,vn(),D,Ve),Ve}finally{Wo(ie)}}function yE(t,r,s){const m=t+ar,D=vn(),O=_o(D,m);return lu(D,m)?gE(D,ft(),r,O.transform,s,O):O.transform(s)}function Kv(t,r,s,m){const D=t+ar,O=vn(),G=_o(O,D);return lu(O,D)?$v(O,ft(),r,G.transform,s,m,G):G.transform(s,m)}function bE(t,r,s,m,D){const O=t+ar,G=vn(),ie=_o(G,O);return lu(G,O)?mE(G,ft(),r,ie.transform,s,m,D,ie):ie.transform(s,m,D)}function Qv(t,r,s,m,D,O){const G=t+ar,ie=vn(),_e=_o(ie,G);return lu(ie,G)?Gv(ie,ft(),r,_e.transform,s,m,D,O,_e):_e.transform(s,m,D,O)}function CE(t,r,s){const m=t+ar,D=vn(),O=_o(D,m);return lu(D,m)?pE(D,ft(),r,O.transform,s,O):O.transform.apply(O,s)}function lu(t,r){return t[wn].data[r].pure}function SE(t,r){return Wh(t,r)}function Zv(t,r){return()=>{try{return Oc.getComponentDependencies(t,r).dependencies}catch(s){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,s),s}}}function ME(t,r){const s=ln(t);null!==s&&(s.debugInfo=r)}const ys={\u0275\u0275attribute:l_,\u0275\u0275attributeInterpolate1:c_,\u0275\u0275attributeInterpolate2:xf,\u0275\u0275attributeInterpolate3:u_,\u0275\u0275attributeInterpolate4:d_,\u0275\u0275attributeInterpolate5:Of,\u0275\u0275attributeInterpolate6:h_,\u0275\u0275attributeInterpolate7:f_,\u0275\u0275attributeInterpolate8:Lf,\u0275\u0275attributeInterpolateV:g_,\u0275\u0275defineComponent:ht,\u0275\u0275defineDirective:fn,\u0275\u0275defineInjectable:ni,\u0275\u0275defineInjector:Us,\u0275\u0275defineNgModule:Kt,\u0275\u0275definePipe:mn,\u0275\u0275directiveInject:Ec,\u0275\u0275getInheritedFactory:ob,\u0275\u0275inject:xe,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:a0,\u0275\u0275invalidFactoryDep:$e,\u0275\u0275templateRefExtractor:SE,\u0275\u0275resetView:Pi,\u0275\u0275HostDirectivesFeature:dd,\u0275\u0275NgOnChangesFeature:qg,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:KC,\u0275\u0275InheritDefinitionFeature:gf,\u0275\u0275InputTransformsFeature:XC,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:jM,\u0275\u0275namespaceHTML:Ks,\u0275\u0275namespaceMathML:$l,\u0275\u0275namespaceSVG:ss,\u0275\u0275enableBindings:Ai,\u0275\u0275disableBindings:Ti,\u0275\u0275elementStart:Wf,\u0275\u0275elementEnd:vd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:Jc,\u0275\u0275elementContainerEnd:$f,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cE,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uE,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dE,\u0275\u0275pureFunction6:zv,\u0275\u0275pureFunction7:hE,\u0275\u0275pureFunction8:Wv,\u0275\u0275pureFunctionV:fE,\u0275\u0275getCurrentView:uM,\u0275\u0275restoreView:Qi,\u0275\u0275listener:nv,\u0275\u0275projection:UM,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:Ed,\u0275\u0275pipeBind1:yE,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:bE,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CE,\u0275\u0275projectionDef:BM,\u0275\u0275hostProperty:N_,\u0275\u0275property:b_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:wd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tg,\u0275\u0275propertyInterpolate4:sv,\u0275\u0275propertyInterpolate5:ng,\u0275\u0275propertyInterpolate6:av,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rg,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_E,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HM,\u0275\u0275viewQuerySignal:zM,\u0275\u0275loadQuery:VM,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YM,\u0275\u0275reference:fv,\u0275\u0275classMap:M_,\u0275\u0275classMapInterpolate1:A_,\u0275\u0275classMapInterpolate2:XS,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:JS,\u0275\u0275classMapInterpolate5:T_,\u0275\u0275classMapInterpolate6:qS,\u0275\u0275classMapInterpolate7:eM,\u0275\u0275classMapInterpolate8:Ul,\u0275\u0275classMapInterpolateV:tM,\u0275\u0275styleMap:xs,\u0275\u0275styleMapInterpolate1:$M,\u0275\u0275styleMapInterpolate2:gv,\u0275\u0275styleMapInterpolate3:GM,\u0275\u0275styleMapInterpolate4:mv,\u0275\u0275styleMapInterpolate5:KM,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QM,\u0275\u0275styleMapInterpolate8:ZM,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:jf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:ig,\u0275\u0275stylePropInterpolate3:yv,\u0275\u0275stylePropInterpolate4:bv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:ou,\u0275\u0275stylePropInterpolate7:Sv,\u0275\u0275stylePropInterpolate8:og,\u0275\u0275stylePropInterpolateV:Mv,\u0275\u0275classProp:S_,\u0275\u0275advance:o0,\u0275\u0275template:Bc,\u0275\u0275conditional:iM,\u0275\u0275defer:SS,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:ES,\u0275\u0275deferOnImmediate:wS,\u0275\u0275deferOnTimer:DS,\u0275\u0275deferOnHover:AS,\u0275\u0275deferOnInteraction:TS,\u0275\u0275deferOnViewport:If,\u0275\u0275deferPrefetchWhen:MS,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:Pf,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:PS,\u0275\u0275deferPrefetchOnViewport:IS,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:zf,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:sM,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nM,\u0275\u0275text:Ev,\u0275\u0275textInterpolate:sg,\u0275\u0275textInterpolate1:ag,\u0275\u0275textInterpolate2:su,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Av,\u0275\u0275textInterpolate6:Tv,\u0275\u0275textInterpolate7:Pv,\u0275\u0275textInterpolate8:lg,\u0275\u0275textInterpolateV:Iv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OM,\u0275\u0275i18nExp:eg,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LM,\u0275\u0275i18nPostprocess:RM,\u0275\u0275resolveWindow:Vb,\u0275\u0275resolveDocument:Im,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tE,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Zv,\u0275setClassDebugInfo:ME,\u0275\u0275sanitizeHtml:_m,\u0275\u0275sanitizeStyle:vm,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:bm,\u0275\u0275sanitizeUrl:ym,\u0275\u0275sanitizeUrlOrResourceUrl:xa,\u0275\u0275trustConstantHtml:Ib,\u0275\u0275trustConstantResourceUrl:Cm,\u0275\u0275validateIframeAttribute:ud,forwardRef:to,resolveForwardRef:Dr,\u0275\u0275twoWayProperty:cg,\u0275\u0275twoWayBindingSet:JM,\u0275\u0275twoWayListener:ug,\u0275\u0275InputFlags:ct};let cu=null;function wE(){cu=null}const uu=[];let fg=!1;function DE(){if(!fg){fg=!0;try{for(let t=uu.length-1;t>=0;t--){const{moduleType:r,ngModule:s}=uu[t];s.declarations&&s.declarations.every(Xv)&&(uu.splice(t,1),kE(r,s))}}finally{fg=!1}}}function Xv(t){return Array.isArray(t)?t.every(Xv):!!Dr(t)}function AE(t,r={}){Jv(t,r),void 0!==r.id&&ff(t,r.id),function IP(t,r){uu.push({moduleType:t,ngModule:r})}(t,r)}function Jv(t,r,s=!1){const m=ls(r.declarations||Xn);let D=null;Object.defineProperty(t,Kn,{configurable:!0,get:()=>(null===D&&(D=qo().compileNgModule(ys,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ls(r.bootstrap||Xn).map(Dr),declarations:m.map(Dr),imports:ls(r.imports||Xn).map(Dr).map(OE),exports:ls(r.exports||Xn).map(Dr).map(OE),schemas:r.schemas?ls(r.schemas):null,id:r.id||null}),D.schemas||(D.schemas=[])),D)});let O=null;Object.defineProperty(t,or,{get:()=>{if(null===O){const ie=qo();O=ie.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:gh(t),target:ie.FactoryTarget.NgModule,typeArgumentCount:0})}return O},configurable:!1});let G=null;Object.defineProperty(t,ue,{get:()=>{if(null===G){const ie={name:t.name,type:t,providers:r.providers||Xn,imports:[(r.imports||Xn).map(Dr),(r.exports||Xn).map(Dr)]};G=qo().compileInjector(ys,`ng:///${t.name}/\u0275inj.js`,ie)}return G},configurable:!1})}function TE(t,r){return`Unexpected "${Bi(t)}" found in the "declarations" array of the ${r}, "${Bi(t)}" is marked as standalone and can't be declared in any NgModule - did you intend to import it instead (by adding it to the "imports" array)?`}let mg=new WeakMap,pg=new WeakMap;function kP(){mg=new WeakMap,pg=new WeakMap,uu.length=0,lo.clear()}function kE(t,r){const s=ls(r.declarations||Xn),m=Yl(t);s.forEach(D=>{(D=Dr(D)).hasOwnProperty(pi)?ey(ln(D),m):!D.hasOwnProperty(Qt)&&!D.hasOwnProperty(Rn)&&(D.ngSelectorScope=t)})}function ey(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(s=>s.hasOwnProperty(pi)?ln(s):Yt(s)).filter(s=>!!s),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(s=>Ln(s)),t.schemas=r.schemas,t.tView=null}function Yl(t){if(Qa(t)){if(sd){const r=Oc.getNgModuleScope(t);return{schemas:cr(t,!0).schemas||null,...r}}return function xE(t){const r=cr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const s={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ns(r.imports).forEach(m=>{const D=Yl(m);D.exported.directives.forEach(O=>s.compilation.directives.add(O)),D.exported.pipes.forEach(O=>s.compilation.pipes.add(O))}),Ns(r.declarations).forEach(m=>{Ln(m)?s.compilation.pipes.add(m):s.compilation.directives.add(m)}),Ns(r.exports).forEach(m=>{const D=m;if(Qa(D)){const O=Yl(D);O.exported.directives.forEach(G=>{s.compilation.directives.add(G),s.exported.directives.add(G)}),O.exported.pipes.forEach(G=>{s.compilation.pipes.add(G),s.exported.pipes.add(G)})}else Ln(D)?s.exported.pipes.add(D):s.exported.directives.add(D)}),r.transitiveCompileScopes=s,s}(t)}if(lr(t)){if(null!==(ln(t)||Yt(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Ln(t))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([t])}}}throw new Error(`${t.name} does not have a module def (\u0275mod property)`)}function OE(t){return Dp(t)?t.ngModule:t}let ty=0;function LE(t,r){let s=null;(function $1(t,r){VC(r)&&(Nc.set(t,r),jc.add(t))})(t,r),NE(t,r),Object.defineProperty(t,pi,{get:()=>{if(null===s){const m=qo();if(VC(r)){const Ve=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&Ve.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ve.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ve.push(` - styleUrl: ${r.styleUrl}`),Ve.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ve.join("\n"))}const D=function PP(){return cu}();let O=r.preserveWhitespaces;void 0===O&&(O=null!==D&&void 0!==D.preserveWhitespaces&&D.preserveWhitespaces);let G=r.encapsulation;void 0===G&&(G=null!==D&&void 0!==D.defaultEncapsulation?D.defaultEncapsulation:br.Emulated);const ie=r.templateUrl||`ng:///${t.name}/template.html`,_e={...jE(t,r),typeSourceSpan:m.createParseSourceSpan("Component",t.name,ie),template:r.template||"",preserveWhitespaces:O,styles:"string"==typeof r.styles?[r.styles]:r.styles||Xn,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:G,interpolation:r.interpolation,viewProviders:r.viewProviders||null};ty++;try{if(_e.usesInheritance&&Ad(t),s=m.compileComponent(ys,ie,_e),r.standalone){const Ve=ls(r.imports||Xn),{directiveDefs:tt,pipeDefs:pt}=function xP(t,r){let s=null,m=null;return{directiveDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.directives].map(ie=>ln(ie)||Yt(ie)).filter(ie=>null!==ie):[];if(null===s){s=[ln(t)];const G=new Set([t]);for(const ie of r){const _e=Dr(ie);if(!G.has(_e))if(G.add(_e),cr(_e)){const Ve=Yl(_e);for(const tt of Ve.exported.directives){const pt=ln(tt)||Yt(tt);pt&&!G.has(tt)&&(G.add(tt),s.push(pt))}}else{const Ve=ln(_e)||Yt(_e);Ve&&s.push(Ve)}}}return s},pipeDefs:()=>{if(sd)return od(t)?[...Oc.getStandaloneComponentScope(t,r).compilation.pipes].map(ie=>Ln(ie)).filter(ie=>null!==ie):[];if(null===m){m=[];const G=new Set;for(const ie of r){const _e=Dr(ie);if(!G.has(_e))if(G.add(_e),cr(_e)){const Ve=Yl(_e);for(const tt of Ve.exported.pipes){const pt=Ln(tt);pt&&!G.has(tt)&&(G.add(tt),m.push(pt))}}else{const Ve=Ln(_e);Ve&&m.push(Ve)}}}return m}}}(t,Ve);s.directiveDefs=tt,s.pipeDefs=pt,s.dependencies=()=>Ve.map(Dr)}}finally{ty--}if(0===ty&&DE(),function RE(t){return void 0!==t.ngSelectorScope}(t)){const Ve=Yl(t.ngSelectorScope);ey(s,Ve)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${Bi(t)} but is only valid on a component that is standalone.`);s.schemas=r.schemas}else r.standalone&&(s.schemas=[])}return s},configurable:!1})}function ny(t,r){let s=null;NE(t,r||{}),Object.defineProperty(t,Qt,{get:()=>{if(null===s){const m=FE(t,r||{});s=qo().compileDirective(ys,m.sourceMapUrl,m.metadata)}return s},configurable:!1})}function FE(t,r){const s=t&&t.name,m=`ng:///${s}/\u0275dir.js`,D=qo(),O=jE(t,r);return O.typeSourceSpan=D.createParseSourceSpan("Directive",s,m),O.usesInheritance&&Ad(t),{metadata:O,sourceMapUrl:m}}function NE(t,r){let s=null;Object.defineProperty(t,or,{get:()=>{if(null===s){const m=FE(t,r),D=qo();s=D.compileFactory(ys,`ng:///${t.name}/\u0275fac.js`,{name:m.metadata.name,type:m.metadata.type,typeArgumentCount:0,deps:gh(t),target:D.FactoryTarget.Directive})}return s},configurable:!1})}function qI(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function jE(t,r){const s=lm(),m=s.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||pr,propMetadata:m,inputs:r.inputs||Xn,outputs:r.outputs||Xn,queries:BE(t,m,UE),lifecycle:{usesOnChanges:s.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qI(t),exportAs:RP(r.exportAs),providers:r.providers||null,viewQueries:BE(t,m,HE),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(D=>"function"==typeof D?{directive:D}:D)||null}}function Ad(t){const r=Object.prototype;let s=Object.getPrototypeOf(t.prototype).constructor;for(;s&&s!==r;)!Yt(s)&&!ln(s)&&YE(s)&&ny(s,null),s=Object.getPrototypeOf(s)}function OP(t){return"string"==typeof t?VE(t):Dr(t)}function LP(t,r){return{propertyName:t,predicate:OP(r.selector),descendants:r.descendants,first:r.first,read:r.read?r.read:null,static:!!r.static,emitDistinctChangesOnly:!!r.emitDistinctChangesOnly,isSignal:!!r.isSignal}}function BE(t,r,s){const m=[];for(const D in r)if(r.hasOwnProperty(D)){const O=r[D];O.forEach(G=>{if(s(G)){if(!G.selector)throw new Error(`Can't construct a query for the property "${D}" of "${Bi(t)}" since the query selector wasn't defined.`);if(O.some(Td))throw new Error("Cannot combine @Input decorators with query decorators");m.push(LP(D,G))}})}return m}function RP(t){return void 0===t?null:VE(t)}function UE(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HE(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Td(t){return"Input"===t.ngMetadataName}function VE(t){return t.split(",").map(r=>r.trim())}const FP=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YE(t){const r=lm();if(FP.some(m=>r.hasLifecycleHook(t,m)))return!0;const s=r.propMetadata(t);for(const m in s){const D=s[m];for(let O=0;O{if(null===m){const D=ry(t,r),O=qo();m=O.compileFactory(ys,`ng:///${D.name}/\u0275fac.js`,{name:D.name,type:D.type,typeArgumentCount:0,deps:gh(t),target:O.FactoryTarget.Pipe})}return m},configurable:!1}),Object.defineProperty(t,Rn,{get:()=>{if(null===s){const D=ry(t,r);s=qo().compilePipe(ys,`ng:///${D.name}/\u0275pipe.js`,D)}return s},configurable:!1})}function ry(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const WE=Au("Directive",(t={})=>t,void 0,void 0,(t,r)=>ny(t,r)),NP=Au("Component",(t={})=>({changeDetection:Mr.Default,...t}),WE,void 0,(t,r)=>LE(t,r)),$E=Au("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>zE(t,r)),jP=Va("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),du=Va("Output",t=>({alias:t})),BP=Va("HostBinding",t=>({hostPropertyName:t})),iy=Va("HostListener",(t,r)=>({eventName:t,args:r})),UP=Au("NgModule",t=>t,void 0,void 0,(t,r)=>AE(t,r));class GE{constructor(r){this.full=r;const s=r.split(".");this.major=s[0],this.minor=s[1],this.patch=s.slice(2).join(".")}}const KE=new GE("17.2.3");let QE=(()=>{class t{log(s){console.log(s)}warn(s){console.warn(s)}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const ay=new st(""),dw=new st("");let cy,eI=(()=>{class t{constructor(s,m,D){this._ngZone=s,this.registry=m,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cy||(ly(D),D.addToWindow(m)),this._watchAngularEvents(),s.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())queueMicrotask(()=>{for(;0!==this._callbacks.length;){let s=this._callbacks.pop();clearTimeout(s.timeoutId),s.doneCb()}});else{let s=this.getPendingTasks();this._callbacks=this._callbacks.filter(m=>!m.updateCb||!m.updateCb(s)||(clearTimeout(m.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(s=>({source:s.source,creationLocation:s.creationLocation,data:s.data})):[]}addCallback(s,m,D){let O=-1;m&&m>0&&(O=setTimeout(()=>{this._callbacks=this._callbacks.filter(G=>G.timeoutId!==O),s()},m)),this._callbacks.push({doneCb:s,timeoutId:O,updateCb:D})}whenStable(s,m,D){if(D&&!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(s,m,D),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(s){this.registry.registerApplication(s,this)}unregisterApplication(s){this.registry.unregisterApplication(s)}findProviders(s,m,D){return[]}static#e=this.\u0275fac=function(m){return new(m||t)(xe(Oo),xe(hw),xe(dw))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(s,m){this._applications.set(s,m)}unregisterApplication(s){this._applications.delete(s)}unregisterAllApplications(){this._applications.clear()}getTestability(s){return this._applications.get(s)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(s,m=!0){return cy?.findTestabilityInTree(this,s,m)??null}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function ly(t){cy=t}function uy(t){return!!t&&"function"==typeof t.then}function dy(t){return!!t&&"function"==typeof t.subscribe}const fw=new st("");let _g=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((s,m)=>{this.resolve=s,this.reject=m}),this.appInits=lt(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const s=[];for(const D of this.appInits){const O=D();if(uy(O))s.push(O);else if(dy(O)){const G=new Promise((ie,_e)=>{O.subscribe({complete:ie,error:_e})});s.push(G)}}const m=()=>{this.done=!0,this.resolve()};Promise.all(s).then(()=>{m()}).catch(D=>{this.reject(D)}),0===s.length&&m(),this.initialized=!0}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hy=new st("");function gw(){!function Q(t){se=t}(()=>{throw new Qe(600,!1)})}function Na(t){return t.isBoundToModule}class tI{constructor(r,s){this.name=r,this.token=s}}function fy(t,r,s){try{const m=s();return uy(m)?m.catch(D=>{throw r.runOutsideAngular(()=>t.handleError(D)),D}):m}catch(m){throw r.runOutsideAngular(()=>t.handleError(m)),m}}function mw(t,r){return Array.isArray(r)?r.reduce(mw,t):{...t,...r}}let kd,ja=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=lt(_b),this.afterRenderEffectManager=lt(Il),this.componentTypes=[],this.components=[],this.isStable=lt(fd).hasPendingTasks.pipe((0,De.k)(s=>!s)),this._injector=lt(Js)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(s,m){const D=s instanceof Ju;if(!this._injector.get(_g).done)throw!D&&lr(s),new Qe(405,!1);let G;G=D?s:this._injector.get(qu).resolveComponentFactory(s),this.componentTypes.push(G.componentType);const ie=Na(G)?void 0:this._injector.get(kl),Ve=G.create(Rs.NULL,[],m||G.selector,ie),tt=Ve.location.nativeElement,pt=Ve.injector.get(ay,null);return pt?.registerApplication(tt),Ve.onDestroy(()=>{this.detachView(Ve.hostView),vg(this.components,Ve),pt?.unregisterApplication(tt)}),this._loadComponent(Ve),Ve}tick(){if(this._runningTick)throw new Qe(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(s){this.internalErrorHandler(s)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let s=0;const m=this.afterRenderEffectManager;for(;;){if(100===s)throw new Qe(103,!1);const D=0===s;for(let{_lView:O,notifyErrorHandler:G}of this._views)!D&&!yg(O)||this.detectChangesInView(O,G,D);if(s++,m.executeInternalCallbacks(),!this._views.some(({_lView:O})=>yg(O))&&(m.execute(),!this._views.some(({_lView:O})=>yg(O))))break}}detectChangesInView(s,m,D){let O;D?(O=0,s[$n]|=1024):O=64&s[$n]?0:1,Ac(s,m,O)}attachView(s){const m=s;this._views.push(m),m.attachToAppRef(this)}detachView(s){const m=s;vg(this._views,m),m.detachFromAppRef()}_loadComponent(s){this.attachView(s.hostView),this.tick(),this.components.push(s);const m=this._injector.get(hy,[]);[...this._bootstrapListeners,...m].forEach(D=>D(s))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(s=>s()),this._views.slice().forEach(s=>s.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(s){return this._destroyListeners.push(s),()=>vg(this._destroyListeners,s)}destroy(){if(this._destroyed)throw new Qe(406,!1);const s=this._injector;s.destroy&&!s.destroyed&&s.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vg(t,r){const s=t.indexOf(r);s>-1&&t.splice(s,1)}function pw(t){kd??=new WeakMap;const r=kd.get(t);if(r)return r;const s=t.isStable.pipe((0,je.K)(m=>m)).toPromise().then(()=>{});return kd.set(t,s),t.onDestroy(()=>kd?.delete(t)),s}function yg(t){return pe(t)}class _w{constructor(r,s){this.ngModuleFactory=r,this.componentFactories=s}}let vw=(()=>{class t{compileModuleSync(s){return new _f(s)}compileModuleAsync(s){return Promise.resolve(this.compileModuleSync(s))}compileModuleAndAllComponentsSync(s){const m=this.compileModuleSync(s),O=Ns(cr(s).declarations).reduce((G,ie)=>{const _e=ln(ie);return _e&&G.push(new Lc(_e)),G},[]);return new _w(m,O)}compileModuleAndAllComponentsAsync(s){return Promise.resolve(this.compileModuleAndAllComponentsSync(s))}clearCache(){}clearCacheFor(s){}getModuleId(s){}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const yw=new st("");class bw{}function Cw(t,r,s){const m=new _f(s);return Promise.resolve(m)}let Mw=(()=>{class t{constructor(){this.zone=lt(Oo),this.applicationRef=lt(ja)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run(()=>{this.applicationRef.tick()})}}))}ngOnDestroy(){this._onMicrotaskEmptySubscription?.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function gy(t){return[{provide:Oo,useFactory:t},{provide:Is,multi:!0,useFactory:()=>{const r=lt(Mw,{optional:!0});return()=>r.initialize()}},{provide:Is,multi:!0,useFactory:()=>{const r=lt(rI);return()=>{r.initialize()}}},{provide:_b,useFactory:nI}]}function nI(){const t=lt(Oo),r=lt(Fs);return s=>t.runOutsideAngular(()=>r.handleError(s))}function Ew(t){return Pu([[],gy(()=>new Oo(xd(t)))])}function xd(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rI=(()=>{class t{constructor(){this.subscription=new qe.wH,this.initialized=!1,this.zone=lt(Oo),this.pendingTasks=lt(fd)}initialize(){if(this.initialized)return;this.initialized=!0;let s=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(s=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{Oo.assertNotInAngularZone(),queueMicrotask(()=>{null!==s&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(s),s=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{Oo.assertInAngularZone(),s??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bg=new st("",{providedIn:"root",factory:()=>lt(bg,vt.Optional|vt.SkipSelf)||function my(){return typeof $localize<"u"&&$localize.locale||qa}()}),ww=new st("",{providedIn:"root",factory:()=>"USD"}),iI=new st(""),Dw=new st("");var Aw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Aw||{});const Cg=new st("");let py=(()=>{class t{constructor(s){this._injector=s,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(s,m){const D=function rC(t="zone.js",r){return"noop"===t?new Ep:"zone.js"===t?new Oo(r):t}(m?.ngZone,xd({eventCoalescing:m?.ngZoneEventCoalescing,runCoalescing:m?.ngZoneRunCoalescing}));return D.run(()=>{const O=function rT(t,r,s){return new pf(t,r,s)}(s.moduleType,this.injector,gy(()=>D)),G=O.injector.get(Fs,null);return D.runOutsideAngular(()=>{const ie=D.onError.subscribe({next:_e=>{G.handleError(_e)}});O.onDestroy(()=>{vg(this._modules,O),ie.unsubscribe()})}),fy(G,D,()=>{const ie=O.injector.get(_g);return ie.runInitializers(),ie.donePromise.then(()=>(j_(O.injector.get(bg,qa)||qa),this._moduleDoBootstrap(O),O))})})}bootstrapModule(s,m=[]){const D=mw({},m);return Cw(0,0,s).then(O=>this.bootstrapModuleFactory(O,D))}_moduleDoBootstrap(s){const m=s.injector.get(ja);if(s._bootstrapComponents.length>0)s._bootstrapComponents.forEach(D=>m.bootstrap(D));else{if(!s.instance.ngDoBootstrap)throw new Qe(-403,!1);s.instance.ngDoBootstrap(m)}this._modules.push(s)}onDestroy(s){this._destroyListeners.push(s)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Qe(404,!1);this._modules.slice().forEach(m=>m.destroy()),this._destroyListeners.forEach(m=>m());const s=this._injector.get(Cg,null);s&&(s.forEach(m=>m()),s.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(m){return new(m||t)(xe(Rs))};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),Ba=null;const _y=new st("");function vy(t){if(Ba&&!Ba.get(_y,!1))throw new Qe(400,!1);gw(),Ba=t;const r=t.get(py);return kw(t),r}function Tw(t,r,s=[]){const m=`Platform: ${r}`,D=new st(m);return(O=[])=>{let G=Od();if(!G||G.injector.get(_y,!1)){const ie=[...s,...O,{provide:D,useValue:!0}];t?t(ie):vy(yy(ie,m))}return Pw()}}function yy(t=[],r){return Rs.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cg,useValue:new Set([()=>Ba=null])},...t]})}function Pw(t){const r=Od();if(!r)throw new Qe(401,!1);return r}function Od(){return Ba?.get(py)??null}function oI(){Od()?.destroy()}function kw(t){t.get(nn,null)?.forEach(s=>s())}function xw(){return!1}function sI(){}function Ow(t){const r=Hp(t);if(!r)throw Sg(t);return new _f(r)}function aI(t){const r=Hp(t);if(!r)throw Sg(t);return r}function Sg(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,s){this.name=r,this.callback=s}}function lI(t){return t.map(r=>r.nativeElement)}class Mg{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Ld(r):null}get injector(){return function iE(t){const r=Ms(t),s=r?r.lView:null;return null===s?Rs.NULL:new es(s[wn].data[r.nodeIndex],s)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(jv(r)||function rE(t){const r=Ms(t);let m,s=r?r.lView:null;if(null===s)return null;for(;2===s[wn].type&&(m=Nt(s));)s=m;return 512&s[$n]?null:s[Zr]}(r))}get context(){return jv(this.nativeNode)||function Bv(t){!function aE(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Ms(t),s=r?r.lView:null;return null===s?null:s[Zr]}(this.nativeNode)}get listeners(){return function sE(t){const r=Ms(t),s=null===r?null:r.lView;if(null===s)return[];const D=s[ti],O=s[wn].cleanup,G=[];if(O&&D)for(let ie=0;ie=0?"dom":"output"})}}return G.sort(TP),G}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function AP(t){const r=Ms(t);if(null===r)return{};if(void 0===r.localRefs){const s=r.lView;if(null===s)return{};r.localRefs=function JD(t,r){const s=t[wn].data[r];if(s&&s.localNames){const m={};let D=s.index+1;for(let O=0;O1){let tt=_e[1];for(let pt=1;pt<_e.length-1;pt++)tt+=Vr(s[G+pt-1])+_e[pt+1];t[Ve]=tt}else t[Ve]=s[G]}}(O,D,s,m),O}get attributes(){const r={},s=this.nativeElement;if(!s)return r;const m=Ms(s),D=m?m.lView:null;if(null===D)return{};const O=D[wn].data[m.nodeIndex].attrs,G=[];if(O){let ie=0;for(;ier[O]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,s=[];for(let m=0;m{if(O.name===r){const G=O.callback;G.call(m,s),D.push(G)}}),"function"==typeof m.eventListeners&&m.eventListeners(r).forEach(O=>{if(-1!==O.toString().indexOf("__ngUnwrap__")){const G=O("__ngUnwrap__");return-1===D.indexOf(G)&&G.call(m,s)}})}}function cI(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function by(t,r,s,m){const D=Ms(t.nativeNode),O=D?D.lView:null;null!==O?Wl(O[wn].data[D.nodeIndex],O,r,s,m,t.nativeNode):Eg(t.nativeNode,r,s,m)}function Wl(t,r,s,m,D,O){const G=function Xo(t,r){const s=null===t?-1:t.index;return-1!==s?Ur(r[s]):null}(t,r);if(11&t.type){if(Sy(G,s,m,D,O),Oi(t)){const _e=Di(t.index,r);_e&&_e[wn].firstChild&&Wl(_e[wn].firstChild,_e,s,m,D,O)}else t.child&&Wl(t.child,r,s,m,D,O),G&&Eg(G,s,m,D);const ie=r[t.index];Gr(ie)&&Cy(ie,s,m,D,O)}else if(4&t.type){const ie=r[t.index];Sy(ie[yi],s,m,D,O),Cy(ie,s,m,D,O)}else if(16&t.type){const ie=r[Jr],Ve=ie[ai].projection[t.projection];if(Array.isArray(Ve))for(let tt of Ve)Sy(tt,s,m,D,O);else if(Ve){const tt=ie[si];Wl(tt[wn].data[Ve.index],tt,s,m,D,O)}}else t.child&&Wl(t.child,r,s,m,D,O);if(O!==G){const ie=2&t.flags?t.projectionNext:t.next;ie&&Wl(ie,r,s,m,D,O)}}function Cy(t,r,s,m,D){for(let O=zr;O{class t{constructor(s){}static#e=this.\u0275fac=function(m){return new(m||t)(xe(ja))};static#t=this.\u0275mod=Kt({type:t});static#n=this.\u0275inj=Us({})}return t})();function gi(t){}function jr(t,r){!r&&pl();const s=r?.injector??lt(Rs),m=s.get(ja);let D=!1;const O=()=>{D||m.destroyed||(D=!0,t())};rf(O,{injector:s,runOnServer:!0}),queueMicrotask(()=>{O()})}function Ho(t){try{const{rootComponent:r,appProviders:s,platformProviders:m}=t,D=function Iw(t=[]){if(Ba)return Ba;const r=yy(t);return Ba=r,gw(),kw(r),r}(m),O=[Ew(),...s||[]],ie=new tS({providers:O,parent:D,debugName:"",runEnvironmentInitializers:!1}).injector,_e=ie.get(Oo);return _e.run(()=>{ie.resolveInjectorInitializers();const Ve=ie.get(Fs,null);let tt;_e.runOutsideAngular(()=>{tt=_e.onError.subscribe({next:Wt=>{Ve.handleError(Wt)}})});const pt=()=>ie.destroy(),Ft=D.get(Cg);return Ft.add(pt),ie.onDestroy(()=>{tt.unsubscribe(),Ft.delete(pt)}),fy(Ve,_e,()=>{const Wt=ie.get(_g);return Wt.runInitializers(),Wt.donePromise.then(()=>{j_(ie.get(bg,qa)||qa);const An=ie.get(ja);return void 0!==r&&An.bootstrap(r),An})})})}catch(r){return Promise.reject(r)}}let ia=(()=>{class t{constructor(){this.appRef=lt(ja),this.taskService=lt(fd),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var s=this;return(0,n.c)(function*(){const m=new Promise(O=>setTimeout(O)),D="function"==typeof xn.requestAnimationFrame?new Promise(O=>requestAnimationFrame(()=>O())):null;yield Promise.race([m,D]),s.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const s=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(s)}}static#e=this.\u0275fac=function(m){return new(m||t)};static#t=this.\u0275prov=ni({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function Ua(){return Pu([{provide:hp,useExisting:ia},{provide:Oo,useClass:Ep}])}function Ag(t,r){const s=t[wn];for(let m=ar;m0&&Ve===m){const tt=s[s.length-1];tt[dl]??=1,tt[dl]++}else m=Ve,s.push(_e)}return s}function Ww(t,r,s){const m=r.index-ar;t[Ng]??={},t[Ng][m]=j0(r,s)}function hk(t,r){const s=r.index-ar;t[Vd]??=[],t[Vd].includes(s)||t[Vd].push(s)}function fk(t,r){const s={},m=t[wn];for(let D=ar;D{let t=!0;return Ga()&&(t=!!lt(Mu,{optional:!0})?.get(jg,null)),t&&zs("NgHydration"),t}},{provide:Is,useValue:()=>{Ga()&<(_c)&&(function Ak(){const t=No();let r;for(const s of t.body.childNodes)if(s.nodeType===Node.COMMENT_NODE&&s.textContent?.trim()===wu){r=s;break}if(!r)throw new Qe(-507,!1)}(),function Ek(){gk||(gk=!0,function Qw(){ky=Kw}(),function aM(){Xc=OT}(),function bP(){XM=yP}(),function RT(){lM=cM}(),function $p(){Wp=oT}(),function L1(){yC=CC,cf=O1}(),function dp(){up=r1}(),function CA(){Wm=bA}())}())},multi:!0},{provide:um,useFactory:()=>Ga()&<(_c)},{provide:hy,useFactory:()=>{if(Ga()&<(_c)){const t=lt(ja);return lt(Rs),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{Oo.assertInAngularZone(),function XA(t){const r=t._views;for(const s of r){const m=xy(s);null!==m&&null!==m[_r]&&(Ni(m)?Zu(m):(Zu(m[_r]),F0(m)))}}(t)})}}return()=>{}},multi:!0}])}function Tk(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Pk(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Ik(t){return qo().compileDirectiveDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rS(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return qo().compileComponentDeclaration(ys,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return qo(function Lk(t){switch(t){case _l.Directive:return"directive";case _l.Component:return"component";case _l.Injectable:return"injectable";case _l.Pipe:return"pipe";case _l.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(ys,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return qo().compileInjectableDeclaration(ys,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return qo().compileInjectorDeclaration(ys,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return qo().compileNgModuleDeclaration(ys,`ng:///${t.type.name}/\u0275mod.js`,t)}function jk(t){return qo().compilePipeDeclaration(ys,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const s=ln(t),m=r.elementInjector||Aa();return new Lc(s).create(m,r.projectableNodes,r.hostElement,r.environmentInjector)}function Uk(t){const r=ln(t);if(!r)return null;const s=new Lc(r);return{get selector(){return s.selector},get type(){return s.componentType},get inputs(){return s.inputs},get outputs(){return s.outputs},get ngContentSelectors(){return s.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,s)=>Object.assign(r,s,{providers:[...r.providers,...s.providers]}),{providers:[]})}},44716:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{AbstractControl:()=>Br,AbstractControlDirective:()=>bt,AbstractFormGroupDirective:()=>ot,COMPOSITION_BUFFER_MODE:()=>A,CheckboxControlValueAccessor:()=>v,CheckboxRequiredValidator:()=>Lo,ControlContainer:()=>Qe,DefaultValueAccessor:()=>k,EmailValidator:()=>Zi,FormArray:()=>Ki,FormArrayName:()=>Xr,FormBuilder:()=>co,FormControl:()=>Pe,FormControlDirective:()=>si,FormControlName:()=>Yi,FormGroup:()=>sr,FormGroupDirective:()=>ai,FormGroupName:()=>ti,FormRecord:()=>xn,FormsModule:()=>hs,MaxLengthValidator:()=>Co,MaxValidator:()=>Eo,MinLengthValidator:()=>Gi,MinValidator:()=>zr,NG_ASYNC_VALIDATORS:()=>P,NG_VALIDATORS:()=>T,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>Ut,NgControlStatus:()=>bn,NgControlStatusGroup:()=>kt,NgForm:()=>W,NgModel:()=>Yt,NgModelGroup:()=>fn,NgSelectOption:()=>qi,NonNullableFormBuilder:()=>Fo,NumberValueAccessor:()=>cr,PatternValidator:()=>wo,RadioControlValueAccessor:()=>lo,RangeValueAccessor:()=>_r,ReactiveFormsModule:()=>Qo,RequiredValidator:()=>Gr,SelectControlValueAccessor:()=>zi,SelectMultipleControlValueAccessor:()=>xi,UntypedFormArray:()=>uo,UntypedFormBuilder:()=>Do,UntypedFormControl:()=>fe,UntypedFormGroup:()=>br,VERSION:()=>Ko,Validators:()=>j,isFormArray:()=>So,isFormControl:()=>Te,isFormGroup:()=>Jn,isFormRecord:()=>oi,\u0275InternalFormsSharedModule:()=>rs,\u0275NgNoValidate:()=>Ln,\u0275NgSelectMultipleOption:()=>qr});var n=i(54496),o=i(91368),d=i(74496),a=i(53252),u=i(64300),e=i(50560),l=i(59472),c=i(87773),g=i(74187),y=i(67904),C=i(54704);let b=(()=>{class We{constructor(ke,dt){this._renderer=ke,this._elementRef=dt,this.onChange=wt=>{},this.onTouched=()=>{}}setProperty(ke,dt){this._renderer.setProperty(this._elementRef.nativeElement,ke,dt)}registerOnTouched(ke){this.onTouched=ke}registerOnChange(ke){this.onChange=ke}setDisabledState(ke){this.setProperty("disabled",ke)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We})}return We})(),p=(()=>{class We extends b{static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,features:[n.\u0275\u0275InheritDefinitionFeature]})}return We})();const f=new n.InjectionToken(""),S={provide:f,useExisting:(0,n.forwardRef)(()=>v),multi:!0};let v=(()=>{class We extends p{writeValue(ke){this.setProperty("checked",ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target.checked)})("blur",function(){return wt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([S]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const M={provide:f,useExisting:(0,n.forwardRef)(()=>k),multi:!0},A=new n.InjectionToken("");let k=(()=>{class We extends b{constructor(ke,dt,wt){super(ke,dt),this._compositionMode=wt,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function E(){const We=(0,o.\u0275getDOM)()?(0,o.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(We.toLowerCase())}())}writeValue(ke){this.setProperty("value",ke??"")}_handleInput(ke){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ke)}_compositionStart(){this._composing=!0}_compositionEnd(ke){this._composing=!1,this._compositionMode&&this.onChange(ke)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(A,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,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(dt,wt){1&dt&&n.\u0275\u0275listener("input",function(Bn){return wt._handleInput(Bn.target.value)})("blur",function(){return wt.onTouched()})("compositionstart",function(){return wt._compositionStart()})("compositionend",function(Bn){return wt._compositionEnd(Bn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([M]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();function N(We){return null==We||("string"==typeof We||Array.isArray(We))&&0===We.length}function F(We){return null!=We&&"number"==typeof We.length}const T=new n.InjectionToken(""),P=new n.InjectionToken(""),I=/^(?=.{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 j{static min(Xe){return L(Xe)}static max(Xe){return B(Xe)}static required(Xe){return $(Xe)}static requiredTrue(Xe){return ee(Xe)}static email(Xe){return le(Xe)}static minLength(Xe){return se(Xe)}static maxLength(Xe){return K(Xe)}static pattern(Xe){return Q(Xe)}static nullValidator(Xe){return null}static compose(Xe){return Oe(Xe)}static composeAsync(Xe){return Ae(Xe)}}function L(We){return Xe=>{if(N(Xe.value)||N(We))return null;const ke=parseFloat(Xe.value);return!isNaN(ke)&&ke{if(N(Xe.value)||N(We))return null;const ke=parseFloat(Xe.value);return!isNaN(ke)&&ke>We?{max:{max:We,actual:Xe.value}}:null}}function $(We){return N(We.value)?{required:!0}:null}function ee(We){return!0===We.value?null:{required:!0}}function le(We){return N(We.value)||I.test(We.value)?null:{email:!0}}function se(We){return Xe=>N(Xe.value)||!F(Xe.value)?null:Xe.value.lengthF(Xe.value)&&Xe.value.length>We?{maxlength:{requiredLength:We,actualLength:Xe.value.length}}:null}function Q(We){if(!We)return re;let Xe,ke;return"string"==typeof We?(ke="","^"!==We.charAt(0)&&(ke+="^"),ke+=We,"$"!==We.charAt(We.length-1)&&(ke+="$"),Xe=new RegExp(ke)):(ke=We.toString(),Xe=We),dt=>{if(N(dt.value))return null;const wt=dt.value;return Xe.test(wt)?null:{pattern:{requiredPattern:ke,actualValue:wt}}}}function re(We){return null}function X(We){return null!=We}function z(We){return(0,n.\u0275isPromise)(We)?(0,d.Q)(We):We}function Y(We){let Xe={};return We.forEach(ke=>{Xe=null!=ke?{...Xe,...ke}:Xe}),0===Object.keys(Xe).length?null:Xe}function q(We,Xe){return Xe.map(ke=>ke(We))}function me(We){return We.map(Xe=>function de(We){return!We.validate}(Xe)?Xe:ke=>Xe.validate(ke))}function Oe(We){if(!We)return null;const Xe=We.filter(X);return 0==Xe.length?null:function(ke){return Y(q(ke,Xe))}}function Re(We){return null!=We?Oe(me(We)):null}function Ae(We){if(!We)return null;const Xe=We.filter(X);return 0==Xe.length?null:function(ke){return function _(...We){const Xe=(0,l.yu)(We),{args:ke,keys:dt}=(0,u.Q)(We),wt=new a._(zn=>{const{length:Bn}=ke;if(!Bn)return void zn.complete();const Wi=new Array(Bn);let Mo=Bn,Ao=Bn;for(let ho=0;ho{Ur||(Ur=!0,Ao--),Wi[ho]=Zo},()=>Mo--,void 0,()=>{(!Mo||!Ur)&&(Ao||zn.next(dt?(0,y.q)(dt,Wi):Wi),zn.complete())}))}});return Xe?wt.pipe((0,g.j)(Xe)):wt}(q(ke,Xe).map(z)).pipe((0,C.k)(Y))}}function ge(We){return null!=We?Ae(me(We)):null}function Ne(We,Xe){return null===We?[Xe]:Array.isArray(We)?[...We,Xe]:[We,Xe]}function it(We){return We._rawValidators}function qe(We){return We._rawAsyncValidators}function et(We){return We?Array.isArray(We)?We:[We]:[]}function De(We,Xe){return Array.isArray(We)?We.includes(Xe):We===Xe}function je(We,Xe){const ke=et(Xe);return et(We).forEach(wt=>{De(ke,wt)||ke.push(wt)}),ke}function Ie(We,Xe){return et(Xe).filter(ke=>!De(We,ke))}class bt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}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}_setValidators(Xe){this._rawValidators=Xe||[],this._composedValidatorFn=Re(this._rawValidators)}_setAsyncValidators(Xe){this._rawAsyncValidators=Xe||[],this._composedAsyncValidatorFn=ge(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Xe){this._onDestroyCallbacks.push(Xe)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Xe=>Xe()),this._onDestroyCallbacks=[]}reset(Xe=void 0){this.control&&this.control.reset(Xe)}hasError(Xe,ke){return!!this.control&&this.control.hasError(Xe,ke)}getError(Xe,ke){return this.control?this.control.getError(Xe,ke):null}}class Qe extends bt{get formDirective(){return null}get path(){return null}}class Ut extends bt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class sn{constructor(Xe){this._cd=Xe}get isTouched(){return!!this._cd?.control?.touched}get isUntouched(){return!!this._cd?.control?.untouched}get isPristine(){return!!this._cd?.control?.pristine}get isDirty(){return!!this._cd?.control?.dirty}get isValid(){return!!this._cd?.control?.valid}get isInvalid(){return!!this._cd?.control?.invalid}get isPending(){return!!this._cd?.control?.pending}get isSubmitted(){return!!this._cd?.submitted}}let bn=(()=>{class We extends sn{constructor(ke){super(ke)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Ut,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275classProp("ng-untouched",wt.isUntouched)("ng-touched",wt.isTouched)("ng-pristine",wt.isPristine)("ng-dirty",wt.isDirty)("ng-valid",wt.isValid)("ng-invalid",wt.isInvalid)("ng-pending",wt.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return We})(),kt=(()=>{class We extends sn{constructor(ke){super(ke)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Qe,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275classProp("ng-untouched",wt.isUntouched)("ng-touched",wt.isTouched)("ng-pristine",wt.isPristine)("ng-dirty",wt.isDirty)("ng-valid",wt.isValid)("ng-invalid",wt.isInvalid)("ng-pending",wt.isPending)("ng-submitted",wt.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return We})();const kn="VALID",Mt="INVALID",Gt="PENDING",mt="DISABLED";function Et(We){return(qt(We)?We.validators:We)||null}function _n(We,Xe){return(qt(Xe)?Xe.asyncValidators:We)||null}function qt(We){return null!=We&&!Array.isArray(We)&&"object"==typeof We}function nr(We,Xe,ke){const dt=We.controls;if(!(Xe?Object.keys(dt):dt).length)throw new n.\u0275RuntimeError(1e3,"");if(!dt[ke])throw new n.\u0275RuntimeError(1001,"")}function kr(We,Xe,ke){We._forEachChild((dt,wt)=>{if(void 0===ke[wt])throw new n.\u0275RuntimeError(1002,"")})}class Br{constructor(Xe,ke){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Xe),this._assignAsyncValidators(ke)}get validator(){return this._composedValidatorFn}set validator(Xe){this._rawValidators=this._composedValidatorFn=Xe}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Xe){this._rawAsyncValidators=this._composedAsyncValidatorFn=Xe}get parent(){return this._parent}get valid(){return this.status===kn}get invalid(){return this.status===Mt}get pending(){return this.status==Gt}get disabled(){return this.status===mt}get enabled(){return this.status!==mt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Xe){this._assignValidators(Xe)}setAsyncValidators(Xe){this._assignAsyncValidators(Xe)}addValidators(Xe){this.setValidators(je(Xe,this._rawValidators))}addAsyncValidators(Xe){this.setAsyncValidators(je(Xe,this._rawAsyncValidators))}removeValidators(Xe){this.setValidators(Ie(Xe,this._rawValidators))}removeAsyncValidators(Xe){this.setAsyncValidators(Ie(Xe,this._rawAsyncValidators))}hasValidator(Xe){return De(this._rawValidators,Xe)}hasAsyncValidator(Xe){return De(this._rawAsyncValidators,Xe)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Xe={}){this.touched=!0,this._parent&&!Xe.onlySelf&&this._parent.markAsTouched(Xe)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Xe=>Xe.markAllAsTouched())}markAsUntouched(Xe={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ke=>{ke.markAsUntouched({onlySelf:!0})}),this._parent&&!Xe.onlySelf&&this._parent._updateTouched(Xe)}markAsDirty(Xe={}){this.pristine=!1,this._parent&&!Xe.onlySelf&&this._parent.markAsDirty(Xe)}markAsPristine(Xe={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ke=>{ke.markAsPristine({onlySelf:!0})}),this._parent&&!Xe.onlySelf&&this._parent._updatePristine(Xe)}markAsPending(Xe={}){this.status=Gt,!1!==Xe.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Xe.onlySelf&&this._parent.markAsPending(Xe)}disable(Xe={}){const ke=this._parentMarkedDirty(Xe.onlySelf);this.status=mt,this.errors=null,this._forEachChild(dt=>{dt.disable({...Xe,onlySelf:!0})}),this._updateValue(),!1!==Xe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Xe,skipPristineCheck:ke}),this._onDisabledChange.forEach(dt=>dt(!0))}enable(Xe={}){const ke=this._parentMarkedDirty(Xe.onlySelf);this.status=kn,this._forEachChild(dt=>{dt.enable({...Xe,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Xe.emitEvent}),this._updateAncestors({...Xe,skipPristineCheck:ke}),this._onDisabledChange.forEach(dt=>dt(!1))}_updateAncestors(Xe){this._parent&&!Xe.onlySelf&&(this._parent.updateValueAndValidity(Xe),Xe.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Xe){this._parent=Xe}getRawValue(){return this.value}updateValueAndValidity(Xe={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kn||this.status===Gt)&&this._runAsyncValidator(Xe.emitEvent)),!1!==Xe.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Xe.onlySelf&&this._parent.updateValueAndValidity(Xe)}_updateTreeValidity(Xe={emitEvent:!0}){this._forEachChild(ke=>ke._updateTreeValidity(Xe)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Xe.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?mt:kn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Xe){if(this.asyncValidator){this.status=Gt,this._hasOwnPendingAsyncValidator=!0;const ke=z(this.asyncValidator(this));this._asyncValidationSubscription=ke.subscribe(dt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(dt,{emitEvent:Xe})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Xe,ke={}){this.errors=Xe,this._updateControlsErrors(!1!==ke.emitEvent)}get(Xe){let ke=Xe;return null==ke||(Array.isArray(ke)||(ke=ke.split(".")),0===ke.length)?null:ke.reduce((dt,wt)=>dt&&dt._find(wt),this)}getError(Xe,ke){const dt=ke?this.get(ke):this;return dt&&dt.errors?dt.errors[Xe]:null}hasError(Xe,ke){return!!this.getError(Xe,ke)}get root(){let Xe=this;for(;Xe._parent;)Xe=Xe._parent;return Xe}_updateControlsErrors(Xe){this.status=this._calculateStatus(),Xe&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Xe)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?mt:this.errors?Mt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Gt)?Gt:this._anyControlsHaveStatus(Mt)?Mt:kn}_anyControlsHaveStatus(Xe){return this._anyControls(ke=>ke.status===Xe)}_anyControlsDirty(){return this._anyControls(Xe=>Xe.dirty)}_anyControlsTouched(){return this._anyControls(Xe=>Xe.touched)}_updatePristine(Xe={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Xe.onlySelf&&this._parent._updatePristine(Xe)}_updateTouched(Xe={}){this.touched=this._anyControlsTouched(),this._parent&&!Xe.onlySelf&&this._parent._updateTouched(Xe)}_registerOnCollectionChange(Xe){this._onCollectionChange=Xe}_setUpdateStrategy(Xe){qt(Xe)&&null!=Xe.updateOn&&(this._updateOn=Xe.updateOn)}_parentMarkedDirty(Xe){return!Xe&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Xe){return null}_assignValidators(Xe){this._rawValidators=Array.isArray(Xe)?Xe.slice():Xe,this._composedValidatorFn=function Xt(We){return Array.isArray(We)?Re(We):We||null}(this._rawValidators)}_assignAsyncValidators(Xe){this._rawAsyncValidators=Array.isArray(Xe)?Xe.slice():Xe,this._composedAsyncValidatorFn=function En(We){return Array.isArray(We)?ge(We):We||null}(this._rawAsyncValidators)}}class sr extends Br{constructor(Xe,ke,dt){super(Et(ke),_n(dt,ke)),this.controls=Xe,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Xe,ke){return this.controls[Xe]?this.controls[Xe]:(this.controls[Xe]=ke,ke.setParent(this),ke._registerOnCollectionChange(this._onCollectionChange),ke)}addControl(Xe,ke,dt={}){this.registerControl(Xe,ke),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}removeControl(Xe,ke={}){this.controls[Xe]&&this.controls[Xe]._registerOnCollectionChange(()=>{}),delete this.controls[Xe],this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}setControl(Xe,ke,dt={}){this.controls[Xe]&&this.controls[Xe]._registerOnCollectionChange(()=>{}),delete this.controls[Xe],ke&&this.registerControl(Xe,ke),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}contains(Xe){return this.controls.hasOwnProperty(Xe)&&this.controls[Xe].enabled}setValue(Xe,ke={}){kr(this,0,Xe),Object.keys(Xe).forEach(dt=>{nr(this,!0,dt),this.controls[dt].setValue(Xe[dt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Xe,ke={}){null!=Xe&&(Object.keys(Xe).forEach(dt=>{const wt=this.controls[dt];wt&&wt.patchValue(Xe[dt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Xe={},ke={}){this._forEachChild((dt,wt)=>{dt.reset(Xe?Xe[wt]:null,{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this._reduceChildren({},(Xe,ke,dt)=>(Xe[dt]=ke.getRawValue(),Xe))}_syncPendingControls(){let Xe=this._reduceChildren(!1,(ke,dt)=>!!dt._syncPendingControls()||ke);return Xe&&this.updateValueAndValidity({onlySelf:!0}),Xe}_forEachChild(Xe){Object.keys(this.controls).forEach(ke=>{const dt=this.controls[ke];dt&&Xe(dt,ke)})}_setUpControls(){this._forEachChild(Xe=>{Xe.setParent(this),Xe._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Xe){for(const[ke,dt]of Object.entries(this.controls))if(this.contains(ke)&&Xe(dt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ke,dt,wt)=>((dt.enabled||this.disabled)&&(ke[wt]=dt.value),ke))}_reduceChildren(Xe,ke){let dt=Xe;return this._forEachChild((wt,zn)=>{dt=ke(dt,wt,zn)}),dt}_allControlsDisabled(){for(const Xe of Object.keys(this.controls))if(this.controls[Xe].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Xe){return this.controls.hasOwnProperty(Xe)?this.controls[Xe]:null}}const br=sr,Jn=We=>We instanceof sr;class xn extends sr{}const oi=We=>We instanceof xn,Sr=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>pr}),pr="always";function Xn(We,Xe){return[...Xe.path,We]}function qn(We,Xe,ke=pr){Rn(We,Xe),Xe.valueAccessor.writeValue(We.value),(We.disabled||"always"===ke)&&Xe.valueAccessor.setDisabledState?.(We.disabled),function or(We,Xe){Xe.valueAccessor.registerOnChange(ke=>{We._pendingValue=ke,We._pendingChange=!0,We._pendingDirty=!0,"change"===We.updateOn&&Ir(We,Xe)})}(We,Xe),function ct(We,Xe){const ke=(dt,wt)=>{Xe.valueAccessor.writeValue(dt),wt&&Xe.viewToModelUpdate(dt)};We.registerOnChange(ke),Xe._registerOnDestroy(()=>{We._unregisterOnChange(ke)})}(We,Xe),function ui(We,Xe){Xe.valueAccessor.registerOnTouched(()=>{We._pendingTouched=!0,"blur"===We.updateOn&&We._pendingChange&&Ir(We,Xe),"submit"!==We.updateOn&&We.markAsTouched()})}(We,Xe),function Qt(We,Xe){if(Xe.valueAccessor.setDisabledState){const ke=dt=>{Xe.valueAccessor.setDisabledState(dt)};We.registerOnDisabledChange(ke),Xe._registerOnDestroy(()=>{We._unregisterOnDisabledChange(ke)})}}(We,Xe)}function Or(We,Xe,ke=!0){const dt=()=>{};Xe.valueAccessor&&(Xe.valueAccessor.registerOnChange(dt),Xe.valueAccessor.registerOnTouched(dt)),Kn(We,Xe),We&&(Xe._invokeOnDestroyCallbacks(),We._registerOnCollectionChange(()=>{}))}function pi(We,Xe){We.forEach(ke=>{ke.registerOnValidatorChange&&ke.registerOnValidatorChange(Xe)})}function Rn(We,Xe){const ke=it(We);null!==Xe.validator?We.setValidators(Ne(ke,Xe.validator)):"function"==typeof ke&&We.setValidators([ke]);const dt=qe(We);null!==Xe.asyncValidator?We.setAsyncValidators(Ne(dt,Xe.asyncValidator)):"function"==typeof dt&&We.setAsyncValidators([dt]);const wt=()=>We.updateValueAndValidity();pi(Xe._rawValidators,wt),pi(Xe._rawAsyncValidators,wt)}function Kn(We,Xe){let ke=!1;if(null!==We){if(null!==Xe.validator){const wt=it(We);if(Array.isArray(wt)&&wt.length>0){const zn=wt.filter(Bn=>Bn!==Xe.validator);zn.length!==wt.length&&(ke=!0,We.setValidators(zn))}}if(null!==Xe.asyncValidator){const wt=qe(We);if(Array.isArray(wt)&&wt.length>0){const zn=wt.filter(Bn=>Bn!==Xe.asyncValidator);zn.length!==wt.length&&(ke=!0,We.setAsyncValidators(zn))}}}const dt=()=>{};return pi(Xe._rawValidators,dt),pi(Xe._rawAsyncValidators,dt),ke}function Ir(We,Xe){We._pendingDirty&&We.markAsDirty(),We.setValue(We._pendingValue,{emitModelToViewChange:!1}),Xe.viewToModelUpdate(We._pendingValue),We._pendingChange=!1}function Tt(We,Xe){Rn(We,Xe)}function Un(We,Xe){if(!We.hasOwnProperty("model"))return!1;const ke=We.model;return!!ke.isFirstChange()||!Object.is(Xe,ke.currentValue)}function Er(We,Xe){We._syncPendingControls(),Xe.forEach(ke=>{const dt=ke.control;"submit"===dt.updateOn&&dt._pendingChange&&(ke.viewToModelUpdate(dt._pendingValue),dt._pendingChange=!1)})}function Hn(We,Xe){if(!Xe)return null;let ke,dt,wt;return Array.isArray(Xe),Xe.forEach(zn=>{zn.constructor===k?ke=zn:function Tr(We){return Object.getPrototypeOf(We.constructor)===p}(zn)?dt=zn:wt=zn}),wt||dt||ke||null}const on={provide:Qe,useExisting:(0,n.forwardRef)(()=>W)},H=Promise.resolve();let W=(()=>{class We extends Qe{constructor(ke,dt,wt){super(),this.callSetDisabledState=wt,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new sr({},Re(ke),ge(dt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ke){H.then(()=>{const dt=this._findContainer(ke.path);ke.control=dt.registerControl(ke.name,ke.control),qn(ke.control,ke,this.callSetDisabledState),ke.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ke)})}getControl(ke){return this.form.get(ke.path)}removeControl(ke){H.then(()=>{const dt=this._findContainer(ke.path);dt&&dt.removeControl(ke.name),this._directives.delete(ke)})}addFormGroup(ke){H.then(()=>{const dt=this._findContainer(ke.path),wt=new sr({});Tt(wt,ke),dt.registerControl(ke.name,wt),wt.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ke){H.then(()=>{const dt=this._findContainer(ke.path);dt&&dt.removeControl(ke.name)})}getFormGroup(ke){return this.form.get(ke.path)}updateModel(ke,dt){H.then(()=>{this.form.get(ke.path).setValue(dt)})}setValue(ke){this.control.setValue(ke)}onSubmit(ke){return this.submitted=!0,Er(this.form,this._directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ke){return ke.pop(),ke.length?this.form.get(ke):this.form}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("submit",function(Bn){return wt.onSubmit(Bn)})("reset",function(){return wt.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([on]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();function ae(We,Xe){const ke=We.indexOf(Xe);ke>-1&&We.splice(ke,1)}function He(We){return"object"==typeof We&&null!==We&&2===Object.keys(We).length&&"value"in We&&"disabled"in We}const Pe=class extends Br{constructor(Xe=null,ke,dt){super(Et(ke),_n(dt,ke)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Xe),this._setUpdateStrategy(ke),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),qt(ke)&&(ke.nonNullable||ke.initialValueIsDefault)&&(this.defaultValue=He(Xe)?Xe.value:Xe)}setValue(Xe,ke={}){this.value=this._pendingValue=Xe,this._onChange.length&&!1!==ke.emitModelToViewChange&&this._onChange.forEach(dt=>dt(this.value,!1!==ke.emitViewToModelChange)),this.updateValueAndValidity(ke)}patchValue(Xe,ke={}){this.setValue(Xe,ke)}reset(Xe=this.defaultValue,ke={}){this._applyFormState(Xe),this.markAsPristine(ke),this.markAsUntouched(ke),this.setValue(this.value,ke),this._pendingChange=!1}_updateValue(){}_anyControls(Xe){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Xe){this._onChange.push(Xe)}_unregisterOnChange(Xe){ae(this._onChange,Xe)}registerOnDisabledChange(Xe){this._onDisabledChange.push(Xe)}_unregisterOnDisabledChange(Xe){ae(this._onDisabledChange,Xe)}_forEachChild(Xe){}_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(Xe){He(Xe)?(this.value=this._pendingValue=Xe.value,Xe.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Xe}},fe=Pe,Te=We=>We instanceof Pe;let ot=(()=>{class We extends Qe{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,features:[n.\u0275\u0275InheritDefinitionFeature]})}return We})();const dn={provide:Qe,useExisting:(0,n.forwardRef)(()=>fn)};let fn=(()=>{class We extends ot{constructor(ke,dt,wt){super(),this.name="",this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt)}_checkParentType(){}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Qe,5),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([dn]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const mn={provide:Ut,useExisting:(0,n.forwardRef)(()=>Yt)},ln=Promise.resolve();let Yt=(()=>{class We extends Ut{constructor(ke,dt,wt,zn,Bn,Wi){super(),this._changeDetectorRef=Bn,this.callSetDisabledState=Wi,this.control=new Pe,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt),this.valueAccessor=Hn(0,zn)}ngOnChanges(ke){if(this._checkForErrors(),!this._registered||"name"in ke){if(this._registered&&(this._checkName(),this.formDirective)){const dt=ke.name.previousValue;this.formDirective.removeControl({name:dt,path:this._getPath(dt)})}this._setUpControl()}"isDisabled"in ke&&this._updateDisabled(ke),Un(ke,this.viewModel)&&(this._updateValue(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(ke){this.viewModel=ke,this.update.emit(ke)}_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(){qn(this.control,this,this.callSetDisabledState),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(ke){ln.then(()=>{this.control.setValue(ke,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ke){const dt=ke.isDisabled.currentValue,wt=0!==dt&&(0,n.booleanAttribute)(dt);ln.then(()=>{wt&&!this.control.disabled?this.control.disable():!wt&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ke){return this._parent?Xn(ke,this._parent):[ke]}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Qe,9),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"],options:[n.\u0275\u0275InputFlags.None,"ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.\u0275\u0275ProvidersFeature([mn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return We})(),Ln=(()=>{class We{static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return We})();const lr={provide:f,useExisting:(0,n.forwardRef)(()=>cr),multi:!0};let cr=(()=>{class We extends p{writeValue(ke){this.setProperty("value",ke??"")}registerOnChange(ke){this.onChange=dt=>{ke(""==dt?null:parseFloat(dt))}}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("input",function(Bn){return wt.onChange(Bn.target.value)})("blur",function(){return wt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([lr]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const Nr={provide:f,useExisting:(0,n.forwardRef)(()=>lo),multi:!0};let ut=(()=>{class We{constructor(){this._accessors=[]}add(ke,dt){this._accessors.push([ke,dt])}remove(ke){for(let dt=this._accessors.length-1;dt>=0;--dt)if(this._accessors[dt][1]===ke)return void this._accessors.splice(dt,1)}select(ke){this._accessors.forEach(dt=>{this._isSameGroup(dt,ke)&&dt[1]!==ke&&dt[1].fireUncheck(ke.value)})}_isSameGroup(ke,dt){return!!ke[0].control&&ke[0]._parent===dt._control._parent&&ke[1].name===dt.name}static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})(),lo=(()=>{class We extends p{constructor(ke,dt,wt,zn){super(ke,dt),this._registry=wt,this._injector=zn,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(Sr,{optional:!0})??pr}ngOnInit(){this._control=this._injector.get(Ut),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ke){this._state=ke===this.value,this.setProperty("checked",this._state)}registerOnChange(ke){this._fn=ke,this.onChange=()=>{ke(this.value),this._registry.select(this)}}setDisabledState(ke){(this.setDisabledStateFired||ke||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ke),this.setDisabledStateFired=!0}fireUncheck(ke){this.writeValue(ke)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(ut),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(){return wt.onChange()})("blur",function(){return wt.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Nr]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const vi={provide:f,useExisting:(0,n.forwardRef)(()=>_r),multi:!0};let _r=(()=>{class We extends p{writeValue(ke){this.setProperty("value",parseFloat(ke))}registerOnChange(ke){this.onChange=dt=>{ke(""==dt?null:parseFloat(dt))}}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target.value)})("input",function(Bn){return wt.onChange(Bn.target.value)})("blur",function(){return wt.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([vi]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const wn=new n.InjectionToken(""),$n={provide:Ut,useExisting:(0,n.forwardRef)(()=>si)};let si=(()=>{class We extends Ut{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,dt,wt,zn,Bn){super(),this._ngModelWarningConfig=zn,this.callSetDisabledState=Bn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ke),this._setAsyncValidators(dt),this.valueAccessor=Hn(0,wt)}ngOnChanges(ke){if(this._isControlChanged(ke)){const dt=ke.form.previousValue;dt&&Or(dt,this,!1),qn(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Un(ke,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Or(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}_isControlChanged(ke){return ke.hasOwnProperty("form")}static#t=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(wn,8),n.\u0275\u0275directiveInject(Sr,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formControl",""]],inputs:{form:[n.\u0275\u0275InputFlags.None,"formControl","form"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([$n]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return We})();const Pr={provide:Qe,useExisting:(0,n.forwardRef)(()=>ai)};let ai=(()=>{class We extends Qe{constructor(ke,dt,wt){super(),this.callSetDisabledState=wt,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ke),this._setAsyncValidators(dt)}ngOnChanges(ke){this._checkFormPresent(),ke.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(Kn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ke){const dt=this.form.get(ke.path);return qn(dt,ke,this.callSetDisabledState),dt.updateValueAndValidity({emitEvent:!1}),this.directives.push(ke),dt}getControl(ke){return this.form.get(ke.path)}removeControl(ke){Or(ke.control||null,ke,!1),function ur(We,Xe){const ke=We.indexOf(Xe);ke>-1&&We.splice(ke,1)}(this.directives,ke)}addFormGroup(ke){this._setUpFormContainer(ke)}removeFormGroup(ke){this._cleanUpFormContainer(ke)}getFormGroup(ke){return this.form.get(ke.path)}addFormArray(ke){this._setUpFormContainer(ke)}removeFormArray(ke){this._cleanUpFormContainer(ke)}getFormArray(ke){return this.form.get(ke.path)}updateModel(ke,dt){this.form.get(ke.path).setValue(dt)}onSubmit(ke){return this.submitted=!0,Er(this.form,this.directives),this.ngSubmit.emit(ke),"dialog"===ke?.target?.method}onReset(){this.resetForm()}resetForm(ke=void 0){this.form.reset(ke),this.submitted=!1}_updateDomValue(){this.directives.forEach(ke=>{const dt=ke.control,wt=this.form.get(ke.path);dt!==wt&&(Or(dt||null,ke),Te(wt)&&(qn(wt,ke,this.callSetDisabledState),ke.control=wt))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ke){const dt=this.form.get(ke.path);Tt(dt,ke),dt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ke){if(this.form){const dt=this.form.get(ke.path);dt&&function St(We,Xe){return Kn(We,Xe)}(dt,ke)&&dt.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Rn(this.form,this),this._oldForm&&Kn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(Sr,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formGroup",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("submit",function(Bn){return wt.onSubmit(Bn)})("reset",function(){return wt.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Pr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return We})();const On={provide:Qe,useExisting:(0,n.forwardRef)(()=>ti)};let ti=(()=>{class We extends ot{constructor(ke,dt,wt){super(),this.name=null,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Qe,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([On]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const Zr={provide:Qe,useExisting:(0,n.forwardRef)(()=>Xr)};let Xr=(()=>{class We extends Qe{constructor(ke,dt,wt){super(),this.name=null,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Xn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){Vi(this._parent)}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Qe,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zr]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();function Vi(We){return!(We instanceof ti||We instanceof ai||We instanceof Xr)}const hr={provide:Ut,useExisting:(0,n.forwardRef)(()=>Yi)};let Yi=(()=>{class We extends Ut{set isDisabled(ke){}static#e=this._ngModelWarningSentOnce=!1;constructor(ke,dt,wt,zn,Bn){super(),this._ngModelWarningConfig=Bn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ke,this._setValidators(dt),this._setAsyncValidators(wt),this.valueAccessor=Hn(0,zn)}ngOnChanges(ke){this._added||this._setUpControl(),Un(ke,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ke){this.viewModel=ke,this.update.emit(ke)}get path(){return Xn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this._added=!0}static#t=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(Qe,13),n.\u0275\u0275directiveInject(T,10),n.\u0275\u0275directiveInject(P,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(wn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","formControlName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formControlName","name"],isDisabled:[n.\u0275\u0275InputFlags.None,"disabled","isDisabled"],model:[n.\u0275\u0275InputFlags.None,"ngModel","model"]},outputs:{update:"ngModelChange"},features:[n.\u0275\u0275ProvidersFeature([hr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return We})();const ko={provide:f,useExisting:(0,n.forwardRef)(()=>zi),multi:!0};function go(We,Xe){return null==We?`${Xe}`:(Xe&&"object"==typeof Xe&&(Xe="Object"),`${We}: ${Xe}`.slice(0,50))}let zi=(()=>{class We extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){this.value=ke;const wt=go(this._getOptionId(ke),ke);this.setProperty("value",wt)}registerOnChange(ke){this.onChange=dt=>{this.value=this._getOptionValue(dt),ke(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ke){for(const dt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(dt),ke))return dt;return null}_getOptionValue(ke){const dt=function Jr(We){return We.split(":")[0]}(ke);return this._optionMap.has(dt)?this._optionMap.get(dt):ke}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target.value)})("blur",function(){return wt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ko]),n.\u0275\u0275InheritDefinitionFeature]})}return We})(),qi=(()=>{class We{constructor(ke,dt,wt){this._element=ke,this._renderer=dt,this._select=wt,this._select&&(this.id=this._select._registerOption())}set ngValue(ke){null!=this._select&&(this._select._optionMap.set(this.id,ke),this._setElementValue(go(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._setElementValue(ke),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(zi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return We})();const ro={provide:f,useExisting:(0,n.forwardRef)(()=>xi),multi:!0};function Rr(We,Xe){return null==We?`${Xe}`:("string"==typeof Xe&&(Xe=`'${Xe}'`),Xe&&"object"==typeof Xe&&(Xe="Object"),`${We}: ${Xe}`.slice(0,50))}let xi=(()=>{class We extends p{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ke){this._compareWith=ke}writeValue(ke){let dt;if(this.value=ke,Array.isArray(ke)){const wt=ke.map(zn=>this._getOptionId(zn));dt=(zn,Bn)=>{zn._setSelected(wt.indexOf(Bn.toString())>-1)}}else dt=(wt,zn)=>{wt._setSelected(!1)};this._optionMap.forEach(dt)}registerOnChange(ke){this.onChange=dt=>{const wt=[],zn=dt.selectedOptions;if(void 0!==zn){const Bn=zn;for(let Wi=0;Wi{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(dt,wt){1&dt&&n.\u0275\u0275listener("change",function(Bn){return wt.onChange(Bn.target)})("blur",function(){return wt.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([ro]),n.\u0275\u0275InheritDefinitionFeature]})}return We})(),qr=(()=>{class We{constructor(ke,dt,wt){this._element=ke,this._renderer=dt,this._select=wt,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ke){null!=this._select&&(this._value=ke,this._setElementValue(Rr(this.id,ke)),this._select.writeValue(this._select.value))}set value(ke){this._select?(this._value=ke,this._setElementValue(Rr(this.id,ke)),this._select.writeValue(this._select.value)):this._setElementValue(ke)}_setElementValue(ke){this._renderer.setProperty(this._element.nativeElement,"value",ke)}_setSelected(ke){this._renderer.setProperty(this._element.nativeElement,"selected",ke)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(dt){return new(dt||We)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(xi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return We})();function ar(We){return"number"==typeof We?We:parseInt(We,10)}function yo(We){return"number"==typeof We?We:parseFloat(We)}let wi=(()=>{class We{constructor(){this._validator=re}ngOnChanges(ke){if(this.inputName in ke){const dt=this.normalizeInput(ke[this.inputName].currentValue);this._enabled=this.enabled(dt),this._validator=this._enabled?this.createValidator(dt):re,this._onChange&&this._onChange()}}validate(ke){return this._validator(ke)}registerOnValidatorChange(ke){this._onChange=ke}enabled(ke){return null!=ke}static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,features:[n.\u0275\u0275NgOnChangesFeature]})}return We})();const yi={provide:T,useExisting:(0,n.forwardRef)(()=>Eo),multi:!0};let Eo=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ke=>yo(ke),this.createValidator=ke=>B(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("max",wt._enabled?wt.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([yi]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const po={provide:T,useExisting:(0,n.forwardRef)(()=>zr),multi:!0};let zr=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ke=>yo(ke),this.createValidator=ke=>L(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("min",wt._enabled?wt.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([po]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const bo={provide:T,useExisting:(0,n.forwardRef)(()=>Gr),multi:!0},Ni={provide:T,useExisting:(0,n.forwardRef)(()=>Lo),multi:!0};let Gr=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>$}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("required",wt._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([bo]),n.\u0275\u0275InheritDefinitionFeature]})}return We})(),Lo=(()=>{class We extends Gr{constructor(){super(...arguments),this.createValidator=ke=>ee}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("required",wt._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Ni]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const Oi={provide:T,useExisting:(0,n.forwardRef)(()=>Zi),multi:!0};let Zi=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ke=>le}enabled(ke){return ke}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Oi]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const Li={provide:T,useExisting:(0,n.forwardRef)(()=>Gi),multi:!0};let Gi=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ke=>ar(ke),this.createValidator=ke=>se(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("minlength",wt._enabled?wt.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Li]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const $o={provide:T,useExisting:(0,n.forwardRef)(()=>Co),multi:!0};let Co=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ke=>ar(ke),this.createValidator=ke=>K(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("maxlength",wt._enabled?wt.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([$o]),n.\u0275\u0275InheritDefinitionFeature]})}return We})();const Ro={provide:T,useExisting:(0,n.forwardRef)(()=>wo),multi:!0};let wo=(()=>{class We extends wi{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ke=>ke,this.createValidator=ke=>Q(ke)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:We,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(dt,wt){2&dt&&n.\u0275\u0275attribute("pattern",wt._enabled?wt.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Ro]),n.\u0275\u0275InheritDefinitionFeature]})}return We})(),rs=(()=>{class We{static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:We});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return We})();class Ki extends Br{constructor(Xe,ke,dt){super(Et(ke),_n(dt,ke)),this.controls=Xe,this._initObservables(),this._setUpdateStrategy(ke),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Xe){return this.controls[this._adjustIndex(Xe)]}push(Xe,ke={}){this.controls.push(Xe),this._registerControl(Xe),this.updateValueAndValidity({emitEvent:ke.emitEvent}),this._onCollectionChange()}insert(Xe,ke,dt={}){this.controls.splice(Xe,0,ke),this._registerControl(ke),this.updateValueAndValidity({emitEvent:dt.emitEvent})}removeAt(Xe,ke={}){let dt=this._adjustIndex(Xe);dt<0&&(dt=0),this.controls[dt]&&this.controls[dt]._registerOnCollectionChange(()=>{}),this.controls.splice(dt,1),this.updateValueAndValidity({emitEvent:ke.emitEvent})}setControl(Xe,ke,dt={}){let wt=this._adjustIndex(Xe);wt<0&&(wt=0),this.controls[wt]&&this.controls[wt]._registerOnCollectionChange(()=>{}),this.controls.splice(wt,1),ke&&(this.controls.splice(wt,0,ke),this._registerControl(ke)),this.updateValueAndValidity({emitEvent:dt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Xe,ke={}){kr(this,0,Xe),Xe.forEach((dt,wt)=>{nr(this,!1,wt),this.at(wt).setValue(dt,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke)}patchValue(Xe,ke={}){null!=Xe&&(Xe.forEach((dt,wt)=>{this.at(wt)&&this.at(wt).patchValue(dt,{onlySelf:!0,emitEvent:ke.emitEvent})}),this.updateValueAndValidity(ke))}reset(Xe=[],ke={}){this._forEachChild((dt,wt)=>{dt.reset(Xe[wt],{onlySelf:!0,emitEvent:ke.emitEvent})}),this._updatePristine(ke),this._updateTouched(ke),this.updateValueAndValidity(ke)}getRawValue(){return this.controls.map(Xe=>Xe.getRawValue())}clear(Xe={}){this.controls.length<1||(this._forEachChild(ke=>ke._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Xe.emitEvent}))}_adjustIndex(Xe){return Xe<0?Xe+this.length:Xe}_syncPendingControls(){let Xe=this.controls.reduce((ke,dt)=>!!dt._syncPendingControls()||ke,!1);return Xe&&this.updateValueAndValidity({onlySelf:!0}),Xe}_forEachChild(Xe){this.controls.forEach((ke,dt)=>{Xe(ke,dt)})}_updateValue(){this.value=this.controls.filter(Xe=>Xe.enabled||this.disabled).map(Xe=>Xe.value)}_anyControls(Xe){return this.controls.some(ke=>ke.enabled&&Xe(ke))}_setUpControls(){this._forEachChild(Xe=>this._registerControl(Xe))}_allControlsDisabled(){for(const Xe of this.controls)if(Xe.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Xe){Xe.setParent(this),Xe._registerOnCollectionChange(this._onCollectionChange)}_find(Xe){return this.at(Xe)??null}}const uo=Ki,So=We=>We instanceof Ki;function cs(We){return!!We&&(void 0!==We.asyncValidators||void 0!==We.validators||void 0!==We.updateOn)}let co=(()=>{class We{constructor(){this.useNonNullable=!1}get nonNullable(){const ke=new We;return ke.useNonNullable=!0,ke}group(ke,dt=null){const wt=this._reduceControls(ke);let zn={};return cs(dt)?zn=dt:null!==dt&&(zn.validators=dt.validator,zn.asyncValidators=dt.asyncValidator),new sr(wt,zn)}record(ke,dt=null){const wt=this._reduceControls(ke);return new xn(wt,dt)}control(ke,dt,wt){let zn={};return this.useNonNullable?(cs(dt)?zn=dt:(zn.validators=dt,zn.asyncValidators=wt),new Pe(ke,{...zn,nonNullable:!0})):new Pe(ke,dt,wt)}array(ke,dt,wt){const zn=ke.map(Bn=>this._createControl(Bn));return new Ki(zn,dt,wt)}_reduceControls(ke){const dt={};return Object.keys(ke).forEach(wt=>{dt[wt]=this._createControl(ke[wt])}),dt}_createControl(ke){return ke instanceof Pe||ke instanceof Br?ke:Array.isArray(ke)?this.control(ke[0],ke.length>1?ke[1]:null,ke.length>2?ke[2]:null):this.control(ke)}static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})(),Fo=(()=>{class We{static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:We,factory:()=>(0,n.inject)(co).nonNullable,providedIn:"root"})}return We})(),Do=(()=>{class We extends co{group(ke,dt=null){return super.group(ke,dt)}control(ke,dt,wt){return super.control(ke,dt,wt)}array(ke,dt,wt){return super.array(ke,dt,wt)}static#e=this.\u0275fac=(()=>{let ke;return function(wt){return(ke||(ke=n.\u0275\u0275getInheritedFactory(We)))(wt||We)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:We,factory:We.\u0275fac,providedIn:"root"})}return We})();const Ko=new n.Version("17.2.3");let hs=(()=>{class We{static withConfig(ke){return{ngModule:We,providers:[{provide:Sr,useValue:ke.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:We});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return We})(),Qo=(()=>{class We{static withConfig(ke){return{ngModule:We,providers:[{provide:wn,useValue:ke.warnOnNgModelWithFormControl??"always"},{provide:Sr,useValue:ke.callSetDisabledState??pr}]}}static#e=this.\u0275fac=function(dt){return new(dt||We)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:We});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[rs]})}return We})()},44556:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>Cs,NoopAnimationsModule:()=>io,provideAnimations:()=>os,provideNoopAnimations:()=>fs,\u0275InjectableAnimationEngine:()=>Xi});var n=i(54496),o=i(14476),d=function(rt){return rt[rt.State=0]="State",rt[rt.Transition=1]="Transition",rt[rt.Sequence=2]="Sequence",rt[rt.Group=3]="Group",rt[rt.Animate=4]="Animate",rt[rt.Keyframes=5]="Keyframes",rt[rt.Style=6]="Style",rt[rt.Trigger=7]="Trigger",rt[rt.Reference=8]="Reference",rt[rt.AnimateChild=9]="AnimateChild",rt[rt.AnimateRef=10]="AnimateRef",rt[rt.Query=11]="Query",rt[rt.Stagger=12]="Stagger",rt}(d||{});const a="*";function g(rt){return{type:d.Style,styles:rt,offset:null}}class I{constructor(ne=0,pe=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._originalOnDoneFns=[],this._originalOnStartFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=ne+pe}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(ne=>ne()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(ne){this._position=this.totalTime?ne*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(ne){const pe="start"==ne?this._onStartFns:this._onDoneFns;pe.forEach(Be=>Be()),pe.length=0}}class j{constructor(ne){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=ne;let pe=0,Be=0,nt=0;const yt=this.players.length;0==yt?queueMicrotask(()=>this._onFinish()):this.players.forEach(It=>{It.onDone(()=>{++pe==yt&&this._onFinish()}),It.onDestroy(()=>{++Be==yt&&this._onDestroy()}),It.onStart(()=>{++nt==yt&&this._onStart()})}),this.totalTime=this.players.reduce((It,Nt)=>Math.max(It,Nt.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this.players.forEach(ne=>ne.init())}onStart(ne){this._onStartFns.push(ne)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(ne=>ne()),this._onStartFns=[])}onDone(ne){this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(ne=>ne.play())}pause(){this.players.forEach(ne=>ne.pause())}restart(){this.players.forEach(ne=>ne.restart())}finish(){this._onFinish(),this.players.forEach(ne=>ne.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(ne=>ne.destroy()),this._onDestroyFns.forEach(ne=>ne()),this._onDestroyFns=[])}reset(){this.players.forEach(ne=>ne.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(ne){const pe=ne*this.totalTime;this.players.forEach(Be=>{const nt=Be.totalTime?Math.min(1,pe/Be.totalTime):1;Be.setPosition(nt)})}getPosition(){const ne=this.players.reduce((pe,Be)=>null===pe||Be.totalTime>pe.totalTime?Be:pe,null);return null!=ne?ne.getPosition():0}beforeDestroy(){this.players.forEach(ne=>{ne.beforeDestroy&&ne.beforeDestroy()})}triggerCallback(ne){const pe="start"==ne?this._onStartFns:this._onDoneFns;pe.forEach(Be=>Be()),pe.length=0}}function $(rt){return new n.\u0275RuntimeError(3e3,!1)}function Ge(rt){switch(rt.length){case 0:return new I;case 1:return rt[0];default:return new j(rt)}}function Je(rt,ne,pe=new Map,Be=new Map){const nt=[],yt=[];let It=-1,Nt=null;if(ne.forEach(Vt=>{const gn=Vt.get("offset"),Wn=gn==It,Gn=Wn&&Nt||new Map;Vt.forEach((Wr,fr)=>{let tr=fr,vr=Wr;if("offset"!==fr)switch(tr=rt.normalizePropertyName(tr,nt),vr){case"!":vr=pe.get(fr);break;case a:vr=Be.get(fr);break;default:vr=rt.normalizeStyleValue(fr,tr,vr,nt)}Gn.set(tr,vr)}),Wn||yt.push(Gn),Nt=Gn,It=gn}),nt.length)throw function bt(rt){return new n.\u0275RuntimeError(3502,!1)}();return yt}function vt(rt,ne,pe,Be){switch(ne){case"start":rt.onStart(()=>Be(pe&&Bt(pe,"start",rt)));break;case"done":rt.onDone(()=>Be(pe&&Bt(pe,"done",rt)));break;case"destroy":rt.onDestroy(()=>Be(pe&&Bt(pe,"destroy",rt)))}}function Bt(rt,ne,pe){const yt=Zt(rt.element,rt.triggerName,rt.fromState,rt.toState,ne||rt.phaseName,pe.totalTime??rt.totalTime,!!pe.disabled),It=rt._data;return null!=It&&(yt._data=It),yt}function Zt(rt,ne,pe,Be,nt="",yt=0,It){return{element:rt,triggerName:ne,fromState:pe,toState:Be,phaseName:nt,totalTime:yt,disabled:!!It}}function Rt(rt,ne,pe){let Be=rt.get(ne);return Be||rt.set(ne,Be=pe),Be}function Dt(rt){const ne=rt.indexOf(":");return[rt.substring(1,ne),rt.slice(ne+1)]}const Ot=typeof document>"u"?null:document.documentElement;function pn(rt){const ne=rt.parentNode||rt.host||null;return ne===Ot?null:ne}let Yn=null,er=!1;function mt(rt,ne){for(;ne;){if(ne===rt)return!0;ne=pn(ne)}return!1}function Et(rt,ne,pe){if(pe)return Array.from(rt.querySelectorAll(ne));const Be=rt.querySelector(ne);return Be?[Be]:[]}let _n=(()=>{class rt{validateStyleProperty(pe){return function kn(rt){Yn||(Yn=function Gt(){return typeof document<"u"?document.body:null}()||{},er=!!Yn.style&&"WebkitAppearance"in Yn.style);let ne=!0;return Yn.style&&!function Vn(rt){return"ebkit"==rt.substring(1,6)}(rt)&&(ne=rt in Yn.style,!ne&&er&&(ne="Webkit"+rt.charAt(0).toUpperCase()+rt.slice(1)in Yn.style)),ne}(pe)}matchesElement(pe,Be){return!1}containsElement(pe,Be){return mt(pe,Be)}getParentElement(pe){return pn(pe)}query(pe,Be,nt){return Et(pe,Be,nt)}computeStyle(pe,Be,nt){return nt||""}animate(pe,Be,nt,yt,It,Nt=[],Vt){return new I(nt,yt)}static#e=this.\u0275fac=function(Be){return new(Be||rt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();class En{static#e=this.NOOP=new _n}class qt{}const kr=1e3,Mr="ng-enter",br="ng-leave",Jn="ng-trigger",xn=".ng-trigger",oi="ng-animating",Sr=".ng-animating";function pr(rt){if("number"==typeof rt)return rt;const ne=rt.match(/^(-?[\.\d]+)(m?s)/);return!ne||ne.length<2?0:Xn(parseFloat(ne[1]),ne[2])}function Xn(rt,ne){return"s"===ne?rt*kr:rt}function qn(rt,ne,pe){return rt.hasOwnProperty("duration")?rt:function Or(rt,ne,pe){let nt,yt=0,It="";if("string"==typeof rt){const Nt=rt.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Nt)return ne.push($()),{duration:0,delay:0,easing:""};nt=Xn(parseFloat(Nt[1]),Nt[2]);const Vt=Nt[3];null!=Vt&&(yt=Xn(parseFloat(Vt),Nt[4]));const gn=Nt[5];gn&&(It=gn)}else nt=rt;if(!pe){let Nt=!1,Vt=ne.length;nt<0&&(ne.push(function ee(){return new n.\u0275RuntimeError(3100,!1)}()),Nt=!0),yt<0&&(ne.push(function le(){return new n.\u0275RuntimeError(3101,!1)}()),Nt=!0),Nt&&ne.splice(Vt,0,$())}return{duration:nt,delay:yt,easing:It}}(rt,ne,pe)}function Rn(rt,ne,pe){ne.forEach((Be,nt)=>{const yt=Jt(nt);pe&&!pe.has(nt)&&pe.set(nt,rt.style[yt]),rt.style[yt]=Be})}function Kn(rt,ne){ne.forEach((pe,Be)=>{const nt=Jt(Be);rt.style[nt]=""})}function or(rt){return Array.isArray(rt)?1==rt.length?rt[0]:function c(rt,ne=null){return{type:d.Sequence,steps:rt,options:ne}}(rt):rt}const Ir=new RegExp("{{\\s*(.+?)\\s*}}","g");function ct(rt){let ne=[];if("string"==typeof rt){let pe;for(;pe=Ir.exec(rt);)ne.push(pe[1]);Ir.lastIndex=0}return ne}function Tt(rt,ne,pe){const Be=`${rt}`,nt=Be.replace(Ir,(yt,It)=>{let Nt=ne[It];return null==Nt&&(pe.push(function K(rt){return new n.\u0275RuntimeError(3003,!1)}()),Nt=""),Nt.toString()});return nt==Be?rt:nt}const St=/-+([a-z0-9])/g;function Jt(rt){return rt.replace(St,(...ne)=>ne[1].toUpperCase())}function Qn(rt,ne,pe){switch(ne.type){case d.Trigger:return rt.visitTrigger(ne,pe);case d.State:return rt.visitState(ne,pe);case d.Transition:return rt.visitTransition(ne,pe);case d.Sequence:return rt.visitSequence(ne,pe);case d.Group:return rt.visitGroup(ne,pe);case d.Animate:return rt.visitAnimate(ne,pe);case d.Keyframes:return rt.visitKeyframes(ne,pe);case d.Style:return rt.visitStyle(ne,pe);case d.Reference:return rt.visitReference(ne,pe);case d.AnimateChild:return rt.visitAnimateChild(ne,pe);case d.AnimateRef:return rt.visitAnimateRef(ne,pe);case d.Query:return rt.visitQuery(ne,pe);case d.Stagger:return rt.visitStagger(ne,pe);default:throw function Q(rt){return new n.\u0275RuntimeError(3004,!1)}()}}function Un(rt,ne){return window.getComputedStyle(rt)[ne]}const Tr=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 Er extends qt{normalizePropertyName(ne,pe){return Jt(ne)}normalizeStyleValue(ne,pe,Be,nt){let yt="";const It=Be.toString().trim();if(Tr.has(pe)&&0!==Be&&"0"!==Be)if("number"==typeof Be)yt="px";else{const Nt=Be.match(/^[+-]?[\d\.]+([a-z]*)$/);Nt&&0==Nt[1].length&&nt.push(function re(rt,ne){return new n.\u0275RuntimeError(3005,!1)}())}return It+yt}}const ae="*";const Te=new Set(["true","1"]),ot=new Set(["false","0"]);function ht(rt,ne){const pe=Te.has(rt)||ot.has(rt),Be=Te.has(ne)||ot.has(ne);return(nt,yt)=>{let It=rt==ae||rt==nt,Nt=ne==ae||ne==yt;return!It&&pe&&"boolean"==typeof nt&&(It=nt?Te.has(rt):ot.has(rt)),!Nt&&Be&&"boolean"==typeof yt&&(Nt=yt?Te.has(ne):ot.has(ne)),It&&Nt}}const Lt=new RegExp("s*:selfs*,?","g");function Kt(rt,ne,pe,Be){return new fn(rt).build(ne,pe,Be)}class fn{constructor(ne){this._driver=ne}build(ne,pe,Be){const nt=new Yt(pe);return this._resetContextStyleTimingState(nt),Qn(this,or(ne),nt)}_resetContextStyleTimingState(ne){ne.currentQuerySelector="",ne.collectedStyles=new Map,ne.collectedStyles.set("",new Map),ne.currentTime=0}visitTrigger(ne,pe){let Be=pe.queryCount=0,nt=pe.depCount=0;const yt=[],It=[];return"@"==ne.name.charAt(0)&&pe.errors.push(function X(){return new n.\u0275RuntimeError(3006,!1)}()),ne.definitions.forEach(Nt=>{if(this._resetContextStyleTimingState(pe),Nt.type==d.State){const Vt=Nt,gn=Vt.name;gn.toString().split(/\s*,\s*/).forEach(Wn=>{Vt.name=Wn,yt.push(this.visitState(Vt,pe))}),Vt.name=gn}else if(Nt.type==d.Transition){const Vt=this.visitTransition(Nt,pe);Be+=Vt.queryCount,nt+=Vt.depCount,It.push(Vt)}else pe.errors.push(function z(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:d.Trigger,name:ne.name,states:yt,transitions:It,queryCount:Be,depCount:nt,options:null}}visitState(ne,pe){const Be=this.visitStyle(ne.styles,pe),nt=ne.options&&ne.options.params||null;if(Be.containsDynamicStyles){const yt=new Set,It=nt||{};Be.styles.forEach(Nt=>{Nt instanceof Map&&Nt.forEach(Vt=>{ct(Vt).forEach(gn=>{It.hasOwnProperty(gn)||yt.add(gn)})})}),yt.size&&pe.errors.push(function Y(rt,ne){return new n.\u0275RuntimeError(3008,!1)}(0,yt.values()))}return{type:d.State,name:ne.name,style:Be,options:nt?{params:nt}:null}}visitTransition(ne,pe){pe.queryCount=0,pe.depCount=0;const Be=Qn(this,or(ne.animation),pe),nt=function He(rt,ne){const pe=[];return"string"==typeof rt?rt.split(/\s*,\s*/).forEach(Be=>function Pe(rt,ne,pe){if(":"==rt[0]){const Vt=function fe(rt,ne){switch(rt){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(pe,Be)=>parseFloat(Be)>parseFloat(pe);case":decrement":return(pe,Be)=>parseFloat(Be) *"}}(rt,pe);if("function"==typeof Vt)return void ne.push(Vt);rt=Vt}const Be=rt.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Be||Be.length<4)return pe.push(function qe(rt){return new n.\u0275RuntimeError(3015,!1)}()),ne;const nt=Be[1],yt=Be[2],It=Be[3];ne.push(ht(nt,It)),"<"==yt[0]&&(nt!=ae||It!=ae)&&ne.push(ht(It,nt))}(Be,pe,ne)):pe.push(rt),pe}(ne.expr,pe.errors);return{type:d.Transition,matchers:nt,animation:Be,queryCount:pe.queryCount,depCount:pe.depCount,options:cr(ne.options)}}visitSequence(ne,pe){return{type:d.Sequence,steps:ne.steps.map(Be=>Qn(this,Be,pe)),options:cr(ne.options)}}visitGroup(ne,pe){const Be=pe.currentTime;let nt=0;const yt=ne.steps.map(It=>{pe.currentTime=Be;const Nt=Qn(this,It,pe);return nt=Math.max(nt,pe.currentTime),Nt});return pe.currentTime=nt,{type:d.Group,steps:yt,options:cr(ne.options)}}visitAnimate(ne,pe){const Be=function lr(rt,ne){if(rt.hasOwnProperty("duration"))return rt;if("number"==typeof rt)return Nr(qn(rt,ne).duration,0,"");const pe=rt;if(pe.split(/\s+/).some(yt=>"{"==yt.charAt(0)&&"{"==yt.charAt(1))){const yt=Nr(0,0,"");return yt.dynamic=!0,yt.strValue=pe,yt}const nt=qn(pe,ne);return Nr(nt.duration,nt.delay,nt.easing)}(ne.timings,pe.errors);pe.currentAnimateTimings=Be;let nt,yt=ne.styles?ne.styles:g({});if(yt.type==d.Keyframes)nt=this.visitKeyframes(yt,pe);else{let It=ne.styles,Nt=!1;if(!It){Nt=!0;const gn={};Be.easing&&(gn.easing=Be.easing),It=g(gn)}pe.currentTime+=Be.duration+Be.delay;const Vt=this.visitStyle(It,pe);Vt.isEmptyStep=Nt,nt=Vt}return pe.currentAnimateTimings=null,{type:d.Animate,timings:Be,style:nt,options:null}}visitStyle(ne,pe){const Be=this._makeStyleAst(ne,pe);return this._validateStyleAst(Be,pe),Be}_makeStyleAst(ne,pe){const Be=[],nt=Array.isArray(ne.styles)?ne.styles:[ne.styles];for(let Nt of nt)"string"==typeof Nt?Nt===a?Be.push(Nt):pe.errors.push(new n.\u0275RuntimeError(3002,!1)):Be.push(new Map(Object.entries(Nt)));let yt=!1,It=null;return Be.forEach(Nt=>{if(Nt instanceof Map&&(Nt.has("easing")&&(It=Nt.get("easing"),Nt.delete("easing")),!yt))for(let Vt of Nt.values())if(Vt.toString().indexOf("{{")>=0){yt=!0;break}}),{type:d.Style,styles:Be,easing:It,offset:ne.offset,containsDynamicStyles:yt,options:null}}_validateStyleAst(ne,pe){const Be=pe.currentAnimateTimings;let nt=pe.currentTime,yt=pe.currentTime;Be&&yt>0&&(yt-=Be.duration+Be.delay),ne.styles.forEach(It=>{"string"!=typeof It&&It.forEach((Nt,Vt)=>{const gn=pe.collectedStyles.get(pe.currentQuerySelector),Wn=gn.get(Vt);let Gn=!0;Wn&&(yt!=nt&&yt>=Wn.startTime&&nt<=Wn.endTime&&(pe.errors.push(function me(rt,ne,pe,Be,nt){return new n.\u0275RuntimeError(3010,!1)}()),Gn=!1),yt=Wn.startTime),Gn&&gn.set(Vt,{startTime:yt,endTime:nt}),pe.options&&function ui(rt,ne,pe){const Be=ne.params||{},nt=ct(rt);nt.length&&nt.forEach(yt=>{Be.hasOwnProperty(yt)||pe.push(function se(rt){return new n.\u0275RuntimeError(3001,!1)}())})}(Nt,pe.options,pe.errors)})})}visitKeyframes(ne,pe){const Be={type:d.Keyframes,styles:[],options:null};if(!pe.currentAnimateTimings)return pe.errors.push(function Oe(){return new n.\u0275RuntimeError(3011,!1)}()),Be;let yt=0;const It=[];let Nt=!1,Vt=!1,gn=0;const Wn=ne.steps.map(Ai=>{const ji=this._makeStyleAst(Ai,pe);let Ti=null!=ji.offset?ji.offset:function Ln(rt){if("string"==typeof rt)return null;let ne=null;if(Array.isArray(rt))rt.forEach(pe=>{if(pe instanceof Map&&pe.has("offset")){const Be=pe;ne=parseFloat(Be.get("offset")),Be.delete("offset")}});else if(rt instanceof Map&&rt.has("offset")){const pe=rt;ne=parseFloat(pe.get("offset")),pe.delete("offset")}return ne}(ji.styles),Ji=0;return null!=Ti&&(yt++,Ji=ji.offset=Ti),Vt=Vt||Ji<0||Ji>1,Nt=Nt||Ji0&&yt{const Ti=Wr>0?ji==fr?1:Wr*ji:It[ji],Ji=Ti*mi;pe.currentTime=tr+vr.delay+Ji,vr.duration=Ji,this._validateStyleAst(Ai,pe),Ai.offset=Ti,Be.styles.push(Ai)}),Be}visitReference(ne,pe){return{type:d.Reference,animation:Qn(this,or(ne.animation),pe),options:cr(ne.options)}}visitAnimateChild(ne,pe){return pe.depCount++,{type:d.AnimateChild,options:cr(ne.options)}}visitAnimateRef(ne,pe){return{type:d.AnimateRef,animation:this.visitReference(ne.animation,pe),options:cr(ne.options)}}visitQuery(ne,pe){const Be=pe.currentQuerySelector,nt=ne.options||{};pe.queryCount++,pe.currentQuery=ne;const[yt,It]=function mn(rt){const ne=!!rt.split(/\s*,\s*/).find(pe=>":self"==pe);return ne&&(rt=rt.replace(Lt,"")),rt=rt.replace(/@\*/g,xn).replace(/@\w+/g,pe=>xn+"-"+pe.slice(1)).replace(/:animating/g,Sr),[rt,ne]}(ne.selector);pe.currentQuerySelector=Be.length?Be+" "+yt:yt,Rt(pe.collectedStyles,pe.currentQuerySelector,new Map);const Nt=Qn(this,or(ne.animation),pe);return pe.currentQuery=null,pe.currentQuerySelector=Be,{type:d.Query,selector:yt,limit:nt.limit||0,optional:!!nt.optional,includeSelf:It,animation:Nt,originalSelector:ne.selector,options:cr(ne.options)}}visitStagger(ne,pe){pe.currentQuery||pe.errors.push(function Ne(){return new n.\u0275RuntimeError(3013,!1)}());const Be="full"===ne.timings?{duration:0,delay:0,easing:"full"}:qn(ne.timings,pe.errors,!0);return{type:d.Stagger,animation:Qn(this,or(ne.animation),pe),timings:Be,options:null}}}class Yt{constructor(ne){this.errors=ne,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function cr(rt){return rt?(rt={...rt}).params&&(rt.params=function ln(rt){return rt?{...rt}:null}(rt.params)):rt={},rt}function Nr(rt,ne,pe){return{duration:rt,delay:ne,easing:pe}}function Lr(rt,ne,pe,Be,nt,yt,It=null,Nt=!1){return{type:1,element:rt,keyframes:ne,preStyleProps:pe,postStyleProps:Be,duration:nt,delay:yt,totalTime:nt+yt,easing:It,subTimeline:Nt}}class ut{constructor(){this._map=new Map}get(ne){return this._map.get(ne)||[]}append(ne,pe){let Be=this._map.get(ne);Be||this._map.set(ne,Be=[]),Be.push(...pe)}has(ne){return this._map.has(ne)}clear(){this._map.clear()}}const _r=new RegExp(":enter","g"),$n=new RegExp(":leave","g");function si(rt,ne,pe,Be,nt,yt=new Map,It=new Map,Nt,Vt,gn=[]){return(new Pr).buildKeyframes(rt,ne,pe,Be,nt,yt,It,Nt,Vt,gn)}class Pr{buildKeyframes(ne,pe,Be,nt,yt,It,Nt,Vt,gn,Wn=[]){gn=gn||new ut;const Gn=new On(ne,pe,gn,nt,yt,Wn,[]);Gn.options=Vt;const Wr=Vt.delay?pr(Vt.delay):0;Gn.currentTimeline.delayNextStep(Wr),Gn.currentTimeline.setStyles([It],null,Gn.errors,Vt),Qn(this,Be,Gn);const fr=Gn.timelines.filter(tr=>tr.containsAnimation());if(fr.length&&Nt.size){let tr;for(let vr=fr.length-1;vr>=0;vr--){const mi=fr[vr];if(mi.element===pe){tr=mi;break}}tr&&!tr.allowOnlyTimelineStyles()&&tr.setStyles([Nt],null,Gn.errors,Vt)}return fr.length?fr.map(tr=>tr.buildKeyframes()):[Lr(pe,[],[],[],0,Wr,"",!1)]}visitTrigger(ne,pe){}visitState(ne,pe){}visitTransition(ne,pe){}visitAnimateChild(ne,pe){const Be=pe.subInstructions.get(pe.element);if(Be){const nt=pe.createSubContext(ne.options),yt=pe.currentTimeline.currentTime,It=this._visitSubInstructions(Be,nt,nt.options);yt!=It&&pe.transformIntoNewTimeline(It)}pe.previousNode=ne}visitAnimateRef(ne,pe){const Be=pe.createSubContext(ne.options);Be.transformIntoNewTimeline(),this._applyAnimationRefDelays([ne.options,ne.animation.options],pe,Be),this.visitReference(ne.animation,Be),pe.transformIntoNewTimeline(Be.currentTimeline.currentTime),pe.previousNode=ne}_applyAnimationRefDelays(ne,pe,Be){for(const nt of ne){const yt=nt?.delay;if(yt){const It="number"==typeof yt?yt:pr(Tt(yt,nt?.params??{},pe.errors));Be.delayNextStep(It)}}}_visitSubInstructions(ne,pe,Be){let yt=pe.currentTimeline.currentTime;const It=null!=Be.duration?pr(Be.duration):null,Nt=null!=Be.delay?pr(Be.delay):null;return 0!==It&&ne.forEach(Vt=>{const gn=pe.appendInstructionToTimeline(Vt,It,Nt);yt=Math.max(yt,gn.duration+gn.delay)}),yt}visitReference(ne,pe){pe.updateOptions(ne.options,!0),Qn(this,ne.animation,pe),pe.previousNode=ne}visitSequence(ne,pe){const Be=pe.subContextCount;let nt=pe;const yt=ne.options;if(yt&&(yt.params||yt.delay)&&(nt=pe.createSubContext(yt),nt.transformIntoNewTimeline(),null!=yt.delay)){nt.previousNode.type==d.Style&&(nt.currentTimeline.snapshotCurrentStyles(),nt.previousNode=ai);const It=pr(yt.delay);nt.delayNextStep(It)}ne.steps.length&&(ne.steps.forEach(It=>Qn(this,It,nt)),nt.currentTimeline.applyStylesToKeyframe(),nt.subContextCount>Be&&nt.transformIntoNewTimeline()),pe.previousNode=ne}visitGroup(ne,pe){const Be=[];let nt=pe.currentTimeline.currentTime;const yt=ne.options&&ne.options.delay?pr(ne.options.delay):0;ne.steps.forEach(It=>{const Nt=pe.createSubContext(ne.options);yt&&Nt.delayNextStep(yt),Qn(this,It,Nt),nt=Math.max(nt,Nt.currentTimeline.currentTime),Be.push(Nt.currentTimeline)}),Be.forEach(It=>pe.currentTimeline.mergeTimelineCollectedStyles(It)),pe.transformIntoNewTimeline(nt),pe.previousNode=ne}_visitTiming(ne,pe){if(ne.dynamic){const Be=ne.strValue;return qn(pe.params?Tt(Be,pe.params,pe.errors):Be,pe.errors)}return{duration:ne.duration,delay:ne.delay,easing:ne.easing}}visitAnimate(ne,pe){const Be=pe.currentAnimateTimings=this._visitTiming(ne.timings,pe),nt=pe.currentTimeline;Be.delay&&(pe.incrementTime(Be.delay),nt.snapshotCurrentStyles());const yt=ne.style;yt.type==d.Keyframes?this.visitKeyframes(yt,pe):(pe.incrementTime(Be.duration),this.visitStyle(yt,pe),nt.applyStylesToKeyframe()),pe.currentAnimateTimings=null,pe.previousNode=ne}visitStyle(ne,pe){const Be=pe.currentTimeline,nt=pe.currentAnimateTimings;!nt&&Be.hasCurrentStyleProperties()&&Be.forwardFrame();const yt=nt&&nt.easing||ne.easing;ne.isEmptyStep?Be.applyEmptyStep(yt):Be.setStyles(ne.styles,yt,pe.errors,pe.options),pe.previousNode=ne}visitKeyframes(ne,pe){const Be=pe.currentAnimateTimings,nt=pe.currentTimeline.duration,yt=Be.duration,Nt=pe.createSubContext().currentTimeline;Nt.easing=Be.easing,ne.styles.forEach(Vt=>{Nt.forwardTime((Vt.offset||0)*yt),Nt.setStyles(Vt.styles,Vt.easing,pe.errors,pe.options),Nt.applyStylesToKeyframe()}),pe.currentTimeline.mergeTimelineCollectedStyles(Nt),pe.transformIntoNewTimeline(nt+yt),pe.previousNode=ne}visitQuery(ne,pe){const Be=pe.currentTimeline.currentTime,nt=ne.options||{},yt=nt.delay?pr(nt.delay):0;yt&&(pe.previousNode.type===d.Style||0==Be&&pe.currentTimeline.hasCurrentStyleProperties())&&(pe.currentTimeline.snapshotCurrentStyles(),pe.previousNode=ai);let It=Be;const Nt=pe.invokeQuery(ne.selector,ne.originalSelector,ne.limit,ne.includeSelf,!!nt.optional,pe.errors);pe.currentQueryTotal=Nt.length;let Vt=null;Nt.forEach((gn,Wn)=>{pe.currentQueryIndex=Wn;const Gn=pe.createSubContext(ne.options,gn);yt&&Gn.delayNextStep(yt),gn===pe.element&&(Vt=Gn.currentTimeline),Qn(this,ne.animation,Gn),Gn.currentTimeline.applyStylesToKeyframe(),It=Math.max(It,Gn.currentTimeline.currentTime)}),pe.currentQueryIndex=0,pe.currentQueryTotal=0,pe.transformIntoNewTimeline(It),Vt&&(pe.currentTimeline.mergeTimelineCollectedStyles(Vt),pe.currentTimeline.snapshotCurrentStyles()),pe.previousNode=ne}visitStagger(ne,pe){const Be=pe.parentContext,nt=pe.currentTimeline,yt=ne.timings,It=Math.abs(yt.duration),Nt=It*(pe.currentQueryTotal-1);let Vt=It*pe.currentQueryIndex;switch(yt.duration<0?"reverse":yt.easing){case"reverse":Vt=Nt-Vt;break;case"full":Vt=Be.currentStaggerTime}const Wn=pe.currentTimeline;Vt&&Wn.delayNextStep(Vt);const Gn=Wn.currentTime;Qn(this,ne.animation,pe),pe.previousNode=ne,Be.currentStaggerTime=nt.currentTime-Gn+(nt.startTime-Be.currentTimeline.startTime)}}const ai={};class On{constructor(ne,pe,Be,nt,yt,It,Nt,Vt){this._driver=ne,this.element=pe,this.subInstructions=Be,this._enterClassName=nt,this._leaveClassName=yt,this.errors=It,this.timelines=Nt,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=ai,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Vt||new ti(this._driver,pe,0),Nt.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(ne,pe){if(!ne)return;const Be=ne;let nt=this.options;null!=Be.duration&&(nt.duration=pr(Be.duration)),null!=Be.delay&&(nt.delay=pr(Be.delay));const yt=Be.params;if(yt){let It=nt.params;It||(It=this.options.params={}),Object.keys(yt).forEach(Nt=>{(!pe||!It.hasOwnProperty(Nt))&&(It[Nt]=Tt(yt[Nt],It,this.errors))})}}_copyOptions(){const ne={};if(this.options){const pe=this.options.params;if(pe){const Be=ne.params={};Object.keys(pe).forEach(nt=>{Be[nt]=pe[nt]})}}return ne}createSubContext(ne=null,pe,Be){const nt=pe||this.element,yt=new On(this._driver,nt,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(nt,Be||0));return yt.previousNode=this.previousNode,yt.currentAnimateTimings=this.currentAnimateTimings,yt.options=this._copyOptions(),yt.updateOptions(ne),yt.currentQueryIndex=this.currentQueryIndex,yt.currentQueryTotal=this.currentQueryTotal,yt.parentContext=this,this.subContextCount++,yt}transformIntoNewTimeline(ne){return this.previousNode=ai,this.currentTimeline=this.currentTimeline.fork(this.element,ne),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(ne,pe,Be){const nt={duration:pe??ne.duration,delay:this.currentTimeline.currentTime+(Be??0)+ne.delay,easing:""},yt=new Zr(this._driver,ne.element,ne.keyframes,ne.preStyleProps,ne.postStyleProps,nt,ne.stretchStartingKeyframe);return this.timelines.push(yt),nt}incrementTime(ne){this.currentTimeline.forwardTime(this.currentTimeline.duration+ne)}delayNextStep(ne){ne>0&&this.currentTimeline.delayNextStep(ne)}invokeQuery(ne,pe,Be,nt,yt,It){let Nt=[];if(nt&&Nt.push(this.element),ne.length>0){ne=(ne=ne.replace(_r,"."+this._enterClassName)).replace($n,"."+this._leaveClassName);let gn=this._driver.query(this.element,ne,1!=Be);0!==Be&&(gn=Be<0?gn.slice(gn.length+Be,gn.length):gn.slice(0,Be)),Nt.push(...gn)}return!yt&&0==Nt.length&&It.push(function it(rt){return new n.\u0275RuntimeError(3014,!1)}()),Nt}}class ti{constructor(ne,pe,Be,nt){this._driver=ne,this.element=pe,this.startTime=Be,this._elementTimelineStylesLookup=nt,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(pe),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(pe,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(ne){const pe=1===this._keyframes.size&&this._pendingStyles.size;this.duration||pe?(this.forwardTime(this.currentTime+ne),pe&&this.snapshotCurrentStyles()):this.startTime+=ne}fork(ne,pe){return this.applyStylesToKeyframe(),new ti(this._driver,ne,pe||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(ne){this.applyStylesToKeyframe(),this.duration=ne,this._loadKeyframe()}_updateStyle(ne,pe){this._localTimelineStyles.set(ne,pe),this._globalTimelineStyles.set(ne,pe),this._styleSummary.set(ne,{time:this.currentTime,value:pe})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(ne){ne&&this._previousKeyframe.set("easing",ne);for(let[pe,Be]of this._globalTimelineStyles)this._backFill.set(pe,Be||a),this._currentKeyframe.set(pe,a);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(ne,pe,Be,nt){pe&&this._previousKeyframe.set("easing",pe);const yt=nt&&nt.params||{},It=function Vi(rt,ne){const pe=new Map;let Be;return rt.forEach(nt=>{if("*"===nt){Be??=ne.keys();for(let yt of Be)pe.set(yt,a)}else for(let[yt,It]of nt)pe.set(yt,It)}),pe}(ne,this._globalTimelineStyles);for(let[Nt,Vt]of It){const gn=Tt(Vt,yt,Be);this._pendingStyles.set(Nt,gn),this._localTimelineStyles.has(Nt)||this._backFill.set(Nt,this._globalTimelineStyles.get(Nt)??a),this._updateStyle(Nt,gn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach((ne,pe)=>{this._currentKeyframe.set(pe,ne)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((ne,pe)=>{this._currentKeyframe.has(pe)||this._currentKeyframe.set(pe,ne)}))}snapshotCurrentStyles(){for(let[ne,pe]of this._localTimelineStyles)this._pendingStyles.set(ne,pe),this._updateStyle(ne,pe)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const ne=[];for(let pe in this._currentKeyframe)ne.push(pe);return ne}mergeTimelineCollectedStyles(ne){ne._styleSummary.forEach((pe,Be)=>{const nt=this._styleSummary.get(Be);(!nt||pe.time>nt.time)&&this._updateStyle(Be,pe.value)})}buildKeyframes(){this.applyStylesToKeyframe();const ne=new Set,pe=new Set,Be=1===this._keyframes.size&&0===this.duration;let nt=[];this._keyframes.forEach((Nt,Vt)=>{const gn=new Map([...this._backFill,...Nt]);gn.forEach((Wn,Gn)=>{"!"===Wn?ne.add(Gn):Wn===a&&pe.add(Gn)}),Be||gn.set("offset",Vt/this.duration),nt.push(gn)});const yt=[...ne.values()],It=[...pe.values()];if(Be){const Nt=nt[0],Vt=new Map(Nt);Nt.set("offset",0),Vt.set("offset",1),nt=[Nt,Vt]}return Lr(this.element,nt,yt,It,this.duration,this.startTime,this.easing,!1)}}class Zr extends ti{constructor(ne,pe,Be,nt,yt,It,Nt=!1){super(ne,pe,It.delay),this.keyframes=Be,this.preStyleProps=nt,this.postStyleProps=yt,this._stretchStartingKeyframe=Nt,this.timings={duration:It.duration,delay:It.delay,easing:It.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let ne=this.keyframes,{delay:pe,duration:Be,easing:nt}=this.timings;if(this._stretchStartingKeyframe&&pe){const yt=[],It=Be+pe,Nt=pe/It,Vt=new Map(ne[0]);Vt.set("offset",0),yt.push(Vt);const gn=new Map(ne[0]);gn.set("offset",Xr(Nt)),yt.push(gn);const Wn=ne.length-1;for(let Gn=1;Gn<=Wn;Gn++){let Wr=new Map(ne[Gn]);const fr=Wr.get("offset");Wr.set("offset",Xr((pe+fr*Be)/It)),yt.push(Wr)}Be=It,pe=0,nt="",ne=yt}return Lr(this.element,ne,this.preStyleProps,this.postStyleProps,Be,pe,nt,!0)}}function Xr(rt,ne=3){const pe=Math.pow(10,ne-1);return Math.round(rt*pe)/pe}function hr(rt,ne,pe,Be,nt,yt,It,Nt,Vt,gn,Wn,Gn,Wr){return{type:0,element:rt,triggerName:ne,isRemovalTransition:nt,fromState:pe,fromStyles:yt,toState:Be,toStyles:It,timelines:Nt,queriedElements:Vt,preStyleProps:gn,postStyleProps:Wn,totalTime:Gn,errors:Wr}}const Yi={};class ko{constructor(ne,pe,Be){this._triggerName=ne,this.ast=pe,this._stateStyles=Be}match(ne,pe,Be,nt){return function Jr(rt,ne,pe,Be,nt){return rt.some(yt=>yt(ne,pe,Be,nt))}(this.ast.matchers,ne,pe,Be,nt)}buildStyles(ne,pe,Be){let nt=this._stateStyles.get("*");return void 0!==ne&&(nt=this._stateStyles.get(ne?.toString())||nt),nt?nt.buildStyles(pe,Be):new Map}build(ne,pe,Be,nt,yt,It,Nt,Vt,gn,Wn){const Gn=[],Wr=this.ast.options&&this.ast.options.params||Yi,tr=this.buildStyles(Be,Nt&&Nt.params||Yi,Gn),vr=Vt&&Vt.params||Yi,mi=this.buildStyles(nt,vr,Gn),Ai=new Set,ji=new Map,Ti=new Map,Ji="void"===nt,vn={params:zi(vr,Wr),delay:this.ast.options?.delay},wr=Wn?[]:si(ne,pe,this.ast.animation,yt,It,tr,mi,vn,gn,Gn);let Qi=0;return wr.forEach(Pi=>{Qi=Math.max(Pi.duration+Pi.delay,Qi)}),Gn.length?hr(pe,this._triggerName,Be,nt,Ji,tr,mi,[],[],ji,Ti,Qi,Gn):(wr.forEach(Pi=>{const ei=Pi.element,oo=Rt(ji,ei,new Set);Pi.preStyleProps.forEach(at=>oo.add(at));const Ye=Rt(Ti,ei,new Set);Pi.postStyleProps.forEach(at=>Ye.add(at)),ei!==pe&&Ai.add(ei)}),hr(pe,this._triggerName,Be,nt,Ji,tr,mi,wr,[...Ai.values()],ji,Ti,Qi))}}function zi(rt,ne){const pe={...ne};return Object.entries(rt).forEach(([Be,nt])=>{null!=nt&&(pe[Be]=nt)}),pe}class qi{constructor(ne,pe,Be){this.styles=ne,this.defaultParams=pe,this.normalizer=Be}buildStyles(ne,pe){const Be=new Map,nt=zi(ne,this.defaultParams);return this.styles.styles.forEach(yt=>{"string"!=typeof yt&&yt.forEach((It,Nt)=>{It&&(It=Tt(It,nt,pe));const Vt=this.normalizer.normalizePropertyName(Nt,pe);It=this.normalizer.normalizeStyleValue(Nt,Vt,It,pe),Be.set(Nt,It)})}),Be}}class Rr{constructor(ne,pe,Be){this.name=ne,this.ast=pe,this._normalizer=Be,this.transitionFactories=[],this.states=new Map,pe.states.forEach(nt=>{this.states.set(nt.name,new qi(nt.style,nt.options&&nt.options.params||{},Be))}),_i(this.states,"true","1"),_i(this.states,"false","0"),pe.transitions.forEach(nt=>{this.transitionFactories.push(new ko(ne,nt,this.states))}),this.fallbackTransition=function mo(rt,ne,pe){return new ko(rt,{type:d.Transition,animation:{type:d.Sequence,steps:[],options:null},matchers:[(It,Nt)=>!0],options:null,queryCount:0,depCount:0},ne)}(ne,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(ne,pe,Be,nt){return this.transitionFactories.find(It=>It.match(ne,pe,Be,nt))||null}matchStyles(ne,pe,Be){return this.fallbackTransition.buildStyles(ne,pe,Be)}}function _i(rt,ne,pe){rt.has(ne)?rt.has(pe)||rt.set(pe,rt.get(ne)):rt.has(pe)&&rt.set(ne,rt.get(pe))}const xi=new ut;class qr{constructor(ne,pe,Be){this.bodyNode=ne,this._driver=pe,this._normalizer=Be,this._animations=new Map,this._playersById=new Map,this.players=[]}register(ne,pe){const Be=[],yt=Kt(this._driver,pe,Be,[]);if(Be.length)throw function Qe(rt){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set(ne,yt)}_buildPlayer(ne,pe,Be){const nt=ne.element,yt=Je(this._normalizer,ne.keyframes,pe,Be);return this._driver.animate(nt,yt,ne.duration,ne.delay,ne.easing,[],!0)}create(ne,pe,Be={}){const nt=[],yt=this._animations.get(ne);let It;const Nt=new Map;if(yt?(It=si(this._driver,pe,yt,Mr,br,new Map,new Map,Be,xi,nt),It.forEach(Wn=>{const Gn=Rt(Nt,Wn.element,new Map);Wn.postStyleProps.forEach(Wr=>Gn.set(Wr,null))})):(nt.push(function Ut(){return new n.\u0275RuntimeError(3300,!1)}()),It=[]),nt.length)throw function sn(rt){return new n.\u0275RuntimeError(3504,!1)}();Nt.forEach((Wn,Gn)=>{Wn.forEach((Wr,fr)=>{Wn.set(fr,this._driver.computeStyle(Gn,fr,a))})});const gn=Ge(It.map(Wn=>{const Gn=Nt.get(Wn.element);return this._buildPlayer(Wn,new Map,Gn)}));return this._playersById.set(ne,gn),gn.onDestroy(()=>this.destroy(ne)),this.players.push(gn),gn}destroy(ne){const pe=this._getPlayer(ne);pe.destroy(),this._playersById.delete(ne);const Be=this.players.indexOf(pe);Be>=0&&this.players.splice(Be,1)}_getPlayer(ne){const pe=this._playersById.get(ne);if(!pe)throw function un(rt){return new n.\u0275RuntimeError(3301,!1)}();return pe}listen(ne,pe,Be,nt){const yt=Zt(pe,"","","");return vt(this._getPlayer(ne),Be,yt,nt),()=>{}}command(ne,pe,Be,nt){if("register"==Be)return void this.register(ne,nt[0]);if("create"==Be)return void this.create(ne,pe,nt[0]||{});const yt=this._getPlayer(ne);switch(Be){case"play":yt.play();break;case"pause":yt.pause();break;case"reset":yt.reset();break;case"restart":yt.restart();break;case"finish":yt.finish();break;case"init":yt.init();break;case"setPosition":yt.setPosition(parseFloat(nt[0]));break;case"destroy":this.destroy(ne)}}}const ar="ng-animate-queued",wi="ng-animate-disabled",zr=[],bo={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ni={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Gr="__ng_removed";class Lo{get params(){return this.options.params}constructor(ne,pe=""){this.namespaceId=pe;const Be=ne&&ne.hasOwnProperty("value");if(this.value=function Ro(rt){return rt??null}(Be?ne.value:ne),Be){const{value:yt,...It}=ne;this.options=It}else this.options={};this.options.params||(this.options.params={})}absorbOptions(ne){const pe=ne.params;if(pe){const Be=this.options.params;Object.keys(pe).forEach(nt=>{null==Be[nt]&&(Be[nt]=pe[nt])})}}}const Oi="void",Zi=new Lo(Oi);class Li{constructor(ne,pe,Be){this.id=ne,this.hostElement=pe,this._engine=Be,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+ne,Ki(pe,this._hostClassName)}listen(ne,pe,Be,nt){if(!this._triggers.has(pe))throw function Sn(rt,ne){return new n.\u0275RuntimeError(3302,!1)}();if(null==Be||0==Be.length)throw function bn(rt){return new n.\u0275RuntimeError(3303,!1)}();if(!function bs(rt){return"start"==rt||"done"==rt}(Be))throw function kt(rt,ne){return new n.\u0275RuntimeError(3400,!1)}();const yt=Rt(this._elementListeners,ne,[]),It={name:pe,phase:Be,callback:nt};yt.push(It);const Nt=Rt(this._engine.statesByElement,ne,new Map);return Nt.has(pe)||(Ki(ne,Jn),Ki(ne,Jn+"-"+pe),Nt.set(pe,Zi)),()=>{this._engine.afterFlush(()=>{const Vt=yt.indexOf(It);Vt>=0&&yt.splice(Vt,1),this._triggers.has(pe)||Nt.delete(pe)})}}register(ne,pe){return!this._triggers.has(ne)&&(this._triggers.set(ne,pe),!0)}_getTrigger(ne){const pe=this._triggers.get(ne);if(!pe)throw function jt(rt){return new n.\u0275RuntimeError(3401,!1)}();return pe}trigger(ne,pe,Be,nt=!0){const yt=this._getTrigger(pe),It=new $o(this.id,pe,ne);let Nt=this._engine.statesByElement.get(ne);Nt||(Ki(ne,Jn),Ki(ne,Jn+"-"+pe),this._engine.statesByElement.set(ne,Nt=new Map));let Vt=Nt.get(pe);const gn=new Lo(Be,this.id);if(!(Be&&Be.hasOwnProperty("value"))&&Vt&&gn.absorbOptions(Vt.options),Nt.set(pe,gn),Vt||(Vt=Zi),gn.value!==Oi&&Vt.value===gn.value){if(!function Fo(rt,ne){const pe=Object.keys(rt),Be=Object.keys(ne);if(pe.length!=Be.length)return!1;for(let nt=0;nt{Kn(ne,mi),Rn(ne,Ai)})}return}const Wr=Rt(this._engine.playersByElement,ne,[]);Wr.forEach(vr=>{vr.namespaceId==this.id&&vr.triggerName==pe&&vr.queued&&vr.destroy()});let fr=yt.matchTransition(Vt.value,gn.value,ne,gn.params),tr=!1;if(!fr){if(!nt)return;fr=yt.fallbackTransition,tr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:pe,transition:fr,fromState:Vt,toState:gn,player:It,isFallbackTransition:tr}),tr||(Ki(ne,ar),It.onStart(()=>{uo(ne,ar)})),It.onDone(()=>{let vr=this.players.indexOf(It);vr>=0&&this.players.splice(vr,1);const mi=this._engine.playersByElement.get(ne);if(mi){let Ai=mi.indexOf(It);Ai>=0&&mi.splice(Ai,1)}}),this.players.push(It),Wr.push(It),It}deregister(ne){this._triggers.delete(ne),this._engine.statesByElement.forEach(pe=>pe.delete(ne)),this._elementListeners.forEach((pe,Be)=>{this._elementListeners.set(Be,pe.filter(nt=>nt.name!=ne))})}clearElementCache(ne){this._engine.statesByElement.delete(ne),this._elementListeners.delete(ne);const pe=this._engine.playersByElement.get(ne);pe&&(pe.forEach(Be=>Be.destroy()),this._engine.playersByElement.delete(ne))}_signalRemovalForInnerTriggers(ne,pe){const Be=this._engine.driver.query(ne,xn,!0);Be.forEach(nt=>{if(nt[Gr])return;const yt=this._engine.fetchNamespacesByElement(nt);yt.size?yt.forEach(It=>It.triggerLeaveAnimation(nt,pe,!1,!0)):this.clearElementCache(nt)}),this._engine.afterFlushAnimationsDone(()=>Be.forEach(nt=>this.clearElementCache(nt)))}triggerLeaveAnimation(ne,pe,Be,nt){const yt=this._engine.statesByElement.get(ne),It=new Map;if(yt){const Nt=[];if(yt.forEach((Vt,gn)=>{if(It.set(gn,Vt.value),this._triggers.has(gn)){const Wn=this.trigger(ne,gn,Oi,nt);Wn&&Nt.push(Wn)}}),Nt.length)return this._engine.markElementAsRemoved(this.id,ne,!0,pe,It),Be&&Ge(Nt).onDone(()=>this._engine.processLeaveNode(ne)),!0}return!1}prepareLeaveAnimationListeners(ne){const pe=this._elementListeners.get(ne),Be=this._engine.statesByElement.get(ne);if(pe&&Be){const nt=new Set;pe.forEach(yt=>{const It=yt.name;if(nt.has(It))return;nt.add(It);const Vt=this._triggers.get(It).fallbackTransition,gn=Be.get(It)||Zi,Wn=new Lo(Oi),Gn=new $o(this.id,It,ne);this._engine.totalQueuedPlayers++,this._queue.push({element:ne,triggerName:It,transition:Vt,fromState:gn,toState:Wn,player:Gn,isFallbackTransition:!0})})}}removeNode(ne,pe){const Be=this._engine;if(ne.childElementCount&&this._signalRemovalForInnerTriggers(ne,pe),this.triggerLeaveAnimation(ne,pe,!0))return;let nt=!1;if(Be.totalAnimations){const yt=Be.players.length?Be.playersByQueriedElement.get(ne):[];if(yt&&yt.length)nt=!0;else{let It=ne;for(;It=It.parentNode;)if(Be.statesByElement.get(It)){nt=!0;break}}}if(this.prepareLeaveAnimationListeners(ne),nt)Be.markElementAsRemoved(this.id,ne,!1,pe);else{const yt=ne[Gr];(!yt||yt===bo)&&(Be.afterFlush(()=>this.clearElementCache(ne)),Be.destroyInnerAnimations(ne),Be._onRemovalComplete(ne,pe))}}insertNode(ne,pe){Ki(ne,this._hostClassName)}drainQueuedTransitions(ne){const pe=[];return this._queue.forEach(Be=>{const nt=Be.player;if(nt.destroyed)return;const yt=Be.element,It=this._elementListeners.get(yt);It&&It.forEach(Nt=>{if(Nt.name==Be.triggerName){const Vt=Zt(yt,Be.triggerName,Be.fromState.value,Be.toState.value);Vt._data=ne,vt(Be.player,Nt.phase,Vt,Nt.callback)}}),nt.markedForDestroy?this._engine.afterFlush(()=>{nt.destroy()}):pe.push(Be)}),this._queue=[],pe.sort((Be,nt)=>{const yt=Be.transition.ast.depCount,It=nt.transition.ast.depCount;return 0==yt||0==It?yt-It:this._engine.driver.containsElement(Be.element,nt.element)?1:-1})}destroy(ne){this.players.forEach(pe=>pe.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,ne)}}class Gi{_onRemovalComplete(ne,pe){this.onRemovalComplete(ne,pe)}constructor(ne,pe,Be,nt){this.bodyNode=ne,this.driver=pe,this._normalizer=Be,this.scheduler=nt,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(yt,It)=>{}}get queuedPlayers(){const ne=[];return this._namespaceList.forEach(pe=>{pe.players.forEach(Be=>{Be.queued&&ne.push(Be)})}),ne}createNamespace(ne,pe){const Be=new Li(ne,pe,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,pe)?this._balanceNamespaceList(Be,pe):(this.newHostElements.set(pe,Be),this.collectEnterElement(pe)),this._namespaceLookup[ne]=Be}_balanceNamespaceList(ne,pe){const Be=this._namespaceList,nt=this.namespacesByHostElement;if(Be.length-1>=0){let It=!1,Nt=this.driver.getParentElement(pe);for(;Nt;){const Vt=nt.get(Nt);if(Vt){const gn=Be.indexOf(Vt);Be.splice(gn+1,0,ne),It=!0;break}Nt=this.driver.getParentElement(Nt)}It||Be.unshift(ne)}else Be.push(ne);return nt.set(pe,ne),ne}register(ne,pe){let Be=this._namespaceLookup[ne];return Be||(Be=this.createNamespace(ne,pe)),Be}registerTrigger(ne,pe,Be){let nt=this._namespaceLookup[ne];nt&&nt.register(pe,Be)&&this.totalAnimations++}destroy(ne,pe){ne&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Be=this._fetchNamespace(ne);this.namespacesByHostElement.delete(Be.hostElement);const nt=this._namespaceList.indexOf(Be);nt>=0&&this._namespaceList.splice(nt,1),Be.destroy(pe),delete this._namespaceLookup[ne]}))}_fetchNamespace(ne){return this._namespaceLookup[ne]}fetchNamespacesByElement(ne){const pe=new Set,Be=this.statesByElement.get(ne);if(Be)for(let nt of Be.values())if(nt.namespaceId){const yt=this._fetchNamespace(nt.namespaceId);yt&&pe.add(yt)}return pe}trigger(ne,pe,Be,nt){if(wo(pe)){const yt=this._fetchNamespace(ne);if(yt)return yt.trigger(pe,Be,nt),!0}return!1}insertNode(ne,pe,Be,nt){if(!wo(pe))return;const yt=pe[Gr];if(yt&&yt.setForRemoval){yt.setForRemoval=!1,yt.setForMove=!0;const It=this.collectedLeaveElements.indexOf(pe);It>=0&&this.collectedLeaveElements.splice(It,1)}if(ne){const It=this._fetchNamespace(ne);It&&It.insertNode(pe,Be)}nt&&this.collectEnterElement(pe)}collectEnterElement(ne){this.collectedEnterElements.push(ne)}markElementAsDisabled(ne,pe){pe?this.disabledNodes.has(ne)||(this.disabledNodes.add(ne),Ki(ne,wi)):this.disabledNodes.has(ne)&&(this.disabledNodes.delete(ne),uo(ne,wi))}removeNode(ne,pe,Be){if(wo(pe)){this.scheduler?.notify();const nt=ne?this._fetchNamespace(ne):null;nt?nt.removeNode(pe,Be):this.markElementAsRemoved(ne,pe,!1,Be);const yt=this.namespacesByHostElement.get(pe);yt&&yt.id!==ne&&yt.removeNode(pe,Be)}else this._onRemovalComplete(pe,Be)}markElementAsRemoved(ne,pe,Be,nt,yt){this.collectedLeaveElements.push(pe),pe[Gr]={namespaceId:ne,setForRemoval:nt,hasAnimation:Be,removedBeforeQueried:!1,previousTriggersValues:yt}}listen(ne,pe,Be,nt,yt){return wo(pe)?this._fetchNamespace(ne).listen(pe,Be,nt,yt):()=>{}}_buildInstruction(ne,pe,Be,nt,yt){return ne.transition.build(this.driver,ne.element,ne.fromState.value,ne.toState.value,Be,nt,ne.fromState.options,ne.toState.options,pe,yt)}destroyInnerAnimations(ne){let pe=this.driver.query(ne,xn,!0);pe.forEach(Be=>this.destroyActiveAnimationsForElement(Be)),0!=this.playersByQueriedElement.size&&(pe=this.driver.query(ne,Sr,!0),pe.forEach(Be=>this.finishActiveQueriedAnimationOnElement(Be)))}destroyActiveAnimationsForElement(ne){const pe=this.playersByElement.get(ne);pe&&pe.forEach(Be=>{Be.queued?Be.markedForDestroy=!0:Be.destroy()})}finishActiveQueriedAnimationOnElement(ne){const pe=this.playersByQueriedElement.get(ne);pe&&pe.forEach(Be=>Be.finish())}whenRenderingDone(){return new Promise(ne=>{if(this.players.length)return Ge(this.players).onDone(()=>ne());ne()})}processLeaveNode(ne){const pe=ne[Gr];if(pe&&pe.setForRemoval){if(ne[Gr]=bo,pe.namespaceId){this.destroyInnerAnimations(ne);const Be=this._fetchNamespace(pe.namespaceId);Be&&Be.clearElementCache(ne)}this._onRemovalComplete(ne,pe.setForRemoval)}ne.classList?.contains(wi)&&this.markElementAsDisabled(ne,!1),this.driver.query(ne,".ng-animate-disabled",!0).forEach(Be=>{this.markElementAsDisabled(Be,!1)})}flush(ne=-1){let pe=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Be,nt)=>this._balanceNamespaceList(Be,nt)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Be=0;BeBe()),this._flushFns=[],this._whenQuietFns.length){const Be=this._whenQuietFns;this._whenQuietFns=[],pe.length?Ge(pe).onDone(()=>{Be.forEach(nt=>nt())}):Be.forEach(nt=>nt())}}reportError(ne){throw function Fe(rt){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations(ne,pe){const Be=new ut,nt=[],yt=new Map,It=[],Nt=new Map,Vt=new Map,gn=new Map,Wn=new Set;this.disabledNodes.forEach(ce=>{Wn.add(ce);const Le=this.driver.query(ce,".ng-animate-queued",!0);for(let ft=0;ft{const ft=Mr+vr++;tr.set(Le,ft),ce.forEach(xt=>Ki(xt,ft))});const mi=[],Ai=new Set,ji=new Set;for(let ce=0;ceAi.add(xt)):ji.add(Le))}const Ti=new Map,Ji=rs(Wr,Array.from(Ai));Ji.forEach((ce,Le)=>{const ft=br+vr++;Ti.set(Le,ft),ce.forEach(xt=>Ki(xt,ft))}),ne.push(()=>{fr.forEach((ce,Le)=>{const ft=tr.get(Le);ce.forEach(xt=>uo(xt,ft))}),Ji.forEach((ce,Le)=>{const ft=Ti.get(Le);ce.forEach(xt=>uo(xt,ft))}),mi.forEach(ce=>{this.processLeaveNode(ce)})});const vn=[],wr=[];for(let ce=this._namespaceList.length-1;ce>=0;ce--)this._namespaceList[ce].drainQueuedTransitions(pe).forEach(ft=>{const xt=ft.player,rn=ft.element;if(vn.push(xt),this.collectedEnterElements.length){const tn=rn[Gr];if(tn&&tn.setForMove){if(tn.previousTriggersValues&&tn.previousTriggersValues.has(ft.triggerName)){const Dn=tn.previousTriggersValues.get(ft.triggerName),gr=this.statesByElement.get(ft.element);if(gr&&gr.has(ft.triggerName)){const yr=gr.get(ft.triggerName);yr.value=Dn,gr.set(ft.triggerName,yr)}}return void xt.destroy()}}const J=!Gn||!this.driver.containsElement(Gn,rn),ze=Ti.get(rn),Se=tr.get(rn),Ue=this._buildInstruction(ft,Be,Se,ze,J);if(Ue.errors&&Ue.errors.length)return void wr.push(Ue);if(J)return xt.onStart(()=>Kn(rn,Ue.fromStyles)),xt.onDestroy(()=>Rn(rn,Ue.toStyles)),void nt.push(xt);if(ft.isFallbackTransition)return xt.onStart(()=>Kn(rn,Ue.fromStyles)),xt.onDestroy(()=>Rn(rn,Ue.toStyles)),void nt.push(xt);const _t=[];Ue.timelines.forEach(tn=>{tn.stretchStartingKeyframe=!0,this.disabledNodes.has(tn.element)||_t.push(tn)}),Ue.timelines=_t,Be.append(rn,Ue.timelines),It.push({instruction:Ue,player:xt,element:rn}),Ue.queriedElements.forEach(tn=>Rt(Nt,tn,[]).push(xt)),Ue.preStyleProps.forEach((tn,Dn)=>{if(tn.size){let gr=Vt.get(Dn);gr||Vt.set(Dn,gr=new Set),tn.forEach((yr,$r)=>gr.add($r))}}),Ue.postStyleProps.forEach((tn,Dn)=>{let gr=gn.get(Dn);gr||gn.set(Dn,gr=new Set),tn.forEach((yr,$r)=>gr.add($r))})});if(wr.length){const ce=[];wr.forEach(Le=>{ce.push(function ye(rt,ne){return new n.\u0275RuntimeError(3505,!1)}())}),vn.forEach(Le=>Le.destroy()),this.reportError(ce)}const Qi=new Map,Pi=new Map;It.forEach(ce=>{const Le=ce.element;Be.has(Le)&&(Pi.set(Le,Le),this._beforeAnimationBuild(ce.player.namespaceId,ce.instruction,Qi))}),nt.forEach(ce=>{const Le=ce.element;this._getPreviousPlayers(Le,!1,ce.namespaceId,ce.triggerName,null).forEach(xt=>{Rt(Qi,Le,[]).push(xt),xt.destroy()})});const ei=mi.filter(ce=>Do(ce,Vt,gn)),oo=new Map;ns(oo,this.driver,ji,gn,a).forEach(ce=>{Do(ce,Vt,gn)&&ei.push(ce)});const at=new Map;fr.forEach((ce,Le)=>{ns(at,this.driver,new Set(ce),Vt,"!")}),ei.forEach(ce=>{const Le=oo.get(ce),ft=at.get(ce);oo.set(ce,new Map([...Le?.entries()??[],...ft?.entries()??[]]))});const R=[],te=[],U={};It.forEach(ce=>{const{element:Le,player:ft,instruction:xt}=ce;if(Be.has(Le)){if(Wn.has(Le))return ft.onDestroy(()=>Rn(Le,xt.toStyles)),ft.disabled=!0,ft.overrideTotalTime(xt.totalTime),void nt.push(ft);let rn=U;if(Pi.size>1){let ze=Le;const Se=[];for(;ze=ze.parentNode;){const Ue=Pi.get(ze);if(Ue){rn=Ue;break}Se.push(ze)}Se.forEach(Ue=>Pi.set(Ue,rn))}const J=this._buildAnimation(ft.namespaceId,xt,Qi,yt,at,oo);if(ft.setRealPlayer(J),rn===U)R.push(ft);else{const ze=this.playersByElement.get(rn);ze&&ze.length&&(ft.parentPlayer=Ge(ze)),nt.push(ft)}}else Kn(Le,xt.fromStyles),ft.onDestroy(()=>Rn(Le,xt.toStyles)),te.push(ft),Wn.has(Le)&&nt.push(ft)}),te.forEach(ce=>{const Le=yt.get(ce.element);if(Le&&Le.length){const ft=Ge(Le);ce.setRealPlayer(ft)}}),nt.forEach(ce=>{ce.parentPlayer?ce.syncPlayerEvents(ce.parentPlayer):ce.destroy()});for(let ce=0;ce!J.destroyed);rn.length?So(this,Le,rn):this.processLeaveNode(Le)}return mi.length=0,R.forEach(ce=>{this.players.push(ce),ce.onDone(()=>{ce.destroy();const Le=this.players.indexOf(ce);this.players.splice(Le,1)}),ce.play()}),R}afterFlush(ne){this._flushFns.push(ne)}afterFlushAnimationsDone(ne){this._whenQuietFns.push(ne)}_getPreviousPlayers(ne,pe,Be,nt,yt){let It=[];if(pe){const Nt=this.playersByQueriedElement.get(ne);Nt&&(It=Nt)}else{const Nt=this.playersByElement.get(ne);if(Nt){const Vt=!yt||yt==Oi;Nt.forEach(gn=>{gn.queued||!Vt&&gn.triggerName!=nt||It.push(gn)})}}return(Be||nt)&&(It=It.filter(Nt=>!(Be&&Be!=Nt.namespaceId||nt&&nt!=Nt.triggerName))),It}_beforeAnimationBuild(ne,pe,Be){const yt=pe.element,It=pe.isRemovalTransition?void 0:ne,Nt=pe.isRemovalTransition?void 0:pe.triggerName;for(const Vt of pe.timelines){const gn=Vt.element,Wn=gn!==yt,Gn=Rt(Be,gn,[]);this._getPreviousPlayers(gn,Wn,It,Nt,pe.toState).forEach(fr=>{const tr=fr.getRealPlayer();tr.beforeDestroy&&tr.beforeDestroy(),fr.destroy(),Gn.push(fr)})}Kn(yt,pe.fromStyles)}_buildAnimation(ne,pe,Be,nt,yt,It){const Nt=pe.triggerName,Vt=pe.element,gn=[],Wn=new Set,Gn=new Set,Wr=pe.timelines.map(tr=>{const vr=tr.element;Wn.add(vr);const mi=vr[Gr];if(mi&&mi.removedBeforeQueried)return new I(tr.duration,tr.delay);const Ai=vr!==Vt,ji=function cs(rt){const ne=[];return co(rt,ne),ne}((Be.get(vr)||zr).map(Qi=>Qi.getRealPlayer())).filter(Qi=>!!Qi.element&&Qi.element===vr),Ti=yt.get(vr),Ji=It.get(vr),vn=Je(this._normalizer,tr.keyframes,Ti,Ji),wr=this._buildPlayer(tr,vn,ji);if(tr.subTimeline&&nt&&Gn.add(vr),Ai){const Qi=new $o(ne,Nt,vr);Qi.setRealPlayer(wr),gn.push(Qi)}return wr});gn.forEach(tr=>{Rt(this.playersByQueriedElement,tr.element,[]).push(tr),tr.onDone(()=>function Co(rt,ne,pe){let Be=rt.get(ne);if(Be){if(Be.length){const nt=Be.indexOf(pe);Be.splice(nt,1)}0==Be.length&&rt.delete(ne)}return Be}(this.playersByQueriedElement,tr.element,tr))}),Wn.forEach(tr=>Ki(tr,oi));const fr=Ge(Wr);return fr.onDestroy(()=>{Wn.forEach(tr=>uo(tr,oi)),Rn(Vt,pe.toStyles)}),Gn.forEach(tr=>{Rt(nt,tr,[]).push(fr)}),fr}_buildPlayer(ne,pe,Be){return pe.length>0?this.driver.animate(ne.element,pe,ne.duration,ne.delay,ne.easing,Be):new I(ne.duration,ne.delay)}}class $o{constructor(ne,pe,Be){this.namespaceId=ne,this.triggerName=pe,this.element=Be,this._player=new I,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(ne){this._containsRealPlayer||(this._player=ne,this._queuedCallbacks.forEach((pe,Be)=>{pe.forEach(nt=>vt(ne,Be,void 0,nt))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(ne.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(ne){this.totalTime=ne}syncPlayerEvents(ne){const pe=this._player;pe.triggerCallback&&ne.onStart(()=>pe.triggerCallback("start")),ne.onDone(()=>this.finish()),ne.onDestroy(()=>this.destroy())}_queueEvent(ne,pe){Rt(this._queuedCallbacks,ne,[]).push(pe)}onDone(ne){this.queued&&this._queueEvent("done",ne),this._player.onDone(ne)}onStart(ne){this.queued&&this._queueEvent("start",ne),this._player.onStart(ne)}onDestroy(ne){this.queued&&this._queueEvent("destroy",ne),this._player.onDestroy(ne)}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(ne){this.queued||this._player.setPosition(ne)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(ne){const pe=this._player;pe.triggerCallback&&pe.triggerCallback(ne)}}function wo(rt){return rt&&1===rt.nodeType}function Go(rt,ne){const pe=rt.style.display;return rt.style.display=ne??"none",pe}function ns(rt,ne,pe,Be,nt){const yt=[];pe.forEach(Vt=>yt.push(Go(Vt)));const It=[];Be.forEach((Vt,gn)=>{const Wn=new Map;Vt.forEach(Gn=>{const Wr=ne.computeStyle(gn,Gn,nt);Wn.set(Gn,Wr),(!Wr||0==Wr.length)&&(gn[Gr]=Ni,It.push(gn))}),rt.set(gn,Wn)});let Nt=0;return pe.forEach(Vt=>Go(Vt,yt[Nt++])),It}function rs(rt,ne){const pe=new Map;if(rt.forEach(Nt=>pe.set(Nt,[])),0==ne.length)return pe;const nt=new Set(ne),yt=new Map;function It(Nt){if(!Nt)return 1;let Vt=yt.get(Nt);if(Vt)return Vt;const gn=Nt.parentNode;return Vt=pe.has(gn)?gn:nt.has(gn)?1:It(gn),yt.set(Nt,Vt),Vt}return ne.forEach(Nt=>{const Vt=It(Nt);1!==Vt&&pe.get(Vt).push(Nt)}),pe}function Ki(rt,ne){rt.classList?.add(ne)}function uo(rt,ne){rt.classList?.remove(ne)}function So(rt,ne,pe){Ge(pe).onDone(()=>rt.processLeaveNode(ne))}function co(rt,ne){for(let pe=0;pent.add(yt)):ne.set(rt,Be),pe.delete(rt),!0}class Ko{constructor(ne,pe,Be,nt){this._driver=pe,this._normalizer=Be,this._triggerCache={},this.onRemovalComplete=(yt,It)=>{},this._transitionEngine=new Gi(ne.body,pe,Be,nt),this._timelineEngine=new qr(ne.body,pe,Be),this._transitionEngine.onRemovalComplete=(yt,It)=>this.onRemovalComplete(yt,It)}registerTrigger(ne,pe,Be,nt,yt){const It=ne+"-"+nt;let Nt=this._triggerCache[It];if(!Nt){const Vt=[],Wn=Kt(this._driver,yt,Vt,[]);if(Vt.length)throw function Ie(rt,ne){return new n.\u0275RuntimeError(3404,!1)}();Nt=function ro(rt,ne,pe){return new Rr(rt,ne,pe)}(nt,Wn,this._normalizer),this._triggerCache[It]=Nt}this._transitionEngine.registerTrigger(pe,nt,Nt)}register(ne,pe){this._transitionEngine.register(ne,pe)}destroy(ne,pe){this._transitionEngine.destroy(ne,pe)}onInsert(ne,pe,Be,nt){this._transitionEngine.insertNode(ne,pe,Be,nt)}onRemove(ne,pe,Be){this._transitionEngine.removeNode(ne,pe,Be)}disableAnimations(ne,pe){this._transitionEngine.markElementAsDisabled(ne,pe)}process(ne,pe,Be,nt){if("@"==Be.charAt(0)){const[yt,It]=Dt(Be);this._timelineEngine.command(yt,pe,It,nt)}else this._transitionEngine.trigger(ne,pe,Be,nt)}listen(ne,pe,Be,nt,yt){if("@"==Be.charAt(0)){const[It,Nt]=Dt(Be);return this._timelineEngine.listen(It,pe,Nt,yt)}return this._transitionEngine.listen(ne,pe,Be,nt,yt)}flush(ne=-1){this._transitionEngine.flush(ne)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(ne){this._transitionEngine.afterFlushAnimationsDone(ne)}}class Qo{static#e=this.initialStylesByElement=new WeakMap;constructor(ne,pe,Be){this._element=ne,this._startStyles=pe,this._endStyles=Be,this._state=0;let nt=Qo.initialStylesByElement.get(ne);nt||Qo.initialStylesByElement.set(ne,nt=new Map),this._initialStyles=nt}start(){this._state<1&&(this._startStyles&&Rn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Rn(this._element,this._initialStyles),this._endStyles&&(Rn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Qo.initialStylesByElement.delete(this._element),this._startStyles&&(Kn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Kn(this._element,this._endStyles),this._endStyles=null),Rn(this._element,this._initialStyles),this._state=3)}}function We(rt){let ne=null;return rt.forEach((pe,Be)=>{(function Xe(rt){return"display"===rt||"position"===rt})(Be)&&(ne=ne||new Map,ne.set(Be,pe))}),ne}class ke{constructor(ne,pe,Be,nt){this.element=ne,this.keyframes=pe,this.options=Be,this._specialStyles=nt,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=Be.duration,this._delay=Be.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(ne=>ne()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const ne=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,ne,this.options),this._finalKeyframe=ne.length?ne[ne.length-1]:new Map;const pe=()=>this._onFinish();this.domPlayer.addEventListener("finish",pe),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",pe)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(ne){const pe=[];return ne.forEach(Be=>{pe.push(Object.fromEntries(Be))}),pe}_triggerWebAnimation(ne,pe,Be){return ne.animate(this._convertKeyframesToObject(pe),Be)}onStart(ne){this._originalOnStartFns.push(ne),this._onStartFns.push(ne)}onDone(ne){this._originalOnDoneFns.push(ne),this._onDoneFns.push(ne)}onDestroy(ne){this._onDestroyFns.push(ne)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(ne=>ne()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),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&&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(ne=>ne()),this._onDestroyFns=[])}setPosition(ne){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=ne*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const ne=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Be,nt)=>{"offset"!==nt&&ne.set(nt,this._finished?Be:Un(this.element,nt))}),this.currentSnapshot=ne}triggerCallback(ne){const pe="start"===ne?this._onStartFns:this._onDoneFns;pe.forEach(Be=>Be()),pe.length=0}}class dt{validateStyleProperty(ne){return!0}validateAnimatableStyleProperty(ne){return!0}matchesElement(ne,pe){return!1}containsElement(ne,pe){return mt(ne,pe)}getParentElement(ne){return pn(ne)}query(ne,pe,Be){return Et(ne,pe,Be)}computeStyle(ne,pe,Be){return Un(ne,pe)}animate(ne,pe,Be,nt,yt,It=[]){const Vt={duration:Be,delay:nt,fill:0==nt?"both":"forwards"};yt&&(Vt.easing=yt);const gn=new Map,Wn=It.filter(fr=>fr instanceof ke);(function Cn(rt,ne){return 0===rt||0===ne})(Be,nt)&&Wn.forEach(fr=>{fr.currentSnapshot.forEach((tr,vr)=>gn.set(vr,tr))});let Gn=function pi(rt){return rt.length?rt[0]instanceof Map?rt:rt.map(ne=>new Map(Object.entries(ne))):[]}(pe).map(fr=>new Map(fr));Gn=function yn(rt,ne,pe){if(pe.size&&ne.length){let Be=ne[0],nt=[];if(pe.forEach((yt,It)=>{Be.has(It)||nt.push(It),Be.set(It,yt)}),nt.length)for(let yt=1;ytIt.set(Nt,Un(rt,Nt)))}}return ne}(ne,Gn,gn);const Wr=function hs(rt,ne){let pe=null,Be=null;return Array.isArray(ne)&&ne.length?(pe=We(ne[0]),ne.length>1&&(Be=We(ne[ne.length-1]))):ne instanceof Map&&(pe=We(ne)),pe||Be?new Qo(rt,pe,Be):null}(ne,Gn);return new ke(ne,Gn,Vt,Wr)}}const Wi="@.disabled";class Mo{constructor(ne,pe,Be,nt){this.namespaceId=ne,this.delegate=pe,this.engine=Be,this._onDestroy=nt,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(ne){this.delegate.destroyNode?.(ne)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(ne,pe){return this.delegate.createElement(ne,pe)}createComment(ne){return this.delegate.createComment(ne)}createText(ne){return this.delegate.createText(ne)}appendChild(ne,pe){this.delegate.appendChild(ne,pe),this.engine.onInsert(this.namespaceId,pe,ne,!1)}insertBefore(ne,pe,Be,nt=!0){this.delegate.insertBefore(ne,pe,Be),this.engine.onInsert(this.namespaceId,pe,ne,nt)}removeChild(ne,pe,Be){this.engine.onRemove(this.namespaceId,pe,this.delegate)}selectRootElement(ne,pe){return this.delegate.selectRootElement(ne,pe)}parentNode(ne){return this.delegate.parentNode(ne)}nextSibling(ne){return this.delegate.nextSibling(ne)}setAttribute(ne,pe,Be,nt){this.delegate.setAttribute(ne,pe,Be,nt)}removeAttribute(ne,pe,Be){this.delegate.removeAttribute(ne,pe,Be)}addClass(ne,pe){this.delegate.addClass(ne,pe)}removeClass(ne,pe){this.delegate.removeClass(ne,pe)}setStyle(ne,pe,Be,nt){this.delegate.setStyle(ne,pe,Be,nt)}removeStyle(ne,pe,Be){this.delegate.removeStyle(ne,pe,Be)}setProperty(ne,pe,Be){"@"==pe.charAt(0)&&pe==Wi?this.disableAnimations(ne,!!Be):this.delegate.setProperty(ne,pe,Be)}setValue(ne,pe){this.delegate.setValue(ne,pe)}listen(ne,pe,Be){return this.delegate.listen(ne,pe,Be)}disableAnimations(ne,pe){this.engine.disableAnimations(ne,pe)}}class Ao extends Mo{constructor(ne,pe,Be,nt,yt){super(pe,Be,nt,yt),this.factory=ne,this.namespaceId=pe}setProperty(ne,pe,Be){"@"==pe.charAt(0)?"."==pe.charAt(1)&&pe==Wi?this.disableAnimations(ne,Be=void 0===Be||!!Be):this.engine.process(this.namespaceId,ne,pe.slice(1),Be):this.delegate.setProperty(ne,pe,Be)}listen(ne,pe,Be){if("@"==pe.charAt(0)){const nt=function ho(rt){switch(rt){case"body":return document.body;case"document":return document;case"window":return window;default:return rt}}(ne);let yt=pe.slice(1),It="";return"@"!=yt.charAt(0)&&([yt,It]=function Ur(rt){const ne=rt.indexOf(".");return[rt.substring(0,ne),rt.slice(ne+1)]}(yt)),this.engine.listen(this.namespaceId,nt,yt,It,Nt=>{this.factory.scheduleListenerCallback(Nt._data||-1,Be,Nt)})}return this.delegate.listen(ne,pe,Be)}}class Zo{constructor(ne,pe,Be){this.delegate=ne,this.engine=pe,this._zone=Be,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,pe.onRemovalComplete=(nt,yt)=>{const It=yt?.parentNode(nt);It&&yt.removeChild(It,nt)}}createRenderer(ne,pe){const nt=this.delegate.createRenderer(ne,pe);if(!ne||!pe?.data?.animation){const gn=this._rendererCache;let Wn=gn.get(nt);return Wn||(Wn=new Mo("",nt,this.engine,()=>gn.delete(nt)),gn.set(nt,Wn)),Wn}const yt=pe.id,It=pe.id+"-"+this._currentId;this._currentId++,this.engine.register(It,ne);const Nt=gn=>{Array.isArray(gn)?gn.forEach(Nt):this.engine.registerTrigger(yt,It,ne,gn.name,gn)};return pe.data.animation.forEach(Nt),new Ao(this,It,nt,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(ne,pe,Be){if(ne>=0&&nepe(Be));const nt=this._animationCallbacksBuffer;0==nt.length&&queueMicrotask(()=>{this._zone.run(()=>{nt.forEach(yt=>{const[It,Nt]=yt;It(Nt)}),this._animationCallbacksBuffer=[]})}),nt.push([pe,Be])}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()}}var is=i(91368);let Xi=(()=>{class rt extends Ko{constructor(pe,Be,nt){super(pe,Be,nt,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Be){return new(Be||rt)(n.\u0275\u0275inject(is.DOCUMENT),n.\u0275\u0275inject(En),n.\u0275\u0275inject(qt))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();const _o=[{provide:qt,useFactory:function Xo(){return new Er}},{provide:Ko,useClass:Xi},{provide:n.RendererFactory2,useFactory:function xo(rt,ne,pe){return new Zo(rt,ne,pe)},deps:[o.\u0275DomRendererFactory2,Ko,n.NgZone]}],Di=[{provide:En,useFactory:()=>new dt},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},..._o],To=[{provide:En,useClass:_n},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},..._o];let Cs=(()=>{class rt{static withConfig(pe){return{ngModule:rt,providers:pe.disableAnimations?To:Di}}static#e=this.\u0275fac=function(Be){return new(Be||rt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Di,imports:[o.BrowserModule]})}return rt})();function os(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...Di]}let io=(()=>{class rt{static#e=this.\u0275fac=function(Be){return new(Be||rt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:To,imports:[o.BrowserModule]})}return rt})();function fs(){return[...To]}},14476:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{BrowserModule:()=>De,By:()=>kt,DomSanitizer:()=>vt,EVENT_MANAGER_PLUGINS:()=>_,EventManager:()=>C,EventManagerPlugin:()=>b,HAMMER_GESTURE_CONFIG:()=>Ee,HAMMER_LOADER:()=>ye,HammerGestureConfig:()=>Ce,HammerModule:()=>Je,HydrationFeatureKind:()=>Zt,Meta:()=>je,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>N,Title:()=>bt,TransferState:()=>kn,VERSION:()=>Yn,bootstrapApplication:()=>Y,createApplication:()=>q,disableDebugTools:()=>bn,enableDebugTools:()=>Sn,makeStateKey:()=>er,platformBrowser:()=>Ne,provideClientHydration:()=>Vn,provideProtractorTestingSupport:()=>me,withHttpTransferCacheOptions:()=>Ot,withNoHttpTransferCache:()=>Dt,\u0275BrowserDomAdapter:()=>u,\u0275BrowserGetTestability:()=>g,\u0275DomEventsPlugin:()=>K,\u0275DomRendererFactory2:()=>I,\u0275DomSanitizerImpl:()=>Bt,\u0275HammerGesturesPlugin:()=>Ge,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>ge,\u0275KeyEventsPlugin:()=>z,\u0275SharedStylesHost:()=>f,\u0275getDOM:()=>o.\u0275getDOM,\u0275initDomAdapter:()=>Oe});var n=i(54496),o=i(91368),d=i(97048);class a extends o.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class u extends a{static makeCurrent(){(0,o.\u0275setRootDomAdapter)(new u)}onAndCancel(Gt,mt,Et){return Gt.addEventListener(mt,Et),()=>{Gt.removeEventListener(mt,Et)}}dispatchEvent(Gt,mt){Gt.dispatchEvent(mt)}remove(Gt){Gt.parentNode&&Gt.parentNode.removeChild(Gt)}createElement(Gt,mt){return(mt=mt||this.getDefaultDocument()).createElement(Gt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(Gt){return Gt.nodeType===Node.ELEMENT_NODE}isShadowRoot(Gt){return Gt instanceof DocumentFragment}getGlobalEventTarget(Gt,mt){return"window"===mt?window:"document"===mt?Gt:"body"===mt?Gt.body:null}getBaseHref(Gt){const mt=function l(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==mt?null:function c(Mt){return new URL(Mt,document.baseURI).pathname}(mt)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(Gt){return(0,o.\u0275parseCookieValue)(document.cookie,Gt)}}let e=null;class g{addToWindow(Gt){n.\u0275global.getAngularTestability=(Et,Xt=!0)=>{const _n=Gt.findTestabilityInTree(Et,Xt);if(null==_n)throw new n.\u0275RuntimeError(5103,!1);return _n},n.\u0275global.getAllAngularTestabilities=()=>Gt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>Gt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(Et=>{const Xt=n.\u0275global.getAllAngularTestabilities();let _n=Xt.length;const En=function(){_n--,0==_n&&Et()};Xt.forEach(qt=>{qt.whenStable(En)})})}findTestabilityInTree(Gt,mt,Et){return null==mt?null:Gt.getTestability(mt)??(Et?(0,o.\u0275getDOM)().isShadowRoot(mt)?this.findTestabilityInTree(Gt,mt.host,!0):this.findTestabilityInTree(Gt,mt.parentElement,!0):null)}}let y=(()=>{class Mt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();const _=new n.InjectionToken("");let C=(()=>{class Mt{constructor(mt,Et){this._zone=Et,this._eventNameToPlugin=new Map,mt.forEach(Xt=>{Xt.manager=this}),this._plugins=mt.slice().reverse()}addEventListener(mt,Et,Xt){return this._findPluginFor(Et).addEventListener(mt,Et,Xt)}getZone(){return this._zone}_findPluginFor(mt){let Et=this._eventNameToPlugin.get(mt);if(Et)return Et;if(Et=this._plugins.find(_n=>_n.supports(mt)),!Et)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(mt,Et),Et}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(_),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();class b{constructor(Gt){this._doc=Gt}}const p="ng-app-id";let f=(()=>{class Mt{constructor(mt,Et,Xt,_n={}){this.doc=mt,this.appId=Et,this.nonce=Xt,this.platformId=_n,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,o.isPlatformServer)(_n),this.resetHostNodes()}addStyles(mt){for(const Et of mt)1===this.changeUsageCount(Et,1)&&this.onStyleAdded(Et)}removeStyles(mt){for(const Et of mt)this.changeUsageCount(Et,-1)<=0&&this.onStyleRemoved(Et)}ngOnDestroy(){const mt=this.styleNodesInDOM;mt&&(mt.forEach(Et=>Et.remove()),mt.clear());for(const Et of this.getAllStyles())this.onStyleRemoved(Et);this.resetHostNodes()}addHost(mt){this.hostNodes.add(mt);for(const Et of this.getAllStyles())this.addStyleToHost(mt,Et)}removeHost(mt){this.hostNodes.delete(mt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(mt){for(const Et of this.hostNodes)this.addStyleToHost(Et,mt)}onStyleRemoved(mt){const Et=this.styleRef;Et.get(mt)?.elements?.forEach(Xt=>Xt.remove()),Et.delete(mt)}collectServerRenderedStyles(){const mt=this.doc.head?.querySelectorAll(`style[${p}="${this.appId}"]`);if(mt?.length){const Et=new Map;return mt.forEach(Xt=>{null!=Xt.textContent&&Et.set(Xt.textContent,Xt)}),Et}return null}changeUsageCount(mt,Et){const Xt=this.styleRef;if(Xt.has(mt)){const _n=Xt.get(mt);return _n.usage+=Et,_n.usage}return Xt.set(mt,{usage:Et,elements:[]}),Et}getStyleElement(mt,Et){const Xt=this.styleNodesInDOM,_n=Xt?.get(Et);if(_n?.parentNode===mt)return Xt.delete(Et),_n.removeAttribute(p),_n;{const En=this.doc.createElement("style");return this.nonce&&En.setAttribute("nonce",this.nonce),En.textContent=Et,this.platformIsServer&&En.setAttribute(p,this.appId),mt.appendChild(En),En}}addStyleToHost(mt,Et){const Xt=this.getStyleElement(mt,Et),_n=this.styleRef,En=_n.get(Et)?.elements;En?En.push(Xt):_n.set(Et,{elements:[Xt],usage:1})}resetHostNodes(){const mt=this.hostNodes;mt.clear(),mt.add(this.doc.head)}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(n.CSP_NONCE,8),n.\u0275\u0275inject(n.PLATFORM_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();const S={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/MathML/"},v=/%COMP%/g,M="%COMP%",E=`_nghost-${M}`,A=`_ngcontent-${M}`,N=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function P(Mt,Gt){return Gt.map(mt=>mt.replace(v,Mt))}let I=(()=>{class Mt{constructor(mt,Et,Xt,_n,En,qt,nr,kr=null){this.eventManager=mt,this.sharedStylesHost=Et,this.appId=Xt,this.removeStylesOnCompDestroy=_n,this.doc=En,this.platformId=qt,this.ngZone=nr,this.nonce=kr,this.rendererByCompId=new Map,this.platformIsServer=(0,o.isPlatformServer)(qt),this.defaultRenderer=new j(mt,En,nr,this.platformIsServer)}createRenderer(mt,Et){if(!mt||!Et)return this.defaultRenderer;this.platformIsServer&&Et.encapsulation===n.ViewEncapsulation.ShadowDom&&(Et={...Et,encapsulation:n.ViewEncapsulation.Emulated});const Xt=this.getOrCreateRenderer(mt,Et);return Xt instanceof se?Xt.applyToHost(mt):Xt instanceof le&&Xt.applyStyles(),Xt}getOrCreateRenderer(mt,Et){const Xt=this.rendererByCompId;let _n=Xt.get(Et.id);if(!_n){const En=this.doc,qt=this.ngZone,nr=this.eventManager,kr=this.sharedStylesHost,Br=this.removeStylesOnCompDestroy,sr=this.platformIsServer;switch(Et.encapsulation){case n.ViewEncapsulation.Emulated:_n=new se(nr,kr,Et,this.appId,Br,En,qt,sr);break;case n.ViewEncapsulation.ShadowDom:return new ee(nr,kr,mt,Et,En,qt,this.nonce,sr);default:_n=new le(nr,kr,Et,Br,En,qt,sr)}Xt.set(Et.id,_n)}return _n}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(C),n.\u0275\u0275inject(f),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(N),n.\u0275\u0275inject(o.DOCUMENT),n.\u0275\u0275inject(n.PLATFORM_ID),n.\u0275\u0275inject(n.NgZone),n.\u0275\u0275inject(n.CSP_NONCE))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();class j{constructor(Gt,mt,Et,Xt){this.eventManager=Gt,this.doc=mt,this.ngZone=Et,this.platformIsServer=Xt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(Gt,mt){return mt?this.doc.createElementNS(S[mt]||mt,Gt):this.doc.createElement(Gt)}createComment(Gt){return this.doc.createComment(Gt)}createText(Gt){return this.doc.createTextNode(Gt)}appendChild(Gt,mt){($(Gt)?Gt.content:Gt).appendChild(mt)}insertBefore(Gt,mt,Et){Gt&&($(Gt)?Gt.content:Gt).insertBefore(mt,Et)}removeChild(Gt,mt){Gt&&Gt.removeChild(mt)}selectRootElement(Gt,mt){let Et="string"==typeof Gt?this.doc.querySelector(Gt):Gt;if(!Et)throw new n.\u0275RuntimeError(-5104,!1);return mt||(Et.textContent=""),Et}parentNode(Gt){return Gt.parentNode}nextSibling(Gt){return Gt.nextSibling}setAttribute(Gt,mt,Et,Xt){if(Xt){mt=Xt+":"+mt;const _n=S[Xt];_n?Gt.setAttributeNS(_n,mt,Et):Gt.setAttribute(mt,Et)}else Gt.setAttribute(mt,Et)}removeAttribute(Gt,mt,Et){if(Et){const Xt=S[Et];Xt?Gt.removeAttributeNS(Xt,mt):Gt.removeAttribute(`${Et}:${mt}`)}else Gt.removeAttribute(mt)}addClass(Gt,mt){Gt.classList.add(mt)}removeClass(Gt,mt){Gt.classList.remove(mt)}setStyle(Gt,mt,Et,Xt){Xt&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?Gt.style.setProperty(mt,Et,Xt&n.RendererStyleFlags2.Important?"important":""):Gt.style[mt]=Et}removeStyle(Gt,mt,Et){Et&n.RendererStyleFlags2.DashCase?Gt.style.removeProperty(mt):Gt.style[mt]=""}setProperty(Gt,mt,Et){null!=Gt&&(Gt[mt]=Et)}setValue(Gt,mt){Gt.nodeValue=mt}listen(Gt,mt,Et){if("string"==typeof Gt&&!(Gt=(0,o.\u0275getDOM)().getGlobalEventTarget(this.doc,Gt)))throw new Error(`Unsupported event target ${Gt} for event ${mt}`);return this.eventManager.addEventListener(Gt,mt,this.decoratePreventDefault(Et))}decoratePreventDefault(Gt){return mt=>{if("__ngUnwrap__"===mt)return Gt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>Gt(mt)):Gt(mt))&&mt.preventDefault()}}}function $(Mt){return"TEMPLATE"===Mt.tagName&&void 0!==Mt.content}class ee extends j{constructor(Gt,mt,Et,Xt,_n,En,qt,nr){super(Gt,_n,En,nr),this.sharedStylesHost=mt,this.hostEl=Et,this.shadowRoot=Et.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const kr=P(Xt.id,Xt.styles);for(const Br of kr){const sr=document.createElement("style");qt&&sr.setAttribute("nonce",qt),sr.textContent=Br,this.shadowRoot.appendChild(sr)}}nodeOrShadowRoot(Gt){return Gt===this.hostEl?this.shadowRoot:Gt}appendChild(Gt,mt){return super.appendChild(this.nodeOrShadowRoot(Gt),mt)}insertBefore(Gt,mt,Et){return super.insertBefore(this.nodeOrShadowRoot(Gt),mt,Et)}removeChild(Gt,mt){return super.removeChild(this.nodeOrShadowRoot(Gt),mt)}parentNode(Gt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(Gt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class le extends j{constructor(Gt,mt,Et,Xt,_n,En,qt,nr){super(Gt,_n,En,qt),this.sharedStylesHost=mt,this.removeStylesOnCompDestroy=Xt,this.styles=nr?P(nr,Et.styles):Et.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class se extends le{constructor(Gt,mt,Et,Xt,_n,En,qt,nr){const kr=Xt+"-"+Et.id;super(Gt,mt,Et,_n,En,qt,nr,kr),this.contentAttr=function F(Mt){return A.replace(v,Mt)}(kr),this.hostAttr=function T(Mt){return E.replace(v,Mt)}(kr)}applyToHost(Gt){this.applyStyles(),this.setAttribute(Gt,this.hostAttr,"")}createElement(Gt,mt){const Et=super.createElement(Gt,mt);return super.setAttribute(Et,this.contentAttr,""),Et}}let K=(()=>{class Mt extends b{constructor(mt){super(mt)}supports(mt){return!0}addEventListener(mt,Et,Xt){return mt.addEventListener(Et,Xt,!1),()=>this.removeEventListener(mt,Et,Xt)}removeEventListener(mt,Et,Xt){return mt.removeEventListener(Et,Xt)}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();const Q=["alt","control","meta","shift"],re={"\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"},X={alt:Mt=>Mt.altKey,control:Mt=>Mt.ctrlKey,meta:Mt=>Mt.metaKey,shift:Mt=>Mt.shiftKey};let z=(()=>{class Mt extends b{constructor(mt){super(mt)}supports(mt){return null!=Mt.parseEventName(mt)}addEventListener(mt,Et,Xt){const _n=Mt.parseEventName(Et),En=Mt.eventCallback(_n.fullKey,Xt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,o.\u0275getDOM)().onAndCancel(mt,_n.domEventName,En))}static parseEventName(mt){const Et=mt.toLowerCase().split("."),Xt=Et.shift();if(0===Et.length||"keydown"!==Xt&&"keyup"!==Xt)return null;const _n=Mt._normalizeKey(Et.pop());let En="",qt=Et.indexOf("code");if(qt>-1&&(Et.splice(qt,1),En="code."),Q.forEach(kr=>{const Br=Et.indexOf(kr);Br>-1&&(Et.splice(Br,1),En+=kr+".")}),En+=_n,0!=Et.length||0===_n.length)return null;const nr={};return nr.domEventName=Xt,nr.fullKey=En,nr}static matchEventFullKeyCode(mt,Et){let Xt=re[mt.key]||mt.key,_n="";return Et.indexOf("code.")>-1&&(Xt=mt.code,_n="code."),!(null==Xt||!Xt)&&(Xt=Xt.toLowerCase()," "===Xt?Xt="space":"."===Xt&&(Xt="dot"),Q.forEach(En=>{En!==Xt&&(0,X[En])(mt)&&(_n+=En+".")}),_n+=Xt,_n===Et)}static eventCallback(mt,Et,Xt){return _n=>{Mt.matchEventFullKeyCode(_n,mt)&&Xt.runGuarded(()=>Et(_n))}}static _normalizeKey(mt){return"esc"===mt?"escape":mt}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})();function Y(Mt,Gt){return(0,n.\u0275internalCreateApplication)({rootComponent:Mt,...de(Gt)})}function q(Mt){return(0,n.\u0275internalCreateApplication)(de(Mt))}function de(Mt){return{appProviders:[...et,...Mt?.providers??[]],platformProviders:ge}}function me(){return[...qe]}function Oe(){u.makeCurrent()}const ge=[{provide:n.PLATFORM_ID,useValue:o.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Oe,multi:!0},{provide:o.DOCUMENT,useFactory:function Ae(){return(0,n.\u0275setDocument)(document),document},deps:[]}],Ne=(0,n.createPlatformFactory)(n.platformCore,"browser",ge),it=new n.InjectionToken(""),qe=[{provide:n.\u0275TESTABILITY_GETTER,useClass:g,deps:[]},{provide:n.\u0275TESTABILITY,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]},{provide:n.Testability,useClass:n.Testability,deps:[n.NgZone,n.TestabilityRegistry,n.\u0275TESTABILITY_GETTER]}],et=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Re(){return new n.ErrorHandler},deps:[]},{provide:_,useClass:K,multi:!0,deps:[o.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:_,useClass:z,multi:!0,deps:[o.DOCUMENT]},I,f,C,{provide:n.RendererFactory2,useExisting:I},{provide:o.XhrFactory,useClass:y,deps:[]},[]];let De=(()=>{class Mt{constructor(mt){}static withServerTransition(mt){return{ngModule:Mt,providers:[{provide:n.APP_ID,useValue:mt.appId}]}}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(it,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Mt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...et,...qe],imports:[o.CommonModule,n.ApplicationModule]})}return Mt})(),je=(()=>{class Mt{constructor(mt){this._doc=mt,this._dom=(0,o.\u0275getDOM)()}addTag(mt,Et=!1){return mt?this._getOrCreateElement(mt,Et):null}addTags(mt,Et=!1){return mt?mt.reduce((Xt,_n)=>(_n&&Xt.push(this._getOrCreateElement(_n,Et)),Xt),[]):[]}getTag(mt){return mt&&this._doc.querySelector(`meta[${mt}]`)||null}getTags(mt){if(!mt)return[];const Et=this._doc.querySelectorAll(`meta[${mt}]`);return Et?[].slice.call(Et):[]}updateTag(mt,Et){if(!mt)return null;Et=Et||this._parseSelector(mt);const Xt=this.getTag(Et);return Xt?this._setMetaElementAttributes(mt,Xt):this._getOrCreateElement(mt,!0)}removeTag(mt){this.removeTagElement(this.getTag(mt))}removeTagElement(mt){mt&&this._dom.remove(mt)}_getOrCreateElement(mt,Et=!1){if(!Et){const En=this._parseSelector(mt),qt=this.getTags(En).filter(nr=>this._containsAttributes(mt,nr))[0];if(void 0!==qt)return qt}const Xt=this._dom.createElement("meta");return this._setMetaElementAttributes(mt,Xt),this._doc.getElementsByTagName("head")[0].appendChild(Xt),Xt}_setMetaElementAttributes(mt,Et){return Object.keys(mt).forEach(Xt=>Et.setAttribute(this._getMetaKeyMap(Xt),mt[Xt])),Et}_parseSelector(mt){const Et=mt.name?"name":"property";return`${Et}="${mt[Et]}"`}_containsAttributes(mt,Et){return Object.keys(mt).every(Xt=>Et.getAttribute(this._getMetaKeyMap(Xt))===mt[Xt])}_getMetaKeyMap(mt){return Ie[mt]||mt}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})();const Ie={httpEquiv:"http-equiv"};let bt=(()=>{class Mt{constructor(mt){this._doc=mt}getTitle(){return this._doc.title}setTitle(mt){this._doc.title=mt||""}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})();function Qe(Mt,Gt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[Mt]=Gt)}class Ut{constructor(Gt,mt){this.msPerTick=Gt,this.numTicks=mt}}class sn{constructor(Gt){this.appRef=Gt.injector.get(n.ApplicationRef)}timeChangeDetection(Gt){const mt=Gt&&Gt.record,Et="Change Detection";mt&&"profile"in console&&"function"==typeof console.profile&&console.profile(Et);const Xt=performance.now();let _n=0;for(;_n<5||performance.now()-Xt<500;)this.appRef.tick(),_n++;const En=performance.now();mt&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Et);const qt=(En-Xt)/_n;return console.log(`ran ${_n} change detection cycles`),console.log(`${qt.toFixed(2)} ms per check`),new Ut(qt,_n)}}const un="profiler";function Sn(Mt){return Qe(un,new sn(Mt)),Mt}function bn(){Qe(un,null)}class kt{static all(){return()=>!0}static css(Gt){return mt=>null!=mt.nativeElement&&function jt(Mt,Gt){return!!(0,o.\u0275getDOM)().isElementNode(Mt)&&(Mt.matches&&Mt.matches(Gt)||Mt.msMatchesSelector&&Mt.msMatchesSelector(Gt)||Mt.webkitMatchesSelector&&Mt.webkitMatchesSelector(Gt))}(mt.nativeElement,Gt)}static directive(Gt){return mt=>-1!==mt.providerTokens.indexOf(Gt)}}const Fe={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},Ee=new n.InjectionToken("HammerGestureConfig"),ye=new n.InjectionToken("HammerLoader");let Ce=(()=>{class Mt{constructor(){this.events=[],this.overrides={}}buildHammer(mt){const Et=new Hammer(mt,this.options);Et.get("pinch").set({enable:!0}),Et.get("rotate").set({enable:!0});for(const Xt in this.overrides)Et.get(Xt).set(this.overrides[Xt]);return Et}static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})(),Ge=(()=>{class Mt extends b{constructor(mt,Et,Xt,_n){super(mt),this._config=Et,this.console=Xt,this.loader=_n,this._loaderPromise=null}supports(mt){return!(!Fe.hasOwnProperty(mt.toLowerCase())&&!this.isCustomEvent(mt)||!window.Hammer&&!this.loader)}addEventListener(mt,Et,Xt){const _n=this.manager.getZone();if(Et=Et.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||_n.runOutsideAngular(()=>this.loader());let En=!1,qt=()=>{En=!0};return _n.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?En||(qt=this.addEventListener(mt,Et,Xt)):qt=()=>{}}).catch(()=>{qt=()=>{}})),()=>{qt()}}return _n.runOutsideAngular(()=>{const En=this._config.buildHammer(mt),qt=function(nr){_n.runGuarded(function(){Xt(nr)})};return En.on(Et,qt),()=>{En.off(Et,qt),"function"==typeof En.destroy&&En.destroy()}})}isCustomEvent(mt){return this._config.events.indexOf(mt)>-1}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT),n.\u0275\u0275inject(Ee),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(ye,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac})}return Mt})(),Je=(()=>{class Mt{static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Mt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:_,useClass:Ge,multi:!0,deps:[o.DOCUMENT,Ee,n.\u0275Console,[new n.Optional,ye]]},{provide:Ee,useClass:Ce,deps:[]}]})}return Mt})(),vt=(()=>{class Mt{static#e=this.\u0275fac=function(Et){return new(Et||Mt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:function(Et){let Xt=null;return Xt=Et?new(Et||Mt):n.\u0275\u0275inject(Bt),Xt},providedIn:"root"})}return Mt})(),Bt=(()=>{class Mt extends vt{constructor(mt){super(),this._doc=mt}sanitize(mt,Et){if(null==Et)return null;switch(mt){case n.SecurityContext.NONE:return Et;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(Et,"HTML")?(0,n.\u0275unwrapSafeValue)(Et):(0,n.\u0275_sanitizeHtml)(this._doc,String(Et)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(Et,"Style")?(0,n.\u0275unwrapSafeValue)(Et):Et;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(Et,"Script"))return(0,n.\u0275unwrapSafeValue)(Et);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(Et,"URL")?(0,n.\u0275unwrapSafeValue)(Et):(0,n.\u0275_sanitizeUrl)(String(Et));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(Et,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(Et);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(mt){return(0,n.\u0275bypassSanitizationTrustHtml)(mt)}bypassSecurityTrustStyle(mt){return(0,n.\u0275bypassSanitizationTrustStyle)(mt)}bypassSecurityTrustScript(mt){return(0,n.\u0275bypassSanitizationTrustScript)(mt)}bypassSecurityTrustUrl(mt){return(0,n.\u0275bypassSanitizationTrustUrl)(mt)}bypassSecurityTrustResourceUrl(mt){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(mt)}static#e=this.\u0275fac=function(Et){return new(Et||Mt)(n.\u0275\u0275inject(o.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Mt,factory:Mt.\u0275fac,providedIn:"root"})}return Mt})();var Zt=function(Mt){return Mt[Mt.NoHttpTransferCache=0]="NoHttpTransferCache",Mt[Mt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Mt}(Zt||{});function Rt(Mt,Gt=[],mt={}){return{\u0275kind:Mt,\u0275providers:Gt}}function Dt(){return Rt(Zt.NoHttpTransferCache)}function Ot(Mt){return Rt(Zt.HttpTransferCacheOptions,(0,d.\u0275withHttpTransferCache)(Mt))}function Vn(...Mt){const Gt=[],mt=new Set,Et=mt.has(Zt.HttpTransferCacheOptions);for(const{\u0275providers:Xt,\u0275kind:_n}of Mt)mt.add(_n),Xt.length&&Gt.push(Xt);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),mt.has(Zt.NoHttpTransferCache)||Et?[]:(0,d.\u0275withHttpTransferCache)({}),Gt])}const Yn=new n.Version("17.2.3"),er=n.makeStateKey,kn=n.TransferState},56568:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{ActivatedRoute:()=>ai,ActivatedRouteSnapshot:()=>ti,ActivationEnd:()=>ln,ActivationStart:()=>mn,BaseRouteReuseStrategy:()=>yr,ChildActivationEnd:()=>fn,ChildActivationStart:()=>dn,ChildrenOutletContexts:()=>Lr,DefaultTitleStrategy:()=>te,DefaultUrlSerializer:()=>Dt,EventType:()=>Hn,GuardsCheckEnd:()=>ot,GuardsCheckStart:()=>Te,NavigationCancel:()=>ae,NavigationCancellationCode:()=>H,NavigationEnd:()=>on,NavigationError:()=>Pe,NavigationSkipped:()=>He,NavigationSkippedCode:()=>W,NavigationStart:()=>Ei,NoPreloading:()=>el,OutletContext:()=>Nr,PRIMARY_OUTLET:()=>ge,PreloadAllModules:()=>Gl,PreloadingStrategy:()=>Ks,ROUTER_CONFIGURATION:()=>U,ROUTER_INITIALIZER:()=>No,ROUTES:()=>ce,ResolveEnd:()=>Ct,ResolveStart:()=>ht,RouteConfigLoadEnd:()=>Kt,RouteConfigLoadStart:()=>Lt,RouteReuseStrategy:()=>gr,Router:()=>fo,RouterEvent:()=>ur,RouterLink:()=>hi,RouterLinkActive:()=>ss,RouterLinkWithHref:()=>hi,RouterModule:()=>Xl,RouterOutlet:()=>go,RouterPreloader:()=>tl,RouterState:()=>$n,RouterStateSnapshot:()=>Zr,RoutesRecognized:()=>fe,Scroll:()=>Yt,TitleStrategy:()=>R,UrlHandlingStrategy:()=>J,UrlSegment:()=>Je,UrlSegmentGroup:()=>Ge,UrlSerializer:()=>Rt,UrlTree:()=>Ce,VERSION:()=>ms,convertToParamMap:()=>qe,createUrlTreeFromSnapshot:()=>Xn,defaultUrlMatcher:()=>et,mapToCanActivate:()=>Us,mapToCanActivateChild:()=>Ea,mapToCanDeactivate:()=>Nn,mapToCanMatch:()=>ql,mapToResolve:()=>ec,provideRouter:()=>fu,provideRoutes:()=>ls,withComponentInputBinding:()=>rl,withDebugTracing:()=>Ql,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>aa,withHashLocation:()=>ca,withInMemoryScrolling:()=>oa,withNavigationErrorHandler:()=>jd,withPreloading:()=>zo,withRouterConfig:()=>la,withViewTransitions:()=>Zl,\u0275EmptyOutletComponent:()=>yi,\u0275ROUTER_PROVIDERS:()=>ol,\u0275afterNextNavigation:()=>Ri,\u0275loadChildren:()=>ft});var n=i(54496),o=i(53252),d=i(38880),u=i(74496),e=i(82700),l=i(46700),c=i(56040),g=i(37696),y=i(7400),_=i(528);function C(oe=1/0){return(0,y.O)(_.Z,oe)}var p=i(59472);function f(...oe){return function b(){return C(1)}()((0,u.Q)(oe,(0,p.e_)(oe)))}var S=i(41424),v=i(83928);function M(oe,be){const ue=(0,d.m)(oe)?oe:()=>oe,Me=Ke=>Ke.error(ue());return new o._(be?Ke=>be.schedule(Me,0,Ke):Me)}var E=i(28960),A=i(46928),k=i(95448),N=i(87773);function F(){return(0,k.i)((oe,be)=>{let ue=null;oe._refCount++;const Me=(0,N.e)(be,void 0,void 0,void 0,()=>{if(!oe||oe._refCount<=0||0<--oe._refCount)return void(ue=null);const Ke=oe._connection,st=ue;ue=null,Ke&&(!st||Ke===st)&&Ke.unsubscribe(),be.unsubscribe()});oe.subscribe(Me),Me.closed||(ue=oe.connect())})}class T extends o._{constructor(be,ue){super(),this.source=be,this.subjectFactory=ue,this._subject=null,this._refCount=0,this._connection=null,(0,k.e)(be)&&(this.lift=be.lift)}_subscribe(be){return this.getSubject().subscribe(be)}getSubject(){const be=this._subject;return(!be||be.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:be}=this;this._subject=this._connection=null,be?.unsubscribe()}connect(){let be=this._connection;if(!be){be=this._connection=new A.wH;const ue=this.getSubject();be.add(this.source.subscribe((0,N.e)(ue,void 0,()=>{this._teardown(),ue.complete()},Me=>{this._teardown(),ue.error(Me)},()=>this._teardown()))),be.closed&&(this._connection=null,be=A.wH.EMPTY)}return be}refCount(){return F()(this)}}var P=i(95657),I=i(91368),j=i(54704),L=i(17368),B=i(3992),ee=i(66684),le=i(75084),se=i(26020),K=i(19212),Q=i(39144);var z=i(22156);function Y(oe){return oe<=0?()=>E.k:(0,k.i)((be,ue)=>{let Me=[];be.subscribe((0,N.e)(ue,Ke=>{Me.push(Ke),oe{for(const Ke of Me)ue.next(Ke);ue.complete()},void 0,()=>{Me=null}))})}var q=i(98124),me=i(32700),Oe=i(68824),Re=i(53616),Ae=i(14476);const ge="primary",Ne=Symbol("RouteTitle");class it{constructor(be){this.params=be||{}}has(be){return Object.prototype.hasOwnProperty.call(this.params,be)}get(be){if(this.has(be)){const ue=this.params[be];return Array.isArray(ue)?ue[0]:ue}return null}getAll(be){if(this.has(be)){const ue=this.params[be];return Array.isArray(ue)?ue:[ue]}return[]}get keys(){return Object.keys(this.params)}}function qe(oe){return new it(oe)}function et(oe,be,ue){const Me=ue.path.split("/");if(Me.length>oe.length||"full"===ue.pathMatch&&(be.hasChildren()||Me.lengthMe[st]===Ke)}return oe===be}function Qe(oe){return oe.length>0?oe[oe.length-1]:null}function Ut(oe){return function a(oe){return!!oe&&(oe instanceof o._||(0,d.m)(oe.lift)&&(0,d.m)(oe.subscribe))}(oe)?oe:(0,n.\u0275isPromise)(oe)?(0,u.Q)(Promise.resolve(oe)):(0,e.of)(oe)}const sn={exact:function kt(oe,be,ue){if(!Bt(oe.segments,be.segments)||!ye(oe.segments,be.segments,ue)||oe.numberOfChildren!==be.numberOfChildren)return!1;for(const Me in be.children)if(!oe.children[Me]||!kt(oe.children[Me],be.children[Me],ue))return!1;return!0},subset:Fe},un={exact:function bn(oe,be){return je(oe,be)},subset:function jt(oe,be){return Object.keys(be).length<=Object.keys(oe).length&&Object.keys(be).every(ue=>bt(oe[ue],be[ue]))},ignored:()=>!0};function Sn(oe,be,ue){return sn[ue.paths](oe.root,be.root,ue.matrixParams)&&un[ue.queryParams](oe.queryParams,be.queryParams)&&!("exact"===ue.fragment&&oe.fragment!==be.fragment)}function Fe(oe,be,ue){return Ee(oe,be,be.segments,ue)}function Ee(oe,be,ue,Me){if(oe.segments.length>ue.length){const Ke=oe.segments.slice(0,ue.length);return!(!Bt(Ke,ue)||be.hasChildren()||!ye(Ke,ue,Me))}if(oe.segments.length===ue.length){if(!Bt(oe.segments,ue)||!ye(oe.segments,ue,Me))return!1;for(const Ke in be.children)if(!oe.children[Ke]||!Fe(oe.children[Ke],be.children[Ke],Me))return!1;return!0}{const Ke=ue.slice(0,oe.segments.length),st=ue.slice(oe.segments.length);return!!(Bt(oe.segments,Ke)&&ye(oe.segments,Ke,Me)&&oe.children[ge])&&Ee(oe.children[ge],be,st,Me)}}function ye(oe,be,ue){return be.every((Me,Ke)=>un[ue](oe[Ke].parameters,Me.parameters))}class Ce{constructor(be=new Ge([],{}),ue={},Me=null){this.root=be,this.queryParams=ue,this.fragment=Me}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return Ot.serialize(this)}}class Ge{constructor(be,ue){this.segments=be,this.children=ue,this.parent=null,Object.values(ue).forEach(Me=>Me.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return pn(this)}}class Je{constructor(be,ue){this.path=be,this.parameters=ue}get parameterMap(){return this._parameterMap??=qe(this.parameters),this._parameterMap}toString(){return Et(this)}}function Bt(oe,be){return oe.length===be.length&&oe.every((ue,Me)=>ue.path===be[Me].path)}let Rt=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>new Dt,providedIn:"root"})}return oe})();class Dt{parse(be){const ue=new Jn(be);return new Ce(ue.parseRootSegment(),ue.parseQueryParams(),ue.parseFragment())}serialize(be){const ue=`/${Vn(be.root,!0)}`,Me=function _n(oe){const be=Object.entries(oe).map(([ue,Me])=>Array.isArray(Me)?Me.map(Ke=>`${er(ue)}=${er(Ke)}`).join("&"):`${er(ue)}=${er(Me)}`).filter(ue=>ue);return be.length?`?${be.join("&")}`:""}(be.queryParams);return`${ue}${Me}${"string"==typeof be.fragment?`#${function kn(oe){return encodeURI(oe)}(be.fragment)}`:""}`}}const Ot=new Dt;function pn(oe){return oe.segments.map(be=>Et(be)).join("/")}function Vn(oe,be){if(!oe.hasChildren())return pn(oe);if(be){const ue=oe.children[ge]?Vn(oe.children[ge],!1):"",Me=[];return Object.entries(oe.children).forEach(([Ke,st])=>{Ke!==ge&&Me.push(`${Ke}:${Vn(st,!1)}`)}),Me.length>0?`${ue}(${Me.join("//")})`:ue}{const ue=function Zt(oe,be){let ue=[];return Object.entries(oe.children).forEach(([Me,Ke])=>{Me===ge&&(ue=ue.concat(be(Ke,Me)))}),Object.entries(oe.children).forEach(([Me,Ke])=>{Me!==ge&&(ue=ue.concat(be(Ke,Me)))}),ue}(oe,(Me,Ke)=>Ke===ge?[Vn(oe.children[ge],!1)]:[`${Ke}:${Vn(Me,!1)}`]);return 1===Object.keys(oe.children).length&&null!=oe.children[ge]?`${pn(oe)}/${ue[0]}`:`${pn(oe)}/(${ue.join("//")})`}}function Yn(oe){return encodeURIComponent(oe).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function er(oe){return Yn(oe).replace(/%3B/gi,";")}function Mt(oe){return Yn(oe).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Gt(oe){return decodeURIComponent(oe)}function mt(oe){return Gt(oe.replace(/\+/g,"%20"))}function Et(oe){return`${Mt(oe.path)}${function Xt(oe){return Object.entries(oe).map(([be,ue])=>`;${Mt(be)}=${Mt(ue)}`).join("")}(oe.parameters)}`}const En=/^[^\/()?;#]+/;function qt(oe){const be=oe.match(En);return be?be[0]:""}const nr=/^[^\/()?;=#]+/,Br=/^[^=?&#]+/,Mr=/^[^&#]+/;class Jn{constructor(be){this.url=be,this.remaining=be}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ge([],{}):new Ge([],this.parseChildren())}parseQueryParams(){const be={};if(this.consumeOptional("?"))do{this.parseQueryParam(be)}while(this.consumeOptional("&"));return be}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const be=[];for(this.peekStartsWith("(")||be.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),be.push(this.parseSegment());let ue={};this.peekStartsWith("/(")&&(this.capture("/"),ue=this.parseParens(!0));let Me={};return this.peekStartsWith("(")&&(Me=this.parseParens(!1)),(be.length>0||Object.keys(ue).length>0)&&(Me[ge]=new Ge(be,ue)),Me}parseSegment(){const be=qt(this.remaining);if(""===be&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(be),new Je(Gt(be),this.parseMatrixParams())}parseMatrixParams(){const be={};for(;this.consumeOptional(";");)this.parseParam(be);return be}parseParam(be){const ue=function kr(oe){const be=oe.match(nr);return be?be[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Me="";if(this.consumeOptional("=")){const Ke=qt(this.remaining);Ke&&(Me=Ke,this.capture(Me))}be[Gt(ue)]=Gt(Me)}parseQueryParam(be){const ue=function sr(oe){const be=oe.match(Br);return be?be[0]:""}(this.remaining);if(!ue)return;this.capture(ue);let Me="";if(this.consumeOptional("=")){const At=function br(oe){const be=oe.match(Mr);return be?be[0]:""}(this.remaining);At&&(Me=At,this.capture(Me))}const Ke=mt(ue),st=mt(Me);if(be.hasOwnProperty(Ke)){let At=be[Ke];Array.isArray(At)||(At=[At],be[Ke]=At),At.push(st)}else be[Ke]=st}parseParens(be){const ue={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const Me=qt(this.remaining),Ke=this.remaining[Me.length];if("/"!==Ke&&")"!==Ke&&";"!==Ke)throw new n.\u0275RuntimeError(4010,!1);let st;Me.indexOf(":")>-1?(st=Me.slice(0,Me.indexOf(":")),this.capture(st),this.capture(":")):be&&(st=ge);const At=this.parseChildren();ue[st]=1===Object.keys(At).length?At[ge]:new Ge([],At),this.consumeOptional("//")}return ue}peekStartsWith(be){return this.remaining.startsWith(be)}consumeOptional(be){return!!this.peekStartsWith(be)&&(this.remaining=this.remaining.substring(be.length),!0)}capture(be){if(!this.consumeOptional(be))throw new n.\u0275RuntimeError(4011,!1)}}function xn(oe){return oe.segments.length>0?new Ge([],{[ge]:oe}):oe}function oi(oe){const be={};for(const[Me,Ke]of Object.entries(oe.children)){const st=oi(Ke);if(Me===ge&&0===st.segments.length&&st.hasChildren())for(const[At,cn]of Object.entries(st.children))be[At]=cn;else(st.segments.length>0||st.hasChildren())&&(be[Me]=st)}return function Sr(oe){if(1===oe.numberOfChildren&&oe.children[ge]){const be=oe.children[ge];return new Ge(oe.segments.concat(be.segments),be.children)}return oe}(new Ge(oe.segments,be))}function pr(oe){return oe instanceof Ce}function Xn(oe,be,ue=null,Me=null){return Or(qn(oe),be,ue,Me)}function qn(oe){let be;const Ke=xn(function ue(st){const At={};for(const nn of st.children){const Zn=ue(nn);At[nn.outlet]=Zn}const cn=new Ge(st.url,At);return st===oe&&(be=cn),cn}(oe.root));return be??Ke}function Or(oe,be,ue,Me){let Ke=oe;for(;Ke.parent;)Ke=Ke.parent;if(0===be.length)return Rn(Ke,Ke,Ke,ue,Me);const st=function ui(oe){if("string"==typeof oe[0]&&1===oe.length&&"/"===oe[0])return new or(!0,0,oe);let be=0,ue=!1;const Me=oe.reduce((Ke,st,At)=>{if("object"==typeof st&&null!=st){if(st.outlets){const cn={};return Object.entries(st.outlets).forEach(([nn,Zn])=>{cn[nn]="string"==typeof Zn?Zn.split("/"):Zn}),[...Ke,{outlets:cn}]}if(st.segmentPath)return[...Ke,st.segmentPath]}return"string"!=typeof st?[...Ke,st]:0===At?(st.split("/").forEach((cn,nn)=>{0==nn&&"."===cn||(0==nn&&""===cn?ue=!0:".."===cn?be++:""!=cn&&Ke.push(cn))}),Ke):[...Ke,st]},[]);return new or(ue,be,Me)}(be);if(st.toRoot())return Rn(Ke,Ke,new Ge([],{}),ue,Me);const At=function ct(oe,be,ue){if(oe.isAbsolute)return new Ir(be,!0,0);if(!ue)return new Ir(be,!1,NaN);if(null===ue.parent)return new Ir(ue,!0,0);const Me=pi(oe.commands[0])?0:1;return function Tt(oe,be,ue){let Me=oe,Ke=be,st=ue;for(;st>Ke;){if(st-=Ke,Me=Me.parent,!Me)throw new n.\u0275RuntimeError(4005,!1);Ke=Me.segments.length}return new Ir(Me,!1,Ke-st)}(ue,ue.segments.length-1+Me,oe.numberOfDoubleDots)}(st,Ke,oe),cn=At.processChildren?an(At.segmentGroup,At.index,st.commands):Jt(At.segmentGroup,At.index,st.commands);return Rn(Ke,At.segmentGroup,cn,ue,Me)}function pi(oe){return"object"==typeof oe&&null!=oe&&!oe.outlets&&!oe.segmentPath}function Qt(oe){return"object"==typeof oe&&null!=oe&&oe.outlets}function Rn(oe,be,ue,Me,Ke){let At,st={};Me&&Object.entries(Me).forEach(([nn,Zn])=>{st[nn]=Array.isArray(Zn)?Zn.map(xr=>`${xr}`):`${Zn}`}),At=oe===be?ue:Kn(oe,be,ue);const cn=xn(oi(At));return new Ce(cn,st,Ke)}function Kn(oe,be,ue){const Me={};return Object.entries(oe.children).forEach(([Ke,st])=>{Me[Ke]=st===be?ue:Kn(st,be,ue)}),new Ge(oe.segments,Me)}class or{constructor(be,ue,Me){if(this.isAbsolute=be,this.numberOfDoubleDots=ue,this.commands=Me,be&&Me.length>0&&pi(Me[0]))throw new n.\u0275RuntimeError(4003,!1);const Ke=Me.find(Qt);if(Ke&&Ke!==Qe(Me))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class Ir{constructor(be,ue,Me){this.segmentGroup=be,this.processChildren=ue,this.index=Me}}function Jt(oe,be,ue){if(oe??=new Ge([],{}),0===oe.segments.length&&oe.hasChildren())return an(oe,be,ue);const Me=function Cn(oe,be,ue){let Me=0,Ke=be;const st={match:!1,pathIndex:0,commandIndex:0};for(;Ke=ue.length)return st;const At=oe.segments[Ke],cn=ue[Me];if(Qt(cn))break;const nn=`${cn}`,Zn=Me0&&void 0===nn)break;if(nn&&Zn&&"object"==typeof Zn&&void 0===Zn.outlets){if(!Tr(nn,Zn,At))return st;Me+=2}else{if(!Tr(nn,{},At))return st;Me++}Ke++}return{match:!0,pathIndex:Ke,commandIndex:Me}}(oe,be,ue),Ke=ue.slice(Me.commandIndex);if(Me.match&&Me.pathIndexst!==ge)&&oe.children[ge]&&1===oe.numberOfChildren&&0===oe.children[ge].segments.length){const st=an(oe.children[ge],be,ue);return new Ge(oe.segments,st.children)}return Object.entries(Me).forEach(([st,At])=>{"string"==typeof At&&(At=[At]),null!==At&&(Ke[st]=Jt(oe.children[st],be,At))}),Object.entries(oe.children).forEach(([st,At])=>{void 0===Me[st]&&(Ke[st]=At)}),new Ge(oe.segments,Ke)}}function yn(oe,be,ue){const Me=oe.segments.slice(0,be);let Ke=0;for(;Ke{"string"==typeof Me&&(Me=[Me]),null!==Me&&(be[ue]=yn(new Ge([],{}),0,Me))}),be}function Un(oe){const be={};return Object.entries(oe).forEach(([ue,Me])=>be[ue]=`${Me}`),be}function Tr(oe,be,ue){return oe==ue.path&&je(be,ue.parameters)}const Er="imperative";var Hn=function(oe){return oe[oe.NavigationStart=0]="NavigationStart",oe[oe.NavigationEnd=1]="NavigationEnd",oe[oe.NavigationCancel=2]="NavigationCancel",oe[oe.NavigationError=3]="NavigationError",oe[oe.RoutesRecognized=4]="RoutesRecognized",oe[oe.ResolveStart=5]="ResolveStart",oe[oe.ResolveEnd=6]="ResolveEnd",oe[oe.GuardsCheckStart=7]="GuardsCheckStart",oe[oe.GuardsCheckEnd=8]="GuardsCheckEnd",oe[oe.RouteConfigLoadStart=9]="RouteConfigLoadStart",oe[oe.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",oe[oe.ChildActivationStart=11]="ChildActivationStart",oe[oe.ChildActivationEnd=12]="ChildActivationEnd",oe[oe.ActivationStart=13]="ActivationStart",oe[oe.ActivationEnd=14]="ActivationEnd",oe[oe.Scroll=15]="Scroll",oe[oe.NavigationSkipped=16]="NavigationSkipped",oe}(Hn||{});class ur{constructor(be,ue){this.id=be,this.url=ue}}class Ei extends ur{constructor(be,ue,Me="imperative",Ke=null){super(be,ue),this.type=Hn.NavigationStart,this.navigationTrigger=Me,this.restoredState=Ke}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class on extends ur{constructor(be,ue,Me){super(be,ue),this.urlAfterRedirects=Me,this.type=Hn.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var H=function(oe){return oe[oe.Redirect=0]="Redirect",oe[oe.SupersededByNewNavigation=1]="SupersededByNewNavigation",oe[oe.NoDataFromResolver=2]="NoDataFromResolver",oe[oe.GuardRejected=3]="GuardRejected",oe}(H||{}),W=function(oe){return oe[oe.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",oe[oe.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",oe}(W||{});class ae extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.reason=Me,this.code=Ke,this.type=Hn.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class He extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.reason=Me,this.code=Ke,this.type=Hn.NavigationSkipped}}class Pe extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.error=Me,this.target=Ke,this.type=Hn.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class fe extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Te extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ot extends ur{constructor(be,ue,Me,Ke,st){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.shouldActivate=st,this.type=Hn.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class ht extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Ct extends ur{constructor(be,ue,Me,Ke){super(be,ue),this.urlAfterRedirects=Me,this.state=Ke,this.type=Hn.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Lt{constructor(be){this.route=be,this.type=Hn.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Kt{constructor(be){this.route=be,this.type=Hn.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class dn{constructor(be){this.snapshot=be,this.type=Hn.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(be){this.snapshot=be,this.type=Hn.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class mn{constructor(be){this.snapshot=be,this.type=Hn.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ln{constructor(be){this.snapshot=be,this.type=Hn.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Yt{constructor(be,ue,Me){this.routerEvent=be,this.position=ue,this.anchor=Me,this.type=Hn.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class Ln{}class lr{constructor(be){this.url=be}}class Nr{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new Lr,this.attachRef=null}}let Lr=(()=>{class oe{constructor(){this.contexts=new Map}onChildOutletCreated(ue,Me){const Ke=this.getOrCreateContext(ue);Ke.outlet=Me,this.contexts.set(ue,Ke)}onChildOutletDestroyed(ue){const Me=this.getContext(ue);Me&&(Me.outlet=null,Me.attachRef=null)}onOutletDeactivated(){const ue=this.contexts;return this.contexts=new Map,ue}onOutletReAttached(ue){this.contexts=ue}getOrCreateContext(ue){let Me=this.getContext(ue);return Me||(Me=new Nr,this.contexts.set(ue,Me)),Me}getContext(ue){return this.contexts.get(ue)||null}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();class ut{constructor(be){this._root=be}get root(){return this._root.value}parent(be){const ue=this.pathFromRoot(be);return ue.length>1?ue[ue.length-2]:null}children(be){const ue=lo(be,this._root);return ue?ue.children.map(Me=>Me.value):[]}firstChild(be){const ue=lo(be,this._root);return ue&&ue.children.length>0?ue.children[0].value:null}siblings(be){const ue=vi(be,this._root);return ue.length<2?[]:ue[ue.length-2].children.map(Ke=>Ke.value).filter(Ke=>Ke!==be)}pathFromRoot(be){return vi(be,this._root).map(ue=>ue.value)}}function lo(oe,be){if(oe===be.value)return be;for(const ue of be.children){const Me=lo(oe,ue);if(Me)return Me}return null}function vi(oe,be){if(oe===be.value)return[be];for(const ue of be.children){const Me=vi(oe,ue);if(Me.length)return Me.unshift(be),Me}return[]}class _r{constructor(be,ue){this.value=be,this.children=ue}toString(){return`TreeNode(${this.value})`}}function wn(oe){const be={};return oe&&oe.children.forEach(ue=>be[ue.value.outlet]=ue),be}class $n extends ut{constructor(be,ue){super(be),this.snapshot=ue,Xr(this,be)}toString(){return this.snapshot.toString()}}function si(oe){const be=function Pr(oe){const st=new ti([],{},{},"",{},ge,oe,null,{});return new Zr("",new _r(st,[]))}(oe),ue=new l.g([new Je("",{})]),Me=new l.g({}),Ke=new l.g({}),st=new l.g({}),At=new l.g(""),cn=new ai(ue,Me,st,At,Ke,ge,oe,be.root);return cn.snapshot=be.root,new $n(new _r(cn,[]),be)}class ai{constructor(be,ue,Me,Ke,st,At,cn,nn){this.urlSubject=be,this.paramsSubject=ue,this.queryParamsSubject=Me,this.fragmentSubject=Ke,this.dataSubject=st,this.outlet=At,this.component=cn,this._futureSnapshot=nn,this.title=this.dataSubject?.pipe((0,j.k)(Zn=>Zn[Ne]))??(0,e.of)(void 0),this.url=be,this.params=ue,this.queryParams=Me,this.fragment=Ke,this.data=st}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,j.k)(be=>qe(be))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,j.k)(be=>qe(be))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function On(oe,be,ue="emptyOnly"){let Me;const{routeConfig:Ke}=oe;return Me=null===be||"always"!==ue&&""!==Ke?.path&&(be.component||be.routeConfig?.loadComponent)?{params:{...oe.params},data:{...oe.data},resolve:{...oe.data,...oe._resolvedData??{}}}:{params:{...be.params,...oe.params},data:{...be.data,...oe.data},resolve:{...oe.data,...be.data,...Ke?.data,...oe._resolvedData}},Ke&&ko(Ke)&&(Me.resolve[Ne]=Ke.title),Me}class ti{get title(){return this.data?.[Ne]}constructor(be,ue,Me,Ke,st,At,cn,nn,Zn){this.url=be,this.params=ue,this.queryParams=Me,this.fragment=Ke,this.data=st,this.outlet=At,this.component=cn,this.routeConfig=nn,this._resolve=Zn}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??=qe(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=qe(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(Me=>Me.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class Zr extends ut{constructor(be,ue){super(ue),this.url=be,Xr(this,ue)}toString(){return Vi(this._root)}}function Xr(oe,be){be.value._routerState=oe,be.children.forEach(ue=>Xr(oe,ue))}function Vi(oe){const be=oe.children.length>0?` { ${oe.children.map(Vi).join(", ")} } `:"";return`${oe.value}${be}`}function hr(oe){if(oe.snapshot){const be=oe.snapshot,ue=oe._futureSnapshot;oe.snapshot=ue,je(be.queryParams,ue.queryParams)||oe.queryParamsSubject.next(ue.queryParams),be.fragment!==ue.fragment&&oe.fragmentSubject.next(ue.fragment),je(be.params,ue.params)||oe.paramsSubject.next(ue.params),function De(oe,be){if(oe.length!==be.length)return!1;for(let ue=0;ueje(ue.parameters,be[Me].parameters))}(oe.url,be.url);return ue&&!(!oe.parent!=!be.parent)&&(!oe.parent||Yi(oe.parent,be.parent))}function ko(oe){return"string"==typeof oe.title||null===oe.title}let go=(()=>{class oe{constructor(){this.activated=null,this._activatedRoute=null,this.name=ge,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.attachEvents=new n.EventEmitter,this.detachEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(n.ViewContainerRef),this.changeDetector=(0,n.inject)(n.ChangeDetectorRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(zi,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(ue){if(ue.name){const{firstChange:Me,previousValue:Ke}=ue.name;if(Me)return;this.isTrackedInParentContexts(Ke)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ke)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(ue){return this.parentContexts.getContext(ue)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const ue=this.parentContexts.getContext(this.name);ue?.route&&(ue.attachRef?this.attach(ue.attachRef,ue.route):this.activateWith(ue.route,ue.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new n.\u0275RuntimeError(4012,!1);this.location.detach();const ue=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(ue.instance),ue}attach(ue,Me){this.activated=ue,this._activatedRoute=Me,this.location.insert(ue.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(ue.instance)}deactivate(){if(this.activated){const ue=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(ue)}}activateWith(ue,Me){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=ue;const Ke=this.location,At=ue.snapshot.component,cn=this.parentContexts.getOrCreateContext(this.name).children,nn=new Jr(ue,cn,Ke.injector);this.activated=Ke.createComponent(At,{index:Ke.length,injector:nn,environmentInjector:Me??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Jr{constructor(be,ue,Me){this.route=be,this.childContexts=ue,this.parent=Me}get(be,ue){return be===ai?this.route:be===Lr?this.childContexts:this.parent.get(be,ue)}}const zi=new n.InjectionToken("");let qi=(()=>{class oe{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(ue){this.unsubscribeFromRouteData(ue),this.subscribeToRouteData(ue)}unsubscribeFromRouteData(ue){this.outletDataSubscriptions.get(ue)?.unsubscribe(),this.outletDataSubscriptions.delete(ue)}subscribeToRouteData(ue){const{activatedRoute:Me}=ue,Ke=(0,c.E)([Me.queryParams,Me.params,Me.data]).pipe((0,L.G)(([st,At,cn],nn)=>(cn={...st,...At,...cn},0===nn?(0,e.of)(cn):Promise.resolve(cn)))).subscribe(st=>{if(!ue.isActivated||!ue.activatedComponentRef||ue.activatedRoute!==Me||null===Me.component)return void this.unsubscribeFromRouteData(ue);const At=(0,n.reflectComponentType)(Me.component);if(At)for(const{templateName:cn}of At.inputs)ue.activatedComponentRef.setInput(cn,st[cn]);else this.unsubscribeFromRouteData(ue)});this.outletDataSubscriptions.set(ue,Ke)}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function Rr(oe,be,ue){if(ue&&oe.shouldReuseRoute(be.value,ue.value.snapshot)){const Me=ue.value;Me._futureSnapshot=be.value;const Ke=function mo(oe,be,ue){return be.children.map(Me=>{for(const Ke of ue.children)if(oe.shouldReuseRoute(Me.value,Ke.value.snapshot))return Rr(oe,Me,Ke);return Rr(oe,Me)})}(oe,be,ue);return new _r(Me,Ke)}{if(oe.shouldAttach(be.value)){const st=oe.retrieve(be.value);if(null!==st){const At=st.route;return At.value._futureSnapshot=be.value,At.children=be.children.map(cn=>Rr(oe,cn)),At}}const Me=function _i(oe){return new ai(new l.g(oe.url),new l.g(oe.params),new l.g(oe.queryParams),new l.g(oe.fragment),new l.g(oe.data),oe.outlet,oe.component,oe)}(be.value),Ke=be.children.map(st=>Rr(oe,st));return new _r(Me,Ke)}}const xi="ngNavigationCancelingError";function qr(oe,be){const{redirectTo:ue,navigationBehaviorOptions:Me}=pr(be)?{redirectTo:be,navigationBehaviorOptions:void 0}:be,Ke=ar(!1,H.Redirect);return Ke.url=ue,Ke.navigationBehaviorOptions=Me,Ke}function ar(oe,be){const ue=new Error(`NavigationCancelingError: ${oe||""}`);return ue[xi]=!0,ue.cancellationCode=be,ue}function wi(oe){return!!oe&&oe[xi]}let yi=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:oe,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(Me,Ke){1&Me&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[go],encapsulation:2})}return oe})();function Li(oe){const be=oe.children&&oe.children.map(Li),ue=be?{...oe,children:be}:{...oe};return!ue.component&&!ue.loadComponent&&(be||ue.loadChildren)&&ue.outlet&&ue.outlet!==ge&&(ue.component=yi),ue}function Gi(oe){return oe.outlet||ge}function Co(oe){if(!oe)return null;if(oe.routeConfig?._injector)return oe.routeConfig._injector;for(let be=oe.parent;be;be=be.parent){const ue=be.routeConfig;if(ue?._loadedInjector)return ue._loadedInjector;if(ue?._injector)return ue._injector}return null}class bs{constructor(be,ue,Me,Ke,st){this.routeReuseStrategy=be,this.futureState=ue,this.currState=Me,this.forwardEvent=Ke,this.inputBindingEnabled=st}activate(be){const ue=this.futureState._root,Me=this.currState?this.currState._root:null;this.deactivateChildRoutes(ue,Me,be),hr(this.futureState.root),this.activateChildRoutes(ue,Me,be)}deactivateChildRoutes(be,ue,Me){const Ke=wn(ue);be.children.forEach(st=>{const At=st.value.outlet;this.deactivateRoutes(st,Ke[At],Me),delete Ke[At]}),Object.values(Ke).forEach(st=>{this.deactivateRouteAndItsChildren(st,Me)})}deactivateRoutes(be,ue,Me){const Ke=be.value,st=ue?ue.value:null;if(Ke===st)if(Ke.component){const At=Me.getContext(Ke.outlet);At&&this.deactivateChildRoutes(be,ue,At.children)}else this.deactivateChildRoutes(be,ue,Me);else st&&this.deactivateRouteAndItsChildren(ue,Me)}deactivateRouteAndItsChildren(be,ue){be.value.component&&this.routeReuseStrategy.shouldDetach(be.value.snapshot)?this.detachAndStoreRouteSubtree(be,ue):this.deactivateRouteAndOutlet(be,ue)}detachAndStoreRouteSubtree(be,ue){const Me=ue.getContext(be.value.outlet),Ke=Me&&be.value.component?Me.children:ue,st=wn(be);for(const At of Object.values(st))this.deactivateRouteAndItsChildren(At,Ke);if(Me&&Me.outlet){const At=Me.outlet.detach(),cn=Me.children.onOutletDeactivated();this.routeReuseStrategy.store(be.value.snapshot,{componentRef:At,route:be,contexts:cn})}}deactivateRouteAndOutlet(be,ue){const Me=ue.getContext(be.value.outlet),Ke=Me&&be.value.component?Me.children:ue,st=wn(be);for(const At of Object.values(st))this.deactivateRouteAndItsChildren(At,Ke);Me&&(Me.outlet&&(Me.outlet.deactivate(),Me.children.onOutletDeactivated()),Me.attachRef=null,Me.route=null)}activateChildRoutes(be,ue,Me){const Ke=wn(ue);be.children.forEach(st=>{this.activateRoutes(st,Ke[st.value.outlet],Me),this.forwardEvent(new ln(st.value.snapshot))}),be.children.length&&this.forwardEvent(new fn(be.value.snapshot))}activateRoutes(be,ue,Me){const Ke=be.value,st=ue?ue.value:null;if(hr(Ke),Ke===st)if(Ke.component){const At=Me.getOrCreateContext(Ke.outlet);this.activateChildRoutes(be,ue,At.children)}else this.activateChildRoutes(be,ue,Me);else if(Ke.component){const At=Me.getOrCreateContext(Ke.outlet);if(this.routeReuseStrategy.shouldAttach(Ke.snapshot)){const cn=this.routeReuseStrategy.retrieve(Ke.snapshot);this.routeReuseStrategy.store(Ke.snapshot,null),At.children.onOutletReAttached(cn.contexts),At.attachRef=cn.componentRef,At.route=cn.route.value,At.outlet&&At.outlet.attach(cn.componentRef,cn.route.value),hr(cn.route.value),this.activateChildRoutes(be,null,At.children)}else{const cn=Co(Ke.snapshot);At.attachRef=null,At.route=Ke,At.injector=cn,At.outlet&&At.outlet.activateWith(Ke,At.injector),this.activateChildRoutes(be,null,At.children)}}else this.activateChildRoutes(be,null,Me)}}class Go{constructor(be){this.path=be,this.route=this.path[this.path.length-1]}}class ns{constructor(be,ue){this.component=be,this.route=ue}}function rs(oe,be,ue){const Me=oe._root;return So(Me,be?be._root:null,ue,[Me.value])}function uo(oe,be){const ue=Symbol(),Me=be.get(oe,ue);return Me===ue?"function"!=typeof oe||(0,n.\u0275isInjectable)(oe)?be.get(oe):oe:Me}function So(oe,be,ue,Me,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const st=wn(be);return oe.children.forEach(At=>{(function cs(oe,be,ue,Me,Ke={canDeactivateChecks:[],canActivateChecks:[]}){const st=oe.value,At=be?be.value:null,cn=ue?ue.getContext(oe.value.outlet):null;if(At&&st.routeConfig===At.routeConfig){const nn=function co(oe,be,ue){if("function"==typeof ue)return ue(oe,be);switch(ue){case"pathParamsChange":return!Bt(oe.url,be.url);case"pathParamsOrQueryParamsChange":return!Bt(oe.url,be.url)||!je(oe.queryParams,be.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Yi(oe,be)||!je(oe.queryParams,be.queryParams);default:return!Yi(oe,be)}}(At,st,st.routeConfig.runGuardsAndResolvers);nn?Ke.canActivateChecks.push(new Go(Me)):(st.data=At.data,st._resolvedData=At._resolvedData),So(oe,be,st.component?cn?cn.children:null:ue,Me,Ke),nn&&cn&&cn.outlet&&cn.outlet.isActivated&&Ke.canDeactivateChecks.push(new ns(cn.outlet.component,At))}else At&&Fo(be,cn,Ke),Ke.canActivateChecks.push(new Go(Me)),So(oe,null,st.component?cn?cn.children:null:ue,Me,Ke)})(At,st[At.value.outlet],ue,Me.concat([At.value]),Ke),delete st[At.value.outlet]}),Object.entries(st).forEach(([At,cn])=>Fo(cn,ue.getContext(At),Ke)),Ke}function Fo(oe,be,ue){const Me=wn(oe),Ke=oe.value;Object.entries(Me).forEach(([st,At])=>{Fo(At,Ke.component?be?be.children.getContext(st):null:be,ue)}),ue.canDeactivateChecks.push(new ns(Ke.component&&be&&be.outlet&&be.outlet.isActivated?be.outlet.component:null,Ke))}function Do(oe){return"function"==typeof oe}function dt(oe){return oe instanceof g.G||"EmptyError"===oe?.name}const wt=Symbol("INITIAL_VALUE");function zn(){return(0,L.G)(oe=>(0,c.E)(oe.map(be=>be.pipe((0,B.U)(1),function $(...oe){const be=(0,p.e_)(oe);return(0,k.i)((ue,Me)=>{(be?f(oe,ue,be):f(oe,ue)).subscribe(Me)})}(wt)))).pipe((0,j.k)(be=>{for(const ue of be)if(!0!==ue){if(ue===wt)return wt;if(!1===ue||ue instanceof Ce)return ue}return!0}),(0,ee.I)(be=>be!==wt),(0,B.U)(1)))}function Xo(oe){return(0,v.W)((0,K.y)(be=>{if(pr(be))throw qr(0,be)}),(0,j.k)(be=>!0===be))}class _o{constructor(be){this.segmentGroup=be||null}}class Di extends Error{constructor(be){super(),this.urlTree=be}}function To(oe){return M(new _o(oe))}class fs{constructor(be,ue){this.urlSerializer=be,this.urlTree=ue}lineralizeSegments(be,ue){let Me=[],Ke=ue.root;for(;;){if(Me=Me.concat(Ke.segments),0===Ke.numberOfChildren)return(0,e.of)(Me);if(Ke.numberOfChildren>1||!Ke.children[ge])return M(new n.\u0275RuntimeError(4e3,!1));Ke=Ke.children[ge]}}applyRedirectCommands(be,ue,Me){const Ke=this.applyRedirectCreateUrlTree(ue,this.urlSerializer.parse(ue),be,Me);if(ue.startsWith("/"))throw new Di(Ke);return Ke}applyRedirectCreateUrlTree(be,ue,Me,Ke){const st=this.createSegmentGroup(be,ue.root,Me,Ke);return new Ce(st,this.createQueryParams(ue.queryParams,this.urlTree.queryParams),ue.fragment)}createQueryParams(be,ue){const Me={};return Object.entries(be).forEach(([Ke,st])=>{if("string"==typeof st&&st.startsWith(":")){const cn=st.substring(1);Me[Ke]=ue[cn]}else Me[Ke]=st}),Me}createSegmentGroup(be,ue,Me,Ke){const st=this.createSegments(be,ue.segments,Me,Ke);let At={};return Object.entries(ue.children).forEach(([cn,nn])=>{At[cn]=this.createSegmentGroup(be,nn,Me,Ke)}),new Ge(st,At)}createSegments(be,ue,Me,Ke){return ue.map(st=>st.path.startsWith(":")?this.findPosParam(be,st,Ke):this.findOrReturn(st,Me))}findPosParam(be,ue,Me){const Ke=Me[ue.path.substring(1)];if(!Ke)throw new n.\u0275RuntimeError(4001,!1);return Ke}findOrReturn(be,ue){let Me=0;for(const Ke of ue){if(Ke.path===be.path)return ue.splice(Me),Ke;Me++}return be}}const rt={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ne(oe,be,ue,Me,Ke){const st=pe(oe,be,ue);return st.matched?(Me=function Eo(oe,be){return oe.providers&&!oe._injector&&(oe._injector=(0,n.createEnvironmentInjector)(oe.providers,be,`Route: ${oe.path}`)),oe._injector??be}(be,Me),function xo(oe,be,ue,Me){const Ke=be.canMatch;if(!Ke||0===Ke.length)return(0,e.of)(!0);const st=Ke.map(At=>{const cn=uo(At,oe);return Ut(function ke(oe){return oe&&Do(oe.canMatch)}(cn)?cn.canMatch(be,ue):(0,n.runInInjectionContext)(oe,()=>cn(be,ue)))});return(0,e.of)(st).pipe(zn(),Xo())}(Me,be,ue).pipe((0,j.k)(At=>!0===At?st:{...rt}))):(0,e.of)(st)}function pe(oe,be,ue){if("**"===be.path)return function Be(oe){return{matched:!0,parameters:oe.length>0?Qe(oe).parameters:{},consumedSegments:oe,remainingSegments:[],positionalParamSegments:{}}}(ue);if(""===be.path)return"full"===be.pathMatch&&(oe.hasChildren()||ue.length>0)?{...rt}:{matched:!0,consumedSegments:[],remainingSegments:ue,parameters:{},positionalParamSegments:{}};const Ke=(be.matcher||et)(ue,oe,be);if(!Ke)return{...rt};const st={};Object.entries(Ke.posParams??{}).forEach(([cn,nn])=>{st[cn]=nn.path});const At=Ke.consumed.length>0?{...st,...Ke.consumed[Ke.consumed.length-1].parameters}:st;return{matched:!0,consumedSegments:Ke.consumed,remainingSegments:ue.slice(Ke.consumed.length),parameters:At,positionalParamSegments:Ke.posParams??{}}}function nt(oe,be,ue,Me){return ue.length>0&&function Nt(oe,be,ue){return ue.some(Me=>gn(oe,be,Me)&&Gi(Me)!==ge)}(oe,ue,Me)?{segmentGroup:new Ge(be,It(Me,new Ge(ue,oe.children))),slicedSegments:[]}:0===ue.length&&function Vt(oe,be,ue){return ue.some(Me=>gn(oe,be,Me))}(oe,ue,Me)?{segmentGroup:new Ge(oe.segments,yt(oe,ue,Me,oe.children)),slicedSegments:ue}:{segmentGroup:new Ge(oe.segments,oe.children),slicedSegments:ue}}function yt(oe,be,ue,Me){const Ke={};for(const st of ue)if(gn(oe,be,st)&&!Me[Gi(st)]){const At=new Ge([],{});Ke[Gi(st)]=At}return{...Me,...Ke}}function It(oe,be){const ue={};ue[ge]=be;for(const Me of oe)if(""===Me.path&&Gi(Me)!==ge){const Ke=new Ge([],{});ue[Gi(Me)]=Ke}return ue}function gn(oe,be,ue){return(!(oe.hasChildren()||be.length>0)||"full"!==ue.pathMatch)&&""===ue.path}class Wr{}class vr{constructor(be,ue,Me,Ke,st,At,cn){this.injector=be,this.configLoader=ue,this.rootComponentType=Me,this.config=Ke,this.urlTree=st,this.paramsInheritanceStrategy=At,this.urlSerializer=cn,this.applyRedirects=new fs(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(be){return new n.\u0275RuntimeError(4002,`'${be.segmentGroup}'`)}recognize(){const be=nt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(be).pipe((0,j.k)(ue=>{const Me=new ti([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},ge,this.rootComponentType,null,{}),Ke=new _r(Me,ue),st=new Zr("",Ke),At=Xn(Me,[],this.urlTree.queryParams,this.urlTree.fragment);return At.queryParams=this.urlTree.queryParams,st.url=this.urlSerializer.serialize(At),this.inheritParamsAndData(st._root,null),{state:st,tree:At}}))}match(be){return this.processSegmentGroup(this.injector,this.config,be,ge).pipe((0,Q.a)(Me=>{if(Me instanceof Di)return this.urlTree=Me.urlTree,this.match(Me.urlTree.root);throw Me instanceof _o?this.noMatchError(Me):Me}))}inheritParamsAndData(be,ue){const Me=be.value,Ke=On(Me,ue,this.paramsInheritanceStrategy);Me.params=Object.freeze(Ke.params),Me.data=Object.freeze(Ke.data),be.children.forEach(st=>this.inheritParamsAndData(st,Me))}processSegmentGroup(be,ue,Me,Ke){return 0===Me.segments.length&&Me.hasChildren()?this.processChildren(be,ue,Me):this.processSegment(be,ue,Me,Me.segments,Ke,!0).pipe((0,j.k)(st=>st instanceof _r?[st]:[]))}processChildren(be,ue,Me){const Ke=[];for(const st of Object.keys(Me.children))"primary"===st?Ke.unshift(st):Ke.push(st);return(0,u.Q)(Ke).pipe((0,se.m)(st=>{const At=Me.children[st],cn=function $o(oe,be){const ue=oe.filter(Me=>Gi(Me)===be);return ue.push(...oe.filter(Me=>Gi(Me)!==be)),ue}(ue,st);return this.processSegmentGroup(be,cn,At,st)}),function X(oe,be){return(0,k.i)(function re(oe,be,ue,Me,Ke){return(st,At)=>{let cn=ue,nn=be,Zn=0;st.subscribe((0,N.e)(At,xr=>{const di=Zn++;nn=cn?oe(nn,xr,di):(cn=!0,xr),Me&&At.next(nn)},Ke&&(()=>{cn&&At.next(nn),At.complete()})))}}(oe,be,arguments.length>=2,!0))}((st,At)=>(st.push(...At),st)),(0,z.G)(null),function de(oe,be){const ue=arguments.length>=2;return Me=>Me.pipe(oe?(0,ee.I)((Ke,st)=>oe(Ke,st,Me)):_.Z,Y(1),ue?(0,z.G)(be):(0,q._)(()=>new g.G))}(),(0,y.O)(st=>{if(null===st)return To(Me);const At=ji(st);return function mi(oe){oe.sort((be,ue)=>be.value.outlet===ge?-1:ue.value.outlet===ge?1:be.value.outlet.localeCompare(ue.value.outlet))}(At),(0,e.of)(At)}))}processSegment(be,ue,Me,Ke,st,At){return(0,u.Q)(ue).pipe((0,se.m)(cn=>this.processSegmentAgainstRoute(cn._injector??be,ue,cn,Me,Ke,st,At).pipe((0,Q.a)(nn=>{if(nn instanceof _o)return(0,e.of)(null);throw nn}))),(0,le.K)(cn=>!!cn),(0,Q.a)(cn=>{if(dt(cn))return function Gn(oe,be,ue){return 0===be.length&&!oe.children[ue]}(Me,Ke,st)?(0,e.of)(new Wr):To(Me);throw cn}))}processSegmentAgainstRoute(be,ue,Me,Ke,st,At,cn){return function Wn(oe,be,ue,Me){return!!(Gi(oe)===Me||Me!==ge&&gn(be,ue,oe))&&pe(be,oe,ue).matched}(Me,Ke,st,At)?void 0===Me.redirectTo?this.matchSegmentAgainstRoute(be,Ke,Me,st,At):this.allowRedirects&&cn?this.expandSegmentAgainstRouteUsingRedirect(be,Ke,ue,Me,st,At):To(Ke):To(Ke)}expandSegmentAgainstRouteUsingRedirect(be,ue,Me,Ke,st,At){const{matched:cn,consumedSegments:nn,positionalParamSegments:Zn,remainingSegments:xr}=pe(ue,Ke,st);if(!cn)return To(ue);Ke.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const di=this.applyRedirects.applyRedirectCommands(nn,Ke.redirectTo,Zn);return this.applyRedirects.lineralizeSegments(Ke,di).pipe((0,y.O)(vo=>this.processSegment(be,Me,ue,vo.concat(xr),At,!1)))}matchSegmentAgainstRoute(be,ue,Me,Ke,st){const At=ne(ue,Me,Ke,be);return"**"===Me.path&&(ue.children={}),At.pipe((0,L.G)(cn=>cn.matched?this.getChildConfig(be=Me._injector??be,Me,Ke).pipe((0,L.G)(({routes:nn})=>{const Zn=Me._loadedInjector??be,{consumedSegments:xr,remainingSegments:di,parameters:vo}=cn,da=new ti(xr,vo,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ji(oe){return oe.data||{}}(Me),Gi(Me),Me.component??Me._loadedComponent??null,Me,function vn(oe){return oe.resolve||{}}(Me)),{segmentGroup:Hs,slicedSegments:ha}=nt(ue,xr,di,nn);if(0===ha.length&&Hs.hasChildren())return this.processChildren(Zn,nn,Hs).pipe((0,j.k)(Dr=>null===Dr?null:new _r(da,Dr)));if(0===nn.length&&0===ha.length)return(0,e.of)(new _r(da,[]));const to=Gi(Me)===st;return this.processSegment(Zn,nn,Hs,ha,to?ge:st,!0).pipe((0,j.k)(Dr=>new _r(da,Dr instanceof _r?[Dr]:[])))})):To(ue)))}getChildConfig(be,ue,Me){return ue.children?(0,e.of)({routes:ue.children,injector:be}):ue.loadChildren?void 0!==ue._loadedRoutes?(0,e.of)({routes:ue._loadedRoutes,injector:ue._loadedInjector}):function Xi(oe,be,ue,Me){const Ke=be.canLoad;if(void 0===Ke||0===Ke.length)return(0,e.of)(!0);const st=Ke.map(At=>{const cn=uo(At,oe);return Ut(function hs(oe){return oe&&Do(oe.canLoad)}(cn)?cn.canLoad(be,ue):(0,n.runInInjectionContext)(oe,()=>cn(be,ue)))});return(0,e.of)(st).pipe(zn(),Xo())}(be,ue,Me).pipe((0,y.O)(Ke=>Ke?this.configLoader.loadChildren(be,ue).pipe((0,K.y)(st=>{ue._loadedRoutes=st.routes,ue._loadedInjector=st.injector})):function io(oe){return M(ar(!1,H.GuardRejected))}())):(0,e.of)({routes:[],injector:be})}}function Ai(oe){const be=oe.value.routeConfig;return be&&""===be.path}function ji(oe){const be=[],ue=new Set;for(const Me of oe){if(!Ai(Me)){be.push(Me);continue}const Ke=be.find(st=>Me.value.routeConfig===st.value.routeConfig);void 0!==Ke?(Ke.children.push(...Me.children),ue.add(Ke)):be.push(Me)}for(const Me of ue){const Ke=ji(Me.children);be.push(new _r(Me.value,Ke))}return be.filter(Me=>!ue.has(Me))}function Pi(oe){const be=oe.children.map(ue=>Pi(ue)).flat();return[oe,...be]}function at(oe){return(0,L.G)(be=>{const ue=oe(be);return ue?(0,u.Q)(ue).pipe((0,j.k)(()=>be)):(0,e.of)(be)})}let R=(()=>{class oe{buildTitle(ue){let Me,Ke=ue.root;for(;void 0!==Ke;)Me=this.getResolvedTitleForRoute(Ke)??Me,Ke=Ke.children.find(st=>st.outlet===ge);return Me}getResolvedTitleForRoute(ue){return ue.data[Ne]}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(te),providedIn:"root"})}return oe})(),te=(()=>{class oe extends R{constructor(ue){super(),this.title=ue}updateTitle(ue){const Me=this.buildTitle(ue);void 0!==Me&&this.title.setTitle(Me)}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275inject(Ae.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const U=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),ce=new n.InjectionToken("");let Le=(()=>{class oe{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(ue){if(this.componentLoaders.get(ue))return this.componentLoaders.get(ue);if(ue._loadedComponent)return(0,e.of)(ue._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(ue);const Me=Ut(ue.loadComponent()).pipe((0,j.k)(rn),(0,K.y)(st=>{this.onLoadEndListener&&this.onLoadEndListener(ue),ue._loadedComponent=st}),(0,Oe.U)(()=>{this.componentLoaders.delete(ue)})),Ke=new T(Me,()=>new P.E).pipe(F());return this.componentLoaders.set(ue,Ke),Ke}loadChildren(ue,Me){if(this.childrenLoaders.get(Me))return this.childrenLoaders.get(Me);if(Me._loadedRoutes)return(0,e.of)({routes:Me._loadedRoutes,injector:Me._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(Me);const st=ft(Me,this.compiler,ue,this.onLoadEndListener).pipe((0,Oe.U)(()=>{this.childrenLoaders.delete(Me)})),At=new T(st,()=>new P.E).pipe(F());return this.childrenLoaders.set(Me,At),At}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function ft(oe,be,ue,Me){return Ut(oe.loadChildren()).pipe((0,j.k)(rn),(0,y.O)(Ke=>Ke instanceof n.NgModuleFactory||Array.isArray(Ke)?(0,e.of)(Ke):(0,u.Q)(be.compileModuleAsync(Ke))),(0,j.k)(Ke=>{Me&&Me(oe);let st,At;return Array.isArray(Ke)?At=Ke:(st=Ke.create(ue).injector,At=st.get(ce,[],{optional:!0,self:!0}).flat()),{routes:At.map(Li),injector:st}}))}function rn(oe){return function xt(oe){return oe&&"object"==typeof oe&&"default"in oe}(oe)?oe.default:oe}let J=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(ze),providedIn:"root"})}return oe})(),ze=(()=>{class oe{shouldProcessUrl(ue){return!0}extract(ue){return ue}merge(ue,Me){return ue}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Se=new n.InjectionToken(""),Ue=new n.InjectionToken("");function _t(oe,be,ue){const Me=oe.get(Ue),Ke=oe.get(I.DOCUMENT);return oe.get(n.NgZone).runOutsideAngular(()=>{if(!Ke.startViewTransition||Me.skipNextTransition)return Me.skipNextTransition=!1,Promise.resolve();let st;const At=new Promise(Zn=>{st=Zn}),cn=Ke.startViewTransition(()=>(st(),function $t(oe){return new Promise(be=>{(0,n.afterNextRender)(be,{injector:oe})})}(oe))),{onViewTransitionCreated:nn}=Me;return nn&&(0,n.runInInjectionContext)(oe,()=>nn({transition:cn,from:be,to:ue})),At})}let tn=(()=>{class oe{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new P.E,this.transitionAbortSubject=new P.E,this.configLoader=(0,n.inject)(Le),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(Rt),this.rootContexts=(0,n.inject)(Lr),this.location=(0,n.inject)(I.Location),this.inputBindingEnabled=null!==(0,n.inject)(zi,{optional:!0}),this.titleStrategy=(0,n.inject)(R),this.options=(0,n.inject)(U,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(J),this.createViewTransition=(0,n.inject)(Se,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ke=>this.events.next(new Kt(Ke)),this.configLoader.onLoadStartListener=Ke=>this.events.next(new Lt(Ke))}complete(){this.transitions?.complete()}handleNavigationRequest(ue){const Me=++this.navigationId;this.transitions?.next({...this.transitions.value,...ue,id:Me})}setupNavigations(ue,Me,Ke){return this.transitions=new l.g({id:0,currentUrlTree:Me,currentRawUrl:Me,extractedUrl:this.urlHandlingStrategy.extract(Me),urlAfterRedirects:this.urlHandlingStrategy.extract(Me),rawUrl:Me,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Er,restoredState:null,currentSnapshot:Ke.snapshot,targetSnapshot:null,currentRouterState:Ke,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ee.I)(st=>0!==st.id),(0,j.k)(st=>({...st,extractedUrl:this.urlHandlingStrategy.extract(st.rawUrl)})),(0,L.G)(st=>{this.currentTransition=st;let At=!1,cn=!1;return(0,e.of)(st).pipe((0,K.y)(nn=>{this.currentNavigation={id:nn.id,initialUrl:nn.rawUrl,extractedUrl:nn.extractedUrl,trigger:nn.source,extras:nn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,L.G)(nn=>{const Zn=!ue.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!Zn&&"reload"!==(nn.extras.onSameUrlNavigation??ue.onSameUrlNavigation)){const di="";return this.events.next(new He(nn.id,this.urlSerializer.serialize(nn.rawUrl),di,W.IgnoredSameUrlNavigation)),nn.resolve(null),E.k}if(this.urlHandlingStrategy.shouldProcessUrl(nn.rawUrl))return(0,e.of)(nn).pipe((0,L.G)(di=>{const vo=this.transitions?.getValue();return this.events.next(new Ei(di.id,this.urlSerializer.serialize(di.extractedUrl),di.source,di.restoredState)),vo!==this.transitions?.getValue()?E.k:Promise.resolve(di)}),function wr(oe,be,ue,Me,Ke,st){return(0,y.O)(At=>function fr(oe,be,ue,Me,Ke,st,At="emptyOnly"){return new vr(oe,be,ue,Me,Ke,At,st).recognize()}(oe,be,ue,Me,At.extractedUrl,Ke,st).pipe((0,j.k)(({state:cn,tree:nn})=>({...At,targetSnapshot:cn,urlAfterRedirects:nn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,ue.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,K.y)(di=>{st.targetSnapshot=di.targetSnapshot,st.urlAfterRedirects=di.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:di.urlAfterRedirects};const vo=new fe(di.id,this.urlSerializer.serialize(di.extractedUrl),this.urlSerializer.serialize(di.urlAfterRedirects),di.targetSnapshot);this.events.next(vo)}));if(Zn&&this.urlHandlingStrategy.shouldProcessUrl(nn.currentRawUrl)){const{id:di,extractedUrl:vo,source:da,restoredState:Hs,extras:ha}=nn,to=new Ei(di,this.urlSerializer.serialize(vo),da,Hs);this.events.next(to);const Dr=si(this.rootComponentType).snapshot;return this.currentTransition=st={...nn,targetSnapshot:Dr,urlAfterRedirects:vo,extras:{...ha,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=vo,(0,e.of)(st)}{const di="";return this.events.next(new He(nn.id,this.urlSerializer.serialize(nn.extractedUrl),di,W.IgnoredByUrlHandlingStrategy)),nn.resolve(null),E.k}}),(0,K.y)(nn=>{const Zn=new Te(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects),nn.targetSnapshot);this.events.next(Zn)}),(0,j.k)(nn=>(this.currentTransition=st={...nn,guards:rs(nn.targetSnapshot,nn.currentSnapshot,this.rootContexts)},st)),function Bn(oe,be){return(0,y.O)(ue=>{const{targetSnapshot:Me,currentSnapshot:Ke,guards:{canActivateChecks:st,canDeactivateChecks:At}}=ue;return 0===At.length&&0===st.length?(0,e.of)({...ue,guardsResult:!0}):function Wi(oe,be,ue,Me){return(0,u.Q)(oe).pipe((0,y.O)(Ke=>function is(oe,be,ue,Me,Ke){const st=be&&be.routeConfig?be.routeConfig.canDeactivate:null;if(!st||0===st.length)return(0,e.of)(!0);const At=st.map(cn=>{const nn=Co(be)??Ke,Zn=uo(cn,nn);return Ut(function Xe(oe){return oe&&Do(oe.canDeactivate)}(Zn)?Zn.canDeactivate(oe,be,ue,Me):(0,n.runInInjectionContext)(nn,()=>Zn(oe,be,ue,Me))).pipe((0,le.K)())});return(0,e.of)(At).pipe(zn())}(Ke.component,Ke.route,ue,be,Me)),(0,le.K)(Ke=>!0!==Ke,!0))}(At,Me,Ke,oe).pipe((0,y.O)(cn=>cn&&function Ko(oe){return"boolean"==typeof oe}(cn)?function Mo(oe,be,ue,Me){return(0,u.Q)(be).pipe((0,se.m)(Ke=>f(function ho(oe,be){return null!==oe&&be&&be(new dn(oe)),(0,e.of)(!0)}(Ke.route.parent,Me),function Ao(oe,be){return null!==oe&&be&&be(new mn(oe)),(0,e.of)(!0)}(Ke.route,Me),function Zo(oe,be,ue){const Me=be[be.length-1],st=be.slice(0,be.length-1).reverse().map(At=>function Ki(oe){const be=oe.routeConfig?oe.routeConfig.canActivateChild:null;return be&&0!==be.length?{node:oe,guards:be}:null}(At)).filter(At=>null!==At).map(At=>(0,S.Q)(()=>{const cn=At.guards.map(nn=>{const Zn=Co(At.node)??ue,xr=uo(nn,Zn);return Ut(function We(oe){return oe&&Do(oe.canActivateChild)}(xr)?xr.canActivateChild(Me,oe):(0,n.runInInjectionContext)(Zn,()=>xr(Me,oe))).pipe((0,le.K)())});return(0,e.of)(cn).pipe(zn())}));return(0,e.of)(st).pipe(zn())}(oe,Ke.path,ue),function Ur(oe,be,ue){const Me=be.routeConfig?be.routeConfig.canActivate:null;if(!Me||0===Me.length)return(0,e.of)(!0);const Ke=Me.map(st=>(0,S.Q)(()=>{const At=Co(be)??ue,cn=uo(st,At);return Ut(function Qo(oe){return oe&&Do(oe.canActivate)}(cn)?cn.canActivate(be,oe):(0,n.runInInjectionContext)(At,()=>cn(be,oe))).pipe((0,le.K)())}));return(0,e.of)(Ke).pipe(zn())}(oe,Ke.route,ue))),(0,le.K)(Ke=>!0!==Ke,!0))}(Me,st,oe,be):(0,e.of)(cn)),(0,j.k)(cn=>({...ue,guardsResult:cn})))})}(this.environmentInjector,nn=>this.events.next(nn)),(0,K.y)(nn=>{if(st.guardsResult=nn.guardsResult,pr(nn.guardsResult))throw qr(0,nn.guardsResult);const Zn=new ot(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects),nn.targetSnapshot,!!nn.guardsResult);this.events.next(Zn)}),(0,ee.I)(nn=>!!nn.guardsResult||(this.cancelNavigationTransition(nn,"",H.GuardRejected),!1)),at(nn=>{if(nn.guards.canActivateChecks.length)return(0,e.of)(nn).pipe((0,K.y)(Zn=>{const xr=new ht(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(xr)}),(0,L.G)(Zn=>{let xr=!1;return(0,e.of)(Zn).pipe(function Qi(oe,be){return(0,y.O)(ue=>{const{targetSnapshot:Me,guards:{canActivateChecks:Ke}}=ue;if(!Ke.length)return(0,e.of)(ue);const st=new Set(Ke.map(nn=>nn.route)),At=new Set;for(const nn of st)if(!At.has(nn))for(const Zn of Pi(nn))At.add(Zn);let cn=0;return(0,u.Q)(At).pipe((0,se.m)(nn=>st.has(nn)?function ei(oe,be,ue,Me){const Ke=oe.routeConfig,st=oe._resolve;return void 0!==Ke?.title&&!ko(Ke)&&(st[Ne]=Ke.title),function oo(oe,be,ue,Me){const Ke=Ie(oe);if(0===Ke.length)return(0,e.of)({});const st={};return(0,u.Q)(Ke).pipe((0,y.O)(At=>function Ye(oe,be,ue,Me){const Ke=Co(be)??Me,st=uo(oe,Ke);return Ut(st.resolve?st.resolve(be,ue):(0,n.runInInjectionContext)(Ke,()=>st(be,ue)))}(oe[At],be,ue,Me).pipe((0,le.K)(),(0,K.y)(cn=>{st[At]=cn}))),Y(1),(0,me.e)(st),(0,Q.a)(At=>dt(At)?E.k:M(At)))}(st,oe,be,Me).pipe((0,j.k)(At=>(oe._resolvedData=At,oe.data=On(oe,oe.parent,ue).resolve,null)))}(nn,Me,oe,be):(nn.data=On(nn,nn.parent,oe).resolve,(0,e.of)(void 0))),(0,K.y)(()=>cn++),Y(1),(0,y.O)(nn=>cn===At.size?(0,e.of)(ue):E.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,K.y)({next:()=>xr=!0,complete:()=>{xr||this.cancelNavigationTransition(Zn,"",H.NoDataFromResolver)}}))}),(0,K.y)(Zn=>{const xr=new Ct(Zn.id,this.urlSerializer.serialize(Zn.extractedUrl),this.urlSerializer.serialize(Zn.urlAfterRedirects),Zn.targetSnapshot);this.events.next(xr)}))}),at(nn=>{const Zn=xr=>{const di=[];xr.routeConfig?.loadComponent&&!xr.routeConfig._loadedComponent&&di.push(this.configLoader.loadComponent(xr.routeConfig).pipe((0,K.y)(vo=>{xr.component=vo}),(0,j.k)(()=>{})));for(const vo of xr.children)di.push(...Zn(vo));return di};return(0,c.E)(Zn(nn.targetSnapshot.root)).pipe((0,z.G)(null),(0,B.U)(1))}),at(()=>this.afterPreactivation()),(0,L.G)(()=>{const{currentSnapshot:nn,targetSnapshot:Zn}=st,xr=this.createViewTransition?.(this.environmentInjector,nn.root,Zn.root);return xr?(0,u.Q)(xr).pipe((0,j.k)(()=>st)):(0,e.of)(st)}),(0,j.k)(nn=>{const Zn=function ro(oe,be,ue){const Me=Rr(oe,be._root,ue?ue._root:void 0);return new $n(Me,be)}(ue.routeReuseStrategy,nn.targetSnapshot,nn.currentRouterState);return this.currentTransition=st={...nn,targetRouterState:Zn},this.currentNavigation.targetRouterState=Zn,st}),(0,K.y)(()=>{this.events.next(new Ln)}),((oe,be,ue,Me)=>(0,j.k)(Ke=>(new bs(be,Ke.targetRouterState,Ke.currentRouterState,ue,Me).activate(oe),Ke)))(this.rootContexts,ue.routeReuseStrategy,nn=>this.events.next(nn),this.inputBindingEnabled),(0,B.U)(1),(0,K.y)({next:nn=>{At=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new on(nn.id,this.urlSerializer.serialize(nn.extractedUrl),this.urlSerializer.serialize(nn.urlAfterRedirects))),this.titleStrategy?.updateTitle(nn.targetRouterState.snapshot),nn.resolve(!0)},complete:()=>{At=!0}}),(0,Re.a)(this.transitionAbortSubject.pipe((0,K.y)(nn=>{throw nn}))),(0,Oe.U)(()=>{!At&&!cn&&this.cancelNavigationTransition(st,"",H.SupersededByNewNavigation),this.currentTransition?.id===st.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Q.a)(nn=>{if(cn=!0,wi(nn))this.events.next(new ae(st.id,this.urlSerializer.serialize(st.extractedUrl),nn.message,nn.cancellationCode)),function yo(oe){return wi(oe)&&pr(oe.url)}(nn)?this.events.next(new lr(nn.url)):st.resolve(!1);else{this.events.next(new Pe(st.id,this.urlSerializer.serialize(st.extractedUrl),nn,st.targetSnapshot??void 0));try{st.resolve(ue.errorHandler(nn))}catch(Zn){this.options.resolveNavigationPromiseOnError?st.resolve(!1):st.reject(Zn)}}return E.k}))}))}cancelNavigationTransition(ue,Me,Ke){const st=new ae(ue.id,this.urlSerializer.serialize(ue.extractedUrl),Me,Ke);this.events.next(st),ue.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){return this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))).toString()!==this.currentTransition?.extractedUrl.toString()&&!this.currentTransition?.extras.skipLocationChange}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();function Dn(oe){return oe!==Er}let gr=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)($r),providedIn:"root"})}return oe})();class yr{shouldDetach(be){return!1}store(be,ue){}shouldAttach(be){return!1}retrieve(be){return null}shouldReuseRoute(be,ue){return be.routeConfig===ue.routeConfig}}let $r=(()=>{class oe extends yr{static#e=this.\u0275fac=(()=>{let ue;return function(Ke){return(ue||(ue=n.\u0275\u0275getInheritedFactory(oe)))(Ke||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),Cr=(()=>{class oe{static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:()=>(0,n.inject)(Qr),providedIn:"root"})}return oe})(),Qr=(()=>{class oe extends Cr{constructor(){super(...arguments),this.location=(0,n.inject)(I.Location),this.urlSerializer=(0,n.inject)(Rt),this.options=(0,n.inject)(U,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(J),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ce,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=si(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return"computed"!==this.canceledNavigationResolution?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(ue){return this.location.subscribe(Me=>{"popstate"===Me.type&&ue(Me.url,Me.state)})}handleRouterEvent(ue,Me){if(ue instanceof Ei)this.stateMemento=this.createStateMemento();else if(ue instanceof He)this.rawUrlTree=Me.initialUrl;else if(ue instanceof fe){if("eager"===this.urlUpdateStrategy&&!Me.extras.skipLocationChange){const Ke=this.urlHandlingStrategy.merge(Me.finalUrl,Me.initialUrl);this.setBrowserUrl(Ke,Me)}}else ue instanceof Ln?(this.currentUrlTree=Me.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(Me.finalUrl,Me.initialUrl),this.routerState=Me.targetRouterState,"deferred"===this.urlUpdateStrategy&&(Me.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,Me))):ue instanceof ae&&(ue.code===H.GuardRejected||ue.code===H.NoDataFromResolver)?this.restoreHistory(Me):ue instanceof Pe?this.restoreHistory(Me,!0):ue instanceof on&&(this.lastSuccessfulId=ue.id,this.currentPageId=this.browserPageId)}setBrowserUrl(ue,Me){const Ke=this.urlSerializer.serialize(ue);if(this.location.isCurrentPathEqualTo(Ke)||Me.extras.replaceUrl){const At={...Me.extras.state,...this.generateNgRouterState(Me.id,this.browserPageId)};this.location.replaceState(Ke,"",At)}else{const st={...Me.extras.state,...this.generateNgRouterState(Me.id,this.browserPageId+1)};this.location.go(Ke,"",st)}}restoreHistory(ue,Me=!1){if("computed"===this.canceledNavigationResolution){const st=this.currentPageId-this.browserPageId;0!==st?this.location.historyGo(st):this.currentUrlTree===ue.finalUrl&&0===st&&(this.resetState(ue),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(Me&&this.resetState(ue),this.resetUrlToCurrentUrlTree())}resetState(ue){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,ue.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(ue,Me){return"computed"===this.canceledNavigationResolution?{navigationId:ue,\u0275routerPageId:Me}:{navigationId:ue}}static#e=this.\u0275fac=(()=>{let ue;return function(Ke){return(ue||(ue=n.\u0275\u0275getInheritedFactory(oe)))(Ke||oe)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();var Hr=function(oe){return oe[oe.COMPLETE=0]="COMPLETE",oe[oe.FAILED=1]="FAILED",oe[oe.REDIRECTING=2]="REDIRECTING",oe}(Hr||{});function Ri(oe,be){oe.events.pipe((0,ee.I)(ue=>ue instanceof on||ue instanceof ae||ue instanceof Pe||ue instanceof He),(0,j.k)(ue=>ue instanceof on||ue instanceof He?Hr.COMPLETE:ue instanceof ae&&(ue.code===H.Redirect||ue.code===H.SupersededByNewNavigation)?Hr.REDIRECTING:Hr.FAILED),(0,ee.I)(ue=>ue!==Hr.REDIRECTING),(0,B.U)(1)).subscribe(()=>{be()})}function eo(oe){throw oe}const Vo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},gs={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let fo=(()=>{class oe{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.isNgZoneEnabled=!1,this.console=(0,n.inject)(n.\u0275Console),this.stateManager=(0,n.inject)(Cr),this.options=(0,n.inject)(U,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(tn),this.urlSerializer=(0,n.inject)(Rt),this.location=(0,n.inject)(I.Location),this.urlHandlingStrategy=(0,n.inject)(J),this._events=new P.E,this.errorHandler=this.options.errorHandler||eo,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(gr),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(ce,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(zi,{optional:!0}),this.eventsSubscription=new A.wH,this.isNgZoneEnabled=(0,n.inject)(n.NgZone)instanceof n.NgZone&&n.NgZone.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:ue=>{this.console.warn(ue)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const ue=this.navigationTransitions.events.subscribe(Me=>{try{const Ke=this.navigationTransitions.currentTransition,st=this.navigationTransitions.currentNavigation;if(null!==Ke&&null!==st)if(this.stateManager.handleRouterEvent(Me,st),Me instanceof ae&&Me.code!==H.Redirect&&Me.code!==H.SupersededByNewNavigation)this.navigated=!0;else if(Me instanceof on)this.navigated=!0;else if(Me instanceof lr){const At=this.urlHandlingStrategy.merge(Me.url,Ke.currentRawUrl),cn={info:Ke.extras.info,skipLocationChange:Ke.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Dn(Ke.source)};this.scheduleNavigation(At,Er,null,cn,{resolve:Ke.resolve,reject:Ke.reject,promise:Ke.promise})}(function Yo(oe){return!(oe instanceof Ln||oe instanceof lr)})(Me)&&this._events.next(Me)}catch(Ke){this.navigationTransitions.transitionAbortSubject.next(Ke)}});this.eventsSubscription.add(ue)}resetRootComponentType(ue){this.routerState.root.component=ue,this.navigationTransitions.rootComponentType=ue}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Er,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((ue,Me)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(ue,"popstate",Me)},0)})}navigateToSyncWithBrowser(ue,Me,Ke){const st={replaceUrl:!0},At=Ke?.navigationId?Ke:null;if(Ke){const nn={...Ke};delete nn.navigationId,delete nn.\u0275routerPageId,0!==Object.keys(nn).length&&(st.state=nn)}const cn=this.parseUrl(ue);this.scheduleNavigation(cn,Me,At,st)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(ue){this.config=ue.map(Li),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(ue,Me={}){const{relativeTo:Ke,queryParams:st,fragment:At,queryParamsHandling:cn,preserveFragment:nn}=Me,Zn=nn?this.currentUrlTree.fragment:At;let di,xr=null;switch(cn){case"merge":xr={...this.currentUrlTree.queryParams,...st};break;case"preserve":xr=this.currentUrlTree.queryParams;break;default:xr=st||null}null!==xr&&(xr=this.removeEmptyProps(xr));try{di=qn(Ke?Ke.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof ue[0]||!ue[0].startsWith("/"))&&(ue=[]),di=this.currentUrlTree.root}return Or(di,ue,xr,Zn??null)}navigateByUrl(ue,Me={skipLocationChange:!1}){const Ke=pr(ue)?ue:this.parseUrl(ue),st=this.urlHandlingStrategy.merge(Ke,this.rawUrlTree);return this.scheduleNavigation(st,Er,null,Me)}navigate(ue,Me={skipLocationChange:!1}){return function so(oe){for(let be=0;be(null!=st&&(Me[Ke]=st),Me),{})}scheduleNavigation(ue,Me,Ke,st,At){if(this.disposed)return Promise.resolve(!1);let cn,nn,Zn;At?(cn=At.resolve,nn=At.reject,Zn=At.promise):Zn=new Promise((di,vo)=>{cn=di,nn=vo});const xr=this.pendingTasks.add();return Ri(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(xr))}),this.navigationTransitions.handleNavigationRequest({source:Me,restoredState:Ke,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:ue,extras:st,resolve:cn,reject:nn,promise:Zn,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),Zn.catch(di=>Promise.reject(di))}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),hi=(()=>{class oe{constructor(ue,Me,Ke,st,At,cn){this.router=ue,this.route=Me,this.tabIndexAttribute=Ke,this.renderer=st,this.el=At,this.locationStrategy=cn,this.href=null,this.commands=null,this.onChanges=new P.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const nn=At.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===nn||"area"===nn,this.isAnchorElement?this.subscription=ue.events.subscribe(Zn=>{Zn instanceof on&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(ue){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",ue)}ngOnChanges(ue){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(ue){null!=ue?(this.commands=Array.isArray(ue)?ue:[ue],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(ue,Me,Ke,st,At){const cn=this.urlTree;return!!(null===cn||this.isAnchorElement&&(0!==ue||Me||Ke||st||At||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(cn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const ue=this.urlTree;this.href=null!==ue&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(ue)):null;const Me=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",Me)}applyAttributeValue(ue,Me){const Ke=this.renderer,st=this.el.nativeElement;null!==Me?Ke.setAttribute(st,ue,Me):Ke.removeAttribute(st,ue)}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(ai),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(I.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(Me,Ke){1&Me&&n.\u0275\u0275listener("click",function(At){return Ke.onClick(At.button,At.ctrlKey,At.shiftKey,At.altKey,At.metaKey)}),2&Me&&n.\u0275\u0275attribute("target",Ke.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"preserveFragment","preserveFragment",n.booleanAttribute],skipLocationChange:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"skipLocationChange","skipLocationChange",n.booleanAttribute],replaceUrl:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"replaceUrl","replaceUrl",n.booleanAttribute],routerLink:"routerLink"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return oe})(),ss=(()=>{class oe{get isActive(){return this._isActive}constructor(ue,Me,Ke,st,At){this.router=ue,this.element=Me,this.renderer=Ke,this.cdr=st,this.link=At,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=ue.events.subscribe(cn=>{cn instanceof on&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(C()).subscribe(ue=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const ue=[...this.links.toArray(),this.link].filter(Me=>!!Me).map(Me=>Me.onChanges);this.linkInputChangesSubscription=(0,u.Q)(ue).pipe(C()).subscribe(Me=>{this._isActive!==this.isLinkActive(this.router)(Me)&&this.update()})}set routerLinkActive(ue){const Me=Array.isArray(ue)?ue:ue.split(" ");this.classes=Me.filter(Ke=>!!Ke)}ngOnChanges(ue){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const ue=this.hasActiveLinks();this._isActive!==ue&&(this._isActive=ue,this.cdr.markForCheck(),this.classes.forEach(Me=>{ue?this.renderer.addClass(this.element.nativeElement,Me):this.renderer.removeClass(this.element.nativeElement,Me)}),ue&&void 0!==this.ariaCurrentWhenActive?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this.isActiveChange.emit(ue))})}isLinkActive(ue){const Me=function $l(oe){return!!oe.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ke=>{const st=Ke.urlTree;return!!st&&ue.isActive(st,Me)}}hasActiveLinks(){const ue=this.isLinkActive(this.router);return this.link&&ue(this.link)||this.links.some(ue)}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275directiveInject(fo),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(hi,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:oe,selectors:[["","routerLinkActive",""]],contentQueries:function(Me,Ke,st){if(1&Me&&n.\u0275\u0275contentQuery(st,hi,5),2&Me){let At;n.\u0275\u0275queryRefresh(At=n.\u0275\u0275loadQuery())&&(Ke.links=At)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return oe})();class Ks{}let Gl=(()=>{class oe{preload(ue,Me){return Me().pipe((0,Q.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),el=(()=>{class oe{preload(ue,Me){return(0,e.of)(null)}static#e=this.\u0275fac=function(Me){return new(Me||oe)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})(),tl=(()=>{class oe{constructor(ue,Me,Ke,st,At){this.router=ue,this.injector=Ke,this.preloadingStrategy=st,this.loader=At}setUpPreloading(){this.subscription=this.router.events.pipe((0,ee.I)(ue=>ue instanceof on),(0,se.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(ue,Me){const Ke=[];for(const st of Me){st.providers&&!st._injector&&(st._injector=(0,n.createEnvironmentInjector)(st.providers,ue,`Route: ${st.path}`));const At=st._injector??ue,cn=st._loadedInjector??At;(st.loadChildren&&!st._loadedRoutes&&void 0===st.canLoad||st.loadComponent&&!st._loadedComponent)&&Ke.push(this.preloadConfig(At,st)),(st.children||st._loadedRoutes)&&Ke.push(this.processRoutes(cn,st.children??st._loadedRoutes))}return(0,u.Q)(Ke).pipe(C())}preloadConfig(ue,Me){return this.preloadingStrategy.preload(Me,()=>{let Ke;Ke=Me.loadChildren&&void 0===Me.canLoad?this.loader.loadChildren(ue,Me):(0,e.of)(null);const st=Ke.pipe((0,y.O)(At=>null===At?(0,e.of)(void 0):(Me._loadedRoutes=At.routes,Me._loadedInjector=At.injector,this.processRoutes(At.injector??ue,At.routes))));if(Me.loadComponent&&!Me._loadedComponent){const At=this.loader.loadComponent(Me);return(0,u.Q)([st,At]).pipe(C())}return st})}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275inject(fo),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ks),n.\u0275\u0275inject(Le))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac,providedIn:"root"})}return oe})();const Qs=new n.InjectionToken("");let Os=(()=>{class oe{constructor(ue,Me,Ke,st,At={}){this.urlSerializer=ue,this.transitions=Me,this.viewportScroller=Ke,this.zone=st,this.options=At,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},At.scrollPositionRestoration||="disabled",At.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(ue=>{ue instanceof Ei?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=ue.navigationTrigger,this.restoredId=ue.restoredState?ue.restoredState.navigationId:0):ue instanceof on?(this.lastId=ue.id,this.scheduleScrollEvent(ue,this.urlSerializer.parse(ue.urlAfterRedirects).fragment)):ue instanceof He&&ue.code===W.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(ue,this.urlSerializer.parse(ue.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(ue=>{ue instanceof Yt&&(ue.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(ue.position):ue.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(ue.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(ue,Me){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Yt(ue,"popstate"===this.lastSource?this.store[this.restoredId]:null,Me))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(Me){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:oe,factory:oe.\u0275fac})}return oe})();function fu(oe,...be){return(0,n.makeEnvironmentProviders)([{provide:ce,multi:!0,useValue:oe},[],{provide:ai,useFactory:Jo,deps:[fo]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:nl},be.map(ue=>ue.\u0275providers)])}function Jo(oe){return oe.routerState.root}function as(oe,be){return{\u0275kind:oe,\u0275providers:be}}function ls(oe){return[{provide:ce,multi:!0,useValue:oe},[]]}function oa(oe={}){return as(4,[{provide:Qs,useFactory:()=>{const ue=(0,n.inject)(I.ViewportScroller),Me=(0,n.inject)(n.NgZone),Ke=(0,n.inject)(tn),st=(0,n.inject)(Rt);return new Os(st,Ke,ue,Me,oe)}}])}function nl(){const oe=(0,n.inject)(n.Injector);return be=>{const ue=oe.get(n.ApplicationRef);if(be!==ue.components[0])return;const Me=oe.get(fo),Ke=oe.get(Sa);1===oe.get(sa)&&Me.initialNavigation(),oe.get(mu,null,n.InjectFlags.Optional)?.setUpPreloading(),oe.get(Qs,null,n.InjectFlags.Optional)?.init(),Me.resetRootComponentType(ue.componentTypes[0]),Ke.closed||(Ke.next(),Ke.complete(),Ke.unsubscribe())}}const Sa=new n.InjectionToken("",{factory:()=>new P.E}),sa=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function aa(){return as(2,[{provide:sa,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:be=>{const ue=be.get(I.LOCATION_INITIALIZED,Promise.resolve());return()=>ue.then(()=>new Promise(Me=>{const Ke=be.get(fo),st=be.get(Sa);Ri(Ke,()=>{Me(!0)}),be.get(tn).afterPreactivation=()=>(Me(!0),st.closed?(0,e.of)(void 0):st),Ke.initialNavigation()}))}}])}function gu(){return as(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const be=(0,n.inject)(fo);return()=>{be.setUpLocationChangeListener()}}},{provide:sa,useValue:2}])}function Ql(){let oe=[];return oe=[],as(1,oe)}const mu=new n.InjectionToken("");function zo(oe){return as(0,[{provide:mu,useExisting:tl},{provide:Ks,useExisting:oe}])}function la(oe){return as(5,[{provide:U,useValue:oe}])}function ca(){return as(6,[{provide:I.LocationStrategy,useClass:I.HashLocationStrategy}])}function jd(oe){return as(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const ue=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(fo).events.subscribe(Me=>{Me instanceof Pe&&(0,n.runInInjectionContext)(ue,()=>oe(Me))})}}])}function rl(){return as(8,[qi,{provide:zi,useExisting:qi}])}function Zl(oe){return as(9,[{provide:Se,useValue:_t},{provide:Ue,useValue:{skipNextTransition:!!oe?.skipInitialTransition,...oe}}])}const ua=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ol=[I.Location,{provide:Rt,useClass:Dt},fo,Lr,{provide:ai,useFactory:Jo,deps:[fo]},Le,[]];let Xl=(()=>{class oe{constructor(ue){}static forRoot(ue,Me){return{ngModule:oe,providers:[ol,[],{provide:ce,multi:!0,useValue:ue},{provide:ua,useFactory:sl,deps:[[fo,new n.Optional,new n.SkipSelf]]},{provide:U,useValue:Me||{}},Me?.useHash?{provide:I.LocationStrategy,useClass:I.HashLocationStrategy}:{provide:I.LocationStrategy,useClass:I.PathLocationStrategy},{provide:Qs,useFactory:()=>{const oe=(0,n.inject)(I.ViewportScroller),be=(0,n.inject)(n.NgZone),ue=(0,n.inject)(U),Me=(0,n.inject)(tn),Ke=(0,n.inject)(Rt);return ue.scrollOffset&&oe.setOffset(ue.scrollOffset),new Os(Ke,Me,oe,be,ue)}},Me?.preloadingStrategy?zo(Me.preloadingStrategy).\u0275providers:[],Me?.initialNavigation?pu(Me):[],Me?.bindToComponentInputs?rl().\u0275providers:[],Me?.enableViewTransitions?Zl().\u0275providers:[],[{provide:No,useFactory:nl},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:No}]]}}static forChild(ue){return{ngModule:oe,providers:[{provide:ce,multi:!0,useValue:ue}]}}static#e=this.\u0275fac=function(Me){return new(Me||oe)(n.\u0275\u0275inject(ua,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:oe});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return oe})();function sl(oe){return"guarded"}function pu(oe){return["disabled"===oe.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===oe.initialNavigation?aa().\u0275providers:[]]}const No=new n.InjectionToken("");function ql(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canMatch(...ue))}function Us(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canActivate(...ue))}function Ea(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canActivateChild(...ue))}function Nn(oe){return oe.map(be=>(...ue)=>(0,n.inject)(be).canDeactivate(...ue))}function ec(oe){return(...be)=>(0,n.inject)(oe).resolve(...be)}const ms=new n.Version("17.2.3")},9028:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{MSAL_BROADCAST_CONFIG:()=>B,MSAL_GUARD_CONFIG:()=>j,MSAL_INSTANCE:()=>I,MSAL_INTERCEPTOR_CONFIG:()=>L,MsalBroadcastService:()=>ee,MsalCustomNavigationClient:()=>re,MsalGuard:()=>le,MsalInterceptor:()=>se,MsalModule:()=>Q,MsalRedirectComponent:()=>K,MsalService:()=>$,version:()=>P});var n=i(1528),o=i(54496),d=i(26956),a=i(88904),u=i(72592),e=i(67648),l=i(84644),c=i(7828),g=i(64952),y=i(74496),_=i(22540),C=i(95657),b=i(46700),p=i(82700),f=i(28960),S=i(91368),v=i(54704),M=i(26020),E=i(39144),A=i(17368),k=i(3992),N=i(66684),F=i(56568);const T="@azure/msal-angular",P="3.0.13",I=new o.InjectionToken("MSAL_INSTANCE"),j=new o.InjectionToken("MSAL_GUARD_CONFIG"),L=new o.InjectionToken("MSAL_INTERCEPTOR_CONFIG"),B=new o.InjectionToken("MSAL_BROADCAST_CONFIG");let $=(()=>{class X{constructor(Y,q){this.instance=Y,this.location=q;const de=this.location.path(!0).split("#").pop();de&&(this.redirectHash=`#${de}`),this.instance.initializeWrapperLibrary(d.Lm.Angular,P)}initialize(){return(0,y.Q)(this.instance.initialize())}acquireTokenPopup(Y){return(0,y.Q)(this.instance.acquireTokenPopup(Y))}acquireTokenRedirect(Y){return(0,y.Q)(this.instance.acquireTokenRedirect(Y))}acquireTokenSilent(Y){return(0,y.Q)(this.instance.acquireTokenSilent(Y))}handleRedirectObservable(Y){return(0,y.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(Y||this.redirectHash)))}loginPopup(Y){return(0,y.Q)(this.instance.loginPopup(Y))}loginRedirect(Y){return(0,y.Q)(this.instance.loginRedirect(Y))}logout(Y){return(0,y.Q)(this.instance.logout(Y))}logoutRedirect(Y){return(0,y.Q)(this.instance.logoutRedirect(Y))}logoutPopup(Y){return(0,y.Q)(this.instance.logoutPopup(Y))}ssoSilent(Y){return(0,y.Q)(this.instance.ssoSilent(Y))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(T,P)),this.logger}setLogger(Y){this.logger=Y.clone(T,P),this.instance.setLogger(Y)}}return X.\u0275fac=function(Y){return new(Y||X)(o.\u0275\u0275inject(I),o.\u0275\u0275inject(S.Location))},X.\u0275prov=o.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),ee=(()=>{class X{constructor(Y,q,de){this.msalInstance=Y,this.authService=q,this.msalBroadcastConfig=de,this.msalBroadcastConfig&&this.msalBroadcastConfig.eventsToReplay>0?(this.authService.getLogger().verbose(`BroadcastService - eventsToReplay set on BroadcastConfig, replaying the last ${this.msalBroadcastConfig.eventsToReplay} events`),this._msalSubject=new _.o(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new C.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new b.g(d.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(me=>{this._msalSubject.next(me);const Oe=a.M.getInteractionStatusFromEvent(me,this._inProgress.value);null!==Oe&&(this.authService.getLogger().verbose(`BroadcastService - ${me.eventType} results in setting inProgress from ${this._inProgress.value} to ${Oe}`),this._inProgress.next(Oe))})}}return X.\u0275fac=function(Y){return new(Y||X)(o.\u0275\u0275inject(I),o.\u0275\u0275inject($),o.\u0275\u0275inject(B,8))},X.\u0275prov=o.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),le=(()=>{class X{constructor(Y,q,de,me,Oe){this.msalGuardConfig=Y,this.msalBroadcastService=q,this.authService=de,this.location=me,this.router=Oe,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(Y){return this.router.parseUrl(Y)}getDestinationUrl(Y){this.authService.getLogger().verbose("Guard - getting destination url");const q=document.getElementsByTagName("base"),de=this.location.normalize(q.length?q[0].href:window.location.origin),me=this.location.prepareExternalUrl(Y);return me.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${de}/${me}`):`${de}${Y}`}loginInteractively(Y){const q="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,Y):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(q).pipe((0,v.k)(me=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(me.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const de=this.getDestinationUrl(Y.url);return this.authService.loginRedirect({redirectStartPage:de,...q}).pipe((0,v.k)(()=>!1))}activateHelper(Y){if(this.msalGuardConfig.interactionType!==d.wV.Popup&&this.msalGuardConfig.interactionType!==d.wV.Redirect)throw new u.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Guard. InteractionType.Popup or InteractionType.Redirect must be provided in the MsalGuardConfiguration");if(this.authService.getLogger().verbose("MSAL Guard activated"),!(typeof window<"u"))return this.authService.getLogger().info("Guard - window is undefined, MSAL does not support server-side token acquisition"),(0,p.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&l.isInIframe()&&!this.authService.instance.getConfiguration().system.allowRedirectInIframe)return this.authService.getLogger().warning("Guard - redirectUri set to page with MSAL Guard. It is recommended to not set redirectUri to a page that requires authentication."),(0,p.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const q=this.location.path(!0);return this.authService.initialize().pipe((0,M.m)(()=>this.authService.handleRedirectObservable()),(0,M.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return Y?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(Y)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,p.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),Y){const de=this.includesCode(Y.url),me=!!Y.root&&!!Y.root.fragment&&this.includesCode(`#${Y.root.fragment}`),Oe=0===this.location.prepareExternalUrl(Y.url).indexOf("#");if(de&&(me||Oe))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),q.indexOf("#")>-1?(0,p.of)(this.parseUrl(this.location.path())):(0,p.of)(this.parseUrl(""))}return(0,p.of)(!0)}),(0,E.a)(de=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${de.message}`),this.loginFailedRoute&&Y?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,p.of)(this.loginFailedRoute)):(0,p.of)(!1))))}includesCode(Y){return Y.lastIndexOf("/code")>-1&&Y.lastIndexOf("/code")===Y.length-5||Y.indexOf("#code=")>-1||Y.indexOf("&code=")>-1}canActivate(Y,q){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(q)}canActivateChild(Y,q){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(q)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return X.\u0275fac=function(Y){return new(Y||X)(o.\u0275\u0275inject(j),o.\u0275\u0275inject(ee),o.\u0275\u0275inject($),o.\u0275\u0275inject(S.Location),o.\u0275\u0275inject(F.Router))},X.\u0275prov=o.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),se=(()=>{class X{constructor(Y,q,de,me,Oe){this.msalInterceptorConfig=Y,this.authService=q,this.location=de,this.msalBroadcastService=me,this._document=Oe}intercept(Y,q){if(this.msalInterceptorConfig.interactionType!==d.wV.Popup&&this.msalInterceptorConfig.interactionType!==d.wV.Redirect)throw new u.aO("invalid_interaction_type","Invalid interaction type provided to MSAL Interceptor. InteractionType.Popup, InteractionType.Redirect must be provided in the msalInterceptorConfiguration");this.authService.getLogger().verbose("MSAL Interceptor activated");const de=this.getScopesForEndpoint(Y.url,Y.method);if(!de||0===de.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),q.handle(Y);let me;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),me=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),me=this.authService.instance.getAllAccounts()[0]);const Oe="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,Y,{account:me}):{...this.msalInterceptorConfig.authRequest,account:me};return this.authService.getLogger().info(`Interceptor - ${de.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${de}] scopes found for ${Y.url}`),this.acquireToken(Oe,de,me).pipe((0,A.G)(Re=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const Ae=Y.headers.set("Authorization",`Bearer ${Re.accessToken}`),ge=Y.clone({headers:Ae});return q.handle(ge)}))}acquireToken(Y,q,de){return this.authService.acquireTokenSilent({...Y,scopes:q,account:de}).pipe((0,E.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,k.U)(1),(0,A.G)(me=>me===d.Yz.None?this.acquireTokenInteractively(Y,q):this.msalBroadcastService.inProgress$.pipe((0,N.I)(Oe=>Oe===d.Yz.None),(0,k.U)(1),(0,A.G)(()=>this.acquireToken(Y,q,de))))))),(0,A.G)(me=>me.accessToken?(0,p.of)(me):(this.authService.getLogger().error("Interceptor - acquireTokenSilent resolved with null access token. Known issue with B2C tenants, invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,N.I)(Oe=>Oe===d.Yz.None),(0,k.U)(1),(0,A.G)(()=>this.acquireTokenInteractively(Y,q))))))}acquireTokenInteractively(Y,q){if(this.msalInterceptorConfig.interactionType===d.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...Y,scopes:q});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const de=window.location.href;return this.authService.acquireTokenRedirect({...Y,scopes:q,redirectStartPage:de}),f.k}getScopesForEndpoint(Y,q){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const de=this.location.normalize(Y),me=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),Oe=this.matchResourcesToEndpoint(me,de);return Oe.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Oe.absoluteResources,q):Oe.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Oe.relativeResources,q):null}matchResourcesToEndpoint(Y,q){const de={absoluteResources:[],relativeResources:[]};return Y.forEach(me=>{const Oe=this.location.normalize(me);c.e.matchPattern(Oe,q)&&de.absoluteResources.push(me);const Re=this.getAbsoluteUrl(me),Ae=new e._(Re).getUrlComponents(),ge=this.getAbsoluteUrl(q),Ne=new e._(ge).getUrlComponents(),it=Ae.QueryString?`${Ae.AbsolutePath}?${Ae.QueryString}`:this.location.normalize(Ae.AbsolutePath);Ae.HostNameAndPort===Ne.HostNameAndPort&&c.e.matchPattern(it,ge)&&""!==it&&"/*"!==it&&de.relativeResources.push(me)}),de}getAbsoluteUrl(Y){const q=this._document.createElement("a");return q.href=Y,q.href}matchScopesToEndpoint(Y,q,de){const me=[];return q.forEach(Oe=>{const Re=[],Ae=Y.get(Oe);null!==Ae?(Ae.forEach(ge=>{if("string"==typeof ge)Re.push(ge);else{const Ne=de.toLowerCase();ge.httpMethod.toLowerCase()===Ne&&(null===ge.scopes?me.push(null):ge.scopes.forEach(qe=>{Re.push(qe)}))}}),Re.length>0&&me.push(Re)):me.push(null)}),me.length>0?(me.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),me[0]):null}}return X.\u0275fac=function(Y){return new(Y||X)(o.\u0275\u0275inject(L),o.\u0275\u0275inject($),o.\u0275\u0275inject(S.Location),o.\u0275\u0275inject(ee),o.\u0275\u0275inject(S.DOCUMENT))},X.\u0275prov=o.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})(),K=(()=>{class X{constructor(Y){this.authService=Y}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return X.\u0275fac=function(Y){return new(Y||X)(o.\u0275\u0275directiveInject($))},X.\u0275cmp=o.\u0275\u0275defineComponent({type:X,selectors:[["app-redirect"]],decls:0,vars:0,template:function(Y,q){},encapsulation:2}),X})(),Q=(()=>{class X{static forRoot(Y,q,de){return{ngModule:X,providers:[{provide:I,useValue:Y},{provide:j,useValue:q},{provide:L,useValue:de},$]}}}return X.\u0275fac=function(Y){return new(Y||X)},X.\u0275mod=o.\u0275\u0275defineNgModule({type:X}),X.\u0275inj=o.\u0275\u0275defineInjector({providers:[le,ee],imports:[S.CommonModule]}),X})(),re=(()=>{class X extends g.m{constructor(Y,q,de){super(),this.authService=Y,this.router=q,this.location=de}navigateInternal(Y,q){var de=()=>super.navigateInternal,me=this;return(0,n.c)(function*(){if(me.authService.getLogger().trace("MsalCustomNavigationClient called"),me.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),me.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${Y}`),q.noHistory)return de().call(me,Y,q);{const Oe=new e._(Y).getUrlComponents(),Re=Oe.QueryString?`${Oe.AbsolutePath}?${Oe.QueryString}`:me.location.normalize(Oe.AbsolutePath);yield me.router.navigateByUrl(Re,{replaceUrl:q.noHistory})}return Promise.resolve(q.noHistory)})()}}return X.\u0275fac=function(Y){return new(Y||X)(o.\u0275\u0275inject($),o.\u0275\u0275inject(F.Router),o.\u0275\u0275inject(S.Location))},X.\u0275prov=o.\u0275\u0275defineInjectable({token:X,factory:X.\u0275fac}),X})()},69812:(ve,h,i)=>{"use strict";i.d(h,{S:()=>T,Y:()=>F});var n=i(1528),o=i(6536),d=i(34739),a=i(72584),u=i(98416),e=i(28876),l=i(71408),c=i(85348),g=i(7828),y=i(86144),_=i(16256),C=i(6400),b=i(9488),p=i(65172),f=i(4792),S=i(26956),v=i(71720),M=i(61744),E=i(99632),A=i(55084),k=i(37988),N=i(32828);class F extends o.B{constructor(I,j,L,B,$){super(I,L,B,$),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=j,this.logger=B,this.internalStorage=new M.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),j.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(I){switch(I){case S.Ir.LocalStorage:case S.Ir.SessionStorage:try{return new v.K(I)}catch(j){this.logger.verbose(j);break}}return this.cacheConfig.cacheLocation=S.Ir.MemoryStorage,new M.W}setupTemporaryCacheStorage(I,j){switch(j){case S.Ir.LocalStorage:case S.Ir.SessionStorage:try{return new v.K(I||S.Ir.SessionStorage)}catch(L){return this.logger.verbose(L),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const j=`${d.Mv.CACHE_PREFIX}.${d.IH.CLIENT_INFO}`,L=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR}`,B=`${d.Mv.CACHE_PREFIX}.${d.IH.ERROR_DESC}`,K=[this.browserStorage.getItem(`${d.Mv.CACHE_PREFIX}.${d.IH.ID_TOKEN}`),this.browserStorage.getItem(j),this.browserStorage.getItem(L),this.browserStorage.getItem(B)];[d.IH.ID_TOKEN,d.IH.CLIENT_INFO,d.IH.ERROR,d.IH.ERROR_DESC].forEach((re,X)=>this.migrateCacheEntry(re,K[X]))}migrateCacheEntry(I,j){j&&this.setTemporaryCache(I,j,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const I=this.getItem(S.UZ.ACCOUNT_KEYS),j=this.getItem(`${S.UZ.TOKEN_KEYS}.${this.clientId}`);I&&j?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(B=>{if(this.isCredentialKey(B)){const $=this.getItem(B);if($){const ee=this.validateAndParseJson($);if(ee&&ee.hasOwnProperty("credentialType"))switch(ee.credentialType){case d.yu.ID_TOKEN:if(a.LS(ee)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${B} found, saving key to token key map`);const se=this.updateCredentialCacheKey(B,ee);return void this.addTokenKey(se,d.yu.ID_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching idToken schema with value containing idToken credentialType field but value failed IdTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed idToken validation on key: ${B}`);break;case d.yu.ACCESS_TOKEN:case d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(a.Ul(ee)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${B} found, saving key to token key map`);const se=this.updateCredentialCacheKey(B,ee);return void this.addTokenKey(se,d.yu.ACCESS_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed accessToken validation on key: ${B}`);break;case d.yu.REFRESH_TOKEN:if(a.U5(ee)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${B} found, saving key to token key map`);const se=this.updateCredentialCacheKey(B,ee);return void this.addTokenKey(se,d.yu.REFRESH_TOKEN)}this.logger.trace("BrowserCacheManager:createKeyMaps - key found matching refreshToken schema with value containing refreshToken credentialType field but value failed RefreshTokenEntity validation, skipping."),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - failed refreshToken validation on key: ${B}`)}}}if(this.isAccountKey(B)){const $=this.getItem(B);if($){const ee=this.validateAndParseJson($);ee&&u.M.isAccountEntity(ee)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${B} found, saving key to account key map`),this.addAccountKeyToMap(B))}}})}validateAndParseJson(I){try{const j=JSON.parse(I);return j&&"object"==typeof j?j:null}catch{return null}}getItem(I){return this.browserStorage.getItem(I)}setItem(I,j){this.browserStorage.setItem(I,j)}getAccount(I,j){this.logger.trace("BrowserCacheManager.getAccount called");const L=this.getCachedAccountEntity(I);return this.updateOutdatedCachedAccount(I,L,j)}getCachedAccountEntity(I){const j=this.getItem(I);if(!j)return this.removeAccountKeyFromMap(I),null;const L=this.validateAndParseJson(j);return L&&u.M.isAccountEntity(L)?o.B.toObject(new u.M,L):(this.removeAccountKeyFromMap(I),null)}setAccount(I){this.logger.trace("BrowserCacheManager.setAccount called");const j=I.generateAccountKey();this.setItem(j,JSON.stringify(I)),this.addAccountKeyToMap(j)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const I=this.getItem(S.UZ.ACCOUNT_KEYS);return I?JSON.parse(I):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(I){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${I}`);const j=this.getAccountKeys();-1===j.indexOf(I)?(j.push(I),this.setItem(S.UZ.ACCOUNT_KEYS,JSON.stringify(j)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(I){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${I}`);const j=this.getAccountKeys(),L=j.indexOf(I);L>-1?(j.splice(L,1),this.setItem(S.UZ.ACCOUNT_KEYS,JSON.stringify(j)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(I){var j=()=>super.removeAccount,L=this;return(0,n.c)(function*(){j().call(L,I),L.removeAccountKeyFromMap(I)})()}removeOutdatedAccount(I){this.removeItem(I),this.removeAccountKeyFromMap(I)}removeIdToken(I){super.removeIdToken(I),this.removeTokenKey(I,d.yu.ID_TOKEN)}removeAccessToken(I){var j=()=>super.removeAccessToken,L=this;return(0,n.c)(function*(){j().call(L,I),L.removeTokenKey(I,d.yu.ACCESS_TOKEN)})()}removeRefreshToken(I){super.removeRefreshToken(I),this.removeTokenKey(I,d.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const I=this.getItem(`${S.UZ.TOKEN_KEYS}.${this.clientId}`);if(I){const j=this.validateAndParseJson(I);if(j&&j.hasOwnProperty("idToken")&&j.hasOwnProperty("accessToken")&&j.hasOwnProperty("refreshToken"))return j;this.logger.error("BrowserCacheManager.getTokenKeys - Token keys found but in an unknown format. Returning empty key map.")}else this.logger.verbose("BrowserCacheManager.getTokenKeys - No token keys found");return{idToken:[],accessToken:[],refreshToken:[]}}addTokenKey(I,j){this.logger.trace("BrowserCacheManager addTokenKey called");const L=this.getTokenKeys();switch(j){case d.yu.ID_TOKEN:-1===L.idToken.indexOf(I)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),L.idToken.push(I));break;case d.yu.ACCESS_TOKEN:-1===L.accessToken.indexOf(I)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),L.accessToken.push(I));break;case d.yu.REFRESH_TOKEN:-1===L.refreshToken.indexOf(I)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),L.refreshToken.push(I));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${j}`),(0,e.mQ)(l.unexpectedCredentialType)}this.setItem(`${S.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(L))}removeTokenKey(I,j){this.logger.trace("BrowserCacheManager removeTokenKey called");const L=this.getTokenKeys();switch(j){case d.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${I} from map`);const B=L.idToken.indexOf(I);B>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),L.idToken.splice(B,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${I} from map`);const $=L.accessToken.indexOf(I);$>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),L.accessToken.splice($,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case d.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${I} from map`);const ee=L.refreshToken.indexOf(I);ee>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),L.refreshToken.splice(ee,1)):this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");break;default:throw this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${j}`),(0,e.mQ)(l.unexpectedCredentialType)}this.setItem(`${S.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(L))}getIdTokenCredential(I){const j=this.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(I,d.yu.ID_TOKEN),null;const L=this.validateAndParseJson(j);return L&&a.LS(L)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),L):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(I,d.yu.ID_TOKEN),null)}setIdTokenCredential(I){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const j=a.AZ(I);this.setItem(j,JSON.stringify(I)),this.addTokenKey(j,d.yu.ID_TOKEN)}getAccessTokenCredential(I){const j=this.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(I,d.yu.ACCESS_TOKEN),null;const L=this.validateAndParseJson(j);return L&&a.Ul(L)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),L):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(I,d.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(I){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const j=a.AZ(I);this.setItem(j,JSON.stringify(I)),this.addTokenKey(j,d.yu.ACCESS_TOKEN)}getRefreshTokenCredential(I){const j=this.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(I,d.yu.REFRESH_TOKEN),null;const L=this.validateAndParseJson(j);return L&&a.U5(L)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),L):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(I,d.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(I){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const j=a.AZ(I);this.setItem(j,JSON.stringify(I)),this.addTokenKey(j,d.yu.REFRESH_TOKEN)}getAppMetadata(I){const j=this.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const L=this.validateAndParseJson(j);return L&&a.q6(I,L)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),L):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(I){this.logger.trace("BrowserCacheManager.setAppMetadata called");const j=a.S(I);this.setItem(j,JSON.stringify(I))}getServerTelemetry(I){const j=this.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const L=this.validateAndParseJson(j);return L&&a.sX(I,L)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),L):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(I,j){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(I,JSON.stringify(j))}getAuthorityMetadata(I){const j=this.internalStorage.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const L=this.validateAndParseJson(j);return L&&a.aA(I,L)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),L):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(j=>this.isAuthorityMetadata(j))}setWrapperMetadata(I,j){this.internalStorage.setItem(S.CM.WRAPPER_SKU,I),this.internalStorage.setItem(S.CM.WRAPPER_VER,j)}getWrapperMetadata(){return[this.internalStorage.getItem(S.CM.WRAPPER_SKU)||d.Mv.EMPTY_STRING,this.internalStorage.getItem(S.CM.WRAPPER_VER)||d.Mv.EMPTY_STRING]}setAuthorityMetadata(I,j){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(I,JSON.stringify(j))}getActiveAccount(){const I=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),j=this.getItem(I);if(!j){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const B=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT),$=this.getItem(B);if(!$)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const ee=this.getAccountInfoFilteredBy({localAccountId:$});return ee?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(ee),ee):null}const L=this.validateAndParseJson(j);return L?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:L.homeAccountId,localAccountId:L.localAccountId,tenantId:L.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(I){const j=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT_FILTERS),L=this.generateCacheKey(d.IH.ACTIVE_ACCOUNT);I?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(j,JSON.stringify({homeAccountId:I.homeAccountId,localAccountId:I.localAccountId,tenantId:I.tenantId})),this.browserStorage.setItem(L,I.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(j),this.browserStorage.removeItem(L))}getThrottlingCache(I){const j=this.getItem(I);if(!j)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const L=this.validateAndParseJson(j);return L&&a.s7(I,L)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),L):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(I,j){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(I,JSON.stringify(j))}getTemporaryCache(I,j){const L=j?this.generateCacheKey(I):I;if(this.cacheConfig.storeAuthStateInCookie){const $=this.getItemCookie(L);if($)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),$}const B=this.temporaryCacheStorage.getItem(L);if(!B){if(this.cacheConfig.cacheLocation===S.Ir.LocalStorage){const $=this.browserStorage.getItem(L);if($)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),$}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),B}setTemporaryCache(I,j,L){const B=L?this.generateCacheKey(I):I;this.temporaryCacheStorage.setItem(B,j),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(B,j))}removeItem(I){this.browserStorage.removeItem(I),this.temporaryCacheStorage.removeItem(I),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(I))}containsKey(I){return this.browserStorage.containsKey(I)||this.temporaryCacheStorage.containsKey(I)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var I=this;return(0,n.c)(function*(){yield I.removeAllAccounts(),I.removeAppMetadata(),I.getKeys().forEach(j=>{(I.browserStorage.containsKey(j)||I.temporaryCacheStorage.containsKey(j))&&(-1!==j.indexOf(d.Mv.CACHE_PREFIX)||-1!==j.indexOf(I.clientId))&&I.removeItem(j)}),I.internalStorage.clear()})()}clearTokensAndKeysWithClaims(I){var j=this;return(0,n.c)(function*(){I.addQueueMeasurement(c.Xv.ClearTokensAndKeysWithClaims);const L=j.getTokenKeys(),B=[];L.accessToken.forEach($=>{const ee=j.getAccessTokenCredential($);ee?.requestedClaimsHash&&$.includes(ee.requestedClaimsHash.toLowerCase())&&B.push(j.removeAccessToken($))}),yield Promise.all(B),B.length>0&&j.logger.warning(`${B.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(I,j,L){let B=`${encodeURIComponent(I)}=${encodeURIComponent(j)};path=/;SameSite=Lax;`;L&&(B+=`expires=${this.getCookieExpirationTime(L)};`),this.cacheConfig.secureCookies&&(B+="Secure;"),document.cookie=B}getItemCookie(I){const j=`${encodeURIComponent(I)}=`,L=document.cookie.split(";");for(let B=0;B{for(;" "===L.charAt(0);)L=L.substring(1);if(0===L.indexOf(I)){const B=L.split("=")[0];this.clearItemCookie(B)}})}clearItemCookie(I){this.setItemCookie(I,d.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(I){return new Date((new Date).getTime()+I*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(I){return this.validateAndParseJson(I)?JSON.stringify(I):g.e.startsWith(I,d.Mv.CACHE_PREFIX)||g.e.startsWith(I,d.IH.ADAL_ID_TOKEN)?I:`${d.Mv.CACHE_PREFIX}.${this.clientId}.${I}`}generateAuthorityKey(I){const{libraryState:{id:j}}=y.c.parseRequestState(this.cryptoImpl,I);return this.generateCacheKey(`${S.zH.AUTHORITY}.${j}`)}generateNonceKey(I){const{libraryState:{id:j}}=y.c.parseRequestState(this.cryptoImpl,I);return this.generateCacheKey(`${S.zH.NONCE_IDTOKEN}.${j}`)}generateStateKey(I){const{libraryState:{id:j}}=y.c.parseRequestState(this.cryptoImpl,I);return this.generateCacheKey(`${S.zH.REQUEST_STATE}.${j}`)}getCachedAuthority(I){const j=this.generateStateKey(I),L=this.getTemporaryCache(j);if(!L)return null;const B=this.generateAuthorityKey(L);return this.getTemporaryCache(B)}updateCacheEntries(I,j,L,B,$){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const ee=this.generateStateKey(I);this.setTemporaryCache(ee,I,!1);const le=this.generateNonceKey(I);this.setTemporaryCache(le,j,!1);const se=this.generateAuthorityKey(I);this.setTemporaryCache(se,L,!1),$?this.setTemporaryCache(S.zH.CCS_CREDENTIAL,JSON.stringify({credential:$.homeAccountId,type:_.s.HOME_ACCOUNT_ID}),!0):B&&this.setTemporaryCache(S.zH.CCS_CREDENTIAL,JSON.stringify({credential:B,type:_.s.UPN}),!0)}resetRequestCache(I){this.logger.trace("BrowserCacheManager.resetRequestCache called"),I&&(this.getKeys().forEach(j=>{-1!==j.indexOf(I)&&this.removeItem(j)}),this.removeItem(this.generateStateKey(I)),this.removeItem(this.generateNonceKey(I)),this.removeItem(this.generateAuthorityKey(I))),this.removeItem(this.generateCacheKey(S.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(S.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(S.zH.URL_HASH)),this.removeItem(this.generateCacheKey(S.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(S.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(S.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(I){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),I){const j=this.generateStateKey(I),L=this.temporaryCacheStorage.getItem(j);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${L}`),this.resetRequestCache(L||d.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(I){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(j=>{if(-1===j.indexOf(S.zH.REQUEST_STATE))return;const L=this.temporaryCacheStorage.getItem(j);if(!L)return;const B=(0,E.Q)(this.cryptoImpl,L);B&&B.interactionType===I&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${L}`),this.resetRequestCache(L))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(I){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const j=(0,k.c9)(JSON.stringify(I));this.setTemporaryCache(S.zH.REQUEST_PARAMS,j,!0)}getCachedRequest(I){this.logger.trace("BrowserCacheManager.getCachedRequest called");const j=this.getTemporaryCache(S.zH.REQUEST_PARAMS,!0);if(!j)throw(0,f.Wq)(N.noTokenRequestCacheError);let L;try{L=JSON.parse((0,A.W)(j))}catch(B){throw this.logger.errorPii(`Attempted to parse: ${j}`),this.logger.error(`Parsing cached token request threw with error: ${B}`),(0,f.Wq)(N.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(S.zH.REQUEST_PARAMS)),!L.authority){const B=this.generateAuthorityKey(I),$=this.getTemporaryCache(B);if(!$)throw(0,f.Wq)(N.noCachedAuthorityError);L.authority=$}return L}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const I=this.getTemporaryCache(S.zH.NATIVE_REQUEST,!0);return I?this.validateAndParseJson(I)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(I){const j=this.getInteractionInProgress();return I?j===this.clientId:!!j}getInteractionInProgress(){return this.getTemporaryCache(`${d.Mv.CACHE_PREFIX}.${S.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(I){const j=`${d.Mv.CACHE_PREFIX}.${S.zH.INTERACTION_STATUS_KEY}`;if(I){if(this.getInteractionInProgress())throw(0,f.Wq)(N.interactionInProgress);this.setTemporaryCache(j,this.clientId,!1)}else!I&&this.getInteractionInProgress()===this.clientId&&this.removeItem(j)}getLegacyLoginHint(){const I=this.getTemporaryCache(d.IH.ADAL_ID_TOKEN);I&&(this.browserStorage.removeItem(d.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const j=this.getTemporaryCache(d.IH.ID_TOKEN,!0);j&&(this.removeItem(this.generateCacheKey(d.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const L=j||I;if(L){const B=C.aw(L,A.W);if(B.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),B.preferred_username;if(B.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),B.upn;this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, however, no account hint claim found. Enable preferred_username or upn id token claim to get SSO.")}return null}updateCredentialCacheKey(I,j){const L=a.AZ(j);if(I!==L){const B=this.getItem(I);if(B)return this.removeItem(I),this.setItem(L,B),this.logger.verbose(`Updated an outdated ${j.credentialType} cache key`),L;this.logger.error(`Attempted to update an outdated ${j.credentialType} cache key but no item matching the outdated key was found in storage`)}return I}getRedirectRequestContext(){return this.getTemporaryCache(S.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(I){this.setTemporaryCache(S.zH.REDIRECT_CONTEXT,I,!0)}hydrateCache(I,j){var L=this;return(0,n.c)(function*(){const B=a.YF(I.account?.homeAccountId,I.account?.environment,I.idToken,L.clientId,I.tenantId);let $;j.claims&&($=yield L.cryptoImpl.hashString(j.claims));const ee=a.MJ(I.account?.homeAccountId,I.account.environment,I.accessToken,L.clientId,I.tenantId,I.scopes.join(" "),I.expiresOn?.getTime()||0,I.extExpiresOn?.getTime()||0,A.W,void 0,I.tokenType,void 0,j.sshKid,j.claims,$),le=new b.O(void 0,B,ee);return L.saveCacheRecord(le)})()}}const T=(P,I)=>new F(P,{cacheLocation:S.Ir.MemoryStorage,temporaryCacheLocation:S.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},p.K,I)},71720:(ve,h,i)=>{"use strict";i.d(h,{K:()=>a});var n=i(72592),o=i(26956),d=i(85288);class a{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==o.Ir.LocalStorage&&e!==o.Ir.SessionStorage||!window[e])throw(0,n.cf)(d.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,l){this.windowStorage.setItem(e,l)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(ve,h,i)=>{"use strict";i.d(h,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(d){return this.cache.get(d)||null}setItem(d,a){this.cache.set(d,a)}removeItem(d){this.cache.delete(d)}getKeys(){const d=[];return this.cache.forEach((a,u)=>{d.push(u)}),d}containsKey(d){return this.cache.has(d)}clear(){this.cache.clear()}}},48124:(ve,h,i)=>{"use strict";i.d(h,{Ks:()=>E,k5:()=>N});var n=i(34739),o=i(65072),d=i(67952),a=i(73364),u=i(80660),e=i(28876),l=i(71408);const c={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(l.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(l.methodNotImplemented))};var g=i(35128),y=i(59684),_=i(32336),C=i(26956),b=i(64952),p=i(1528),f=i(4792),S=i(32828);class v{sendGetRequestAsync(T,P){var I=this;return(0,p.c)(function*(){let j;try{j=yield fetch(T,{method:C.yI.GET,headers:I.getFetchHeaders(P)})}catch{throw window.navigator.onLine?(0,f.Wq)(S.getRequestFailed):(0,f.Wq)(S.noNetworkConnectivity)}try{return{headers:I.getHeaderDict(j.headers),body:yield j.json(),status:j.status}}catch{throw(0,f.Wq)(S.failedToParseResponse)}})()}sendPostRequestAsync(T,P){var I=this;return(0,p.c)(function*(){const j=P&&P.body||n.Mv.EMPTY_STRING;let L;try{L=yield fetch(T,{method:C.yI.POST,headers:I.getFetchHeaders(P),body:j})}catch{throw window.navigator.onLine?(0,f.Wq)(S.postRequestFailed):(0,f.Wq)(S.noNetworkConnectivity)}try{return{headers:I.getHeaderDict(L.headers),body:yield L.json(),status:L.status}}catch{throw(0,f.Wq)(S.failedToParseResponse)}})()}getFetchHeaders(T){const P=new Headers;if(!T||!T.headers)return P;const I=T.headers;return Object.keys(I).forEach(j=>{P.append(j,I[j])}),P}getHeaderDict(T){const P={};return T.forEach((I,j)=>{P[j]=I}),P}}const M=6e4,E=1e4,A=3e4,k=2e3;function N({auth:F,cache:T,system:P,telemetry:I},j){const L={clientId:n.Mv.EMPTY_STRING,authority:`${n.Mv.DEFAULT_AUTHORITY}`,knownAuthorities:[],cloudDiscoveryMetadata:n.Mv.EMPTY_STRING,authorityMetadata:n.Mv.EMPTY_STRING,redirectUri:n.Mv.EMPTY_STRING,postLogoutRedirectUri:n.Mv.EMPTY_STRING,navigateToLoginRequestUrl:!0,clientCapabilities:[],protocolMode:o.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:d.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},B={cacheLocation:C.Ir.SessionStorage,temporaryCacheLocation:C.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!T||T.cacheLocation!==C.Ir.LocalStorage),claimsBasedCachingEnabled:!1},$={loggerCallback:()=>{},logLevel:a.G.Info,piiLoggingEnabled:!1},le={...{...u.k5,loggerOptions:$,networkClient:j?new v:c,navigationClient:new b.m,loadFrameTimeout:0,windowHashTimeout:P?.loadFrameTimeout||M,iframeHashTimeout:P?.loadFrameTimeout||E,navigateFrameWait:0,redirectNavigationTimeout:A,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:P?.nativeBrokerHandshakeTimeout||k,pollIntervalMilliseconds:C.ig.DEFAULT_POLL_INTERVAL_MS},...P,loggerOptions:P?.loggerOptions||$},se={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new g._};if(F?.protocolMode!==o.g.OIDC&&F?.OIDCOptions&&new a.Y(le.loggerOptions).warning(JSON.stringify((0,y.QN)(_.cannotSetOIDCOptions))),F?.protocolMode&&F.protocolMode!==o.g.AAD&&le?.allowNativeBroker)throw(0,y.QN)(_.cannotAllowNativeBroker);return{auth:{...L,...F,OIDCOptions:{...L.OIDCOptions,...F?.OIDCOptions}},cache:{...B,...T},system:le,telemetry:{...se,...I}}}},65304:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{StandardController:()=>ur});var n=i(1528),o=i(7184),d=i(65172),a=i(25988),e=i(67648),l=i(28876),c=i(34739),g=i(74968),y=i(59684),_=i(65072),C=i(67952),f=i(85348),S=i(14035);let v=(()=>{class on{constructor(W,ae,He,Pe){this.networkInterface=W,this.logger=ae,this.performanceClient=He,this.correlationId=Pe}detectRegion(W,ae){var He=this;return(0,n.c)(function*(){He.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryDetectRegion,He.correlationId);let Pe=W;if(Pe)ae.region_source=c.Q$.ENVIRONMENT_VARIABLE;else{const fe=on.IMDS_OPTIONS;try{const Te=yield(0,S.C)(He.getRegionFromIMDS.bind(He),f.Xv.RegionDiscoveryGetRegionFromIMDS,He.logger,He.performanceClient,He.correlationId)(c.Mv.IMDS_VERSION,fe);if(Te.status===c.sL.httpSuccess&&(Pe=Te.body,ae.region_source=c.Q$.IMDS),Te.status===c.sL.httpBadRequest){const ot=yield(0,S.C)(He.getCurrentVersion.bind(He),f.Xv.RegionDiscoveryGetCurrentVersion,He.logger,He.performanceClient,He.correlationId)(fe);if(!ot)return ae.region_source=c.Q$.FAILED_AUTO_DETECTION,null;const ht=yield(0,S.C)(He.getRegionFromIMDS.bind(He),f.Xv.RegionDiscoveryGetRegionFromIMDS,He.logger,He.performanceClient,He.correlationId)(ot,fe);ht.status===c.sL.httpSuccess&&(Pe=ht.body,ae.region_source=c.Q$.IMDS)}}catch{return ae.region_source=c.Q$.FAILED_AUTO_DETECTION,null}}return Pe||(ae.region_source=c.Q$.FAILED_AUTO_DETECTION),Pe||null})()}getRegionFromIMDS(W,ae){var He=this;return(0,n.c)(function*(){return He.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetRegionFromIMDS,He.correlationId),He.networkInterface.sendGetRequestAsync(`${c.Mv.IMDS_ENDPOINT}?api-version=${W}&format=text`,ae,c.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(W){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetCurrentVersion,ae.correlationId);try{const He=yield ae.networkInterface.sendGetRequestAsync(`${c.Mv.IMDS_ENDPOINT}?format=json`,W);return He.status===c.sL.httpBadRequest&&He.body&&He.body["newest-versions"]&&He.body["newest-versions"].length>0?He.body["newest-versions"][0]:null}catch{return null}})()}}return on.IMDS_OPTIONS={headers:{Metadata:"true"}},on})();var M=i(66936),E=i(72584),A=i(71408),k=i(32336);class N{constructor(H,W,ae,He,Pe,fe,Te){this.canonicalAuthority=H,this._canonicalAuthority.validateAsUri(),this.networkInterface=W,this.cacheManager=ae,this.authorityOptions=He,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=Pe,this.performanceClient=Te,this.correlationId=fe,this.regionDiscovery=new v(W,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(H){if(H.HostNameAndPort.endsWith(c.Mv.CIAM_AUTH_URL))return a.O.Ciam;const W=H.PathSegments;if(W.length)switch(W[0].toLowerCase()){case c.Mv.ADFS:return a.O.Adfs;case c.Mv.DSTS:return a.O.Dsts}return a.O.Default}get authorityType(){return this.getAuthorityType(this.canonicalAuthorityUrlComponents)}get protocolMode(){return this.authorityOptions.protocolMode}get options(){return this.authorityOptions}get canonicalAuthority(){return this._canonicalAuthority.urlString}set canonicalAuthority(H){this._canonicalAuthority=new e._(H),this._canonicalAuthority.validateAsUri(),this._canonicalAuthorityUrlComponents=null}get canonicalAuthorityUrlComponents(){return this._canonicalAuthorityUrlComponents||(this._canonicalAuthorityUrlComponents=this._canonicalAuthority.getUrlComponents()),this._canonicalAuthorityUrlComponents}get hostnameAndPort(){return this.canonicalAuthorityUrlComponents.HostNameAndPort.toLowerCase()}get tenant(){return this.canonicalAuthorityUrlComponents.PathSegments[0]}get authorizationEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.authorization_endpoint);throw(0,l.mQ)(A.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,l.mQ)(A.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,l.mQ)(A.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,l.mQ)(A.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,l.mQ)(A.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,l.mQ)(A.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,l.mQ)(A.endpointResolutionError)}canReplaceTenant(H){return 1===H.PathSegments.length&&!N.reservedTenantDomains.has(H.PathSegments[0])&&this.getAuthorityType(H)===a.O.Default&&this.protocolMode===_.g.AAD}replaceTenant(H){return H.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(H){let W=H;const He=new e._(this.metadata.canonical_authority).getUrlComponents(),Pe=He.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((Te,ot)=>{let ht=Pe[ot];if(0===ot&&this.canReplaceTenant(He)){const Ct=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];ht!==Ct&&(this.logger.verbose(`Replacing tenant domain name ${ht} with id ${Ct}`),ht=Ct)}Te!==ht&&(W=W.replace(`/${ht}/`,`/${Te}/`))}),this.replaceTenant(W)}get defaultOpenIdConfigurationEndpoint(){const H=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===a.O.Adfs||this.protocolMode!==_.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(H)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var H=this;return(0,n.c)(function*(){H.performanceClient?.addQueueMeasurement(f.Xv.AuthorityResolveEndpointsAsync,H.correlationId);const W=H.getCurrentMetadataEntity(),ae=yield(0,S.C)(H.updateCloudDiscoveryMetadata.bind(H),f.Xv.AuthorityUpdateCloudDiscoveryMetadata,H.logger,H.performanceClient,H.correlationId)(W);H.canonicalAuthority=H.canonicalAuthority.replace(H.hostnameAndPort,W.preferred_network);const He=yield(0,S.C)(H.updateEndpointMetadata.bind(H),f.Xv.AuthorityUpdateEndpointMetadata,H.logger,H.performanceClient,H.correlationId)(W);H.updateCachedMetadata(W,ae,{source:He}),H.performanceClient?.addFields({cloudDiscoverySource:ae,authorityEndpointSource:He},H.correlationId)})()}getCurrentMetadataEntity(){let H=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return H||(H={aliases:[],preferred_cache:this.hostnameAndPort,preferred_network:this.hostnameAndPort,canonical_authority:this.canonicalAuthority,authorization_endpoint:"",token_endpoint:"",end_session_endpoint:"",issuer:"",aliasesFromNetwork:!1,endpointsFromNetwork:!1,expiresAt:(0,E.gv)(),jwks_uri:""}),H}updateCachedMetadata(H,W,ae){W!==c.cv.CACHE&&ae?.source!==c.cv.CACHE&&(H.expiresAt=(0,E.gv)(),H.canonical_authority=this.canonicalAuthority);const He=this.cacheManager.generateAuthorityMetadataCacheKey(H.preferred_cache);this.cacheManager.setAuthorityMetadata(He,H),this.metadata=H}updateEndpointMetadata(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateEndpointMetadata,W.correlationId);const ae=W.updateEndpointMetadataFromLocalSources(H);if(ae){if(ae.source===c.cv.HARDCODED_VALUES&&W.authorityOptions.azureRegionConfiguration?.azureRegion&&ae.metadata){const Pe=yield(0,S.C)(W.updateMetadataWithRegionalInformation.bind(W),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,W.logger,W.performanceClient,W.correlationId)(ae.metadata);(0,E.sH)(H,Pe,!1),H.canonical_authority=W.canonicalAuthority}return ae.source}let He=yield(0,S.C)(W.getEndpointMetadataFromNetwork.bind(W),f.Xv.AuthorityGetEndpointMetadataFromNetwork,W.logger,W.performanceClient,W.correlationId)();if(He)return W.authorityOptions.azureRegionConfiguration?.azureRegion&&(He=yield(0,S.C)(W.updateMetadataWithRegionalInformation.bind(W),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,W.logger,W.performanceClient,W.correlationId)(He)),(0,E.sH)(H,He,!0),c.cv.NETWORK;throw(0,l.mQ)(A.openIdConfigError,W.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(H){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const W=this.getEndpointMetadataFromConfig();if(W)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,E.sH)(H,W,!1),{source:c.cv.CONFIG};if(this.logger.verbose("Did not find endpoint metadata in the config... Attempting to get endpoint metadata from the hardcoded values."),this.authorityOptions.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get endpoint metadata from the network metadata cache.");else{const He=this.getEndpointMetadataFromHardcodedValues();if(He)return(0,E.sH)(H,He,!1),{source:c.cv.HARDCODED_VALUES,metadata:He};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const ae=(0,E.mk)(H);return this.isAuthoritySameType(H)&&H.endpointsFromNetwork&&!ae?(this.logger.verbose("Found endpoint metadata in the cache."),{source:c.cv.CACHE}):(ae&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(H){return new e._(H.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,y.QN)(k.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var H=this;return(0,n.c)(function*(){H.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetEndpointMetadataFromNetwork,H.correlationId);const W={},ae=H.defaultOpenIdConfigurationEndpoint;H.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${ae}`);try{const He=yield H.networkInterface.sendGetRequestAsync(ae,W);return function u(on){return on.hasOwnProperty("authorization_endpoint")&&on.hasOwnProperty("token_endpoint")&&on.hasOwnProperty("issuer")&&on.hasOwnProperty("jwks_uri")}(He.body)?He.body:(H.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(He){return H.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${He}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in g.gB?g.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateMetadataWithRegionalInformation,W.correlationId);const ae=W.authorityOptions.azureRegionConfiguration?.azureRegion;if(ae){if(ae!==c.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return W.regionDiscoveryMetadata.region_outcome=c.wR.CONFIGURED_NO_AUTO_DETECTION,W.regionDiscoveryMetadata.region_used=ae,N.replaceWithRegionalInformation(H,ae);const He=yield(0,S.C)(W.regionDiscovery.detectRegion.bind(W.regionDiscovery),f.Xv.RegionDiscoveryDetectRegion,W.logger,W.performanceClient,W.correlationId)(W.authorityOptions.azureRegionConfiguration?.environmentRegion,W.regionDiscoveryMetadata);if(He)return W.regionDiscoveryMetadata.region_outcome=c.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,W.regionDiscoveryMetadata.region_used=He,N.replaceWithRegionalInformation(H,He);W.regionDiscoveryMetadata.region_outcome=c.wR.AUTO_DETECTION_REQUESTED_FAILED}return H})()}updateCloudDiscoveryMetadata(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateCloudDiscoveryMetadata,W.correlationId);const ae=W.updateCloudDiscoveryMetadataFromLocalSources(H);if(ae)return ae;const He=yield(0,S.C)(W.getCloudDiscoveryMetadataFromNetwork.bind(W),f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,W.logger,W.performanceClient,W.correlationId)();if(He)return(0,E.cb)(H,He,!0),c.cv.NETWORK;throw(0,y.QN)(k.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(H){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||c.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||c.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${H.canonical_authority||c.Mv.NOT_APPLICABLE}`);const W=this.getCloudDiscoveryMetadataFromConfig();if(W)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,E.cb)(H,W,!1),c.cv.CONFIG;if(this.logger.verbose("Did not find cloud discovery metadata in the config... Attempting to get cloud discovery metadata from the hardcoded values."),this.options.skipAuthorityMetadataCache)this.logger.verbose("Skipping hardcoded cloud discovery metadata cache since skipAuthorityMetadataCache is set to true. Attempting to get cloud discovery metadata from the network metadata cache.");else{const He=(0,g.UD)(this.hostnameAndPort);if(He)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,E.cb)(H,He,!1),c.cv.HARDCODED_VALUES;this.logger.verbose("Did not find cloud discovery metadata in hardcoded values... Attempting to get cloud discovery metadata from the network metadata cache.")}const ae=(0,E.mk)(H);return this.isAuthoritySameType(H)&&H.aliasesFromNetwork&&!ae?(this.logger.verbose("Found cloud discovery metadata in the cache."),c.cv.CACHE):(ae&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===a.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),N.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort);if(this.authorityOptions.cloudDiscoveryMetadata){this.logger.verbose("The cloud discovery metadata has been provided as a network response, in the config.");try{this.logger.verbose("Attempting to parse the cloud discovery metadata.");const H=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),W=(0,g._8)(H.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),W)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),W;this.logger.verbose("There is no metadata attached to the parsed cloud discovery metadata.")}catch{throw this.logger.verbose("Unable to parse the cloud discovery metadata. Throwing Invalid Cloud Discovery Metadata Error."),(0,y.QN)(k.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),N.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var H=this;return(0,n.c)(function*(){H.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,H.correlationId);const W=`${c.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${H.canonicalAuthority}oauth2/v2.0/authorize`,ae={};let He=null;try{const Pe=yield H.networkInterface.sendGetRequestAsync(W,ae);let fe,Te;if(function b(on){return on.hasOwnProperty("tenant_discovery_endpoint")&&on.hasOwnProperty("metadata")}(Pe.body))fe=Pe.body,Te=fe.metadata,H.logger.verbosePii(`tenant_discovery_endpoint is: ${fe.tenant_discovery_endpoint}`);else{if(!function p(on){return on.hasOwnProperty("error")&&on.hasOwnProperty("error_description")}(Pe.body))return H.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(H.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${Pe.status}`),fe=Pe.body,fe.error===c.Mv.INVALID_INSTANCE)return H.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;H.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${fe.error}`),H.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${fe.error_description}`),H.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),Te=[]}H.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),He=(0,g._8)(Te,H.hostnameAndPort)}catch(Pe){return H.logger.error(Pe instanceof M.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${Pe.errorCode}\nError Description: ${Pe.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${Pe.name}\nError Description: ${Pe.message}`),null}return He||(H.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),H.logger.verbose("Creating custom Authority for custom domain scenario."),He=N.createCloudDiscoveryMetadataFromHost(H.hostnameAndPort)),He})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(W=>W&&e._.getDomainFromUrl(W).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(H,W){let ae;return W&&W.azureCloudInstance!==C.C.None&&(ae=`${W.azureCloudInstance}/${W.tenant?W.tenant:c.Mv.DEFAULT_COMMON_TENANT}/`),ae||H}static createCloudDiscoveryMetadataFromHost(H){return{preferred_network:H,preferred_cache:H,aliases:[H]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,l.mQ)(A.endpointResolutionError)}isAlias(H){return this.metadata.aliases.indexOf(H)>-1}isAliasOfKnownMicrosoftAuthority(H){return g.IP.has(H)}static isPublicCloudAuthority(H){return c.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(H)>=0}static buildRegionalAuthorityString(H,W,ae){const He=new e._(H);He.validateAsUri();const Pe=He.getUrlComponents();let fe=`${W}.${Pe.HostNameAndPort}`;this.isPublicCloudAuthority(Pe.HostNameAndPort)&&(fe=`${W}.${c.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const Te=e._.constructAuthorityUriFromObject({...He.getUrlComponents(),HostNameAndPort:fe}).urlString;return ae?`${Te}?${ae}`:Te}static replaceWithRegionalInformation(H,W){const ae={...H};return ae.authorization_endpoint=N.buildRegionalAuthorityString(ae.authorization_endpoint,W),ae.token_endpoint=N.buildRegionalAuthorityString(ae.token_endpoint,W),ae.end_session_endpoint&&(ae.end_session_endpoint=N.buildRegionalAuthorityString(ae.end_session_endpoint,W)),ae}static transformCIAMAuthority(H){let W=H;const He=new e._(H).getUrlComponents();return 0===He.PathSegments.length&&He.HostNameAndPort.endsWith(c.Mv.CIAM_AUTH_URL)&&(W=`${W}${He.HostNameAndPort.split(".")[0]}${c.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),W}}function T(on){return on.endsWith(c.Mv.FORWARD_SLASH)?on:`${on}${c.Mv.FORWARD_SLASH}`}N.reservedTenantDomains=new Set(["{tenant}","{tenantid}",c.sN.COMMON,c.sN.CONSUMERS,c.sN.ORGANIZATIONS]);var I=i(53408),j=i(98416),L=i(72896),B=i(69812),$=i(26956),ee=i(84644),le=i(28612),se=i(72592),K=i(85968),Q=i(76944);class re{static generateThrottlingStorageKey(H){return`${c.gr.THROTTLING_PREFIX}.${JSON.stringify(H)}`}static preProcess(H,W){const ae=re.generateThrottlingStorageKey(W),He=H.getThrottlingCache(ae);if(He){if(He.throttleTime=500&&H.status<600}static checkResponseForRetryAfter(H){return!!H.headers&&H.headers.hasOwnProperty(c.MF.RETRY_AFTER)&&(H.status<200||H.status>=300)}static calculateThrottleTime(H){const W=H<=0?0:H,ae=Date.now()/1e3;return Math.floor(1e3*Math.min(ae+(W||c.gr.DEFAULT_THROTTLE_TIME_SECONDS),ae+c.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(H,W,ae,He){const fe=this.generateThrottlingStorageKey({clientId:W,authority:ae.authority,scopes:ae.scopes,homeAccountIdentifier:He,claims:ae.claims,authenticationScheme:ae.authenticationScheme,resourceRequestMethod:ae.resourceRequestMethod,resourceRequestUri:ae.resourceRequestUri,shrClaims:ae.shrClaims,sshKid:ae.sshKid});H.removeItem(fe)}}var X=i(86144),z=i(80660);class Y{constructor(H,W){this.networkClient=H,this.cacheManager=W}sendPostRequest(H,W,ae){var He=this;return(0,n.c)(function*(){let Pe;re.preProcess(He.cacheManager,H);try{Pe=yield He.networkClient.sendPostRequestAsync(W,ae)}catch(fe){throw fe instanceof M.WM?fe:(0,l.mQ)(A.networkError)}return re.postProcess(He.cacheManager,H,Pe),Pe})()}}var q=i(73364),de=i(75205),me=i(16256),Oe=i(22045),Re=i(33363);function Ae(on,H,W,ae,He,Pe,fe){return ge.apply(this,arguments)}function ge(){return(ge=(0,n.c)(function*(on,H,W,ae,He,Pe,fe){fe?.addQueueMeasurement(f.Xv.AuthorityFactoryCreateDiscoveredInstance,Pe);const Te=N.transformCIAMAuthority(T(on)),ot=new N(Te,H,W,ae,He,Pe,fe);try{return yield(0,S.C)(ot.resolveEndpointsAsync.bind(ot),f.Xv.AuthorityResolveEndpointsAsync,He,fe,Pe)(),ot}catch{throw(0,l.mQ)(A.endpointResolutionError)}})).apply(this,arguments)}class Ne{constructor(H,W){this.config=(0,z.cJ)(H),this.logger=new q.Y(this.config.loggerOptions,de.N,de.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Y(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=W}createTokenRequestHeaders(H){const W={};if(W[c.MF.CONTENT_TYPE]=c.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&H)switch(H.type){case me.s.HOME_ACCOUNT_ID:try{const ae=(0,Oe.k)(H.credential);W[c.MF.CCS_HEADER]=`Oid:${ae.uid}@${ae.utid}`}catch(ae){this.logger.verbose("Could not parse home account ID for CCS Header: "+ae)}break;case me.s.UPN:W[c.MF.CCS_HEADER]=`UPN: ${H.credential}`}return W}executePostToTokenEndpoint(H,W,ae,He,Pe,fe){var Te=this;return(0,n.c)(function*(){fe&&Te.performanceClient?.addQueueMeasurement(fe,Pe);const ot=yield Te.networkManager.sendPostRequest(He,H,{body:W,headers:ae});return Te.performanceClient?.addFields({refreshTokenSize:ot.body.refresh_token?.length||0,httpVerToken:ot.headers?.[c.MF.X_MS_HTTP_VERSION]||""},Pe),Te.config.serverTelemetryManager&&ot.status<500&&429!==ot.status&&Te.config.serverTelemetryManager.clearTelemetryCache(),ot})()}updateAuthority(H,W){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.UpdateTokenEndpointAuthority,W);const He=`https://${H}/${ae.authority.tenant}/`,Pe=yield Ae(He,ae.networkClient,ae.cacheManager,ae.authority.options,ae.logger,W,ae.performanceClient);ae.authority=Pe})()}createTokenQueryParameters(H){const W=new Re.I;return H.tokenQueryParameters&&W.addExtraQueryParameters(H.tokenQueryParameters),W.createQueryString()}}var it=i(91076),qe=i(95248),et=i(9488),De=i(46392);class je{constructor(H,W){this.cache=H,this.hasChanged=W}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var Ie=i(6400),bt=i(79032),Qe=i(60928);class Ut{constructor(H,W,ae,He,Pe,fe,Te){this.clientId=H,this.cacheStorage=W,this.cryptoObj=ae,this.logger=He,this.serializableCache=Pe,this.persistencePlugin=fe,this.performanceClient=Te}validateServerAuthorizationCodeResponse(H,W){if(!H.state||!W)throw(0,l.mQ)(A.stateNotFound,H.state?"Cached State":"Server State");let ae,He;try{ae=decodeURIComponent(H.state)}catch{throw(0,l.mQ)(A.invalidState,H.state)}try{He=decodeURIComponent(W)}catch{throw(0,l.mQ)(A.invalidState,H.state)}if(ae!==He)throw(0,l.mQ)(A.stateMismatch);if(H.error||H.error_description||H.suberror)throw(0,I.aq)(H.error,H.error_description,H.suberror)?new I.uw(H.error||"",H.error_description,H.suberror,H.timestamp||"",H.trace_id||"",H.correlation_id||"",H.claims||""):new Q.s(H.error||"",H.error_description,H.suberror)}validateTokenResponse(H,W){if(H.error||H.error_description||H.suberror){const He=new Q.s(H.error,`${H.error_codes} - [${H.timestamp}]: ${H.error_description} - Correlation ID: ${H.correlation_id} - Trace ID: ${H.trace_id}`,H.suberror);if(W&&H.status&&H.status>=c.Q3.SERVER_ERROR_RANGE_START&&H.status<=c.Q3.SERVER_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently unavailable and the access token is unable to be refreshed.\n${He}`);if(W&&H.status&&H.status>=c.Q3.CLIENT_ERROR_RANGE_START&&H.status<=c.Q3.CLIENT_ERROR_RANGE_END)return void this.logger.warning(`executeTokenRequest:validateTokenResponse - AAD is currently available but is unable to refresh the access token.\n${He}`);throw(0,I.aq)(H.error,H.error_description,H.suberror)?new I.uw(H.error,H.error_description,H.suberror,H.timestamp||c.Mv.EMPTY_STRING,H.trace_id||c.Mv.EMPTY_STRING,H.correlation_id||c.Mv.EMPTY_STRING,H.claims||c.Mv.EMPTY_STRING):He}}handleServerTokenResponse(H,W,ae,He,Pe,fe,Te,ot,ht){var Ct=this;return(0,n.c)(function*(){let Lt,Kt;if(Ct.performanceClient?.addQueueMeasurement(f.Xv.HandleServerTokenResponse,H.correlation_id),H.id_token){if(Lt=(0,Ie.aw)(H.id_token||c.Mv.EMPTY_STRING,Ct.cryptoObj.base64Decode),Pe&&Pe.nonce&&Lt.nonce!==Pe.nonce)throw(0,l.mQ)(A.nonceMismatch);if(He.maxAge||0===He.maxAge){const mn=Lt.auth_time;if(!mn)throw(0,l.mQ)(A.authTimeNotFound);(0,Ie.UH)(mn,He.maxAge)}}Ct.homeAccountIdentifier=j.M.generateHomeAccountId(H.client_info||c.Mv.EMPTY_STRING,W.authorityType,Ct.logger,Ct.cryptoObj,Lt),Pe&&Pe.state&&(Kt=X.c.parseRequestState(Ct.cryptoObj,Pe.state)),H.key_id=H.key_id||He.sshKid||void 0;const dn=Ct.generateCacheRecord(H,W,ae,He,Lt,fe,Pe);let fn;try{if(Ct.persistencePlugin&&Ct.serializableCache&&(Ct.logger.verbose("Persistence enabled, calling beforeCacheAccess"),fn=new je(Ct.serializableCache,!0),yield Ct.persistencePlugin.beforeCacheAccess(fn)),Te&&!ot&&dn.account){const mn=dn.account.generateAccountKey();if(!Ct.cacheStorage.getAccount(mn,Ct.logger))return Ct.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Ut.generateAuthenticationResult(Ct.cryptoObj,W,dn,!1,He,Lt,Kt,void 0,ht)}yield Ct.cacheStorage.saveCacheRecord(dn,He.storeInCache)}finally{Ct.persistencePlugin&&Ct.serializableCache&&fn&&(Ct.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield Ct.persistencePlugin.afterCacheAccess(fn))}return Ut.generateAuthenticationResult(Ct.cryptoObj,W,dn,!1,He,Lt,Kt,H,ht)})()}generateCacheRecord(H,W,ae,He,Pe,fe,Te){const ot=W.getPreferredCache();if(!ot)throw(0,l.mQ)(A.invalidCacheEnvironment);const ht=(0,bt.c)(Pe);let Ct,Lt;H.id_token&&Pe&&(Ct=(0,E.YF)(this.homeAccountIdentifier,ot,H.id_token,this.clientId,ht||""),Lt=sn(this.cacheStorage,W,this.homeAccountIdentifier,Pe,this.cryptoObj.base64Decode,H.client_info,ot,ht,Te,void 0,this.logger));let Kt=null;if(H.access_token){const mn=H.scope?qe.k.fromString(H.scope):new qe.k(He.scopes||[]),ln=("string"==typeof H.expires_in?parseInt(H.expires_in,10):H.expires_in)||0,Yt=("string"==typeof H.ext_expires_in?parseInt(H.ext_expires_in,10):H.ext_expires_in)||0,Ln=("string"==typeof H.refresh_in?parseInt(H.refresh_in,10):H.refresh_in)||void 0,lr=ae+ln,cr=lr+Yt,Nr=Ln&&Ln>0?ae+Ln:void 0;Kt=(0,E.MJ)(this.homeAccountIdentifier,ot,H.access_token,this.clientId,ht||W.tenant||"",mn.printScopes(),lr,cr,this.cryptoObj.base64Decode,Nr,H.token_type,fe,H.key_id,He.claims,He.requestedClaimsHash)}let dn=null;if(H.refresh_token){let mn;H.refresh_token_expires_in&&(mn=ae+("string"==typeof H.refresh_token_expires_in?parseInt(H.refresh_token_expires_in,10):H.refresh_token_expires_in)),dn=(0,E._c)(this.homeAccountIdentifier,ot,H.refresh_token,this.clientId,H.foci,fe,mn)}let fn=null;return H.foci&&(fn={clientId:this.clientId,environment:ot,familyId:H.foci}),new et.O(Lt,Ct,Kt,dn,fn)}static generateAuthenticationResult(H,W,ae,He,Pe,fe,Te,ot,ht){return(0,n.c)(function*(){let dn,fn,Ct=c.Mv.EMPTY_STRING,Lt=[],Kt=null,mn=c.Mv.EMPTY_STRING;if(ae.accessToken){if(ae.accessToken.tokenType===c.me.POP){const lr=new De.w(H),{secret:cr,keyId:Nr}=ae.accessToken;if(!Nr)throw(0,l.mQ)(A.keyIdMissing);Ct=yield lr.signPopToken(cr,Nr,Pe)}else Ct=ae.accessToken.secret;Lt=qe.k.fromString(ae.accessToken.target).asArray(),Kt=new Date(1e3*Number(ae.accessToken.expiresOn)),dn=new Date(1e3*Number(ae.accessToken.extendedExpiresOn)),ae.accessToken.refreshOn&&(fn=new Date(1e3*Number(ae.accessToken.refreshOn)))}ae.appMetadata&&(mn=ae.appMetadata.familyId===c.wj?c.wj:"");const ln=fe?.oid||fe?.sub||"",Yt=fe?.tid||"";ot?.spa_accountid&&ae.account&&(ae.account.nativeAccountId=ot?.spa_accountid);const Ln=ae.account?(0,Qe.Ho)(ae.account.getAccountInfo(),void 0,fe,ae.idToken?.secret):null;return{authority:W.canonicalAuthority,uniqueId:ln,tenantId:Yt,scopes:Lt,account:Ln,idToken:ae?.idToken?.secret||"",idTokenClaims:fe||{},accessToken:Ct,fromCache:He,expiresOn:Kt,extExpiresOn:dn,refreshOn:fn,correlationId:Pe.correlationId,requestId:ht||c.Mv.EMPTY_STRING,familyId:mn,tokenType:ae.accessToken?.tokenType||c.Mv.EMPTY_STRING,state:Te?Te.userRequestState:c.Mv.EMPTY_STRING,cloudGraphHostName:ae.account?.cloudGraphHostName||c.Mv.EMPTY_STRING,msGraphHost:ae.account?.msGraphHost||c.Mv.EMPTY_STRING,code:ot?.spa_code,fromNativeBroker:!1}})()}}function sn(on,H,W,ae,He,Pe,fe,Te,ot,ht,Ct){Ct?.verbose("setCachedAccount called");const Kt=on.getAccountKeys().find(ln=>ln.startsWith(W));let dn=null;Kt&&(dn=on.getAccount(Kt,Ct));const fn=dn||j.M.createAccount({homeAccountId:W,idTokenClaims:ae,clientInfo:Pe,environment:fe,cloudGraphHostName:ot?.cloud_graph_host_name,msGraphHost:ot?.msgraph_host,nativeAccountId:ht},H,He),mn=fn.tenantProfiles||[];if(Te&&!mn.find(ln=>ln.tenantId===Te)){const ln=(0,Qe.EJ)(W,ae);mn.push(ln)}return fn.tenantProfiles=mn,fn}var un=i(7828),Sn=i(50160),bn=i(77768);class kt extends Ne{constructor(H,W){super(H,W),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.GetAuthCodeUrl,H.correlationId);const ae=yield(0,S.C)(W.createAuthCodeUrlQueryString.bind(W),f.Xv.AuthClientCreateQueryString,W.logger,W.performanceClient,H.correlationId)(H);return e._.appendQueryString(W.authority.authorizationEndpoint,ae)})()}acquireToken(H,W){var ae=this;return(0,n.c)(function*(){if(ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientAcquireToken,H.correlationId),!H.code)throw(0,l.mQ)(A.requestCannotBeMade);const He=(0,Sn.GO)(),Pe=yield(0,S.C)(ae.executeTokenRequest.bind(ae),f.Xv.AuthClientExecuteTokenRequest,ae.logger,ae.performanceClient,H.correlationId)(ae.authority,H),fe=Pe.headers?.[c.MF.X_MS_REQUEST_ID],Te=new Ut(ae.config.authOptions.clientId,ae.cacheManager,ae.cryptoUtils,ae.logger,ae.config.serializableCache,ae.config.persistencePlugin,ae.performanceClient);return Te.validateTokenResponse(Pe.body),(0,S.C)(Te.handleServerTokenResponse.bind(Te),f.Xv.HandleServerTokenResponse,ae.logger,ae.performanceClient,H.correlationId)(Pe.body,ae.authority,He,H,W,void 0,void 0,void 0,fe)})()}handleFragmentResponse(H,W){if(new Ut(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(H,W),!H.code)throw(0,l.mQ)(A.authorizationCodeMissingFromServerResponse);return H}getLogoutUri(H){if(!H)throw(0,y.QN)(k.logoutRequestEmpty);const W=this.createLogoutUrlQueryString(H);return e._.appendQueryString(this.authority.endSessionEndpoint,W)}executeTokenRequest(H,W){var ae=this;return(0,n.c)(function*(){ae.performanceClient?.addQueueMeasurement(f.Xv.AuthClientExecuteTokenRequest,W.correlationId);const He=ae.createTokenQueryParameters(W),Pe=e._.appendQueryString(H.tokenEndpoint,He),fe=yield(0,S.C)(ae.createTokenRequestBody.bind(ae),f.Xv.AuthClientCreateTokenRequestBody,ae.logger,ae.performanceClient,W.correlationId)(W);let Te;if(W.clientInfo)try{const Ct=(0,Oe.G)(W.clientInfo,ae.cryptoUtils.base64Decode);Te={credential:`${Ct.uid}${c.Mj.CLIENT_INFO_SEPARATOR}${Ct.utid}`,type:me.s.HOME_ACCOUNT_ID}}catch(Ct){ae.logger.verbose("Could not parse client info for CCS Header: "+Ct)}const ot=ae.createTokenRequestHeaders(Te||W.ccsCredential),ht={clientId:W.tokenBodyParameters?.clientId||ae.config.authOptions.clientId,authority:H.canonicalAuthority,scopes:W.scopes,claims:W.claims,authenticationScheme:W.authenticationScheme,resourceRequestMethod:W.resourceRequestMethod,resourceRequestUri:W.resourceRequestUri,shrClaims:W.shrClaims,sshKid:W.sshKid};return(0,S.C)(ae.executePostToTokenEndpoint.bind(ae),f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,ae.logger,ae.performanceClient,W.correlationId)(Pe,fe,ot,ht,W.correlationId,f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateTokenRequestBody,H.correlationId);const ae=new Re.I;if(ae.addClientId(H.tokenBodyParameters?.[it._k]||W.config.authOptions.clientId),W.includeRedirectUri?ae.addRedirectUri(H.redirectUri):bn.e.validateRedirectUri(H.redirectUri),ae.addScopes(H.scopes,!0,W.oidcDefaultScopes),ae.addAuthorizationCode(H.code),ae.addLibraryInfo(W.config.libraryInfo),ae.addApplicationTelemetry(W.config.telemetry.application),ae.addThrottling(),W.serverTelemetryManager&&!(0,z.qW)(W.config)&&ae.addServerTelemetry(W.serverTelemetryManager),H.codeVerifier&&ae.addCodeVerifier(H.codeVerifier),W.config.clientCredentials.clientSecret&&ae.addClientSecret(W.config.clientCredentials.clientSecret),W.config.clientCredentials.clientAssertion){const fe=W.config.clientCredentials.clientAssertion;ae.addClientAssertion(fe.assertion),ae.addClientAssertionType(fe.assertionType)}if(ae.addGrantType(c.Ku.AUTHORIZATION_CODE_GRANT),ae.addClientInfo(),H.authenticationScheme===c.me.POP){const fe=new De.w(W.cryptoUtils,W.performanceClient),Te=yield(0,S.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,W.logger,W.performanceClient,H.correlationId)(H,W.logger);ae.addPopToken(Te.reqCnfString)}else if(H.authenticationScheme===c.me.SSH){if(!H.sshJwk)throw(0,y.QN)(k.missingSshJwk);ae.addSshJwk(H.sshJwk)}const He=H.correlationId||W.config.cryptoInterface.createNewGuid();let Pe;if(ae.addCorrelationId(He),(!un.e.isEmptyObj(H.claims)||W.config.authOptions.clientCapabilities&&W.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(H.claims,W.config.authOptions.clientCapabilities),H.clientInfo)try{const fe=(0,Oe.G)(H.clientInfo,W.cryptoUtils.base64Decode);Pe={credential:`${fe.uid}${c.Mj.CLIENT_INFO_SEPARATOR}${fe.utid}`,type:me.s.HOME_ACCOUNT_ID}}catch(fe){W.logger.verbose("Could not parse client info for CCS Header: "+fe)}else Pe=H.ccsCredential;if(W.config.systemOptions.preventCorsPreflight&&Pe)switch(Pe.type){case me.s.HOME_ACCOUNT_ID:try{const fe=(0,Oe.k)(Pe.credential);ae.addCcsOid(fe)}catch(fe){W.logger.verbose("Could not parse home account ID for CCS Header: "+fe)}break;case me.s.UPN:ae.addCcsUpn(Pe.credential)}return H.tokenBodyParameters&&ae.addExtraQueryParameters(H.tokenBodyParameters),H.enableSpaAuthorizationCode&&(!H.tokenBodyParameters||!H.tokenBodyParameters[it.SS])&&ae.addExtraQueryParameters({[it.SS]:"1"}),ae.createQueryString()})()}createAuthCodeUrlQueryString(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateQueryString,H.correlationId);const ae=new Re.I;ae.addClientId(H.extraQueryParameters?.[it._k]||W.config.authOptions.clientId);const He=[...H.scopes||[],...H.extraScopesToConsent||[]];ae.addScopes(He,!0,W.oidcDefaultScopes),ae.addRedirectUri(H.redirectUri);const Pe=H.correlationId||W.config.cryptoInterface.createNewGuid();if(ae.addCorrelationId(Pe),ae.addResponseMode(H.responseMode),ae.addResponseTypeCode(),ae.addLibraryInfo(W.config.libraryInfo),(0,z.qW)(W.config)||ae.addApplicationTelemetry(W.config.telemetry.application),ae.addClientInfo(),H.codeChallenge&&H.codeChallengeMethod&&ae.addCodeChallengeParams(H.codeChallenge,H.codeChallengeMethod),H.prompt&&ae.addPrompt(H.prompt),H.domainHint&&ae.addDomainHint(H.domainHint),H.prompt!==c.GI.SELECT_ACCOUNT)if(H.sid&&H.prompt===c.GI.NONE)W.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),ae.addSid(H.sid);else if(H.account){const fe=W.extractAccountSid(H.account),Te=W.extractLoginHint(H.account);if(Te){W.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),ae.addLoginHint(Te);try{const ot=(0,Oe.k)(H.account.homeAccountId);ae.addCcsOid(ot)}catch{W.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(fe&&H.prompt===c.GI.NONE){W.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),ae.addSid(fe);try{const ot=(0,Oe.k)(H.account.homeAccountId);ae.addCcsOid(ot)}catch{W.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(H.loginHint)W.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),ae.addLoginHint(H.loginHint),ae.addCcsUpn(H.loginHint);else if(H.account.username){W.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),ae.addLoginHint(H.account.username);try{const ot=(0,Oe.k)(H.account.homeAccountId);ae.addCcsOid(ot)}catch{W.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else H.loginHint&&(W.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),ae.addLoginHint(H.loginHint),ae.addCcsUpn(H.loginHint));else W.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(H.nonce&&ae.addNonce(H.nonce),H.state&&ae.addState(H.state),(H.claims||W.config.authOptions.clientCapabilities&&W.config.authOptions.clientCapabilities.length>0)&&ae.addClaims(H.claims,W.config.authOptions.clientCapabilities),H.extraQueryParameters&&ae.addExtraQueryParameters(H.extraQueryParameters),H.nativeBroker&&(ae.addNativeBroker(),H.authenticationScheme===c.me.POP)){const fe=new De.w(W.cryptoUtils),Te=yield(0,S.C)(fe.generateCnf.bind(fe),f.Xv.PopTokenGenerateCnf,W.logger,W.performanceClient,H.correlationId)(H,W.logger);ae.addPopToken(Te.reqCnfHash)}return ae.createQueryString()})()}createLogoutUrlQueryString(H){const W=new Re.I;return H.postLogoutRedirectUri&&W.addPostLogoutRedirectUri(H.postLogoutRedirectUri),H.correlationId&&W.addCorrelationId(H.correlationId),H.idTokenHint&&W.addIdTokenHint(H.idTokenHint),H.state&&W.addState(H.state),H.logoutHint&&W.addLogoutHint(H.logoutHint),H.extraQueryParameters&&W.addExtraQueryParameters(H.extraQueryParameters),W.createQueryString()}extractAccountSid(H){return H.idTokenClaims?.sid||null}extractLoginHint(H){return H.idTokenClaims?.login_hint||null}}class jt{constructor(H,W){this.cacheOutcome=c.Mf.NOT_APPLICABLE,this.cacheManager=W,this.apiId=H.apiId,this.correlationId=H.correlationId,this.wrapperSKU=H.wrapperSKU||c.Mv.EMPTY_STRING,this.wrapperVer=H.wrapperVer||c.Mv.EMPTY_STRING,this.telemetryCacheKey=c.ic.CACHE_KEY+c.Mj.CACHE_KEY_SEPARATOR+H.clientId}generateCurrentRequestHeaderValue(){const H=`${this.apiId}${c.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,W=[this.wrapperSKU,this.wrapperVer].join(c.ic.VALUE_SEPARATOR),He=[H,this.getRegionDiscoveryFields()].join(c.ic.VALUE_SEPARATOR);return[c.ic.SCHEMA_VERSION,He,W].join(c.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const H=this.getLastRequests(),W=jt.maxErrorsToSend(H),ae=H.failedRequests.slice(0,2*W).join(c.ic.VALUE_SEPARATOR),He=H.errors.slice(0,W).join(c.ic.VALUE_SEPARATOR),Pe=H.errors.length,Te=[Pe,W=c.ic.MAX_CACHED_ERRORS&&(W.failedRequests.shift(),W.failedRequests.shift(),W.errors.shift()),W.failedRequests.push(this.apiId,this.correlationId),H instanceof Error&&H&&H.toString()?W.errors.push(H instanceof M.WM?H.subError?H.subError:H.errorCode?H.errorCode:H.toString():H.toString()):W.errors.push(c.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,W)}incrementCacheHits(){const H=this.getLastRequests();return H.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,H),H.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const H=this.getLastRequests(),W=jt.maxErrorsToSend(H);if(W===H.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const He={failedRequests:H.failedRequests.slice(2*W),errors:H.errors.slice(W),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,He)}}static maxErrorsToSend(H){let W,ae=0,He=0;const Pe=H.errors.length;for(W=0;W0)&&He.addClaims(H.claims,W.config.authOptions.clientCapabilities),W.config.systemOptions.preventCorsPreflight&&H.ccsCredential)switch(H.ccsCredential.type){case me.s.HOME_ACCOUNT_ID:try{const Pe=(0,Oe.k)(H.ccsCredential.credential);He.addCcsOid(Pe)}catch(Pe){W.logger.verbose("Could not parse home account ID for CCS Header: "+Pe)}break;case me.s.UPN:He.addCcsUpn(H.ccsCredential.credential)}return H.tokenBodyParameters&&He.addExtraQueryParameters(H.tokenBodyParameters),He.createQueryString()})()}}class Mr extends Ne{constructor(H,W){super(H,W)}acquireToken(H){var W=this;return(0,n.c)(function*(){try{const[ae,He]=yield W.acquireCachedToken(H);return He===c.Mf.PROACTIVELY_REFRESHED&&(W.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new sr(W.config,W.performanceClient).acquireTokenByRefreshToken(H).catch(()=>{})),ae}catch(ae){if(ae instanceof l.oJ&&ae.errorCode===A.tokenRefreshRequired)return new sr(W.config,W.performanceClient).acquireTokenByRefreshToken(H);throw ae}})()}acquireCachedToken(H){var W=this;return(0,n.c)(function*(){W.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientAcquireCachedToken,H.correlationId);let ae=c.Mf.NOT_APPLICABLE;if(H.forceRefresh||!W.config.cacheOptions.claimsBasedCachingEnabled&&!un.e.isEmptyObj(H.claims))throw W.setCacheOutcome(c.Mf.FORCE_REFRESH_OR_CLAIMS,H.correlationId),(0,l.mQ)(A.tokenRefreshRequired);if(!H.account)throw(0,l.mQ)(A.noAccountInSilentRequest);const He=H.account.tenantId||function F(on){const ae=new e._(on).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(ae){case c.sN.COMMON:case c.sN.ORGANIZATIONS:case c.sN.CONSUMERS:return;default:return ae}}(H.authority),Pe=W.cacheManager.getTokenKeys(),fe=W.cacheManager.getAccessToken(H.account,H,Pe,He,W.performanceClient,H.correlationId);if(!fe)throw W.setCacheOutcome(c.Mf.NO_CACHED_ACCESS_TOKEN,H.correlationId),(0,l.mQ)(A.tokenRefreshRequired);if((0,Sn.G4)(fe.cachedAt)||(0,Sn.WY)(fe.expiresOn,W.config.systemOptions.tokenRenewalOffsetSeconds))throw W.setCacheOutcome(c.Mf.CACHED_ACCESS_TOKEN_EXPIRED,H.correlationId),(0,l.mQ)(A.tokenRefreshRequired);fe.refreshOn&&(0,Sn.WY)(fe.refreshOn,0)&&(ae=c.Mf.PROACTIVELY_REFRESHED);const Te=H.authority||W.authority.getPreferredCache(),ot={account:W.cacheManager.readAccountFromCache(H.account),accessToken:fe,idToken:W.cacheManager.getIdToken(H.account,Pe,He,W.performanceClient,H.correlationId),refreshToken:null,appMetadata:W.cacheManager.readAppMetadataFromCache(Te)};return W.setCacheOutcome(ae,H.correlationId),W.config.serverTelemetryManager&&W.config.serverTelemetryManager.incrementCacheHits(),[yield(0,S.C)(W.generateResultFromCacheRecord.bind(W),f.Xv.SilentFlowClientGenerateResultFromCacheRecord,W.logger,W.performanceClient,H.correlationId)(ot,H),ae]})()}setCacheOutcome(H,W){this.serverTelemetryManager?.setCacheOutcome(H),this.performanceClient?.addFields({cacheOutcome:H},W),H!==c.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${H}`)}generateResultFromCacheRecord(H,W){var ae=this;return(0,n.c)(function*(){let He;if(ae.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientGenerateResultFromCacheRecord,W.correlationId),H.idToken&&(He=(0,Ie.aw)(H.idToken.secret,ae.config.cryptoInterface.base64Decode)),W.maxAge||0===W.maxAge){const Pe=He?.auth_time;if(!Pe)throw(0,l.mQ)(A.authTimeNotFound);(0,Ie.UH)(Pe,W.maxAge)}return Ut.generateAuthenticationResult(ae.cryptoUtils,ae.authority,H,!0,W,He)})()}}class br extends pn{acquireToken(H){var W=this;return(0,n.c)(function*(){W.performanceClient.addQueueMeasurement(f.Xv.SilentCacheClientAcquireToken,H.correlationId);const ae=W.initializeServerTelemetryManager($.Ed.acquireTokenSilent_silentFlow),He=yield W.createSilentFlowClient(ae,H.authority,H.azureCloudOptions,H.account);W.logger.verbose("Silent auth client created");try{const fe=(yield(0,S.C)(He.acquireCachedToken.bind(He),f.Xv.SilentFlowClientAcquireCachedToken,W.logger,W.performanceClient,H.correlationId)(H))[0];return W.performanceClient.addFields({fromCache:!0},H.correlationId),fe}catch(Pe){throw Pe instanceof Ce.G&&Pe.errorCode===Je.cryptoKeyNotFound&&W.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),Pe}})()}logout(H){this.logger.verbose("logoutRedirect called");const W=this.initializeLogoutRequest(H);return this.clearCacheOnLogout(W?.account)}createSilentFlowClient(H,W,ae,He){var Pe=this;return(0,n.c)(function*(){const fe=yield(0,S.C)(Pe.getClientConfiguration.bind(Pe),f.Xv.StandardInteractionClientGetClientConfiguration,Pe.logger,Pe.performanceClient,Pe.correlationId)(H,W,ae,He);return new Mr(fe,Pe.performanceClient)})()}initializeSilentRequest(H,W){var ae=this;return(0,n.c)(function*(){ae.performanceClient.addQueueMeasurement(f.Xv.InitializeSilentRequest,ae.correlationId);const He=yield(0,S.C)(ae.initializeBaseRequest.bind(ae),f.Xv.InitializeBaseRequest,ae.logger,ae.performanceClient,ae.correlationId)(H);return{...H,...He,account:W,forceRefresh:H.forceRefresh||!1}})()}}var Jn=i(55084);class oi extends ye{constructor(H,W,ae,He,Pe,fe,Te,ot,ht,Ct,Lt,Kt){super(H,W,ae,He,Pe,fe,ot,ht,Kt),this.apiId=Te,this.accountId=Ct,this.nativeMessageHandler=ht,this.nativeStorageManager=Lt,this.silentCacheClient=new br(H,this.nativeStorageManager,ae,He,Pe,fe,ot,ht,Kt)}acquireToken(H){var W=this;return(0,n.c)(function*(){W.performanceClient.addQueueMeasurement(f.Xv.NativeInteractionClientAcquireToken,H.correlationId),W.logger.trace("NativeInteractionClient - acquireToken called.");const ae=W.performanceClient.startMeasurement(f.Xv.NativeInteractionClientAcquireToken,H.correlationId),He=Sn.GO(),Pe=yield W.initializeNativeRequest(H);try{const ht=yield W.acquireTokensFromCache(W.accountId,Pe);return ae.end({success:!0,isNativeBroker:!1,fromCache:!0}),ht}catch{W.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const fe={method:$.Ce.GetToken,request:Pe},Te=yield W.nativeMessageHandler.sendMessage(fe),ot=W.validateNativeResponse(Te);return W.handleNativeResponse(ot,Pe,He).then(ht=>(ae.end({success:!0,isNativeBroker:!0,requestId:ht.requestId}),ht)).catch(ht=>{throw ae.end({success:!1,errorCode:ht.errorCode,subErrorCode:ht.subError,isNativeBroker:!0}),ht})})()}createSilentCacheRequest(H,W){return{authority:H.authority,correlationId:this.correlationId,scopes:qe.k.fromString(H.scope).asArray(),account:W,forceRefresh:!1}}acquireTokensFromCache(H,W){var ae=this;return(0,n.c)(function*(){if(!H)throw ae.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,l.mQ)(A.noAccountFound);const He=ae.browserStorage.getBaseAccountInfo({nativeAccountId:H});if(!He)throw(0,l.mQ)(A.noAccountFound);try{const Pe=ae.createSilentCacheRequest(W,He),fe=yield ae.silentCacheClient.acquireToken(Pe),Te={...He,idTokenClaims:fe?.idTokenClaims,idToken:fe?.idToken};return{...fe,account:Te}}catch(Pe){throw Pe}})()}acquireTokenRedirect(H){var W=this;return(0,n.c)(function*(){W.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const ae=yield W.initializeNativeRequest(H),He={method:$.Ce.GetToken,request:ae};try{const Te=yield W.nativeMessageHandler.sendMessage(He);W.validateNativeResponse(Te)}catch(Te){if(Te instanceof qt&&nr(Te))throw Te}W.browserStorage.setTemporaryCache($.zH.NATIVE_REQUEST,JSON.stringify(ae),!0);const Pe={apiId:$.Ed.acquireTokenRedirect,timeout:W.config.system.redirectNavigationTimeout,noHistory:!1},fe=W.config.auth.navigateToLoginRequestUrl?window.location.href:W.getRedirectUri(H.redirectUri);yield W.navigationClient.navigateExternal(fe,Pe)})()}handleRedirectPromise(H,W){var ae=this;return(0,n.c)(function*(){if(ae.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!ae.browserStorage.isInteractionInProgress(!0))return ae.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const He=ae.browserStorage.getCachedNativeRequest();if(!He)return ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),H&&W&&H?.addFields({errorCode:"no_cached_request"},W),null;const{prompt:Pe,...fe}=He;Pe&&ae.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."),ae.browserStorage.removeItem(ae.browserStorage.generateCacheKey($.zH.NATIVE_REQUEST));const Te={method:$.Ce.GetToken,request:fe},ot=Sn.GO();try{ae.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const ht=yield ae.nativeMessageHandler.sendMessage(Te);ae.validateNativeResponse(ht);const Ct=ae.handleNativeResponse(ht,fe,ot);return ae.browserStorage.setInteractionInProgress(!1),yield Ct}catch(ht){throw ae.browserStorage.setInteractionInProgress(!1),ht}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(H,W,ae){var He=this;return(0,n.c)(function*(){He.logger.trace("NativeInteractionClient - handleNativeResponse called.");const Pe=Ie.aw(H.id_token,Jn.W),fe=He.createHomeAccountIdentifier(H,Pe),Te=He.browserStorage.getAccountInfoFilteredBy({nativeAccountId:W.accountId})?.homeAccountId;if(fe!==Te&&H.account.id!==W.accountId)throw kr(er);const ot=yield He.getDiscoveredAuthority(W.authority),ht=sn(He.browserStorage,ot,fe,Pe,Jn.W,H.client_info,void 0,Pe.tid,void 0,H.account.id,He.logger),Ct=yield He.generateAuthenticationResult(H,W,Pe,ht,ot.canonicalAuthority,ae);return He.cacheAccount(ht),He.cacheNativeTokens(H,W,fe,Pe,Ct.accessToken,Ct.tenantId,ae),Ct})()}createHomeAccountIdentifier(H,W){return j.M.generateHomeAccountId(H.client_info||c.Mv.EMPTY_STRING,a.O.Default,this.logger,this.browserCrypto,W)}generateScopes(H,W){return qe.k.fromString(H.scope?H.scope:W.scope)}generatePopAccessToken(H,W){var ae=this;return(0,n.c)(function*(){if(W.tokenType===c.me.POP){if(H.shr)return ae.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),H.shr;const He=new De.w(ae.browserCrypto),Pe={resourceRequestMethod:W.resourceRequestMethod,resourceRequestUri:W.resourceRequestUri,shrClaims:W.shrClaims,shrNonce:W.shrNonce};if(!W.keyId)throw(0,l.mQ)(A.keyIdMissing);return He.signPopToken(H.access_token,W.keyId,Pe)}return H.access_token})()}generateAuthenticationResult(H,W,ae,He,Pe,fe){var Te=this;return(0,n.c)(function*(){const ot=Te.addTelemetryFromNativeResponse(H),ht=qe.k.fromString(H.scope?H.scope:W.scope),Ct=H.account.properties||{},Lt=Ct.UID||ae.oid||ae.sub||c.Mv.EMPTY_STRING,Kt=Ct.TenantId||ae.tid||c.Mv.EMPTY_STRING,dn=(0,Qe.Ho)(He.getAccountInfo(),void 0,ae,H.id_token);dn.nativeAccountId!==H.account.id&&(dn.nativeAccountId=H.account.id);const fn=yield Te.generatePopAccessToken(H,W),mn=W.tokenType===c.me.POP?c.me.POP:c.me.BEARER;return{authority:Pe,uniqueId:Lt,tenantId:Kt,scopes:ht.asArray(),account:dn,idToken:H.id_token,idTokenClaims:ae,accessToken:fn,fromCache:!!ot&&Te.isResponseFromCache(ot),expiresOn:new Date(1e3*Number(fe+H.expires_in)),tokenType:mn,correlationId:Te.correlationId,state:H.state,fromNativeBroker:!0}})()}cacheAccount(H){this.browserStorage.setAccount(H),this.browserStorage.removeAccountContext(H).catch(W=>{this.logger.error(`Error occurred while removing account context from browser storage. ${W}`)})}cacheNativeTokens(H,W,ae,He,Pe,fe,Te){const ot=E.YF(ae,W.authority,H.id_token||"",W.clientId,He.tid||""),Ct=Te+(W.tokenType===c.me.POP?c.Mv.SHR_NONCE_VALIDITY:("string"==typeof H.expires_in?parseInt(H.expires_in,10):H.expires_in)||0),Lt=this.generateScopes(H,W),Kt=E.MJ(ae,W.authority,Pe,W.clientId,He.tid||fe,Lt.printScopes(),Ct,0,Jn.W),dn=new et.O(void 0,ot,Kt);this.nativeStorageManager.saveCacheRecord(dn,W.storeInCache)}addTelemetryFromNativeResponse(H){const W=this.getMATSFromResponse(H);return W?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:W.broker_version,matsAccountJoinOnStart:W.account_join_on_start,matsAccountJoinOnEnd:W.account_join_on_end,matsDeviceJoin:W.device_join,matsPromptBehavior:W.prompt_behavior,matsApiErrorCode:W.api_error_code,matsUiVisible:W.ui_visible,matsSilentCode:W.silent_code,matsSilentBiSubCode:W.silent_bi_sub_code,matsSilentMessage:W.silent_message,matsSilentStatus:W.silent_status,matsHttpStatus:W.http_status,matsHttpEventCount:W.http_event_count},this.correlationId),W):null}validateNativeResponse(H){if(H.hasOwnProperty("access_token")&&H.hasOwnProperty("id_token")&&H.hasOwnProperty("client_info")&&H.hasOwnProperty("account")&&H.hasOwnProperty("scope")&&H.hasOwnProperty("expires_in"))return H;throw(0,M.Ub)(Vn.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(H){if(H.properties.MATS)try{return JSON.parse(H.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(H){return typeof H.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!H.is_cached}initializeNativeRequest(H){var W=this;return(0,n.c)(function*(){W.logger.trace("NativeInteractionClient - initializeNativeRequest called");const ae=H.authority||W.config.auth.authority;H.account&&(yield W.getDiscoveredAuthority(ae,H.azureCloudOptions,H.account));const He=new e._(ae);He.validateAsUri();const{scopes:Pe,...fe}=H,Te=new qe.k(Pe||[]);Te.appendScopes(c.ac);const ht={...fe,accountId:W.accountId,clientId:W.config.auth.clientId,authority:He.urlString,scope:Te.printScopes(),redirectUri:W.getRedirectUri(H.redirectUri),prompt:(()=>{switch(W.apiId){case $.Ed.ssoSilent:case $.Ed.acquireTokenSilent_silentFlow:return W.logger.trace("initializeNativeRequest: silent request sets prompt to none"),c.GI.NONE}if(H.prompt)switch(H.prompt){case c.GI.NONE:case c.GI.CONSENT:case c.GI.LOGIN:return W.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),H.prompt;default:throw W.logger.trace(`initializeNativeRequest: prompt = ${H.prompt} is not compatible with native flow`),(0,Ce.Wq)(Je.nativePromptNotSupported)}else W.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:W.correlationId,tokenType:H.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...H.extraQueryParameters,...H.tokenQueryParameters},extendedExpiryToken:!1};if(W.handleExtraBrokerParams(ht),ht.extraParameters=ht.extraParameters||{},ht.extraParameters.telemetry=$.sJ.MATS_TELEMETRY,H.authenticationScheme===c.me.POP){const Ct={resourceRequestUri:H.resourceRequestUri,resourceRequestMethod:H.resourceRequestMethod,shrClaims:H.shrClaims,shrNonce:H.shrNonce},Lt=new De.w(W.browserCrypto),Kt=yield(0,S.C)(Lt.generateCnf.bind(Lt),f.Xv.PopTokenGenerateCnf,W.logger,W.performanceClient,W.correlationId)(Ct,W.logger);ht.reqCnf=Kt.reqCnfHash,ht.keyId=Kt.kid}return ht})()}handleExtraBrokerParams(H){if(H.extraParameters&&H.extraParameters.hasOwnProperty("brk_client_id")&&H.extraParameters.hasOwnProperty("brk_redirect_uri")&&H.extraParameters.hasOwnProperty(it._k)){const He=H.extraParameters.brk_redirect_uri;H.extraParameters={child_client_id:H.extraParameters[it._k],child_redirect_uri:H.redirectUri},H.redirectUri=He}}}class Sr{constructor(H,W,ae,He){this.logger=H,this.handshakeTimeoutMs=W,this.extensionId=He,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=ae,this.handshakeEvent=ae.startMeasurement(f.Xv.NativeMessageHandlerHandshake)}sendMessage(H){var W=this;return(0,n.c)(function*(){W.logger.trace("NativeMessageHandler - sendMessage called.");const ae={channel:$.sJ.CHANNEL_ID,extensionId:W.extensionId,responseId:(0,Ee.E5)(),body:H};return W.logger.trace("NativeMessageHandler - Sending request to browser extension"),W.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(ae)}`),W.messageChannel.port1.postMessage(ae),new Promise((He,Pe)=>{W.resolvers.set(ae.responseId,{resolve:He,reject:Pe})})})()}static createProvider(H,W,ae){return(0,n.c)(function*(){H.trace("NativeMessageHandler - createProvider called.");try{const He=new Sr(H,W,ae,$.sJ.PREFERRED_EXTENSION_ID);return yield He.sendHandshakeRequest(),He}catch{const Pe=new Sr(H,W,ae);return yield Pe.sendHandshakeRequest(),Pe}})()}sendHandshakeRequest(){var H=this;return(0,n.c)(function*(){H.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",H.windowListener,!1);const W={channel:$.sJ.CHANNEL_ID,extensionId:H.extensionId,responseId:(0,Ee.E5)(),body:{method:$.Ce.HandshakeRequest}};return H.handshakeEvent.add({extensionId:H.extensionId,extensionHandshakeTimeoutMs:H.handshakeTimeoutMs}),H.messageChannel.port1.onmessage=ae=>{H.onChannelMessage(ae)},window.postMessage(W,window.origin,[H.messageChannel.port2]),new Promise((ae,He)=>{H.handshakeResolvers.set(W.responseId,{resolve:ae,reject:He}),H.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",H.windowListener,!1),H.messageChannel.port1.close(),H.messageChannel.port2.close(),H.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),He((0,Ce.Wq)(Je.nativeHandshakeTimeout)),H.handshakeResolvers.delete(W.responseId)},H.handshakeTimeoutMs)})})()}onWindowMessage(H){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),H.source!==window)return;const W=H.data;if(W.channel&&W.channel===$.sJ.CHANNEL_ID&&(!W.extensionId||W.extensionId===this.extensionId)&&W.body.method===$.Ce.HandshakeRequest){const ae=this.handshakeResolvers.get(W.responseId);if(!ae)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${W.responseId}`);this.logger.verbose(W.extensionId?`Extension with id: ${W.extensionId} not installed`:"No extension installed"),clearTimeout(this.timeoutId),this.messageChannel.port1.close(),this.messageChannel.port2.close(),window.removeEventListener("message",this.windowListener,!1),this.handshakeEvent.end({success:!1,extensionInstalled:!1}),ae.reject((0,Ce.Wq)(Je.nativeExtensionNotInstalled))}}onChannelMessage(H){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const W=H.data,ae=this.resolvers.get(W.responseId),He=this.handshakeResolvers.get(W.responseId);try{const Pe=W.body.method;if(Pe===$.Ce.Response){if(!ae)return;const fe=W.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(fe)}`),"Success"!==fe.status)ae.reject(kr(fe.code,fe.description,fe.ext));else{if(!fe.result)throw(0,M.Ub)(Vn.unexpectedError,"Event does not contain result.");fe.result.code&&fe.result.description?ae.reject(kr(fe.result.code,fe.result.description,fe.result.ext)):ae.resolve(fe.result)}this.resolvers.delete(W.responseId)}else if(Pe===$.Ce.HandshakeResponse){if(!He)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${W.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=W.extensionId,this.extensionVersion=W.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),He.resolve(),this.handshakeResolvers.delete(W.responseId)}}catch(Pe){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${Pe}`),this.logger.errorPii(`Unable to parse ${H}`),ae?ae.reject(Pe):He&&He.reject(Pe)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(H,W,ae,He){if(W.trace("isNativeAvailable called"),!H.system.allowNativeBroker)return W.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!ae)return W.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(He)switch(He){case c.me.BEARER:case c.me.POP:return W.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return W.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class pr{constructor(H,W,ae,He,Pe){this.authModule=H,this.browserStorage=W,this.authCodeRequest=ae,this.logger=He,this.performanceClient=Pe}handleCodeResponse(H,W){var ae=this;return(0,n.c)(function*(){let He;ae.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponse,W.correlationId);try{He=ae.authModule.handleFragmentResponse(H,W.state)}catch(Pe){throw Pe instanceof Q.s&&Pe.subError===Je.userCancelled?(0,Ce.Wq)(Je.userCancelled):Pe}return(0,S.C)(ae.handleCodeResponseFromServer.bind(ae),f.Xv.HandleCodeResponseFromServer,ae.logger,ae.performanceClient,W.correlationId)(He,W)})()}handleCodeResponseFromServer(H,W,ae=!0){var He=this;return(0,n.c)(function*(){if(He.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponseFromServer,W.correlationId),He.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),He.authCodeRequest.code=H.code,H.cloud_instance_host_name&&(yield(0,S.C)(He.authModule.updateAuthority.bind(He.authModule),f.Xv.UpdateTokenEndpointAuthority,He.logger,He.performanceClient,W.correlationId)(H.cloud_instance_host_name,W.correlationId)),ae&&(H.nonce=W.nonce||void 0),H.state=W.state,H.client_info)He.authCodeRequest.clientInfo=H.client_info;else{const fe=He.createCcsCredentials(W);fe&&(He.authCodeRequest.ccsCredential=fe)}return yield(0,S.C)(He.authModule.acquireToken.bind(He.authModule),f.Xv.AuthClientAcquireToken,He.logger,He.performanceClient,W.correlationId)(He.authCodeRequest,H)})()}createCcsCredentials(H){return H.account?{credential:H.account.homeAccountId,type:me.s.HOME_ACCOUNT_ID}:H.loginHint?{credential:H.loginHint,type:me.s.UPN}:null}}var Xn=i(33680),qn=i(99632);function Or(on,H,W){const ae=Xn.u(on);if(!ae)throw Xn.w(on)?(W.error(`A ${H} is present in the iframe but it does not contain known properties. It's likely that the ${H} has been replaced by code running on the redirectUri page.`),W.errorPii(`The ${H} detected is: ${on}`),(0,Ce.Wq)(Je.hashDoesNotContainKnownProperties)):(W.error(`The request has returned to the redirectUri but a ${H} is not present. It's likely that the ${H} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,Ce.Wq)(Je.hashEmptyError));return ae}class Qt extends pn{constructor(H,W,ae,He,Pe,fe,Te,ot,ht,Ct){super(H,W,ae,He,Pe,fe,Te,ht,Ct),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=ot}acquireToken(H){try{const W=this.generatePopupName(H.scopes||c.ac,H.authority||this.config.auth.authority),ae=H.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(H,W,ae);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const He=this.openSizedPopup("about:blank",W,ae);return this.acquireTokenPopupAsync(H,W,ae,He)}}catch(W){return Promise.reject(W)}}logout(H){try{this.logger.verbose("logoutPopup called");const W=this.initializeLogoutRequest(H),ae=this.generateLogoutPopupName(W),He=H&&H.authority,Pe=H&&H.mainWindowRedirectUri,fe=H?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(W,ae,fe,He,void 0,Pe);{this.logger.verbose("asyncPopup set to false, opening popup");const Te=this.openSizedPopup("about:blank",ae,fe);return this.logoutPopupAsync(W,ae,fe,He,Te,Pe)}}catch(W){return Promise.reject(W)}}acquireTokenPopupAsync(H,W,ae,He){var Pe=this;return(0,n.c)(function*(){Pe.logger.verbose("acquireTokenPopupAsync called");const fe=Pe.initializeServerTelemetryManager($.Ed.acquireTokenPopup),Te=yield(0,S.C)(Pe.initializeAuthorizationRequest.bind(Pe),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,Pe.logger,Pe.performanceClient,Pe.correlationId)(H,$.wV.Popup);(0,ee.preconnect)(Te.authority);try{const ot=yield(0,S.C)(Pe.initializeAuthorizationCodeRequest.bind(Pe),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Pe.logger,Pe.performanceClient,Pe.correlationId)(Te),ht=yield(0,S.C)(Pe.createAuthCodeClient.bind(Pe),f.Xv.StandardInteractionClientCreateAuthCodeClient,Pe.logger,Pe.performanceClient,Pe.correlationId)(fe,Te.authority,Te.azureCloudOptions,Te.account),Ct=Sr.isNativeAvailable(Pe.config,Pe.logger,Pe.nativeMessageHandler,H.authenticationScheme);let Lt;Ct&&(Lt=Pe.performanceClient.startMeasurement(f.Xv.FetchAccountIdWithNativeBroker,H.correlationId));const Kt=yield ht.getAuthCodeUrl({...Te,nativeBroker:Ct}),dn=new pr(ht,Pe.browserStorage,ot,Pe.logger,Pe.performanceClient),mn=Pe.initiateAuthRequest(Kt,{popup:He,popupName:W,popupWindowAttributes:ae});Pe.eventHandler.emitEvent(le.W.POPUP_OPENED,$.wV.Popup,{popupWindow:mn},null);const ln=yield Pe.monitorPopupForHash(mn),Yt=(0,S.q)(Or,f.Xv.DeserializeResponse,Pe.logger,Pe.performanceClient,Pe.correlationId)(ln,Pe.config.auth.OIDCOptions.serverResponseType,Pe.logger);if(re.removeThrottle(Pe.browserStorage,Pe.config.auth.clientId,ot),Yt.accountId){if(Pe.logger.verbose("Account id found in hash, calling WAM for token"),Lt&&Lt.end({success:!0,isNativeBroker:!0}),!Pe.nativeMessageHandler)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);const lr=new oi(Pe.config,Pe.browserStorage,Pe.browserCrypto,Pe.logger,Pe.eventHandler,Pe.navigationClient,$.Ed.acquireTokenPopup,Pe.performanceClient,Pe.nativeMessageHandler,Yt.accountId,Pe.nativeStorage,Te.correlationId),{userRequestState:cr}=X.c.parseRequestState(Pe.browserCrypto,Te.state);return yield lr.acquireToken({...Te,state:cr,prompt:void 0})}return yield dn.handleCodeResponse(Yt,Te)}catch(ot){throw He&&He.close(),ot instanceof M.WM&&(ot.setCorrelationId(Pe.correlationId),fe.cacheFailedRequest(ot)),ot}})()}logoutPopupAsync(H,W,ae,He,Pe,fe){var Te=this;return(0,n.c)(function*(){Te.logger.verbose("logoutPopupAsync called"),Te.eventHandler.emitEvent(le.W.LOGOUT_START,$.wV.Popup,H);const ot=Te.initializeServerTelemetryManager($.Ed.logoutPopup);try{yield Te.clearCacheOnLogout(H.account);const Ct=(yield(0,S.C)(Te.createAuthCodeClient.bind(Te),f.Xv.StandardInteractionClientCreateAuthCodeClient,Te.logger,Te.performanceClient,Te.correlationId)(ot,He,void 0,H.account||void 0)).getLogoutUri(H);Te.eventHandler.emitEvent(le.W.LOGOUT_SUCCESS,$.wV.Popup,H);const Lt=Te.openPopup(Ct,{popupName:W,popupWindowAttributes:ae,popup:Pe});if(Te.eventHandler.emitEvent(le.W.POPUP_OPENED,$.wV.Popup,{popupWindow:Lt},null),yield Te.monitorPopupForHash(Lt).catch(()=>{}),fe){const Kt={apiId:$.Ed.logoutPopup,timeout:Te.config.system.redirectNavigationTimeout,noHistory:!1},dn=e._.getAbsoluteUrl(fe,(0,ee.getCurrentUri)());Te.logger.verbose("Redirecting main window to url specified in the request"),Te.logger.verbosePii(`Redirecting main window to: ${dn}`),yield Te.navigationClient.navigateInternal(dn,Kt)}else Te.logger.verbose("No main window navigation requested")}catch(ht){throw Pe&&Pe.close(),ht instanceof M.WM&&(ht.setCorrelationId(Te.correlationId),ot.cacheFailedRequest(ht)),Te.browserStorage.setInteractionInProgress(!1),Te.eventHandler.emitEvent(le.W.LOGOUT_FAILURE,$.wV.Popup,null,ht),Te.eventHandler.emitEvent(le.W.LOGOUT_END,$.wV.Popup),ht}Te.eventHandler.emitEvent(le.W.LOGOUT_END,$.wV.Popup)})()}initiateAuthRequest(H,W){if(H)return this.logger.infoPii(`Navigate to: ${H}`),this.openPopup(H,W);throw this.logger.error("Navigate url is empty"),(0,Ce.Wq)(Je.emptyNavigateUri)}monitorPopupForHash(H){return new Promise((W,ae)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const He=setInterval(()=>{if(H.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(He),void ae((0,Ce.Wq)(Je.userCancelled));let Pe="";try{Pe=H.location.href}catch{}if(!Pe||"about:blank"===Pe)return;clearInterval(He);let fe="";H&&(fe=this.config.auth.OIDCOptions.serverResponseType===c.eE.QUERY?H.location.search:H.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),W(fe)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(H)})}openPopup(H,W){try{let ae;if(W.popup?(ae=W.popup,this.logger.verbosePii(`Navigating popup window to: ${H}`),ae.location.assign(H)):typeof W.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${H}`),ae=this.openSizedPopup(H,W.popupName,W.popupWindowAttributes)),!ae)throw(0,Ce.Wq)(Je.emptyWindowError);return ae.focus&&ae.focus(),this.currentWindow=ae,window.addEventListener("beforeunload",this.unloadWindow),ae}catch(ae){throw this.logger.error("error opening popup "+ae.message),this.browserStorage.setInteractionInProgress(!1),(0,Ce.Wq)(Je.popupWindowError)}}openSizedPopup(H,W,ae){const He=window.screenLeft?window.screenLeft:window.screenX,Pe=window.screenTop?window.screenTop:window.screenY,fe=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,Te=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let ot=ae.popupSize?.width,ht=ae.popupSize?.height,Ct=ae.popupPosition?.top,Lt=ae.popupPosition?.left;return(!ot||ot<0||ot>fe)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),ot=$.ig.POPUP_WIDTH),(!ht||ht<0||ht>Te)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),ht=$.ig.POPUP_HEIGHT),(!Ct||Ct<0||Ct>Te)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),Ct=Math.max(0,Te/2-$.ig.POPUP_HEIGHT/2+Pe)),(!Lt||Lt<0||Lt>fe)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Lt=Math.max(0,fe/2-$.ig.POPUP_WIDTH/2+He)),window.open(H,W,`width=${ot}, height=${ht}, top=${Ct}, left=${Lt}, scrollbars=yes`)}unloadWindow(H){this.browserStorage.cleanRequestByInteractionType($.wV.Popup),this.currentWindow&&this.currentWindow.close(),H.preventDefault()}cleanPopup(H){H&&H.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(H,W){return`${$.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${H.join("-")}.${W}.${this.correlationId}`}generateLogoutPopupName(H){return`${$.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${H.account&&H.account.homeAccountId}.${this.correlationId}`}}class Rn{constructor(H,W,ae,He,Pe){this.authModule=H,this.browserStorage=W,this.authCodeRequest=ae,this.logger=He,this.performanceClient=Pe}initiateAuthRequest(H,W){var ae=this;return(0,n.c)(function*(){if(ae.logger.verbose("RedirectHandler.initiateAuthRequest called"),H){W.redirectStartPage&&(ae.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),ae.browserStorage.setTemporaryCache($.zH.ORIGIN_URI,W.redirectStartPage,!0)),ae.browserStorage.setTemporaryCache($.zH.CORRELATION_ID,ae.authCodeRequest.correlationId,!0),ae.browserStorage.cacheCodeRequest(ae.authCodeRequest),ae.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${H}`);const He={apiId:$.Ed.acquireTokenRedirect,timeout:W.redirectTimeout,noHistory:!1};return"function"==typeof W.onRedirectNavigate?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==W.onRedirectNavigate(H)?(ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield W.navigationClient.navigateExternal(H,He))):void ae.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(ae.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield W.navigationClient.navigateExternal(H,He)))}throw ae.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,Ce.Wq)(Je.emptyNavigateUri)})()}handleCodeResponse(H,W){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("RedirectHandler.handleCodeResponse called"),ae.browserStorage.setInteractionInProgress(!1);const He=ae.browserStorage.generateStateKey(W),Pe=ae.browserStorage.getTemporaryCache(He);if(!Pe)throw(0,l.mQ)(A.stateNotFound,"Cached State");let fe;try{fe=ae.authModule.handleFragmentResponse(H,Pe)}catch(Ct){throw Ct instanceof Q.s&&Ct.subError===Je.userCancelled?(0,Ce.Wq)(Je.userCancelled):Ct}const Te=ae.browserStorage.generateNonceKey(Pe),ot=ae.browserStorage.getTemporaryCache(Te);if(ae.authCodeRequest.code=fe.code,fe.cloud_instance_host_name&&(yield(0,S.C)(ae.authModule.updateAuthority.bind(ae.authModule),f.Xv.UpdateTokenEndpointAuthority,ae.logger,ae.performanceClient,ae.authCodeRequest.correlationId)(fe.cloud_instance_host_name,ae.authCodeRequest.correlationId)),fe.nonce=ot||void 0,fe.state=Pe,fe.client_info)ae.authCodeRequest.clientInfo=fe.client_info;else{const Ct=ae.checkCcsCredentials();Ct&&(ae.authCodeRequest.ccsCredential=Ct)}const ht=yield ae.authModule.acquireToken(ae.authCodeRequest,fe);return ae.browserStorage.cleanRequestByState(W),ht})()}checkCcsCredentials(){const H=this.browserStorage.getTemporaryCache($.zH.CCS_CREDENTIAL,!0);if(H)try{return JSON.parse(H)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${H}`)}return null}}class Kn extends pn{constructor(H,W,ae,He,Pe,fe,Te,ot,ht,Ct){super(H,W,ae,He,Pe,fe,Te,ht,Ct),this.nativeStorage=ot}acquireToken(H){var W=this;return(0,n.c)(function*(){const ae=yield(0,S.C)(W.initializeAuthorizationRequest.bind(W),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,W.logger,W.performanceClient,W.correlationId)(H,$.wV.Redirect);W.browserStorage.updateCacheEntries(ae.state,ae.nonce,ae.authority,ae.loginHint||"",ae.account||null);const He=W.initializeServerTelemetryManager($.Ed.acquireTokenRedirect),Pe=fe=>{fe.persisted&&(W.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),W.browserStorage.cleanRequestByState(ae.state),W.eventHandler.emitEvent(le.W.RESTORE_FROM_BFCACHE,$.wV.Redirect))};try{const fe=yield(0,S.C)(W.initializeAuthorizationCodeRequest.bind(W),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,W.logger,W.performanceClient,W.correlationId)(ae),Te=yield(0,S.C)(W.createAuthCodeClient.bind(W),f.Xv.StandardInteractionClientCreateAuthCodeClient,W.logger,W.performanceClient,W.correlationId)(He,ae.authority,ae.azureCloudOptions,ae.account),ot=new Rn(Te,W.browserStorage,fe,W.logger,W.performanceClient),ht=yield Te.getAuthCodeUrl({...ae,nativeBroker:Sr.isNativeAvailable(W.config,W.logger,W.nativeMessageHandler,H.authenticationScheme)}),Ct=W.getRedirectStartPage(H.redirectStartPage);return W.logger.verbosePii(`Redirect start page: ${Ct}`),window.addEventListener("pageshow",Pe),yield ot.initiateAuthRequest(ht,{navigationClient:W.navigationClient,redirectTimeout:W.config.system.redirectNavigationTimeout,redirectStartPage:Ct,onRedirectNavigate:H.onRedirectNavigate})}catch(fe){throw fe instanceof M.WM&&(fe.setCorrelationId(W.correlationId),He.cacheFailedRequest(fe)),window.removeEventListener("pageshow",Pe),W.browserStorage.cleanRequestByState(ae.state),fe}})()}handleRedirectPromise(H,W,ae){var He=this;return(0,n.c)(function*(){const Pe=He.initializeServerTelemetryManager($.Ed.handleRedirectPromise);try{if(!He.browserStorage.isInteractionInProgress(!0))return He.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[fe,Te]=He.getRedirectResponse(H||"");if(!fe)return He.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),He.browserStorage.cleanRequestByInteractionType($.wV.Redirect),W&&ae&&W?.addFields({errorCode:"no_server_response"},ae),null;const ot=He.browserStorage.getTemporaryCache($.zH.ORIGIN_URI,!0)||c.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(ot)===e._.removeHashFromUrl(window.location.href)&&He.config.auth.navigateToLoginRequestUrl)return He.logger.verbose("Current page is loginRequestUrl, handling response"),ot.indexOf("#")>-1&&(0,ee.replaceHash)(ot),yield He.handleResponse(fe,Pe);if(!He.config.auth.navigateToLoginRequestUrl)return He.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield He.handleResponse(fe,Pe);if(!(0,ee.isInIframe)()||He.config.system.allowRedirectInIframe){He.browserStorage.setTemporaryCache($.zH.URL_HASH,Te,!0);const Lt={apiId:$.Ed.handleRedirectPromise,timeout:He.config.system.redirectNavigationTimeout,noHistory:!0};let Kt=!0;if(ot&&"null"!==ot)He.logger.verbose(`Navigating to loginRequestUrl: ${ot}`),Kt=yield He.navigationClient.navigateInternal(ot,Lt);else{const dn=(0,ee.getHomepage)();He.browserStorage.setTemporaryCache($.zH.ORIGIN_URI,dn,!0),He.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),Kt=yield He.navigationClient.navigateInternal(dn,Lt)}if(!Kt)return yield He.handleResponse(fe,Pe)}return null}catch(fe){throw fe instanceof M.WM&&(fe.setCorrelationId(He.correlationId),Pe.cacheFailedRequest(fe)),He.browserStorage.cleanRequestByInteractionType($.wV.Redirect),fe}})()}getRedirectResponse(H){this.logger.verbose("getRedirectResponseHash called");let W=H;W||(W=this.config.auth.OIDCOptions.serverResponseType===c.eE.QUERY?window.location.search:window.location.hash);let ae=Xn.u(W);if(ae){try{!function pi(on,H,W){if(!on.state)throw(0,Ce.Wq)(Je.noStateInHash);const ae=(0,qn.Q)(H,on.state);if(!ae)throw(0,Ce.Wq)(Je.unableToParseState);if(ae.interactionType!==W)throw(0,Ce.Wq)(Je.stateInteractionTypeMismatch)}(ae,this.browserCrypto,$.wV.Redirect)}catch(Pe){return Pe instanceof M.WM&&this.logger.error(`Interaction type validation failed due to ${Pe.errorCode}: ${Pe.errorMessage}`),[null,""]}return(0,ee.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[ae,W]}const He=this.browserStorage.getTemporaryCache($.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey($.zH.URL_HASH)),He&&(ae=Xn.u(He),ae)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[ae,He]):[null,""]}handleResponse(H,W){var ae=this;return(0,n.c)(function*(){const He=H.state;if(!He)throw(0,Ce.Wq)(Je.noStateInHash);const Pe=ae.browserStorage.getCachedRequest(He);if(ae.logger.verbose("handleResponse called, retrieved cached request"),H.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);const ht=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,$.Ed.acquireTokenPopup,ae.performanceClient,ae.nativeMessageHandler,H.accountId,ae.nativeStorage,Pe.correlationId),{userRequestState:Ct}=X.c.parseRequestState(ae.browserCrypto,He);return ht.acquireToken({...Pe,state:Ct,prompt:void 0}).finally(()=>{ae.browserStorage.cleanRequestByState(He)})}const fe=ae.browserStorage.getCachedAuthority(He);if(!fe)throw(0,Ce.Wq)(Je.noCachedAuthorityError);const Te=yield(0,S.C)(ae.createAuthCodeClient.bind(ae),f.Xv.StandardInteractionClientCreateAuthCodeClient,ae.logger,ae.performanceClient,ae.correlationId)(W,fe);return re.removeThrottle(ae.browserStorage,ae.config.auth.clientId,Pe),new Rn(Te,ae.browserStorage,Pe,ae.logger,ae.performanceClient).handleCodeResponse(H,He)})()}logout(H){var W=this;return(0,n.c)(function*(){W.logger.verbose("logoutRedirect called");const ae=W.initializeLogoutRequest(H),He=W.initializeServerTelemetryManager($.Ed.logout);try{W.eventHandler.emitEvent(le.W.LOGOUT_START,$.wV.Redirect,H),yield W.clearCacheOnLogout(ae.account);const Pe={apiId:$.Ed.logout,timeout:W.config.system.redirectNavigationTimeout,noHistory:!1},Te=(yield(0,S.C)(W.createAuthCodeClient.bind(W),f.Xv.StandardInteractionClientCreateAuthCodeClient,W.logger,W.performanceClient,W.correlationId)(He,H&&H.authority,void 0,H&&H.account||void 0)).getLogoutUri(ae);if(W.eventHandler.emitEvent(le.W.LOGOUT_SUCCESS,$.wV.Redirect,ae),!H||"function"!=typeof H.onRedirectNavigate)return W.browserStorage.getInteractionInProgress()||W.browserStorage.setInteractionInProgress(!0),void(yield W.navigationClient.navigateExternal(Te,Pe));if(!1!==H.onRedirectNavigate(Te))return W.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),W.browserStorage.getInteractionInProgress()||W.browserStorage.setInteractionInProgress(!0),void(yield W.navigationClient.navigateExternal(Te,Pe));W.browserStorage.setInteractionInProgress(!1),W.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(Pe){throw Pe instanceof M.WM&&(Pe.setCorrelationId(W.correlationId),He.cacheFailedRequest(Pe)),W.eventHandler.emitEvent(le.W.LOGOUT_FAILURE,$.wV.Redirect,null,Pe),W.eventHandler.emitEvent(le.W.LOGOUT_END,$.wV.Redirect),Pe}W.eventHandler.emitEvent(le.W.LOGOUT_END,$.wV.Redirect)})()}getRedirectStartPage(H){const W=H||window.location.href;return e._.getAbsoluteUrl(W,(0,ee.getCurrentUri)())}}var or=i(48124);function ui(on,H,W,ae,He){return Ir.apply(this,arguments)}function Ir(){return(Ir=(0,n.c)(function*(on,H,W,ae,He){if(H.addQueueMeasurement(f.Xv.SilentHandlerInitiateAuthRequest,ae),!on)throw W.info("Navigate url is empty"),(0,Ce.Wq)(Je.emptyNavigateUri);return He?(0,S.C)(St,f.Xv.SilentHandlerLoadFrame,W,H,ae)(on,He,H,ae):(0,S.q)(Jt,f.Xv.SilentHandlerLoadFrameSync,W,H,ae)(on)})).apply(this,arguments)}function ct(on,H,W,ae,He,Pe,fe){return Tt.apply(this,arguments)}function Tt(){return(Tt=(0,n.c)(function*(on,H,W,ae,He,Pe,fe){return ae.addQueueMeasurement(f.Xv.SilentHandlerMonitorIframeForHash,Pe),new Promise((Te,ot)=>{H{window.clearInterval(Ct),ot((0,Ce.Wq)(Je.monitorWindowTimeout))},H),Ct=window.setInterval(()=>{let Lt="";const Kt=on.contentWindow;try{Lt=Kt?Kt.location.href:""}catch{}if(!Lt||"about:blank"===Lt)return;let dn="";Kt&&(dn=fe===c.eE.QUERY?Kt.location.search:Kt.location.hash),window.clearTimeout(ht),window.clearInterval(Ct),Te(dn)},W)}).finally(()=>{(0,S.q)(Cn,f.Xv.RemoveHiddenIframe,He,ae,Pe)(on)})})).apply(this,arguments)}function St(on,H,W,ae){return W.addQueueMeasurement(f.Xv.SilentHandlerLoadFrame,ae),new Promise((He,Pe)=>{const fe=an();window.setTimeout(()=>{fe?(fe.src=on,He(fe)):Pe("Unable to load iframe")},H)})}function Jt(on){const H=an();return H.src=on,H}function an(){const on=document.createElement("iframe");return on.style.visibility="hidden",on.style.position="absolute",on.style.width=on.style.height="0",on.style.border="0",on.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(on),on}function Cn(on){document.body===on.parentNode&&document.body.removeChild(on)}class yn extends pn{constructor(H,W,ae,He,Pe,fe,Te,ot,ht,Ct,Lt){super(H,W,ae,He,Pe,fe,ot,Ct,Lt),this.apiId=Te,this.nativeStorage=ht}acquireToken(H){var W=this;return(0,n.c)(function*(){W.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientAcquireToken,H.correlationId),!H.loginHint&&!H.sid&&(!H.account||!H.account.username)&&W.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const ae={...H};ae.prompt?ae.prompt!==c.GI.NONE&&ae.prompt!==c.GI.NO_SESSION&&(W.logger.warning(`SilentIframeClient. Replacing invalid prompt ${ae.prompt} with ${c.GI.NONE}`),ae.prompt=c.GI.NONE):ae.prompt=c.GI.NONE;const He=yield(0,S.C)(W.initializeAuthorizationRequest.bind(W),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,W.logger,W.performanceClient,H.correlationId)(ae,$.wV.Silent);(0,ee.preconnect)(He.authority);const Pe=W.initializeServerTelemetryManager(W.apiId);try{const fe=yield(0,S.C)(W.createAuthCodeClient.bind(W),f.Xv.StandardInteractionClientCreateAuthCodeClient,W.logger,W.performanceClient,H.correlationId)(Pe,He.authority,He.azureCloudOptions,He.account);return yield(0,S.C)(W.silentTokenHelper.bind(W),f.Xv.SilentIframeClientTokenHelper,W.logger,W.performanceClient,H.correlationId)(fe,He)}catch(fe){throw fe instanceof M.WM&&(fe.setCorrelationId(W.correlationId),Pe.cacheFailedRequest(fe)),fe}})()}logout(){return Promise.reject((0,Ce.Wq)(Je.silentLogoutUnsupported))}silentTokenHelper(H,W){var ae=this;return(0,n.c)(function*(){const He=W.correlationId;ae.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientTokenHelper,He);const Pe=yield(0,S.C)(ae.initializeAuthorizationCodeRequest.bind(ae),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,ae.logger,ae.performanceClient,He)(W),fe=yield(0,S.C)(H.getAuthCodeUrl.bind(H),f.Xv.GetAuthCodeUrl,ae.logger,ae.performanceClient,He)({...W,nativeBroker:Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeMessageHandler,W.authenticationScheme)}),Te=new pr(H,ae.browserStorage,Pe,ae.logger,ae.performanceClient),ot=yield(0,S.C)(ui,f.Xv.SilentHandlerInitiateAuthRequest,ae.logger,ae.performanceClient,He)(fe,ae.performanceClient,ae.logger,He,ae.config.system.navigateFrameWait),ht=ae.config.auth.OIDCOptions.serverResponseType,Ct=yield(0,S.C)(ct,f.Xv.SilentHandlerMonitorIframeForHash,ae.logger,ae.performanceClient,He)(ot,ae.config.system.iframeHashTimeout,ae.config.system.pollIntervalMilliseconds,ae.performanceClient,ae.logger,He,ht),Lt=(0,S.q)(Or,f.Xv.DeserializeResponse,ae.logger,ae.performanceClient,ae.correlationId)(Ct,ht,ae.logger);if(Lt.accountId){if(ae.logger.verbose("Account id found in hash, calling WAM for token"),!ae.nativeMessageHandler)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);const Kt=new oi(ae.config,ae.browserStorage,ae.browserCrypto,ae.logger,ae.eventHandler,ae.navigationClient,ae.apiId,ae.performanceClient,ae.nativeMessageHandler,Lt.accountId,ae.browserStorage,He),{userRequestState:dn}=X.c.parseRequestState(ae.browserCrypto,W.state);return(0,S.C)(Kt.acquireToken.bind(Kt),f.Xv.NativeInteractionClientAcquireToken,ae.logger,ae.performanceClient,He)({...W,state:dn,prompt:W.prompt||c.GI.NONE})}return(0,S.C)(Te.handleCodeResponse.bind(Te),f.Xv.HandleCodeResponse,ae.logger,ae.performanceClient,He)(Lt,W)})()}}class Qn extends pn{acquireToken(H){var W=this;return(0,n.c)(function*(){W.performanceClient.addQueueMeasurement(f.Xv.SilentRefreshClientAcquireToken,H.correlationId);const ae=yield(0,S.C)(W.initializeBaseRequest.bind(W),f.Xv.InitializeBaseRequest,W.logger,W.performanceClient,H.correlationId)(H),He={...H,...ae};H.redirectUri&&(He.redirectUri=W.getRedirectUri(H.redirectUri));const Pe=W.initializeServerTelemetryManager($.Ed.acquireTokenSilent_silentFlow),fe=yield W.createRefreshTokenClient(Pe,He.authority,He.azureCloudOptions,He.account);return(0,S.C)(fe.acquireTokenByRefreshToken.bind(fe),f.Xv.RefreshTokenClientAcquireTokenByRefreshToken,W.logger,W.performanceClient,H.correlationId)(He).catch(Te=>{throw Te.setCorrelationId(W.correlationId),Pe.cacheFailedRequest(Te),Te})})()}logout(){return Promise.reject((0,Ce.Wq)(Je.silentLogoutUnsupported))}createRefreshTokenClient(H,W,ae,He){var Pe=this;return(0,n.c)(function*(){const fe=yield(0,S.C)(Pe.getClientConfiguration.bind(Pe),f.Xv.StandardInteractionClientGetClientConfiguration,Pe.logger,Pe.performanceClient,Pe.correlationId)(H,W,ae,He);return new sr(fe,Pe.performanceClient)})()}}class Un{constructor(H,W,ae,He){this.isBrowserEnvironment=typeof window<"u",this.config=H,this.storage=W,this.logger=ae,this.cryptoObj=He}loadExternalTokens(H,W,ae){if(this.logger.info("TokenCache - loadExternalTokens called"),!W.id_token)throw(0,Ce.Wq)(Je.unableToLoadToken);const He=Ie.aw(W.id_token,Jn.W);let Pe,fe,Te;if(H.account)Te=j.M.createFromAccountInfo(H.account),Pe=new et.O(Te,this.loadIdToken(W.id_token,Te.homeAccountId,H.account.environment,H.account.tenantId),this.loadAccessToken(H,W,Te.homeAccountId,H.account.environment,H.account.tenantId,ae),this.loadRefreshToken(H,W,Te.homeAccountId,H.account.environment));else{if(!H.authority)throw(0,Ce.Wq)(Je.unableToLoadToken);{const ot=N.generateAuthority(H.authority,H.azureCloudOptions);if(fe=new N(ot,this.config.system.networkClient,this.storage,{protocolMode:this.config.auth.protocolMode,knownAuthorities:this.config.auth.knownAuthorities,cloudDiscoveryMetadata:this.config.auth.cloudDiscoveryMetadata,authorityMetadata:this.config.auth.authorityMetadata,skipAuthorityMetadataCache:this.config.auth.skipAuthorityMetadataCache},this.logger,H.correlationId||(0,Ee.E5)()),ae.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),Te=this.loadAccount(He,fe,ae.clientInfo),Pe=new et.O(Te,this.loadIdToken(W.id_token,Te.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(H,W,Te.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(H,W,Te.homeAccountId,fe.hostnameAndPort));else{if(!W.client_info)throw(0,Ce.Wq)(Je.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),Te=this.loadAccount(He,fe,W.client_info),Pe=new et.O(Te,this.loadIdToken(W.id_token,Te.homeAccountId,fe.hostnameAndPort,fe.tenant),this.loadAccessToken(H,W,Te.homeAccountId,fe.hostnameAndPort,fe.tenant,ae),this.loadRefreshToken(H,W,Te.homeAccountId,fe.hostnameAndPort))}}}return this.generateAuthenticationResult(H,He,Pe,Te,fe)}loadAccount(H,W,ae,He){if(this.isBrowserEnvironment){let Pe;if(this.logger.verbose("TokenCache - loading account"),He?Pe=He:void 0!==W.authorityType&&ae&&(Pe=j.M.generateHomeAccountId(ae,W.authorityType,this.logger,this.cryptoObj,H)),!Pe)throw(0,Ce.Wq)(Je.unableToLoadToken);const Te=sn(this.storage,W,Pe,H,Jn.W,ae,W.hostnameAndPort,H.tid,void 0,void 0,this.logger);return this.storage.setAccount(Te),Te}throw(0,Ce.Wq)(Je.unableToLoadToken)}loadIdToken(H,W,ae,He){const Pe=E.YF(W,ae,H,this.config.auth.clientId,He);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(Pe),Pe;throw(0,Ce.Wq)(Je.unableToLoadToken)}loadAccessToken(H,W,ae,He,Pe,fe){if(!W.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!W.expires_in||!fe.extendedExpiresOn)throw(0,Ce.Wq)(Je.unableToLoadToken);const Te=new qe.k(H.scopes).printScopes(),ot=fe.expiresOn||W.expires_in+(new Date).getTime()/1e3,Ct=E.MJ(ae,He,W.access_token,this.config.auth.clientId,Pe,Te,ot,fe.extendedExpiresOn,Jn.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(Ct),Ct;throw(0,Ce.Wq)(Je.unableToLoadToken)}loadRefreshToken(H,W,ae,He){if(!W.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const Pe=E._c(ae,He,W.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(Pe),Pe;throw(0,Ce.Wq)(Je.unableToLoadToken)}generateAuthenticationResult(H,W,ae,He,Pe){let ht,fe=c.Mv.EMPTY_STRING,Te=[],ot=null;return ae?.accessToken&&(fe=ae.accessToken.secret,Te=qe.k.fromString(ae.accessToken.target).asArray(),ot=new Date(1e3*Number(ae.accessToken.expiresOn)),ht=new Date(1e3*Number(ae.accessToken.extendedExpiresOn))),{authority:Pe?Pe.canonicalAuthority:c.Mv.EMPTY_STRING,uniqueId:W.oid||W.sub||c.Mv.EMPTY_STRING,tenantId:W.tid||c.Mv.EMPTY_STRING,scopes:Te,account:He.getAccountInfo(),idToken:ae.idToken?.secret||"",idTokenClaims:W||{},accessToken:fe,fromCache:!0,expiresOn:ot,correlationId:H.correlationId||c.Mv.EMPTY_STRING,requestId:c.Mv.EMPTY_STRING,extExpiresOn:ht,familyId:c.Mv.EMPTY_STRING,tokenType:ae?.accessToken?.tokenType||c.Mv.EMPTY_STRING,state:c.Mv.EMPTY_STRING,cloudGraphHostName:He.cloudGraphHostName||c.Mv.EMPTY_STRING,msGraphHost:He.msGraphHost||c.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class Tr extends kt{constructor(H){super(H),this.includeRedirectUri=!1}}class Er extends pn{constructor(H,W,ae,He,Pe,fe,Te,ot,ht,Ct){super(H,W,ae,He,Pe,fe,ot,ht,Ct),this.apiId=Te}acquireToken(H){var W=this;return(0,n.c)(function*(){if(!H.code)throw(0,Ce.Wq)(Je.authCodeRequired);const ae=yield(0,S.C)(W.initializeAuthorizationRequest.bind(W),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,W.logger,W.performanceClient,H.correlationId)(H,$.wV.Silent),He=W.initializeServerTelemetryManager(W.apiId);try{const Pe={...ae,code:H.code},fe=yield(0,S.C)(W.getClientConfiguration.bind(W),f.Xv.StandardInteractionClientGetClientConfiguration,W.logger,W.performanceClient,H.correlationId)(He,ae.authority,ae.azureCloudOptions,ae.account),Te=new Tr(fe);W.logger.verbose("Auth code client created");const ot=new pr(Te,W.browserStorage,Pe,W.logger,W.performanceClient);return yield(0,S.C)(ot.handleCodeResponseFromServer.bind(ot),f.Xv.HandleCodeResponseFromServer,W.logger,W.performanceClient,H.correlationId)({code:H.code,msgraph_host:H.msGraphHost,cloud_graph_host_name:H.cloudGraphHostName,cloud_instance_host_name:H.cloudInstanceHostName},ae,!1)}catch(Pe){throw Pe instanceof M.WM&&(Pe.setCorrelationId(W.correlationId),He.cacheFailedRequest(Pe)),Pe}})()}logout(){return Promise.reject((0,Ce.Wq)(Je.silentLogoutUnsupported))}}var Hn=i(85288);class ur{constructor(H){this.atsAsyncMeasurement=void 0,this.operatingContext=H,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=H.getConfig(),this.initialized=!1,this.logger=this.operatingContext.getLogger(),this.networkClient=this.config.system.networkClient,this.navigationClient=this.config.system.navigationClient,this.redirectResponse=new Map,this.hybridAuthCodeResponses=new Map,this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new o.A(this.logger,this.performanceClient):d.K,this.eventHandler=new K.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new B.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function P(on){const H=on.cloudDiscoveryMetadata;let W;if(H)try{W=JSON.parse(H)}catch{throw(0,y.QN)(k.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:on.authority?T(on.authority):void 0,knownAuthorities:on.knownAuthorities,cloudDiscoveryMetadata:W}}(this.config.auth)):(0,B.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new B.Y(this.config.auth.clientId,{cacheLocation:$.Ir.MemoryStorage,temporaryCacheLocation:$.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Un(this.config,this.browserStorage,this.logger,this.browserCrypto),this.activeSilentTokenRequests=new Map,this.trackPageVisibility=this.trackPageVisibility.bind(this),this.trackPageVisibilityWithMeasurement=this.trackPageVisibilityWithMeasurement.bind(this)}static createController(H){return(0,n.c)(function*(){const W=new ur(H);return yield W.initialize(),W})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var H=this;return(0,n.c)(function*(){if(H.logger.trace("initialize called"),H.initialized)return void H.logger.info("initialize has already been called, exiting early.");const W=H.config.system.allowNativeBroker,ae=H.performanceClient.startMeasurement(f.Xv.InitializeClientApplication);if(H.eventHandler.emitEvent(le.W.INITIALIZE_START),W)try{H.nativeExtensionProvider=yield Sr.createProvider(H.logger,H.config.system.nativeBrokerHandshakeTimeout,H.performanceClient)}catch(He){H.logger.verbose(He)}H.config.cache.claimsBasedCachingEnabled||(H.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,S.C)(H.browserStorage.clearTokensAndKeysWithClaims.bind(H.browserStorage),f.Xv.ClearTokensAndKeysWithClaims,H.logger,H.performanceClient)(H.performanceClient)),H.initialized=!0,H.eventHandler.emitEvent(le.W.INITIALIZE_END),ae.end({allowNativeBroker:W,success:!0})})()}handleRedirectPromise(H){var W=this;return(0,n.c)(function*(){W.logger.verbose("handleRedirectPromise called"),(0,ee.blockAPICallsBeforeInitialize)(W.initialized);const ae=W.getAllAccounts();if(W.isBrowserEnvironment){const He=H||"";let Pe=W.redirectResponse.get(He);if(typeof Pe>"u"){const fe=W.browserStorage.getCachedNativeRequest(),Te=fe&&Sr.isNativeAvailable(W.config,W.logger,W.nativeExtensionProvider)&&W.nativeExtensionProvider&&!H,ot=Te?fe?.correlationId:W.browserStorage.getTemporaryCache($.zH.CORRELATION_ID,!0)||"",ht=W.performanceClient.startMeasurement("acquireTokenRedirect",ot);let Ct;if(W.eventHandler.emitEvent(le.W.HANDLE_REDIRECT_START,$.wV.Redirect),W.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),Te&&W.nativeExtensionProvider){W.logger.trace("handleRedirectPromise - acquiring token from native platform");const Lt=new oi(W.config,W.browserStorage,W.browserCrypto,W.logger,W.eventHandler,W.navigationClient,$.Ed.handleRedirectPromise,W.performanceClient,W.nativeExtensionProvider,fe.accountId,W.nativeInternalStorage,fe.correlationId);Ct=(0,S.C)(Lt.handleRedirectPromise.bind(Lt),f.Xv.HandleNativeRedirectPromiseMeasurement,W.logger,W.performanceClient,ht.event.correlationId)(W.performanceClient,ht.event.correlationId)}else{W.logger.trace("handleRedirectPromise - acquiring token from web flow");const Lt=W.createRedirectClient(ot);Ct=(0,S.C)(Lt.handleRedirectPromise.bind(Lt),f.Xv.HandleRedirectPromiseMeasurement,W.logger,W.performanceClient,ht.event.correlationId)(H,W.performanceClient,ht.event.correlationId)}Pe=Ct.then(Lt=>(Lt&&(ae.length{const Kt=Lt;throw W.eventHandler.emitEvent(ae.length>0?le.W.ACQUIRE_TOKEN_FAILURE:le.W.LOGIN_FAILURE,$.wV.Redirect,null,Kt),W.eventHandler.emitEvent(le.W.HANDLE_REDIRECT_END,$.wV.Redirect),ht.end(Kt instanceof M.WM?{success:!1,errorCode:Kt.errorCode,subErrorCode:Kt.subError}:{success:!1}),Lt}),W.redirectResponse.set(He,Pe)}else W.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return Pe}return W.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H);W.logger.verbose("acquireTokenRedirect called",ae),W.preflightBrowserEnvironmentCheck($.wV.Redirect);const He=W.getAllAccounts().length>0;let Pe;return W.eventHandler.emitEvent(He?le.W.ACQUIRE_TOKEN_START:le.W.LOGIN_START,$.wV.Redirect,H),Pe=W.nativeExtensionProvider&&W.canUseNative(H)?new oi(W.config,W.browserStorage,W.browserCrypto,W.logger,W.eventHandler,W.navigationClient,$.Ed.acquireTokenRedirect,W.performanceClient,W.nativeExtensionProvider,W.getNativeAccountId(H),W.nativeInternalStorage,ae).acquireTokenRedirect(H).catch(Te=>{if(Te instanceof qt&&nr(Te))return W.nativeExtensionProvider=void 0,W.createRedirectClient(ae).acquireToken(H);if(Te instanceof I.uw)return W.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),W.createRedirectClient(ae).acquireToken(H);throw W.getBrowserStorage().setInteractionInProgress(!1),Te}):W.createRedirectClient(ae).acquireToken(H),Pe.catch(fe=>{throw W.eventHandler.emitEvent(He?le.W.ACQUIRE_TOKEN_FAILURE:le.W.LOGIN_FAILURE,$.wV.Redirect,null,fe),fe})})()}acquireTokenPopup(H){const W=this.getRequestCorrelationId(H),ae=this.performanceClient.startMeasurement(f.Xv.AcquireTokenPopup,W);try{this.logger.verbose("acquireTokenPopup called",W),this.preflightBrowserEnvironmentCheck($.wV.Popup)}catch(fe){return Promise.reject(fe)}const He=this.getAllAccounts();let Pe;return this.eventHandler.emitEvent(He.length>0?le.W.ACQUIRE_TOKEN_START:le.W.LOGIN_START,$.wV.Popup,H),Pe=this.canUseNative(H)?this.acquireTokenNative({...H,correlationId:W},$.Ed.acquireTokenPopup).then(fe=>(this.getBrowserStorage().setInteractionInProgress(!1),ae.end({success:!0,isNativeBroker:!0,requestId:fe.requestId}),fe)).catch(fe=>{if(fe instanceof qt&&nr(fe))return this.nativeExtensionProvider=void 0,this.createPopupClient(W).acquireToken(H);if(fe instanceof I.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(W).acquireToken(H);throw this.getBrowserStorage().setInteractionInProgress(!1),fe}):this.createPopupClient(W).acquireToken(H),Pe.then(fe=>(He.length(this.eventHandler.emitEvent(He.length>0?le.W.ACQUIRE_TOKEN_FAILURE:le.W.LOGIN_FAILURE,$.wV.Popup,null,fe),ae.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),Promise.reject(fe)))}trackPageVisibilityWithMeasurement(){const H=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;H&&(this.logger.info("Perf: Visibility change detected in ",H.event.name),H.increment({visibilityChangeCount:1}))}ssoSilent(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H),He={...H,prompt:H.prompt,correlationId:ae};let Pe;return W.preflightBrowserEnvironmentCheck($.wV.Silent),W.ssoSilentMeasurement=W.performanceClient.startMeasurement(f.Xv.SsoSilent,ae),W.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",W.trackPageVisibilityWithMeasurement),W.logger.verbose("ssoSilent called",ae),W.eventHandler.emitEvent(le.W.SSO_SILENT_START,$.wV.Silent,He),Pe=W.canUseNative(He)?W.acquireTokenNative(He,$.Ed.ssoSilent).catch(fe=>{if(fe instanceof qt&&nr(fe))return W.nativeExtensionProvider=void 0,W.createSilentIframeClient(He.correlationId).acquireToken(He);throw fe}):W.createSilentIframeClient(He.correlationId).acquireToken(He),Pe.then(fe=>(W.eventHandler.emitEvent(le.W.SSO_SILENT_SUCCESS,$.wV.Silent,fe),W.ssoSilentMeasurement?.add({accessTokenSize:fe.accessToken.length,idTokenSize:fe.idToken.length}),W.ssoSilentMeasurement?.end({success:!0,isNativeBroker:fe.fromNativeBroker,requestId:fe.requestId}),fe)).catch(fe=>{throw W.eventHandler.emitEvent(le.W.SSO_SILENT_FAILURE,$.wV.Silent,null,fe),W.ssoSilentMeasurement?.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),fe}).finally(()=>{document.removeEventListener("visibilitychange",W.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H);W.preflightBrowserEnvironmentCheck($.wV.Silent),W.logger.trace("acquireTokenByCode called",ae),W.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_BY_CODE_START,$.wV.Silent,H);const He=W.performanceClient.startMeasurement(f.Xv.AcquireTokenByCode,ae);try{if(H.code&&H.nativeAccountId)throw(0,Ce.Wq)(Je.spaCodeAndNativeAccountIdPresent);if(H.code){const Pe=H.code;let fe=W.hybridAuthCodeResponses.get(Pe);return fe?(W.logger.verbose("Existing acquireTokenByCode request found",ae),He.discard()):(W.logger.verbose("Initiating new acquireTokenByCode request",ae),fe=W.acquireTokenByCodeAsync({...H,correlationId:ae}).then(Te=>(W.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,$.wV.Silent,Te),W.hybridAuthCodeResponses.delete(Pe),He.add({accessTokenSize:Te.accessToken.length,idTokenSize:Te.idToken.length}),He.end({success:!0,isNativeBroker:Te.fromNativeBroker,requestId:Te.requestId}),Te)).catch(Te=>{throw W.hybridAuthCodeResponses.delete(Pe),W.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,$.wV.Silent,null,Te),He.end({errorCode:Te.errorCode,subErrorCode:Te.subError,success:!1}),Te}),W.hybridAuthCodeResponses.set(Pe,fe)),yield fe}if(H.nativeAccountId){if(W.canUseNative(H,H.nativeAccountId))return yield W.acquireTokenNative({...H,correlationId:ae},$.Ed.acquireTokenByCode,H.nativeAccountId).catch(Pe=>{throw Pe instanceof qt&&nr(Pe)&&(W.nativeExtensionProvider=void 0),Pe});throw(0,Ce.Wq)(Je.unableToAcquireTokenFromNativePlatform)}throw(0,Ce.Wq)(Je.authCodeOrNativeAccountIdRequired)}catch(Pe){throw W.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,$.wV.Silent,null,Pe),He.end({errorCode:Pe instanceof M.WM&&Pe.errorCode||void 0,subErrorCode:Pe instanceof M.WM&&Pe.subError||void 0,success:!1}),Pe}})()}acquireTokenByCodeAsync(H){var W=this;return(0,n.c)(function*(){return W.logger.trace("acquireTokenByCodeAsync called",H.correlationId),W.acquireTokenByCodeAsyncMeasurement=W.performanceClient.startMeasurement(f.Xv.AcquireTokenByCodeAsync,H.correlationId),W.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",W.trackPageVisibilityWithMeasurement),yield W.createSilentAuthCodeClient(H.correlationId).acquireToken(H).then(Pe=>(W.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:Pe.fromCache,isNativeBroker:Pe.fromNativeBroker,requestId:Pe.requestId}),Pe)).catch(Pe=>{throw W.acquireTokenByCodeAsyncMeasurement?.end({errorCode:Pe.errorCode,subErrorCode:Pe.subError,success:!1}),Pe}).finally(()=>{document.removeEventListener("visibilitychange",W.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(H,W,ae){var He=this;return(0,n.c)(function*(){switch(He.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenFromCache,W.correlationId),ae){case $.wd.Default:case $.wd.AccessToken:case $.wd.AccessTokenAndRefreshToken:return(0,S.C)(H.acquireToken.bind(H),f.Xv.SilentCacheClientAcquireToken,He.logger,He.performanceClient,W.correlationId)(W);default:throw(0,l.mQ)(A.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(H,W){var ae=this;return(0,n.c)(function*(){switch(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenByRefreshToken,H.correlationId),W){case $.wd.Default:case $.wd.AccessTokenAndRefreshToken:case $.wd.RefreshToken:case $.wd.RefreshTokenAndNetwork:const He=ae.createSilentRefreshClient(H.correlationId);return(0,S.C)(He.acquireToken.bind(He),f.Xv.SilentRefreshClientAcquireToken,ae.logger,ae.performanceClient,H.correlationId)(H);default:throw(0,l.mQ)(A.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(H){var W=this;return(0,n.c)(function*(){W.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenBySilentIframe,H.correlationId);const ae=W.createSilentIframeClient(H.correlationId);return(0,S.C)(ae.acquireToken.bind(ae),f.Xv.SilentIframeClientAcquireToken,W.logger,W.performanceClient,H.correlationId)(H)})()}logout(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H);return W.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",ae),W.logoutRedirect({correlationId:ae,...H})})()}logoutRedirect(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H);return W.preflightBrowserEnvironmentCheck($.wV.Redirect),W.createRedirectClient(ae).logout(H)})()}logoutPopup(H){try{const W=this.getRequestCorrelationId(H);return this.preflightBrowserEnvironmentCheck($.wV.Popup),this.createPopupClient(W).logout(H)}catch(W){return Promise.reject(W)}}clearCache(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H);return W.createSilentCacheClient(ae).logout(H)})()}getAllAccounts(H){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(H):[]}getAccount(H){if(this.logger.trace("getAccount called"),0===Object.keys(H).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const W=this.browserStorage.getAccountInfoFilteredBy(H);return W?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),W):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(H){if(this.logger.trace("getAccountByUsername called"),!H)return this.logger.warning("getAccountByUsername: No username provided"),null;const W=this.browserStorage.getAccountInfoFilteredBy({username:H});return W?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${H}`),W):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(H){if(this.logger.trace("getAccountByHomeId called"),!H)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const W=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:H});return W?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${H}`),W):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(H){if(this.logger.trace("getAccountByLocalId called"),!H)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const W=this.browserStorage.getAccountInfoFilteredBy({localAccountId:H});return W?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${H}`),W):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(H){this.browserStorage.setActiveAccount(H)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(H,W){var ae=this;return(0,n.c)(function*(){ae.logger.verbose("hydrateCache called");const He=j.M.createFromAccountInfo(H.account,H.cloudGraphHostName,H.msGraphHost);return ae.browserStorage.setAccount(He),H.fromNativeBroker?(ae.logger.verbose("Response was from native broker, storing in-memory"),ae.nativeInternalStorage.hydrateCache(H,W)):ae.browserStorage.hydrateCache(H,W)})()}preflightBrowserEnvironmentCheck(H,W=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,ee.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,ee.blockRedirectInIframe)(H,this.config.system.allowRedirectInIframe),(0,ee.blockReloadInHiddenIframes)(),(0,ee.blockAcquireTokenInPopups)(),(0,ee.blockAPICallsBeforeInitialize)(this.initialized),H===$.wV.Redirect&&this.config.cache.cacheLocation===$.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,se.cf)(Hn.inMemRedirectUnavailable);(H===$.wV.Redirect||H===$.wV.Popup)&&this.preflightInteractiveRequest(!W)}preflightInteractiveRequest(H){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,ee.blockReloadInHiddenIframes)(),H&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(H,W,ae){var He=this;return(0,n.c)(function*(){if(He.logger.trace("acquireTokenNative called"),!He.nativeExtensionProvider)throw(0,Ce.Wq)(Je.nativeConnectionNotEstablished);return new oi(He.config,He.browserStorage,He.browserCrypto,He.logger,He.eventHandler,He.navigationClient,W,He.performanceClient,He.nativeExtensionProvider,ae||He.getNativeAccountId(H),He.nativeInternalStorage,H.correlationId).acquireToken(H)})()}canUseNative(H,W){if(this.logger.trace("canUseNative called"),!Sr.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,H.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(H.prompt)switch(H.prompt){case c.GI.NONE:case c.GI.CONSENT:case c.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${H.prompt} is not compatible with native flow, returning false`),!1}return!(!W&&!this.getNativeAccountId(H)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(H){const W=H.account||this.getAccount({loginHint:H.loginHint,sid:H.sid})||this.getActiveAccount();return W&&W.nativeAccountId||""}createPopupClient(H){return new Qt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,H)}createRedirectClient(H){return new Kn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,H)}createSilentIframeClient(H){return new yn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,$.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,H)}createSilentCacheClient(H){return new br(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,H)}createSilentRefreshClient(H){return new Qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,H)}createSilentAuthCodeClient(H){return new Er(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,$.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,H)}addEventCallback(H){return this.eventHandler.addEventCallback(H)}removeEventCallback(H){this.eventHandler.removeEventCallback(H)}addPerformanceCallback(H){return this.performanceClient.addPerformanceCallback(H)}removePerformanceCallback(H){return this.performanceClient.removePerformanceCallback(H)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(H){this.logger=H}initializeWrapperLibrary(H,W){this.browserStorage.setWrapperMetadata(H,W)}setNavigationClient(H){this.navigationClient=H}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(H){return H?.correlationId?H.correlationId:this.isBrowserEnvironment?(0,Ee.E5)():c.Mv.EMPTY_STRING}loginRedirect(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H);return W.logger.verbose("loginRedirect called",ae),W.acquireTokenRedirect({correlationId:ae,...H||$.wv})})()}loginPopup(H){const W=this.getRequestCorrelationId(H);return this.logger.verbose("loginPopup called",W),this.acquireTokenPopup({correlationId:W,...H||$.wv})}acquireTokenSilent(H){var W=this;return(0,n.c)(function*(){const ae=W.getRequestCorrelationId(H),He=W.performanceClient.startMeasurement(f.Xv.AcquireTokenSilent,ae);He.add({cacheLookupPolicy:H.cacheLookupPolicy}),W.preflightBrowserEnvironmentCheck($.wV.Silent),W.logger.verbose("acquireTokenSilent called",ae);const Pe=H.account||W.getActiveAccount();if(!Pe)throw(0,Ce.Wq)(Je.noAccountError);const Te=JSON.stringify({clientId:W.config.auth.clientId,authority:H.authority||c.Mv.EMPTY_STRING,scopes:H.scopes,homeAccountIdentifier:Pe.homeAccountId,claims:H.claims,authenticationScheme:H.authenticationScheme,resourceRequestMethod:H.resourceRequestMethod,resourceRequestUri:H.resourceRequestUri,shrClaims:H.shrClaims,sshKid:H.sshKid,shrOptions:H.shrOptions}),ot=W.activeSilentTokenRequests.get(Te);if(typeof ot>"u"){W.logger.verbose("acquireTokenSilent called for the first time, storing active request",ae);const ht=(0,S.C)(W.acquireTokenSilentAsync.bind(W),f.Xv.AcquireTokenSilentAsync,W.logger,W.performanceClient,ae)({...H,correlationId:ae},Pe).then(Ct=>(W.activeSilentTokenRequests.delete(Te),He.add({accessTokenSize:Ct.accessToken.length,idTokenSize:Ct.idToken.length}),He.end({success:!0,fromCache:Ct.fromCache,isNativeBroker:Ct.fromNativeBroker,cacheLookupPolicy:H.cacheLookupPolicy,requestId:Ct.requestId}),Ct)).catch(Ct=>{throw W.activeSilentTokenRequests.delete(Te),He.end({errorCode:Ct.errorCode,subErrorCode:Ct.subError,success:!1}),Ct});return W.activeSilentTokenRequests.set(Te,ht),{...yield ht,state:H.state}}return W.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",ae),He.discard(),{...yield ot,state:H.state}})()}acquireTokenSilentAsync(H,W){var ae=this;return(0,n.c)(function*(){let He;if(ae.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenSilentAsync,H.correlationId),ae.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_START,$.wV.Silent,H),ae.atsAsyncMeasurement=ae.performanceClient.startMeasurement(f.Xv.AcquireTokenSilentAsync,H.correlationId),ae.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",ae.trackPageVisibility),Sr.isNativeAvailable(ae.config,ae.logger,ae.nativeExtensionProvider,H.authenticationScheme)&&W.nativeAccountId){ae.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const Pe={...H,account:W};He=ae.acquireTokenNative(Pe,$.Ed.acquireTokenSilent_silentFlow).catch(function(){var fe=(0,n.c)(function*(Te){if(Te instanceof qt&&nr(Te))return ae.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),ae.nativeExtensionProvider=void 0,ae.createSilentIframeClient(H.correlationId).acquireToken(H);throw Te});return function(Te){return fe.apply(this,arguments)}}())}else{ae.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const Pe=ae.createSilentCacheClient(H.correlationId),fe=yield(0,S.C)(Pe.initializeSilentRequest.bind(Pe),f.Xv.InitializeSilentRequest,ae.logger,ae.performanceClient,H.correlationId)(H,W),Te=H.cacheLookupPolicy||$.wd.Default;He=(0,S.C)(ae.acquireTokenFromCache.bind(ae),f.Xv.AcquireTokenFromCache,ae.logger,ae.performanceClient,fe.correlationId)(Pe,fe,Te).catch(ot=>{if(H.cacheLookupPolicy===$.wd.AccessToken)throw ot;return(0,ee.blockReloadInHiddenIframes)(),ae.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_NETWORK_START,$.wV.Silent,fe),(0,S.C)(ae.acquireTokenByRefreshToken.bind(ae),f.Xv.AcquireTokenByRefreshToken,ae.logger,ae.performanceClient,fe.correlationId)(fe,Te).catch(ht=>{if(function Ei(on,H,W){const Pe=!(on instanceof I.uw&&on.subError!==L.badToken)&&(on.errorCode===$.ig.INVALID_GRANT_ERROR||on.errorCode===A.tokenRefreshRequired)||on.errorCode===L.noTokensFound||on.errorCode===L.refreshTokenExpired,fe=$.a.includes(W);return Pe&&fe}(ht,0,Te))return ae.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",fe.correlationId),(0,S.C)(ae.acquireTokenBySilentIframe.bind(ae),f.Xv.AcquireTokenBySilentIframe,ae.logger,ae.performanceClient,fe.correlationId)(fe);throw ht})})}return He.then(Pe=>(ae.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_SUCCESS,$.wV.Silent,Pe),ae.atsAsyncMeasurement?.end({success:!0,fromCache:Pe.fromCache,isNativeBroker:Pe.fromNativeBroker,requestId:Pe.requestId}),Pe)).catch(Pe=>{throw ae.eventHandler.emitEvent(le.W.ACQUIRE_TOKEN_FAILURE,$.wV.Silent,null,Pe),ae.atsAsyncMeasurement?.end({errorCode:Pe.errorCode,subErrorCode:Pe.subError,success:!1}),Pe}).finally(()=>{document.removeEventListener("visibilitychange",ae.trackPageVisibility)})})()}}},27880:(ve,h,i)=>{"use strict";i.d(h,{E5:()=>M,G0:()=>E,IT:()=>S,YD:()=>p,_k:()=>F,eY:()=>b,em:()=>k,kq:()=>P});var n=i(1528),o=i(4792),d=i(85348),a=i(26956),u=i(32828);const l="SHA-256",g=new Uint8Array([1,0,1]),y="0123456789abcdef",_=new Uint32Array(1),C={name:"RSASSA-PKCS1-v1_5",hash:l,modulusLength:2048,publicExponent:g};function b(j){if(!("crypto"in window))throw j.error("BrowserCrypto: crypto interface is unavailable"),(0,o.Wq)(u.cryptoNonExistent);j.verbose("BrowserCrypto: modern crypto interface available")}function p(j,L,B){return f.apply(this,arguments)}function f(){return(f=(0,n.c)(function*(j,L,B){L?.addQueueMeasurement(d.Xv.Sha256Digest,B);const ee=(new TextEncoder).encode(j);return window.crypto.subtle.digest(l,ee)})).apply(this,arguments)}function S(j){return window.crypto.getRandomValues(j)}function v(){return window.crypto.getRandomValues(_),_[0]}function M(){const j=Date.now(),L=1024*v()+(1023&v()),B=new Uint8Array(16),$=Math.trunc(L/2**30),ee=L&2**30-1,le=v();B[0]=j/2**40,B[1]=j/2**32,B[2]=j/2**24,B[3]=j/65536,B[4]=j/256,B[5]=j,B[6]=112|$>>>8,B[7]=$,B[8]=128|ee>>>24,B[9]=ee>>>16,B[10]=ee>>>8,B[11]=ee,B[12]=le>>>24,B[13]=le>>>16,B[14]=le>>>8,B[15]=le;let se="";for(let K=0;K>>4),se+=y.charAt(15&B[K]),(3===K||5===K||7===K||9===K)&&(se+="-");return se}function E(j,L){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(j,L){return window.crypto.subtle.generateKey(C,j,L)})).apply(this,arguments)}function k(j){return N.apply(this,arguments)}function N(){return(N=(0,n.c)(function*(j){return window.crypto.subtle.exportKey(a.eG,j)})).apply(this,arguments)}function F(j,L,B){return T.apply(this,arguments)}function T(){return(T=(0,n.c)(function*(j,L,B){return window.crypto.subtle.importKey(a.eG,j,C,L,B)})).apply(this,arguments)}function P(j,L){return I.apply(this,arguments)}function I(){return(I=(0,n.c)(function*(j,L){return window.crypto.subtle.sign(C,j,L)})).apply(this,arguments)}},7184:(ve,h,i)=>{"use strict";i.d(h,{A:()=>N});var n=i(1528),o=i(85348),d=i(66936);const a="missing_kid_error",u="missing_alg_error",e={[a]:"The JOSE Header for the requested JWT, JWS or JWK object requires a keyId to be configured as the 'kid' header claim. No 'kid' value was provided.",[u]:"The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."};class l extends d.WM{constructor(P,I){super(P,I),this.name="JoseHeaderError",Object.setPrototypeOf(this,l.prototype)}}function c(T){return new l(T,e[T])}var g=i(34739);class y{constructor(P){this.typ=P.typ,this.alg=P.alg,this.kid=P.kid}static getShrHeaderString(P){if(!P.kid)throw c(a);if(!P.alg)throw c(u);const I=new y({typ:P.typ||g.Gu.Pop,kid:P.kid,alg:P.alg});return JSON.stringify(I)}}var _=i(37988),C=i(55084),b=i(27880),p=i(4792),f=i(26956),S=i(32828);class v{constructor(){this.dbName=f.f6,this.version=f.gV,this.tableName=f.eQ,this.dbOpen=!1}open(){var P=this;return(0,n.c)(function*(){return new Promise((I,j)=>{const L=window.indexedDB.open(P.dbName,P.version);L.addEventListener("upgradeneeded",B=>{B.target.result.createObjectStore(P.tableName)}),L.addEventListener("success",B=>{P.db=B.target.result,P.dbOpen=!0,I()}),L.addEventListener("error",()=>j((0,p.Wq)(S.databaseUnavailable)))})})()}closeConnection(){const P=this.db;P&&this.dbOpen&&(P.close(),this.dbOpen=!1)}validateDbIsOpen(){var P=this;return(0,n.c)(function*(){if(!P.dbOpen)return P.open()})()}getItem(P){var I=this;return(0,n.c)(function*(){return yield I.validateDbIsOpen(),new Promise((j,L)=>{if(!I.db)return L((0,p.Wq)(S.databaseNotOpen));const ee=I.db.transaction([I.tableName],"readonly").objectStore(I.tableName).get(P);ee.addEventListener("success",le=>{const se=le;I.closeConnection(),j(se.target.result)}),ee.addEventListener("error",le=>{I.closeConnection(),L(le)})})})()}setItem(P,I){var j=this;return(0,n.c)(function*(){return yield j.validateDbIsOpen(),new Promise((L,B)=>{if(!j.db)return B((0,p.Wq)(S.databaseNotOpen));const le=j.db.transaction([j.tableName],"readwrite").objectStore(j.tableName).put(I,P);le.addEventListener("success",()=>{j.closeConnection(),L()}),le.addEventListener("error",se=>{j.closeConnection(),B(se)})})})()}removeItem(P){var I=this;return(0,n.c)(function*(){return yield I.validateDbIsOpen(),new Promise((j,L)=>{if(!I.db)return L((0,p.Wq)(S.databaseNotOpen));const ee=I.db.transaction([I.tableName],"readwrite").objectStore(I.tableName).delete(P);ee.addEventListener("success",()=>{I.closeConnection(),j()}),ee.addEventListener("error",le=>{I.closeConnection(),L(le)})})})()}getKeys(){var P=this;return(0,n.c)(function*(){return yield P.validateDbIsOpen(),new Promise((I,j)=>{if(!P.db)return j((0,p.Wq)(S.databaseNotOpen));const $=P.db.transaction([P.tableName],"readonly").objectStore(P.tableName).getAllKeys();$.addEventListener("success",ee=>{const le=ee;P.closeConnection(),I(le.target.result)}),$.addEventListener("error",ee=>{P.closeConnection(),j(ee)})})})()}containsKey(P){var I=this;return(0,n.c)(function*(){return yield I.validateDbIsOpen(),new Promise((j,L)=>{if(!I.db)return L((0,p.Wq)(S.databaseNotOpen));const ee=I.db.transaction([I.tableName],"readonly").objectStore(I.tableName).count(P);ee.addEventListener("success",le=>{const se=le;I.closeConnection(),j(1===se.target.result)}),ee.addEventListener("error",le=>{I.closeConnection(),L(le)})})})()}deleteDatabase(){var P=this;return(0,n.c)(function*(){return P.db&&P.dbOpen&&P.closeConnection(),new Promise((I,j)=>{const L=window.indexedDB.deleteDatabase(f.f6);L.addEventListener("success",()=>I(!0)),L.addEventListener("blocked",()=>I(!0)),L.addEventListener("error",()=>j(!1))})})()}}var M=i(61744);class E{constructor(P,I){this.inMemoryCache=new M.W,this.indexedDBCache=new v,this.logger=P,this.storeName=I}handleDatabaseAccessError(P){if(!(P instanceof p.G&&P.errorCode===S.databaseUnavailable))throw P;this.logger.error("Could not access persistent storage. This may be caused by browser privacy features which block persistent storage in third-party contexts.")}getItem(P){var I=this;return(0,n.c)(function*(){const j=I.inMemoryCache.getItem(P);if(!j)try{return I.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield I.indexedDBCache.getItem(P)}catch(L){I.handleDatabaseAccessError(L)}return j})()}setItem(P,I){var j=this;return(0,n.c)(function*(){j.inMemoryCache.setItem(P,I);try{yield j.indexedDBCache.setItem(P,I)}catch(L){j.handleDatabaseAccessError(L)}})()}removeItem(P){var I=this;return(0,n.c)(function*(){I.inMemoryCache.removeItem(P);try{yield I.indexedDBCache.removeItem(P)}catch(j){I.handleDatabaseAccessError(j)}})()}getKeys(){var P=this;return(0,n.c)(function*(){const I=P.inMemoryCache.getKeys();if(0===I.length)try{return P.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield P.indexedDBCache.getKeys()}catch(j){P.handleDatabaseAccessError(j)}return I})()}containsKey(P){var I=this;return(0,n.c)(function*(){const j=I.inMemoryCache.containsKey(P);if(!j)try{return I.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield I.indexedDBCache.containsKey(P)}catch(L){I.handleDatabaseAccessError(L)}return j})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var P=this;return(0,n.c)(function*(){try{P.logger.verbose("Deleting persistent keystore");const I=yield P.indexedDBCache.deleteDatabase();return I&&P.logger.verbose("Persistent keystore deleted"),I}catch(I){return P.handleDatabaseAccessError(I),!1}})()}}class k{constructor(P){this.logger=P,this.asymmetricKeys=new E(this.logger,"asymmetricKeys"),this.symmetricKeys=new E(this.logger,"symmetricKeys")}clear(){var P=this;return(0,n.c)(function*(){P.asymmetricKeys.clearInMemory(),P.symmetricKeys.clearInMemory();try{return yield P.asymmetricKeys.clearPersistent(),!0}catch(I){return I instanceof Error?P.logger.error(`Clearing keystore failed with error: ${I.message}`):P.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let N=(()=>{class T{constructor(I,j){this.logger=I,(0,b.eY)(I),this.cache=new k(this.logger),this.performanceClient=j}createNewGuid(){return(0,b.E5)()}base64Encode(I){return(0,_.c9)(I)}base64Decode(I){return(0,C.W)(I)}getPublicKeyThumbprint(I){var j=this;return(0,n.c)(function*(){const L=j.performanceClient?.startMeasurement(o.Xv.CryptoOptsGetPublicKeyThumbprint,I.correlationId),B=yield(0,b.G0)(T.EXTRACTABLE,T.POP_KEY_USAGES),$=yield(0,b.em)(B.publicKey),le=F({e:$.e,kty:$.kty,n:$.n}),se=yield j.hashString(le),K=yield(0,b.em)(B.privateKey),Q=yield(0,b._k)(K,!1,["sign"]);return yield j.cache.asymmetricKeys.setItem(se,{privateKey:Q,publicKey:B.publicKey,requestMethod:I.resourceRequestMethod,requestUri:I.resourceRequestUri}),L&&L.end({success:!0}),se})()}removeTokenBindingKey(I){var j=this;return(0,n.c)(function*(){return yield j.cache.asymmetricKeys.removeItem(I),!(yield j.cache.asymmetricKeys.containsKey(I))})()}clearKeystore(){var I=this;return(0,n.c)(function*(){return I.cache.clear()})()}signJwt(I,j,L,B){var $=this;return(0,n.c)(function*(){const ee=$.performanceClient?.startMeasurement(o.Xv.CryptoOptsSignJwt,B),le=yield $.cache.asymmetricKeys.getItem(j);if(!le)throw(0,p.Wq)(S.cryptoKeyNotFound);const se=yield(0,b.em)(le.publicKey),K=F(se),Q=(0,_.OW)(JSON.stringify({kid:j})),re=y.getShrHeaderString({...L?.header,alg:se.alg,kid:Q}),X=(0,_.OW)(re);I.cnf={jwk:JSON.parse(K)};const Y=`${X}.${(0,_.OW)(JSON.stringify(I))}`,de=(new TextEncoder).encode(Y),me=yield(0,b.kq)(le.privateKey,de),Re=`${Y}.${(0,_.gV)(new Uint8Array(me))}`;return ee&&ee.end({success:!0}),Re})()}hashString(I){return(0,n.c)(function*(){const j=yield(0,b.YD)(I),L=new Uint8Array(j);return(0,_.gV)(L)})()}}return T.POP_KEY_USAGES=["sign","verify"],T.EXTRACTABLE=!0,T})();function F(T){return JSON.stringify(T,Object.keys(T).sort())}},55084:(ve,h,i)=>{"use strict";i.d(h,{W:()=>d});var n=i(4792),o=i(32828);function d(u){return(new TextDecoder).decode(function a(u){let e=u.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(o.invalidBase64String)}const l=atob(e);return Uint8Array.from(l,c=>c.codePointAt(0)||0)}(u))}},37988:(ve,h,i)=>{"use strict";function n(u){return encodeURIComponent(d(u).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function o(u){return a(u).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function d(u){return a((new TextEncoder).encode(u))}function a(u){const e=Array.from(u,l=>String.fromCodePoint(l)).join("");return btoa(e)}i.d(h,{OW:()=>n,c9:()=>d,gV:()=>o})},4792:(ve,h,i)=>{"use strict";i.d(h,{G:()=>e,Wq:()=>l,aC:()=>u});var n=i(66936),o=i(32828);const d="For more visit: aka.ms/msaljs/browser-errors",a={[o.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[o.cryptoNonExistent]:"The crypto object or function is not available.",[o.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[o.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${d}`,[o.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[o.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${d}`,[o.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[o.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[o.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${d}`,[o.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[o.emptyWindowError]:"window.open returned null or undefined window object.",[o.userCancelled]:"User cancelled the flow.",[o.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${d}`,[o.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${d}`,[o.redirectInIframe]:"Redirects are not supported for iframed or brokered applications. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs.",[o.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${d}`,[o.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[o.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[o.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[o.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[o.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[o.noTokenRequestCacheError]:"No token request found in cache.",[o.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[o.noCachedAuthorityError]:"No cached authority found.",[o.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[o.invalidCacheType]:"Invalid cache type",[o.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[o.databaseNotOpen]:"Database is not open!",[o.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[o.postRequestFailed]:"Network request failed: If the browser threw a CORS error, check that the redirectUri is registered in the Azure App Portal as type 'SPA'",[o.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[o.failedToParseResponse]:"Failed to parse network response. Check network trace.",[o.unableToLoadToken]:"Error loading token to cache.",[o.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[o.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[o.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[o.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[o.databaseUnavailable]:"IndexedDB, which is required for persistent cryptographic key storage, is unavailable. This may be caused by browser privacy features which block persistent storage in third-party contexts.",[o.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${d}`,[o.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[o.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[o.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${d}`,[o.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${d}`,[o.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[o.invalidBase64String]:"Invalid base64 encoded string."},u={pkceNotGenerated:{code:o.pkceNotCreated,desc:a[o.pkceNotCreated]},cryptoDoesNotExist:{code:o.cryptoNonExistent,desc:a[o.cryptoNonExistent]},emptyNavigateUriError:{code:o.emptyNavigateUri,desc:a[o.emptyNavigateUri]},hashEmptyError:{code:o.hashEmptyError,desc:a[o.hashEmptyError]},hashDoesNotContainStateError:{code:o.noStateInHash,desc:a[o.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:o.hashDoesNotContainKnownProperties,desc:a[o.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:o.unableToParseState,desc:a[o.unableToParseState]},stateInteractionTypeMismatchError:{code:o.stateInteractionTypeMismatch,desc:a[o.stateInteractionTypeMismatch]},interactionInProgress:{code:o.interactionInProgress,desc:a[o.interactionInProgress]},popupWindowError:{code:o.popupWindowError,desc:a[o.popupWindowError]},emptyWindowError:{code:o.emptyWindowError,desc:a[o.emptyWindowError]},userCancelledError:{code:o.userCancelled,desc:a[o.userCancelled]},monitorPopupTimeoutError:{code:o.monitorPopupTimeout,desc:a[o.monitorPopupTimeout]},monitorIframeTimeoutError:{code:o.monitorWindowTimeout,desc:a[o.monitorWindowTimeout]},redirectInIframeError:{code:o.redirectInIframe,desc:a[o.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:o.blockIframeReload,desc:a[o.blockIframeReload]},blockAcquireTokenInPopupsError:{code:o.blockNestedPopups,desc:a[o.blockNestedPopups]},iframeClosedPrematurelyError:{code:o.iframeClosedPrematurely,desc:a[o.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:o.silentLogoutUnsupported,desc:a[o.silentLogoutUnsupported]},noAccountError:{code:o.noAccountError,desc:a[o.noAccountError]},silentPromptValueError:{code:o.silentPromptValueError,desc:a[o.silentPromptValueError]},noTokenRequestCacheError:{code:o.noTokenRequestCacheError,desc:a[o.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:o.unableToParseTokenRequestCacheError,desc:a[o.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:o.noCachedAuthorityError,desc:a[o.noCachedAuthorityError]},authRequestNotSet:{code:o.authRequestNotSetError,desc:a[o.authRequestNotSetError]},invalidCacheType:{code:o.invalidCacheType,desc:a[o.invalidCacheType]},notInBrowserEnvironment:{code:o.nonBrowserEnvironment,desc:a[o.nonBrowserEnvironment]},databaseNotOpen:{code:o.databaseNotOpen,desc:a[o.databaseNotOpen]},noNetworkConnectivity:{code:o.noNetworkConnectivity,desc:a[o.noNetworkConnectivity]},postRequestFailed:{code:o.postRequestFailed,desc:a[o.postRequestFailed]},getRequestFailed:{code:o.getRequestFailed,desc:a[o.getRequestFailed]},failedToParseNetworkResponse:{code:o.failedToParseResponse,desc:a[o.failedToParseResponse]},unableToLoadTokenError:{code:o.unableToLoadToken,desc:a[o.unableToLoadToken]},signingKeyNotFoundInStorage:{code:o.cryptoKeyNotFound,desc:a[o.cryptoKeyNotFound]},authCodeRequired:{code:o.authCodeRequired,desc:a[o.authCodeRequired]},authCodeOrNativeAccountRequired:{code:o.authCodeOrNativeAccountIdRequired,desc:a[o.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:o.spaCodeAndNativeAccountIdPresent,desc:a[o.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:o.databaseUnavailable,desc:a[o.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:o.unableToAcquireTokenFromNativePlatform,desc:a[o.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:o.nativeHandshakeTimeout,desc:a[o.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:o.nativeExtensionNotInstalled,desc:a[o.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:o.nativeConnectionNotEstablished,desc:a[o.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:o.uninitializedPublicClientApplication,desc:a[o.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:o.nativePromptNotSupported,desc:a[o.nativePromptNotSupported]},invalidBase64StringError:{code:o.invalidBase64String,desc:a[o.invalidBase64String]}};class e extends n.WM{constructor(g){super(g,a[g]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function l(c){return new e(c)}},32828:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{authCodeOrNativeAccountIdRequired:()=>re,authCodeRequired:()=>Q,authRequestNotSetError:()=>P,blockIframeReload:()=>S,blockNestedPopups:()=>v,cryptoKeyNotFound:()=>K,cryptoNonExistent:()=>o,databaseNotOpen:()=>L,databaseUnavailable:()=>z,emptyNavigateUri:()=>d,emptyWindowError:()=>_,failedToParseResponse:()=>le,getRequestFailed:()=>ee,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>a,iframeClosedPrematurely:()=>M,interactionInProgress:()=>g,invalidBase64String:()=>Ae,invalidCacheType:()=>I,monitorPopupTimeout:()=>b,monitorWindowTimeout:()=>p,nativeConnectionNotEstablished:()=>me,nativeExtensionNotInstalled:()=>de,nativeHandshakeTimeout:()=>q,nativePromptNotSupported:()=>Re,noAccountError:()=>A,noCachedAuthorityError:()=>T,noNetworkConnectivity:()=>B,noStateInHash:()=>u,noTokenRequestCacheError:()=>N,nonBrowserEnvironment:()=>j,pkceNotCreated:()=>n,popupWindowError:()=>y,postRequestFailed:()=>$,redirectInIframe:()=>f,silentLogoutUnsupported:()=>E,silentPromptValueError:()=>k,spaCodeAndNativeAccountIdPresent:()=>X,stateInteractionTypeMismatch:()=>c,unableToAcquireTokenFromNativePlatform:()=>Y,unableToLoadToken:()=>se,unableToParseState:()=>l,unableToParseTokenRequestCacheError:()=>F,uninitializedPublicClientApplication:()=>Oe,userCancelled:()=>C});const n="pkce_not_created",o="crypto_nonexistent",d="empty_navigate_uri",a="hash_empty_error",u="no_state_in_hash",e="hash_does_not_contain_known_properties",l="unable_to_parse_state",c="state_interaction_type_mismatch",g="interaction_in_progress",y="popup_window_error",_="empty_window_error",C="user_cancelled",b="monitor_popup_timeout",p="monitor_window_timeout",f="redirect_in_iframe",S="block_iframe_reload",v="block_nested_popups",M="iframe_closed_prematurely",E="silent_logout_unsupported",A="no_account_error",k="silent_prompt_value_error",N="no_token_request_cache_error",F="unable_to_parse_token_request_cache_error",T="no_cached_authority_error",P="auth_request_not_set_error",I="invalid_cache_type",j="non_browser_environment",L="database_not_open",B="no_network_connectivity",$="post_request_failed",ee="get_request_failed",le="failed_to_parse_response",se="unable_to_load_token",K="crypto_key_not_found",Q="auth_code_required",re="auth_code_or_nativeAccountId_required",X="spa_code_and_nativeAccountId_present",z="database_unavailable",Y="unable_to_acquire_token_from_native_platform",q="native_handshake_timeout",de="native_extension_not_installed",me="native_connection_not_established",Oe="uninitialized_public_client_application",Re="native_prompt_not_supported",Ae="invalid_base64_string"},72592:(ve,h,i)=>{"use strict";i.d(h,{aO:()=>u,c9:()=>a,cf:()=>e});var n=i(66936),o=i(85288);const d={[o.storageNotSupported]:"Given storage configuration option was not supported.",[o.stubbedPublicClientApplicationCalled]:"Stub instance of Public Client Application was called. If using msal-react, please ensure context is not used without a provider. For more visit: aka.ms/msaljs/browser-errors",[o.inMemRedirectUnavailable]:"Redirect cannot be supported. In-memory storage was selected and storeAuthStateInCookie=false, which would cause the library to be unable to handle the incoming hash. If you would like to use the redirect API, please use session/localStorage or set storeAuthStateInCookie=true."},a={storageNotSupportedError:{code:o.storageNotSupported,desc:d[o.storageNotSupported]},stubPcaInstanceCalled:{code:o.stubbedPublicClientApplicationCalled,desc:d[o.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:o.inMemRedirectUnavailable,desc:d[o.inMemRedirectUnavailable]}};class u extends n.WM{constructor(c,g){super(c,g),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,u.prototype)}}function e(l){return new u(l,d[l])}},85288:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{inMemRedirectUnavailable:()=>d,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>o});const n="storage_not_supported",o="stubbed_public_client_application_called",d="in_mem_redirect_unavailable"},85968:(ve,h,i)=>{"use strict";i.d(h,{c:()=>e});var n=i(34739),o=i(98416),d=i(6536),a=i(28612),u=i(27880);class e{constructor(c,g){this.eventCallbacks=new Map,this.logger=c,this.browserCrypto=g,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(c){if(typeof window<"u"){const g=(0,u.E5)();return this.eventCallbacks.set(g,c),this.logger.verbose(`Event callback registered with id: ${g}`),g}return null}removeEventCallback(c){this.eventCallbacks.delete(c),this.logger.verbose(`Event callback ${c} removed.`)}enableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?this.logger.verbose("Account storage listener already registered."):(this.logger.verbose("Adding account storage listener."),this.listeningToStorageEvents=!0,window.addEventListener("storage",this.handleAccountCacheChange)))}disableAccountStorageEvents(){typeof window>"u"||(this.listeningToStorageEvents?(this.logger.verbose("Removing account storage listener."),window.removeEventListener("storage",this.handleAccountCacheChange),this.listeningToStorageEvents=!1):this.logger.verbose("No account storage listener registered."))}emitEvent(c,g,y,_){if(typeof window<"u"){const C={eventType:c,interactionType:g||null,payload:y||null,error:_||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${c}`),this.eventCallbacks.forEach((b,p)=>{this.logger.verbose(`Emitting event to callback ${p}: ${c}`),b.apply(null,[C])})}}handleAccountCacheChange(c){try{c.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(a.W.ACTIVE_ACCOUNT_CHANGED);const g=c.newValue||c.oldValue;if(!g)return;const y=JSON.parse(g);if("object"!=typeof y||!o.M.isAccountEntity(y))return;const C=d.B.toObject(new o.M,y).getAccountInfo();!c.oldValue&&c.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(a.W.ACCOUNT_ADDED,void 0,C)):!c.newValue&&c.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(a.W.ACCOUNT_REMOVED,void 0,C))}catch{return}}}},88904:(ve,h,i)=>{"use strict";i.d(h,{M:()=>d});var n=i(28612),o=i(26956);class d{static getInteractionStatusFromEvent(u,e){switch(u.eventType){case n.W.LOGIN_START:return o.Yz.Login;case n.W.SSO_SILENT_START:return o.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(u.interactionType===o.wV.Redirect||u.interactionType===o.wV.Popup)return o.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return o.Yz.HandleRedirect;case n.W.LOGOUT_START:return o.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==o.Yz.SsoSilent)break;return o.Yz.None;case n.W.LOGOUT_END:if(e&&e!==o.Yz.Logout)break;return o.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==o.Yz.HandleRedirect)break;return o.Yz.None;case n.W.LOGIN_SUCCESS:case n.W.LOGIN_FAILURE:case n.W.ACQUIRE_TOKEN_SUCCESS:case n.W.ACQUIRE_TOKEN_FAILURE:case n.W.RESTORE_FROM_BFCACHE:if(u.interactionType===o.wV.Redirect||u.interactionType===o.wV.Popup){if(e&&e!==o.Yz.Login&&e!==o.Yz.AcquireToken)break;return o.Yz.None}}return null}}},28612:(ve,h,i)=>{"use strict";i.d(h,{W:()=>n});const n={INITIALIZE_START:"msal:initializeStart",INITIALIZE_END:"msal:initializeEnd",ACCOUNT_ADDED:"msal:accountAdded",ACCOUNT_REMOVED:"msal:accountRemoved",ACTIVE_ACCOUNT_CHANGED:"msal:activeAccountChanged",LOGIN_START:"msal:loginStart",LOGIN_SUCCESS:"msal:loginSuccess",LOGIN_FAILURE:"msal:loginFailure",ACQUIRE_TOKEN_START:"msal:acquireTokenStart",ACQUIRE_TOKEN_SUCCESS:"msal:acquireTokenSuccess",ACQUIRE_TOKEN_FAILURE:"msal:acquireTokenFailure",ACQUIRE_TOKEN_NETWORK_START:"msal:acquireTokenFromNetworkStart",SSO_SILENT_START:"msal:ssoSilentStart",SSO_SILENT_SUCCESS:"msal:ssoSilentSuccess",SSO_SILENT_FAILURE:"msal:ssoSilentFailure",ACQUIRE_TOKEN_BY_CODE_START:"msal:acquireTokenByCodeStart",ACQUIRE_TOKEN_BY_CODE_SUCCESS:"msal:acquireTokenByCodeSuccess",ACQUIRE_TOKEN_BY_CODE_FAILURE:"msal:acquireTokenByCodeFailure",HANDLE_REDIRECT_START:"msal:handleRedirectStart",HANDLE_REDIRECT_END:"msal:handleRedirectEnd",POPUP_OPENED:"msal:popupOpened",LOGOUT_START:"msal:logoutStart",LOGOUT_SUCCESS:"msal:logoutSuccess",LOGOUT_FAILURE:"msal:logoutFailure",LOGOUT_END:"msal:logoutEnd",RESTORE_FROM_BFCACHE:"msal:restoreFromBFCache"}},21112:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{AccountEntity:()=>qe.M,ApiId:()=>e.Ed,AuthError:()=>et.WM,AuthErrorCodes:()=>De,AuthErrorMessage:()=>et.GM,AuthenticationHeaderParser:()=>it,AuthenticationScheme:()=>Y.me,AzureCloudInstance:()=>je.C,BrowserAuthError:()=>P.G,BrowserAuthErrorCodes:()=>kt,BrowserAuthErrorMessage:()=>P.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>I.aO,BrowserConfigurationAuthErrorCodes:()=>j,BrowserConfigurationAuthErrorMessage:()=>I.c9,BrowserPerformanceClient:()=>Re,BrowserPerformanceMeasurement:()=>Ae.BrowserPerformanceMeasurement,BrowserStorage:()=>ee.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>Ie.oJ,ClientAuthErrorCodes:()=>bt,ClientAuthErrorMessage:()=>Ie.m6,ClientConfigurationError:()=>ge.Ou,ClientConfigurationErrorCodes:()=>Ne,ClientConfigurationErrorMessage:()=>ge.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>a.Ks,EventMessageUtils:()=>le.M,EventType:()=>se.W,InteractionRequiredAuthError:()=>Qe.uw,InteractionRequiredAuthErrorCodes:()=>Ut,InteractionRequiredAuthErrorMessage:()=>Qe.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>Y.Gu,LogLevel:()=>d.G,Logger:()=>d.Y,MemoryStorage:()=>$.W,NavigationClient:()=>B.m,OIDC_DEFAULT_SCOPES:()=>Y.ac,PerformanceEvents:()=>re.Xv,PromptValue:()=>Y.GI,ProtocolMode:()=>sn.g,PublicClientApplication:()=>v,PublicClientNext:()=>T,ServerError:()=>un.s,ServerResponseType:()=>Y.eE,SignedHttpRequest:()=>Q,StringUtils:()=>Sn.e,UrlString:()=>bn._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>L,version:()=>u.W});var n=i(84644),o=i(1528),d=i(73364),a=i(48124),u=i(69096),e=i(26956);class l{static loggerCallback(Fe,Ee){switch(Fe){case d.G.Error:return void console.error(Ee);case d.G.Info:return void console.info(Ee);case d.G.Verbose:return void console.debug(Ee);case d.G.Warning:return void console.warn(Ee);default:return void console.log(Ee)}}constructor(Fe){let Ee;this.browserEnvironment=typeof window<"u",this.config=(0,a.k5)(Fe,this.browserEnvironment);try{Ee=window[e.Ir.SessionStorage]}catch{}const ye=Ee?.getItem(e.Ip),Ce=Ee?.getItem(e.k9)?.toLowerCase(),Ge="true"===Ce||"false"!==Ce&&void 0,Je={...this.config.system.loggerOptions},vt=ye&&Object.keys(d.G).includes(ye)?d.G[ye]:void 0;vt&&(Je.loggerCallback=l.loggerCallback,Je.logLevel=vt),void 0!==Ge&&(Je.piiLoggingEnabled=Ge),this.logger=new d.Y(Je,u.N,u.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var c=i(59048);let g=(()=>{class jt{static initializeNestedAppAuthBridge(){return(0,o.c)(function*(){if(void 0===window)throw new Error("window is undefined");if(void 0===window.nestedAppAuthBridge)throw new Error("window.nestedAppAuthBridge is undefined");if(void 0===window.crypto)throw new Error("window.crypto is undefined");try{jt.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",ye=>{const Ge=JSON.parse("string"==typeof ye?ye:ye.data),Je=jt.bridgeRequests.find(vt=>vt.requestId===Ge.requestId);void 0!==Je&&(jt.bridgeRequests.splice(jt.bridgeRequests.indexOf(Je),1),Ge.success?Je.resolve(Ge):Je.reject(Ge.error))});const Ee=yield new Promise((ye,Ce)=>{const Ge={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:jt.getRandomId()};jt.bridgeRequests.push({requestId:Ge.requestId,method:Ge.method,resolve:ye,reject:Ce}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Ge))});return jt.validateBridgeResultOrThrow(Ee.initContext)}catch(Ee){throw window.console.log(Ee),Ee}})()}static getRandomId(){return jt.crypto.randomUUID()}getTokenInteractive(Ee){return this.getToken("GetTokenPopup",Ee)}getTokenSilent(Ee){return this.getToken("GetToken",Ee)}getToken(Ee,ye){var Ce=this;return(0,o.c)(function*(){const Ge=yield Ce.sendRequest(Ee,{tokenParams:ye});return{token:jt.validateBridgeResultOrThrow(Ge.token),account:jt.validateBridgeResultOrThrow(Ge.account)}})()}getActiveAccount(){var Ee=this;return(0,o.c)(function*(){const ye=yield Ee.sendRequest("GetActiveAccount");return jt.validateBridgeResultOrThrow(ye.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Ee,ye){const Ce={messageType:"NestedAppAuthRequest",method:Ee,requestId:jt.getRandomId(),...ye};return new Promise((Je,vt)=>{jt.bridgeRequests.push({requestId:Ce.requestId,method:Ce.method,resolve:Je,reject:vt}),window.nestedAppAuthBridge.postMessage(JSON.stringify(Ce))})}static validateBridgeResultOrThrow(Ee){if(void 0===Ee)throw{status:c.I.NestedAppAuthUnavailable};return Ee}constructor(Ee,ye,Ce){this.sdkName=Ee,this.sdkVersion=ye,this.capabilities=Ce}static create(){return(0,o.c)(function*(){const Ee=yield jt.initializeNestedAppAuthBridge();return new jt(Ee.sdkName,Ee.sdkVersion,Ee.capabilities)})()}}return jt.bridgeRequests=[],jt})(),y=(()=>{class jt extends l{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return jt.MODULE_NAME}getId(){return jt.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Ee){this.activeAccount=Ee}initialize(){var Ee=this;return(0,o.c)(function*(){try{if(typeof window<"u"){const ye=yield g.create();try{ye.getHostCapabilities()?.queryAccount&&(Ee.activeAccount=yield ye.getActiveAccount())}catch{Ee.activeAccount=void 0}Ee.bridgeProxy=ye,Ee.available=void 0!==ye}else Ee.available=!1}catch{Ee.available=!1}finally{return Ee.available}})()}}return jt.MODULE_NAME="",jt.ID="TeamsAppOperatingContext",jt})(),_=(()=>{class jt extends l{getModuleName(){return jt.MODULE_NAME}getId(){return jt.ID}initialize(){var Ee=this;return(0,o.c)(function*(){return Ee.available=typeof window<"u",Ee.available})()}}return jt.MODULE_NAME="",jt.ID="StandardOperatingContext",jt})();function b(){return(b=(0,o.c)(function*(jt){const Fe=new _(jt);return yield Fe.initialize(),(yield Promise.resolve().then(i.bind(i,65304))).StandardController.createController(Fe)})).apply(this,arguments)}function p(jt){return f.apply(this,arguments)}function f(){return(f=(0,o.c)(function*(jt){const Fe=new _(jt),Ee=new y(jt),ye=[Fe.initialize(),Ee.initialize()];return yield Promise.all(ye),Ee.isAvailable()&&Ee.getConfig().auth.supportsNestedAppAuth?(yield i.e(1620).then(i.bind(i,61620))).NestedAppAuthController.createController(Ee):Fe.isAvailable()?(yield Promise.resolve().then(i.bind(i,65304))).StandardController.createController(Fe):null})).apply(this,arguments)}var S=i(65304);class v{static createPublicClientApplication(Fe){return(0,o.c)(function*(){const Ee=yield function C(jt){return b.apply(this,arguments)}(Fe);return new v(Fe,Ee)})()}constructor(Fe,Ee){if(Ee)this.controller=Ee;else{const ye=new _(Fe);this.controller=new S.StandardController(ye)}}initialize(){var Fe=this;return(0,o.c)(function*(){return Fe.controller.initialize()})()}acquireTokenPopup(Fe){var Ee=this;return(0,o.c)(function*(){return Ee.controller.acquireTokenPopup(Fe)})()}acquireTokenRedirect(Fe){return this.controller.acquireTokenRedirect(Fe)}acquireTokenSilent(Fe){return this.controller.acquireTokenSilent(Fe)}acquireTokenByCode(Fe){return this.controller.acquireTokenByCode(Fe)}addEventCallback(Fe){return this.controller.addEventCallback(Fe)}removeEventCallback(Fe){return this.controller.removeEventCallback(Fe)}addPerformanceCallback(Fe){return this.controller.addPerformanceCallback(Fe)}removePerformanceCallback(Fe){return this.controller.removePerformanceCallback(Fe)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(Fe){return this.controller.getAccount(Fe)}getAccountByHomeId(Fe){return this.controller.getAccountByHomeId(Fe)}getAccountByLocalId(Fe){return this.controller.getAccountByLocalId(Fe)}getAccountByUsername(Fe){return this.controller.getAccountByUsername(Fe)}getAllAccounts(Fe){return this.controller.getAllAccounts(Fe)}handleRedirectPromise(Fe){return this.controller.handleRedirectPromise(Fe)}loginPopup(Fe){return this.controller.loginPopup(Fe)}loginRedirect(Fe){return this.controller.loginRedirect(Fe)}logout(Fe){return this.controller.logout(Fe)}logoutRedirect(Fe){return this.controller.logoutRedirect(Fe)}logoutPopup(Fe){return this.controller.logoutPopup(Fe)}ssoSilent(Fe){return this.controller.ssoSilent(Fe)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(Fe){this.controller.setLogger(Fe)}setActiveAccount(Fe){this.controller.setActiveAccount(Fe)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(Fe,Ee){return this.controller.initializeWrapperLibrary(Fe,Ee)}setNavigationClient(Fe){this.controller.setNavigationClient(Fe)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(Fe,Ee){var ye=this;return(0,o.c)(function*(){return ye.controller.hydrateCache(Fe,Ee)})()}clearCache(Fe){return this.controller.clearCache(Fe)}}var M=i(65172),E=i(69812),A=i(7184),k=i(85968);class N{constructor(Fe){this.initialized=!1,this.operatingContext=Fe,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=Fe.getConfig(),this.logger=Fe.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new A.A(this.logger,this.performanceClient):M.K,this.browserStorage=this.isBrowserEnvironment?new E.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,E.S)(this.config.auth.clientId,this.logger),this.eventHandler=new k.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(Fe){return null}getAccountByHomeId(Fe){return null}getAccountByLocalId(Fe){return null}getAccountByUsername(Fe){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(Fe,Ee,ye){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(Fe,Ee){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(Fe){return this.eventHandler.addEventCallback(Fe)}removeEventCallback(Fe){this.eventHandler.removeEventCallback(Fe)}addPerformanceCallback(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}enableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}disableAccountStorageEvents(){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}handleRedirectPromise(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(Fe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getTokenCache(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getLogger(){return this.logger}setLogger(Fe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(Fe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(Fe,Ee){this.browserStorage.setWrapperMetadata(Fe,Ee)}setNavigationClient(Fe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getConfiguration(){return this.config}isBrowserEnv(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),!0}getBrowserCrypto(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getPerformanceClient(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}getRedirectResponse(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}preflightBrowserEnvironmentCheck(Fe,Ee){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(Fe){var Ee=this;return(0,o.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Ee.initialized),(0,n.blockNonBrowserEnvironment)(Ee.isBrowserEnvironment)})()}hydrateCache(Fe,Ee){var ye=this;return(0,o.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(ye.initialized),(0,n.blockNonBrowserEnvironment)(ye.isBrowserEnvironment)})()}}let F=(()=>{class jt extends l{getModuleName(){return jt.MODULE_NAME}getId(){return jt.ID}initialize(){return(0,o.c)(function*(){return!0})()}}return jt.MODULE_NAME="",jt.ID="UnknownOperatingContext",jt})();class T{static createPublicClientApplication(Fe){return(0,o.c)(function*(){const Ee=yield p(Fe);let ye;return ye=null!==Ee?new T(Fe,Ee):new T(Fe),ye})()}constructor(Fe,Ee){if(this.configuration=Fe,Ee)this.controller=Ee;else{const ye=new F(Fe);this.controller=new N(ye)}}initialize(){var Fe=this;return(0,o.c)(function*(){if(Fe.controller instanceof N){const Ee=yield p(Fe.configuration);return null!==Ee&&(Fe.controller=Ee),Fe.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(Fe){var Ee=this;return(0,o.c)(function*(){return Ee.controller.acquireTokenPopup(Fe)})()}acquireTokenRedirect(Fe){return this.controller.acquireTokenRedirect(Fe)}acquireTokenSilent(Fe){return this.controller.acquireTokenSilent(Fe)}acquireTokenByCode(Fe){return this.controller.acquireTokenByCode(Fe)}addEventCallback(Fe){return this.controller.addEventCallback(Fe)}removeEventCallback(Fe){return this.controller.removeEventCallback(Fe)}addPerformanceCallback(Fe){return this.controller.addPerformanceCallback(Fe)}removePerformanceCallback(Fe){return this.controller.removePerformanceCallback(Fe)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(Fe){return this.controller.getAccount(Fe)}getAccountByHomeId(Fe){return this.controller.getAccountByHomeId(Fe)}getAccountByLocalId(Fe){return this.controller.getAccountByLocalId(Fe)}getAccountByUsername(Fe){return this.controller.getAccountByUsername(Fe)}getAllAccounts(Fe){return this.controller.getAllAccounts(Fe)}handleRedirectPromise(Fe){return this.controller.handleRedirectPromise(Fe)}loginPopup(Fe){return this.controller.loginPopup(Fe)}loginRedirect(Fe){return this.controller.loginRedirect(Fe)}logout(Fe){return this.controller.logout(Fe)}logoutRedirect(Fe){return this.controller.logoutRedirect(Fe)}logoutPopup(Fe){return this.controller.logoutPopup(Fe)}ssoSilent(Fe){return this.controller.ssoSilent(Fe)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(Fe){this.controller.setLogger(Fe)}setActiveAccount(Fe){this.controller.setActiveAccount(Fe)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(Fe,Ee){return this.controller.initializeWrapperLibrary(Fe,Ee)}setNavigationClient(Fe){this.controller.setNavigationClient(Fe)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(Fe,Ee){var ye=this;return(0,o.c)(function*(){return ye.controller.hydrateCache(Fe,Ee)})()}clearCache(Fe){return this.controller.clearCache(Fe)}}var P=i(4792),I=i(72592),j=i(85288);const L={initialize:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,I.cf)(j.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,I.cf)(j.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,I.cf)(j.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,I.cf)(j.stubbedPublicClientApplicationCalled))};var B=i(64952),$=i(61744),ee=i(71720),le=i(88904),se=i(28612),K=i(46392);class Q{constructor(Fe,Ee){this.logger=new d.Y(Ee&&Ee.loggerOptions||{},u.N,u.W),this.cryptoOps=new A.A(this.logger),this.popTokenGenerator=new K.w(this.cryptoOps),this.shrParameters=Fe}generatePublicKeyThumbprint(){var Fe=this;return(0,o.c)(function*(){const{kid:Ee}=yield Fe.popTokenGenerator.generateKid(Fe.shrParameters);return Ee})()}signRequest(Fe,Ee,ye){var Ce=this;return(0,o.c)(function*(){return Ce.popTokenGenerator.signPayload(Fe,Ee,Ce.shrParameters,ye)})()}removeKeys(Fe){var Ee=this;return(0,o.c)(function*(){return Ee.cryptoOps.removeTokenBindingKey(Fe)})()}}var re=i(85348),X=i(35128);class z{constructor(Fe,Ee,ye,Ce,Ge,Je,vt){this.authority=Ee,this.libraryName=Ce,this.libraryVersion=Ge,this.applicationTelemetry=Je,this.clientId=Fe,this.logger=ye,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=vt||new Set;for(const Bt of re.ol)this.intFields.add(Bt)}startPerformanceMeasurement(Fe,Ee){return{}}getPreQueueTime(Fe,Ee){const ye=this.preQueueTimeByCorrelationId.get(Ee);if(ye){if(ye.name===Fe)return ye.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${Fe}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Ee}, unable to add queue measurement`)}calculateQueuedTime(Fe,Ee){return Fe<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${Fe}`),0):Ee<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Ee}`),0):Eethis.endMeasurement({...Ce,...Ge}),discard:()=>this.discardMeasurements(Ce.correlationId),add:Ge=>this.addFields(Ge,Ce.correlationId),increment:Ge=>this.incrementFields(Ge,Ce.correlationId),event:Ce,measurement:new X.W}}endMeasurement(Fe){const Ee=this.eventsByCorrelationId.get(Fe.correlationId);if(!Ee)return this.logger.trace(`PerformanceClient: Measurement not found for ${Fe.eventId}`,Fe.correlationId),null;const ye=Fe.eventId===Ee.eventId;let Ce={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};ye?(Ce=this.getQueueInfo(Fe.correlationId),this.discardCache(Ee.correlationId)):Ee.incompleteSubMeasurements?.delete(Fe.eventId);const Ge=Fe.durationMs||this.getDurationMs(Fe.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${Fe.name}: ${Ge} ms`,Fe.correlationId),!ye)return Ee[Fe.name+"DurationMs"]=Math.floor(Ge),{...Ee};let Je={...Ee,...Fe},vt=0;return Je.incompleteSubMeasurements?.forEach(Bt=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${Bt.name} found for ${Fe.name}`,Je.correlationId),vt++}),Je.incompleteSubMeasurements=void 0,Je={...Je,durationMs:Math.round(Ge),queuedTimeMs:Ce.totalQueueTime,queuedCount:Ce.totalQueueCount,queuedManuallyCompletedCount:Ce.manuallyCompletedCount,status:re.W8.Completed,incompleteSubsCount:vt},this.truncateIntegralFields(Je),this.emitEvents([Je],Fe.correlationId),Je}addFields(Fe,Ee){this.logger.trace("PerformanceClient: Updating static fields");const ye=this.eventsByCorrelationId.get(Ee);ye?this.eventsByCorrelationId.set(Ee,{...ye,...Fe}):this.logger.trace("PerformanceClient: Event not found for",Ee)}incrementFields(Fe,Ee){this.logger.trace("PerformanceClient: Updating counters");const ye=this.eventsByCorrelationId.get(Ee);if(ye)for(const Ce in Fe){if(ye.hasOwnProperty(Ce)){if(isNaN(Number(ye[Ce])))return}else ye[Ce]=0;ye[Ce]+=Fe[Ce]}else this.logger.trace("PerformanceClient: Event not found for",Ee)}cacheEventByCorrelationId(Fe){const Ee=this.eventsByCorrelationId.get(Fe.correlationId);Ee?(this.logger.trace(`PerformanceClient: Performance measurement for ${Fe.name} added/updated`,Fe.correlationId),Ee.incompleteSubMeasurements=Ee.incompleteSubMeasurements||new Map,Ee.incompleteSubMeasurements.set(Fe.eventId,{name:Fe.name,startTimeMs:Fe.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${Fe.name} started`,Fe.correlationId),this.eventsByCorrelationId.set(Fe.correlationId,{...Fe}))}getQueueInfo(Fe){const Ee=this.queueMeasurements.get(Fe);Ee||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${Fe}`);let ye=0,Ce=0,Ge=0;return Ee?.forEach(Je=>{ye+=Je.queueTime,Ce++,Ge+=Je.manuallyCompleted?1:0}),{totalQueueTime:ye,totalQueueCount:Ce,manuallyCompletedCount:Ge}}discardMeasurements(Fe){this.logger.trace("PerformanceClient: Performance measurements discarded",Fe),this.eventsByCorrelationId.delete(Fe)}discardCache(Fe){this.discardMeasurements(Fe),this.logger.trace("PerformanceClient: QueueMeasurements discarded",Fe),this.queueMeasurements.delete(Fe),this.logger.trace("PerformanceClient: Pre-queue times discarded",Fe),this.preQueueTimeByCorrelationId.delete(Fe)}addPerformanceCallback(Fe){const Ee=this.generateId();return this.callbacks.set(Ee,Fe),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Ee}`),Ee}removePerformanceCallback(Fe){const Ee=this.callbacks.delete(Fe);return this.logger.verbose(Ee?`PerformanceClient: Performance callback ${Fe} removed.`:`PerformanceClient: Performance callback ${Fe} not removed.`),Ee}emitEvents(Fe,Ee){this.logger.verbose("PerformanceClient: Emitting performance events",Ee),this.callbacks.forEach((ye,Ce)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${Ce}`,Ee),ye.apply(null,[Fe])})}truncateIntegralFields(Fe){this.intFields.forEach(Ee=>{Ee in Fe&&"number"==typeof Fe[Ee]&&(Fe[Ee]=Math.floor(Fe[Ee]))})}getDurationMs(Fe){const Ee=Date.now()-Fe;return Ee<0?Ee:0}}var Y=i(34739),q=i(27880);function de(){let jt;try{jt=window[e.Ir.SessionStorage];const Fe=jt?.getItem(e.OG);if(1===Number(Fe))return Promise.resolve().then(i.bind(i,18156))}catch{}}function me(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function Oe(jt){if(jt&&me())return Math.round(window.performance.now()-jt)}class Re extends z{constructor(Fe,Ee){super(Fe.auth.clientId,Fe.auth.authority||`${Y.Mv.DEFAULT_AUTHORITY}`,new d.Y(Fe.system?.loggerOptions||{},u.N,u.W),u.N,u.W,Fe.telemetry?.application||{appName:"",appVersion:""},Ee)}generateId(){return(0,q.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(Fe){de()?.then(Ee=>{const ye=this.eventsByCorrelationId.get(Fe.event.correlationId),Ge=[];ye&&ye.eventId===Fe.event.eventId&&ye?.incompleteSubMeasurements&&ye.incompleteSubMeasurements.forEach(Je=>{Ge.push({...Je})}),Ee.BrowserPerformanceMeasurement.flushMeasurements(Fe.event.correlationId,Ge)})}startMeasurement(Fe,Ee){const ye=this.getPageVisibility(),Ce=super.startMeasurement(Fe,Ee),Ge=me()?window.performance.now():void 0,Je=de()?.then(vt=>new vt.BrowserPerformanceMeasurement(Fe,Ce.event.correlationId));return Je?.then(vt=>vt.startMeasurement()),{...Ce,end:vt=>{const Bt=Ce.end({...vt,startPageVisibility:ye,endPageVisibility:this.getPageVisibility(),durationMs:Oe(Ge)});return Je?.then(Zt=>Zt.endMeasurement()),this.deleteIncompleteSubMeasurements(Ce),Bt},discard:()=>{Ce.discard(),Je?.then(vt=>vt.flushMeasurement()),this.deleteIncompleteSubMeasurements(Ce)}}}setPreQueueTime(Fe,Ee){if(!me())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${Fe}`);if(!Ee)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${Fe} not provided, unable to set telemetry queue time`);const ye=this.preQueueTimeByCorrelationId.get(Ee);ye&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${ye.name} found`,Ee),this.addQueueMeasurement(ye.name,Ee,void 0,!0)),this.preQueueTimeByCorrelationId.set(Ee,{name:Fe,time:window.performance.now()})}addQueueMeasurement(Fe,Ee,ye,Ce){if(!me())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${Fe}`);if(!Ee)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${Fe} not provided, unable to add queue measurement`);const Ge=super.getPreQueueTime(Fe,Ee);if(!Ge)return;const Je=window.performance.now(),vt=ye||super.calculateQueuedTime(Ge,Je);return super.addQueueMeasurement(Fe,Ee,vt,Ce)}}var Ae=i(18156),ge=i(59684),Ne=i(32336);class it{constructor(Fe){this.headers=Fe}getShrNonce(){const Fe=this.headers[Y.MF.AuthenticationInfo];if(Fe){const ye=this.parseChallenges(Fe);if(ye.nextnonce)return ye.nextnonce;throw(0,ge.QN)(Ne.invalidAuthenticationHeader)}const Ee=this.headers[Y.MF.WWWAuthenticate];if(Ee){const ye=this.parseChallenges(Ee);if(ye.nonce)return ye.nonce;throw(0,ge.QN)(Ne.invalidAuthenticationHeader)}throw(0,ge.QN)(Ne.missingNonceAuthenticationHeader)}parseChallenges(Fe){const Ee=Fe.indexOf(" "),ye=Fe.substr(Ee+1).split(","),Ce={};return ye.forEach(Ge=>{const[Je,vt]=Ge.split("=");Ce[Je]=unescape(vt.replace(/['"]+/g,Y.Mv.EMPTY_STRING))}),Ce}}var qe=i(98416),et=i(66936),De=i(83228),je=i(67952),Ie=i(28876),bt=i(71408),Qe=i(53408),Ut=i(72896),sn=i(65072),un=i(76944),Sn=i(7828),bn=i(67648),kt=i(32828)},59048:(ve,h,i)=>{"use strict";i.d(h,{I:()=>n});const n={UserInteractionRequired:"USER_INTERACTION_REQUIRED",UserCancel:"USER_CANCEL",NoNetwork:"NO_NETWORK",TransientError:"TRANSIENT_ERROR",PersistentError:"PERSISTENT_ERROR",Disabled:"DISABLED",AccountUnavailable:"ACCOUNT_UNAVAILABLE",NestedAppAuthUnavailable:"NESTED_APP_AUTH_UNAVAILABLE"}},64952:(ve,h,i)=>{"use strict";i.d(h,{m:()=>n});class n{navigateInternal(d,a){return n.defaultNavigateWindow(d,a)}navigateExternal(d,a){return n.defaultNavigateWindow(d,a)}static defaultNavigateWindow(d,a){return a.noHistory?window.location.replace(d):window.location.assign(d),new Promise(u=>{setTimeout(()=>{u(!0)},a.timeout)})}}},69096:(ve,h,i)=>{"use strict";i.d(h,{N:()=>n,W:()=>o});const n="@azure/msal-browser",o="3.10.0"},18156:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{BrowserPerformanceMeasurement:()=>n});class n{constructor(d,a){this.correlationId=a,this.measureName=n.makeMeasureName(d,a),this.startMark=n.makeStartMark(d,a),this.endMark=n.makeEndMark(d,a)}static makeMeasureName(d,a){return`msal.measure.${d}.${a}`}static makeStartMark(d,a){return`msal.start.${d}.${a}`}static makeEndMark(d,a){return`msal.end.${d}.${a}`}static supportsBrowserPerformance(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.mark&&"function"==typeof window.performance.measure&&"function"==typeof window.performance.clearMarks&&"function"==typeof window.performance.clearMeasures&&"function"==typeof window.performance.getEntriesByName}static flushMeasurements(d,a){if(n.supportsBrowserPerformance())try{a.forEach(u=>{const e=n.makeMeasureName(u.name,d);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,d)),window.performance.clearMarks(n.makeEndMark(e,d)))})}catch{}}startMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.startMark)}catch{}}endMeasurement(){if(n.supportsBrowserPerformance())try{window.performance.mark(this.endMark),window.performance.measure(this.measureName,this.startMark,this.endMark)}catch{}}flushMeasurement(){if(n.supportsBrowserPerformance())try{const d=window.performance.getEntriesByName(this.measureName,"measure");if(d.length>0){const a=d[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),a}}catch{}return null}}},26956:(ve,h,i)=>{"use strict";i.d(h,{CM:()=>g,Ce:()=>a,Ed:()=>y,Ip:()=>k,Ir:()=>u,Lm:()=>f,OG:()=>F,UZ:()=>c,Yz:()=>C,a:()=>A,eG:()=>p,eQ:()=>M,f6:()=>S,gV:()=>v,ig:()=>o,k9:()=>N,sJ:()=>d,wV:()=>_,wd:()=>E,wv:()=>b,yI:()=>e,zH:()=>l});var n=i(34739);const o={INTERACTION_IN_PROGRESS_VALUE:"interaction_in_progress",INVALID_GRANT_ERROR:"invalid_grant",POPUP_WIDTH:483,POPUP_HEIGHT:600,POPUP_NAME_PREFIX:"msal",DEFAULT_POLL_INTERVAL_MS:30,MSAL_SKU:"msal.js.browser"},d={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},a={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},u={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},l={AUTHORITY:"authority",ACQUIRE_TOKEN_ACCOUNT:"acquireToken.account",SESSION_STATE:"session.state",REQUEST_STATE:"request.state",NONCE_IDTOKEN:"nonce.id_token",ORIGIN_URI:"request.origin",RENEW_STATUS:"token.renew.status",URL_HASH:"urlHash",REQUEST_PARAMS:"request.params",SCOPES:"scopes",INTERACTION_STATUS_KEY:"interaction.status",CCS_CREDENTIAL:"ccs.credential",CORRELATION_ID:"request.correlationId",NATIVE_REQUEST:"request.native",REDIRECT_CONTEXT:"request.redirect.context"},c={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},g={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},y={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var _=function(T){return T.Redirect="redirect",T.Popup="popup",T.Silent="silent",T.None="none",T}(_||{});const C={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},b={scopes:n.ac},p="jwk",f={React:"@azure/msal-react",Angular:"@azure/msal-angular"},S="msal.db",v=1,M=`${S}.keys`,E={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},A=[E.Default,E.Skip,E.RefreshTokenAndNetwork],k="msal.browser.log.level",N="msal.browser.log.pii",F="msal.browser.performance.enabled"},99632:(ve,h,i)=>{"use strict";i.d(h,{Q:()=>a});var n=i(86144),o=i(28876),d=i(71408);function a(u,e){if(!e)return null;try{return n.c.parseRequestState(u,e).libraryState.meta}catch{throw(0,o.mQ)(d.invalidState)}}},84644:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{blockAPICallsBeforeInitialize:()=>S,blockAcquireTokenInPopups:()=>p,blockNonBrowserEnvironment:()=>f,blockRedirectInIframe:()=>b,blockReloadInHiddenIframes:()=>C,clearHash:()=>e,createGuid:()=>M,getCurrentUri:()=>y,getHomepage:()=>_,isInIframe:()=>c,isInPopup:()=>g,preconnect:()=>v,replaceHash:()=>l});var n=i(67648),o=i(4792),d=i(26956),a=i(27880),u=i(32828);function e(E){E.location.hash="","function"==typeof E.history.replaceState&&E.history.replaceState(null,"",`${E.location.origin}${E.location.pathname}${E.location.search}`)}function l(E){const A=E.split("#");A.shift(),window.location.hash=A.length>0?A.join("#"):""}function c(){return window.parent!==window}function g(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${d.ig.POPUP_NAME_PREFIX}.`)}function y(){return window.location.href.split("?")[0].split("#")[0]}function _(){const A=new n._(window.location.href).getUrlComponents();return`${A.Protocol}//${A.HostNameAndPort}/`}function C(){if(n._.hashContainsKnownProperties(window.location.hash)&&c())throw(0,o.Wq)(u.blockIframeReload)}function b(E,A){const k=c();if(E===d.wV.Redirect&&k&&!A)throw(0,o.Wq)(u.redirectInIframe)}function p(){if(g())throw(0,o.Wq)(u.blockNestedPopups)}function f(E){if(!E)throw(0,o.Wq)(u.nonBrowserEnvironment)}function S(E){if(!E)throw(0,o.Wq)(u.uninitializedPublicClientApplication)}function v(E){const A=document.createElement("link");A.rel="preconnect",A.href=new URL(E).origin,A.crossOrigin="anonymous",document.head.appendChild(A),window.setTimeout(()=>{try{document.head.removeChild(A)}catch{}},1e4)}function M(){return(0,a.E5)()}},60928:(ve,h,i)=>{"use strict";function n(a,u){return!!a&&!!u&&a===u.split(".")[1]}function o(a,u){const{oid:e,sub:l,tid:c,name:g,tfp:y,acr:_}=u,C=c||y||_||"";return{tenantId:C,localAccountId:e||l||"",name:g,isHomeTenant:n(C,a)}}function d(a,u,e,l){let c=a;if(u){const{isHomeTenant:g,...y}=u;c={...a,...y}}if(e){const{isHomeTenant:g,...y}=o(a.homeAccountId,e);return c={...c,...y,idTokenClaims:e,idToken:l},c}return c}i.d(h,{EJ:()=>o,Ho:()=>d,Wo:()=>n})},6400:(ve,h,i)=>{"use strict";i.d(h,{UH:()=>u,aw:()=>d});var n=i(28876),o=i(71408);function d(e,l){const c=function a(e){if(!e)throw(0,n.mQ)(o.nullOrEmptyToken);const c=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!c||c.length<4)throw(0,n.mQ)(o.tokenParsingError);return c[2]}(e);try{const g=l(c);return JSON.parse(g)}catch{throw(0,n.mQ)(o.tokenParsingError)}}function u(e,l){if(0===l||Date.now()-3e5>e+l)throw(0,n.mQ)(o.maxAgeTranspired)}},16256:(ve,h,i)=>{"use strict";i.d(h,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(ve,h,i)=>{"use strict";i.d(h,{G:()=>a,k:()=>u});var n=i(28876),o=i(34739),d=i(71408);function a(e,l){if(!e)throw(0,n.mQ)(d.clientInfoEmptyError);try{const c=l(e);return JSON.parse(c)}catch{throw(0,n.mQ)(d.clientInfoDecodingError)}}function u(e){if(!e)throw(0,n.mQ)(d.clientInfoDecodingError);const l=e.split(o.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:l[0],utid:l.length<2?o.Mv.EMPTY_STRING:l[1]}}},79032:(ve,h,i)=>{"use strict";function n(o){return o&&(o.tid||o.tfp||o.acr)||null}i.d(h,{c:()=>n})},74968:(ve,h,i)=>{"use strict";i.d(h,{ET:()=>l,IP:()=>e,UD:()=>g,_8:()=>y,gB:()=>a});var n=i(67648),o=i(34739);const a={"login.microsoftonline.com":{token_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.com/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.com/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.com/{tenantid}/oauth2/v2.0/logout"},"login.chinacloudapi.cn":{token_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.chinacloudapi.cn/{tenantid}/discovery/v2.0/keys",issuer:"https://login.partner.microsoftonline.cn/{tenantid}/v2.0",authorization_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.chinacloudapi.cn/{tenantid}/oauth2/v2.0/logout"},"login.microsoftonline.us":{token_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/token",jwks_uri:"https://login.microsoftonline.us/{tenantid}/discovery/v2.0/keys",issuer:"https://login.microsoftonline.us/{tenantid}/v2.0",authorization_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/authorize",end_session_endpoint:"https://login.microsoftonline.us/{tenantid}/oauth2/v2.0/logout"}},u={tenant_discovery_endpoint:"https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",metadata:[{preferred_network:"login.microsoftonline.com",preferred_cache:"login.windows.net",aliases:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{preferred_network:"login.partner.microsoftonline.cn",preferred_cache:"login.partner.microsoftonline.cn",aliases:["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{preferred_network:"login.microsoftonline.de",preferred_cache:"login.microsoftonline.de",aliases:["login.microsoftonline.de"]},{preferred_network:"login.microsoftonline.us",preferred_cache:"login.microsoftonline.us",aliases:["login.microsoftonline.us","login.usgovcloudapi.net"]},{preferred_network:"login-us.microsoftonline.com",preferred_cache:"login-us.microsoftonline.com",aliases:["login-us.microsoftonline.com"]}]},e=new Set;function l(_,C){let b;const p=_.canonicalAuthority;if(p){const f=new n._(p).getUrlComponents().HostNameAndPort;b=c(f,_.cloudDiscoveryMetadata?.metadata,o.cv.CONFIG,C)||c(f,u.metadata,o.cv.HARDCODED_VALUES,C)||_.knownAuthorities}return b||[]}function c(_,C,b,p){if(p?.trace(`getAliasesFromMetadata called with source: ${b}`),_&&C){const f=y(C,_);if(f)return p?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${b}, returning aliases`),f.aliases;p?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${b}`)}return null}function g(_){return y(u.metadata,_)}function y(_,C){for(let b=0;b<_.length;b++){const p=_[b];if(p.aliases.includes(C))return p}return null}u.metadata.forEach(_=>{_.aliases.forEach(C=>{e.add(C)})})},67952:(ve,h,i)=>{"use strict";i.d(h,{C:()=>n});const n={None:"none",AzurePublic:"https://login.microsoftonline.com",AzurePpe:"https://login.windows-ppe.net",AzureChina:"https://login.chinacloudapi.cn",AzureGermany:"https://login.microsoftonline.de",AzureUsGovernment:"https://login.microsoftonline.us"}},25988:(ve,h,i)=>{"use strict";i.d(h,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(ve,h,i)=>{"use strict";i.d(h,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(ve,h,i)=>{"use strict";i.d(h,{B:()=>C,K:()=>b});var n=i(1528),o=i(34739),d=i(72584),a=i(95248),u=i(98416),e=i(28876),l=i(60928),c=i(6400),g=i(75205),y=i(74968),_=i(71408);class C{constructor(f,S,v,M){this.clientId=f,this.cryptoImpl=S,this.commonLogger=v.clone(g.N,g.W),this.staticAuthorityOptions=M}getAllAccounts(f){return this.buildTenantProfiles(this.getAccountsFilteredBy(f||{}),f)}getAccountInfoFilteredBy(f){const S=this.getAllAccounts(f);return S.length>1?S.sort(M=>M.idTokenClaims?-1:1)[0]:1===S.length?S[0]:null}getBaseAccountInfo(f){const S=this.getAccountsFilteredBy(f);return S.length>0?S[0].getAccountInfo():null}buildTenantProfiles(f,S){return f.flatMap(v=>this.getAccountInfoForTenantProfiles(v,S))}getAccountInfoForTenantProfiles(f,S){return this.getTenantProfilesFromAccountEntity(f,S?.tenantId,S)}getTenantedAccountInfoByFilter(f,S,v,M){let A,E=null;if(M&&!this.tenantProfileMatchesFilter(v,M))return null;const k=this.getIdToken(f,S,v.tenantId);return k&&(A=(0,c.aw)(k.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(A,M))?null:(E=(0,l.Ho)(f,v,A,k?.secret),E)}getTenantProfilesFromAccountEntity(f,S,v){const M=f.getAccountInfo();let E=M.tenantProfiles||new Map;const A=this.getTokenKeys();if(S){const N=E.get(S);if(!N)return[];E=new Map([[S,N]])}const k=[];return E.forEach(N=>{const F=this.getTenantedAccountInfoByFilter(M,A,N,v);F&&k.push(F)}),k}tenantProfileMatchesFilter(f,S){return!(S.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(f,S.localAccountId)||S.name&&f.name!==S.name||void 0!==S.isHomeTenant&&f.isHomeTenant!==S.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(f,S){return!(S&&(S.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(f,S.localAccountId)||S.loginHint&&!this.matchLoginHintFromTokenClaims(f,S.loginHint)||S.username&&!this.matchUsername(f.preferred_username,S.username)||S.name&&!this.matchName(f,S.name)||S.sid&&!this.matchSid(f,S.sid)))}saveCacheRecord(f,S){var v=this;return(0,n.c)(function*(){if(!f)throw(0,e.mQ)(_.invalidCacheRecord);f.account&&v.setAccount(f.account),f.idToken&&!1!==S?.idToken&&v.setIdTokenCredential(f.idToken),f.accessToken&&!1!==S?.accessToken&&(yield v.saveAccessToken(f.accessToken)),f.refreshToken&&!1!==S?.refreshToken&&v.setRefreshTokenCredential(f.refreshToken),f.appMetadata&&v.setAppMetadata(f.appMetadata)})()}saveAccessToken(f){var S=this;return(0,n.c)(function*(){const v={clientId:f.clientId,credentialType:f.credentialType,environment:f.environment,homeAccountId:f.homeAccountId,realm:f.realm,tokenType:f.tokenType,requestedClaimsHash:f.requestedClaimsHash},M=S.getTokenKeys(),E=a.k.fromString(f.target),A=[];M.accessToken.forEach(k=>{if(!S.accessTokenKeyMatchesFilter(k,v,!1))return;const N=S.getAccessTokenCredential(k);N&&S.credentialMatchesFilter(N,v)&&a.k.fromString(N.target).intersectingScopeSets(E)&&A.push(S.removeAccessToken(k))}),yield Promise.all(A),S.setAccessTokenCredential(f)})()}getAccountsFilteredBy(f){const S=this.getAccountKeys(),v=[];return S.forEach(M=>{if(!this.isAccountKey(M,f.homeAccountId))return;const E=this.getAccount(M,this.commonLogger);if(!E||f.homeAccountId&&!this.matchHomeAccountId(E,f.homeAccountId)||f.username&&!this.matchUsername(E.username,f.username)||f.environment&&!this.matchEnvironment(E,f.environment)||f.realm&&!this.matchRealm(E,f.realm)||f.nativeAccountId&&!this.matchNativeAccountId(E,f.nativeAccountId)||f.authorityType&&!this.matchAuthorityType(E,f.authorityType))return;const A={localAccountId:f?.localAccountId,name:f?.name},k=E.tenantProfiles?.filter(N=>this.tenantProfileMatchesFilter(N,A));k&&0===k.length||v.push(E)}),v}isAccountKey(f,S,v){return!(f.split(o.Mj.CACHE_KEY_SEPARATOR).length<3||S&&!f.toLowerCase().includes(S.toLowerCase())||v&&!f.toLowerCase().includes(v.toLowerCase()))}isCredentialKey(f){if(f.split(o.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const S=f.toLowerCase();if(-1===S.indexOf(o.yu.ID_TOKEN.toLowerCase())&&-1===S.indexOf(o.yu.ACCESS_TOKEN.toLowerCase())&&-1===S.indexOf(o.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===S.indexOf(o.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(S.indexOf(o.yu.REFRESH_TOKEN.toLowerCase())>-1){const M=`${o.yu.REFRESH_TOKEN}${o.Mj.CACHE_KEY_SEPARATOR}${o.wj}${o.Mj.CACHE_KEY_SEPARATOR}`;if(-1===S.indexOf(`${o.yu.REFRESH_TOKEN}${o.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${o.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===S.indexOf(M.toLowerCase()))return!1}else if(-1===S.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(f,S){return!(S.clientId&&!this.matchClientId(f,S.clientId)||S.userAssertionHash&&!this.matchUserAssertionHash(f,S.userAssertionHash)||"string"==typeof S.homeAccountId&&!this.matchHomeAccountId(f,S.homeAccountId)||S.environment&&!this.matchEnvironment(f,S.environment)||S.realm&&!this.matchRealm(f,S.realm)||S.credentialType&&!this.matchCredentialType(f,S.credentialType)||S.familyId&&!this.matchFamilyId(f,S.familyId)||S.target&&!this.matchTarget(f,S.target)||(S.requestedClaimsHash||f.requestedClaimsHash)&&f.requestedClaimsHash!==S.requestedClaimsHash||f.credentialType===o.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(S.tokenType&&!this.matchTokenType(f,S.tokenType)||S.tokenType===o.me.SSH&&S.keyId&&!this.matchKeyId(f,S.keyId)))}getAppMetadataFilteredBy(f){return this.getAppMetadataFilteredByInternal(f.environment,f.clientId)}getAppMetadataFilteredByInternal(f,S){const v=this.getKeys(),M={};return v.forEach(E=>{if(!this.isAppMetadata(E))return;const A=this.getAppMetadata(E);A&&(f&&!this.matchEnvironment(A,f)||S&&!this.matchClientId(A,S)||(M[E]=A))}),M}getAuthorityMetadataByAlias(f){const S=this.getAuthorityMetadataKeys();let v=null;return S.forEach(M=>{if(!this.isAuthorityMetadata(M)||-1===M.indexOf(this.clientId))return;const E=this.getAuthorityMetadata(M);E&&-1!==E.aliases.indexOf(f)&&(v=E)}),v}removeAllAccounts(){var f=this;return(0,n.c)(function*(){const S=f.getAccountKeys(),v=[];S.forEach(M=>{v.push(f.removeAccount(M))}),yield Promise.all(v)})()}removeAccount(f){var S=this;return(0,n.c)(function*(){const v=S.getAccount(f,S.commonLogger);v&&(yield S.removeAccountContext(v),S.removeItem(f))})()}removeAccountContext(f){var S=this;return(0,n.c)(function*(){const v=S.getTokenKeys(),M=f.generateAccountId(),E=[];v.idToken.forEach(A=>{0===A.indexOf(M)&&S.removeIdToken(A)}),v.accessToken.forEach(A=>{0===A.indexOf(M)&&E.push(S.removeAccessToken(A))}),v.refreshToken.forEach(A=>{0===A.indexOf(M)&&S.removeRefreshToken(A)}),yield Promise.all(E)})()}updateOutdatedCachedAccount(f,S,v){if(S&&S.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const M=this.getAccountKeys().filter(F=>F.startsWith(S.homeAccountId)),E=[];M.forEach(F=>{const T=this.getCachedAccountEntity(F);T&&E.push(T)});const A=E.find(F=>(0,l.Wo)(F.realm,F.homeAccountId))||E[0];A.tenantProfiles=E.map(F=>({tenantId:F.realm,localAccountId:F.localAccountId,name:F.name,isHomeTenant:(0,l.Wo)(F.realm,F.homeAccountId)}));const k=C.toObject(new u.M,{...A}),N=k.generateAccountKey();return M.forEach(F=>{F!==N&&this.removeOutdatedAccount(f)}),this.setAccount(k),v?.verbose("Updated an outdated account entity in the cache"),k}return S}removeAccessToken(f){var S=this;return(0,n.c)(function*(){const v=S.getAccessTokenCredential(f);if(v){if(v.credentialType.toLowerCase()===o.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&v.tokenType===o.me.POP){const E=v.keyId;if(E)try{yield S.cryptoImpl.removeTokenBindingKey(E)}catch{throw(0,e.mQ)(_.bindingKeyNotRemoved)}}return S.removeItem(f)}})()}removeAppMetadata(){return this.getKeys().forEach(S=>{this.isAppMetadata(S)&&this.removeItem(S)}),!0}readAccountFromCache(f){const S=u.M.generateAccountCacheKey(f);return this.getAccount(S,this.commonLogger)}getIdToken(f,S,v,M,E){this.commonLogger.trace("CacheManager - getIdToken called");const k=this.getIdTokensByFilter({homeAccountId:f.homeAccountId,environment:f.environment,credentialType:o.yu.ID_TOKEN,clientId:this.clientId,realm:v},S),N=k.size;if(N<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(N>1){let F=k;if(!v){const T=new Map;k.forEach((I,j)=>{I.realm===f.tenantId&&T.set(j,I)});const P=T.size;if(P<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),k.values().next().value;if(1===P)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),T.values().next().value;F=T}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),F.forEach((T,P)=>{this.removeIdToken(P)}),M&&E&&M.addFields({multiMatchedID:k.size},E),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),k.values().next().value}getIdTokensByFilter(f,S){const v=S&&S.idToken||this.getTokenKeys().idToken,M=new Map;return v.forEach(E=>{if(!this.idTokenKeyMatchesFilter(E,{clientId:this.clientId,...f}))return;const A=this.getIdTokenCredential(E);A&&this.credentialMatchesFilter(A,f)&&M.set(E,A)}),M}idTokenKeyMatchesFilter(f,S){const v=f.toLowerCase();return!(S.clientId&&-1===v.indexOf(S.clientId.toLowerCase())||S.homeAccountId&&-1===v.indexOf(S.homeAccountId.toLowerCase()))}removeIdToken(f){this.removeItem(f)}removeRefreshToken(f){this.removeItem(f)}getAccessToken(f,S,v,M,E,A){this.commonLogger.trace("CacheManager - getAccessToken called");const k=a.k.createSearchScopes(S.scopes),N=S.authenticationScheme||o.me.BEARER,F=N&&N.toLowerCase()!==o.me.BEARER.toLowerCase()?o.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:o.yu.ACCESS_TOKEN,T={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:F,clientId:this.clientId,realm:M||f.tenantId,target:k,tokenType:N,keyId:S.sshKid,requestedClaimsHash:S.requestedClaimsHash},P=v&&v.accessToken||this.getTokenKeys().accessToken,I=[];P.forEach(L=>{if(this.accessTokenKeyMatchesFilter(L,T,!0)){const B=this.getAccessTokenCredential(L);B&&this.credentialMatchesFilter(B,T)&&I.push(B)}});const j=I.length;return j<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):j>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),I.forEach(L=>{this.removeAccessToken((0,d.AZ)(L))}),E&&A&&E.addFields({multiMatchedAT:I.length},A),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),I[0])}accessTokenKeyMatchesFilter(f,S,v){const M=f.toLowerCase();if(S.clientId&&-1===M.indexOf(S.clientId.toLowerCase())||S.homeAccountId&&-1===M.indexOf(S.homeAccountId.toLowerCase())||S.realm&&-1===M.indexOf(S.realm.toLowerCase())||S.requestedClaimsHash&&-1===M.indexOf(S.requestedClaimsHash.toLowerCase()))return!1;if(S.target){const E=S.target.asArray();for(let A=0;A{if(!this.accessTokenKeyMatchesFilter(M,f,!0))return;const E=this.getAccessTokenCredential(M);E&&this.credentialMatchesFilter(E,f)&&v.push(E)}),v}getRefreshToken(f,S,v,M,E){this.commonLogger.trace("CacheManager - getRefreshToken called");const k={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:o.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:S?o.wj:void 0},N=v&&v.refreshToken||this.getTokenKeys().refreshToken,F=[];N.forEach(P=>{if(this.refreshTokenKeyMatchesFilter(P,k)){const I=this.getRefreshTokenCredential(P);I&&this.credentialMatchesFilter(I,k)&&F.push(I)}});const T=F.length;return T<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(T>1&&M&&E&&M.addFields({multiMatchedRT:T},E),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),F[0])}refreshTokenKeyMatchesFilter(f,S){const v=f.toLowerCase();return!(S.familyId&&-1===v.indexOf(S.familyId.toLowerCase())||!S.familyId&&S.clientId&&-1===v.indexOf(S.clientId.toLowerCase())||S.homeAccountId&&-1===v.indexOf(S.homeAccountId.toLowerCase()))}readAppMetadataFromCache(f){const v=this.getAppMetadataFilteredBy({environment:f,clientId:this.clientId}),M=Object.keys(v).map(A=>v[A]),E=M.length;if(E<1)return null;if(E>1)throw(0,e.mQ)(_.multipleMatchingAppMetadata);return M[0]}isAppMetadataFOCI(f){const S=this.readAppMetadataFromCache(f);return!(!S||S.familyId!==o.wj)}matchHomeAccountId(f,S){return"string"==typeof f.homeAccountId&&S===f.homeAccountId}matchLocalAccountIdFromTokenClaims(f,S){return S===(f.oid||f.sub)}matchLocalAccountIdFromTenantProfile(f,S){return f.localAccountId===S}matchName(f,S){return S.toLowerCase()===f.name?.toLowerCase()}matchUsername(f,S){return!(!f||"string"!=typeof f||S?.toLowerCase()!==f.toLowerCase())}matchUserAssertionHash(f,S){return!(!f.userAssertionHash||S!==f.userAssertionHash)}matchEnvironment(f,S){if(this.staticAuthorityOptions){const M=(0,y.ET)(this.staticAuthorityOptions,this.commonLogger);if(M.includes(S)&&M.includes(f.environment))return!0}const v=this.getAuthorityMetadataByAlias(S);return!!(v&&v.aliases.indexOf(f.environment)>-1)}matchCredentialType(f,S){return f.credentialType&&S.toLowerCase()===f.credentialType.toLowerCase()}matchClientId(f,S){return!(!f.clientId||S!==f.clientId)}matchFamilyId(f,S){return!(!f.familyId||S!==f.familyId)}matchRealm(f,S){return f.realm?.toLowerCase()===S.toLowerCase()}matchNativeAccountId(f,S){return!(!f.nativeAccountId||S!==f.nativeAccountId)}matchLoginHintFromTokenClaims(f,S){return f.login_hint===S||f.preferred_username===S||f.upn===S}matchSid(f,S){return f.sid===S}matchAuthorityType(f,S){return!(!f.authorityType||S.toLowerCase()!==f.authorityType.toLowerCase())}matchTarget(f,S){return!(f.credentialType!==o.yu.ACCESS_TOKEN&&f.credentialType!==o.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!f.target)&&a.k.fromString(f.target).containsScopeSet(S)}matchTokenType(f,S){return!(!f.tokenType||f.tokenType!==S)}matchKeyId(f,S){return!(!f.keyId||f.keyId!==S)}isAppMetadata(f){return-1!==f.indexOf(o.cz)}isAuthorityMetadata(f){return-1!==f.indexOf(o.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(f){return`${o.Ni.CACHE_KEY}-${this.clientId}-${f}`}static toObject(f,S){for(const v in S)f[v]=S[v];return f}}class b extends C{setAccount(){throw(0,e.mQ)(_.methodNotImplemented)}getAccount(){throw(0,e.mQ)(_.methodNotImplemented)}getCachedAccountEntity(){throw(0,e.mQ)(_.methodNotImplemented)}setIdTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}getIdTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}setAccessTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}getAccessTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}setRefreshTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}getRefreshTokenCredential(){throw(0,e.mQ)(_.methodNotImplemented)}setAppMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}getAppMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}setServerTelemetry(){throw(0,e.mQ)(_.methodNotImplemented)}getServerTelemetry(){throw(0,e.mQ)(_.methodNotImplemented)}setAuthorityMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}getAuthorityMetadata(){throw(0,e.mQ)(_.methodNotImplemented)}getAuthorityMetadataKeys(){throw(0,e.mQ)(_.methodNotImplemented)}setThrottlingCache(){throw(0,e.mQ)(_.methodNotImplemented)}getThrottlingCache(){throw(0,e.mQ)(_.methodNotImplemented)}removeItem(){throw(0,e.mQ)(_.methodNotImplemented)}containsKey(){throw(0,e.mQ)(_.methodNotImplemented)}getKeys(){throw(0,e.mQ)(_.methodNotImplemented)}getAccountKeys(){throw(0,e.mQ)(_.methodNotImplemented)}getTokenKeys(){throw(0,e.mQ)(_.methodNotImplemented)}clear(){return(0,n.c)(function*(){throw(0,e.mQ)(_.methodNotImplemented)})()}updateCredentialCacheKey(){throw(0,e.mQ)(_.methodNotImplemented)}removeOutdatedAccount(){throw(0,e.mQ)(_.methodNotImplemented)}}},98416:(ve,h,i)=>{"use strict";i.d(h,{M:()=>g});var n=i(34739),o=i(22045),d=i(60928),a=i(28876),u=i(25988),e=i(79032),l=i(65072),c=i(71408);class g{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return g.generateAccountCacheKey({homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId})}getAccountInfo(){return{homeAccountId:this.homeAccountId,environment:this.environment,tenantId:this.realm,username:this.username,localAccountId:this.localAccountId,name:this.name,nativeAccountId:this.nativeAccountId,authorityType:this.authorityType,tenantProfiles:new Map((this.tenantProfiles||[]).map(_=>[_.tenantId,_]))}}isSingleTenant(){return!this.tenantProfiles}static generateAccountCacheKey(_){const C=_.homeAccountId.split(".")[1];return[_.homeAccountId,_.environment||"",C||_.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(_,C,b){const p=new g;let f;p.authorityType=C.authorityType===u.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:C.protocolMode===l.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,_.clientInfo&&b&&(f=(0,o.G)(_.clientInfo,b)),p.clientInfo=_.clientInfo,p.homeAccountId=_.homeAccountId,p.nativeAccountId=_.nativeAccountId;const S=_.environment||C&&C.getPreferredCache();if(!S)throw(0,a.mQ)(c.invalidCacheEnvironment);if(p.environment=S,p.realm=f?.utid||(0,e.c)(_.idTokenClaims)||"",p.localAccountId=f?.uid||_.idTokenClaims.oid||_.idTokenClaims.sub||"",p.username=_.idTokenClaims.preferred_username||_.idTokenClaims.upn||(_.idTokenClaims.emails?_.idTokenClaims.emails[0]:null)||"",p.name=_.idTokenClaims.name,p.cloudGraphHostName=_.cloudGraphHostName,p.msGraphHost=_.msGraphHost,_.tenantProfiles)p.tenantProfiles=_.tenantProfiles;else{const E=[];if(_.idTokenClaims){const A=(0,d.EJ)(_.homeAccountId,_.idTokenClaims);E.push(A)}p.tenantProfiles=E}return p}static createFromAccountInfo(_,C,b){const p=new g;return p.authorityType=_.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,p.homeAccountId=_.homeAccountId,p.localAccountId=_.localAccountId,p.nativeAccountId=_.nativeAccountId,p.realm=_.tenantId,p.environment=_.environment,p.username=_.username,p.name=_.name,p.cloudGraphHostName=C,p.msGraphHost=b,p.tenantProfiles=Array.from(_.tenantProfiles?.values()||[]),p}static generateHomeAccountId(_,C,b,p,f){if(C!==u.O.Adfs&&C!==u.O.Dsts){if(_)try{const S=(0,o.G)(_,p.base64Decode);if(S.uid&&S.utid)return`${S.uid}.${S.utid}`}catch{}b.warning("No client info in response")}return f?.sub||""}static isAccountEntity(_){return!!_&&_.hasOwnProperty("homeAccountId")&&_.hasOwnProperty("environment")&&_.hasOwnProperty("realm")&&_.hasOwnProperty("localAccountId")&&_.hasOwnProperty("username")&&_.hasOwnProperty("authorityType")}static accountInfoIsEqual(_,C,b){if(!_||!C)return!1;let p=!0;if(b){const f=_.idTokenClaims||{},S=C.idTokenClaims||{};p=f.iat===S.iat&&f.nonce===S.nonce}return _.homeAccountId===C.homeAccountId&&_.localAccountId===C.localAccountId&&_.username===C.username&&_.tenantId===C.tenantId&&_.environment===C.environment&&_.nativeAccountId===C.nativeAccountId&&p}}},9488:(ve,h,i)=>{"use strict";i.d(h,{O:()=>n});class n{constructor(d,a,u,e,l){this.account=d||null,this.idToken=a||null,this.accessToken=u||null,this.refreshToken=e||null,this.appMetadata=l||null}}},72584:(ve,h,i)=>{"use strict";i.d(h,{AZ:()=>e,LS:()=>C,MJ:()=>c,S:()=>k,U5:()=>b,Ul:()=>_,YF:()=>l,_c:()=>g,aA:()=>F,cb:()=>I,gv:()=>T,mk:()=>j,q6:()=>N,s7:()=>A,sH:()=>P,sX:()=>E});var n=i(6400),o=i(28876),d=i(34739),a=i(50160),u=i(71408);function e(L){return[p(L),f(L),S(L),v(L),M(L)].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function l(L,B,$,ee,le){return{credentialType:d.yu.ID_TOKEN,homeAccountId:L,environment:B,clientId:ee,secret:$,realm:le}}function c(L,B,$,ee,le,se,K,Q,re,X,z,Y,q,de,me){const Oe={homeAccountId:L,credentialType:d.yu.ACCESS_TOKEN,secret:$,cachedAt:(0,a.GO)().toString(),expiresOn:K.toString(),extendedExpiresOn:Q.toString(),environment:B,clientId:ee,realm:le,target:se,tokenType:z||d.me.BEARER};if(Y&&(Oe.userAssertionHash=Y),X&&(Oe.refreshOn=X.toString()),de&&(Oe.requestedClaims=de,Oe.requestedClaimsHash=me),Oe.tokenType?.toLowerCase()!==d.me.BEARER.toLowerCase())switch(Oe.credentialType=d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,Oe.tokenType){case d.me.POP:const Re=(0,n.aw)($,re);if(!Re?.cnf?.kid)throw(0,o.mQ)(u.tokenClaimsCnfRequiredForSignedJwt);Oe.keyId=Re.cnf.kid;break;case d.me.SSH:Oe.keyId=q}return Oe}function g(L,B,$,ee,le,se,K){const Q={credentialType:d.yu.REFRESH_TOKEN,homeAccountId:L,environment:B,clientId:ee,secret:$};return se&&(Q.userAssertionHash=se),le&&(Q.familyId=le),K&&(Q.expiresOn=K.toString()),Q}function y(L){return L.hasOwnProperty("homeAccountId")&&L.hasOwnProperty("environment")&&L.hasOwnProperty("credentialType")&&L.hasOwnProperty("clientId")&&L.hasOwnProperty("secret")}function _(L){return!!L&&y(L)&&L.hasOwnProperty("realm")&&L.hasOwnProperty("target")&&(L.credentialType===d.yu.ACCESS_TOKEN||L.credentialType===d.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function C(L){return!!L&&y(L)&&L.hasOwnProperty("realm")&&L.credentialType===d.yu.ID_TOKEN}function b(L){return!!L&&y(L)&&L.credentialType===d.yu.REFRESH_TOKEN}function p(L){return[L.homeAccountId,L.environment].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function f(L){return[L.credentialType,L.credentialType===d.yu.REFRESH_TOKEN&&L.familyId||L.clientId,L.realm||""].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function S(L){return(L.target||"").toLowerCase()}function v(L){return(L.requestedClaimsHash||"").toLowerCase()}function M(L){return L.tokenType&&L.tokenType.toLowerCase()!==d.me.BEARER.toLowerCase()?L.tokenType.toLowerCase():""}function E(L,B){const $=0===L.indexOf(d.ic.CACHE_KEY);let ee=!0;return B&&(ee=B.hasOwnProperty("failedRequests")&&B.hasOwnProperty("errors")&&B.hasOwnProperty("cacheHits")),$&&ee}function A(L,B){let $=!1;L&&($=0===L.indexOf(d.gr.THROTTLING_PREFIX));let ee=!0;return B&&(ee=B.hasOwnProperty("throttleTime")),$&&ee}function k({environment:L,clientId:B}){return[d.cz,L,B].join(d.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function N(L,B){return!!B&&0===L.indexOf(d.cz)&&B.hasOwnProperty("clientId")&&B.hasOwnProperty("environment")}function F(L,B){return!!B&&0===L.indexOf(d.Ni.CACHE_KEY)&&B.hasOwnProperty("aliases")&&B.hasOwnProperty("preferred_cache")&&B.hasOwnProperty("preferred_network")&&B.hasOwnProperty("canonical_authority")&&B.hasOwnProperty("authorization_endpoint")&&B.hasOwnProperty("token_endpoint")&&B.hasOwnProperty("issuer")&&B.hasOwnProperty("aliasesFromNetwork")&&B.hasOwnProperty("endpointsFromNetwork")&&B.hasOwnProperty("expiresAt")&&B.hasOwnProperty("jwks_uri")}function T(){return(0,a.GO)()+d.Ni.REFRESH_TIME_SECONDS}function P(L,B,$){L.authorization_endpoint=B.authorization_endpoint,L.token_endpoint=B.token_endpoint,L.end_session_endpoint=B.end_session_endpoint,L.issuer=B.issuer,L.endpointsFromNetwork=$,L.jwks_uri=B.jwks_uri}function I(L,B,$){L.aliases=B.aliases,L.preferred_cache=B.preferred_cache,L.preferred_network=B.preferred_network,L.aliasesFromNetwork=$}function j(L){return L.expiresAt<=(0,a.GO)()}},80660:(ve,h,i)=>{"use strict";i.d(h,{cJ:()=>A,k5:()=>C,qW:()=>N});var n=i(1528),o=i(65172),d=i(73364),a=i(34739),u=i(75205),e=i(67952),l=i(6536),c=i(65072),g=i(28876),y=i(71408);const C={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},b={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:d.G.Info,correlationId:a.Mv.EMPTY_STRING},p={claimsBasedCachingEnabled:!1},f={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(y.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,g.mQ)(y.methodNotImplemented)})()},S={sku:a.Mv.SKU,version:u.W,cpu:a.Mv.EMPTY_STRING,os:a.Mv.EMPTY_STRING},v={clientSecret:a.Mv.EMPTY_STRING,clientAssertion:void 0},M={azureCloudInstance:e.C.None,tenant:`${a.Mv.DEFAULT_COMMON_TENANT}`},E={application:{appName:"",appVersion:""}};function A({authOptions:F,systemOptions:T,loggerOptions:P,cacheOptions:I,storageInterface:j,networkInterface:L,cryptoInterface:B,clientCredentials:$,libraryInfo:ee,telemetry:le,serverTelemetryManager:se,persistencePlugin:K,serializableCache:Q}){const re={...b,...P};return{authOptions:k(F),systemOptions:{...C,...T},loggerOptions:re,cacheOptions:{...p,...I},storageInterface:j||new l.K(F.clientId,o.K,new d.Y(re)),networkInterface:L||f,cryptoInterface:B||o.K,clientCredentials:$||v,libraryInfo:{...S,...ee},telemetry:{...E,...le},serverTelemetryManager:se||null,persistencePlugin:K||null,serializableCache:Q||null}}function k(F){return{clientCapabilities:[],azureCloudOptions:M,skipAuthorityMetadataCache:!1,...F}}function N(F){return F.authOptions.authority.options.protocolMode===c.g.OIDC}},91076:(ve,h,i)=>{"use strict";i.d(h,{Bz:()=>l,CS:()=>Q,E$:()=>v,Gs:()=>Oe,Ku:()=>a,MZ:()=>A,N2:()=>et,O0:()=>le,Ok:()=>je,S1:()=>C,SS:()=>Ne,U3:()=>d,UJ:()=>N,WG:()=>k,WM:()=>De,YR:()=>X,Yc:()=>it,Yr:()=>I,_E:()=>ee,_k:()=>n,aw:()=>K,cD:()=>u,cf:()=>de,cx:()=>j,e6:()=>P,e8:()=>e,eU:()=>T,eo:()=>re,gL:()=>Y,gt:()=>F,iK:()=>z,k1:()=>me,kB:()=>o,kT:()=>q,n:()=>S,op:()=>se,qA:()=>$,sp:()=>qe,sx:()=>B,uQ:()=>L,y2:()=>f});const n="client_id",o="redirect_uri",d="response_type",a="response_mode",u="grant_type",e="claims",l="scope",C="refresh_token",f="state",S="nonce",v="prompt",A="code",k="code_challenge",N="code_challenge_method",F="code_verifier",T="client-request-id",P="x-client-SKU",I="x-client-VER",j="x-client-OS",L="x-client-CPU",B="x-client-current-telemetry",$="x-client-last-telemetry",ee="x-ms-lib-capability",le="x-app-name",se="x-app-ver",K="post_logout_redirect_uri",Q="id_token_hint",re="device_code",X="client_secret",z="client_assertion",Y="client_assertion_type",q="token_type",de="req_cnf",me="assertion",Oe="requested_token_use",Ne="return_spa_code",it="nativebroker",qe="logout_hint",et="sid",De="login_hint",je="domain_hint"},65172:(ve,h,i)=>{"use strict";i.d(h,{K:()=>a});var n=i(1528),o=i(28876),d=i(71408);const a={createNewGuid:()=>{throw(0,o.mQ)(d.methodNotImplemented)},base64Decode:()=>{throw(0,o.mQ)(d.methodNotImplemented)},base64Encode:()=>{throw(0,o.mQ)(d.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,o.mQ)(d.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,o.mQ)(d.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,o.mQ)(d.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,o.mQ)(d.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,o.mQ)(d.methodNotImplemented)})()}},46392:(ve,h,i)=>{"use strict";i.d(h,{w:()=>l});var n=i(1528),o=i(50160),d=i(67648),a=i(85348),u=i(14035);class l{constructor(g,y){this.cryptoUtils=g,this.performanceClient=y}generateCnf(g,y){var _=this;return(0,n.c)(function*(){_.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateCnf,g.correlationId);const C=yield(0,u.C)(_.generateKid.bind(_),a.Xv.PopTokenGenerateCnf,y,_.performanceClient,g.correlationId)(g),b=_.cryptoUtils.base64Encode(JSON.stringify(C));return{kid:C.kid,reqCnfString:b,reqCnfHash:yield _.cryptoUtils.hashString(b)}})()}generateKid(g){var y=this;return(0,n.c)(function*(){return y.performanceClient?.addQueueMeasurement(a.Xv.PopTokenGenerateKid,g.correlationId),{kid:yield y.cryptoUtils.getPublicKeyThumbprint(g),xms_ksl:"sw"}})()}signPopToken(g,y,_){var C=this;return(0,n.c)(function*(){return C.signPayload(g,y,_)})()}signPayload(g,y,_,C){var b=this;return(0,n.c)(function*(){const{resourceRequestMethod:p,resourceRequestUri:f,shrClaims:S,shrNonce:v,shrOptions:M}=_,A=(f?new d._(f):void 0)?.getUrlComponents();return b.cryptoUtils.signJwt({at:g,ts:(0,o.GO)(),m:p?.toUpperCase(),u:A?.HostNameAndPort,nonce:v||b.cryptoUtils.createNewGuid(),p:A?.AbsolutePath,q:A?.QueryString?[[],A.QueryString]:void 0,client_claims:S||void 0,...C},y,M,_.correlationId)})()}}},66936:(ve,h,i)=>{"use strict";i.d(h,{GM:()=>a,Ub:()=>e,WM:()=>u});var n=i(34739),o=i(83228);const d={[o.unexpectedError]:"Unexpected error in authentication.",[o.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},a={unexpectedError:{code:o.unexpectedError,desc:d[o.unexpectedError]},postRequestFailed:{code:o.postRequestFailed,desc:d[o.postRequestFailed]}};class u extends Error{constructor(c,g,y){super(g?`${c}: ${g}`:c),Object.setPrototypeOf(this,u.prototype),this.errorCode=c||n.Mv.EMPTY_STRING,this.errorMessage=g||n.Mv.EMPTY_STRING,this.subError=y||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(c){this.correlationId=c}}function e(l,c){return new u(l,c?`${d[l]} ${c}`:d[l])}},83228:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{postRequestFailed:()=>o,unexpectedError:()=>n});const n="unexpected_error",o="post_request_failed"},28876:(ve,h,i)=>{"use strict";i.d(h,{m6:()=>a,mQ:()=>e,oJ:()=>u});var n=i(66936),o=i(71408);const d={[o.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[o.clientInfoEmptyError]:"The client info was empty",[o.tokenParsingError]:"Token cannot be parsed",[o.nullOrEmptyToken]:"The token is null or empty",[o.endpointResolutionError]:"Endpoints cannot be resolved",[o.networkError]:"Network request failed",[o.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[o.hashNotDeserialized]:"The hash parameters could not be deserialized",[o.invalidState]:"State was not the expected format",[o.stateMismatch]:"State mismatch error",[o.stateNotFound]:"State not found",[o.nonceMismatch]:"Nonce mismatch error",[o.authTimeNotFound]:"Max Age was requested and the ID token is missing the auth_time variable. auth_time is an optional claim and is not enabled by default - it must be enabled. See https://aka.ms/msaljs/optional-claims for more information.",[o.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[o.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[o.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[o.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[o.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[o.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[o.cannotAppendScopeSet]:"Cannot append ScopeSet",[o.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[o.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[o.deviceCodeExpired]:"Device code is expired.",[o.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[o.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[o.invalidCacheRecord]:"Cache record object was null or undefined.",[o.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[o.noAccountFound]:"No account found in cache for given key.",[o.noCryptoObject]:"No crypto object detected.",[o.unexpectedCredentialType]:"Unexpected credential type.",[o.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[o.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[o.tokenRefreshRequired]:"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",[o.userTimeoutReached]:"User defined timeout for device code polling reached",[o.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[o.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[o.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[o.endSessionEndpointNotSupported]:"The provided authority does not support logout",[o.keyIdMissing]:"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",[o.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[o.userCanceled]:"User cancelled the flow.",[o.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[o.methodNotImplemented]:"This method has not been implemented",[o.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},a={clientInfoDecodingError:{code:o.clientInfoDecodingError,desc:d[o.clientInfoDecodingError]},clientInfoEmptyError:{code:o.clientInfoEmptyError,desc:d[o.clientInfoEmptyError]},tokenParsingError:{code:o.tokenParsingError,desc:d[o.tokenParsingError]},nullOrEmptyToken:{code:o.nullOrEmptyToken,desc:d[o.nullOrEmptyToken]},endpointResolutionError:{code:o.endpointResolutionError,desc:d[o.endpointResolutionError]},networkError:{code:o.networkError,desc:d[o.networkError]},unableToGetOpenidConfigError:{code:o.openIdConfigError,desc:d[o.openIdConfigError]},hashNotDeserialized:{code:o.hashNotDeserialized,desc:d[o.hashNotDeserialized]},invalidStateError:{code:o.invalidState,desc:d[o.invalidState]},stateMismatchError:{code:o.stateMismatch,desc:d[o.stateMismatch]},stateNotFoundError:{code:o.stateNotFound,desc:d[o.stateNotFound]},nonceMismatchError:{code:o.nonceMismatch,desc:d[o.nonceMismatch]},authTimeNotFoundError:{code:o.authTimeNotFound,desc:d[o.authTimeNotFound]},maxAgeTranspired:{code:o.maxAgeTranspired,desc:d[o.maxAgeTranspired]},multipleMatchingTokens:{code:o.multipleMatchingTokens,desc:d[o.multipleMatchingTokens]},multipleMatchingAccounts:{code:o.multipleMatchingAccounts,desc:d[o.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:o.multipleMatchingAppMetadata,desc:d[o.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:o.requestCannotBeMade,desc:d[o.requestCannotBeMade]},removeEmptyScopeError:{code:o.cannotRemoveEmptyScope,desc:d[o.cannotRemoveEmptyScope]},appendScopeSetError:{code:o.cannotAppendScopeSet,desc:d[o.cannotAppendScopeSet]},emptyInputScopeSetError:{code:o.emptyInputScopeSet,desc:d[o.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:o.deviceCodePollingCancelled,desc:d[o.deviceCodePollingCancelled]},DeviceCodeExpired:{code:o.deviceCodeExpired,desc:d[o.deviceCodeExpired]},DeviceCodeUnknownError:{code:o.deviceCodeUnknownError,desc:d[o.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:o.noAccountInSilentRequest,desc:d[o.noAccountInSilentRequest]},invalidCacheRecord:{code:o.invalidCacheRecord,desc:d[o.invalidCacheRecord]},invalidCacheEnvironment:{code:o.invalidCacheEnvironment,desc:d[o.invalidCacheEnvironment]},noAccountFound:{code:o.noAccountFound,desc:d[o.noAccountFound]},noCryptoObj:{code:o.noCryptoObject,desc:d[o.noCryptoObject]},unexpectedCredentialType:{code:o.unexpectedCredentialType,desc:d[o.unexpectedCredentialType]},invalidAssertion:{code:o.invalidAssertion,desc:d[o.invalidAssertion]},invalidClientCredential:{code:o.invalidClientCredential,desc:d[o.invalidClientCredential]},tokenRefreshRequired:{code:o.tokenRefreshRequired,desc:d[o.tokenRefreshRequired]},userTimeoutReached:{code:o.userTimeoutReached,desc:d[o.userTimeoutReached]},tokenClaimsRequired:{code:o.tokenClaimsCnfRequiredForSignedJwt,desc:d[o.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:o.authorizationCodeMissingFromServerResponse,desc:d[o.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:o.bindingKeyNotRemoved,desc:d[o.bindingKeyNotRemoved]},logoutNotSupported:{code:o.endSessionEndpointNotSupported,desc:d[o.endSessionEndpointNotSupported]},keyIdMissing:{code:o.keyIdMissing,desc:d[o.keyIdMissing]},noNetworkConnectivity:{code:o.noNetworkConnectivity,desc:d[o.noNetworkConnectivity]},userCanceledError:{code:o.userCanceled,desc:d[o.userCanceled]},missingTenantIdError:{code:o.missingTenantIdError,desc:d[o.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:o.nestedAppAuthBridgeDisabled,desc:d[o.nestedAppAuthBridgeDisabled]}};class u extends n.WM{constructor(c,g){super(c,g?`${d[c]}: ${g}`:d[c]),this.name="ClientAuthError",Object.setPrototypeOf(this,u.prototype)}}function e(l,c){return new u(l,c)}},71408:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{authTimeNotFound:()=>b,authorizationCodeMissingFromServerResponse:()=>re,bindingKeyNotRemoved:()=>X,cannotAppendScopeSet:()=>A,cannotRemoveEmptyScope:()=>E,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>o,deviceCodeExpired:()=>F,deviceCodePollingCancelled:()=>N,deviceCodeUnknownError:()=>T,emptyInputScopeSet:()=>k,endSessionEndpointNotSupported:()=>z,endpointResolutionError:()=>u,hashNotDeserialized:()=>c,invalidAssertion:()=>ee,invalidCacheEnvironment:()=>j,invalidCacheRecord:()=>I,invalidClientCredential:()=>le,invalidState:()=>g,keyIdMissing:()=>Y,maxAgeTranspired:()=>p,methodNotImplemented:()=>Oe,missingTenantIdError:()=>me,multipleMatchingAccounts:()=>S,multipleMatchingAppMetadata:()=>v,multipleMatchingTokens:()=>f,nestedAppAuthBridgeDisabled:()=>Re,networkError:()=>e,noAccountFound:()=>L,noAccountInSilentRequest:()=>P,noCryptoObject:()=>B,noNetworkConnectivity:()=>q,nonceMismatch:()=>C,nullOrEmptyToken:()=>a,openIdConfigError:()=>l,requestCannotBeMade:()=>M,stateMismatch:()=>y,stateNotFound:()=>_,tokenClaimsCnfRequiredForSignedJwt:()=>Q,tokenParsingError:()=>d,tokenRefreshRequired:()=>se,unexpectedCredentialType:()=>$,userCanceled:()=>de,userTimeoutReached:()=>K});const n="client_info_decoding_error",o="client_info_empty_error",d="token_parsing_error",a="null_or_empty_token",u="endpoints_resolution_error",e="network_error",l="openid_config_error",c="hash_not_deserialized",g="invalid_state",y="state_mismatch",_="state_not_found",C="nonce_mismatch",b="auth_time_not_found",p="max_age_transpired",f="multiple_matching_tokens",S="multiple_matching_accounts",v="multiple_matching_appMetadata",M="request_cannot_be_made",E="cannot_remove_empty_scope",A="cannot_append_scopeset",k="empty_input_scopeset",N="device_code_polling_cancelled",F="device_code_expired",T="device_code_unknown_error",P="no_account_in_silent_request",I="invalid_cache_record",j="invalid_cache_environment",L="no_account_found",B="no_crypto_object",$="unexpected_credential_type",ee="invalid_assertion",le="invalid_client_credential",se="token_refresh_required",K="user_timeout_reached",Q="token_claims_cnf_required_for_signedjwt",re="authorization_code_missing_from_server_response",X="binding_key_not_removed",z="end_session_endpoint_not_supported",Y="key_id_missing",q="no_network_connectivity",de="user_canceled",me="missing_tenant_id_error",Oe="method_not_implemented",Re="nested_app_auth_bridge_disabled"},59684:(ve,h,i)=>{"use strict";i.d(h,{OA:()=>a,Ou:()=>u,QN:()=>e});var n=i(66936),o=i(32336);const d={[o.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[o.claimsRequestParsingError]:"Could not parse the given claims request object.",[o.authorityUriInsecure]:"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",[o.urlParseError]:"URL could not be parsed into appropriate segments.",[o.urlEmptyError]:"URL was empty or null.",[o.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[o.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[o.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[o.tokenRequestEmpty]:"Token request was empty and not found in cache.",[o.logoutRequestEmpty]:"The logout request was null or undefined.",[o.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[o.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[o.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[o.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[o.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[o.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[o.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[o.missingNonceAuthenticationHeader]:"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",[o.invalidAuthenticationHeader]:"Invalid authentication header provided",[o.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[o.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[o.authorityMismatch]:"Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."},a={redirectUriNotSet:{code:o.redirectUriEmpty,desc:d[o.redirectUriEmpty]},claimsRequestParsingError:{code:o.claimsRequestParsingError,desc:d[o.claimsRequestParsingError]},authorityUriInsecure:{code:o.authorityUriInsecure,desc:d[o.authorityUriInsecure]},urlParseError:{code:o.urlParseError,desc:d[o.urlParseError]},urlEmptyError:{code:o.urlEmptyError,desc:d[o.urlEmptyError]},emptyScopesError:{code:o.emptyInputScopesError,desc:d[o.emptyInputScopesError]},invalidPrompt:{code:o.invalidPromptValue,desc:d[o.invalidPromptValue]},invalidClaimsRequest:{code:o.invalidClaims,desc:d[o.invalidClaims]},tokenRequestEmptyError:{code:o.tokenRequestEmpty,desc:d[o.tokenRequestEmpty]},logoutRequestEmptyError:{code:o.logoutRequestEmpty,desc:d[o.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:o.invalidCodeChallengeMethod,desc:d[o.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:o.pkceParamsMissing,desc:d[o.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:o.invalidCloudDiscoveryMetadata,desc:d[o.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:o.invalidAuthorityMetadata,desc:d[o.invalidAuthorityMetadata]},untrustedAuthority:{code:o.untrustedAuthority,desc:d[o.untrustedAuthority]},missingSshJwk:{code:o.missingSshJwk,desc:d[o.missingSshJwk]},missingSshKid:{code:o.missingSshKid,desc:d[o.missingSshKid]},missingNonceAuthenticationHeader:{code:o.missingNonceAuthenticationHeader,desc:d[o.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:o.invalidAuthenticationHeader,desc:d[o.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:o.cannotSetOIDCOptions,desc:d[o.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:o.cannotAllowNativeBroker,desc:d[o.cannotAllowNativeBroker]},authorityMismatch:{code:o.authorityMismatch,desc:d[o.authorityMismatch]}};class u extends n.WM{constructor(c){super(c,d[c]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,u.prototype)}}function e(l){return new u(l)}},32336:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{authorityMismatch:()=>N,authorityUriInsecure:()=>d,cannotAllowNativeBroker:()=>k,cannotSetOIDCOptions:()=>A,claimsRequestParsingError:()=>o,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>E,invalidAuthorityMetadata:()=>p,invalidClaims:()=>c,invalidCloudDiscoveryMetadata:()=>b,invalidCodeChallengeMethod:()=>_,invalidPromptValue:()=>l,logoutRequestEmpty:()=>y,missingNonceAuthenticationHeader:()=>M,missingSshJwk:()=>S,missingSshKid:()=>v,pkceParamsMissing:()=>C,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>g,untrustedAuthority:()=>f,urlEmptyError:()=>u,urlParseError:()=>a});const n="redirect_uri_empty",o="claims_request_parsing_error",d="authority_uri_insecure",a="url_parse_error",u="empty_url_error",e="empty_input_scopes_error",l="invalid_prompt_value",c="invalid_claims",g="token_request_empty",y="logout_request_empty",_="invalid_code_challenge_method",C="pkce_params_missing",b="invalid_cloud_discovery_metadata",p="invalid_authority_metadata",f="untrusted_authority",S="missing_ssh_jwk",v="missing_ssh_kid",M="missing_nonce_authentication_header",E="invalid_authentication_header",A="cannot_set_OIDCOptions",k="cannot_allow_native_broker",N="authority_mismatch"},53408:(ve,h,i)=>{"use strict";i.d(h,{A6:()=>y,aq:()=>g,gx:()=>l,uw:()=>c});var n=i(34739),o=i(66936),d=i(72896);const a=[d.interactionRequired,d.consentRequired,d.loginRequired,d.badToken],u=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[d.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[d.nativeAccountUnavailable]:"The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",[d.refreshTokenExpired]:"Refresh token has expired.",[d.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},l={noTokensFoundError:{code:d.noTokensFound,desc:e[d.noTokensFound]},native_account_unavailable:{code:d.nativeAccountUnavailable,desc:e[d.nativeAccountUnavailable]},bad_token:{code:d.badToken,desc:e[d.badToken]}};class c extends o.WM{constructor(C,b,p,f,S,v,M){super(C,b,p),Object.setPrototypeOf(this,c.prototype),this.timestamp=f||n.Mv.EMPTY_STRING,this.traceId=S||n.Mv.EMPTY_STRING,this.correlationId=v||n.Mv.EMPTY_STRING,this.claims=M||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function g(_,C,b){const p=!!_&&a.indexOf(_)>-1,f=!!b&&u.indexOf(b)>-1,S=!!C&&a.some(v=>C.indexOf(v)>-1);return p||S||f}function y(_){return new c(_,e[_])}},72896:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{badToken:()=>l,consentRequired:()=>u,interactionRequired:()=>a,loginRequired:()=>e,nativeAccountUnavailable:()=>o,noTokensFound:()=>n,refreshTokenExpired:()=>d});const n="no_tokens_found",o="native_account_unavailable",d="refresh_token_expired",a="interaction_required",u="consent_required",e="login_required",l="bad_token"},76944:(ve,h,i)=>{"use strict";i.d(h,{s:()=>o});var n=i(66936);class o extends n.WM{constructor(a,u,e){super(a,u,e),this.name="ServerError",Object.setPrototypeOf(this,o.prototype)}}},73364:(ve,h,i)=>{"use strict";i.d(h,{G:()=>o,Y:()=>d});var n=i(34739),o=function(a){return a[a.Error=0]="Error",a[a.Warning=1]="Warning",a[a.Info=2]="Info",a[a.Verbose=3]="Verbose",a[a.Trace=4]="Trace",a}(o||{});class d{constructor(u,e,l){this.level=o.Info;const g=u||d.createDefaultLoggerOptions();this.localCallback=g.loggerCallback||(()=>{}),this.piiLoggingEnabled=g.piiLoggingEnabled||!1,this.level="number"==typeof g.logLevel?g.logLevel:o.Info,this.correlationId=g.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=l||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:o.Info}}clone(u,e,l){return new d({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:l||this.correlationId},u,e)}logMessage(u,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const g=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${o[e.logLevel]} - ${u}`;this.executeCallback(e.logLevel,g,e.containsPii||!1)}executeCallback(u,e,l){this.localCallback&&this.localCallback(u,e,l)}error(u,e){this.logMessage(u,{logLevel:o.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(u,e){this.logMessage(u,{logLevel:o.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(u,e){this.logMessage(u,{logLevel:o.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(u,e){this.logMessage(u,{logLevel:o.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(u,e){this.logMessage(u,{logLevel:o.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(u,e){this.logMessage(u,{logLevel:o.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(u,e){this.logMessage(u,{logLevel:o.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(u,e){this.logMessage(u,{logLevel:o.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(u,e){this.logMessage(u,{logLevel:o.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(u,e){this.logMessage(u,{logLevel:o.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(ve,h,i)=>{"use strict";i.d(h,{N:()=>n,W:()=>o});const n="@azure/msal-common",o="14.7.1"},33363:(ve,h,i)=>{"use strict";i.d(h,{I:()=>l});var n=i(34739),o=i(91076),d=i(95248),a=i(59684),u=i(77768),e=i(32336);class l{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(o.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(o.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(g){this.parameters.set(o.Ku,encodeURIComponent(g||n.oh.QUERY))}addNativeBroker(){this.parameters.set(o.Yc,encodeURIComponent("1"))}addScopes(g,y=!0,_=n.ac){y&&!_.includes("openid")&&!g.includes("openid")&&_.push("openid");const C=y?[...g||[],..._]:g||[],b=new d.k(C);this.parameters.set(o.Bz,encodeURIComponent(b.printScopes()))}addClientId(g){this.parameters.set(o._k,encodeURIComponent(g))}addRedirectUri(g){u.e.validateRedirectUri(g),this.parameters.set(o.kB,encodeURIComponent(g))}addPostLogoutRedirectUri(g){u.e.validateRedirectUri(g),this.parameters.set(o.aw,encodeURIComponent(g))}addIdTokenHint(g){this.parameters.set(o.CS,encodeURIComponent(g))}addDomainHint(g){this.parameters.set(o.Ok,encodeURIComponent(g))}addLoginHint(g){this.parameters.set(o.WM,encodeURIComponent(g))}addCcsUpn(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${g}`))}addCcsOid(g){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${g.uid}@${g.utid}`))}addSid(g){this.parameters.set(o.N2,encodeURIComponent(g))}addClaims(g,y){const _=this.addClientCapabilitiesToClaims(g,y);u.e.validateClaims(_),this.parameters.set(o.e8,encodeURIComponent(_))}addCorrelationId(g){this.parameters.set(o.eU,encodeURIComponent(g))}addLibraryInfo(g){this.parameters.set(o.e6,g.sku),this.parameters.set(o.Yr,g.version),g.os&&this.parameters.set(o.cx,g.os),g.cpu&&this.parameters.set(o.uQ,g.cpu)}addApplicationTelemetry(g){g?.appName&&this.parameters.set(o.O0,g.appName),g?.appVersion&&this.parameters.set(o.op,g.appVersion)}addPrompt(g){u.e.validatePrompt(g),this.parameters.set(`${o.E$}`,encodeURIComponent(g))}addState(g){g&&this.parameters.set(o.y2,encodeURIComponent(g))}addNonce(g){this.parameters.set(o.n,encodeURIComponent(g))}addCodeChallengeParams(g,y){if(u.e.validateCodeChallengeParams(g,y),!g||!y)throw(0,a.QN)(e.pkceParamsMissing);this.parameters.set(o.WG,encodeURIComponent(g)),this.parameters.set(o.UJ,encodeURIComponent(y))}addAuthorizationCode(g){this.parameters.set(o.MZ,encodeURIComponent(g))}addDeviceCode(g){this.parameters.set(o.eo,encodeURIComponent(g))}addRefreshToken(g){this.parameters.set(o.S1,encodeURIComponent(g))}addCodeVerifier(g){this.parameters.set(o.gt,encodeURIComponent(g))}addClientSecret(g){this.parameters.set(o.YR,encodeURIComponent(g))}addClientAssertion(g){g&&this.parameters.set(o.iK,encodeURIComponent(g))}addClientAssertionType(g){g&&this.parameters.set(o.gL,encodeURIComponent(g))}addOboAssertion(g){this.parameters.set(o.k1,encodeURIComponent(g))}addRequestTokenUse(g){this.parameters.set(o.Gs,encodeURIComponent(g))}addGrantType(g){this.parameters.set(o.cD,encodeURIComponent(g))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(g){const y=u.e.sanitizeEQParams(g,this.parameters);Object.keys(y).forEach(_=>{this.parameters.set(_,g[_])})}addClientCapabilitiesToClaims(g,y){let _;if(g)try{_=JSON.parse(g)}catch{throw(0,a.QN)(e.invalidClaims)}else _={};return y&&y.length>0&&(_.hasOwnProperty(n.ai.ACCESS_TOKEN)||(_[n.ai.ACCESS_TOKEN]={}),_[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:y}),JSON.stringify(_)}addUsername(g){this.parameters.set(n.uU.username,encodeURIComponent(g))}addPassword(g){this.parameters.set(n.uU.password,encodeURIComponent(g))}addPopToken(g){g&&(this.parameters.set(o.kT,n.me.POP),this.parameters.set(o.cf,encodeURIComponent(g)))}addSshJwk(g){g&&(this.parameters.set(o.kT,n.me.SSH),this.parameters.set(o.cf,encodeURIComponent(g)))}addServerTelemetry(g){this.parameters.set(o.sx,g.generateCurrentRequestHeaderValue()),this.parameters.set(o.qA,g.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(o._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(g){this.parameters.set(o.sp,encodeURIComponent(g))}createQueryString(){const g=new Array;return this.parameters.forEach((y,_)=>{g.push(`${_}=${y}`)}),g.join("&")}}},77768:(ve,h,i)=>{"use strict";i.d(h,{e:()=>a});var n=i(59684),o=i(34739),d=i(32336);class a{static validateRedirectUri(e){if(!e)throw(0,n.QN)(d.redirectUriEmpty)}static validatePrompt(e){const l=[];for(const c in o.GI)l.push(o.GI[c]);if(l.indexOf(e)<0)throw(0,n.QN)(d.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(d.invalidClaims)}}static validateCodeChallengeParams(e,l){if(!e||!l)throw(0,n.QN)(d.pkceParamsMissing);this.validateCodeChallengeMethod(l)}static validateCodeChallengeMethod(e){if([o.a2.PLAIN,o.a2.S256].indexOf(e)<0)throw(0,n.QN)(d.invalidCodeChallengeMethod)}static sanitizeEQParams(e,l){return e?(l.forEach((c,g)=>{e[g]&&delete e[g]}),Object.fromEntries(Object.entries(e).filter(c=>""!==c[1]))):{}}}},95248:(ve,h,i)=>{"use strict";i.d(h,{k:()=>l});var n=i(59684),o=i(7828),d=i(28876),a=i(34739),u=i(32336),e=i(71408);class l{constructor(g){const y=g?o.e.trimArrayEntries([...g]):[],_=y?o.e.removeEmptyStringsFromArray(y):[];this.validateInputScopes(_),this.scopes=new Set,_.forEach(C=>this.scopes.add(C))}static fromString(g){const _=(g||a.Mv.EMPTY_STRING).split(" ");return new l(_)}static createSearchScopes(g){const y=new l(g);return y.containsOnlyOIDCScopes()?y.removeScope(a.Mv.OFFLINE_ACCESS_SCOPE):y.removeOIDCScopes(),y}validateInputScopes(g){if(!g||g.length<1)throw(0,n.QN)(u.emptyInputScopesError)}containsScope(g){const y=this.printScopesLowerCase().split(" "),_=new l(y);return!!g&&_.scopes.has(g.toLowerCase())}containsScopeSet(g){return!(!g||g.scopes.size<=0)&&this.scopes.size>=g.scopes.size&&g.asArray().every(y=>this.containsScope(y))}containsOnlyOIDCScopes(){let g=0;return a.sj.forEach(y=>{this.containsScope(y)&&(g+=1)}),this.scopes.size===g}appendScope(g){g&&this.scopes.add(g.trim())}appendScopes(g){try{g.forEach(y=>this.appendScope(y))}catch{throw(0,d.mQ)(e.cannotAppendScopeSet)}}removeScope(g){if(!g)throw(0,d.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(g.trim())}removeOIDCScopes(){a.sj.forEach(g=>{this.scopes.delete(g)})}unionScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);const y=new Set;return g.scopes.forEach(_=>y.add(_.toLowerCase())),this.scopes.forEach(_=>y.add(_.toLowerCase())),y}intersectingScopeSets(g){if(!g)throw(0,d.mQ)(e.emptyInputScopeSet);g.containsOnlyOIDCScopes()||g.removeOIDCScopes();const y=this.unionScopeSets(g),_=g.getScopeCount(),C=this.getScopeCount();return y.sizeg.push(y)),g}printScopes(){return this.scopes?this.asArray().join(" "):a.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(ve,h,i)=>{"use strict";i.d(h,{W8:()=>o,Xv:()=>n,ol:()=>d});const n={AcquireTokenByCode:"acquireTokenByCode",AcquireTokenByRefreshToken:"acquireTokenByRefreshToken",AcquireTokenSilent:"acquireTokenSilent",AcquireTokenSilentAsync:"acquireTokenSilentAsync",AcquireTokenPopup:"acquireTokenPopup",AcquireTokenRedirect:"acquireTokenRedirect",CryptoOptsGetPublicKeyThumbprint:"cryptoOptsGetPublicKeyThumbprint",CryptoOptsSignJwt:"cryptoOptsSignJwt",SilentCacheClientAcquireToken:"silentCacheClientAcquireToken",SilentIframeClientAcquireToken:"silentIframeClientAcquireToken",SilentRefreshClientAcquireToken:"silentRefreshClientAcquireToken",SsoSilent:"ssoSilent",StandardInteractionClientGetDiscoveredAuthority:"standardInteractionClientGetDiscoveredAuthority",FetchAccountIdWithNativeBroker:"fetchAccountIdWithNativeBroker",NativeInteractionClientAcquireToken:"nativeInteractionClientAcquireToken",BaseClientCreateTokenRequestHeaders:"baseClientCreateTokenRequestHeaders",RefreshTokenClientExecutePostToTokenEndpoint:"refreshTokenClientExecutePostToTokenEndpoint",AuthorizationCodeClientExecutePostToTokenEndpoint:"authorizationCodeClientExecutePostToTokenEndpoint",BrokerHandhshake:"brokerHandshake",AcquireTokenByRefreshTokenInBroker:"acquireTokenByRefreshTokenInBroker",AcquireTokenByBroker:"acquireTokenByBroker",RefreshTokenClientExecuteTokenRequest:"refreshTokenClientExecuteTokenRequest",RefreshTokenClientAcquireToken:"refreshTokenClientAcquireToken",RefreshTokenClientAcquireTokenWithCachedRefreshToken:"refreshTokenClientAcquireTokenWithCachedRefreshToken",RefreshTokenClientAcquireTokenByRefreshToken:"refreshTokenClientAcquireTokenByRefreshToken",RefreshTokenClientCreateTokenRequestBody:"refreshTokenClientCreateTokenRequestBody",AcquireTokenFromCache:"acquireTokenFromCache",SilentFlowClientAcquireCachedToken:"silentFlowClientAcquireCachedToken",SilentFlowClientGenerateResultFromCacheRecord:"silentFlowClientGenerateResultFromCacheRecord",AcquireTokenBySilentIframe:"acquireTokenBySilentIframe",InitializeBaseRequest:"initializeBaseRequest",InitializeSilentRequest:"initializeSilentRequest",InitializeClientApplication:"initializeClientApplication",SilentIframeClientTokenHelper:"silentIframeClientTokenHelper",SilentHandlerInitiateAuthRequest:"silentHandlerInitiateAuthRequest",SilentHandlerMonitorIframeForHash:"silentHandlerMonitorIframeForHash",SilentHandlerLoadFrame:"silentHandlerLoadFrame",SilentHandlerLoadFrameSync:"silentHandlerLoadFrameSync",StandardInteractionClientCreateAuthCodeClient:"standardInteractionClientCreateAuthCodeClient",StandardInteractionClientGetClientConfiguration:"standardInteractionClientGetClientConfiguration",StandardInteractionClientInitializeAuthorizationRequest:"standardInteractionClientInitializeAuthorizationRequest",StandardInteractionClientInitializeAuthorizationCodeRequest:"standardInteractionClientInitializeAuthorizationCodeRequest",GetAuthCodeUrl:"getAuthCodeUrl",HandleCodeResponseFromServer:"handleCodeResponseFromServer",HandleCodeResponse:"handleCodeResponse",UpdateTokenEndpointAuthority:"updateTokenEndpointAuthority",AuthClientAcquireToken:"authClientAcquireToken",AuthClientExecuteTokenRequest:"authClientExecuteTokenRequest",AuthClientCreateTokenRequestBody:"authClientCreateTokenRequestBody",AuthClientCreateQueryString:"authClientCreateQueryString",PopTokenGenerateCnf:"popTokenGenerateCnf",PopTokenGenerateKid:"popTokenGenerateKid",HandleServerTokenResponse:"handleServerTokenResponse",DeserializeResponse:"deserializeResponse",AuthorityFactoryCreateDiscoveredInstance:"authorityFactoryCreateDiscoveredInstance",AuthorityResolveEndpointsAsync:"authorityResolveEndpointsAsync",AuthorityResolveEndpointsFromLocalSources:"authorityResolveEndpointsFromLocalSources",AuthorityGetCloudDiscoveryMetadataFromNetwork:"authorityGetCloudDiscoveryMetadataFromNetwork",AuthorityUpdateCloudDiscoveryMetadata:"authorityUpdateCloudDiscoveryMetadata",AuthorityGetEndpointMetadataFromNetwork:"authorityGetEndpointMetadataFromNetwork",AuthorityUpdateEndpointMetadata:"authorityUpdateEndpointMetadata",AuthorityUpdateMetadataWithRegionalInformation:"authorityUpdateMetadataWithRegionalInformation",RegionDiscoveryDetectRegion:"regionDiscoveryDetectRegion",RegionDiscoveryGetRegionFromIMDS:"regionDiscoveryGetRegionFromIMDS",RegionDiscoveryGetCurrentVersion:"regionDiscoveryGetCurrentVersion",AcquireTokenByCodeAsync:"acquireTokenByCodeAsync",GetEndpointMetadataFromNetwork:"getEndpointMetadataFromNetwork",GetCloudDiscoveryMetadataFromNetworkMeasurement:"getCloudDiscoveryMetadataFromNetworkMeasurement",HandleRedirectPromiseMeasurement:"handleRedirectPromise",HandleNativeRedirectPromiseMeasurement:"handleNativeRedirectPromise",UpdateCloudDiscoveryMetadataMeasurement:"updateCloudDiscoveryMetadataMeasurement",UsernamePasswordClientAcquireToken:"usernamePasswordClientAcquireToken",NativeMessageHandlerHandshake:"nativeMessageHandlerHandshake",NativeGenerateAuthResult:"nativeGenerateAuthResult",RemoveHiddenIframe:"removeHiddenIframe",ClearTokensAndKeysWithClaims:"clearTokensAndKeysWithClaims",CacheManagerGetRefreshToken:"cacheManagerGetRefreshToken",GeneratePkceCodes:"generatePkceCodes",GenerateCodeVerifier:"generateCodeVerifier",GenerateCodeChallengeFromVerifier:"generateCodeChallengeFromVerifier",Sha256Digest:"sha256Digest",GetRandomValues:"getRandomValues"},o={NotStarted:0,InProgress:1,Completed:2},d=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(ve,h,i)=>{"use strict";i.d(h,{W:()=>o,_:()=>d});var n=i(85348);class o{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class d{generateId(){return"callback-id"}startMeasurement(u,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:u,startTimeMs:Date.now(),correlationId:e||""},measurement:new o}}startPerformanceMeasurement(){return new o}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(ve,h,i)=>{"use strict";i.d(h,{_:()=>e});var n=i(59684),o=i(7828),d=i(34739),a=i(33680),u=i(32336);class e{get urlString(){return this._urlString}constructor(c){if(this._urlString=c,!this._urlString)throw(0,n.QN)(u.urlEmptyError);c.includes("#")||(this._urlString=e.canonicalizeUri(c))}static canonicalizeUri(c){if(c){let g=c.toLowerCase();return o.e.endsWith(g,"?")?g=g.slice(0,-1):o.e.endsWith(g,"?/")&&(g=g.slice(0,-2)),o.e.endsWith(g,"/")||(g+="/"),g}return c}validateAsUri(){let c;try{c=this.getUrlComponents()}catch{throw(0,n.QN)(u.urlParseError)}if(!c.HostNameAndPort||!c.PathSegments)throw(0,n.QN)(u.urlParseError);if(!c.Protocol||"https:"!==c.Protocol.toLowerCase())throw(0,n.QN)(u.authorityUriInsecure)}static appendQueryString(c,g){return g?c.indexOf("?")<0?`${c}?${g}`:`${c}&${g}`:c}static removeHashFromUrl(c){return e.canonicalizeUri(c.split("#")[0])}replaceTenantPath(c){const g=this.getUrlComponents(),y=g.PathSegments;return c&&0!==y.length&&(y[0]===d.sN.COMMON||y[0]===d.sN.ORGANIZATIONS)&&(y[0]=c),e.constructAuthorityUriFromObject(g)}getUrlComponents(){const c=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),g=this.urlString.match(c);if(!g)throw(0,n.QN)(u.urlParseError);const y={Protocol:g[1],HostNameAndPort:g[4],AbsolutePath:g[5],QueryString:g[7]};let _=y.AbsolutePath.split("/");return _=_.filter(C=>C&&C.length>0),y.PathSegments=_,y.QueryString&&y.QueryString.endsWith("/")&&(y.QueryString=y.QueryString.substring(0,y.QueryString.length-1)),y}static getDomainFromUrl(c){const g=RegExp("^([^:/?#]+://)?([^/?#]*)"),y=c.match(g);if(!y)throw(0,n.QN)(u.urlParseError);return y[2]}static getAbsoluteUrl(c,g){if(c[0]===d.Mv.FORWARD_SLASH){const _=new e(g).getUrlComponents();return _.Protocol+"//"+_.HostNameAndPort+c}return c}static constructAuthorityUriFromObject(c){return new e(c.Protocol+"//"+c.HostNameAndPort+"/"+c.PathSegments.join("/"))}static hashContainsKnownProperties(c){return!!(0,a.u)(c)}}},34739:(ve,h,i)=>{"use strict";i.d(h,{A9:()=>p,GI:()=>g,Gu:()=>le,IH:()=>e,Ku:()=>b,MF:()=>u,Mf:()=>ee,Mj:()=>f,Mv:()=>n,Ni:()=>k,Q$:()=>B,Q3:()=>o,Y$:()=>E,a2:()=>y,ac:()=>d,ai:()=>c,cv:()=>N,cz:()=>M,eE:()=>_,gr:()=>P,ic:()=>F,me:()=>T,oh:()=>C,rF:()=>I,sL:()=>L,sN:()=>l,sj:()=>a,uU:()=>j,wR:()=>$,wj:()=>A,yu:()=>S});const n={LIBRARY_NAME:"MSAL.JS",SKU:"msal.js.common",CACHE_PREFIX:"msal",DEFAULT_AUTHORITY:"https://login.microsoftonline.com/common/",DEFAULT_AUTHORITY_HOST:"login.microsoftonline.com",DEFAULT_COMMON_TENANT:"common",ADFS:"adfs",DSTS:"dstsv2",AAD_INSTANCE_DISCOVERY_ENDPT:"https://login.microsoftonline.com/common/discovery/instance?api-version=1.1&authorization_endpoint=",CIAM_AUTH_URL:".ciamlogin.com",AAD_TENANT_DOMAIN_SUFFIX:".onmicrosoft.com",RESOURCE_DELIM:"|",NO_ACCOUNT:"NO_ACCOUNT",CLAIMS:"claims",CONSUMER_UTID:"9188040d-6c67-4c5b-b112-36a304b66dad",OPENID_SCOPE:"openid",PROFILE_SCOPE:"profile",OFFLINE_ACCESS_SCOPE:"offline_access",EMAIL_SCOPE:"email",CODE_RESPONSE_TYPE:"code",CODE_GRANT_TYPE:"authorization_code",RT_GRANT_TYPE:"refresh_token",FRAGMENT_RESPONSE_MODE:"fragment",S256_CODE_CHALLENGE_METHOD:"S256",URL_FORM_CONTENT_TYPE:"application/x-www-form-urlencoded;charset=utf-8",AUTHORIZATION_PENDING:"authorization_pending",NOT_DEFINED:"not_defined",EMPTY_STRING:"",NOT_APPLICABLE:"N/A",FORWARD_SLASH:"/",IMDS_ENDPOINT:"http://169.254.169.254/metadata/instance/compute/location",IMDS_VERSION:"2020-06-01",IMDS_TIMEOUT:2e3,AZURE_REGION_AUTO_DISCOVER_FLAG:"TryAutoDetect",REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX:"login.microsoft.com",KNOWN_PUBLIC_CLOUDS:["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"],TOKEN_RESPONSE_TYPE:"token",ID_TOKEN_RESPONSE_TYPE:"id_token",SHR_NONCE_VALIDITY:240,INVALID_INSTANCE:"invalid_instance"},o={SUCCESS_RANGE_START:200,SUCCESS_RANGE_END:299,REDIRECT:302,CLIENT_ERROR_RANGE_START:400,CLIENT_ERROR_RANGE_END:499,SERVER_ERROR_RANGE_START:500,SERVER_ERROR_RANGE_END:599},d=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],a=[...d,n.EMAIL_SCOPE],u={CONTENT_TYPE:"Content-Type",RETRY_AFTER:"Retry-After",CCS_HEADER:"X-AnchorMailbox",WWWAuthenticate:"WWW-Authenticate",AuthenticationInfo:"Authentication-Info",X_MS_REQUEST_ID:"x-ms-request-id",X_MS_HTTP_VERSION:"x-ms-httpver"},e={ID_TOKEN:"idtoken",CLIENT_INFO:"client.info",ADAL_ID_TOKEN:"adal.idtoken",ERROR:"error",ERROR_DESC:"error.description",ACTIVE_ACCOUNT:"active-account",ACTIVE_ACCOUNT_FILTERS:"active-account-filters"},l={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},c={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},g={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},y={PLAIN:"plain",S256:"S256"},_={QUERY:"query",FRAGMENT:"fragment"},C={..._,FORM_POST:"form_post"},b={IMPLICIT_GRANT:"implicit",AUTHORIZATION_CODE_GRANT:"authorization_code",CLIENT_CREDENTIALS_GRANT:"client_credentials",RESOURCE_OWNER_PASSWORD_GRANT:"password",REFRESH_TOKEN_GRANT:"refresh_token",DEVICE_CODE_GRANT:"device_code",JWT_BEARER:"urn:ietf:params:oauth:grant-type:jwt-bearer"},p={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},f={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},S={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},M="appmetadata",E="client_info",A="1",k={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},N={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},F={SCHEMA_VERSION:5,MAX_CUR_HEADER_BYTES:80,MAX_LAST_HEADER_BYTES:330,MAX_CACHED_ERRORS:50,CACHE_KEY:"server-telemetry",CATEGORY_SEPARATOR:"|",VALUE_SEPARATOR:",",OVERFLOW_TRUE:"1",OVERFLOW_FALSE:"0",UNKNOWN_ERROR:"unknown_error"},T={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},P={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},I={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},j={username:"username",password:"password"},L={httpSuccess:200,httpBadRequest:400},B={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},$={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},ee={NOT_APPLICABLE:"0",FORCE_REFRESH_OR_CLAIMS:"1",NO_CACHED_ACCESS_TOKEN:"2",CACHED_ACCESS_TOKEN_EXPIRED:"3",PROACTIVELY_REFRESHED:"4"},le={Jwt:"JWT",Jwk:"JWK",Pop:"pop"}},14035:(ve,h,i)=>{"use strict";i.d(h,{C:()=>o,q:()=>n});const n=(d,a,u,e,l)=>(...c)=>{u.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,l);if(l){const y=a+"CallCount";e?.incrementFields({[y]:1},l)}try{const y=d(...c);return g?.end({success:!0}),u.trace(`Returning result from ${a}`),y}catch(y){u.trace(`Error occurred in ${a}`);try{u.trace(JSON.stringify(y))}catch{u.trace("Unable to print error message.")}throw g?.end({success:!1}),y}},o=(d,a,u,e,l)=>(...c)=>{u.trace(`Executing function ${a}`);const g=e?.startMeasurement(a,l);if(l){const y=a+"CallCount";e?.incrementFields({[y]:1},l)}return e?.setPreQueueTime(a,l),d(...c).then(y=>(u.trace(`Returning result from ${a}`),g?.end({success:!0}),y)).catch(y=>{u.trace(`Error occurred in ${a}`);try{u.trace(JSON.stringify(y))}catch{u.trace("Unable to print error message.")}throw g?.end({success:!1}),y})}},86144:(ve,h,i)=>{"use strict";i.d(h,{c:()=>a});var n=i(34739),o=i(28876),d=i(71408);class a{static setRequestState(e,l,c){const g=a.generateLibraryState(e,c);return l?`${g}${n.Mv.RESOURCE_DELIM}${l}`:g}static generateLibraryState(e,l){if(!e)throw(0,o.mQ)(d.noCryptoObject);const c={id:e.createNewGuid()};l&&(c.meta=l);const g=JSON.stringify(c);return e.base64Encode(g)}static parseRequestState(e,l){if(!e)throw(0,o.mQ)(d.noCryptoObject);if(!l)throw(0,o.mQ)(d.invalidState);try{const c=l.split(n.Mv.RESOURCE_DELIM),g=c[0],y=c.length>1?c.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,_=e.base64Decode(g),C=JSON.parse(_);return{userRequestState:y||n.Mv.EMPTY_STRING,libraryState:C}}catch{throw(0,o.mQ)(d.invalidState)}}}},7828:(ve,h,i)=>{"use strict";i.d(h,{e:()=>n});class n{static isEmptyObj(d){if(d)try{const a=JSON.parse(d);return 0===Object.keys(a).length}catch{}return!0}static startsWith(d,a){return 0===d.indexOf(a)}static endsWith(d,a){return d.length>=a.length&&d.lastIndexOf(a)===d.length-a.length}static queryStringToObject(d){const a={},u=d.split("&"),e=l=>decodeURIComponent(l.replace(/\+/g," "));return u.forEach(l=>{if(l.trim()){const[c,g]=l.split(/=(.+)/g,2);c&&g&&(a[e(c)]=e(g))}}),a}static trimArrayEntries(d){return d.map(a=>a.trim())}static removeEmptyStringsFromArray(d){return d.filter(a=>!!a)}static jsonParseHelper(d){try{return JSON.parse(d)}catch{return null}}static matchPattern(d,a){return new RegExp(d.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(a)}}},50160:(ve,h,i)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function o(u,e){const l=Number(u)||0;return n()+e>l}function d(u){return Number(u)>n()}i.d(h,{G4:()=>d,GO:()=>n,WY:()=>o})},33680:(ve,h,i)=>{"use strict";i.d(h,{u:()=>a,w:()=>d});var n=i(28876),o=i(71408);function d(u){return u.startsWith("#/")?u.substring(2):u.startsWith("#")||u.startsWith("?")?u.substring(1):u}function a(u){if(!u||u.indexOf("=")<0)return null;try{const e=d(u),l=Object.fromEntries(new URLSearchParams(e));if(l.code||l.error||l.error_description||l.state)return l}catch{throw(0,n.mQ)(o.hashNotDeserialized)}return null}},57848:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>vn,FaIconComponent:()=>Ji,FaIconLibrary:()=>Ai,FaLayersComponent:()=>Qi,FaLayersCounterComponent:()=>Pi,FaLayersTextComponent:()=>ei,FaStackComponent:()=>Ti,FaStackItemSizeDirective:()=>ji,FontAwesomeModule:()=>oo});var n=i(54496);function o(Ye,at){var R=Object.keys(Ye);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(Ye);at&&(te=te.filter(function(U){return Object.getOwnPropertyDescriptor(Ye,U).enumerable})),R.push.apply(R,te)}return R}function d(Ye){for(var at=1;atYe.length)&&(at=Ye.length);for(var R=0,te=new Array(at);R0;)at+=_n[62*Math.random()|0];return at}function qt(Ye){for(var at=[],R=(Ye||[]).length>>>0;R--;)at[R]=Ye[R];return at}function nr(Ye){return Ye.classList?qt(Ye.classList):(Ye.getAttribute("class")||"").split(" ").filter(function(at){return at})}function kr(Ye){return"".concat(Ye).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function sr(Ye){return Object.keys(Ye||{}).reduce(function(at,R){return at+"".concat(R,": ").concat(Ye[R].trim(),";")},"")}function Mr(Ye){return Ye.size!==Et.size||Ye.x!==Et.x||Ye.y!==Et.y||Ye.rotate!==Et.rotate||Ye.flipX||Ye.flipY}var xn=':root, :host {\n --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n overflow: visible;\n box-sizing: content-box;\n}\n\n.svg-inline--fa {\n display: var(--fa-display, inline-block);\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: var(--fa-pull-margin, 0.3em);\n width: auto;\n}\n.svg-inline--fa.fa-li {\n width: var(--fa-li-width, 2em);\n top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: var(--fa-counter-background-color, #ff253a);\n border-radius: var(--fa-counter-border-radius, 1em);\n box-sizing: border-box;\n color: var(--fa-inverse, #fff);\n line-height: var(--fa-counter-line-height, 1);\n max-width: var(--fa-counter-max-width, 5em);\n min-width: var(--fa-counter-min-width, 1.5em);\n overflow: hidden;\n padding: var(--fa-counter-padding, 0.25em 0.5em);\n right: var(--fa-right, 0);\n text-overflow: ellipsis;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n transform: scale(var(--fa-counter-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: var(--fa-bottom, 0);\n right: var(--fa-right, 0);\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: var(--fa-bottom, 0);\n left: var(--fa-left, 0);\n right: auto;\n top: auto;\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n top: var(--fa-top, 0);\n right: var(--fa-right, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: var(--fa-left, 0);\n right: auto;\n top: var(--fa-top, 0);\n -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n transform: scale(var(--fa-layers-scale, 0.25));\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-2xs {\n font-size: 0.625em;\n line-height: 0.1em;\n vertical-align: 0.225em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n line-height: 0.0833333337em;\n vertical-align: 0.125em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n line-height: 0.0714285718em;\n vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n font-size: 1.25em;\n line-height: 0.05em;\n vertical-align: -0.075em;\n}\n\n.fa-xl {\n font-size: 1.5em;\n line-height: 0.0416666682em;\n vertical-align: -0.125em;\n}\n\n.fa-2xl {\n font-size: 2em;\n line-height: 0.03125em;\n vertical-align: -0.1875em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: var(--fa-li-margin, 2.5em);\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: calc(var(--fa-li-width, 2em) * -1);\n position: absolute;\n text-align: center;\n width: var(--fa-li-width, 2em);\n line-height: inherit;\n}\n\n.fa-border {\n border-color: var(--fa-border-color, #eee);\n border-radius: var(--fa-border-radius, 0.1em);\n border-style: var(--fa-border-style, solid);\n border-width: var(--fa-border-width, 0.08em);\n padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n float: left;\n margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n float: right;\n margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n -webkit-animation-name: fa-beat;\n animation-name: fa-beat;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n -webkit-animation-name: fa-bounce;\n animation-name: fa-bounce;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n -webkit-animation-name: fa-fade;\n animation-name: fa-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n -webkit-animation-name: fa-beat-fade;\n animation-name: fa-beat-fade;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n -webkit-animation-name: fa-flip;\n animation-name: fa-flip;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n -webkit-animation-name: fa-shake;\n animation-name: fa-shake;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-delay: var(--fa-animation-delay, 0s);\n animation-delay: var(--fa-animation-delay, 0s);\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 2s);\n animation-duration: var(--fa-animation-duration, 2s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n -webkit-animation-name: fa-spin;\n animation-name: fa-spin;\n -webkit-animation-direction: var(--fa-animation-direction, normal);\n animation-direction: var(--fa-animation-direction, normal);\n -webkit-animation-duration: var(--fa-animation-duration, 1s);\n animation-duration: var(--fa-animation-duration, 1s);\n -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n -webkit-animation-delay: -1ms;\n animation-delay: -1ms;\n -webkit-animation-duration: 1ms;\n animation-duration: 1ms;\n -webkit-animation-iteration-count: 1;\n animation-iteration-count: 1;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n@-webkit-keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@keyframes fa-beat {\n 0%, 90% {\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 45% {\n -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n transform: scale(var(--fa-beat-scale, 1.25));\n }\n}\n@-webkit-keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@keyframes fa-bounce {\n 0% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 10% {\n -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n }\n 30% {\n -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n }\n 50% {\n -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n }\n 57% {\n -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n }\n 64% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n 100% {\n -webkit-transform: scale(1, 1) translateY(0);\n transform: scale(1, 1) translateY(0);\n }\n}\n@-webkit-keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@keyframes fa-fade {\n 50% {\n opacity: var(--fa-fade-opacity, 0.4);\n }\n}\n@-webkit-keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@keyframes fa-beat-fade {\n 0%, 100% {\n opacity: var(--fa-beat-fade-opacity, 0.4);\n -webkit-transform: scale(1);\n transform: scale(1);\n }\n 50% {\n opacity: 1;\n -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n transform: scale(var(--fa-beat-fade-scale, 1.125));\n }\n}\n@-webkit-keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@keyframes fa-flip {\n 50% {\n -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n }\n}\n@-webkit-keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@keyframes fa-shake {\n 0% {\n -webkit-transform: rotate(-15deg);\n transform: rotate(-15deg);\n }\n 4% {\n -webkit-transform: rotate(15deg);\n transform: rotate(15deg);\n }\n 8%, 24% {\n -webkit-transform: rotate(-18deg);\n transform: rotate(-18deg);\n }\n 12%, 28% {\n -webkit-transform: rotate(18deg);\n transform: rotate(18deg);\n }\n 16% {\n -webkit-transform: rotate(-22deg);\n transform: rotate(-22deg);\n }\n 20% {\n -webkit-transform: rotate(22deg);\n transform: rotate(22deg);\n }\n 32% {\n -webkit-transform: rotate(-12deg);\n transform: rotate(-12deg);\n }\n 36% {\n -webkit-transform: rotate(12deg);\n transform: rotate(12deg);\n }\n 40%, 100% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n}\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n -webkit-transform: rotate(var(--fa-rotate-angle, none));\n transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n display: inline-block;\n vertical-align: middle;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0, 0, 0, 0);\n white-space: nowrap;\n border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n color: var(--fa-inverse, #fff);\n}';function oi(){var Ye=Re,at=Ae,R=kn.cssPrefix,te=kn.replacementClass,U=xn;if(R!==Ye||te!==at){var ce=new RegExp("\\.".concat(Ye,"\\-"),"g"),Le=new RegExp("\\--".concat(Ye,"\\-"),"g"),ft=new RegExp("\\.".concat(at),"g");U=U.replace(ce,".".concat(R,"-")).replace(Le,"--".concat(R,"-")).replace(ft,".".concat(te))}return U}var Sr=!1;function pr(){kn.autoAddCss&&!Sr&&(function Xt(Ye){if(Ye&&Q){var at=ee.createElement("style");at.setAttribute("type","text/css"),at.innerHTML=Ye;for(var R=ee.head.childNodes,te=null,U=R.length-1;U>-1;U--){var ce=R[U],Le=(ce.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Le)>-1&&(te=ce)}ee.head.insertBefore(at,te)}}(oi()),Sr=!0)}var Xn={mixout:function(){return{dom:{css:oi,insertCss:pr}}},hooks:function(){return{beforeDOMElementCreation:function(){pr()},beforeI2svg:function(){pr()}}}},qn=$||{};qn[me]||(qn[me]={}),qn[me].styles||(qn[me].styles={}),qn[me].hooks||(qn[me].hooks={}),qn[me].shims||(qn[me].shims=[]);var Or=qn[me],pi=[],Rn=!1;function or(Ye){var at=Ye.tag,R=Ye.attributes,te=void 0===R?{}:R,U=Ye.children,ce=void 0===U?[]:U;return"string"==typeof Ye?kr(Ye):"<".concat(at," ").concat(function Br(Ye){return Object.keys(Ye||{}).reduce(function(at,R){return at+"".concat(R,'="').concat(kr(Ye[R]),'" ')},"").trim()}(te),">").concat(ce.map(or).join(""),"")}function ui(Ye,at,R){if(Ye&&Ye[at]&&Ye[at][R])return{prefix:at,iconName:R,icon:Ye[at][R]}}Q&&((Rn=(ee.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(ee.readyState))||ee.addEventListener("DOMContentLoaded",function Ye(){ee.removeEventListener("DOMContentLoaded",Ye),Rn=1,pi.map(function(at){return at()})}));var ct=function(at,R,te,U){var xt,rn,J,ce=Object.keys(at),Le=ce.length,ft=void 0!==U?function(at,R){return function(te,U,ce,Le){return at.call(R,te,U,ce,Le)}}(R,U):R;for(void 0===te?(xt=1,J=at[ce[0]]):(xt=0,J=te);xt=55296&&U<=56319&&R2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,U=void 0!==te&&te,ce=an(at);"function"!=typeof Or.hooks.addPack||U?Or.styles[Ye]=d(d({},Or.styles[Ye]||{}),ce):Or.hooks.addPack(Ye,an(at)),"fas"===Ye&&Cn("fa",at)}var Qn,Un,Tr,Er=Or.styles,Hn=Or.shims,ur=(g(Qn={},Qe,Object.values(kt[Qe])),g(Qn,Ut,Object.values(kt[Ut])),Qn),Ei=null,on={},H={},W={},ae={},He={},Pe=(g(Un={},Qe,Object.keys(Sn[Qe])),g(Un,Ut,Object.keys(Sn[Ut])),Un);var ot=function(){var at=function(ce){return ct(Er,function(Le,ft,xt){return Le[xt]=ct(ft,ce,{}),Le},{})};on=at(function(U,ce,Le){return ce[3]&&(U[ce[3]]=Le),ce[2]&&ce[2].filter(function(xt){return"number"==typeof xt}).forEach(function(xt){U[xt.toString(16)]=Le}),U}),H=at(function(U,ce,Le){return U[Le]=Le,ce[2]&&ce[2].filter(function(xt){return"string"==typeof xt}).forEach(function(xt){U[xt]=Le}),U}),He=at(function(U,ce,Le){var ft=ce[2];return U[Le]=Le,ft.forEach(function(xt){U[xt]=Le}),U});var R="far"in Er||kn.autoFetchSvg,te=ct(Hn,function(U,ce){var Le=ce[0],ft=ce[1],xt=ce[2];return"far"===ft&&!R&&(ft="fas"),"string"==typeof Le&&(U.names[Le]={prefix:ft,iconName:xt}),"number"==typeof Le&&(U.unicodes[Le.toString(16)]={prefix:ft,iconName:xt}),U},{names:{},unicodes:{}});W=te.names,ae=te.unicodes,Ei=ln(kn.styleDefault,{family:kn.familyDefault})};function ht(Ye,at){return(on[Ye]||{})[at]}function Lt(Ye,at){return(He[Ye]||{})[at]}function Kt(Ye){return W[Ye]||{prefix:null,iconName:null}}function fn(){return Ei}(function Gt(Ye){Mt.push(Ye)})(function(Ye){Ei=ln(Ye.styleDefault,{family:kn.familyDefault})}),ot();var mn=function(){return{prefix:null,iconName:null,rest:[]}};function ln(Ye){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,te=void 0===R?Qe:R;return bn[te][Ye]||bn[te][Sn[te][Ye]]||(Ye in Or.styles?Ye:null)||null}var Yt=(g(Tr={},Qe,Object.keys(kt[Qe])),g(Tr,Ut,Object.keys(kt[Ut])),Tr);function Ln(Ye){var at,te=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,U=void 0!==te&&te,ce=(g(at={},Qe,"".concat(kn.cssPrefix,"-").concat(Qe)),g(at,Ut,"".concat(kn.cssPrefix,"-").concat(Ut)),at),Le=null,ft=Qe;(Ye.includes(ce[Qe])||Ye.some(function(rn){return Yt[Qe].includes(rn)}))&&(ft=Qe),(Ye.includes(ce[Ut])||Ye.some(function(rn){return Yt[Ut].includes(rn)}))&&(ft=Ut);var xt=Ye.reduce(function(rn,J){var ze=function Te(Ye,at){var R=at.split("-"),te=R[0],U=R.slice(1).join("-");return te!==Ye||""===U||function fe(Ye){return~Rt.indexOf(Ye)}(U)?null:U}(kn.cssPrefix,J);if(Er[J]?(J=ur[ft].includes(J)?jt[ft][J]:J,Le=J,rn.prefix=J):Pe[ft].indexOf(J)>-1?(Le=J,rn.prefix=ln(J,{family:ft})):ze?rn.iconName=ze:J!==kn.replacementClass&&J!==ce[Qe]&&J!==ce[Ut]&&rn.rest.push(J),!U&&rn.prefix&&rn.iconName){var Se="fa"===Le?Kt(rn.iconName):{},Ue=Lt(rn.prefix,rn.iconName);Se.prefix&&(Le=null),rn.iconName=Se.iconName||Ue||rn.iconName,rn.prefix=Se.prefix||rn.prefix,"far"===rn.prefix&&!Er.far&&Er.fas&&!kn.autoFetchSvg&&(rn.prefix="fas")}return rn},mn());return(Ye.includes("fa-brands")||Ye.includes("fab"))&&(xt.prefix="fab"),(Ye.includes("fa-duotone")||Ye.includes("fad"))&&(xt.prefix="fad"),!xt.prefix&&ft===Ut&&(Er.fass||kn.autoFetchSvg)&&(xt.prefix="fass",xt.iconName=Lt(xt.prefix,xt.iconName)||xt.iconName),("fa"===xt.prefix||"fa"===Le)&&(xt.prefix=fn()||"fas"),xt}var lr=function(){function Ye(){(function e(Ye,at){if(!(Ye instanceof at))throw new TypeError("Cannot call a class as a function")})(this,Ye),this.definitions={}}return function c(Ye,at,R){at&&l(Ye.prototype,at),R&&l(Ye,R),Object.defineProperty(Ye,"prototype",{writable:!1})}(Ye,[{key:"add",value:function(){for(var R=this,te=arguments.length,U=new Array(te),ce=0;ce0&&J.forEach(function(ze){"string"==typeof ze&&(R[ft][ze]=rn)}),R[ft][xt]=rn}),R}}]),Ye}(),cr=[],Nr={},Lr={},ut=Object.keys(Lr);function vi(Ye,at){for(var R=arguments.length,te=new Array(R>2?R-2:0),U=2;U1?at-1:0),te=1;te0&&void 0!==arguments[0]?arguments[0]:{};return Q?(_r("beforeI2svg",at),wn("pseudoElements2svg",at),wn("i2svg",at)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var at=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},R=at.autoReplaceSvgRoot;!1===kn.autoReplaceSvg&&(kn.autoReplaceSvg=!0),kn.observeMutations=!0,function Kn(Ye){Q&&(Rn?setTimeout(Ye,0):pi.push(Ye))}(function(){Zr({autoReplaceSvgRoot:R}),_r("watch",at)})}},ti={noAuto:function(){kn.autoReplaceSvg=!1,kn.observeMutations=!1,_r("noAuto")},config:kn,dom:ai,parse:{icon:function(at){if(null===at)return null;if("object"===a(at)&&at.prefix&&at.iconName)return{prefix:at.prefix,iconName:Lt(at.prefix,at.iconName)||at.iconName};if(Array.isArray(at)&&2===at.length){var R=0===at[1].indexOf("fa-")?at[1].slice(3):at[1],te=ln(at[0]);return{prefix:te,iconName:Lt(te,R)||R}}if("string"==typeof at&&(at.indexOf("".concat(kn.cssPrefix,"-"))>-1||at.match(Fe))){var U=Ln(at.split(" "),{skipLookups:!0});return{prefix:U.prefix||fn(),iconName:Lt(U.prefix,U.iconName)||U.iconName}}if("string"==typeof at){var ce=fn();return{prefix:ce,iconName:Lt(ce,at)||at}}}},library:si,findIconDefinition:$n,toHtml:or},Zr=function(){var R=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,te=void 0===R?ee:R;(Object.keys(Or.styles).length>0||kn.autoFetchSvg)&&Q&&kn.autoReplaceSvg&&ti.dom.i2svg({node:te})};function Xr(Ye,at){return Object.defineProperty(Ye,"abstract",{get:at}),Object.defineProperty(Ye,"html",{get:function(){return Ye.abstract.map(function(te){return or(te)})}}),Object.defineProperty(Ye,"node",{get:function(){if(Q){var te=ee.createElement("div");return te.innerHTML=Ye.html,te.children}}}),Ye}function Yi(Ye){var at=Ye.icons,R=at.main,te=at.mask,U=Ye.prefix,ce=Ye.iconName,Le=Ye.transform,ft=Ye.symbol,xt=Ye.title,rn=Ye.maskId,J=Ye.titleId,ze=Ye.extra,Se=Ye.watchable,Ue=void 0!==Se&&Se,_t=te.found?te:R,$t=_t.width,tn=_t.height,Dn="fak"===U,gr=[kn.replacementClass,ce?"".concat(kn.cssPrefix,"-").concat(ce):""].filter(function(eo){return-1===ze.classes.indexOf(eo)}).filter(function(eo){return""!==eo||!!eo}).concat(ze.classes).join(" "),yr={children:[],attributes:d(d({},ze.attributes),{},{"data-prefix":U,"data-icon":ce,class:gr,role:ze.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat($t," ").concat(tn)})},$r=Dn&&!~ze.classes.indexOf("fa-fw")?{width:"".concat($t/tn*16*.0625,"em")}:{};Ue&&(yr.attributes[ge]=""),xt&&(yr.children.push({tag:"title",attributes:{id:yr.attributes["aria-labelledby"]||"title-".concat(J||En())},children:[xt]}),delete yr.attributes.title);var Cr=d(d({},yr),{},{prefix:U,iconName:ce,main:R,mask:te,maskId:rn,transform:Le,symbol:ft,styles:d(d({},$r),ze.styles)}),Qr=te.found&&R.found?wn("generateAbstractMask",Cr)||{children:[],attributes:{}}:wn("generateAbstractIcon",Cr)||{children:[],attributes:{}},Ri=Qr.attributes;return Cr.children=Qr.children,Cr.attributes=Ri,ft?function hr(Ye){var R=Ye.iconName,te=Ye.children,U=Ye.attributes,ce=Ye.symbol,Le=!0===ce?"".concat(Ye.prefix,"-").concat(kn.cssPrefix,"-").concat(R):ce;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:d(d({},U),{},{id:Le}),children:te}]}]}(Cr):function Vi(Ye){var at=Ye.children,R=Ye.main,te=Ye.mask,U=Ye.attributes,ce=Ye.styles,Le=Ye.transform;if(Mr(Le)&&R.found&&!te.found){var rn={x:R.width/R.height/2,y:.5};U.style=sr(d(d({},ce),{},{"transform-origin":"".concat(rn.x+Le.x/16,"em ").concat(rn.y+Le.y/16,"em")}))}return[{tag:"svg",attributes:U,children:at}]}(Cr)}function ko(Ye){var at=Ye.content,R=Ye.width,te=Ye.height,U=Ye.transform,ce=Ye.title,Le=Ye.extra,ft=Ye.watchable,xt=void 0!==ft&&ft,rn=d(d(d({},Le.attributes),ce?{title:ce}:{}),{},{class:Le.classes.join(" ")});xt&&(rn[ge]="");var J=d({},Le.styles);Mr(U)&&(J.transform=function Jn(Ye){var at=Ye.transform,R=Ye.width,U=Ye.height,ce=void 0===U?16:U,Le=Ye.startCentered,ft=void 0!==Le&&Le,xt="";return xt+=ft&&re?"translate(".concat(at.x/16-(void 0===R?16:R)/2,"em, ").concat(at.y/16-ce/2,"em) "):ft?"translate(calc(-50% + ".concat(at.x/16,"em), calc(-50% + ").concat(at.y/16,"em)) "):"translate(".concat(at.x/16,"em, ").concat(at.y/16,"em) "),(xt+="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "))+"rotate(".concat(at.rotate,"deg) ")}({transform:U,startCentered:!0,width:R,height:te}),J["-webkit-transform"]=J.transform);var ze=sr(J);ze.length>0&&(rn.style=ze);var Se=[];return Se.push({tag:"span",attributes:rn,children:[at]}),ce&&Se.push({tag:"span",attributes:{class:"sr-only"},children:[ce]}),Se}var Jr=Or.styles;function zi(Ye){var at=Ye[0],R=Ye[1],ce=C(Ye.slice(4),1)[0];return{found:!0,width:at,height:R,icon:Array.isArray(ce)?{tag:"g",attributes:{class:"".concat(kn.cssPrefix,"-").concat(Bt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(kn.cssPrefix,"-").concat(Bt.SECONDARY),fill:"currentColor",d:ce[0]}},{tag:"path",attributes:{class:"".concat(kn.cssPrefix,"-").concat(Bt.PRIMARY),fill:"currentColor",d:ce[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:ce}}}}var qi={found:!1,width:512,height:512};function Rr(Ye,at){var R=at;return"fa"===at&&null!==kn.styleDefault&&(at=fn()),new Promise(function(te,U){if(wn("missingIconAbstract"),"fa"===R){var Le=Kt(Ye)||{};Ye=Le.iconName||Ye,at=Le.prefix||at}if(Ye&&at&&Jr[at]&&Jr[at][Ye])return te(zi(Jr[at][Ye]));(function ro(Ye,at){!bt&&!kn.showMissingIcons&&Ye&&console.error('Icon with name "'.concat(Ye,'" and prefix "').concat(at,'" is missing.'))})(Ye,at),te(d(d({},qi),{},{icon:kn.showMissingIcons&&Ye&&wn("missingIconAbstract")||{}}))})}var mo=function(){},_i=kn.measurePerformance&&se&&se.mark&&se.measure?se:{mark:mo,measure:mo},xi='FA "6.5.1"',ar=function(at){_i.mark("".concat(xi," ").concat(at," ends")),_i.measure("".concat(xi," ").concat(at),"".concat(xi," ").concat(at," begins"),"".concat(xi," ").concat(at," ends"))},yo={begin:function(at){return _i.mark("".concat(xi," ").concat(at," begins")),function(){return ar(at)}},end:ar},wi=function(){};function yi(Ye){return"string"==typeof(Ye.getAttribute?Ye.getAttribute(ge):null)}function bo(Ye){return ee.createElementNS("http://www.w3.org/2000/svg",Ye)}function Ni(Ye){return ee.createElement(Ye)}function Gr(Ye){var R=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,te=void 0===R?"svg"===Ye.tag?bo:Ni:R;if("string"==typeof Ye)return ee.createTextNode(Ye);var U=te(Ye.tag);return Object.keys(Ye.attributes||[]).forEach(function(Le){U.setAttribute(Le,Ye.attributes[Le])}),(Ye.children||[]).forEach(function(Le){U.appendChild(Gr(Le,{ceFn:te}))}),U}var Oi={replace:function(at){var R=at[0];if(R.parentNode)if(at[1].forEach(function(U){R.parentNode.insertBefore(Gr(U),R)}),null===R.getAttribute(ge)&&kn.keepOriginalSource){var te=ee.createComment(function Lo(Ye){var at=" ".concat(Ye.outerHTML," ");return"".concat(at,"Font Awesome fontawesome.com ")}(R));R.parentNode.replaceChild(te,R)}else R.remove()},nest:function(at){var R=at[0],te=at[1];if(~nr(R).indexOf(kn.replacementClass))return Oi.replace(at);var U=new RegExp("".concat(kn.cssPrefix,"-.*"));if(delete te[0].attributes.id,te[0].attributes.class){var ce=te[0].attributes.class.split(" ").reduce(function(ft,xt){return xt===kn.replacementClass||xt.match(U)?ft.toSvg.push(xt):ft.toNode.push(xt),ft},{toNode:[],toSvg:[]});te[0].attributes.class=ce.toSvg.join(" "),0===ce.toNode.length?R.removeAttribute("class"):R.setAttribute("class",ce.toNode.join(" "))}var Le=te.map(function(ft){return or(ft)}).join("\n");R.setAttribute(ge,""),R.innerHTML=Le}};function Zi(Ye){Ye()}function Li(Ye,at){var R="function"==typeof at?at:wi;if(0===Ye.length)R();else{var te=Zi;kn.mutateApproach===je&&(te=$.requestAnimationFrame||Zi),te(function(){var U=function zr(){return!0===kn.autoReplaceSvg?Oi.replace:Oi[kn.autoReplaceSvg]||Oi.replace}(),ce=yo.begin("mutate");Ye.map(U),ce(),R()})}}var Gi=!1;function $o(){Gi=!0}function Co(){Gi=!1}var Ro=null;function wo(Ye){if(le&&kn.observeMutations){var at=Ye.treeCallback,R=void 0===at?wi:at,te=Ye.nodeCallback,U=void 0===te?wi:te,ce=Ye.pseudoElementsCallback,Le=void 0===ce?wi:ce,ft=Ye.observeMutationsRoot,xt=void 0===ft?ee:ft;Ro=new le(function(rn){if(!Gi){var J=fn();qt(rn).forEach(function(ze){if("childList"===ze.type&&ze.addedNodes.length>0&&!yi(ze.addedNodes[0])&&(kn.searchPseudoElements&&Le(ze.target),R(ze.target)),"attributes"===ze.type&&ze.target.parentNode&&kn.searchPseudoElements&&Le(ze.target.parentNode),"attributes"===ze.type&&yi(ze.target)&&~vt.indexOf(ze.attributeName))if("class"===ze.attributeName&&function Eo(Ye){var at=Ye.getAttribute?Ye.getAttribute(qe):null,R=Ye.getAttribute?Ye.getAttribute(et):null;return at&&R}(ze.target)){var Se=Ln(nr(ze.target)),_t=Se.iconName;ze.target.setAttribute(qe,Se.prefix||J),_t&&ze.target.setAttribute(et,_t)}else(function po(Ye){return Ye&&Ye.classList&&Ye.classList.contains&&Ye.classList.contains(kn.replacementClass)})(ze.target)&&U(ze.target)})}}),Q&&Ro.observe(xt,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function uo(Ye){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},R=function ns(Ye){var at=Ye.getAttribute("data-prefix"),R=Ye.getAttribute("data-icon"),te=void 0!==Ye.innerText?Ye.innerText.trim():"",U=Ln(nr(Ye));return U.prefix||(U.prefix=fn()),at&&R&&(U.prefix=at,U.iconName=R),U.iconName&&U.prefix||(U.prefix&&te.length>0&&(U.iconName=function Ct(Ye,at){return(H[Ye]||{})[at]}(U.prefix,Ye.innerText)||ht(U.prefix,St(Ye.innerText))),!U.iconName&&kn.autoFetchSvg&&Ye.firstChild&&Ye.firstChild.nodeType===Node.TEXT_NODE&&(U.iconName=Ye.firstChild.data)),U}(Ye),te=R.iconName,U=R.prefix,ce=R.rest,Le=function rs(Ye){var at=qt(Ye.attributes).reduce(function(U,ce){return"class"!==U.name&&"style"!==U.name&&(U[ce.name]=ce.value),U},{}),R=Ye.getAttribute("title"),te=Ye.getAttribute("data-fa-title-id");return kn.autoA11y&&(R?at["aria-labelledby"]="".concat(kn.replacementClass,"-title-").concat(te||En()):(at["aria-hidden"]="true",at.focusable="false")),at}(Ye),ft=vi("parseNodeAttributes",{},Ye),xt=at.styleParser?function Go(Ye){var at=Ye.getAttribute("style"),R=[];return at&&(R=at.split(";").reduce(function(te,U){var ce=U.split(":"),Le=ce[0],ft=ce.slice(1);return Le&&ft.length>0&&(te[Le]=ft.join(":").trim()),te},{})),R}(Ye):[];return d({iconName:te,title:Ye.getAttribute("title"),titleId:Ye.getAttribute("data-fa-title-id"),prefix:U,transform:Et,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:ce,styles:xt,attributes:Le}},ft)}var So=Or.styles;function cs(Ye){var at="nest"===kn.autoReplaceSvg?uo(Ye,{styleParser:!1}):uo(Ye);return~at.extra.classes.indexOf(Ee)?wn("generateLayersText",Ye,at):wn("generateSvgReplacementMutation",Ye,at)}var co=new Set;function Fo(Ye){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Q)return Promise.resolve();var R=ee.documentElement.classList,te=function(ze){return R.add("".concat(De,"-").concat(ze))},U=function(ze){return R.remove("".concat(De,"-").concat(ze))},ce=kn.autoFetchSvg?co:sn.map(function(J){return"fa-".concat(J)}).concat(Object.keys(So));ce.includes("fa")||ce.push("fa");var Le=[".".concat(Ee,":not([").concat(ge,"])")].concat(ce.map(function(J){return".".concat(J,":not([").concat(ge,"])")})).join(", ");if(0===Le.length)return Promise.resolve();var ft=[];try{ft=qt(Ye.querySelectorAll(Le))}catch{}if(!(ft.length>0))return Promise.resolve();te("pending"),U("complete");var xt=yo.begin("onTree"),rn=ft.reduce(function(J,ze){try{var Se=cs(ze);Se&&J.push(Se)}catch(Ue){bt||"MissingIcon"===Ue.name&&console.error(Ue)}return J},[]);return new Promise(function(J,ze){Promise.all(rn).then(function(Se){Li(Se,function(){te("active"),te("complete"),U("pending"),"function"==typeof at&&at(),xt(),J()})}).catch(function(Se){xt(),ze(Se)})})}function Do(Ye){var at=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;cs(Ye).then(function(R){R&&Li([R],at)})}sn.map(function(Ye){co.add("fa-".concat(Ye))}),Object.keys(Sn[Qe]).map(co.add.bind(co)),Object.keys(Sn[Ut]).map(co.add.bind(co)),co=b(co);var hs=function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=R.transform,U=void 0===te?Et:te,ce=R.symbol,Le=void 0!==ce&&ce,ft=R.mask,xt=void 0===ft?null:ft,rn=R.maskId,J=void 0===rn?null:rn,ze=R.title,Se=void 0===ze?null:ze,Ue=R.titleId,_t=void 0===Ue?null:Ue,$t=R.classes,tn=void 0===$t?[]:$t,Dn=R.attributes,gr=void 0===Dn?{}:Dn,yr=R.styles,$r=void 0===yr?{}:yr;if(at){var Cr=at.prefix,Qr=at.iconName,Hr=at.icon;return Xr(d({type:"icon"},at),function(){return _r("beforeDOMElementCreation",{iconDefinition:at,params:R}),kn.autoA11y&&(Se?gr["aria-labelledby"]="".concat(kn.replacementClass,"-title-").concat(_t||En()):(gr["aria-hidden"]="true",gr.focusable="false")),Yi({icons:{main:zi(Hr),mask:xt?zi(xt.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cr,iconName:Qr,transform:d(d({},Et),U),symbol:Le,title:Se,maskId:J,titleId:_t,extra:{attributes:gr,styles:$r,classes:tn}})})}},Qo={mixout:function(){return{icon:(Ye=hs,function(at){var R=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},te=(at||{}).icon?at:$n(at||{}),U=R.mask;return U&&(U=(U||{}).icon?U:$n(U||{})),Ye(te,d(d({},R),{},{mask:U}))})};var Ye},hooks:function(){return{mutationObserverCallbacks:function(R){return R.treeCallback=Fo,R.nodeCallback=Do,R}}},provides:function(at){at.i2svg=function(R){var te=R.node,ce=R.callback;return Fo(void 0===te?ee:te,void 0===ce?function(){}:ce)},at.generateSvgReplacementMutation=function(R,te){var U=te.iconName,ce=te.title,Le=te.titleId,ft=te.prefix,xt=te.transform,rn=te.symbol,J=te.mask,ze=te.maskId,Se=te.extra;return new Promise(function(Ue,_t){Promise.all([Rr(U,ft),J.iconName?Rr(J.iconName,J.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function($t){var tn=C($t,2);Ue([R,Yi({icons:{main:tn[0],mask:tn[1]},prefix:ft,iconName:U,transform:xt,symbol:rn,maskId:ze,title:ce,titleId:Le,extra:Se,watchable:!0})])}).catch(_t)})},at.generateAbstractIcon=function(R){var rn,te=R.children,U=R.attributes,ce=R.main,Le=R.transform,xt=sr(R.styles);return xt.length>0&&(U.style=xt),Mr(Le)&&(rn=wn("generateAbstractTransformGrouping",{main:ce,transform:Le,containerWidth:ce.width,iconWidth:ce.width})),te.push(rn||ce.icon),{children:te,attributes:U}}}},We={mixout:function(){return{layer:function(R){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},U=te.classes,ce=void 0===U?[]:U;return Xr({type:"layer"},function(){_r("beforeDOMElementCreation",{assembler:R,params:te});var Le=[];return R(function(ft){Array.isArray(ft)?ft.map(function(xt){Le=Le.concat(xt.abstract)}):Le=Le.concat(ft.abstract)}),[{tag:"span",attributes:{class:["".concat(kn.cssPrefix,"-layers")].concat(b(ce)).join(" ")},children:Le}]})}}}},Xe={mixout:function(){return{counter:function(R){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},U=te.title,ce=void 0===U?null:U,Le=te.classes,ft=void 0===Le?[]:Le,xt=te.attributes,rn=void 0===xt?{}:xt,J=te.styles,ze=void 0===J?{}:J;return Xr({type:"counter",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:te}),function go(Ye){var at=Ye.content,R=Ye.title,te=Ye.extra,U=d(d(d({},te.attributes),R?{title:R}:{}),{},{class:te.classes.join(" ")}),ce=sr(te.styles);ce.length>0&&(U.style=ce);var Le=[];return Le.push({tag:"span",attributes:U,children:[at]}),R&&Le.push({tag:"span",attributes:{class:"sr-only"},children:[R]}),Le}({content:R.toString(),title:ce,extra:{attributes:rn,styles:ze,classes:["".concat(kn.cssPrefix,"-layers-counter")].concat(b(ft))}})})}}}},ke={mixout:function(){return{text:function(R){var te=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},U=te.transform,ce=void 0===U?Et:U,Le=te.title,ft=void 0===Le?null:Le,xt=te.classes,rn=void 0===xt?[]:xt,J=te.attributes,ze=void 0===J?{}:J,Se=te.styles,Ue=void 0===Se?{}:Se;return Xr({type:"text",content:R},function(){return _r("beforeDOMElementCreation",{content:R,params:te}),ko({content:R,transform:d(d({},Et),ce),title:ft,extra:{attributes:ze,styles:Ue,classes:["".concat(kn.cssPrefix,"-layers-text")].concat(b(rn))}})})}}},provides:function(at){at.generateLayersText=function(R,te){var U=te.title,ce=te.transform,Le=te.extra,ft=null,xt=null;if(re){var rn=parseInt(getComputedStyle(R).fontSize,10),J=R.getBoundingClientRect();ft=J.width/rn,xt=J.height/rn}return kn.autoA11y&&!U&&(Le.attributes["aria-hidden"]="true"),Promise.resolve([R,ko({content:R.innerHTML,width:ft,height:xt,transform:ce,title:U,extra:Le,watchable:!0})])}}},dt=new RegExp('"',"ug"),wt=[1105920,1112319];function Bn(Ye,at){var R="".concat(it).concat(at.replace(":","-"));return new Promise(function(te,U){if(null!==Ye.getAttribute(R))return te();var Le=qt(Ye.children).filter(function(Hr){return Hr.getAttribute(Ne)===at})[0],ft=$.getComputedStyle(Ye,at),xt=ft.getPropertyValue("font-family").match(ye),rn=ft.getPropertyValue("font-weight"),J=ft.getPropertyValue("content");if(Le&&!xt)return Ye.removeChild(Le),te();if(xt&&"none"!==J&&""!==J){var ze=ft.getPropertyValue("content"),Se=~["Sharp"].indexOf(xt[2])?Ut:Qe,Ue=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(xt[2])?bn[Se][xt[2].toLowerCase()]:Ce[Se][rn],_t=function zn(Ye){var at=Ye.replace(dt,""),R=function Jt(Ye,at){var U,R=Ye.length,te=Ye.charCodeAt(at);return te>=55296&&te<=56319&&R>at+1&&(U=Ye.charCodeAt(at+1))>=56320&&U<=57343?1024*(te-55296)+U-56320+65536:te}(at,0),te=R>=wt[0]&&R<=wt[1],U=2===at.length&&at[0]===at[1];return{value:St(U?at[0]:at),isSecondary:te||U}}(ze),$t=_t.value,tn=_t.isSecondary,Dn=xt[0].startsWith("FontAwesome"),gr=ht(Ue,$t),yr=gr;if(Dn){var $r=function dn(Ye){var at=ae[Ye],R=ht("fas",Ye);return at||(R?{prefix:"fas",iconName:R}:null)||{prefix:null,iconName:null}}($t);$r.iconName&&$r.prefix&&(gr=$r.iconName,Ue=$r.prefix)}if(!gr||tn||Le&&Le.getAttribute(qe)===Ue&&Le.getAttribute(et)===yr)te();else{Ye.setAttribute(R,yr),Le&&Ye.removeChild(Le);var Cr=function Ki(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Et,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),Qr=Cr.extra;Qr.attributes[Ne]=at,Rr(gr,Ue).then(function(Hr){var Ri=Yi(d(d({},Cr),{},{icons:{main:Hr,mask:mn()},prefix:Ue,iconName:yr,extra:Qr,watchable:!0})),eo=ee.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===at?Ye.insertBefore(eo,Ye.firstChild):Ye.appendChild(eo),eo.outerHTML=Ri.map(function(Vo){return or(Vo)}).join("\n"),Ye.removeAttribute(R),te()}).catch(U)}}else te()})}function Wi(Ye){return Promise.all([Bn(Ye,"::before"),Bn(Ye,"::after")])}function Mo(Ye){return!(Ye.parentNode===document.head||~Ie.indexOf(Ye.tagName.toUpperCase())||Ye.getAttribute(Ne)||Ye.parentNode&&"svg"===Ye.parentNode.tagName)}function Ao(Ye){if(Q)return new Promise(function(at,R){var te=qt(Ye.querySelectorAll("*")).filter(Mo).map(Wi),U=yo.begin("searchPseudoElements");$o(),Promise.all(te).then(function(){U(),Co(),at()}).catch(function(){U(),Co(),R()})})}var Ur=!1,is=function(at){return at.toLowerCase().split(" ").reduce(function(te,U){var ce=U.toLowerCase().split("-"),Le=ce[0],ft=ce.slice(1).join("-");if(Le&&"h"===ft)return te.flipX=!0,te;if(Le&&"v"===ft)return te.flipY=!0,te;if(ft=parseFloat(ft),isNaN(ft))return te;switch(Le){case"grow":te.size=te.size+ft;break;case"shrink":te.size=te.size-ft;break;case"left":te.x=te.x-ft;break;case"right":te.x=te.x+ft;break;case"up":te.y=te.y-ft;break;case"down":te.y=te.y+ft;break;case"rotate":te.rotate=te.rotate+ft}return te},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Xo={x:0,y:0,width:"100%",height:"100%"};function xo(Ye){return Ye.attributes&&(Ye.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Ye.attributes.fill="black"),Ye}!function lo(Ye,at){var R=at.mixoutsTo;cr=Ye,Nr={},Object.keys(Lr).forEach(function(te){-1===ut.indexOf(te)&&delete Lr[te]}),cr.forEach(function(te){var U=te.mixout?te.mixout():{};if(Object.keys(U).forEach(function(Le){"function"==typeof U[Le]&&(R[Le]=U[Le]),"object"===a(U[Le])&&Object.keys(U[Le]).forEach(function(ft){R[Le]||(R[Le]={}),R[Le][ft]=U[Le][ft]})}),te.hooks){var ce=te.hooks();Object.keys(ce).forEach(function(Le){Nr[Le]||(Nr[Le]=[]),Nr[Le].push(ce[Le])})}te.provides&&te.provides(Lr)})}([Xn,Qo,We,Xe,ke,{hooks:function(){return{mutationObserverCallbacks:function(R){return R.pseudoElementsCallback=Ao,R}}},provides:function(at){at.pseudoElements2svg=function(R){var te=R.node;kn.searchPseudoElements&&Ao(void 0===te?ee:te)}}},{mixout:function(){return{dom:{unwatch:function(){$o(),Ur=!0}}}},hooks:function(){return{bootstrap:function(){wo(vi("mutationObserverCallbacks",{}))},noAuto:function(){!function bs(){Ro&&Ro.disconnect()}()},watch:function(R){var te=R.observeMutationsRoot;Ur?Co():wo(vi("mutationObserverCallbacks",{observeMutationsRoot:te}))}}}},{mixout:function(){return{parse:{transform:function(R){return is(R)}}}},hooks:function(){return{parseNodeAttributes:function(R,te){var U=te.getAttribute("data-fa-transform");return U&&(R.transform=is(U)),R}}},provides:function(at){at.generateAbstractTransformGrouping=function(R){var te=R.main,U=R.transform,Le=R.iconWidth,ft={transform:"translate(".concat(R.containerWidth/2," 256)")},xt="translate(".concat(32*U.x,", ").concat(32*U.y,") "),rn="scale(".concat(U.size/16*(U.flipX?-1:1),", ").concat(U.size/16*(U.flipY?-1:1),") "),J="rotate(".concat(U.rotate," 0 0)"),Ue={outer:ft,inner:{transform:"".concat(xt," ").concat(rn," ").concat(J)},path:{transform:"translate(".concat(Le/2*-1," -256)")}};return{tag:"g",attributes:d({},Ue.outer),children:[{tag:"g",attributes:d({},Ue.inner),children:[{tag:te.icon.tag,children:te.icon.children,attributes:d(d({},te.icon.attributes),Ue.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(R,te){var U=te.getAttribute("data-fa-mask"),ce=U?Ln(U.split(" ").map(function(Le){return Le.trim()})):mn();return ce.prefix||(ce.prefix=fn()),R.mask=ce,R.maskId=te.getAttribute("data-fa-mask-id"),R}}},provides:function(at){at.generateAbstractMask=function(R){var Ye,te=R.children,U=R.attributes,ce=R.main,Le=R.mask,ft=R.maskId,J=ce.icon,Se=Le.icon,Ue=function br(Ye){var at=Ye.transform,te=Ye.iconWidth,U={transform:"translate(".concat(Ye.containerWidth/2," 256)")},ce="translate(".concat(32*at.x,", ").concat(32*at.y,") "),Le="scale(".concat(at.size/16*(at.flipX?-1:1),", ").concat(at.size/16*(at.flipY?-1:1),") "),ft="rotate(".concat(at.rotate," 0 0)");return{outer:U,inner:{transform:"".concat(ce," ").concat(Le," ").concat(ft)},path:{transform:"translate(".concat(te/2*-1," -256)")}}}({transform:R.transform,containerWidth:Le.width,iconWidth:ce.width}),_t={tag:"rect",attributes:d(d({},Xo),{},{fill:"white"})},$t=J.children?{children:J.children.map(xo)}:{},tn={tag:"g",attributes:d({},Ue.inner),children:[xo(d({tag:J.tag,attributes:d(d({},J.attributes),Ue.path)},$t))]},Dn={tag:"g",attributes:d({},Ue.outer),children:[tn]},gr="mask-".concat(ft||En()),yr="clip-".concat(ft||En()),$r={tag:"mask",attributes:d(d({},Xo),{},{id:gr,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[_t,Dn]},Cr={tag:"defs",children:[{tag:"clipPath",attributes:{id:yr},children:(Ye=Se,"g"===Ye.tag?Ye.children:[Ye])},$r]};return te.push(Cr,{tag:"rect",attributes:d({fill:"currentColor","clip-path":"url(#".concat(yr,")"),mask:"url(#".concat(gr,")")},Xo)}),{children:te,attributes:U}}}},{provides:function(at){var R=!1;$.matchMedia&&(R=$.matchMedia("(prefers-reduced-motion: reduce)").matches),at.missingIconAbstract=function(){var te=[],U={fill:"currentColor"},ce={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};te.push({tag:"path",attributes:d(d({},U),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var Le=d(d({},ce),{},{attributeName:"opacity"}),ft={tag:"circle",attributes:d(d({},U),{},{cx:"256",cy:"364",r:"28"}),children:[]};return R||ft.children.push({tag:"animate",attributes:d(d({},ce),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:d(d({},Le),{},{values:"1;0;1;1;0;1;"})}),te.push(ft),te.push({tag:"path",attributes:d(d({},U),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:R?[]:[{tag:"animate",attributes:d(d({},Le),{},{values:"1;0;0;0;0;1;"})}]}),R||te.push({tag:"path",attributes:d(d({},U),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:d(d({},Le),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:te}}}},{hooks:function(){return{parseNodeAttributes:function(R,te){var U=te.getAttribute("data-fa-symbol");return R.symbol=null!==U&&(""===U||U),R}}}}],{mixoutsTo:ti});var pe=ti.parse,yt=ti.icon,Nt=ti.text,Vt=ti.counter,gn=i(14476);const Wn=["*"],fr=Ye=>{const at={[`fa-${Ye.animation}`]:null!=Ye.animation&&!Ye.animation.startsWith("spin"),"fa-spin":"spin"===Ye.animation||"spin-reverse"===Ye.animation,"fa-spin-pulse":"spin-pulse"===Ye.animation||"spin-pulse-reverse"===Ye.animation,"fa-spin-reverse":"spin-reverse"===Ye.animation||"spin-pulse-reverse"===Ye.animation,"fa-pulse":"spin-pulse"===Ye.animation||"spin-pulse-reverse"===Ye.animation,"fa-fw":Ye.fixedWidth,"fa-border":Ye.border,"fa-inverse":Ye.inverse,"fa-layers-counter":Ye.counter,"fa-flip-horizontal":"horizontal"===Ye.flip||"both"===Ye.flip,"fa-flip-vertical":"vertical"===Ye.flip||"both"===Ye.flip,[`fa-${Ye.size}`]:null!==Ye.size,[`fa-rotate-${Ye.rotate}`]:null!==Ye.rotate,[`fa-pull-${Ye.pull}`]:null!==Ye.pull,[`fa-stack-${Ye.stackItemSize}`]:null!=Ye.stackItemSize};return Object.keys(at).map(R=>at[R]?R:null).filter(R=>R)};let mi=(()=>{class Ye{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(te){return new(te||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),Ai=(()=>{class Ye{constructor(){this.definitions={}}addIcons(...R){for(const te of R){te.prefix in this.definitions||(this.definitions[te.prefix]={}),this.definitions[te.prefix][te.iconName]=te;for(const U of te.icon[2])"string"==typeof U&&(this.definitions[te.prefix][U]=te)}}addIconPacks(...R){for(const te of R){const U=Object.keys(te).map(ce=>te[ce]);this.addIcons(...U)}}getIconDefinition(R,te){return R in this.definitions&&te in this.definitions[R]?this.definitions[R][te]:null}static#e=this.\u0275fac=function(te){return new(te||Ye)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ye,factory:Ye.\u0275fac,providedIn:"root"})}return Ye})(),ji=(()=>{class Ye{constructor(){this.stackItemSize="1x"}ngOnChanges(R){if("size"in R)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: ....')}static#e=this.\u0275fac=function(te){return new(te||Ye)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ye,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Ye})(),Ti=(()=>{class Ye{constructor(R,te){this.renderer=R,this.elementRef=te}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(te){return new(te||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:Wn,decls:1,vars:0,template:function(te,U){1&te&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Ye})(),Ji=(()=>{class Ye{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,te,U,ce,Le){this.sanitizer=R,this.config=te,this.iconLibrary=U,this.stackItem=ce,this.classes=[],null!=Le&&null==ce&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(R){if(null!=this.icon||null!=this.config.fallbackIcon){if(R){const U=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=U){const ce=this.buildParams();this.renderIcon(U,ce)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(R){const te=((Ye,at)=>(Ye=>void 0!==Ye.prefix&&void 0!==Ye.iconName)(Ye)?Ye:"string"==typeof Ye?{prefix:at,iconName:Ye}:{prefix:Ye[0],iconName:Ye[1]})(R,this.config.defaultPrefix);return"icon"in te?te:this.iconLibrary.getIconDefinition(te.prefix,te.iconName)??((Ye=>{throw new Error(`Could not find icon with iconName=${Ye.iconName} and prefix=${Ye.prefix} in the icon library.`)})(te),null)}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},te="string"==typeof this.transform?pe.transform(this.transform):this.transform;return{title:this.title,transform:te,classes:[...fr(R),...this.classes],mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}renderIcon(R,te){const U=yt(R,te);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(U.html.join("\n"))}static#e=this.\u0275fac=function(te){return new(te||Ye)(n.\u0275\u0275directiveInject(gn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(Ai),n.\u0275\u0275directiveInject(ji,8),n.\u0275\u0275directiveInject(Ti,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(te,U){2&te&&(n.\u0275\u0275hostProperty("innerHTML",U.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",U.title))},inputs:{icon:"icon",title:"title",animation:"animation",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",classes:"classes",transform:"transform",a11yRole:"a11yRole"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,U){},encapsulation:2})}return Ye})(),vn=(()=>{class Ye extends Ji{findIconDefinition(R){const te=super.findIconDefinition(R);if(null!=te&&!Array.isArray(te.icon[4]))throw new Error(`The specified icon does not appear to be a Duotone icon. Check that you specified the correct style: or use: instead.`);return te}buildParams(){const R=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&R.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(R.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(R.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(R.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(R.styles["--fa-secondary-color"]=this.secondaryColor),R}static#e=this.\u0275fac=(()=>{let R;return function(U){return(R||(R=n.\u0275\u0275getInheritedFactory(Ye)))(U||Ye)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-duotone-icon"]],inputs:{swapOpacity:"swapOpacity",primaryOpacity:"primaryOpacity",secondaryOpacity:"secondaryOpacity",primaryColor:"primaryColor",secondaryColor:"secondaryColor"},standalone:!0,features:[n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,U){},encapsulation:2})}return Ye})();const wr=(Ye,at,R)=>{if(!Ye)throw new Error(`${R} should be used as child of ${at} only.`)};let Qi=(()=>{class Ye{constructor(R,te,U){this.renderer=R,this.elementRef=te,this.config=U}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(R){"size"in R&&(null!=R.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${R.size.currentValue}`),null!=R.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${R.size.previousValue}`))}static#e=this.\u0275fac=function(te){return new(te||Ye)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(te,U){2&te&&n.\u0275\u0275classProp("fa-fw",U.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:Wn,decls:1,vars:0,template:function(te,U){1&te&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Ye})(),Pi=(()=>{class Ye{constructor(R,te){this.parent=R,this.sanitizer=te,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const te=this.buildParams();this.updateContent(te)}}buildParams(){const R=[];return null!=this.classes&&R.push(...this.classes),null!=this.position&&R.push(`fa-layers-${this.position}`),{title:this.title,classes:R,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Vt(this.content||"",R).html.join(""))}static#e=this.\u0275fac=function(te){return new(te||Ye)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(gn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(te,U){2&te&&n.\u0275\u0275hostProperty("innerHTML",U.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",position:"position"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,U){},encapsulation:2})}return Ye})(),ei=(()=>{class Ye{set spin(R){this.animation=R?"spin":void 0}set pulse(R){this.animation=R?"spin-pulse":void 0}constructor(R,te){this.parent=R,this.sanitizer=te,this.classes=[],wr(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(R){if(R){const te=this.buildParams();this.updateContent(te)}}buildParams(){const R={flip:this.flip,animation:this.animation,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:this.fixedWidth};return{transform:"string"==typeof this.transform?pe.transform(this.transform):this.transform,classes:[...fr(R),...this.classes],title:this.title,styles:this.styles}}updateContent(R){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Nt(this.content||"",R).html.join("\n"))}static#e=this.\u0275fac=function(te){return new(te||Ye)(n.\u0275\u0275directiveInject(Qi,8),n.\u0275\u0275directiveInject(gn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ye,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(te,U){2&te&&n.\u0275\u0275hostProperty("innerHTML",U.renderedHTML,n.\u0275\u0275sanitizeHtml)},inputs:{content:"content",title:"title",styles:"styles",classes:"classes",spin:"spin",pulse:"pulse",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],decls:0,vars:0,template:function(te,U){},encapsulation:2})}return Ye})(),oo=(()=>{class Ye{static#e=this.\u0275fac=function(te){return new(te||Ye)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ye});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Ye})()},10716:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{ActionSheetController:()=>Ai,AlertController:()=>vr,AngularDelegate:()=>vt,AnimationController:()=>mi,BooleanValueAccessor:()=>ut,Config:()=>ye,DomController:()=>Ut,GestureController:()=>ji,ION_MAX_VALIDATOR:()=>Gn,ION_MIN_VALIDATOR:()=>fr,IonAccordion:()=>ti,IonAccordionGroup:()=>Zr,IonActionSheet:()=>Xr,IonAlert:()=>Vi,IonApp:()=>hr,IonAvatar:()=>Yi,IonBackButton:()=>yt,IonBackButtonDelegate:()=>yt,IonBackdrop:()=>ko,IonBadge:()=>go,IonBreadcrumb:()=>Jr,IonBreadcrumbs:()=>zi,IonButton:()=>qi,IonButtons:()=>ro,IonCard:()=>Rr,IonCardContent:()=>mo,IonCardHeader:()=>_i,IonCardSubtitle:()=>xi,IonCardTitle:()=>qr,IonCheckbox:()=>ar,IonChip:()=>yo,IonCol:()=>wi,IonContent:()=>yi,IonDatetime:()=>Eo,IonDatetimeButton:()=>po,IonFab:()=>zr,IonFabButton:()=>bo,IonFabList:()=>Ni,IonFooter:()=>Gr,IonGrid:()=>Lo,IonHeader:()=>Oi,IonIcon:()=>Zi,IonImg:()=>Li,IonInfiniteScroll:()=>Gi,IonInfiniteScrollContent:()=>$o,IonInput:()=>Co,IonItem:()=>Ro,IonItemDivider:()=>wo,IonItemGroup:()=>bs,IonItemOption:()=>Go,IonItemOptions:()=>ns,IonItemSliding:()=>rs,IonLabel:()=>Ki,IonList:()=>uo,IonListHeader:()=>So,IonLoading:()=>cs,IonMaxValidator:()=>Wr,IonMenu:()=>co,IonMenuButton:()=>Fo,IonMenuToggle:()=>Do,IonMinValidator:()=>tr,IonModal:()=>gn,IonNav:()=>It,IonNavLink:()=>Ko,IonNote:()=>hs,IonPicker:()=>Qo,IonPopover:()=>Wn,IonProgressBar:()=>We,IonRadio:()=>Xe,IonRadioGroup:()=>ke,IonRange:()=>dt,IonRefresher:()=>wt,IonRefresherContent:()=>zn,IonReorder:()=>Bn,IonReorderGroup:()=>Wi,IonRippleEffect:()=>Mo,IonRouterOutlet:()=>Be,IonRow:()=>Ao,IonSearchbar:()=>ho,IonSegment:()=>Ur,IonSegmentButton:()=>Zo,IonSelect:()=>is,IonSelectOption:()=>Xi,IonSkeletonText:()=>Xo,IonSpinner:()=>xo,IonSplitPane:()=>_o,IonTabBar:()=>Di,IonTabButton:()=>To,IonTabs:()=>nt,IonText:()=>Cs,IonTextarea:()=>os,IonThumbnail:()=>io,IonTitle:()=>fs,IonToast:()=>rt,IonToggle:()=>ne,IonToolbar:()=>pe,IonicModule:()=>at,IonicRouteStrategy:()=>Er,IonicSafeString:()=>Pe.I,IonicSlides:()=>dn,LoadingController:()=>Ti,MenuController:()=>Ji,ModalController:()=>vn,NavController:()=>kt,NavParams:()=>Je,NumericValueAccessor:()=>lo,PickerController:()=>wr,Platform:()=>un,PopoverController:()=>Qi,RadioValueAccessor:()=>vi,RouterLinkDelegate:()=>Nt,RouterLinkWithHrefDelegate:()=>Vt,SelectValueAccessor:()=>_r,TextValueAccessor:()=>wn,ToastController:()=>Pi,createAnimation:()=>ur.c,createGesture:()=>ae.createGesture,getIonPageElement:()=>Ei.g,getPlatforms:()=>He.g,getTimeGivenProgression:()=>W.g,iosTransitionAnimation:()=>on.iosTransitionAnimation,isPlatform:()=>He.a,mdTransitionAnimation:()=>H.mdTransitionAnimation,openURL:()=>fe.o});var n=i(54496),o=i(44716),d=i(1528),a=i(56568),u=i(91368);class e{constructor(){this.m=new Map}reset(te){this.m=new Map(Object.entries(te))}get(te,U){const ce=this.m.get(te);return void 0!==ce?ce:U}getBoolean(te,U=!1){const ce=this.m.get(te);return void 0===ce?U:"string"==typeof ce?"true"===ce:!!ce}getNumber(te,U){const ce=parseFloat(this.m.get(te));return isNaN(ce)?void 0!==U?U:NaN:ce}set(te,U){this.m.set(te,U)}}const l=new e,p=R=>S(R),S=(R=window)=>{if(typeof R>"u")return[];R.Ionic=R.Ionic||{};let te=R.Ionic.platforms;return null==te&&(te=R.Ionic.platforms=v(R),te.forEach(U=>R.document.documentElement.classList.add(`plt-${U}`))),te},v=R=>{const te=l.get("platform");return Object.keys(Q).filter(U=>{const ce=te?.[U];return"function"==typeof ce?ce(R):Q[U](R)})},E=R=>!!(se(R,/iPad/i)||se(R,/Macintosh/i)&&I(R)),N=R=>se(R,/android|sink/i),I=R=>K(R,"(any-pointer:coarse)"),L=R=>B(R)||$(R),B=R=>!!(R.cordova||R.phonegap||R.PhoneGap),$=R=>{const te=R.Capacitor;return!!te?.isNative},se=(R,te)=>te.test(R.navigator.userAgent),K=(R,te)=>{var U;return null===(U=R.matchMedia)||void 0===U?void 0:U.call(R,te).matches},Q={ipad:E,iphone:R=>se(R,/iPhone/i),ios:R=>se(R,/iPhone|iPod/i)||E(R),android:N,phablet:R=>{const te=R.innerWidth,U=R.innerHeight,ce=Math.min(te,U),Le=Math.max(te,U);return ce>390&&ce<520&&Le>620&&Le<800},tablet:R=>{const te=R.innerWidth,U=R.innerHeight,ce=Math.min(te,U),Le=Math.max(te,U);return E(R)||(R=>N(R)&&!se(R,/mobile/i))(R)||ce>460&&ce<820&&Le>780&&Le<1400},cordova:B,capacitor:$,electron:R=>se(R,/electron/i),pwa:R=>{var te;return!!(null!==(te=R.matchMedia)&&void 0!==te&&te.call(R,"(display-mode: standalone)").matches||R.navigator.standalone)},mobile:I,mobileweb:R=>I(R)&&!L(R),desktop:R=>!I(R),hybrid:L};var Y=i(51896),q=i(19248),de=i(95657),me=i(70800),Oe=i(46700),Re=i(56040),Ae=i(82700),ge=i(81316),Ne=i(66684),it=i(17368),qe=i(528),et=i(95448),De=i(87773);function Ie(R,te){return R===te}const bt=["tabsInner"];class Qe{constructor(te){this.menuController=te}open(te){return this.menuController.open(te)}close(te){return this.menuController.close(te)}toggle(te){return this.menuController.toggle(te)}enable(te,U){return this.menuController.enable(te,U)}swipeGesture(te,U){return this.menuController.swipeGesture(te,U)}isOpen(te){return this.menuController.isOpen(te)}isEnabled(te){return this.menuController.isEnabled(te)}get(te){return this.menuController.get(te)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(te,U){return this.menuController.registerAnimation(te,U)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(te,U){return this.menuController._createAnimation(te,U)}_register(te){return this.menuController._register(te)}_unregister(te){return this.menuController._unregister(te)}_setOpen(te,U,ce){return this.menuController._setOpen(te,U,ce)}}let Ut=(()=>{class R{read(U){sn().read(U)}write(U){sn().write(U)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const sn=()=>{const R=typeof window<"u"?window:null;if(null!=R){const te=R.Ionic;return te?.queue?te.queue:{read:U=>R.requestAnimationFrame(U),write:U=>R.requestAnimationFrame(U)}}return{read:te=>te(),write:te=>te()}};let un=(()=>{class R{constructor(U,ce){this.doc=U,this.backButton=new de.E,this.keyboardDidShow=new de.E,this.keyboardDidHide=new de.E,this.pause=new de.E,this.resume=new de.E,this.resize=new de.E,ce.run(()=>{let Le;this.win=U.defaultView,this.backButton.subscribeWithPriority=function(ft,xt){return this.subscribe(rn=>rn.register(ft,J=>ce.run(()=>xt(J))))},bn(this.pause,U,"pause",ce),bn(this.resume,U,"resume",ce),bn(this.backButton,U,"ionBackButton",ce),bn(this.resize,this.win,"resize",ce),bn(this.keyboardDidShow,this.win,"ionKeyboardDidShow",ce),bn(this.keyboardDidHide,this.win,"ionKeyboardDidHide",ce),this._readyPromise=new Promise(ft=>{Le=ft}),this.win?.cordova?U.addEventListener("deviceready",()=>{Le("cordova")},{once:!0}):Le("dom")})}is(U){return((R,te)=>("string"==typeof R&&(te=R,R=void 0),p(R).includes(te)))(this.win,U)}platforms(){return p(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(U){return Sn(this.win.location.href,U)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(U){const ce=this.win.navigator;return!!(ce?.userAgent&&ce.userAgent.indexOf(U)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275inject(u.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const Sn=(R,te)=>{te=te.replace(/[[\]\\]/g,"\\$&");const ce=new RegExp("[\\?&]"+te+"=([^&#]*)").exec(R);return ce?decodeURIComponent(ce[1].replace(/\+/g," ")):null},bn=(R,te,U,ce)=>{te&&te.addEventListener(U,Le=>{ce.run(()=>{const ft=Le?.detail;R.next(ft)})})};let kt=(()=>{class R{constructor(U,ce,Le,ft){this.location=ce,this.serializer=Le,this.router=ft,this.direction=Fe,this.animated=Ee,this.guessDirection="forward",this.lastNavId=-1,ft&&ft.events.subscribe(xt=>{if(xt instanceof a.NavigationStart){const rn=xt.restoredState?xt.restoredState.navigationId:xt.id;this.guessDirection=rn{this.pop(),xt()})}navigateForward(U,ce={}){return this.setDirection("forward",ce.animated,ce.animationDirection,ce.animation),this.navigate(U,ce)}navigateBack(U,ce={}){return this.setDirection("back",ce.animated,ce.animationDirection,ce.animation),this.navigate(U,ce)}navigateRoot(U,ce={}){return this.setDirection("root",ce.animated,ce.animationDirection,ce.animation),this.navigate(U,ce)}back(U={animated:!0,animationDirection:"back"}){return this.setDirection("back",U.animated,U.animationDirection,U.animation),this.location.back()}pop(){var U=this;return(0,d.c)(function*(){let ce=U.topOutlet;for(;ce;){if(yield ce.pop())return!0;ce=ce.parentOutlet}return!1})()}setDirection(U,ce,Le,ft){this.direction=U,this.animated=jt(U,ce,Le),this.animationBuilder=ft}setTopOutlet(U){this.topOutlet=U}consumeTransition(){let ce,U="root";const Le=this.animationBuilder;return"auto"===this.direction?(U=this.guessDirection,ce=this.guessAnimation):(ce=this.animated,U=this.direction),this.direction=Fe,this.animated=Ee,this.animationBuilder=void 0,{direction:U,animation:ce,animationBuilder:Le}}navigate(U,ce){if(Array.isArray(U))return this.router.navigate(U,ce);{const Le=this.serializer.parse(U.toString());return void 0!==ce.queryParams&&(Le.queryParams={...ce.queryParams}),void 0!==ce.fragment&&(Le.fragment=ce.fragment),this.router.navigateByUrl(Le,ce)}}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275inject(un),n.\u0275\u0275inject(u.Location),n.\u0275\u0275inject(a.UrlSerializer),n.\u0275\u0275inject(a.Router,8))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const jt=(R,te,U)=>{if(!1!==te){if(void 0!==U)return U;if("forward"===R||"back"===R)return R;if("root"===R&&!0===te)return"forward"}},Fe="auto",Ee=void 0;let ye=(()=>{class R{get(U,ce){const Le=Ge();return Le?Le.get(U,ce):null}getBoolean(U,ce){const Le=Ge();return!!Le&&Le.getBoolean(U,ce)}getNumber(U,ce){const Le=Ge();return Le?Le.getNumber(U,ce):0}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const Ce=new n.InjectionToken("USERCONFIG"),Ge=()=>{if(typeof window<"u"){const R=window.Ionic;if(R?.config)return R.config}return null};class Je{constructor(te={}){this.data=te}get(te){return this.data[te]}}let vt=(()=>{class R{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(U,ce,Le){return new Bt(U,ce,this.applicationRef,this.zone,Le)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();class Bt{constructor(te,U,ce,Le,ft){this.environmentInjector=te,this.injector=U,this.applicationRef=ce,this.zone=Le,this.elementReferenceKey=ft,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(te,U,ce,Le){return this.zone.run(()=>new Promise(ft=>{const xt={...ce};void 0!==this.elementReferenceKey&&(xt[this.elementReferenceKey]=te),ft(Zt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,te,U,xt,Le,this.elementReferenceKey))}))}removeViewFromDom(te,U){return this.zone.run(()=>new Promise(ce=>{const Le=this.elRefMap.get(U);if(Le){Le.destroy(),this.elRefMap.delete(U);const ft=this.elEventsMap.get(U);ft&&(ft(),this.elEventsMap.delete(U))}ce()}))}}const Zt=(R,te,U,ce,Le,ft,xt,rn,J,ze,Se)=>{const Ue=n.Injector.create({providers:pn(J),parent:U}),_t=(0,n.createComponent)(rn,{environmentInjector:te,elementInjector:Ue}),$t=_t.instance,tn=_t.location.nativeElement;if(J&&(Se&&void 0!==$t[Se]&&console.error(`[Ionic Error]: ${Se} is a reserved property when using ${xt.tagName.toLowerCase()}. Rename or remove the "${Se}" property from ${rn.name}.`),Object.assign($t,J)),ze)for(const gr of ze)tn.classList.add(gr);const Dn=Dt(R,$t,tn);return xt.appendChild(tn),ce.attachView(_t.hostView),Le.set(tn,_t),ft.set(tn,Dn),tn},Rt=[Y.L,Y.a,Y.b,Y.c,Y.d],Dt=(R,te,U)=>R.run(()=>{const ce=Rt.filter(Le=>"function"==typeof te[Le]).map(Le=>{const ft=xt=>te[Le](xt.detail);return U.addEventListener(Le,ft),()=>U.removeEventListener(Le,ft)});return()=>ce.forEach(Le=>Le())}),Ot=new n.InjectionToken("NavParamsToken"),pn=R=>[{provide:Ot,useValue:R},{provide:Je,useFactory:Vn,deps:[Ot]}],Vn=R=>new Je(R),Yn=(R,te)=>{const U=R.prototype;te.forEach(ce=>{Object.defineProperty(U,ce,{get(){return this.el[ce]},set(Le){this.z.runOutsideAngular(()=>this.el[ce]=Le)}})})},er=(R,te)=>{const U=R.prototype;te.forEach(ce=>{U[ce]=function(){const Le=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,Le))}})},kn=(R,te,U)=>{U.forEach(ce=>R[ce]=(0,me.w)(te,ce))};function Mt(R){return function(U){const{defineCustomElementFn:ce,inputs:Le,methods:ft}=R;return void 0!==ce&&ce(),Le&&Yn(U,Le),ft&&er(U,ft),U}}const Gt=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],mt=["present","dismiss","onDidDismiss","onWillDismiss"];let Et=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,this.isCmpOpen=!1,this.el=ce.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,U.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,U.detectChanges()}),kn(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-popover"]],contentQueries:function(U,ce,Le){if(1&U&&n.\u0275\u0275contentQuery(Le,n.TemplateRef,5),2&U){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(ce.template=ft.first)}},inputs:{alignment:"alignment",animated:"animated",arrow:"arrow",keepContentsMounted:"keepContentsMounted",backdropDismiss:"backdropDismiss",cssClass:"cssClass",dismissOnSelect:"dismissOnSelect",enterAnimation:"enterAnimation",event:"event",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger",triggerAction:"triggerAction",reference:"reference",size:"size",side:"side"}}),R=(0,ge.__decorate)([Mt({inputs:Gt,methods:mt})],R),R})();const Xt=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],_n=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let En=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,this.isCmpOpen=!1,this.el=ce.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,U.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,U.detectChanges()}),kn(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-modal"]],contentQueries:function(U,ce,Le){if(1&U&&n.\u0275\u0275contentQuery(Le,n.TemplateRef,5),2&U){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(ce.template=ft.first)}},inputs:{animated:"animated",keepContentsMounted:"keepContentsMounted",backdropBreakpoint:"backdropBreakpoint",backdropDismiss:"backdropDismiss",breakpoints:"breakpoints",canDismiss:"canDismiss",cssClass:"cssClass",enterAnimation:"enterAnimation",event:"event",handle:"handle",handleBehavior:"handleBehavior",initialBreakpoint:"initialBreakpoint",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",presentingElement:"presentingElement",showBackdrop:"showBackdrop",translucent:"translucent",trigger:"trigger"}}),R=(0,ge.__decorate)([Mt({inputs:Xt,methods:_n})],R),R})();const nr=(R,te)=>((R=R.filter(U=>U.stackId!==te.stackId)).push(te),R),sr=(R,te)=>{const U=R.createUrlTree(["."],{relativeTo:te});return R.serializeUrl(U)},Mr=(R,te)=>!te||R.stackId!==te.stackId,br=(R,te)=>{if(!R)return;const U=Jn(te);for(let ce=0;ce=R.length)return U[ce];if(U[ce]!==R[ce])return}},Jn=R=>R.split("/").map(te=>te.trim()).filter(te=>""!==te),xn=R=>{R&&(R.ref.destroy(),R.unlistenEvents())};class oi{constructor(te,U,ce,Le,ft,xt){this.containerEl=U,this.router=ce,this.navCtrl=Le,this.zone=ft,this.location=xt,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==te?Jn(te):void 0}createView(te,U){const ce=sr(this.router,U),Le=te?.location?.nativeElement,ft=Dt(this.zone,te.instance,Le);return{id:this.nextId++,stackId:br(this.tabsPrefix,ce),unlistenEvents:ft,element:Le,ref:te,url:ce}}getExistingView(te){const U=sr(this.router,te),ce=this.views.find(Le=>Le.url===U);return ce&&ce.ref.changeDetectorRef.reattach(),ce}setActive(te){const U=this.navCtrl.consumeTransition();let{direction:ce,animation:Le,animationBuilder:ft}=U;const xt=this.activeView,rn=Mr(te,xt);rn&&(ce="back",Le=void 0);const J=this.views.slice();let ze;const Se=this.router;Se.getCurrentNavigation?ze=Se.getCurrentNavigation():Se.navigations?.value&&(ze=Se.navigations.value),ze?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const Ue=this.views.includes(te),_t=this.insertView(te,ce);Ue||te.ref.changeDetectorRef.detectChanges();const $t=te.animationBuilder;return void 0===ft&&"back"===ce&&!rn&&void 0!==$t&&(ft=$t),xt&&(xt.animationBuilder=ft),this.zone.runOutsideAngular(()=>this.wait(()=>(xt&&xt.ref.changeDetectorRef.detach(),te.ref.changeDetectorRef.reattach(),this.transition(te,xt,Le,this.canGoBack(1),!1,ft).then(()=>Sr(te,_t,J,this.location,this.zone)).then(()=>({enteringView:te,direction:ce,animation:Le,tabSwitch:rn})))))}canGoBack(te,U=this.getActiveStackId()){return this.getStack(U).length>te}pop(te,U=this.getActiveStackId()){return this.zone.run(()=>{const ce=this.getStack(U);if(ce.length<=te)return Promise.resolve(!1);const Le=ce[ce.length-te-1];let ft=Le.url;const xt=Le.savedData;if(xt){const J=xt.get("primary");J?.route?._routerState?.snapshot.url&&(ft=J.route._routerState.snapshot.url)}const{animationBuilder:rn}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(ft,{...Le.savedExtras,animation:rn}).then(()=>!0)})}startBackTransition(){const te=this.activeView;if(te){const U=this.getStack(te.stackId),ce=U[U.length-2],Le=ce.animationBuilder;return this.wait(()=>this.transition(ce,te,"back",this.canGoBack(2),!0,Le))}return Promise.resolve()}endBackTransition(te){te?(this.skipTransition=!0,this.pop(1)):this.activeView&&pr(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(te){const U=this.getStack(te);return U.length>0?U[U.length-1]:void 0}getRootUrl(te){const U=this.getStack(te);return U.length>0?U[0]:void 0}getActiveStackId(){return this.activeView?this.activeView.stackId:void 0}getActiveView(){return this.activeView}hasRunningTask(){return void 0!==this.runningTask}destroy(){this.containerEl=void 0,this.views.forEach(xn),this.activeView=void 0,this.views=[]}getStack(te){return this.views.filter(U=>U.stackId===te)}insertView(te,U){return this.activeView=te,this.views=((R,te,U)=>"root"===U?nr(R,te):"forward"===U?((R,te)=>(R.indexOf(te)>=0?R=R.filter(ce=>ce.stackId!==te.stackId||ce.id<=te.id):R.push(te),R))(R,te):((R,te)=>R.indexOf(te)>=0?R.filter(ce=>ce.stackId!==te.stackId||ce.id<=te.id):nr(R,te))(R,te))(this.views,te,U),this.views.slice()}transition(te,U,ce,Le,ft,xt){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(U===te)return Promise.resolve(!1);const rn=te?te.element:void 0,J=U?U.element:void 0,ze=this.containerEl;return rn&&rn!==J&&(rn.classList.add("ion-page"),rn.classList.add("ion-page-invisible"),rn.parentElement!==ze&&ze.appendChild(rn),ze.commit)?ze.commit(rn,J,{duration:void 0===ce?0:void 0,direction:ce,showGoBack:Le,progressAnimation:ft,animationBuilder:xt}):Promise.resolve(!1)}wait(te){var U=this;return(0,d.c)(function*(){void 0!==U.runningTask&&(yield U.runningTask,U.runningTask=void 0);const ce=U.runningTask=te();return ce.finally(()=>U.runningTask=void 0),ce})()}}const Sr=(R,te,U,ce,Le)=>"function"==typeof requestAnimationFrame?new Promise(ft=>{requestAnimationFrame(()=>{pr(R,te,U,ce,Le),ft()})}):Promise.resolve(),pr=(R,te,U,ce,Le)=>{Le.run(()=>U.filter(ft=>!te.includes(ft)).forEach(xn)),te.forEach(ft=>{const rn=ce.path().split("?")[0].split("#")[0];if(ft!==R&&ft.url!==rn){const J=ft.element;J.setAttribute("aria-hidden","true"),J.classList.add("ion-page-hidden"),ft.ref.changeDetectorRef.detach()}})};let Xn=(()=>{class R{constructor(U,ce,Le,ft,xt,rn,J,ze){this.parentOutlet=ze,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Oe.g(null),this.activated=null,this._activatedRoute=null,this.name=a.PRIMARY_OUTLET,this.stackWillChange=new n.EventEmitter,this.stackDidChange=new n.EventEmitter,this.activateEvents=new n.EventEmitter,this.deactivateEvents=new n.EventEmitter,this.parentContexts=(0,n.inject)(a.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(Or,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(ye),this.navCtrl=(0,n.inject)(kt),this.nativeEl=ft.nativeElement,this.name=U||a.PRIMARY_OUTLET,this.tabsPrefix="true"===ce?sr(xt,J):void 0,this.stackCtrl=new oi(this.tabsPrefix,this.nativeEl,xt,this.navCtrl,rn,Le),this.parentContexts.onChildOutletCreated(this.name,this)}get activatedComponentRef(){return this.activated}set animation(U){this.nativeEl.animation=U}set animated(U){this.nativeEl.animated=U}set swipeGesture(U){this._swipeGesture=U,this.nativeEl.swipeHandler=U?{canStart:()=>this.stackCtrl.canGoBack(1)&&!this.stackCtrl.hasRunningTask(),onStart:()=>this.stackCtrl.startBackTransition(),onEnd:ce=>this.stackCtrl.endBackTransition(ce)}:void 0}ngOnDestroy(){this.stackCtrl.destroy(),this.inputBinder?.unsubscribeFromRouteData(this)}getContext(){return this.parentContexts.getContext(this.name)}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(!this.activated){const U=this.getContext();U?.route&&this.activateWith(U.route,U.injector)}new Promise(U=>(0,q.c)(this.nativeEl,U)).then(()=>{void 0===this._swipeGesture&&(this.swipeGesture=this.config.getBoolean("swipeBackEnabled","ios"===this.nativeEl.mode))})}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){throw new Error("incompatible reuse strategy")}attach(U,ce){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const ce=this.getContext();this.activatedView.savedData=new Map(ce.children.contexts);const Le=this.activatedView.savedData.get("primary");if(Le&&ce.route&&(Le.route={...ce.route}),this.activatedView.savedExtras={},ce.route){const ft=ce.route.snapshot;this.activatedView.savedExtras.queryParams=ft.queryParams,this.activatedView.savedExtras.fragment=ft.fragment}}const U=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(U)}}activateWith(U,ce){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=U;let Le,ft=this.stackCtrl.getExistingView(U);if(ft){Le=this.activated=ft.ref;const rn=ft.savedData;rn&&(this.getContext().children.contexts=rn),this.updateActivatedRouteProxy(Le.instance,U)}else{const rn=U._futureSnapshot,J=this.parentContexts.getOrCreateContext(this.name).children,ze=new Oe.g(null),Se=this.createActivatedRouteProxy(ze,U),Ue=new qn(Se,J,this.location.injector);Le=this.activated=this.location.createComponent(rn.routeConfig.component??rn.component,{index:this.location.length,injector:Ue,environmentInjector:ce??this.environmentInjector}),ze.next(Le.instance),ft=this.stackCtrl.createView(this.activated,U),this.proxyMap.set(Le.instance,Se),this.currentActivatedRoute$.next({component:Le.instance,activatedRoute:U})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=ft,this.navCtrl.setTopOutlet(this);const xt=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:ft,tabSwitch:Mr(ft,xt)}),this.stackCtrl.setActive(ft).then(rn=>{this.activateEvents.emit(Le.instance),this.stackDidChange.emit(rn)})}canGoBack(U=1,ce){return this.stackCtrl.canGoBack(U,ce)}pop(U=1,ce){return this.stackCtrl.pop(U,ce)}getLastUrl(U){const ce=this.stackCtrl.getLastUrl(U);return ce?ce.url:void 0}getLastRouteView(U){return this.stackCtrl.getLastUrl(U)}getRootView(U){return this.stackCtrl.getRootUrl(U)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(U,ce){const Le=new a.ActivatedRoute;return Le._futureSnapshot=ce._futureSnapshot,Le._routerState=ce._routerState,Le.snapshot=ce.snapshot,Le.outlet=ce.outlet,Le.component=ce.component,Le._paramMap=this.proxyObservable(U,"paramMap"),Le._queryParamMap=this.proxyObservable(U,"queryParamMap"),Le.url=this.proxyObservable(U,"url"),Le.params=this.proxyObservable(U,"params"),Le.queryParams=this.proxyObservable(U,"queryParams"),Le.fragment=this.proxyObservable(U,"fragment"),Le.data=this.proxyObservable(U,"data"),Le}proxyObservable(U,ce){return U.pipe((0,Ne.I)(Le=>!!Le),(0,it.G)(Le=>this.currentActivatedRoute$.pipe((0,Ne.I)(ft=>null!==ft&&ft.component===Le),(0,it.G)(ft=>ft&&ft.activatedRoute[ce]),function je(R,te=qe.Z){return R=R??Ie,(0,et.i)((U,ce)=>{let Le,ft=!0;U.subscribe((0,De.e)(ce,xt=>{const rn=te(xt);(ft||!R(Le,rn))&&(ft=!1,Le=rn,ce.next(xt))}))})}())))}updateActivatedRouteProxy(U,ce){const Le=this.proxyMap.get(U);if(!Le)throw new Error("Could not find activated route proxy for view");Le._futureSnapshot=ce._futureSnapshot,Le._routerState=ce._routerState,Le.snapshot=ce.snapshot,Le.outlet=ce.outlet,Le.component=ce.component,this.currentActivatedRoute$.next({component:U,activatedRoute:ce})}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(u.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],inputs:{animated:"animated",animation:"animation",mode:"mode",swipeGesture:"swipeGesture",name:"name"},outputs:{stackWillChange:"stackWillChange",stackDidChange:"stackDidChange",activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),R})();class qn{constructor(te,U,ce){this.route=te,this.childContexts=U,this.parent=ce}get(te,U){return te===a.ActivatedRoute?this.route:te===a.ChildrenOutletContexts?this.childContexts:this.parent.get(te,U)}}const Or=new n.InjectionToken("");let pi=(()=>{class R{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(U){this.unsubscribeFromRouteData(U),this.subscribeToRouteData(U)}unsubscribeFromRouteData(U){this.outletDataSubscriptions.get(U)?.unsubscribe(),this.outletDataSubscriptions.delete(U)}subscribeToRouteData(U){const{activatedRoute:ce}=U,Le=(0,Re.E)([ce.queryParams,ce.params,ce.data]).pipe((0,it.G)(([ft,xt,rn],J)=>(rn={...ft,...xt,...rn},0===J?(0,Ae.of)(rn):Promise.resolve(rn)))).subscribe(ft=>{if(!U.isActivated||!U.activatedComponentRef||U.activatedRoute!==ce||null===ce.component)return void this.unsubscribeFromRouteData(U);const xt=(0,n.reflectComponentType)(ce.component);if(xt)for(const{templateName:rn}of xt.inputs)U.activatedComponentRef.setInput(rn,ft[rn]);else this.unsubscribeFromRouteData(U)});this.outletDataSubscriptions.set(U,Le)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})();function Rn(R){return R?.componentInputBindingEnabled?new pi:null}const Kn=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let or=(()=>{let R=class{constructor(U,ce,Le,ft,xt,rn){this.routerOutlet=U,this.navCtrl=ce,this.config=Le,this.r=ft,this.z=xt,rn.detach(),this.el=this.r.nativeElement}onClick(U){const ce=this.defaultHref||this.config.get("backButtonDefaultHref");this.routerOutlet?.canGoBack()?(this.navCtrl.setDirection("back",void 0,void 0,this.routerAnimation),this.routerOutlet.pop(),U.preventDefault()):null!=ce&&(this.navCtrl.navigateBack(ce,{animation:this.routerAnimation}),U.preventDefault())}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(Xn,8),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(ye),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("click",function(ft){return ce.onClick(ft)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),R=(0,ge.__decorate)([Mt({inputs:Kn})],R),R})(),ui=(()=>{class R{constructor(U,ce,Le,ft,xt){this.locationStrategy=U,this.navCtrl=ce,this.elementRef=Le,this.router=ft,this.routerLink=xt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const U=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=U}}onClick(U){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation),U.preventDefault()}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(u.LocationStrategy),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("click",function(ft){return ce.onClick(ft)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})(),Ir=(()=>{class R{constructor(U,ce,Le,ft,xt){this.locationStrategy=U,this.navCtrl=ce,this.elementRef=Le,this.router=ft,this.routerLink=xt,this.routerDirection="forward"}ngOnInit(){this.updateTargetUrlAndHref()}ngOnChanges(){this.updateTargetUrlAndHref()}updateTargetUrlAndHref(){if(this.routerLink?.urlTree){const U=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.routerLink.urlTree));this.elementRef.nativeElement.href=U}}onClick(){this.navCtrl.setDirection(this.routerDirection,void 0,void 0,this.routerAnimation)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(u.LocationStrategy),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(a.RouterLink,8))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("click",function(){return ce.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),R})();const ct=["animated","animation","root","rootParams","swipeGesture"],Tt=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let St=(()=>{let R=class{constructor(U,ce,Le,ft,xt,rn){this.z=xt,rn.detach(),this.el=U.nativeElement,U.nativeElement.delegate=ft.create(ce,Le),kn(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(vt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),R=(0,ge.__decorate)([Mt({inputs:ct,methods:Tt})],R),R})(),Jt=(()=>{class R{constructor(U){this.navCtrl=U,this.ionTabsWillChange=new n.EventEmitter,this.ionTabsDidChange=new n.EventEmitter,this.tabBarSlot="bottom"}ngAfterContentInit(){this.detectSlotChanges()}ngAfterContentChecked(){this.detectSlotChanges()}onStackWillChange({enteringView:U,tabSwitch:ce}){const Le=U.stackId;ce&&void 0!==Le&&this.ionTabsWillChange.emit({tab:Le})}onStackDidChange({enteringView:U,tabSwitch:ce}){const Le=U.stackId;ce&&void 0!==Le&&(this.tabBar&&(this.tabBar.selectedTab=Le),this.ionTabsDidChange.emit({tab:Le}))}select(U){const ce="string"==typeof U,Le=ce?U:U.detail.tab,ft=this.outlet.getActiveStackId()===Le,xt=`${this.outlet.tabsPrefix}/${Le}`;if(ce||U.stopPropagation(),ft){const rn=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(rn)?.url===xt)return;const ze=this.outlet.getRootView(Le);return this.navCtrl.navigateRoot(xt,{...ze&&xt===ze.url&&ze.savedExtras,animated:!0,animationDirection:"back"})}{const rn=this.outlet.getLastRouteView(Le),J=rn?.url||xt,ze=rn?.savedExtras;return this.navCtrl.navigateRoot(J,{...ze,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(U=>{const ce=U.el.getAttribute("slot");ce!==this.tabBarSlot&&(this.tabBarSlot=ce,this.relocateTabBar())})}relocateTabBar(){const U=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(U):this.tabsInner.nativeElement.after(U)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(kt))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-tabs"]],viewQuery:function(U,ce){if(1&U&&n.\u0275\u0275viewQuery(bt,7,n.ElementRef),2&U){let Le;n.\u0275\u0275queryRefresh(Le=n.\u0275\u0275loadQuery())&&(ce.tabsInner=Le.first)}},hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionTabButtonClick",function(ft){return ce.select(ft)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),R})();const an=R=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(R):"function"==typeof requestAnimationFrame?requestAnimationFrame(R):setTimeout(R);let Cn=(()=>{class R{constructor(U,ce){this.injector=U,this.elementRef=ce,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(U){this.elementRef.nativeElement.value=this.lastValue=U,yn(this.elementRef)}handleValueChange(U,ce){U===this.elementRef.nativeElement&&(ce!==this.lastValue&&(this.lastValue=ce,this.onChange(ce)),yn(this.elementRef))}_handleBlurEvent(U){U===this.elementRef.nativeElement&&(this.onTouched(),yn(this.elementRef))}registerOnChange(U){this.onChange=U}registerOnTouched(U){this.onTouched=U}setDisabledState(U){this.elementRef.nativeElement.disabled=U}ngOnDestroy(){this.statusChanges&&this.statusChanges.unsubscribe()}ngAfterViewInit(){let U;try{U=this.injector.get(o.NgControl)}catch{}if(!U)return;U.statusChanges&&(this.statusChanges=U.statusChanges.subscribe(()=>yn(this.elementRef)));const ce=U.control;ce&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(ft=>{if(typeof ce[ft]<"u"){const xt=ce[ft].bind(ce);ce[ft]=(...rn)=>{xt(...rn),yn(this.elementRef)}}})}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionBlur",function(ft){return ce._handleBlurEvent(ft.target)})}}),R})();const yn=R=>{an(()=>{const te=R.nativeElement,U=null!=te.value&&te.value.toString().length>0,ce=Qn(te);Un(te,ce);const Le=te.closest("ion-item");Le&&Un(Le,U?[...ce,"item-has-value"]:ce)})},Qn=R=>{const te=R.classList,U=[];for(let ce=0;ce{const U=R.classList;U.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),U.add(...te)},Tr=(R,te)=>R.substring(0,te.length)===te;class Er{shouldDetach(te){return!1}shouldAttach(te){return!1}store(te,U){}retrieve(te){return null}shouldReuseRoute(te,U){if(te.routeConfig!==U.routeConfig)return!1;const ce=te.params,Le=U.params,ft=Object.keys(ce),xt=Object.keys(Le);if(ft.length!==xt.length)return!1;for(const rn of ft)if(Le[rn]!==ce[rn])return!1;return!0}}class Hn{constructor(te){this.ctrl=te}create(te){return this.ctrl.create(te||{})}dismiss(te,U,ce){return this.ctrl.dismiss(te,U,ce)}getTop(){return this.ctrl.getTop()}}var ur=i(30388),Ei=i(76256),on=i(68512),H=i(96556),W=i(86944),ae=i(62528),He=i(88523),Pe=i(59637),fe=i(45256),Te=i(43452),ot=i(63816),Ct=(i(14829),i(62992));i(66560),i(72784);const dn=R=>{const{swiper:te,extendParams:U}=R,ce={effect:void 0,direction:"horizontal",initialSlide:0,loop:!1,parallax:!1,slidesPerView:1,spaceBetween:0,speed:300,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,touchEventsTarget:"container",freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,zoom:{maxRatio:3,minRatio:1,toggle:!1},touchRatio:1,touchAngle:45,simulateTouch:!0,touchStartPreventDefault:!1,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loopAdditionalSlides:0,noSwiping:!0,runCallbacksOnInit:!0,coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flipEffect:{slideShadows:!0,limitRotation:!0},cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fadeEffect:{crossFade:!1},a11y:{prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide"}};te.pagination&&(ce.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),te.scrollbar&&(ce.scrollbar={hide:!0}),U(ce)},mn=He.i,ln=function(){var R=(0,d.c)(function*(te,U){if(!(typeof window>"u"))return yield mn(),(0,Ct.b)(JSON.parse('[["ion-menu_3",[[33,"ion-menu-button",{"color":[513],"disabled":[4],"menu":[1],"autoHide":[4,"auto-hide"],"type":[1],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]],[33,"ion-menu",{"contentId":[513,"content-id"],"menuId":[513,"menu-id"],"type":[1025],"disabled":[1028],"side":[513],"swipeGesture":[4,"swipe-gesture"],"maxEdgeStart":[2,"max-edge-start"],"isPaneVisible":[32],"isEndSide":[32],"isOpen":[64],"isActive":[64],"open":[64],"close":[64],"toggle":[64],"setOpen":[64]},[[16,"ionSplitPaneVisible","onSplitPaneChanged"],[2,"click","onBackdropClick"]],{"type":["typeChanged"],"disabled":["disabledChanged"],"side":["sideChanged"],"swipeGesture":["swipeGestureChanged"]}],[1,"ion-menu-toggle",{"menu":[1],"autoHide":[4,"auto-hide"],"visible":[32]},[[16,"ionMenuChange","visibilityChanged"],[16,"ionSplitPaneVisible","visibilityChanged"]]]]],["ion-fab_3",[[33,"ion-fab-button",{"color":[513],"activated":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1],"show":[4],"translucent":[4],"type":[1],"size":[1],"closeIcon":[1,"close-icon"]}],[1,"ion-fab",{"horizontal":[1],"vertical":[1],"edge":[4],"activated":[1028],"close":[64],"toggle":[64]},null,{"activated":["activatedChanged"]}],[1,"ion-fab-list",{"activated":[4],"side":[1]},null,{"activated":["activatedChanged"]}]]],["ion-refresher_2",[[0,"ion-refresher-content",{"pullingIcon":[1025,"pulling-icon"],"pullingText":[1,"pulling-text"],"refreshingSpinner":[1025,"refreshing-spinner"],"refreshingText":[1,"refreshing-text"]}],[32,"ion-refresher",{"pullMin":[2,"pull-min"],"pullMax":[2,"pull-max"],"closeDuration":[1,"close-duration"],"snapbackDuration":[1,"snapback-duration"],"pullFactor":[2,"pull-factor"],"disabled":[4],"nativeRefresher":[32],"state":[32],"complete":[64],"cancel":[64],"getProgress":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-back-button",[[33,"ion-back-button",{"color":[513],"defaultHref":[1025,"default-href"],"disabled":[516],"icon":[1],"text":[1],"type":[1],"routerAnimation":[16]}]]],["ion-toast",[[33,"ion-toast",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"color":[513],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"duration":[2],"header":[1],"layout":[1],"message":[1],"keyboardClose":[4,"keyboard-close"],"position":[1],"positionAnchor":[1,"position-anchor"],"buttons":[16],"translucent":[4],"animated":[4],"icon":[1],"htmlAttributes":[16],"swipeGesture":[1,"swipe-gesture"],"isOpen":[4,"is-open"],"trigger":[1],"revealContentToScreenReader":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"swipeGesture":["swipeGestureChanged"],"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-card_5",[[33,"ion-card",{"color":[513],"button":[4],"type":[1],"disabled":[4],"download":[1],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}],[32,"ion-card-content"],[33,"ion-card-header",{"color":[513],"translucent":[4]}],[33,"ion-card-subtitle",{"color":[513]}],[33,"ion-card-title",{"color":[513]}]]],["ion-item-option_3",[[33,"ion-item-option",{"color":[513],"disabled":[4],"download":[1],"expandable":[4],"href":[1],"rel":[1],"target":[1],"type":[1]}],[32,"ion-item-options",{"side":[1],"fireSwipeEvent":[64]}],[0,"ion-item-sliding",{"disabled":[4],"state":[32],"getOpenAmount":[64],"getSlidingRatio":[64],"open":[64],"close":[64],"closeOpened":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-accordion_2",[[49,"ion-accordion",{"value":[1],"disabled":[4],"readonly":[4],"toggleIcon":[1,"toggle-icon"],"toggleIconSlot":[1,"toggle-icon-slot"],"state":[32],"isNext":[32],"isPrevious":[32]},null,{"value":["valueChanged"]}],[33,"ion-accordion-group",{"animated":[4],"multiple":[4],"value":[1025],"disabled":[4],"readonly":[4],"expand":[1],"requestAccordionToggle":[64],"getAccordions":[64]},[[0,"keydown","onKeydown"]],{"value":["valueChanged"],"disabled":["disabledChanged"],"readonly":["readonlyChanged"]}]]],["ion-infinite-scroll_2",[[32,"ion-infinite-scroll-content",{"loadingSpinner":[1025,"loading-spinner"],"loadingText":[1,"loading-text"]}],[0,"ion-infinite-scroll",{"threshold":[1],"disabled":[4],"position":[1],"isLoading":[32],"complete":[64]},null,{"threshold":["thresholdChanged"],"disabled":["disabledChanged"]}]]],["ion-reorder_2",[[33,"ion-reorder",null,[[2,"click","onClick"]]],[0,"ion-reorder-group",{"disabled":[4],"state":[32],"complete":[64]},null,{"disabled":["disabledChanged"]}]]],["ion-segment_2",[[33,"ion-segment-button",{"disabled":[1028],"layout":[1],"type":[1],"value":[8],"checked":[32],"setFocus":[64]},null,{"value":["valueChanged"]}],[33,"ion-segment",{"color":[513],"disabled":[4],"scrollable":[4],"swipeGesture":[4,"swipe-gesture"],"value":[1032],"selectOnFocus":[4,"select-on-focus"],"activated":[32]},[[0,"keydown","onKeyDown"]],{"color":["colorChanged"],"swipeGesture":["swipeGestureChanged"],"value":["valueChanged"],"disabled":["disabledChanged"]}]]],["ion-tab-bar_2",[[33,"ion-tab-button",{"disabled":[4],"download":[1],"href":[1],"rel":[1],"layout":[1025],"selected":[1028],"tab":[1],"target":[1]},[[8,"ionTabBarChanged","onTabBarChanged"]]],[33,"ion-tab-bar",{"color":[513],"selectedTab":[1,"selected-tab"],"translucent":[4],"keyboardVisible":[32]},null,{"selectedTab":["selectedTabChanged"]}]]],["ion-chip",[[33,"ion-chip",{"color":[513],"outline":[4],"disabled":[4]}]]],["ion-datetime-button",[[33,"ion-datetime-button",{"color":[513],"disabled":[516],"datetime":[1],"datetimePresentation":[32],"dateText":[32],"timeText":[32],"datetimeActive":[32],"selectedButton":[32]}]]],["ion-input",[[38,"ion-input",{"color":[513],"accept":[1],"autocapitalize":[1],"autocomplete":[1],"autocorrect":[1],"autofocus":[4],"clearInput":[4,"clear-input"],"clearOnEdit":[4,"clear-on-edit"],"counter":[4],"counterFormatter":[16],"debounce":[2],"disabled":[4],"enterkeyhint":[1],"errorText":[1,"error-text"],"fill":[1],"inputmode":[1],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"max":[8],"maxlength":[2],"min":[8],"minlength":[2],"multiple":[4],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"spellcheck":[4],"step":[1],"size":[2],"type":[1],"value":[1032],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"placeholder":["placeholderChanged"],"value":["valueChanged"]}]]],["ion-searchbar",[[34,"ion-searchbar",{"color":[513],"animated":[4],"autocomplete":[1],"autocorrect":[1],"cancelButtonIcon":[1,"cancel-button-icon"],"cancelButtonText":[1,"cancel-button-text"],"clearIcon":[1,"clear-icon"],"debounce":[2],"disabled":[4],"inputmode":[1],"enterkeyhint":[1],"name":[1],"placeholder":[1],"searchIcon":[1,"search-icon"],"showCancelButton":[1,"show-cancel-button"],"showClearButton":[1,"show-clear-button"],"spellcheck":[4],"type":[1],"value":[1025],"focused":[32],"noAnimate":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"],"showCancelButton":["showCancelButtonChanged"]}]]],["ion-toggle",[[33,"ion-toggle",{"color":[513],"name":[1],"checked":[1028],"disabled":[4],"value":[1],"enableOnOffLabels":[4,"enable-on-off-labels"],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"activated":[32]},null,{"disabled":["disabledChanged"]}]]],["ion-nav_2",[[1,"ion-nav",{"delegate":[16],"swipeGesture":[1028,"swipe-gesture"],"animated":[4],"animation":[16],"rootParams":[16],"root":[1],"push":[64],"insert":[64],"insertPages":[64],"pop":[64],"popTo":[64],"popToRoot":[64],"removeIndex":[64],"setRoot":[64],"setPages":[64],"setRouteId":[64],"getRouteId":[64],"getActive":[64],"getByIndex":[64],"canGoBack":[64],"getPrevious":[64]},null,{"swipeGesture":["swipeGestureChanged"],"root":["rootChanged"]}],[0,"ion-nav-link",{"component":[1],"componentProps":[16],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}]]],["ion-textarea",[[38,"ion-textarea",{"color":[513],"autocapitalize":[1],"autofocus":[4],"clearOnEdit":[4,"clear-on-edit"],"debounce":[2],"disabled":[4],"fill":[1],"inputmode":[1],"enterkeyhint":[1],"maxlength":[2],"minlength":[2],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"spellcheck":[4],"cols":[514],"rows":[2],"wrap":[1],"autoGrow":[516,"auto-grow"],"value":[1025],"counter":[4],"counterFormatter":[16],"errorText":[1,"error-text"],"helperText":[1,"helper-text"],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"shape":[1],"hasFocus":[32],"setFocus":[64],"getInputElement":[64]},null,{"debounce":["debounceChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-backdrop",[[33,"ion-backdrop",{"visible":[4],"tappable":[4],"stopPropagation":[4,"stop-propagation"]},[[2,"click","onMouseDown"]]]]],["ion-loading",[[34,"ion-loading",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"message":[1],"cssClass":[1,"css-class"],"duration":[2],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"spinner":[1025],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-breadcrumb_2",[[33,"ion-breadcrumb",{"collapsed":[4],"last":[4],"showCollapsedIndicator":[4,"show-collapsed-indicator"],"color":[1],"active":[4],"disabled":[4],"download":[1],"href":[1],"rel":[1],"separator":[4],"target":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16]}],[33,"ion-breadcrumbs",{"color":[513],"maxItems":[2,"max-items"],"itemsBeforeCollapse":[2,"items-before-collapse"],"itemsAfterCollapse":[2,"items-after-collapse"],"collapsed":[32],"activeChanged":[32]},[[0,"collapsedClick","onCollapsedClick"]],{"maxItems":["maxItemsChanged"],"itemsBeforeCollapse":["maxItemsChanged"],"itemsAfterCollapse":["maxItemsChanged"]}]]],["ion-modal",[[33,"ion-modal",{"hasController":[4,"has-controller"],"overlayIndex":[2,"overlay-index"],"delegate":[16],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"breakpoints":[16],"initialBreakpoint":[2,"initial-breakpoint"],"backdropBreakpoint":[2,"backdrop-breakpoint"],"handle":[4],"handleBehavior":[1,"handle-behavior"],"component":[1],"componentProps":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"showBackdrop":[4,"show-backdrop"],"animated":[4],"presentingElement":[16],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"keepContentsMounted":[4,"keep-contents-mounted"],"canDismiss":[4,"can-dismiss"],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"setCurrentBreakpoint":[64],"getCurrentBreakpoint":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-route_4",[[0,"ion-route",{"url":[1],"component":[1],"componentProps":[16],"beforeLeave":[16],"beforeEnter":[16]},null,{"url":["onUpdate"],"component":["onUpdate"],"componentProps":["onComponentProps"]}],[0,"ion-route-redirect",{"from":[1],"to":[1]},null,{"from":["propDidChange"],"to":["propDidChange"]}],[0,"ion-router",{"root":[1],"useHash":[4,"use-hash"],"canTransition":[64],"push":[64],"back":[64],"printDebug":[64],"navChanged":[64]},[[8,"popstate","onPopState"],[4,"ionBackButton","onBackButton"]]],[1,"ion-router-link",{"color":[513],"href":[1],"rel":[1],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"target":[1]}]]],["ion-avatar_3",[[33,"ion-avatar"],[33,"ion-badge",{"color":[513]}],[1,"ion-thumbnail"]]],["ion-col_3",[[1,"ion-col",{"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"pull":[1],"pullXs":[1,"pull-xs"],"pullSm":[1,"pull-sm"],"pullMd":[1,"pull-md"],"pullLg":[1,"pull-lg"],"pullXl":[1,"pull-xl"],"push":[1],"pushXs":[1,"push-xs"],"pushSm":[1,"push-sm"],"pushMd":[1,"push-md"],"pushLg":[1,"push-lg"],"pushXl":[1,"push-xl"],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]},[[9,"resize","onResize"]]],[1,"ion-grid",{"fixed":[4]}],[1,"ion-row"]]],["ion-tab_2",[[1,"ion-tab",{"active":[1028],"delegate":[16],"tab":[1],"component":[1],"setActive":[64]},null,{"active":["changeActive"]}],[1,"ion-tabs",{"useRouter":[1028,"use-router"],"selectedTab":[32],"select":[64],"getTab":[64],"getSelected":[64],"setRouteId":[64],"getRouteId":[64]}]]],["ion-img",[[1,"ion-img",{"alt":[1],"src":[1],"loadSrc":[32],"loadError":[32]},null,{"src":["srcChanged"]}]]],["ion-progress-bar",[[33,"ion-progress-bar",{"type":[1],"reversed":[4],"value":[2],"buffer":[2],"color":[513]}]]],["ion-range",[[33,"ion-range",{"color":[513],"debounce":[2],"name":[1],"label":[1],"dualKnobs":[4,"dual-knobs"],"min":[2],"max":[2],"pin":[4],"pinFormatter":[16],"snaps":[4],"step":[2],"ticks":[4],"activeBarStart":[1026,"active-bar-start"],"disabled":[4],"value":[1026],"labelPlacement":[1,"label-placement"],"legacy":[4],"ratioA":[32],"ratioB":[32],"pressedKnob":[32]},null,{"debounce":["debounceChanged"],"min":["minChanged"],"max":["maxChanged"],"activeBarStart":["activeBarStartChanged"],"disabled":["disabledChanged"],"value":["valueChanged"]}]]],["ion-split-pane",[[33,"ion-split-pane",{"contentId":[513,"content-id"],"disabled":[4],"when":[8],"visible":[32]},null,{"visible":["visibleChanged"],"disabled":["updateState"],"when":["updateState"]}]]],["ion-text",[[1,"ion-text",{"color":[513]}]]],["ion-item_8",[[33,"ion-item-divider",{"color":[513],"sticky":[4]}],[32,"ion-item-group"],[1,"ion-skeleton-text",{"animated":[4]}],[32,"ion-list",{"lines":[1],"inset":[4],"closeSlidingItems":[64]}],[33,"ion-list-header",{"color":[513],"lines":[1]}],[49,"ion-item",{"color":[513],"button":[4],"detail":[4],"detailIcon":[1,"detail-icon"],"disabled":[4],"download":[1],"fill":[1],"shape":[1],"href":[1],"rel":[1],"lines":[1],"counter":[4],"routerAnimation":[16],"routerDirection":[1,"router-direction"],"target":[1],"type":[1],"counterFormatter":[16],"multipleInputs":[32],"focusable":[32],"counterString":[32]},[[0,"ionInput","handleIonInput"],[0,"ionColor","labelColorChanged"],[0,"ionStyle","itemStyle"]],{"button":["buttonChanged"],"counterFormatter":["counterFormatterChanged"]}],[34,"ion-label",{"color":[513],"position":[1],"noAnimate":[32]},null,{"color":["colorChanged"],"position":["positionChanged"]}],[33,"ion-note",{"color":[513]}]]],["ion-select_3",[[33,"ion-select",{"cancelText":[1,"cancel-text"],"color":[513],"compareWith":[1,"compare-with"],"disabled":[4],"fill":[1],"interface":[1],"interfaceOptions":[8,"interface-options"],"justify":[1],"label":[1],"labelPlacement":[1,"label-placement"],"legacy":[4],"multiple":[4],"name":[1],"okText":[1,"ok-text"],"placeholder":[1],"selectedText":[1,"selected-text"],"toggleIcon":[1,"toggle-icon"],"expandedIcon":[1,"expanded-icon"],"shape":[1],"value":[1032],"isExpanded":[32],"open":[64]},null,{"disabled":["styleChanged"],"isExpanded":["styleChanged"],"placeholder":["styleChanged"],"value":["styleChanged"]}],[1,"ion-select-option",{"disabled":[4],"value":[8]}],[34,"ion-select-popover",{"header":[1],"subHeader":[1,"sub-header"],"message":[1],"multiple":[4],"options":[16]}]]],["ion-picker-internal",[[33,"ion-picker-internal",{"exitInputMode":[64]},[[1,"touchstart","preventTouchStartPropagation"]]]]],["ion-datetime_3",[[33,"ion-datetime",{"color":[1],"name":[1],"disabled":[4],"readonly":[4],"isDateEnabled":[16],"min":[1025],"max":[1025],"presentation":[1],"cancelText":[1,"cancel-text"],"doneText":[1,"done-text"],"clearText":[1,"clear-text"],"yearValues":[8,"year-values"],"monthValues":[8,"month-values"],"dayValues":[8,"day-values"],"hourValues":[8,"hour-values"],"minuteValues":[8,"minute-values"],"locale":[1],"firstDayOfWeek":[2,"first-day-of-week"],"titleSelectedDatesFormatter":[16],"multiple":[4],"highlightedDates":[16],"value":[1025],"showDefaultTitle":[4,"show-default-title"],"showDefaultButtons":[4,"show-default-buttons"],"showClearButton":[4,"show-clear-button"],"showDefaultTimeLabel":[4,"show-default-time-label"],"hourCycle":[1,"hour-cycle"],"size":[1],"preferWheel":[4,"prefer-wheel"],"showMonthAndYear":[32],"activeParts":[32],"workingParts":[32],"isTimePopoverOpen":[32],"forceRenderDate":[32],"confirm":[64],"reset":[64],"cancel":[64]},null,{"disabled":["disabledChanged"],"min":["minChanged"],"max":["maxChanged"],"yearValues":["yearValuesChanged"],"monthValues":["monthValuesChanged"],"dayValues":["dayValuesChanged"],"hourValues":["hourValuesChanged"],"minuteValues":["minuteValuesChanged"],"value":["valueChanged"]}],[34,"ion-picker",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"columns":[16],"cssClass":[1,"css-class"],"duration":[2],"showBackdrop":[4,"show-backdrop"],"backdropDismiss":[4,"backdrop-dismiss"],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"presented":[32],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64],"getColumn":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}],[32,"ion-picker-column",{"col":[16]},null,{"col":["colChanged"]}]]],["ion-radio_2",[[33,"ion-radio",{"color":[513],"name":[1],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"legacy":[4],"justify":[1],"alignment":[1],"checked":[32],"buttonTabindex":[32],"setFocus":[64],"setButtonTabindex":[64]},null,{"value":["valueChanged"],"checked":["styleChanged"],"color":["styleChanged"],"disabled":["styleChanged"]}],[0,"ion-radio-group",{"allowEmptySelection":[4,"allow-empty-selection"],"compareWith":[1,"compare-with"],"name":[1],"value":[1032]},[[4,"keydown","onKeydown"]],{"value":["valueChanged"]}]]],["ion-ripple-effect",[[1,"ion-ripple-effect",{"type":[1],"addRipple":[64]}]]],["ion-button_2",[[33,"ion-button",{"color":[513],"buttonType":[1025,"button-type"],"disabled":[516],"expand":[513],"fill":[1537],"routerDirection":[1,"router-direction"],"routerAnimation":[16],"download":[1],"href":[1],"rel":[1],"shape":[513],"size":[513],"strong":[4],"target":[1],"type":[1],"form":[1]},null,{"disabled":["disabledChanged"]}],[1,"ion-icon",{"mode":[1025],"color":[1],"ios":[1],"md":[1],"flipRtl":[4,"flip-rtl"],"name":[513],"src":[1],"icon":[8],"size":[1],"lazy":[4],"sanitize":[4],"svgContent":[32],"isVisible":[32]},null,{"name":["loadIcon"],"src":["loadIcon"],"icon":["loadIcon"],"ios":["loadIcon"],"md":["loadIcon"]}]]],["ion-action-sheet",[[34,"ion-action-sheet",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"buttons":[16],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"header":[1],"subHeader":[1,"sub-header"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"]}]]],["ion-alert",[[34,"ion-alert",{"overlayIndex":[2,"overlay-index"],"delegate":[16],"hasController":[4,"has-controller"],"keyboardClose":[4,"keyboard-close"],"enterAnimation":[16],"leaveAnimation":[16],"cssClass":[1,"css-class"],"header":[1],"subHeader":[1,"sub-header"],"message":[1],"buttons":[16],"inputs":[1040],"backdropDismiss":[4,"backdrop-dismiss"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"isOpen":[4,"is-open"],"trigger":[1],"present":[64],"dismiss":[64],"onDidDismiss":[64],"onWillDismiss":[64]},[[4,"keydown","onKeydown"]],{"isOpen":["onIsOpenChange"],"trigger":["triggerChanged"],"buttons":["buttonsChanged"],"inputs":["inputsChanged"]}]]],["ion-app_8",[[0,"ion-app",{"setFocus":[64]}],[1,"ion-content",{"color":[513],"fullscreen":[4],"forceOverscroll":[1028,"force-overscroll"],"scrollX":[4,"scroll-x"],"scrollY":[4,"scroll-y"],"scrollEvents":[4,"scroll-events"],"getScrollElement":[64],"getBackgroundElement":[64],"scrollToTop":[64],"scrollToBottom":[64],"scrollByPoint":[64],"scrollToPoint":[64]},[[9,"resize","onResize"]]],[36,"ion-footer",{"collapse":[1],"translucent":[4],"keyboardVisible":[32]}],[36,"ion-header",{"collapse":[1],"translucent":[4]}],[1,"ion-router-outlet",{"mode":[1025],"delegate":[16],"animated":[4],"animation":[16],"swipeHandler":[16],"commit":[64],"setRouteId":[64],"getRouteId":[64]},null,{"swipeHandler":["swipeHandlerChanged"]}],[33,"ion-title",{"color":[513],"size":[1]},null,{"size":["sizeChanged"]}],[33,"ion-toolbar",{"color":[513]},[[0,"ionStyle","childrenStyle"]]],[34,"ion-buttons",{"collapse":[4]}]]],["ion-picker-column-internal",[[33,"ion-picker-column-internal",{"disabled":[4],"items":[16],"value":[1032],"color":[513],"numericInput":[4,"numeric-input"],"isActive":[32],"scrollActiveItemIntoView":[64],"setValue":[64]},null,{"value":["valueChange"]}]]],["ion-popover",[[33,"ion-popover",{"hasController":[4,"has-controller"],"delegate":[16],"overlayIndex":[2,"overlay-index"],"enterAnimation":[16],"leaveAnimation":[16],"component":[1],"componentProps":[16],"keyboardClose":[4,"keyboard-close"],"cssClass":[1,"css-class"],"backdropDismiss":[4,"backdrop-dismiss"],"event":[8],"showBackdrop":[4,"show-backdrop"],"translucent":[4],"animated":[4],"htmlAttributes":[16],"triggerAction":[1,"trigger-action"],"trigger":[1],"size":[1],"dismissOnSelect":[4,"dismiss-on-select"],"reference":[1],"side":[1],"alignment":[1025],"arrow":[4],"isOpen":[4,"is-open"],"keyboardEvents":[4,"keyboard-events"],"keepContentsMounted":[4,"keep-contents-mounted"],"presented":[32],"presentFromTrigger":[64],"present":[64],"dismiss":[64],"getParentPopover":[64],"onDidDismiss":[64],"onWillDismiss":[64]},null,{"trigger":["onTriggerChange"],"triggerAction":["onTriggerChange"],"isOpen":["onIsOpenChange"]}]]],["ion-checkbox",[[33,"ion-checkbox",{"color":[513],"name":[1],"checked":[1028],"indeterminate":[1028],"disabled":[4],"value":[8],"labelPlacement":[1,"label-placement"],"justify":[1],"alignment":[1],"legacy":[4]},null,{"checked":["styleChanged"],"disabled":["styleChanged"]}]]],["ion-spinner",[[1,"ion-spinner",{"color":[513],"duration":[2],"name":[1],"paused":[4]}]]]]'),U)});return function(U,ce){return R.apply(this,arguments)}}(),Yt=["*"],Ln=["outlet"],lr=[[["","slot","top"]],"*"],cr=["[slot=top]","*"];function Nr(R,te){if(1&R&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&R){const U=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",U.template)}}function Lr(R,te){if(1&R&&n.\u0275\u0275elementContainer(0,1),2&R){const U=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",U.template)}}let ut=(()=>{class R extends Cn{constructor(U,ce){super(U,ce)}writeValue(U){this.elementRef.nativeElement.checked=this.lastValue=U,yn(this.elementRef)}_handleIonChange(U){this.handleValueChange(U,U.checked)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionChange",function(ft){return ce._handleIonChange(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:o.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),lo=(()=>{class R extends Cn{constructor(U,ce){super(U,ce)}handleInputEvent(U){this.handleValueChange(U,U.value)}registerOnChange(U){super.registerOnChange(ce=>{U(""===ce?null:parseFloat(ce))})}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number"]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionInput",function(ft){return ce.handleInputEvent(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:o.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vi=(()=>{class R extends Cn{constructor(U,ce){super(U,ce)}_handleIonSelect(U){this.handleValueChange(U,U.checked)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-radio"]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionSelect",function(ft){return ce._handleIonSelect(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:o.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),_r=(()=>{class R extends Cn{constructor(U,ce){super(U,ce)}_handleChangeEvent(U){this.handleValueChange(U,U.value)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionChange",function(ft){return ce._handleChangeEvent(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:o.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),wn=(()=>{class R extends Cn{constructor(U,ce){super(U,ce)}_handleInputEvent(U){this.handleValueChange(U,U.value)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(U,ce){1&U&&n.\u0275\u0275listener("ionInput",function(ft){return ce._handleInputEvent(ft.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:o.NG_VALUE_ACCESSOR,useExisting:R,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const $n=(R,te)=>{const U=R.prototype;te.forEach(ce=>{Object.defineProperty(U,ce,{get(){return this.el[ce]},set(Le){this.z.runOutsideAngular(()=>this.el[ce]=Le)},configurable:!0})})},si=(R,te)=>{const U=R.prototype;te.forEach(ce=>{U[ce]=function(){const Le=arguments;return this.z.runOutsideAngular(()=>this.el[ce].apply(this.el,Le))}})},Pr=(R,te,U)=>{U.forEach(ce=>R[ce]=(0,me.w)(te,ce))};function On(R){return function(U){const{defineCustomElementFn:ce,inputs:Le,methods:ft}=R;return void 0!==ce&&ce(),Le&&$n(U,Le),ft&&si(U,ft),U}}let ti=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],R),R})(),Zr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],R),R})(),Xr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-action-sheet"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),Vi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-alert"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",cssClass:"cssClass",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",inputs:"inputs",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",subHeader:"subHeader",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),hr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-app"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),Yi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-avatar"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),ko=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionBackdropTap"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["stopPropagation","tappable","visible"]})],R),R})(),go=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),Jr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumb"]],inputs:{active:"active",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",separator:"separator",target:"target"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],R),R})(),zi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionCollapsedClick"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],R),R})(),qi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-button"]],inputs:{buttonType:"buttonType",color:"color",disabled:"disabled",download:"download",expand:"expand",fill:"fill",form:"form",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",size:"size",strong:"strong",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],R),R})(),ro=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["collapse"]})],R),R})(),Rr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card"]],inputs:{button:"button",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],R),R})(),mo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["mode"]})],R),R})(),_i=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","translucent"]})],R),R})(),xi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),qr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),ar=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-checkbox"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",indeterminate:"indeterminate",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),yo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","disabled","mode","outline"]})],R),R})(),wi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-col"]],inputs:{offset:"offset",offsetLg:"offsetLg",offsetMd:"offsetMd",offsetSm:"offsetSm",offsetXl:"offsetXl",offsetXs:"offsetXs",pull:"pull",pullLg:"pullLg",pullMd:"pullMd",pullSm:"pullSm",pullXl:"pullXl",pullXs:"pullXs",push:"push",pushLg:"pushLg",pushMd:"pushMd",pushSm:"pushSm",pushXl:"pushXl",pushXs:"pushXs",size:"size",sizeLg:"sizeLg",sizeMd:"sizeMd",sizeSm:"sizeSm",sizeXl:"sizeXl",sizeXs:"sizeXs"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["offset","offsetLg","offsetMd","offsetSm","offsetXl","offsetXs","pull","pullLg","pullMd","pullSm","pullXl","pullXs","push","pushLg","pushMd","pushSm","pushXl","pushXs","size","sizeLg","sizeMd","sizeSm","sizeXl","sizeXs"]})],R),R})(),yi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],R),R})(),Eo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime"]],inputs:{cancelText:"cancelText",clearText:"clearText",color:"color",dayValues:"dayValues",disabled:"disabled",doneText:"doneText",firstDayOfWeek:"firstDayOfWeek",highlightedDates:"highlightedDates",hourCycle:"hourCycle",hourValues:"hourValues",isDateEnabled:"isDateEnabled",locale:"locale",max:"max",min:"min",minuteValues:"minuteValues",mode:"mode",monthValues:"monthValues",multiple:"multiple",name:"name",preferWheel:"preferWheel",presentation:"presentation",readonly:"readonly",showClearButton:"showClearButton",showDefaultButtons:"showDefaultButtons",showDefaultTimeLabel:"showDefaultTimeLabel",showDefaultTitle:"showDefaultTitle",size:"size",titleSelectedDatesFormatter:"titleSelectedDatesFormatter",value:"value",yearValues:"yearValues"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["cancelText","clearText","color","dayValues","disabled","doneText","firstDayOfWeek","highlightedDates","hourCycle","hourValues","isDateEnabled","locale","max","min","minuteValues","mode","monthValues","multiple","name","preferWheel","presentation","readonly","showClearButton","showDefaultButtons","showDefaultTimeLabel","showDefaultTitle","size","titleSelectedDatesFormatter","value","yearValues"],methods:["confirm","reset","cancel"]})],R),R})(),po=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","datetime","disabled","mode"]})],R),R})(),zr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],R),R})(),bo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-button"]],inputs:{activated:"activated",closeIcon:"closeIcon",color:"color",disabled:"disabled",download:"download",href:"href",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",show:"show",size:"size",target:"target",translucent:"translucent",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],R),R})(),Ni=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activated","side"]})],R),R})(),Gr=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["collapse","mode","translucent"]})],R),R})(),Lo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["fixed"]})],R),R})(),Oi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["collapse","mode","translucent"]})],R),R})(),Zi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-icon"]],inputs:{color:"color",flipRtl:"flipRtl",icon:"icon",ios:"ios",lazy:"lazy",md:"md",mode:"mode",name:"name",sanitize:"sanitize",size:"size",src:"src"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],R),R})(),Li=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alt","src"]})],R),R})(),Gi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionInfinite"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","position","threshold"],methods:["complete"]})],R),R})(),$o=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["loadingSpinner","loadingText"]})],R),R})(),Co=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-input"]],inputs:{accept:"accept",autocapitalize:"autocapitalize",autocomplete:"autocomplete",autocorrect:"autocorrect",autofocus:"autofocus",clearInput:"clearInput",clearOnEdit:"clearOnEdit",color:"color",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",maxlength:"maxlength",min:"min",minlength:"minlength",mode:"mode",multiple:"multiple",name:"name",pattern:"pattern",placeholder:"placeholder",readonly:"readonly",required:"required",shape:"shape",size:"size",spellcheck:"spellcheck",step:"step",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["accept","autocapitalize","autocomplete","autocorrect","autofocus","clearInput","clearOnEdit","color","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","max","maxlength","min","minlength","mode","multiple","name","pattern","placeholder","readonly","required","shape","size","spellcheck","step","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ro=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item"]],inputs:{button:"button",color:"color",counter:"counter",counterFormatter:"counterFormatter",detail:"detail",detailIcon:"detailIcon",disabled:"disabled",download:"download",fill:"fill",href:"href",lines:"lines",mode:"mode",rel:"rel",routerAnimation:"routerAnimation",routerDirection:"routerDirection",shape:"shape",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],R),R})(),wo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","sticky"]})],R),R})(),bs=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-group"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),Go=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],R),R})(),ns=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionSwipe"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["side"]})],R),R})(),rs=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionDrag"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],R),R})(),Ki=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","position"]})],R),R})(),uo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],R),R})(),So=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","lines","mode"]})],R),R})(),cs=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-loading"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",showBackdrop:"showBackdrop",spinner:"spinner",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),co=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],R),R})(),Fo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["autoHide","color","disabled","menu","mode","type"]})],R),R})(),Do=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["autoHide","menu"]})],R),R})(),Ko=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["component","componentProps","routerAnimation","routerDirection"]})],R),R})(),hs=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),Qo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-picker"]],inputs:{animated:"animated",backdropDismiss:"backdropDismiss",buttons:"buttons",columns:"columns",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",htmlAttributes:"htmlAttributes",isOpen:"isOpen",keyboardClose:"keyboardClose",leaveAnimation:"leaveAnimation",mode:"mode",showBackdrop:"showBackdrop",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],R),R})(),We=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["buffer","color","mode","reversed","type","value"]})],R),R})(),Xe=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),ke=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["allowEmptySelection","compareWith","name","value"]})],R),R})(),dt=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-range"]],inputs:{activeBarStart:"activeBarStart",color:"color",debounce:"debounce",disabled:"disabled",dualKnobs:"dualKnobs",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",max:"max",min:"min",mode:"mode",name:"name",pin:"pin",pinFormatter:"pinFormatter",snaps:"snaps",step:"step",ticks:"ticks",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],R),R})(),wt=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionRefresh","ionPull","ionStart"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],R),R})(),zn=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],R),R})(),Bn=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),Wi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionItemReorder"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled"],methods:["complete"]})],R),R})(),Mo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["type"],methods:["addRipple"]})],R),R})(),Ao=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-row"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),ho=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-searchbar"]],inputs:{animated:"animated",autocomplete:"autocomplete",autocorrect:"autocorrect",cancelButtonIcon:"cancelButtonIcon",cancelButtonText:"cancelButtonText",clearIcon:"clearIcon",color:"color",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",inputmode:"inputmode",mode:"mode",name:"name",placeholder:"placeholder",searchIcon:"searchIcon",showCancelButton:"showCancelButton",showClearButton:"showClearButton",spellcheck:"spellcheck",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],R),R})(),Ur=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],R),R})(),Zo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","layout","mode","type","value"]})],R),R})(),is=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select"]],inputs:{cancelText:"cancelText",color:"color",compareWith:"compareWith",disabled:"disabled",expandedIcon:"expandedIcon",fill:"fill",interface:"interface",interfaceOptions:"interfaceOptions",justify:"justify",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",multiple:"multiple",name:"name",okText:"okText",placeholder:"placeholder",selectedText:"selectedText",shape:"shape",toggleIcon:"toggleIcon",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],R),R})(),Xi=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","value"]})],R),R})(),Xo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated"]})],R),R})(),xo=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","duration","name","paused"]})],R),R})(),_o=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionSplitPaneVisible"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["contentId","disabled","when"]})],R),R})(),Di=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode","selectedTab","translucent"]})],R),R})(),To=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],R),R})(),Cs=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),os=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-textarea"]],inputs:{autoGrow:"autoGrow",autocapitalize:"autocapitalize",autofocus:"autofocus",clearOnEdit:"clearOnEdit",color:"color",cols:"cols",counter:"counter",counterFormatter:"counterFormatter",debounce:"debounce",disabled:"disabled",enterkeyhint:"enterkeyhint",errorText:"errorText",fill:"fill",helperText:"helperText",inputmode:"inputmode",label:"label",labelPlacement:"labelPlacement",legacy:"legacy",maxlength:"maxlength",minlength:"minlength",mode:"mode",name:"name",placeholder:"placeholder",readonly:"readonly",required:"required",rows:"rows",shape:"shape",spellcheck:"spellcheck",value:"value",wrap:"wrap"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["autoGrow","autocapitalize","autofocus","clearOnEdit","color","cols","counter","counterFormatter","debounce","disabled","enterkeyhint","errorText","fill","helperText","inputmode","label","labelPlacement","legacy","maxlength","minlength","mode","name","placeholder","readonly","required","rows","shape","spellcheck","value","wrap"],methods:["setFocus","getInputElement"]})],R),R})(),io=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-thumbnail"]],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({})],R),R})(),fs=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","size"]})],R),R})(),rt=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toast"]],inputs:{animated:"animated",buttons:"buttons",color:"color",cssClass:"cssClass",duration:"duration",enterAnimation:"enterAnimation",header:"header",htmlAttributes:"htmlAttributes",icon:"icon",isOpen:"isOpen",keyboardClose:"keyboardClose",layout:"layout",leaveAnimation:"leaveAnimation",message:"message",mode:"mode",position:"position",positionAnchor:"positionAnchor",swipeGesture:"swipeGesture",translucent:"translucent",trigger:"trigger"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["animated","buttons","color","cssClass","duration","enterAnimation","header","htmlAttributes","icon","isOpen","keyboardClose","layout","leaveAnimation","message","mode","position","positionAnchor","swipeGesture","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],R),R})(),ne=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement,Pr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toggle"]],inputs:{alignment:"alignment",checked:"checked",color:"color",disabled:"disabled",enableOnOffLabels:"enableOnOffLabels",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],R),R})(),pe=(()=>{let R=class{constructor(U,ce,Le){this.z=Le,U.detach(),this.el=ce.nativeElement}};return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R=(0,ge.__decorate)([On({inputs:["color","mode"]})],R),R})(),Be=(()=>{class R extends Xn{constructor(U,ce,Le,ft,xt,rn,J,ze){super(U,ce,Le,ft,xt,rn,J,ze),this.parentOutlet=ze}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(u.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(a.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(a.ActivatedRoute),n.\u0275\u0275directiveInject(R,12))},R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),nt=(()=>{class R extends Jt{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-tabs"]],contentQueries:function(U,ce,Le){if(1&U&&(n.\u0275\u0275contentQuery(Le,Di,5),n.\u0275\u0275contentQuery(Le,Di,4)),2&U){let ft;n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(ce.tabBar=ft.first),n.\u0275\u0275queryRefresh(ft=n.\u0275\u0275loadQuery())&&(ce.tabBars=ft)}},viewQuery:function(U,ce){if(1&U&&n.\u0275\u0275viewQuery(Ln,5,Be),2&U){let Le;n.\u0275\u0275queryRefresh(Le=n.\u0275\u0275loadQuery())&&(ce.outlet=Le.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:cr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(lr),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(ft){return ce.onStackWillChange(ft)})("stackDidChange",function(ft){return ce.onStackDidChange(ft)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[Be],styles:["[_nghost-%COMP%]{display:flex;position:absolute;inset:0;flex-direction:column;width:100%;height:100%;contain:layout size style}.tabs-inner[_ngcontent-%COMP%]{position:relative;flex:1;contain:layout size style}"]}),R})(),yt=(()=>{class R extends or{constructor(U,ce,Le,ft,xt,rn){super(U,ce,Le,ft,xt,rn)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(Be,8),n.\u0275\u0275directiveInject(kt),n.\u0275\u0275directiveInject(ye),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),It=(()=>{class R extends St{constructor(U,ce,Le,ft,xt,rn){super(U,ce,Le,ft,xt,rn)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(vt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Yt,decls:1,vars:0,template:function(U,ce){1&U&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),R})(),Nt=(()=>{class R extends ui{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),Vt=(()=>{class R extends Ir{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),R})(),gn=(()=>{class R extends En{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-modal"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[["class","ion-delegate-host ion-page",4,"ngIf"],[1,"ion-delegate-host","ion-page"],[3,"ngTemplateOutlet"]],template:function(U,ce){1&U&&n.\u0275\u0275template(0,Nr,2,1,"div",0),2&U&&n.\u0275\u0275property("ngIf",ce.isCmpOpen||ce.keepContentsMounted)},dependencies:[u.NgIf,u.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})(),Wn=(()=>{class R extends Et{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275cmp=n.\u0275\u0275defineComponent({type:R,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(U,ce){1&U&&n.\u0275\u0275template(0,Lr,1,1,"ng-container",0),2&U&&n.\u0275\u0275property("ngIf",ce.isCmpOpen||ce.keepContentsMounted)},dependencies:[u.NgIf,u.NgTemplateOutlet],encapsulation:2,changeDetection:0}),R})();const Gn={provide:o.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Wr),multi:!0};let Wr=(()=>{class R extends o.MaxValidator{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(U,ce){2&U&&n.\u0275\u0275attribute("max",ce._enabled?ce.max:null)},features:[n.\u0275\u0275ProvidersFeature([Gn]),n.\u0275\u0275InheritDefinitionFeature]}),R})();const fr={provide:o.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>tr),multi:!0};let tr=(()=>{class R extends o.MinValidator{}return R.\u0275fac=(()=>{let te;return function(ce){return(te||(te=n.\u0275\u0275getInheritedFactory(R)))(ce||R)}})(),R.\u0275dir=n.\u0275\u0275defineDirective({type:R,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(U,ce){2&U&&n.\u0275\u0275attribute("min",ce._enabled?ce.min:null)},features:[n.\u0275\u0275ProvidersFeature([fr]),n.\u0275\u0275InheritDefinitionFeature]}),R})(),vr=(()=>{class R extends Hn{constructor(){super(ot.a)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),mi=(()=>{class R{create(U){return(0,ur.c)(U)}easingTime(U,ce,Le,ft,xt){return(0,W.g)(U,ce,Le,ft,xt)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ai=(()=>{class R extends Hn{constructor(){super(ot.b)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),ji=(()=>{class R{constructor(U){this.zone=U}create(U,ce=!1){return ce&&Object.getOwnPropertyNames(U).forEach(Le=>{if("function"==typeof U[Le]){const ft=U[Le];U[Le]=(...xt)=>this.zone.run(()=>ft(...xt))}}),(0,ae.createGesture)(U)}}return R.\u0275fac=function(U){return new(U||R)(n.\u0275\u0275inject(n.NgZone))},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ti=(()=>{class R extends Hn{constructor(){super(ot.l)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),Ji=(()=>{class R extends Qe{constructor(){super(Te.m)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})(),vn=(()=>{class R extends Hn{constructor(){super(ot.m),this.angularDelegate=(0,n.inject)(vt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(U){return super.create({...U,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"modal")})}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac}),R})(),wr=(()=>{class R extends Hn{constructor(){super(ot.p)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();class Qi extends Hn{constructor(){super(ot.c),this.angularDelegate=(0,n.inject)(vt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(te){return super.create({...te,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Pi=(()=>{class R extends Hn{constructor(){super(ot.t)}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275prov=n.\u0275\u0275defineInjectable({token:R,factory:R.\u0275fac,providedIn:"root"}),R})();const ei=(R,te,U)=>()=>{const ce=te.defaultView;if(ce&&typeof window<"u"){(0,Pe.s)({...R,_zoneGate:ft=>U.run(ft)});const Le="__zone_symbol__addEventListener"in te.body?"__zone_symbol__addEventListener":"addEventListener";return function fn(){var R=[];if(typeof window<"u"){var te=window;(!te.customElements||te.Element&&(!te.Element.prototype.closest||!te.Element.prototype.matches||!te.Element.prototype.remove||!te.Element.prototype.getRootNode))&&R.push(i.e(4448).then(i.t.bind(i,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||te.NodeList&&!te.NodeList.prototype.forEach||!te.fetch||!function(){try{var ce=new URL("b","http://a");return ce.pathname="c%20d","http://a/c%20d"===ce.href&&ce.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&R.push(i.e(488).then(i.t.bind(i,36304,23)))}return Promise.all(R)}().then(()=>ln(ce,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:an,jmp:ft=>U.runOutsideAngular(ft),ael(ft,xt,rn,J){ft[Le](xt,rn,J)},rel(ft,xt,rn,J){ft.removeEventListener(xt,rn,J)}}))}};let at=(()=>{class R{static forRoot(U){return{ngModule:R,providers:[{provide:Ce,useValue:U},{provide:n.APP_INITIALIZER,useFactory:ei,multi:!0,deps:[Ce,u.DOCUMENT,n.NgZone]},{provide:Or,useFactory:Rn,deps:[a.Router]}]}}}return R.\u0275fac=function(U){return new(U||R)},R.\u0275mod=n.\u0275\u0275defineNgModule({type:R}),R.\u0275inj=n.\u0275\u0275defineInjector({providers:[vt,vn,Qi],imports:[u.CommonModule]}),R})()},2300:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{EditorComponent:()=>X,EditorModule:()=>z,TINYMCE_SCRIPT_SRC:()=>Q});var n=i(54496),o=i(91368),d=i(44716),a=i(70800),u=i(41424),e=i(95657),l=i(53616),c=i(3992),g=i(32700),y=i(22540),_=i(50560),C=i(41760),b=i(95448);function f(Y,q,...de){if(!0===q)return void Y();if(!1===q)return;const me=new C.ot({next:()=>{me.unsubscribe(),Y()}});return(0,_.Uv)(q(...de)).subscribe(me)}function v(Y,q){}const M=()=>{const Y=typeof window<"u"?window:void 0;return Y&&Y.tinymce?Y.tinymce:null};let E=(()=>{class Y{constructor(){this.onBeforePaste=new n.EventEmitter,this.onBlur=new n.EventEmitter,this.onClick=new n.EventEmitter,this.onContextMenu=new n.EventEmitter,this.onCopy=new n.EventEmitter,this.onCut=new n.EventEmitter,this.onDblclick=new n.EventEmitter,this.onDrag=new n.EventEmitter,this.onDragDrop=new n.EventEmitter,this.onDragEnd=new n.EventEmitter,this.onDragGesture=new n.EventEmitter,this.onDragOver=new n.EventEmitter,this.onDrop=new n.EventEmitter,this.onFocus=new n.EventEmitter,this.onFocusIn=new n.EventEmitter,this.onFocusOut=new n.EventEmitter,this.onKeyDown=new n.EventEmitter,this.onKeyPress=new n.EventEmitter,this.onKeyUp=new n.EventEmitter,this.onMouseDown=new n.EventEmitter,this.onMouseEnter=new n.EventEmitter,this.onMouseLeave=new n.EventEmitter,this.onMouseMove=new n.EventEmitter,this.onMouseOut=new n.EventEmitter,this.onMouseOver=new n.EventEmitter,this.onMouseUp=new n.EventEmitter,this.onPaste=new n.EventEmitter,this.onSelectionChange=new n.EventEmitter,this.onActivate=new n.EventEmitter,this.onAddUndo=new n.EventEmitter,this.onBeforeAddUndo=new n.EventEmitter,this.onBeforeExecCommand=new n.EventEmitter,this.onBeforeGetContent=new n.EventEmitter,this.onBeforeRenderUI=new n.EventEmitter,this.onBeforeSetContent=new n.EventEmitter,this.onChange=new n.EventEmitter,this.onClearUndos=new n.EventEmitter,this.onDeactivate=new n.EventEmitter,this.onDirty=new n.EventEmitter,this.onExecCommand=new n.EventEmitter,this.onGetContent=new n.EventEmitter,this.onHide=new n.EventEmitter,this.onInit=new n.EventEmitter,this.onInitNgModel=new n.EventEmitter,this.onLoadContent=new n.EventEmitter,this.onNodeChange=new n.EventEmitter,this.onPostProcess=new n.EventEmitter,this.onPostRender=new n.EventEmitter,this.onPreInit=new n.EventEmitter,this.onPreProcess=new n.EventEmitter,this.onProgressState=new n.EventEmitter,this.onRedo=new n.EventEmitter,this.onRemove=new n.EventEmitter,this.onReset=new n.EventEmitter,this.onResizeEditor=new n.EventEmitter,this.onSaveContent=new n.EventEmitter,this.onSetAttrib=new n.EventEmitter,this.onObjectResizeStart=new n.EventEmitter,this.onObjectResized=new n.EventEmitter,this.onObjectSelected=new n.EventEmitter,this.onSetContent=new n.EventEmitter,this.onShow=new n.EventEmitter,this.onSubmit=new n.EventEmitter,this.onUndo=new n.EventEmitter,this.onVisualAid=new n.EventEmitter}}return Y.\u0275fac=function(de){return new(de||Y)},Y.\u0275dir=n.\u0275\u0275defineDirective({type:Y,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),Y})();const A=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],k=(Y,q,de)=>(0,a.w)(Y,q).pipe((0,l.a)(de)),T=(Y,q)=>"string"==typeof Y?Y.split(",").map(de=>de.trim()):Array.isArray(Y)?Y:q;let P=0;const j=Y=>typeof Y<"u"&&"textarea"===Y.tagName.toLowerCase(),L=Y=>typeof Y>"u"||""===Y?[]:Array.isArray(Y)?Y:Y.split(" "),B=(Y,q)=>L(Y).concat(L(q)),$=()=>{},ee=Y=>null==Y,K=(()=>{let Y={script$:null};return{load:(me,Oe)=>Y.script$||(Y.script$=(0,u.Q)(()=>{const Re=me.createElement("script");return Re.referrerPolicy="origin",Re.type="application/javascript",Re.src=Oe,me.head.appendChild(Re),(0,a.w)(Re,"load").pipe((0,c.U)(1),(0,g.e)(void 0))}).pipe(function S(Y,q,de){let me,Oe=!1;return Y&&"object"==typeof Y?({bufferSize:me=1/0,windowTime:q=1/0,refCount:Oe=!1,scheduler:de}=Y):me=Y??1/0,function p(Y={}){const{connector:q=(()=>new e.E),resetOnError:de=!0,resetOnComplete:me=!0,resetOnRefCountZero:Oe=!0}=Y;return Re=>{let Ae,ge,Ne,it=0,qe=!1,et=!1;const De=()=>{ge?.unsubscribe(),ge=void 0},je=()=>{De(),Ae=Ne=void 0,qe=et=!1},Ie=()=>{const bt=Ae;je(),bt?.unsubscribe()};return(0,b.i)((bt,Qe)=>{it++,!et&&!qe&&De();const Ut=Ne=Ne??q();Qe.add(()=>{it--,0===it&&!et&&!qe&&(ge=f(Ie,Oe))}),Ut.subscribe(Qe),!Ae&&it>0&&(Ae=new C.ot({next:sn=>Ut.next(sn),error:sn=>{et=!0,De(),ge=f(je,de,sn),Ut.error(sn)},complete:()=>{qe=!0,De(),ge=f(je,me),Ut.complete()}}),(0,_.Uv)(bt).subscribe(Ae))})(Re)}}({connector:()=>new y.o(me,q,de),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:Oe})}({bufferSize:1,refCount:!0}))),reinitialize:()=>{Y={script$:null}}}})(),Q=new n.InjectionToken("TINYMCE_SCRIPT_SRC"),re={provide:d.NG_VALUE_ACCESSOR,useExisting:(0,n.forwardRef)(()=>X),multi:!0};let X=(()=>{class Y extends E{constructor(de,me,Oe,Re){super(),this.platformId=Oe,this.tinymceScriptSrc=Re,this.cloudChannel="6",this.apiKey="no-api-key",this.id="",this.modelEvents="change input undo redo",this.onTouchedCallback=$,this.destroy$=new e.E,this.initialise=()=>{const Ae={...this.init,selector:void 0,target:this._element,inline:this.inline,readonly:this.disabled,plugins:B(this.init&&this.init.plugins,this.plugins),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:ge=>{this._editor=ge,k(ge,"init",this.destroy$).subscribe(()=>{this.initEditor(ge)}),((Y,q,de)=>{(Y=>{const q=T(Y.ignoreEvents,[]);return T(Y.allowedEvents,A).filter(me=>A.includes(me)&&!q.includes(me))})(Y).forEach(Oe=>{const Re=Y[Oe];k(q,Oe.substring(2),de).subscribe(Ae=>{Re.observers.length>0&&Y.ngZone.run(()=>Re.emit({event:Ae,editor:q}))})})})(this,ge,this.destroy$),this.init&&"function"==typeof this.init.setup&&this.init.setup(ge)}};j(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(()=>{M().init(Ae)})},this._elementRef=de,this.ngZone=me}set disabled(de){this._disabled=de,this._editor&&this._editor.initialized&&("function"==typeof this._editor.mode?.set?this._editor.mode.set(de?"readonly":"design"):this._editor.setMode(de?"readonly":"design"))}get disabled(){return this._disabled}get editor(){return this._editor}writeValue(de){this._editor&&this._editor.initialized?this._editor.setContent(ee(de)?"":de):this.initialValue=null===de?void 0:de}registerOnChange(de){this.onChangeCallback=de}registerOnTouched(de){this.onTouchedCallback=de}setDisabledState(de){this.disabled=de}ngAfterViewInit(){(0,o.isPlatformBrowser)(this.platformId)&&(this.id=this.id||(Y=>{const de=(new Date).getTime(),me=Math.floor(1e9*Math.random());return P++,"tiny-angular_"+me+P+String(de)})(),this.inline=void 0!==this.inline?!1!==this.inline:!!this.init?.inline,this.createElement(),null!==M()?this.initialise():this._element&&this._element.ownerDocument&&K.load(this._element.ownerDocument,this.getScriptSrc()).pipe((0,l.a)(this.destroy$)).subscribe(this.initialise))}ngOnDestroy(){this.destroy$.next(),null!==M()&&M().remove(this._editor)}createElement(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn(`TinyMCE-Angular: an element with id [${this.id}] already exists. Editors with duplicate Id will not be able to mount`),this._element.id=this.id,j(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}getScriptSrc(){return ee(this.tinymceScriptSrc)?`https://cdn.tiny.cloud/1/${this.apiKey}/tinymce/${this.cloudChannel}/tinymce.min.js`:this.tinymceScriptSrc}initEditor(de){k(de,"blur",this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.onTouchedCallback())}),k(de,this.modelEvents,this.destroy$).subscribe(()=>{this.ngZone.run(()=>this.emitOnChange(de))}),"string"==typeof this.initialValue&&this.ngZone.run(()=>{de.setContent(this.initialValue),de.getContent()!==this.initialValue&&this.emitOnChange(de),void 0!==this.onInitNgModel&&this.onInitNgModel.emit(de)})}emitOnChange(de){this.onChangeCallback&&this.onChangeCallback(de.getContent({format:this.outputFormat}))}}return Y.\u0275fac=function(de){return new(de||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.PLATFORM_ID),n.\u0275\u0275directiveInject(Q,8))},Y.\u0275cmp=n.\u0275\u0275defineComponent({type:Y,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",init:"init",id:"id",initialValue:"initialValue",outputFormat:"outputFormat",inline:"inline",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",modelEvents:"modelEvents",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents",disabled:"disabled"},standalone:!0,features:[n.\u0275\u0275ProvidersFeature([re]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(de,me){1&de&&n.\u0275\u0275template(0,v,0,0,"ng-template")},dependencies:[o.CommonModule,d.FormsModule],styles:["[_nghost-%COMP%]{display:block}"]}),Y})(),z=(()=>{class Y{}return Y.\u0275fac=function(de){return new(de||Y)},Y.\u0275mod=n.\u0275\u0275defineNgModule({type:Y}),Y.\u0275inj=n.\u0275\u0275defineInjector({imports:[X]}),Y})()},17964:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{add:()=>Oe,after:()=>Ge,ary:()=>wr,assign:()=>Ps,assignIn:()=>Vr,assignInWith:()=>al,assignWith:()=>Bd,at:()=>Fy,attempt:()=>nh,before:()=>Qg,bind:()=>pl,bindAll:()=>jy,bindKey:()=>dc,camelCase:()=>Cl,capitalize:()=>uh,castArray:()=>Mb,ceil:()=>wb,chain:()=>gm,chunk:()=>yc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>Wm,cloneWith:()=>d0,commit:()=>Nh,compact:()=>f0,concat:()=>Es,cond:()=>O0,conforms:()=>ap,conformsTo:()=>Pc,constant:()=>Jr,countBy:()=>j0,create:()=>up,curry:()=>Pl,curryRight:()=>Ju,debounce:()=>fp,deburr:()=>Ta,default:()=>vI,defaultTo:()=>gp,defaults:()=>zs,defaultsDeep:()=>vp,defer:()=>yp,delay:()=>m1,difference:()=>Z0,differenceBy:()=>xc,differenceWith:()=>X0,divide:()=>J0,drop:()=>eC,dropRight:()=>Sp,dropRightWhile:()=>Oo,dropWhile:()=>tf,each:()=>rd,eachRight:()=>id,endsWith:()=>Il,entries:()=>na,entriesIn:()=>Ap,eq:()=>oo,escape:()=>af,escapeRegExp:()=>hC,every:()=>mC,extend:()=>Vr,extendWith:()=>al,fill:()=>cf,filter:()=>CC,find:()=>MC,findIndex:()=>ld,findKey:()=>kp,findLast:()=>AC,findLastIndex:()=>df,findLastKey:()=>PC,first:()=>cd,flatMap:()=>xC,flatMapDeep:()=>LC,flatMapDepth:()=>Np,flatten:()=>Xd,flattenDeep:()=>RC,flattenDepth:()=>jp,flip:()=>jC,floor:()=>Fc,flow:()=>HC,flowRight:()=>Bp,forEach:()=>rd,forEachRight:()=>id,forIn:()=>YC,forInRight:()=>zC,forOwn:()=>Up,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>gf,functionsIn:()=>$C,get:()=>Tu,groupBy:()=>GC,gt:()=>Yp,gte:()=>nT,has:()=>eS,hasIn:()=>zh,head:()=>cd,identity:()=>vt,inRange:()=>nS,includes:()=>Za,indexOf:()=>oS,initial:()=>Wp,intersection:()=>Io,intersectionBy:()=>xl,intersectionWith:()=>Uc,invert:()=>pd,invertBy:()=>uS,invoke:()=>hS,invokeMap:()=>Df,isArguments:()=>ss,isArray:()=>K,isArrayBuffer:()=>Af,isArrayLike:()=>$t,isArrayLikeObject:()=>Po,isBoolean:()=>qp,isBuffer:()=>Jo,isDate:()=>_S,isElement:()=>vS,isEmpty:()=>Tf,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>pn,isInteger:()=>Pf,isLength:()=>Ue,isMap:()=>Uu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>s_,isNative:()=>a_,isNil:()=>Yc,isNull:()=>Ll,isNumber:()=>If,isObject:()=>De,isObjectLike:()=>T,isPlainObject:()=>Aa,isRegExp:()=>Fa,isSafeInteger:()=>Nl,isSet:()=>Zb,isString:()=>hd,isSymbol:()=>j,isTypedArray:()=>ue,isUndefined:()=>jl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RS,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>to,keysIn:()=>ps,last:()=>ks,lastIndexOf:()=>FS,lodash:()=>ut,lowerCase:()=>jS,lowerFirst:()=>p_,lt:()=>US,lte:()=>v_,map:()=>Rc,mapKeys:()=>VS,mapValues:()=>y_,matches:()=>CT,matchesProperty:()=>jf,max:()=>M_,maxBy:()=>$s,mean:()=>$S,meanBy:()=>Zc,memoize:()=>Ly,merge:()=>w_,mergeWith:()=>_p,method:()=>GS,methodOf:()=>D_,min:()=>QS,minBy:()=>A_,mixin:()=>Hf,multiply:()=>T_,negate:()=>Ul,next:()=>Yf,noop:()=>Pe,now:()=>Ic,nth:()=>x_,nthArg:()=>O_,omit:()=>vd,omitBy:()=>Gf,once:()=>cM,orderBy:()=>Qf,over:()=>hM,overArgs:()=>qa,overEvery:()=>yd,overSome:()=>ws,pad:()=>Sd,padEnd:()=>MM,padStart:()=>ru,parseInt:()=>wM,partial:()=>qf,partialRight:()=>iu,partition:()=>G_,pick:()=>K_,pickBy:()=>Jc,plant:()=>Md,property:()=>x0,propertyOf:()=>Q_,pull:()=>IM,pullAll:()=>J_,pullAllBy:()=>kM,pullAllWith:()=>xM,pullAt:()=>eg,random:()=>_P,range:()=>tg,rangeRight:()=>ng,rearg:()=>rg,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>gv,repeat:()=>mv,replace:()=>pv,rest:()=>_v,result:()=>ig,reverse:()=>ou,round:()=>og,sample:()=>sg,sampleSize:()=>lg,set:()=>cg,setWith:()=>ug,shuffle:()=>eE,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>Uv,sortedIndex:()=>aE,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>zv,sortedLastIndexOf:()=>Wv,sortedUniq:()=>$v,sortedUniqBy:()=>Gv,split:()=>vE,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>lu,stubArray:()=>Sm,stubFalse:()=>Ks,stubObject:()=>Zv,stubString:()=>ys,stubTrue:()=>EE,subtract:()=>wE,sum:()=>uu,sumBy:()=>fg,tail:()=>Xv,take:()=>Jv,takeRight:()=>gg,takeRightWhile:()=>IE,takeWhile:()=>pg,tap:()=>qv,template:()=>ry,templateSettings:()=>Ad,throttle:()=>$E,thru:()=>du,times:()=>KE,toArray:()=>Vf,toFinite:()=>jt,toInteger:()=>Ee,toIterator:()=>oy,toJSON:()=>zl,toLength:()=>ad,toLower:()=>ZE,toNumber:()=>un,toPairs:()=>na,toPairsIn:()=>Ap,toPath:()=>XE,toPlainObject:()=>V0,toSafeInteger:()=>ew,toString:()=>Si,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>sw,trimStart:()=>lw,truncate:()=>JP,unary:()=>ay,unescape:()=>dy,union:()=>fy,unionBy:()=>ja,unionWith:()=>kd,uniq:()=>yg,uniqBy:()=>vw,uniqWith:()=>bw,uniqueId:()=>Mw,unset:()=>gy,unzip:()=>xd,unzipWith:()=>my,update:()=>Dw,updateWith:()=>Cg,upperCase:()=>Ba,upperFirst:()=>rm,value:()=>zl,valueOf:()=>zl,values:()=>vs,valuesIn:()=>vy,without:()=>yy,words:()=>hm,wrap:()=>Od,wrapperAt:()=>Iw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>ut,wrapperNext:()=>Yf,wrapperPlant:()=>Md,wrapperReverse:()=>Ow,wrapperToIterator:()=>oy,wrapperValue:()=>zl,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Mg,zip:()=>Nw,zipObject:()=>Cy,zipObjectDeep:()=>Eg,zipWith:()=>wg});const o="object"==typeof global&&global&&global.Object===Object&&global;var d="object"==typeof self&&self&&self.Object===Object&&self;const u=o||d||Function("return this")(),l=u.Symbol;var c=Object.prototype,g=c.hasOwnProperty,y=c.toString,_=l?l.toStringTag:void 0;var f=Object.prototype.toString;var A=l?l.toStringTag:void 0;const N=function k(w){return null==w?void 0===w?"[object Undefined]":"[object Null]":A&&A in Object(w)?function C(w){var x=g.call(w,_),Z=w[_];try{w[_]=void 0;var we=!0}catch{}var Ze=y.call(w);return we&&(x?w[_]=Z:delete w[_]),Ze}(w):function S(w){return f.call(w)}(w)},T=function F(w){return null!=w&&"object"==typeof w},j=function I(w){return"symbol"==typeof w||T(w)&&"[object Symbol]"==N(w)},$=function B(w){return"number"==typeof w?w:j(w)?NaN:+w},le=function ee(w,x){for(var Z=-1,we=null==w?0:w.length,Ze=Array(we);++Z0){if(++x>=800)return arguments[0]}else x=0;return w.apply(void 0,arguments)}},On=Pr(Qt);var ti=/\{\n\/\* \[wrapped with (.+)\] \*/,Zr=/,? & /;var hr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const Jr=function go(w){return function(){return w}};var zi=function(){try{var w=Sr(Object,"defineProperty");return w({},"",{}),w}catch{}}();const qi=zi;var ro=qi?function(w,x){return qi(w,"toString",{configurable:!0,enumerable:!1,value:Jr(x),writable:!0})}:vt;const _i=Pr(ro),qr=function xi(w,x){for(var Z=-1,we=null==w?0:w.length;++Z-1};var bs=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ki=function rs(w,x,Z){var we=x+"";return _i(w,function Yi(w,x){var Z=x.length;if(!Z)return w;var we=Z-1;return x[we]=(Z>1?"& ":"")+x[we],x=x.join(Z>2?", ":" "),w.replace(hr,"{\n/* [wrapped with "+x+"] */\n")}(we,function Go(w,x){return qr(bs,function(Z){var we="_."+Z[0];x&Z[1]&&!Gr(w,we)&&w.push(we)}),w.sort()}(function Xr(w){var x=w.match(ti);return x?x[1].split(Zr):[]}(we),Z)))},hs=function Ko(w,x,Z,we,Ze,gt,Pt,zt,en,Tn){var Pn=8&x;x|=Pn?32:64,4&(x&=~(Pn?64:32))||(x&=-4);var gi=[w,x,Ze,Pn?gt:void 0,Pn?Pt:void 0,Pn?void 0:gt,Pn?void 0:Pt,zt,en,Tn],jr=Z.apply(void 0,gi);return vi(w)&&On(jr,gi),jr.placeholder=we,Ki(jr,w,x)},We=function Qo(w){return w.placeholder};var ke=/^(?:0|[1-9]\d*)$/;const wt=function dt(w,x){var Z=typeof w;return!!(x=x??9007199254740991)&&("number"==Z||"symbol"!=Z&&ke.test(w))&&w>-1&&w%1==0&&w1&&Mi.reverse(),Pn&&en-1&&w%1==0&&w<=9007199254740991},$t=function _t(w){return null!=w&&Ue(w.length)&&!pn(w)},Dn=function tn(w,x,Z){if(!De(Z))return!1;var we=typeof x;return!!("number"==we?$t(Z)&&wt(x,Z.length):"string"==we&&x in Z)&&oo(Z[x],w)},yr=function gr(w){return J(function(x,Z){var we=-1,Ze=Z.length,gt=Ze>1?Z[Ze-1]:void 0,Pt=Ze>2?Z[2]:void 0;for(gt=w.length>3&&"function"==typeof gt?(Ze--,gt):void 0,Pt&&Dn(Z[0],Z[1],Pt)&&(gt=Ze<3?void 0:gt,Ze=1),x=Object(x);++we-1},ma.prototype.set=function Rg(w,x){var Z=this.__data__,we=fi(Z,w);return we<0?(++this.size,Z.push([w,x])):Z[we][1]=x,this};const dl=ma,hl=Sr(u,"Map"),wu=function Eu(w,x){var Z=w.__data__;return function yI(w){var x=typeof w;return"string"==x||"number"==x||"symbol"==x||"boolean"==x?"__proto__"!==w:null===w}(x)?Z["string"==typeof x?"string":"hash"]:Z.map};function fl(w){var x=-1,Z=null==w?0:w.length;for(this.clear();++x0&&Z(zt)?x>1?Pu(zt,x-1,Z,we,Ze):Is(Ze,zt):we||(Ze[Ze.length]=zt)}return Ze},Xd=function zg(w){return null!=w&&w.length?ds(w,1):[]},za=function Jd(w){return _i(xt(w,void 0,Xd),w+"")},Fy=za(Kd),Iu=nn(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const Aa=function Gg(w){if(!T(w)||"[object Object]"!=N(w))return!1;var x=Iu(w);if(null===x)return!0;var Z=eh.call(x,"constructor")&&x.constructor;return"function"==typeof Z&&Z instanceof Z&&qd.call(Z)==tD},th=function Kg(w){if(!T(w))return!1;var x=N(w);return"[object Error]"==x||"[object DOMException]"==x||"string"==typeof w.message&&"string"==typeof w.name&&!Aa(w)};var nD=J(function(w,x){try{return an(w,void 0,x)}catch(Z){return th(Z)?Z:new Error(Z)}});const nh=nD,Qg=function rD(w,x){var Z;if("function"!=typeof x)throw new TypeError("Expected a function");return w=Ee(w),function(){return--w>0&&(Z=x.apply(this,arguments)),w<=1&&(x=void 0),Z}};var Xg=J(function(w,x,Z){var we=1;if(Z.length){var Ze=ho(Z,We(Xg));we|=32}return Ti(w,we,x,Z,Ze)});Xg.placeholder={};const pl=Xg;var _l=za(function(w,x){return qr(x,function(Z){Z=Ss(Z),Pi(w,Z,pl(w[Z],w))}),w});const jy=_l;var rh=J(function(w,x,Z){var we=3;if(Z.length){var Ze=ho(Z,We(rh));we|=32}return Ti(x,we,w,Z,Ze)});rh.placeholder={};const dc=rh,Vs=function sD(w,x,Z){var we=-1,Ze=w.length;x<0&&(x=-x>Ze?0:Ze+x),(Z=Z>Ze?Ze:Z)<0&&(Z+=Ze),Ze=x>Z?0:Z-x>>>0,x>>>=0;for(var gt=Array(Ze);++we=we?w:Vs(w,x,Z)};var Yy=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const hc=function cD(w){return Yy.test(w)};var $y="\\ud800-\\udfff",sh="["+$y+"]",fc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",ku="\\ud83c[\\udffb-\\udfff]",tm="[^"+$y+"]",Ky="(?:\\ud83c[\\udde6-\\uddff]){2}",vl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qy="(?:"+fc+"|"+ku+")?",ah="[\\ufe0e\\ufe0f]?",fD=ah+Qy+"(?:\\u200d(?:"+[tm,Ky,vl].join("|")+")"+ah+Qy+")*",gD="(?:"+[tm+fc+"?",fc,Ky,vl,sh].join("|")+")",bI=RegExp(ku+"(?="+ku+")|"+gD+fD,"g");const qs=function Ou(w){return hc(w)?function CI(w){return w.match(bI)||[]}(w):function zy(w){return w.split("")}(w)},lh=function Lu(w){return function(x){x=Si(x);var Z=hc(x)?qs(x):void 0,we=Z?Z[0]:x.charAt(0),Ze=Z?Wa(Z,1).join(""):x.slice(1);return we[w]()+Ze}},rm=lh("toUpperCase"),uh=function Zy(w){return rm(Si(w).toLowerCase())},Ys=function mD(w,x,Z,we){var Ze=-1,gt=null==w?0:w.length;for(we&>&&(Z=w[++Ze]);++Ze=x?w:x)),w},LD=function Ab(w,x,Z){return void 0===Z&&(Z=x,x=void 0),void 0!==Z&&(Z=(Z=un(Z))==Z?Z:0),void 0!==x&&(x=(x=un(x))==x?x:0),$a(un(w),x,Z)};function Sl(w){var x=this.__data__=new dl(w);this.size=x.size}Sl.prototype.clear=function MI(){this.__data__=new dl,this.size=0},Sl.prototype.delete=function mm(w){var x=this.__data__,Z=x.delete(w);return this.size=x.size,Z},Sl.prototype.get=function wI(w){return this.__data__.get(w)},Sl.prototype.has=function Tb(w){return this.__data__.has(w)},Sl.prototype.set=function ND(w,x){var Z=this.__data__;if(Z instanceof dl){var we=Z.__data__;if(!hl||we.length<199)return we.push([w,x]),this.size=++Z.size,this;Z=this.__data__=new ac(we)}return Z.set(w,x),this.size=Z.size,this};const ka=Sl,bh=function Pb(w,x){return w&&ce(x,to(x),w)};var _m="object"==typeof exports&&exports&&!exports.nodeType&&exports,vm=_m&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vm&&vm.exports===_m?u.Buffer:void 0,bm=Ch?Ch.allocUnsafe:void 0;const Cm=function Ib(w,x){if(x)return w.slice();var Z=w.length,we=bm?bm(Z):new w.constructor(Z);return w.copy(we),we},xa=function UD(w,x){for(var Z=-1,we=null==w?0:w.length,Ze=0,gt=[];++Zzt))return!1;var Tn=gt.get(w),Pn=gt.get(x);if(Tn&&Pn)return Tn==x&&Pn==w;var Fn=-1,ir=!0,Ar=2&Z?new Bh:void 0;for(gt.set(w,x),gt.set(x,w);++Fn=x||ia<0||Fn&&Ho-Tn>=gt}function bi(){var Ho=Ic();if(jr(Ho))return Mi(Ho);zt=setTimeout(bi,function gi(Ho){var Ag=x-(Ho-en);return Fn?qu(Ag,gt-(Ho-Tn)):Ag}(Ho))}function Mi(Ho){return zt=void 0,ir&&we?Ar(Ho):(we=Ze=void 0,Pt)}function Bs(){var Ho=Ic(),ia=jr(Ho);if(we=arguments,Ze=this,en=Ho,ia){if(void 0===zt)return function Yr(Ho){return Tn=Ho,zt=setTimeout(bi,x),Pn?Ar(Ho):Pt}(en);if(Fn)return clearTimeout(zt),zt=setTimeout(bi,x),Ar(en)}return void 0===zt&&(zt=setTimeout(bi,x)),Pt}return x=un(x)||0,De(Z)&&(Pn=!!Z.leading,gt=(Fn="maxWait"in Z)?o1(un(Z.maxWait)||0,x):gt,ir="trailing"in Z?!!Z.trailing:ir),Bs.cancel=function Gs(){void 0!==zt&&clearTimeout(zt),Tn=0,we=en=Ze=zt=void 0},Bs.flush=function As(){return void 0===zt?Pt:Mi(Ic())},Bs},gp=function s1(w,x){return null==w||w!=w?x:w};var ed=Object.prototype,mp=ed.hasOwnProperty,U0=J(function(w,x){w=Object(w);var Z=-1,we=x.length,Ze=we>2?x[2]:void 0;for(Ze&&Dn(x[0],x[1],Ze)&&(we=1);++Z=200&&(gt=Vu,Pt=!1,x=new Bh(x));e:for(;++Ze=0&&w.slice(Z,Ze)==x},sd=function D1(w){return function(x){var Z=_a(x);return"[object Map]"==Z?Km(x):"[object Set]"==Z?function of(w){var x=-1,Z=Array(w.size);return w.forEach(function(we){Z[++x]=[we,we]}),Z}(x):function Dp(w,x){return le(x,function(Z){return[Z,w[Z]]})}(x,w(x))}},na=sd(to),Ap=sd(ps),cC=gc({"&":"&","<":"<",">":">",'"':""","'":"'"});var uC=/[&<>"']/g,A1=RegExp(uC.source);const af=function Lc(w){return(w=Si(w))&&A1.test(w)?w.replace(uC,cC):w};var dC=/[\\^$.*+?()[\]{}|]/g,T1=RegExp(dC.source);const hC=function P1(w){return(w=Si(w))&&T1.test(w)?w.replace(dC,"\\$&"):w},fC=function I1(w,x){for(var Z=-1,we=null==w?0:w.length;++ZZe?0:Ze+Z),(we=void 0===we||we>Ze?Ze:Ee(we))<0&&(we+=Ze),we=Z>we?0:ad(we);Z-1?Ze[gt?x[Pt]:Pt]:void 0}};var Pp=Math.max;const ld=function SC(w,x,Z){var we=null==w?0:w.length;if(!we)return-1;var Ze=null==Z?0:Ee(Z);return Ze<0&&(Ze=Pp(we+Ze,0)),yo(w,li(x),Ze)},MC=uf(ld),EC=function R1(w,x,Z){var we;return Z(w,function(Ze,gt,Pt){if(x(Ze,gt,Pt))return we=gt,!1}),we},kp=function F1(w,x){return EC(w,li(x),ya)};var xp=Math.max,Op=Math.min;const df=function wC(w,x,Z){var we=null==w?0:w.length;if(!we)return-1;var Ze=we-1;return void 0!==Z&&(Ze=Ee(Z),Ze=Z<0?xp(we+Ze,0):Op(Ze,we-1)),yo(w,li(x),Ze,!0)},AC=uf(df),PC=function TC(w,x){return EC(w,li(x),nf)},cd=function Lp(w){return w&&w.length?w[0]:void 0},Fp=function Rp(w,x){var Z=-1,we=$t(w)?Array(w.length):[];return ta(w,function(Ze,gt,Pt){we[++Z]=x(Ze,gt,Pt)}),we},Rc=function IC(w,x){return(K(w)?le:Fp)(w,li(x))},xC=function kC(w,x){return ds(Rc(w,x),1)},LC=function N1(w,x){return ds(Rc(w,x),1/0)},Np=function j1(w,x,Z){return Z=void 0===Z?1:Ee(Z),ds(Rc(w,x),Z)},RC=function U1(w){return null!=w&&w.length?ds(w,1/0):[]},jp=function FC(w,x){return null!=w&&w.length?(x=void 0===x?1:Ee(x),ds(w,x)):[]},jC=function H1(w){return Ti(w,512)},Fc=fm("floor"),jc=function Nc(w){return za(function(x){var Z=x.length,we=Z,Ze=mn.prototype.thru;for(w&&x.reverse();we--;){var gt=x[we];if("function"!=typeof gt)throw new TypeError("Expected a function");if(Ze&&!Pt&&"wrapper"==dn(gt))var Pt=new mn([],!0)}for(we=Pt?we:Z;++wex},dd=function KC(w){return function(x,Z){return"string"==typeof x&&"string"==typeof Z||(x=un(x),Z=un(Z)),w(x,Z)}},Yp=dd(Vp);var tT=dd(function(w,x){return w>=x});const nT=tT;var XC=Object.prototype.hasOwnProperty;const JC=function kl(w,x){return null!=w&&XC.call(w,x)},eS=function qC(w,x){return null!=w&&Tl(w,x,JC)};var pf=Math.max,_f=Math.min;const nS=function zp(w,x,Z){return x=jt(x),void 0===Z?(Z=x,x=0):Z=jt(Z),function rT(w,x,Z){return w>=_f(x,Z)&&w-1:!!Ze&&bo(w,x,Z)>-1};var yf=Math.max;const oS=function Ws(w,x,Z){var we=null==w?0:w.length;if(!we)return-1;var Ze=null==Z?0:Ee(Z);return Ze<0&&(Ze=yf(we+Ze,0)),bo(w,x,Ze)},Wp=function Bc(w){return null!=w&&w.length?Vs(w,0,-1):[]};var sS=Math.min;const $p=function oT(w,x,Z){for(var we=Z?nd:Gr,Ze=w[0].length,gt=w.length,Pt=gt,zt=Array(gt),en=1/0,Tn=[];Pt--;){var Pn=w[Pt];Pt&&x&&(Pn=le(Pn,ni(x))),en=sS(Pn.length,en),zt[Pt]=!Z&&(x||Ze>=120&&Pn.length>=120)?new Bh(Pt&&Pn):void 0}Pn=w[0];var Fn=-1,ir=zt[0];e:for(;++Fn=-Fl&&w<=Fl},jl=function Gc(w){return void 0===w},xf=function c_(w){return T(w)&&"[object WeakMap]"==_a(w)},Of=function d_(w){return T(w)&&"[object WeakSet]"==N(w)},Lf=function f_(w){return li("function"==typeof w?w:ea(w,1))};var Rf=Array.prototype.join;const RS=function Ja(w,x){return null==w?"":Rf.call(w,x)};var mT=vc(function(w,x,Z){return w+(Z?"-":"")+x.toLowerCase()});const Ff=mT;var Bl=Zh(function(w,x,Z){Pi(w,Z,x)});const Nf=Bl;var VI=Math.max,YI=Math.min;const FS=function _T(w,x,Z){var we=null==w?0:w.length;if(!we)return-1;var Ze=we;return void 0!==Z&&(Ze=(Ze=Ee(Z))<0?VI(we+Ze,0):YI(Ze,we-1)),x==x?function pT(w,x,Z){for(var we=Z+1;we--;)if(w[we]===x)return we;return we}(w,x,Ze):yo(w,yi,Ze,!0)};var NS=vc(function(w,x,Z){return w+(Z?" ":"")+x.toLowerCase()});const jS=NS,p_=lh("toLowerCase"),__=function vT(w,x){return w=this.__values__.length;return{done:w,value:w?void 0:this.__values__[this.__index__++]}},oM=function iM(w,x){var Z=w.length;if(Z)return wt(x+=x<0?Z:0,Z)?w[x]:void 0},x_=function sM(w,x){return w&&w.length?oM(w,Ee(x)):void 0},O_=function TT(w){return w=Ee(w),J(function(x){return oM(x,w)})},zf=function PT(w,x){return x=Ls(x,w),null==(w=Qp(w,x))||delete w[Ss(ks(x))]},IT=function L_(w){return Aa(w)?void 0:w};var Wf=za(function(w,x){var Z={};if(null==w)return Z;var we=!1;x=le(x,function(gt){return gt=Ls(gt,w),we||(we=gt.length>1),gt}),ce(w,Nu(w),Z),we&&(Z=ea(Z,7,IT));for(var Ze=x.length;Ze--;)zf(Z,x[Ze]);return Z});const vd=Wf,Xc=function F_(w,x,Z,we){if(!De(w))return w;for(var Ze=-1,gt=(x=Ls(x,w)).length,Pt=gt-1,zt=w;null!=zt&&++Zex||gt&&Pt&&en&&!zt&&!Tn||we&&Pt&&en||!Z&&en||!Ze)return 1;if(!we&&!gt&&!Tn&&w=zt?en:en*("desc"==Z[we]?-1:1)}return w.index-x.index}(gt,Pt,Z)})},Qf=function jT(w,x,Z,we){return null==w?[]:(K(x)||(x=null==x?[]:[x]),K(Z=we?void 0:Z)||(Z=null==Z?[]:[Z]),Vl(w,x,Z))},Zf=function BT(w){return za(function(x){return x=le(x,ni(li)),J(function(Z){var we=this;return w(x,function(Ze){return an(Ze,we,Z)})})})},hM=Zf(le);var HT=Math.min,VT=J(function(w,x){var Z=(x=1==x.length&&K(x[0])?le(x[0],ni(li)):le(ds(x,1),ni(li))).length;return J(function(we){for(var Ze=-1,gt=HT(we.length,Z);++Ze9007199254740991)return Z;do{x%2&&(Z+=w),(x=j_(x/2))&&(w+=w)}while(x);return Z},mM=k0("length");var B_="\\ud800-\\udfff",QT="["+B_+"]",U_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",eu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_M="[\\ud800-\\udbff][\\udc00-\\udfff]",tu="(?:"+U_+"|"+eu+")?",vM="[\\ufe0e\\ufe0f]?",XT=vM+tu+"(?:\\u200d(?:"+[H_,V_,_M].join("|")+")"+vM+tu+")*",yM="(?:"+[H_+U_+"?",U_,V_,_M,QT].join("|")+")",Y_=RegExp(eu+"(?="+eu+")|"+yM+XT,"g");const nu=function CM(w){return hc(w)?function bM(w){for(var x=Y_.lastIndex=0;Y_.test(w);)++x;return x}(w):mM(w)};var qT=Math.ceil;const z_=function zI(w,x){var Z=(x=void 0===x?" ":Y(x)).length;if(Z<2)return Z?Jf(x,w):x;var we=Jf(x,qT(w/nu(x)));return hc(x)?Wa(qs(we),0,w).join(""):we.slice(0,w)};var WI=Math.ceil,$I=Math.floor;const Sd=function SM(w,x,Z){w=Si(w);var we=(x=Ee(x))?nu(w):0;if(!x||we>=x)return w;var Ze=(x-we)/2;return z_($I(Ze),Z)+w+z_(WI(Ze),Z)},MM=function eP(w,x,Z){w=Si(w);var we=(x=Ee(x))?nu(w):0;return x&&we-1;)zt!==w&&TM.call(zt,en,1),TM.call(w,en,1);return w},J_=function PM(w,x){return w&&w.length&&x&&x.length?X_(w,x):w},IM=J(J_),kM=function fP(w,x,Z){return w&&w.length&&x&&x.length?X_(w,x,li(Z)):w},xM=function gP(w,x,Z){return w&&w.length&&x&&x.length?X_(w,x,void 0,Z):w};var q_=Array.prototype.splice;const tv=function ev(w,x){for(var Z=w?x.length:0,we=Z-1;Z--;){var Ze=x[Z];if(Z==we||Ze!==gt){var gt=Ze;wt(Ze)?q_.call(w,Ze,1):zf(w,Ze)}}return w};var OM=za(function(w,x){var Z=null==w?0:w.length,we=Kd(w,x);return tv(w,le(x,function(Ze){return wt(Ze,Z)?+Ze:Ze}).sort(Kf)),we});const eg=OM;var LM=Math.floor,RM=Math.random;const Ed=function nv(w,x){return w+LM(RM()*(x-w+1))};var pP=parseFloat,rv=Math.min,FM=Math.random;const _P=function NM(w,x,Z){if(Z&&"boolean"!=typeof Z&&Dn(w,x,Z)&&(x=Z=void 0),void 0===Z&&("boolean"==typeof x?(Z=x,x=void 0):"boolean"==typeof w&&(Z=w,w=void 0)),void 0===w&&void 0===x?(w=0,x=1):(w=jt(w),void 0===x?(x=w,w=0):x=jt(x)),w>x){var we=w;w=x,x=we}if(Z||w%1||x%1){var Ze=FM();return rv(w+Ze*(x-w+pP("1e-"+((Ze+"").length-1))),x)}return Ed(w,x)};var jM=Math.ceil,vP=Math.max;const wd=function iv(w){return function(x,Z,we){return we&&"number"!=typeof we&&Dn(x,Z,we)&&(Z=we=void 0),x=jt(x),void 0===Z?(Z=x,x=0):Z=jt(Z),function BM(w,x,Z,we){for(var Ze=-1,gt=vP(jM((x-w)/(Z||1)),0),Pt=Array(gt);gt--;)Pt[we?gt:++Ze]=w,w+=Z;return Pt}(x,Z,we=void 0===we?x1&&Dn(w,x[0],x[1])?x=[]:Z>2&&Dn(x[0],x[1],x[2])&&(x=[x[0]]),Vl(w,ds(x,1),[])});const Uv=rE;var oE=Math.floor,DP=Math.min;const Dd=function AP(w,x,Z,we){var Ze=0,gt=null==w?0:w.length;if(0===gt)return 0;for(var Pt=(x=Z(x))!=x,zt=null===x,en=j(x),Tn=void 0===x;Ze>>1,Pt=w[gt];null!==Pt&&!j(Pt)&&(Z?Pt<=x:Pt>>0)?(w=Si(w))&&("string"==typeof x||null!=x&&!Fa(x))&&!(x=Y(x))&&hc(w)?Wa(qs(w),0,Z):w.split(x,Z):[]};var XI=Math.max;const Kv=function yE(w,x){if("function"!=typeof w)throw new TypeError("Expected a function");return x=null==x?0:XI(Ee(x),0),J(function(Z){var we=Z[x],Ze=Wa(Z,0,x);return we&&Is(Ze,we),an(w,this,Ze)})};var bE=vc(function(w,x,Z){return w+(Z?" ":"")+rm(x)});const Qv=bE,lu=function CE(w,x,Z){return w=Si(w),Z=null==Z?0:$a(Ee(Z),0,w.length),x=Y(x),w.slice(Z,Z+x.length)==x},Zv=function SE(){return{}},ys=function ME(){return""},EE=function cu(){return!0};var PP=de(function(w,x){return w-x},0);const wE=PP,uu=function JI(w){return w&&w.length?Bf(w,vt):0},fg=function IP(w,x){return w&&w.length?Bf(w,li(x)):0},Xv=function DE(w){var x=null==w?0:w.length;return x?Vs(w,1,x):[]},Jv=function AE(w,x,Z){return w&&w.length?(x=Z||void 0===x?1:Ee(x),Vs(w,0,x<0?0:x)):[]},gg=function TE(w,x,Z){var we=null==w?0:w.length;return we?(x=Z||void 0===x?1:Ee(x),Vs(w,(x=we-x)<0?0:x,we)):[]},IE=function PE(w,x){return w&&w.length?ef(w,li(x),!1,!0):[]},pg=function mg(w,x){return w&&w.length?ef(w,li(x)):[]},qv=function kP(w,x){return x(w),w};var kE=Object.prototype,ey=kE.hasOwnProperty;const xE=function Yl(w,x,Z,we){return void 0===w||oo(w,kE[Z])&&!ey.call(we,Z)?x:w};var OE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LE=function ty(w){return"\\"+OE[w]},RE=/<%=([\s\S]+?)%>/g,Ad={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RE,variable:"",imports:{_:{escape:af}}};var LP=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,RP=/(__e\(.*?\)|\b__t\)) \+\n'';/g,UE=/[()=,{}\[\]\/\s]/,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Td=/($^)/,VE=/['\n\r\u2028\u2029\\]/g,YE=Object.prototype.hasOwnProperty;const ry=function zE(w,x,Z){var we=Ad.imports._.templateSettings||Ad;Z&&Dn(w,x,Z)&&(x=void 0),w=Si(w),x=al({},x,we,xE);var zt,en,Ze=al({},x.imports,we.imports,xE),gt=to(Ze),Pt=iS(Ze,gt),Tn=0,Pn=x.interpolate||Td,Fn="__p += '",ir=RegExp((x.escape||Td).source+"|"+Pn.source+"|"+(Pn===RE?HE:Td).source+"|"+(x.evaluate||Td).source+"|$","g"),Ar=YE.call(x,"sourceURL")?"//# sourceURL="+(x.sourceURL+"").replace(/\s/g," ")+"\n":"";w.replace(ir,function(jr,bi,Mi,Gs,As,Bs){return Mi||(Mi=Gs),Fn+=w.slice(Tn,Bs).replace(VE,LE),bi&&(zt=!0,Fn+="' +\n__e("+bi+") +\n'"),As&&(en=!0,Fn+="';\n"+As+";\n__p += '"),Mi&&(Fn+="' +\n((__t = ("+Mi+")) == null ? '' : __t) +\n'"),Tn=Bs+jr.length,jr}),Fn+="';\n";var Yr=YE.call(x,"variable")&&x.variable;if(Yr){if(UE.test(Yr))throw new Error("Invalid `variable` option passed into `_.template`")}else Fn="with (obj) {\n"+Fn+"\n}\n";Fn=(en?Fn.replace(LP,""):Fn).replace(BE,"$1").replace(RP,"$1;"),Fn="function("+(Yr||"obj")+") {\n"+(Yr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(zt?", __e = _.escape":"")+(en?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Fn+"return __p\n}";var gi=nh(function(){return Function(gt,Ar+"return "+Fn).apply(void 0,Pt)});if(gi.source=Fn,th(gi))throw gi;return gi},$E=function NP(w,x,Z){var we=!0,Ze=!0;if("function"!=typeof w)throw new TypeError("Expected a function");return De(Z)&&(we="leading"in Z?!!Z.leading:we,Ze="trailing"in Z?!!Z.trailing:Ze),fp(w,x,{leading:we,maxWait:x,trailing:Ze})},du=function jP(w,x){return x(w)};var iy=4294967295,UP=Math.min;const KE=function GE(w,x){if((w=Ee(w))<1||w>9007199254740991)return[];var Z=iy,we=UP(w,iy);x=ba(x),w-=iy;for(var Ze=Ri(we,x);++Z-1;);return Z},iw=function GP(w,x){for(var Z=-1,we=w.length;++Z-1;);return Z},ow=function KP(w,x,Z){if((w=Si(w))&&(Z||void 0===x))return qe(w);if(!w||!(x=Y(x)))return w;var we=qs(w),Ze=qs(x),gt=iw(we,Ze),Pt=rw(we,Ze)+1;return Wa(we,gt,Pt).join("")},sw=function QP(w,x,Z){if((w=Si(w))&&(Z||void 0===x))return w.slice(0,ge(w)+1);if(!w||!(x=Y(x)))return w;var we=qs(w),Ze=rw(we,qs(x))+1;return Wa(we,0,Ze).join("")};var aw=/^\s+/;const lw=function sy(w,x,Z){if((w=Si(w))&&(Z||void 0===x))return w.replace(aw,"");if(!w||!(x=Y(x)))return w;var we=qs(w),Ze=iw(we,qs(x));return Wa(we,Ze).join("")};var XP=/\w*$/;const JP=function uw(w,x){var Z=30,we="...";if(De(x)){var Ze="separator"in x?x.separator:Ze;Z="length"in x?Ee(x.length):Z,we="omission"in x?Y(x.omission):we}var gt=(w=Si(w)).length;if(hc(w)){var Pt=qs(w);gt=Pt.length}if(Z>=gt)return w;var zt=Z-nu(we);if(zt<1)return we;var en=Pt?Wa(Pt,0,zt).join(""):w.slice(0,zt);if(void 0===Ze)return en+we;if(Pt&&(zt+=en.length-zt),Fa(Ze)){if(w.slice(zt).search(Ze)){var Tn,Pn=en;for(Ze.global||(Ze=RegExp(Ze.source,Si(XP.exec(Ze))+"g")),Ze.lastIndex=0;Tn=Ze.exec(Pn);)var Fn=Tn.index;en=en.slice(0,void 0===Fn?zt:Fn)}}else if(w.indexOf(Y(Ze),zt)!=zt){var ir=en.lastIndexOf(Ze);ir>-1&&(en=en.slice(0,ir))}return en+we},ay=function qP(w){return wr(w,1)},hw=gc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var ly=/&(?:amp|lt|gt|quot|#39);/g,cy=RegExp(ly.source);const dy=function uy(w){return(w=Si(w))&&cy.test(w)?w.replace(ly,hw):w};var _g=wl&&1/wc(new wl([,-0]))[1]==1/0?function(w){return new wl(w)}:Pe;const hy=_g,Na=function gw(w,x,Z){var we=-1,Ze=Gr,gt=w.length,Pt=!0,zt=[],en=zt;if(Z)Pt=!1,Ze=nd;else if(gt>=200){var Tn=x?null:hy(w);if(Tn)return wc(Tn);Pt=!1,Ze=Vu,en=new Bh}else en=x?[]:zt;e:for(;++we1||this.__actions__.length)&&we instanceof ae&&wt(Z)?((we=we.slice(Z,+Z+(x?1:0))).__actions__.push({func:du,args:[Ze],thisArg:void 0}),new mn(we,this.__chain__).thru(function(gt){return x&&!gt.length&>.push(void 0),gt})):this.thru(Ze)});const Iw=oI,xw=function kw(){return gm(this)},Ow=function sI(){var w=this.__wrapped__;if(w instanceof ae){var x=w;return this.__actions__.length&&(x=new ae(this)),(x=x.reverse()).__actions__.push({func:du,args:[ou],thisArg:void 0}),new mn(x,this.__chain__)}return this.thru(ou)},Sg=function aI(w,x,Z){var we=w.length;if(we<2)return we?Na(w[0]):[];for(var Ze=-1,gt=Array(we);++Ze1?w[x-1]:void 0;return Z="function"==typeof Z?(w.pop(),Z):void 0,my(w,Z)});const wg=uI,mr={chunk:yc,compact:f0,concat:Es,difference:Z0,differenceBy:xc,differenceWith:X0,drop:eC,dropRight:Sp,dropRightWhile:Oo,dropWhile:tf,fill:cf,findIndex:ld,findLastIndex:df,first:cd,flatten:Xd,flattenDeep:RC,flattenDepth:jp,fromPairs:Hp,head:cd,indexOf:oS,initial:Wp,intersection:Io,intersectionBy:xl,intersectionWith:Uc,join:RS,last:ks,lastIndexOf:FS,nth:x_,pull:IM,pullAll:J_,pullAllBy:kM,pullAllWith:xM,pullAt:eg,remove:gv,reverse:ou,slice:Fv,sortedIndex:aE,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:zv,sortedLastIndexOf:Wv,sortedUniq:$v,sortedUniqBy:Gv,tail:Xv,take:Jv,takeRight:gg,takeRightWhile:IE,takeWhile:pg,union:fy,unionBy:ja,unionWith:kd,uniq:yg,uniqBy:vw,uniqWith:bw,unzip:xd,unzipWith:my,without:yy,xor:Rw,xorBy:Fw,xorWith:Mg,zip:Nw,zipObject:Cy,zipObjectDeep:Eg,zipWith:wg},Ui={countBy:j0,each:rd,eachRight:id,every:mC,filter:CC,find:MC,findLast:AC,flatMap:xC,flatMapDeep:LC,flatMapDepth:Np,forEach:rd,forEachRight:id,groupBy:GC,includes:Za,invokeMap:Df,keyBy:Nf,map:Rc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:sg,sampleSize:lg,shuffle:eE,size:Rv,some:Bv,sortBy:Uv},rk={now:Ic},Uo={after:Ge,ary:wr,before:Qg,bind:pl,bindKey:dc,curry:Pl,curryRight:Ju,debounce:fp,defer:yp,delay:m1,flip:jC,memoize:Ly,negate:Ul,once:cM,overArgs:qa,partial:qf,partialRight:iu,rearg:rg,rest:_v,spread:Kv,throttle:$E,unary:ay,wrap:Od},Fr={castArray:Mb,clone:Rh,cloneDeep:Fh,cloneDeepWith:Wm,cloneWith:d0,conformsTo:Pc,eq:oo,gt:Yp,gte:nT,isArguments:ss,isArray:K,isArrayBuffer:Af,isArrayLike:$t,isArrayLikeObject:Po,isBoolean:qp,isBuffer:Jo,isDate:_S,isElement:vS,isEmpty:Tf,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:pn,isInteger:Pf,isLength:Ue,isMap:Uu,isMatch:i_,isMatchWith:o_,isNaN:s_,isNative:a_,isNil:Yc,isNull:Ll,isNumber:If,isObject:De,isObjectLike:T,isPlainObject:Aa,isRegExp:Fa,isSafeInteger:Nl,isSet:Zb,isString:hd,isSymbol:j,isTypedArray:ue,isUndefined:jl,isWeakMap:xf,isWeakSet:Of,lt:US,lte:v_,toArray:Vf,toFinite:jt,toInteger:Ee,toLength:ad,toNumber:un,toPlainObject:V0,toSafeInteger:ew,toString:Si},Ds={add:Oe,ceil:wb,divide:J0,floor:Fc,max:M_,maxBy:$s,mean:$S,meanBy:Zc,min:QS,minBy:A_,multiply:T_,round:og,subtract:wE,sum:uu,sumBy:fg},My={clamp:LD,inRange:nS,random:_P},ii={assign:Ps,assignIn:Vr,assignInWith:al,assignWith:Bd,at:Fy,create:up,defaults:zs,defaultsDeep:vp,entries:na,entriesIn:Ap,extend:Vr,extendWith:al,findKey:kp,findLastKey:PC,forIn:YC,forInRight:zC,forOwn:Up,forOwnRight:ff,functions:gf,functionsIn:$C,get:Tu,has:eS,hasIn:zh,invert:pd,invertBy:uS,invoke:hS,keys:to,keysIn:ps,mapKeys:VS,mapValues:y_,merge:w_,mergeWith:_p,omit:vd,omitBy:Gf,pick:K_,pickBy:Jc,result:ig,set:cg,setWith:ug,toPairs:na,toPairsIn:Ap,transform:nw,unset:gy,update:Dw,updateWith:Cg,values:vs,valuesIn:vy},ao={at:Iw,chain:gm,commit:Nh,lodash:ut,next:Yf,plant:Md,reverse:Ow,tap:qv,thru:du,toIterator:oy,toJSON:zl,value:zl,valueOf:zl,wrapperChain:xw},Ii={camelCase:Cl,capitalize:uh,deburr:Ta,endsWith:Il,escape:af,escapeRegExp:hC,kebabCase:Ff,lowerCase:jS,lowerFirst:p_,pad:Sd,padEnd:MM,padStart:ru,parseInt:wM,repeat:mv,replace:pv,snakeCase:Nv,split:vE,startCase:Qv,startsWith:lu,template:ry,templateSettings:Ad,toLower:ZE,toUpper:tw,trim:ow,trimEnd:sw,trimStart:lw,truncate:JP,unescape:dy,upperCase:Ba,upperFirst:rm,words:hm},Hi={attempt:nh,bindAll:jy,cond:O0,conforms:ap,constant:Jr,defaultTo:gp,flow:HC,flowRight:Bp,identity:vt,iteratee:Lf,matches:CT,matchesProperty:jf,method:GS,methodOf:D_,mixin:Hf,noop:Pe,nthArg:O_,over:hM,overEvery:yd,overSome:ws,property:x0,propertyOf:Q_,range:tg,rangeRight:ng,stubArray:Sm,stubFalse:Ks,stubObject:Zv,stubString:ys,stubTrue:EE,times:KE,toPath:XE,uniqueId:Mw};var ok=Math.max,sk=Math.min;var Hw=Math.min;var Rd=4294967295,Fd=Array.prototype,wy=Object.prototype.hasOwnProperty,pI=l?l.iterator:void 0,ak=Math.max,_I=Math.min,Dy=function(w){return function(x,Z,we){if(null==we){var Ze=De(Z),gt=Ze&&to(Z),Pt=gt&>.length&&ud(Z,gt);(Pt?Pt.length:Ze)||(we=Z,Z=x,x=this)}return w(x,Z,we)}}(Hf);ut.after=Uo.after,ut.ary=Uo.ary,ut.assign=ii.assign,ut.assignIn=ii.assignIn,ut.assignInWith=ii.assignInWith,ut.assignWith=ii.assignWith,ut.at=ii.at,ut.before=Uo.before,ut.bind=Uo.bind,ut.bindAll=Hi.bindAll,ut.bindKey=Uo.bindKey,ut.castArray=Fr.castArray,ut.chain=ao.chain,ut.chunk=mr.chunk,ut.compact=mr.compact,ut.concat=mr.concat,ut.cond=Hi.cond,ut.conforms=Hi.conforms,ut.constant=Hi.constant,ut.countBy=Ui.countBy,ut.create=ii.create,ut.curry=Uo.curry,ut.curryRight=Uo.curryRight,ut.debounce=Uo.debounce,ut.defaults=ii.defaults,ut.defaultsDeep=ii.defaultsDeep,ut.defer=Uo.defer,ut.delay=Uo.delay,ut.difference=mr.difference,ut.differenceBy=mr.differenceBy,ut.differenceWith=mr.differenceWith,ut.drop=mr.drop,ut.dropRight=mr.dropRight,ut.dropRightWhile=mr.dropRightWhile,ut.dropWhile=mr.dropWhile,ut.fill=mr.fill,ut.filter=Ui.filter,ut.flatMap=Ui.flatMap,ut.flatMapDeep=Ui.flatMapDeep,ut.flatMapDepth=Ui.flatMapDepth,ut.flatten=mr.flatten,ut.flattenDeep=mr.flattenDeep,ut.flattenDepth=mr.flattenDepth,ut.flip=Uo.flip,ut.flow=Hi.flow,ut.flowRight=Hi.flowRight,ut.fromPairs=mr.fromPairs,ut.functions=ii.functions,ut.functionsIn=ii.functionsIn,ut.groupBy=Ui.groupBy,ut.initial=mr.initial,ut.intersection=mr.intersection,ut.intersectionBy=mr.intersectionBy,ut.intersectionWith=mr.intersectionWith,ut.invert=ii.invert,ut.invertBy=ii.invertBy,ut.invokeMap=Ui.invokeMap,ut.iteratee=Hi.iteratee,ut.keyBy=Ui.keyBy,ut.keys=to,ut.keysIn=ii.keysIn,ut.map=Ui.map,ut.mapKeys=ii.mapKeys,ut.mapValues=ii.mapValues,ut.matches=Hi.matches,ut.matchesProperty=Hi.matchesProperty,ut.memoize=Uo.memoize,ut.merge=ii.merge,ut.mergeWith=ii.mergeWith,ut.method=Hi.method,ut.methodOf=Hi.methodOf,ut.mixin=Dy,ut.negate=Ul,ut.nthArg=Hi.nthArg,ut.omit=ii.omit,ut.omitBy=ii.omitBy,ut.once=Uo.once,ut.orderBy=Ui.orderBy,ut.over=Hi.over,ut.overArgs=Uo.overArgs,ut.overEvery=Hi.overEvery,ut.overSome=Hi.overSome,ut.partial=Uo.partial,ut.partialRight=Uo.partialRight,ut.partition=Ui.partition,ut.pick=ii.pick,ut.pickBy=ii.pickBy,ut.property=Hi.property,ut.propertyOf=Hi.propertyOf,ut.pull=mr.pull,ut.pullAll=mr.pullAll,ut.pullAllBy=mr.pullAllBy,ut.pullAllWith=mr.pullAllWith,ut.pullAt=mr.pullAt,ut.range=Hi.range,ut.rangeRight=Hi.rangeRight,ut.rearg=Uo.rearg,ut.reject=Ui.reject,ut.remove=mr.remove,ut.rest=Uo.rest,ut.reverse=mr.reverse,ut.sampleSize=Ui.sampleSize,ut.set=ii.set,ut.setWith=ii.setWith,ut.shuffle=Ui.shuffle,ut.slice=mr.slice,ut.sortBy=Ui.sortBy,ut.sortedUniq=mr.sortedUniq,ut.sortedUniqBy=mr.sortedUniqBy,ut.split=Ii.split,ut.spread=Uo.spread,ut.tail=mr.tail,ut.take=mr.take,ut.takeRight=mr.takeRight,ut.takeRightWhile=mr.takeRightWhile,ut.takeWhile=mr.takeWhile,ut.tap=ao.tap,ut.throttle=Uo.throttle,ut.thru=du,ut.toArray=Fr.toArray,ut.toPairs=ii.toPairs,ut.toPairsIn=ii.toPairsIn,ut.toPath=Hi.toPath,ut.toPlainObject=Fr.toPlainObject,ut.transform=ii.transform,ut.unary=Uo.unary,ut.union=mr.union,ut.unionBy=mr.unionBy,ut.unionWith=mr.unionWith,ut.uniq=mr.uniq,ut.uniqBy=mr.uniqBy,ut.uniqWith=mr.uniqWith,ut.unset=ii.unset,ut.unzip=mr.unzip,ut.unzipWith=mr.unzipWith,ut.update=ii.update,ut.updateWith=ii.updateWith,ut.values=ii.values,ut.valuesIn=ii.valuesIn,ut.without=mr.without,ut.words=Ii.words,ut.wrap=Uo.wrap,ut.xor=mr.xor,ut.xorBy=mr.xorBy,ut.xorWith=mr.xorWith,ut.zip=mr.zip,ut.zipObject=mr.zipObject,ut.zipObjectDeep=mr.zipObjectDeep,ut.zipWith=mr.zipWith,ut.entries=ii.toPairs,ut.entriesIn=ii.toPairsIn,ut.extend=ii.assignIn,ut.extendWith=ii.assignInWith,Dy(ut,ut),ut.add=Ds.add,ut.attempt=Hi.attempt,ut.camelCase=Ii.camelCase,ut.capitalize=Ii.capitalize,ut.ceil=Ds.ceil,ut.clamp=My.clamp,ut.clone=Fr.clone,ut.cloneDeep=Fr.cloneDeep,ut.cloneDeepWith=Fr.cloneDeepWith,ut.cloneWith=Fr.cloneWith,ut.conformsTo=Fr.conformsTo,ut.deburr=Ii.deburr,ut.defaultTo=Hi.defaultTo,ut.divide=Ds.divide,ut.endsWith=Ii.endsWith,ut.eq=Fr.eq,ut.escape=Ii.escape,ut.escapeRegExp=Ii.escapeRegExp,ut.every=Ui.every,ut.find=Ui.find,ut.findIndex=mr.findIndex,ut.findKey=ii.findKey,ut.findLast=Ui.findLast,ut.findLastIndex=mr.findLastIndex,ut.findLastKey=ii.findLastKey,ut.floor=Ds.floor,ut.forEach=Ui.forEach,ut.forEachRight=Ui.forEachRight,ut.forIn=ii.forIn,ut.forInRight=ii.forInRight,ut.forOwn=ii.forOwn,ut.forOwnRight=ii.forOwnRight,ut.get=ii.get,ut.gt=Fr.gt,ut.gte=Fr.gte,ut.has=ii.has,ut.hasIn=ii.hasIn,ut.head=mr.head,ut.identity=vt,ut.includes=Ui.includes,ut.indexOf=mr.indexOf,ut.inRange=My.inRange,ut.invoke=ii.invoke,ut.isArguments=Fr.isArguments,ut.isArray=K,ut.isArrayBuffer=Fr.isArrayBuffer,ut.isArrayLike=Fr.isArrayLike,ut.isArrayLikeObject=Fr.isArrayLikeObject,ut.isBoolean=Fr.isBoolean,ut.isBuffer=Fr.isBuffer,ut.isDate=Fr.isDate,ut.isElement=Fr.isElement,ut.isEmpty=Fr.isEmpty,ut.isEqual=Fr.isEqual,ut.isEqualWith=Fr.isEqualWith,ut.isError=Fr.isError,ut.isFinite=Fr.isFinite,ut.isFunction=Fr.isFunction,ut.isInteger=Fr.isInteger,ut.isLength=Fr.isLength,ut.isMap=Fr.isMap,ut.isMatch=Fr.isMatch,ut.isMatchWith=Fr.isMatchWith,ut.isNaN=Fr.isNaN,ut.isNative=Fr.isNative,ut.isNil=Fr.isNil,ut.isNull=Fr.isNull,ut.isNumber=Fr.isNumber,ut.isObject=De,ut.isObjectLike=Fr.isObjectLike,ut.isPlainObject=Fr.isPlainObject,ut.isRegExp=Fr.isRegExp,ut.isSafeInteger=Fr.isSafeInteger,ut.isSet=Fr.isSet,ut.isString=Fr.isString,ut.isSymbol=Fr.isSymbol,ut.isTypedArray=Fr.isTypedArray,ut.isUndefined=Fr.isUndefined,ut.isWeakMap=Fr.isWeakMap,ut.isWeakSet=Fr.isWeakSet,ut.join=mr.join,ut.kebabCase=Ii.kebabCase,ut.last=ks,ut.lastIndexOf=mr.lastIndexOf,ut.lowerCase=Ii.lowerCase,ut.lowerFirst=Ii.lowerFirst,ut.lt=Fr.lt,ut.lte=Fr.lte,ut.max=Ds.max,ut.maxBy=Ds.maxBy,ut.mean=Ds.mean,ut.meanBy=Ds.meanBy,ut.min=Ds.min,ut.minBy=Ds.minBy,ut.stubArray=Hi.stubArray,ut.stubFalse=Hi.stubFalse,ut.stubObject=Hi.stubObject,ut.stubString=Hi.stubString,ut.stubTrue=Hi.stubTrue,ut.multiply=Ds.multiply,ut.nth=mr.nth,ut.noop=Hi.noop,ut.now=rk.now,ut.pad=Ii.pad,ut.padEnd=Ii.padEnd,ut.padStart=Ii.padStart,ut.parseInt=Ii.parseInt,ut.random=My.random,ut.reduce=Ui.reduce,ut.reduceRight=Ui.reduceRight,ut.repeat=Ii.repeat,ut.replace=Ii.replace,ut.result=ii.result,ut.round=Ds.round,ut.sample=Ui.sample,ut.size=Ui.size,ut.snakeCase=Ii.snakeCase,ut.some=Ui.some,ut.sortedIndex=mr.sortedIndex,ut.sortedIndexBy=mr.sortedIndexBy,ut.sortedIndexOf=mr.sortedIndexOf,ut.sortedLastIndex=mr.sortedLastIndex,ut.sortedLastIndexBy=mr.sortedLastIndexBy,ut.sortedLastIndexOf=mr.sortedLastIndexOf,ut.startCase=Ii.startCase,ut.startsWith=Ii.startsWith,ut.subtract=Ds.subtract,ut.sum=Ds.sum,ut.sumBy=Ds.sumBy,ut.template=Ii.template,ut.times=Hi.times,ut.toFinite=Fr.toFinite,ut.toInteger=Ee,ut.toLength=Fr.toLength,ut.toLower=Ii.toLower,ut.toNumber=Fr.toNumber,ut.toSafeInteger=Fr.toSafeInteger,ut.toString=Fr.toString,ut.toUpper=Ii.toUpper,ut.trim=Ii.trim,ut.trimEnd=Ii.trimEnd,ut.trimStart=Ii.trimStart,ut.truncate=Ii.truncate,ut.unescape=Ii.unescape,ut.uniqueId=Hi.uniqueId,ut.upperCase=Ii.upperCase,ut.upperFirst=Ii.upperFirst,ut.each=Ui.forEach,ut.eachRight=Ui.forEachRight,ut.first=mr.head,Dy(ut,function(){var w={};return ya(ut,function(x,Z){wy.call(ut.prototype,Z)||(w[Z]=x)}),w}(),{chain:!1}),ut.VERSION="4.17.21",(ut.templateSettings=Ii.templateSettings).imports._=ut,qr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(w){ut[w].placeholder=ut}),qr(["drop","take"],function(w,x){ae.prototype[w]=function(Z){Z=void 0===Z?1:ak(Ee(Z),0);var we=this.__filtered__&&!x?new ae(this):this.clone();return we.__filtered__?we.__takeCount__=_I(Z,we.__takeCount__):we.__views__.push({size:_I(Z,Rd),type:w+(we.__dir__<0?"Right":"")}),we},ae.prototype[w+"Right"]=function(Z){return this.reverse()[w](Z).reverse()}}),qr(["filter","map","takeWhile"],function(w,x){var Z=x+1,we=1==Z||3==Z;ae.prototype[w]=function(Ze){var gt=this.clone();return gt.__iteratees__.push({iteratee:li(Ze),type:Z}),gt.__filtered__=gt.__filtered__||we,gt}}),qr(["head","last"],function(w,x){var Z="take"+(x?"Right":"");ae.prototype[w]=function(){return this[Z](1).value()[0]}}),qr(["initial","tail"],function(w,x){var Z="drop"+(x?"":"Right");ae.prototype[w]=function(){return this.__filtered__?new ae(this):this[Z](1)}}),ae.prototype.compact=function(){return this.filter(vt)},ae.prototype.find=function(w){return this.filter(w).head()},ae.prototype.findLast=function(w){return this.reverse().find(w)},ae.prototype.invokeMap=J(function(w,x){return"function"==typeof w?new ae(this):this.map(function(Z){return _d(Z,w,x)})}),ae.prototype.reject=function(w){return this.filter(Ul(li(w)))},ae.prototype.slice=function(w,x){w=Ee(w);var Z=this;return Z.__filtered__&&(w>0||x<0)?new ae(Z):(w<0?Z=Z.takeRight(-w):w&&(Z=Z.drop(w)),void 0!==x&&(Z=(x=Ee(x))<0?Z.dropRight(-x):Z.take(x-w)),Z)},ae.prototype.takeRightWhile=function(w){return this.reverse().takeWhile(w).reverse()},ae.prototype.toArray=function(){return this.take(Rd)},ya(ae.prototype,function(w,x){var Z=/^(?:filter|find|map|reject)|While$/.test(x),we=/^(?:head|last)$/.test(x),Ze=ut[we?"take"+("last"==x?"Right":""):x],gt=we||/^find/.test(x);Ze&&(ut.prototype[x]=function(){var Pt=this.__wrapped__,zt=we?[1]:arguments,en=Pt instanceof ae,Tn=zt[0],Pn=en||K(Pt),Fn=function(bi){var Mi=Ze.apply(ut,Is([bi],zt));return we&&ir?Mi[0]:Mi};Pn&&Z&&"function"==typeof Tn&&1!=Tn.length&&(en=Pn=!1);var ir=this.__chain__,Yr=gt&&!ir,gi=en&&!this.__actions__.length;if(!gt&&Pn){Pt=gi?Pt:new ae(this);var jr=w.apply(Pt,zt);return jr.__actions__.push({func:du,args:[Fn],thisArg:void 0}),new mn(jr,ir)}return Yr&&gi?w.apply(this,zt):(jr=this.thru(Fn),Yr?we?jr.value()[0]:jr.value():jr)})}),qr(["pop","push","shift","sort","splice","unshift"],function(w){var x=Fd[w],Z=/^(?:push|sort|unshift)$/.test(w)?"tap":"thru",we=/^(?:pop|shift)$/.test(w);ut.prototype[w]=function(){var Ze=arguments;if(we&&!this.__chain__){var gt=this.value();return x.apply(K(gt)?gt:[],Ze)}return this[Z](function(Pt){return x.apply(K(Pt)?Pt:[],Ze)})}}),ya(ae.prototype,function(w,x){var Z=ut[x];if(Z){var we=Z.name+"";wy.call(ht,we)||(ht[we]=[]),ht[we].push({name:x,func:Z})}}),ht[Di(void 0,2).name]=[{name:"wrapper",func:void 0}],ae.prototype.clone=function Dg(){var w=new ae(this.__wrapped__);return w.__actions__=Yt(this.__actions__),w.__dir__=this.__dir__,w.__filtered__=this.__filtered__,w.__iteratees__=Yt(this.__iteratees__),w.__takeCount__=this.__takeCount__,w.__views__=Yt(this.__views__),w},ae.prototype.reverse=function ik(){if(this.__filtered__){var w=new ae(this);w.__dir__=-1,w.__filtered__=!0}else(w=this.clone()).__dir__*=-1;return w},ae.prototype.value=function Vw(){var w=this.__wrapped__.value(),x=this.__dir__,Z=K(w),we=x<0,Ze=Z?w.length:0,gt=function Ey(w,x,Z){for(var we=-1,Ze=Z.length;++we{"use strict";i.r(h),i.d(h,{PdfViewerComponent:()=>$,PdfViewerModule:()=>ee,RenderTextMode:()=>B});var n=i(54496),o=i(70800),d=i(95657),a=i(74496),u=i(53616),e=i(46928);class l extends e.wH{constructor(se,K){super()}schedule(se,K=0){return this}}const c={setInterval(le,se,...K){const{delegate:Q}=c;return Q?.setInterval?Q.setInterval(le,se,...K):setInterval(le,se,...K)},clearInterval(le){const{delegate:se}=c;return(se?.clearInterval||clearInterval)(le)},delegate:void 0};var g=i(41248),_=i(35960);class C{constructor(se,K=C.now){this.schedulerActionCtor=se,this.now=K}schedule(se,K=0,Q){return new this.schedulerActionCtor(this,se).schedule(Q,K)}}C.now=_.K.now;const p=new class b extends C{constructor(se,K=C.now){super(se,K),this.actions=[],this._active=!1}flush(se){const{actions:K}=this;if(this._active)return void K.push(se);let Q;this._active=!0;do{if(Q=se.execute(se.state,se.delay))break}while(se=K.shift());if(this._active=!1,Q){for(;se=K.shift();)se.unsubscribe();throw Q}}}(class y extends l{constructor(se,K){super(se,K),this.scheduler=se,this.work=K,this.pending=!1}schedule(se,K=0){var Q;if(this.closed)return this;this.state=se;const re=this.id,X=this.scheduler;return null!=re&&(this.id=this.recycleAsyncId(X,re,K)),this.pending=!0,this.delay=K,this.id=null!==(Q=this.id)&&void 0!==Q?Q:this.requestAsyncId(X,this.id,K),this}requestAsyncId(se,K,Q=0){return c.setInterval(se.flush.bind(se,this),Q)}recycleAsyncId(se,K,Q=0){if(null!=Q&&this.delay===Q&&!1===this.pending)return K;null!=K&&c.clearInterval(K)}execute(se,K){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const Q=this._execute(se,K);if(Q)return Q;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(se,K){let re,Q=!1;try{this.work(se)}catch(X){Q=!0,re=X||new Error("Scheduled action threw falsy error")}if(Q)return this.unsubscribe(),re}unsubscribe(){if(!this.closed){const{id:se,scheduler:K}=this,{actions:Q}=K;this.work=this.state=this.scheduler=null,this.pending=!1,(0,g.k)(Q,this),null!=se&&(this.id=this.recycleAsyncId(K,se,null)),this.delay=null,super.unsubscribe()}}});var S=i(95448),v=i(87773),E=i(66684),A=i(35584),k=i.t(A,2),N=i(6472),F=i.t(N,2);const T=["pdfViewerContainer"];function j(le,se,K){le[se]=K}function L(){return typeof window>"u"}L()||j(k,"verbosity",A.VerbosityLevel.INFOS);var B=function(le){return le[le.DISABLED=0]="DISABLED",le[le.ENABLED=1]="ENABLED",le[le.ENHANCED=2]="ENHANCED",le}(B||{});let $=(()=>{class le{element;ngZone;static CSS_UNITS=96/72;static BORDER_WIDTH=9;pdfViewerContainer;eventBus;pdfLinkService;pdfFindController;pdfViewer;isVisible=!1;_cMapsUrl=typeof k<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/cmaps/`:null;_imageResourcesPath=typeof k<"u"?`https://unpkg.com/pdfjs-dist@${A.version}/web/images/`:void 0;_renderText=!0;_renderTextMode=B.ENABLED;_stickToPage=!1;_originalSize=!0;_pdf;_page=1;_zoom=1;_zoomScale="page-width";_rotation=0;_showAll=!0;_canAutoResize=!0;_fitToPage=!1;_externalLinkTarget="blank";_showBorders=!1;lastLoaded;_latestScrolledPage;resizeTimeout=null;pageScrollTimeout=null;isInitialized=!1;loadingTask;destroy$=new d.E;afterLoadComplete=new n.EventEmitter;pageRendered=new n.EventEmitter;pageInitialized=new n.EventEmitter;textLayerRendered=new n.EventEmitter;onError=new n.EventEmitter;onProgress=new n.EventEmitter;pageChange=new n.EventEmitter(!0);src;set cMapsUrl(K){this._cMapsUrl=K}set page(K){const Q=K=parseInt(K,10)||1;this._pdf&&(K=this.getValidPageNumber(K)),this._page=K,Q!==K&&this.pageChange.emit(K)}set renderText(K){this._renderText=K}set renderTextMode(K){this._renderTextMode=K}set originalSize(K){this._originalSize=K}set showAll(K){this._showAll=K}set stickToPage(K){this._stickToPage=K}set zoom(K){K<=0||(this._zoom=K)}get zoom(){return this._zoom}set zoomScale(K){this._zoomScale=K}get zoomScale(){return this._zoomScale}set rotation(K){"number"==typeof K&&K%90==0?this._rotation=K:console.warn("Invalid pages rotation angle.")}set externalLinkTarget(K){this._externalLinkTarget=K}set autoresize(K){this._canAutoResize=!!K}set fitToPage(K){this._fitToPage=!!K}set showBorders(K){this._showBorders=!!K}static getLinkTarget(K){switch(K){case"blank":return N.LinkTarget.BLANK;case"none":return N.LinkTarget.NONE;case"self":return N.LinkTarget.SELF;case"parent":return N.LinkTarget.PARENT;case"top":return N.LinkTarget.TOP}return null}constructor(K,Q){if(this.element=K,this.ngZone=Q,L())return;let re;const X=A.version;re=window[`pdfWorkerSrc${X}`]||(window.hasOwnProperty("pdfWorkerSrc")&&"string"==typeof window.pdfWorkerSrc&&window.pdfWorkerSrc?window.pdfWorkerSrc:`https://cdn.jsdelivr.net/npm/pdfjs-dist@${X}/legacy/build/pdf.worker.min.js`),j(A.GlobalWorkerOptions,"workerSrc",re)}ngAfterViewChecked(){if(this.isInitialized)return;const K=this.pdfViewerContainer.nativeElement.offsetParent;!0!==this.isVisible||null!=K?!1===this.isVisible&&null!=K&&(this.isVisible=!0,setTimeout(()=>{this.initialize(),this.ngOnChanges({src:this.src})})):this.isVisible=!1}ngOnInit(){this.initialize(),this.setupResizeListener()}ngOnDestroy(){this.clear(),this.destroy$.next(),this.loadingTask=null}ngOnChanges(K){if(!L()&&this.isVisible)if("src"in K)this.loadPDF();else if(this._pdf){if("renderText"in K?(this.pdfViewer.textLayerMode=this._renderText?this._renderTextMode:B.DISABLED,this.resetPdfDocument()):"showAll"in K&&(this.setupViewer(),this.resetPdfDocument()),"page"in K){const{page:Q}=K;if(Q.currentValue===this._latestScrolledPage)return;this.pdfViewer.scrollPageIntoView({pageNumber:this._page})}this.update()}}updateSize(){(0,a.Q)(this._pdf.getPage(this.pdfViewer.currentPageNumber)).pipe((0,u.a)(this.destroy$)).subscribe({next:K=>{const Q=this._rotation+K.rotate,re=K.getViewport({scale:this._zoom,rotation:Q}).width*le.CSS_UNITS;let X=this._zoom,z=!0;if(!this._originalSize||this._fitToPage&&re>this.pdfViewerContainer.nativeElement.clientWidth){const Y=K.getViewport({scale:1,rotation:Q});X=this.getScale(Y.width,Y.height),z=!this._stickToPage}this.pdfViewer._setScale(X,z)}})}clear(){this.loadingTask&&!this.loadingTask.destroyed&&this.loadingTask.destroy(),this._pdf&&(this._latestScrolledPage=0,this._pdf.destroy(),this._pdf=void 0),this.pdfViewer&&this.pdfViewer.setDocument(null),this.pdfLinkService&&this.pdfLinkService.setDocument(null,null),this.pdfFindController&&this.pdfFindController.setDocument(null)}getPDFLinkServiceConfig(){const K=le.getLinkTarget(this._externalLinkTarget);return K?{externalLinkTarget:K}:{}}initEventBus(){this.eventBus=function P(le,se){const K=new le.EventBus;return function I(le,se){(0,o.w)(le,"documentload").pipe((0,u.a)(se)).subscribe(()=>{const K=document.createEvent("CustomEvent");K.initCustomEvent("documentload",!0,!0,{}),window.dispatchEvent(K)}),(0,o.w)(le,"pagerendered").pipe((0,u.a)(se)).subscribe(({pageNumber:K,cssTransform:Q,source:re})=>{const X=document.createEvent("CustomEvent");X.initCustomEvent("pagerendered",!0,!0,{pageNumber:K,cssTransform:Q}),re.div.dispatchEvent(X)}),(0,o.w)(le,"textlayerrendered").pipe((0,u.a)(se)).subscribe(({pageNumber:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("textlayerrendered",!0,!0,{pageNumber:K}),Q.textLayerDiv.dispatchEvent(re)}),(0,o.w)(le,"pagechanging").pipe((0,u.a)(se)).subscribe(({pageNumber:K,source:Q})=>{const re=document.createEvent("UIEvents");re.initEvent("pagechanging",!0,!0),re.pageNumber=K,Q.container.dispatchEvent(re)}),(0,o.w)(le,"pagesinit").pipe((0,u.a)(se)).subscribe(({source:K})=>{const Q=document.createEvent("CustomEvent");Q.initCustomEvent("pagesinit",!0,!0,null),K.container.dispatchEvent(Q)}),(0,o.w)(le,"pagesloaded").pipe((0,u.a)(se)).subscribe(({pagesCount:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagesloaded",!0,!0,{pagesCount:K}),Q.container.dispatchEvent(re)}),(0,o.w)(le,"scalechange").pipe((0,u.a)(se)).subscribe(({scale:K,presetValue:Q,source:re})=>{const X=document.createEvent("UIEvents");X.initEvent("scalechange",!0,!0),X.scale=K,X.presetValue=Q,re.container.dispatchEvent(X)}),(0,o.w)(le,"updateviewarea").pipe((0,u.a)(se)).subscribe(({location:K,source:Q})=>{const re=document.createEvent("UIEvents");re.initEvent("updateviewarea",!0,!0),re.location=K,Q.container.dispatchEvent(re)}),(0,o.w)(le,"find").pipe((0,u.a)(se)).subscribe(({source:K,type:Q,query:re,phraseSearch:X,caseSensitive:z,highlightAll:Y,findPrevious:q})=>{if(K===window)return;const de=document.createEvent("CustomEvent");de.initCustomEvent("find"+Q,!0,!0,{query:re,phraseSearch:X,caseSensitive:z,highlightAll:Y,findPrevious:q}),window.dispatchEvent(de)}),(0,o.w)(le,"attachmentsloaded").pipe((0,u.a)(se)).subscribe(({attachmentsCount:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("attachmentsloaded",!0,!0,{attachmentsCount:K}),Q.container.dispatchEvent(re)}),(0,o.w)(le,"sidebarviewchanged").pipe((0,u.a)(se)).subscribe(({view:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("sidebarviewchanged",!0,!0,{view:K}),Q.outerContainer.dispatchEvent(re)}),(0,o.w)(le,"pagemode").pipe((0,u.a)(se)).subscribe(({mode:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("pagemode",!0,!0,{mode:K}),Q.pdfViewer.container.dispatchEvent(re)}),(0,o.w)(le,"namedaction").pipe((0,u.a)(se)).subscribe(({action:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("namedaction",!0,!0,{action:K}),Q.pdfViewer.container.dispatchEvent(re)}),(0,o.w)(le,"presentationmodechanged").pipe((0,u.a)(se)).subscribe(({active:K,switchInProgress:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("presentationmodechanged",!0,!0,{active:K,switchInProgress:Q}),window.dispatchEvent(re)}),(0,o.w)(le,"outlineloaded").pipe((0,u.a)(se)).subscribe(({outlineCount:K,source:Q})=>{const re=document.createEvent("CustomEvent");re.initCustomEvent("outlineloaded",!0,!0,{outlineCount:K}),Q.container.dispatchEvent(re)})}(K,se),K}(F,this.destroy$),(0,o.w)(this.eventBus,"pagerendered").pipe((0,u.a)(this.destroy$)).subscribe(K=>{this.pageRendered.emit(K)}),(0,o.w)(this.eventBus,"pagesinit").pipe((0,u.a)(this.destroy$)).subscribe(K=>{this.pageInitialized.emit(K)}),(0,o.w)(this.eventBus,"pagechanging").pipe((0,u.a)(this.destroy$)).subscribe(({pageNumber:K})=>{this.pageScrollTimeout&&clearTimeout(this.pageScrollTimeout),this.pageScrollTimeout=window.setTimeout(()=>{this._latestScrolledPage=K,this.pageChange.emit(K)},100)}),(0,o.w)(this.eventBus,"textlayerrendered").pipe((0,u.a)(this.destroy$)).subscribe(K=>{this.textLayerRendered.emit(K)})}initPDFServices(){this.pdfLinkService=new N.PDFLinkService({eventBus:this.eventBus,...this.getPDFLinkServiceConfig()}),this.pdfFindController=new N.PDFFindController({eventBus:this.eventBus,linkService:this.pdfLinkService})}getPDFOptions(){return{eventBus:this.eventBus,container:this.element.nativeElement.querySelector("div"),removePageBorders:!this._showBorders,linkService:this.pdfLinkService,textLayerMode:this._renderText?this._renderTextMode:B.DISABLED,findController:this.pdfFindController,l10n:new N.GenericL10n("en"),imageResourcesPath:this._imageResourcesPath}}setupViewer(){j(k,"disableTextLayer",!this._renderText),this.initPDFServices(),this.pdfViewer=this._showAll?new N.PDFViewer(this.getPDFOptions()):new N.PDFSinglePageViewer(this.getPDFOptions()),this.pdfLinkService.setViewer(this.pdfViewer),this.pdfViewer._currentPageNumber=this._page}getValidPageNumber(K){return K<1?1:K>this._pdf.numPages?this._pdf.numPages:K}getDocumentParams(){const K=typeof this.src;if(!this._cMapsUrl)return this.src;const Q={cMapUrl:this._cMapsUrl,cMapPacked:!0,enableXfa:!0};return"string"===K?Q.url=this.src:"object"===K&&(void 0!==this.src.byteLength?Q.data=this.src:Object.assign(Q,this.src)),Q}loadPDF(){if(!this.src)return;if(this.lastLoaded===this.src)return void this.update();this.clear(),this.setupViewer(),this.loadingTask=A.getDocument(this.getDocumentParams()),this.loadingTask.onProgress=Q=>{this.onProgress.emit(Q)};const K=this.src;(0,a.Q)(this.loadingTask.promise).pipe((0,u.a)(this.destroy$)).subscribe({next:Q=>{this._pdf=Q,this.lastLoaded=K,this.afterLoadComplete.emit(Q),this.resetPdfDocument(),this.update()},error:Q=>{this.lastLoaded=null,this.onError.emit(Q)}})}update(){this.page=this._page,this.render()}render(){this._page=this.getValidPageNumber(this._page),(0!==this._rotation||this.pdfViewer.pagesRotation!==this._rotation)&&setTimeout(()=>{this.pdfViewer.pagesRotation=this._rotation}),this._stickToPage&&setTimeout(()=>{this.pdfViewer.currentPageNumber=this._page}),this.updateSize()}getScale(K,Q){const re=this._showBorders?2*le.BORDER_WIDTH:0,X=this.pdfViewerContainer.nativeElement.clientWidth-re,z=this.pdfViewerContainer.nativeElement.clientHeight-re;if(0===z||0===Q||0===X||0===K)return 1;let Y=1;switch(this._zoomScale){case"page-fit":Y=Math.min(z/Q,X/K);break;case"page-height":Y=z/Q;break;default:Y=X/K}return this._zoom*Y/le.CSS_UNITS}resetPdfDocument(){this.pdfLinkService.setDocument(this._pdf,null),this.pdfFindController.setDocument(this._pdf),this.pdfViewer.setDocument(this._pdf)}initialize(){L()||!this.isVisible||(this.isInitialized=!0,this.initEventBus(),this.setupViewer())}setupResizeListener(){L()||this.ngZone.runOutsideAngular(()=>{(0,o.w)(window,"resize").pipe(function M(le,se=p){return(0,S.i)((K,Q)=>{let re=null,X=null,z=null;const Y=()=>{if(re){re.unsubscribe(),re=null;const de=X;X=null,Q.next(de)}};function q(){const de=z+le,me=se.now();if(me{X=de,z=se.now(),re||(re=se.schedule(q,le),Q.add(re))},()=>{Y(),Q.complete()},void 0,()=>{X=re=null}))})}(100),(0,E.I)(()=>this._canAutoResize&&!!this._pdf),(0,u.a)(this.destroy$)).subscribe(()=>{this.updateSize()})})}static \u0275fac=function(Q){return new(Q||le)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))};static \u0275cmp=n.\u0275\u0275defineComponent({type:le,selectors:[["pdf-viewer"]],viewQuery:function(Q,re){if(1&Q&&n.\u0275\u0275viewQuery(T,5),2&Q){let X;n.\u0275\u0275queryRefresh(X=n.\u0275\u0275loadQuery())&&(re.pdfViewerContainer=X.first)}},inputs:{src:"src",cMapsUrl:[n.\u0275\u0275InputFlags.None,"c-maps-url","cMapsUrl"],page:"page",renderText:[n.\u0275\u0275InputFlags.None,"render-text","renderText"],renderTextMode:[n.\u0275\u0275InputFlags.None,"render-text-mode","renderTextMode"],originalSize:[n.\u0275\u0275InputFlags.None,"original-size","originalSize"],showAll:[n.\u0275\u0275InputFlags.None,"show-all","showAll"],stickToPage:[n.\u0275\u0275InputFlags.None,"stick-to-page","stickToPage"],zoom:"zoom",zoomScale:[n.\u0275\u0275InputFlags.None,"zoom-scale","zoomScale"],rotation:"rotation",externalLinkTarget:[n.\u0275\u0275InputFlags.None,"external-link-target","externalLinkTarget"],autoresize:"autoresize",fitToPage:[n.\u0275\u0275InputFlags.None,"fit-to-page","fitToPage"],showBorders:[n.\u0275\u0275InputFlags.None,"show-borders","showBorders"]},outputs:{afterLoadComplete:"after-load-complete",pageRendered:"page-rendered",pageInitialized:"pages-initialized",textLayerRendered:"text-layer-rendered",onError:"error",onProgress:"on-progress",pageChange:"pageChange"},features:[n.\u0275\u0275NgOnChangesFeature],decls:3,vars:0,consts:[[1,"ng2-pdf-viewer-container"],["pdfViewerContainer",""],[1,"pdfViewer"]],template:function(Q,re){1&Q&&(n.\u0275\u0275elementStart(0,"div",0,1),n.\u0275\u0275element(2,"div",2),n.\u0275\u0275elementEnd())},styles:['.ng2-pdf-viewer-container[_ngcontent-%COMP%]{overflow-x:auto;position:absolute;height:100%;width:100%;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]{display:block;position:relative}[_nghost-%COMP%] {--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--spreadHorizontalWrapped-margin-LR: -3.5px;--viewer-container-height: 0;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,");--xfa-unfocused-field-background: var( --annotation-unfocused-field-background );--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--scale-factor: 1;--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media screen and (forced-colors: active){[_nghost-%COMP%] {--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}@media (forced-colors: active){[_nghost-%COMP%] {--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[_nghost-%COMP%] .textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}[_nghost-%COMP%] .textLayer span, [_nghost-%COMP%] .textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}[_nghost-%COMP%] .textLayer span.markedContent{top:0;height:0}[_nghost-%COMP%] .textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}[_nghost-%COMP%] .textLayer .highlight.appended{position:initial}[_nghost-%COMP%] .textLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .textLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .textLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .textLayer .highlight.selected{background-color:#006400}[_nghost-%COMP%] .textLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .textLayer br::selection{background:transparent}[_nghost-%COMP%] .textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}[_nghost-%COMP%] .textLayer .endOfContent.active{top:0}@media (forced-colors: active){[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .linkAnnotation>a:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgb(255,255,0);box-shadow:0 2px 10px #ff0}[_nghost-%COMP%] .annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:required, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:required, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:required, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}[_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select option{padding:0}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea{resize:none}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input[disabled], [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea[disabled], [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input[disabled], [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:hover, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:hover, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:hover, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgb(0,0,0)}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input:focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea:focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input :focus, [_nghost-%COMP%] .annotationLayer .textWidgetAnnotation textarea :focus, [_nghost-%COMP%] .annotationLayer .choiceWidgetAnnotation select :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox :focus, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}[_nghost-%COMP%] .annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}[_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.checkBox input, [_nghost-%COMP%] .annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;appearance:none}[_nghost-%COMP%] .annotationLayer .popupTriggerArea{height:100%;width:100%}[_nghost-%COMP%] .annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}[_nghost-%COMP%] .annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}[_nghost-%COMP%] .annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popup h1{display:inline-block}[_nghost-%COMP%] .annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .popupContent{border-top:1px solid rgb(51,51,51);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}[_nghost-%COMP%] .annotationLayer .highlightAnnotation, [_nghost-%COMP%] .annotationLayer .underlineAnnotation, [_nghost-%COMP%] .annotationLayer .squigglyAnnotation, [_nghost-%COMP%] .annotationLayer .strikeoutAnnotation, [_nghost-%COMP%] .annotationLayer .freeTextAnnotation, [_nghost-%COMP%] .annotationLayer .lineAnnotation svg line, [_nghost-%COMP%] .annotationLayer .squareAnnotation svg rect, [_nghost-%COMP%] .annotationLayer .circleAnnotation svg ellipse, [_nghost-%COMP%] .annotationLayer .polylineAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .polygonAnnotation svg polygon, [_nghost-%COMP%] .annotationLayer .caretAnnotation, [_nghost-%COMP%] .annotationLayer .inkAnnotation svg polyline, [_nghost-%COMP%] .annotationLayer .stampAnnotation, [_nghost-%COMP%] .annotationLayer .fileAttachmentAnnotation{cursor:pointer}[_nghost-%COMP%] .annotationLayer section svg{position:absolute;width:100%;height:100%}[_nghost-%COMP%] .annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}[_nghost-%COMP%] .annotationLayer .annotationTextContent span{width:100%;display:inline-block}@media (forced-colors: active){[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid selectedItem}}[_nghost-%COMP%] .xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}[_nghost-%COMP%] .xfaLayer .highlight.appended{position:initial}[_nghost-%COMP%] .xfaLayer .highlight.begin{border-radius:4px 0 0 4px}[_nghost-%COMP%] .xfaLayer .highlight.end{border-radius:0 4px 4px 0}[_nghost-%COMP%] .xfaLayer .highlight.middle{border-radius:0}[_nghost-%COMP%] .xfaLayer .highlight.selected{background-color:#cbdfcb}[_nghost-%COMP%] .xfaLayer ::selection{background:rgb(0,0,255)}[_nghost-%COMP%] .xfaPage{overflow:hidden;position:relative}[_nghost-%COMP%] .xfaContentarea{position:absolute}[_nghost-%COMP%] .xfaPrintOnly{display:none}[_nghost-%COMP%] .xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}[_nghost-%COMP%] .xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}[_nghost-%COMP%] .xfaLayer *:required{outline:1.5px solid red}[_nghost-%COMP%] .xfaLayer div{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg{pointer-events:none}[_nghost-%COMP%] .xfaLayer svg *{pointer-events:none}[_nghost-%COMP%] .xfaLayer a{color:#00f}[_nghost-%COMP%] .xfaRich li{margin-left:3em}[_nghost-%COMP%] .xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}[_nghost-%COMP%] .xfaCaption{overflow:hidden;flex:0 0 auto}[_nghost-%COMP%] .xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}[_nghost-%COMP%] .xfaLabel{height:100%;width:100%}[_nghost-%COMP%] .xfaLeft{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .xfaRight{display:flex;flex-direction:row-reverse;align-items:center}[_nghost-%COMP%] .xfaLeft>.xfaCaption, [_nghost-%COMP%] .xfaLeft>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaRight>.xfaCaption, [_nghost-%COMP%] .xfaRight>.xfaCaptionForCheckButton{max-height:100%}[_nghost-%COMP%] .xfaTop{display:flex;flex-direction:column;align-items:flex-start}[_nghost-%COMP%] .xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}[_nghost-%COMP%] .xfaTop>.xfaCaption, [_nghost-%COMP%] .xfaTop>.xfaCaptionForCheckButton, [_nghost-%COMP%] .xfaBottom>.xfaCaption, [_nghost-%COMP%] .xfaBottom>.xfaCaptionForCheckButton{width:100%}[_nghost-%COMP%] .xfaBorder{background-color:transparent;position:absolute;pointer-events:none}[_nghost-%COMP%] .xfaWrapped{width:100%;height:100%}[_nghost-%COMP%] .xfaTextfield:focus, [_nghost-%COMP%] .xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}[_nghost-%COMP%] .xfaCheckbox:focus, [_nghost-%COMP%] .xfaRadio:focus{outline:auto}[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}[_nghost-%COMP%] .xfaTop>.xfaTextfield, [_nghost-%COMP%] .xfaTop>.xfaSelect, [_nghost-%COMP%] .xfaBottom>.xfaTextfield, [_nghost-%COMP%] .xfaBottom>.xfaSelect{flex:0 1 auto}[_nghost-%COMP%] .xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}[_nghost-%COMP%] .xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}[_nghost-%COMP%] .xfaCheckbox, [_nghost-%COMP%] .xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}[_nghost-%COMP%] .xfaRich{white-space:pre-wrap;width:100%;height:100%}[_nghost-%COMP%] .xfaImage{object-position:left top;object-fit:contain;width:100%;height:100%}[_nghost-%COMP%] .xfaLrTb, [_nghost-%COMP%] .xfaRlTb, [_nghost-%COMP%] .xfaTb{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaLr{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}[_nghost-%COMP%] .xfaTb>div{justify-content:left}[_nghost-%COMP%] .xfaPosition{position:relative}[_nghost-%COMP%] .xfaArea{position:relative}[_nghost-%COMP%] .xfaValignMiddle{display:flex;align-items:center}[_nghost-%COMP%] .xfaTable{display:flex;flex-direction:column;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}[_nghost-%COMP%] .xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}[_nghost-%COMP%] .xfaTable .xfaRlRow>div{flex:1}[_nghost-%COMP%] .xfaNonInteractive input, [_nghost-%COMP%] .xfaNonInteractive textarea, [_nghost-%COMP%] .xfaDisabled input, [_nghost-%COMP%] .xfaDisabled textarea, [_nghost-%COMP%] .xfaReadOnly input, [_nghost-%COMP%] .xfaReadOnly textarea{background:initial}@media print{[_nghost-%COMP%] .xfaTextfield, [_nghost-%COMP%] .xfaSelect{background:transparent}[_nghost-%COMP%] .xfaSelect{-webkit-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}[_nghost-%COMP%] [data-editor-rotation="90"]{transform:rotate(90deg)}[_nghost-%COMP%] [data-editor-rotation="180"]{transform:rotate(180deg)}[_nghost-%COMP%] [data-editor-rotation="270"]{transform:rotate(270deg)}[_nghost-%COMP%] .annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}[_nghost-%COMP%] .annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor .internal:focus{outline:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled{resize:none}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}[_nghost-%COMP%] .annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor), [_nghost-%COMP%] .annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}[_nghost-%COMP%] .annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}[_nghost-%COMP%] .annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}[_nghost-%COMP%] .annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}[_nghost-%COMP%] [data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[_nghost-%COMP%] [data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[_nghost-%COMP%] [data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}[_nghost-%COMP%] .pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}[_nghost-%COMP%] .pdfViewer .canvasWrapper{overflow:hidden}[_nghost-%COMP%] .pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}[_nghost-%COMP%] .pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}[_nghost-%COMP%] .pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}[_nghost-%COMP%] .pdfViewer.singlePageView{display:inline-block}[_nghost-%COMP%] .pdfViewer.singlePageView .page{margin:0;border:none}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .pdfViewer.scrollWrapped, [_nghost-%COMP%] .spread{margin-left:3.5px;margin-right:3.5px;text-align:center}[_nghost-%COMP%] .pdfViewer.scrollHorizontal, [_nghost-%COMP%] .spread{white-space:nowrap}[_nghost-%COMP%] .pdfViewer.removePageBorders, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .spread .dummyPage, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .spread, [_nghost-%COMP%] .pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .spread .page, [_nghost-%COMP%] .pdfViewer.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}[_nghost-%COMP%] .pdfViewer.removePageBorders .spread .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollHorizontal .page, [_nghost-%COMP%] .pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}[_nghost-%COMP%] .pdfViewer .page canvas{margin:0;display:block}[_nghost-%COMP%] .pdfViewer .page canvas[hidden]{display:none}[_nghost-%COMP%] .pdfViewer .page .loadingIcon{position:absolute;display:block;inset:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQQAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/ilPcHRpbWl6ZWQgd2l0aCBodHRwczovL2V6Z2lmLmNvbS9vcHRpbWl6ZQAh+QQJBwAQACwAAAAAGAAYAAAFmiAkjiTkOGVaBgjZNGSgkgKjjM8zLoI8iy+BKCdiCX8iBeMAhEEIPRXLxViYUE9CbCQoFAzFhHY3zkaT3oPvBz1zE4UBsr1eWZH4vAowOBwGAHk8AoQLfH6Agm0Ed3qOAXWOIgQKiWyFJQgDgJEpdG+WEACNEFNFmKVlVzJQk6qdkwqBoi1mebJ3ALNGeIZHtGSwNDS1RZKueCEAIfkECQcAEAAsAAAAABgAGAAABZcgJI4kpChlWgYCWRQkEKgjURgjw4zOg9CjVwuiEyEeO6CxkBC9nA+HiuUqLEyoBZI0Mx4SAFFgQCDZuguBoGv6Dtg0gvpqdhxQQDkBzuUr/4A1JwMKP39pc2mDhYCIc4GQYn6QCwCMeY91l0p6dBAEJ0OfcFRimZ91Mwt0alxxAIZyRmuAsKxDLKKvZbM1tJxmvGKRpn8hACH5BAkHABAALAAAAAAYABgAAAWhICSOJGQYZVoGAnkcJBKoI3EAY1GMCtPSosSBINKJBIwGkHdwBGGQA0OhYpEGQxNqkYzNIITBACEKKBaxxNfBeOCO4vMy0Hg8nDHFeCktkKtfNAtoS4UqAicKBj9zBAKPC4iKi4aRkISGmWWBmjUIAIyHkCUEAKCVo2WmREecVqoCgZhgP4NHrGWCj7e3szSpuxAsoVWxnp6cVV4kyZW+KSEAIfkECQcAEAAsAAAAABgAGAAABZkgJI4kBABlWgYEOQykEKgjMSDjcYxG0dKi108nEhQKQN4rCIMkCgbawjWYnSCLY2yGVSgEooBhWqsGGwxc0RtNBgoMhmJ1QgETjANYFeBKyUmBKQQIdT9JDmgPDQ6EhoKJD4sOgpWWgiwChyqEBH5hmptSoSOZgJ4kLKWkYTF7C2SaqaM/hEWygay4mYG8t6uffFuzl1iANCEAIfkECQcAEAAsAAAAABgAGAAABZ0gJI4khCBlmhKkopBCoI6LIozDMAIHO4uuBVBnOiR+I4FrCDwAZsKdQnaCLIwwmRUA8JmioprWUCjcwlwUMnAoG0qL03k2KCS8cC0UjOzDCQKBfHQFDAwFU4CCfgqFhy9+kZJWgzSKSAcPZn+BfQENDw8OljGWJAFeDoZPYTBnC1GdSXqnsoBolSulX2GyP6hgvnG0KrS3NJNhuSQhACH5BAkHABAALAAAAAAYABgAAAWaICSOJCQIZZoupGGQRKCOC0CMijIiwz2LABtQZxoMfjQhxAXszWQ7gOwECRhh0MCJJRJARTUoIHFAgbfI6uBwAJS01J/i4PClVYHvfV8lbLlIBmwFbQt+aGmChG18jXeGT4dICQxlb4g/AQUMDER9XjR6BAdiDQwINDBmkAsPDVh4cX4imw53iLKuaVqAcUsPqEiidkt6j4AzIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiREEGWaBiSCtCoZCMsIAKOg1LEo0KKbaKFQ9EYLoOkFuQlirNxzCQkUW9GZ0hQd4nyDAWr4G/esYSbyZFYZwu3jqiuvr8u8I2BwOAwASXh1e31/doeHC3klWnElfAlTd46MfQUGk2stCVEGBQWSdCciDg5VDAVYKoEiDQ0iBwxGcj9RDw8+qHIzebc2DJJQJK6qiKVyIQAh+QQJBwAQACwAAAAAGAAYAAAFmSAkjiS0LGWaBiRBtCoZCKgoCCMB1DF0sz6cCQDo5W62l28XAyZFpyECBv3lnCbhUqHMIo0Qg4Jbmn1jRCa4iV27TzfXGjEecOFWMN1OdvvfPGUuXSoKBw6EXokrAwcHRVU0UAeEBANAAAmUI1gNDyhjJgUHLW0iDg8FIqOnBQZrDA9TELE2rEYIDw4jta2LMpCrqld/YQpgIQAh+QQJBwAQACwAAAAAGAAYAAAFmyAkjiS0LGWaBiRBkKw6BgIqCsJcyyMe4yJajhcEml5H26o1PN2QQd3uFiv2AADlAgflIbDdZLgkABOJgep5LfWty4p4zeU+w+XsvJWXliEKDwdEBgMKYQ4PDw1qK3EDCCMAiQ5BCV0LCj+FSDQkgCgGBiYHAy2MIgoMghAHqw4HAGsNDEMFBTekdgwKI7aRB2MwkL2rVHoQoWchACH5BAkHABAALAAAAAAYABgAAAWWICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkfbqjU83ZBB3e4WK0qrCxyU55peid0qcUwuixyNx6PhILsAcAJazXYj4lvz2MkLiFsHDAlEcABKZwwMBX8pBgoKQxAIigpBA1sLBj+PSDQkB4uSACYDlTMyBgWDEKVnl2QFBUigN61gBQYjtLV5JZ4jtlR6omMhACH5BAkHABAALAAAAAAYABgAAAWaICSOJLQsZZoGJEGQrDoGAioKwlzLIx7jIlqOFwSaXkdbidYanm7I4AjwYDh6saJuJ3JUG1mZi9srPA7EcRimJLrfJYWZUVC8TziXnEG3u/E+cIJaPAFrPQl1aQAIbRAGBZGHJQiMUQKRBkEKbQsAPZaEXQcslSYKmjMyAAdXj34ACkNEiUgDA5t+PAQHn6Ogjkuzry2DNwhuIQAh+QQFBwAQACwAAAAAGAAYAAAFnCAkjiS0LGVaBgBJEGSguo8zCsK4CPIsMg+ECCcKEH0ix6MwhJl4KiOp8UCdmrEbo6EoHpxF8A6aBBZ6vhf5dmAkkGr0CoWs21WGQ2FvsI9xC3l7B311fy93iWGKJQQOhHCAJQB6A3IqcWwJLU90i2FkUiMKlhBELEI6MwgDXRAGhQgAYD6tTqRFAJxpA6mvrqazSKJJhUWMpjlIIQA7) center no-repeat}[_nghost-%COMP%] .pdfViewer .page .loadingIcon.notVisible{background:none}[_nghost-%COMP%] .pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;user-select:none!important;cursor:not-allowed}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer{padding-bottom:0}[_nghost-%COMP%] .pdfPresentationMode .spread{margin:0}[_nghost-%COMP%] .pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}']})}return le})(),ee=(()=>{class le{static \u0275fac=function(Q){return new(Q||le)};static \u0275mod=n.\u0275\u0275defineNgModule({type:le});static \u0275inj=n.\u0275\u0275defineInjector({})}return le})()},1528:(ve,h,i)=>{"use strict";function n(d,a,u,e,l,c,g){try{var y=d[c](g),_=y.value}catch(C){return void u(C)}y.done?a(_):Promise.resolve(_).then(e,l)}function o(d){return function(){var a=this,u=arguments;return new Promise(function(e,l){var c=d.apply(a,u);function g(_){n(c,e,l,g,y,"next",_)}function y(_){n(c,e,l,g,y,"throw",_)}g(void 0)})}}i.d(h,{c:()=>o})},81316:(ve,h,i)=>{"use strict";i.r(h),i.d(h,{__addDisposableResource:()=>le,__assign:()=>d,__asyncDelegator:()=>F,__asyncGenerator:()=>N,__asyncValues:()=>T,__await:()=>k,__awaiter:()=>C,__classPrivateFieldGet:()=>B,__classPrivateFieldIn:()=>ee,__classPrivateFieldSet:()=>$,__createBinding:()=>p,__decorate:()=>u,__disposeResources:()=>K,__esDecorate:()=>l,__exportStar:()=>f,__extends:()=>o,__generator:()=>b,__importDefault:()=>L,__importStar:()=>j,__makeTemplateObject:()=>P,__metadata:()=>_,__param:()=>e,__propKey:()=>g,__read:()=>v,__rest:()=>a,__runInitializers:()=>c,__setFunctionName:()=>y,__spread:()=>M,__spreadArray:()=>A,__spreadArrays:()=>E,__values:()=>S,default:()=>Q});var n=function(re,X){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,Y){z.__proto__=Y}||function(z,Y){for(var q in Y)Object.prototype.hasOwnProperty.call(Y,q)&&(z[q]=Y[q])})(re,X)};function o(re,X){if("function"!=typeof X&&null!==X)throw new TypeError("Class extends value "+String(X)+" is not a constructor or null");function z(){this.constructor=re}n(re,X),re.prototype=null===X?Object.create(X):(z.prototype=X.prototype,new z)}var d=function(){return d=Object.assign||function(X){for(var z,Y=1,q=arguments.length;Y=0;Oe--)(me=re[Oe])&&(de=(q<3?me(de):q>3?me(X,z,de):me(X,z))||de);return q>3&&de&&Object.defineProperty(X,z,de),de}function e(re,X){return function(z,Y){X(z,Y,re)}}function l(re,X,z,Y,q,de){function me(Ie){if(void 0!==Ie&&"function"!=typeof Ie)throw new TypeError("Function expected");return Ie}for(var Ne,Oe=Y.kind,Re="getter"===Oe?"get":"setter"===Oe?"set":"value",Ae=!X&&re?Y.static?re:re.prototype:null,ge=X||(Ae?Object.getOwnPropertyDescriptor(Ae,Y.name):{}),it=!1,qe=z.length-1;qe>=0;qe--){var et={};for(var De in Y)et[De]="access"===De?{}:Y[De];for(var De in Y.access)et.access[De]=Y.access[De];et.addInitializer=function(Ie){if(it)throw new TypeError("Cannot add initializers after decoration has completed");de.push(me(Ie||null))};var je=(0,z[qe])("accessor"===Oe?{get:ge.get,set:ge.set}:ge[Re],et);if("accessor"===Oe){if(void 0===je)continue;if(null===je||"object"!=typeof je)throw new TypeError("Object expected");(Ne=me(je.get))&&(ge.get=Ne),(Ne=me(je.set))&&(ge.set=Ne),(Ne=me(je.init))&&q.unshift(Ne)}else(Ne=me(je))&&("field"===Oe?q.unshift(Ne):ge[Re]=Ne)}Ae&&Object.defineProperty(Ae,Y.name,ge),it=!0}function c(re,X,z){for(var Y=arguments.length>2,q=0;q0&&de[de.length-1])&&(6===Ae[0]||2===Ae[0])){z=0;continue}if(3===Ae[0]&&(!de||Ae[1]>de[0]&&Ae[1]=re.length&&(re=void 0),{value:re&&re[Y++],done:!re}}};throw new TypeError(X?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(re,X){var z="function"==typeof Symbol&&re[Symbol.iterator];if(!z)return re;var q,me,Y=z.call(re),de=[];try{for(;(void 0===X||X-- >0)&&!(q=Y.next()).done;)de.push(q.value)}catch(Oe){me={error:Oe}}finally{try{q&&!q.done&&(z=Y.return)&&z.call(Y)}finally{if(me)throw me.error}}return de}function M(){for(var re=[],X=0;X1||Oe(it,qe)})})}function Oe(it,qe){try{!function Re(it){it.value instanceof k?Promise.resolve(it.value.v).then(Ae,ge):Ne(de[0][2],it)}(Y[it](qe))}catch(et){Ne(de[0][3],et)}}function Ae(it){Oe("next",it)}function ge(it){Oe("throw",it)}function Ne(it,qe){it(qe),de.shift(),de.length&&Oe(de[0][0],de[0][1])}}function F(re){var X,z;return X={},Y("next"),Y("throw",function(q){throw q}),Y("return"),X[Symbol.iterator]=function(){return this},X;function Y(q,de){X[q]=re[q]?function(me){return(z=!z)?{value:k(re[q](me)),done:!1}:de?de(me):me}:de}}function T(re){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,X=re[Symbol.asyncIterator];return X?X.call(re):(re=S(re),z={},Y("next"),Y("throw"),Y("return"),z[Symbol.asyncIterator]=function(){return this},z);function Y(de){z[de]=re[de]&&function(me){return new Promise(function(Oe,Re){!function q(de,me,Oe,Re){Promise.resolve(Re).then(function(Ae){de({value:Ae,done:Oe})},me)}(Oe,Re,(me=re[de](me)).done,me.value)})}}}function P(re,X){return Object.defineProperty?Object.defineProperty(re,"raw",{value:X}):re.raw=X,re}var I=Object.create?function(re,X){Object.defineProperty(re,"default",{enumerable:!0,value:X})}:function(re,X){re.default=X};function j(re){if(re&&re.__esModule)return re;var X={};if(null!=re)for(var z in re)"default"!==z&&Object.prototype.hasOwnProperty.call(re,z)&&p(X,re,z);return I(X,re),X}function L(re){return re&&re.__esModule?re:{default:re}}function B(re,X,z,Y){if("a"===z&&!Y)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof X?re!==X||!Y:!X.has(re))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===z?Y:"a"===z?Y.call(re):Y?Y.value:X.get(re)}function $(re,X,z,Y,q){if("m"===Y)throw new TypeError("Private method is not writable");if("a"===Y&&!q)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof X?re!==X||!q:!X.has(re))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===Y?q.call(re,z):q?q.value=z:X.set(re,z),z}function ee(re,X){if(null===X||"object"!=typeof X&&"function"!=typeof X)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof re?X===re:re.has(X)}function le(re,X,z){if(null!=X){if("object"!=typeof X&&"function"!=typeof X)throw new TypeError("Object expected.");var Y;if(z){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");Y=X[Symbol.asyncDispose]}if(void 0===Y){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");Y=X[Symbol.dispose]}if("function"!=typeof Y)throw new TypeError("Object not disposable.");re.stack.push({value:X,dispose:Y,async:z})}else z&&re.stack.push({async:!0});return X}var se="function"==typeof SuppressedError?SuppressedError:function(re,X,z){var Y=new Error(z);return Y.name="SuppressedError",Y.error=re,Y.suppressed=X,Y};function K(re){function X(Y){re.error=re.hasError?new se(Y,re.error,"An error was suppressed during disposal."):Y,re.hasError=!0}return function z(){for(;re.stack.length;){var Y=re.stack.pop();try{var q=Y.dispose&&Y.dispose.call(Y.value);if(Y.async)return Promise.resolve(q).then(z,function(de){return X(de),z()})}catch(de){X(de)}}if(re.hasError)throw re.error}()}const Q={__extends:o,__assign:d,__rest:a,__decorate:u,__param:e,__metadata:_,__awaiter:C,__generator:b,__createBinding:p,__exportStar:f,__values:S,__read:v,__spread:M,__spreadArrays:E,__spreadArray:A,__await:k,__asyncGenerator:N,__asyncDelegator:F,__asyncValues:T,__makeTemplateObject:P,__importStar:j,__importDefault:L,__classPrivateFieldGet:B,__classPrivateFieldSet:$,__classPrivateFieldIn:ee,__addDisposableResource:le,__disposeResources:K}}},ve=>{ve(ve.s=27460)}]); \ No newline at end of file